/* TKSE V6.3 - Real Project Gallery */
.project-hero{
  position:relative; overflow:hidden; padding:120px 0 72px;
  background:
    radial-gradient(circle at 18% 18%, rgba(0,185,107,.28), transparent 34%),
    radial-gradient(circle at 78% 12%, rgba(43,159,255,.18), transparent 30%),
    linear-gradient(135deg,#061827 0%,#08233a 42%,#03111d 100%);
  color:#fff;
}
.project-hero:before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.055) 1px,transparent 1px);background-size:42px 42px;mask-image:linear-gradient(to bottom,#000,transparent 82%);opacity:.55}
.project-hero .container{position:relative;z-index:1}
.project-hero-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:44px;align-items:center}
.project-hero h1{font-size:clamp(38px,5vw,70px);line-height:1.02;margin:12px 0 18px;letter-spacing:-.04em}
.project-hero h1 span{color:#29e28a;text-shadow:0 0 24px rgba(41,226,138,.28)}
.project-hero p{max-width:780px;color:rgba(255,255,255,.78);font-size:18px;line-height:1.75}
.project-proof-row{display:flex;flex-wrap:wrap;gap:12px;margin:26px 0}
.project-proof-row span{padding:9px 14px;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.07);border-radius:999px;color:#dffcef;font-weight:700;font-size:13px}
.project-visual-stack{position:relative;min-height:420px}
.project-visual-main{position:absolute;inset:28px 22px 42px 0;border-radius:30px;overflow:hidden;border:1px solid rgba(255,255,255,.15);box-shadow:0 30px 100px rgba(0,0,0,.45)}
.project-visual-main img{width:100%;height:100%;object-fit:cover;display:block;filter:saturate(1.15) contrast(1.08)}
.project-visual-main:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 35%,rgba(2,16,28,.82))}
.project-floating-panel{position:absolute;right:0;bottom:0;width:min(320px,80%);padding:22px;border-radius:24px;background:rgba(5,24,39,.82);border:1px solid rgba(75,255,164,.25);box-shadow:0 20px 70px rgba(0,0,0,.38);backdrop-filter:blur(16px)}
.project-floating-panel h3{margin:0 0 12px;color:#fff}.project-floating-panel div{display:flex;justify-content:space-between;border-top:1px solid rgba(255,255,255,.1);padding:10px 0;color:rgba(255,255,255,.72)}.project-floating-panel strong{color:#29e28a}
.project-gallery-section{padding:78px 0;background:#f5f9fb}.project-gallery-head{display:flex;justify-content:space-between;gap:24px;align-items:flex-end;margin-bottom:24px}.project-gallery-head h2{font-size:clamp(30px,4vw,48px);margin:8px 0}.project-gallery-head p{max-width:650px;color:#5d6d79;line-height:1.7}.gallery-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.project-filter-bar{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0 28px}.project-filter-bar button{border:1px solid rgba(9,35,57,.12);background:#fff;color:#0d2b43;border-radius:999px;padding:10px 14px;font-weight:800;cursor:pointer;box-shadow:0 10px 28px rgba(9,35,57,.05);transition:.22s}.project-filter-bar button:hover,.project-filter-bar button.active{background:#092339;color:#fff;border-color:#092339;transform:translateY(-1px)}
.project-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.gallery-card{background:#fff;border-radius:26px;overflow:hidden;border:1px solid rgba(9,35,57,.08);box-shadow:0 20px 50px rgba(9,35,57,.08);transition:.28s;position:relative}.gallery-card:hover{transform:translateY(-6px);box-shadow:0 28px 70px rgba(9,35,57,.13)}.gallery-media{position:relative;height:230px;background:#08233a;overflow:hidden}.gallery-media img{width:100%;height:100%;object-fit:cover;transition:.45s}.gallery-card:hover .gallery-media img{transform:scale(1.06)}.gallery-media:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 40%,rgba(0,0,0,.72))}.gallery-badge{position:absolute;left:16px;top:16px;z-index:2;background:#29e28a;color:#062015;border-radius:999px;padding:7px 11px;font-weight:900;font-size:12px}.gallery-status{position:absolute;right:16px;top:16px;z-index:2;background:rgba(255,255,255,.88);color:#0d2b43;border-radius:999px;padding:7px 11px;font-weight:800;font-size:12px}.gallery-body{padding:22px}.gallery-body h3{margin:0 0 10px;color:#092339;font-size:21px}.gallery-body p{color:#5d6d79;line-height:1.65;margin:0 0 16px}.gallery-meta{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:16px 0}.gallery-meta span{background:#f3f7fa;border-radius:14px;padding:10px;color:#60717d;font-size:13px}.gallery-meta b{display:block;color:#092339;font-size:15px}.gallery-card .btn{width:100%;justify-content:center}.gallery-card[hidden]{display:none!important}
.capability-section{padding:80px 0;background:#061827;color:#fff;position:relative;overflow:hidden}.capability-section:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 80% 15%,rgba(41,226,138,.18),transparent 35%);pointer-events:none}.capability-section .container{position:relative;z-index:1}.capability-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:36px;align-items:start}.capability-copy h2{font-size:clamp(30px,4vw,48px);margin:8px 0 16px}.capability-copy p{color:rgba(255,255,255,.72);line-height:1.75}.capability-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.capability-item{padding:22px;border-radius:24px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.12);backdrop-filter:blur(14px)}.capability-item b{display:inline-flex;width:42px;height:42px;border-radius:15px;background:rgba(41,226,138,.14);align-items:center;justify-content:center;color:#29e28a;margin-bottom:12px}.capability-item h3{margin:0 0 8px}.capability-item p{margin:0;color:rgba(255,255,255,.68);line-height:1.6}
.project-lightbox{position:fixed;inset:0;z-index:9999;display:none}.project-lightbox.active{display:block}.project-lightbox-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.72)}.project-lightbox-panel{position:relative;z-index:1;width:min(1040px,92vw);max-height:88vh;overflow:auto;margin:6vh auto;background:#fff;border-radius:28px;box-shadow:0 40px 120px rgba(0,0,0,.45)}.project-lightbox-close{position:absolute;right:18px;top:14px;width:42px;height:42px;border:0;border-radius:999px;background:#092339;color:#fff;font-size:26px;cursor:pointer;z-index:2}.lightbox-content{display:grid;grid-template-columns:1fr 1fr}.lightbox-content img{width:100%;height:100%;min-height:420px;object-fit:cover}.lightbox-info{padding:34px}.lightbox-info h3{font-size:30px;color:#092339;margin:0 0 12px}.lightbox-info p{color:#5d6d79;line-height:1.7}.lightbox-specs{display:grid;gap:10px;margin:20px 0}.lightbox-specs div{display:flex;justify-content:space-between;background:#f3f7fa;border-radius:14px;padding:11px 13px;color:#5d6d79}.lightbox-specs strong{color:#092339}.project-note{padding:16px 20px;border-radius:18px;background:#edfdf4;color:#0c5b37;font-weight:700;margin-top:20px}
@media(max-width:980px){.project-hero-grid,.capability-grid,.lightbox-content{grid-template-columns:1fr}.project-visual-stack{min-height:360px}.project-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.project-gallery-head{display:block}.gallery-actions{justify-content:flex-start}.lightbox-content img{min-height:280px}}
@media(max-width:640px){.project-hero{padding:92px 0 48px}.project-gallery-grid,.capability-list{grid-template-columns:1fr}.project-filter-bar button{flex:1 1 auto}.project-visual-stack{min-height:300px}.project-floating-panel{left:18px;right:18px;width:auto}.gallery-media{height:210px}}

/* TKSE V6.3.1 - Project Gallery Contrast Fix */
.project-gallery-section{
  position:relative;
  padding:64px 0 76px;
  background:
    radial-gradient(circle at 8% 0%, rgba(41,226,138,.13), transparent 28%),
    radial-gradient(circle at 88% 10%, rgba(14,72,112,.08), transparent 30%),
    linear-gradient(180deg,#f8fbfd 0%,#eef5f8 100%);
  color:#092339;
}
.project-gallery-section:before{
  content:"";
  position:absolute;
  inset:0;
  background-image:linear-gradient(rgba(9,35,57,.035) 1px, transparent 1px),linear-gradient(90deg, rgba(9,35,57,.035) 1px, transparent 1px);
  background-size:42px 42px;
  pointer-events:none;
  opacity:.65;
}
.project-gallery-section .container{position:relative;z-index:1}
.project-gallery-head{align-items:flex-start;margin-bottom:18px}
.project-gallery-head h2{
  color:#071f33!important;
  text-shadow:none!important;
  letter-spacing:-.035em;
  max-width:640px;
}
.project-gallery-head p{
  color:#405466!important;
  font-size:16px;
  line-height:1.75;
  margin-top:26px;
}
.project-gallery-head .premium-home-badge{
  background:rgba(41,226,138,.12);
  color:#008b52!important;
  border:1px solid rgba(41,226,138,.35);
  box-shadow:none;
}
.project-filter-bar{margin:16px 0 24px}
.project-filter-bar button{
  background:#fff;
  color:#092339;
  border:1px solid rgba(9,35,57,.12);
  box-shadow:0 8px 24px rgba(9,35,57,.07);
}
.project-filter-bar button:hover,
.project-filter-bar button.active{
  background:linear-gradient(135deg,#092339,#0d3b5d);
  color:#fff;
  border-color:#0d3b5d;
  box-shadow:0 14px 32px rgba(9,35,57,.16);
}
.gallery-card{box-shadow:0 18px 44px rgba(9,35,57,.10)}
.gallery-card:hover{box-shadow:0 28px 72px rgba(9,35,57,.16)}
.gallery-body h3{color:#071f33!important}
.gallery-body p{color:#4b5f6f!important}
.gallery-actions.project-gallery-cta,
.project-gallery-cta{
  margin-top:30px;
  padding:24px;
  border-radius:26px;
  background:linear-gradient(135deg,#071f33,#0a304d);
  border:1px solid rgba(41,226,138,.2);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  box-shadow:0 22px 58px rgba(9,35,57,.16);
}
.project-gallery-cta h3{margin:0 0 6px;color:#fff;font-size:22px}
.project-gallery-cta p{margin:0;color:rgba(255,255,255,.72);line-height:1.55}
@media(max-width:980px){
  .project-gallery-section{padding:54px 0 64px}
  .project-gallery-head p{margin-top:10px}
}
@media(max-width:640px){
  .project-gallery-section{padding:42px 0 54px}
  .project-gallery-head h2{font-size:32px}
  .project-gallery-cta{display:block}
  .project-gallery-cta .btn{margin-top:16px;width:100%;justify-content:center}
}

/* TKSE V6.3.2 - Project Gallery Layout Optimization */
html{scroll-padding-top:104px;}
.project-gallery-section{
  scroll-margin-top:104px;
  padding-top:82px;
  padding-bottom:86px;
}
.project-gallery-section .container{
  width:min(1380px,94vw);
}
.project-gallery-head{
  display:grid;
  grid-template-columns:minmax(360px,0.9fr) minmax(420px,1.1fr);
  gap:56px;
  align-items:start;
  margin-bottom:22px;
}
.project-gallery-head h2{
  max-width:680px;
  margin-top:12px;
}
.project-gallery-head p{
  max-width:720px;
  margin-top:36px;
}
.project-filter-bar{
  margin:20px 0 30px;
}
.project-gallery-grid{
  width:100%;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:28px;
  align-items:stretch;
}
.gallery-card{
  height:100%;
  display:flex;
  flex-direction:column;
  border-radius:28px;
}
.gallery-media{
  height:248px;
  flex:0 0 auto;
}
.gallery-body{
  flex:1;
  display:flex;
  flex-direction:column;
  padding:24px;
}
.gallery-body p{
  min-height:78px;
}
.gallery-meta{
  margin-top:auto;
}
.gallery-card .btn{
  margin-top:12px;
}
.project-gallery-cta{
  width:100%;
  margin-top:36px!important;
}
@media(min-width:1440px){
  .project-gallery-section .container{width:min(1440px,94vw)}
  .gallery-media{height:265px}
}
@media(max-width:1100px){
  .project-gallery-section .container{width:min(1000px,92vw)}
  .project-gallery-head{grid-template-columns:1fr;gap:12px}
  .project-gallery-head p{margin-top:0;max-width:820px}
  .project-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
  .gallery-media{height:230px}
}
@media(max-width:680px){
  html{scroll-padding-top:88px}
  .project-gallery-section{scroll-margin-top:88px;padding-top:52px;padding-bottom:60px}
  .project-gallery-section .container{width:min(100% - 28px,560px)}
  .project-gallery-head{gap:8px}
  .project-gallery-head h2{font-size:32px;line-height:1.18}
  .project-filter-bar{gap:8px;position:relative;z-index:2}
  .project-gallery-grid{grid-template-columns:1fr;gap:18px}
  .gallery-media{height:220px}
  .gallery-body p{min-height:auto}
}


/* TKSE V6.3.3 - Navigation CTA Polish */
.site-header .main-nav a[href*="#customer-router"]{
  color:#eaf6ff;
}
.site-header .main-nav a[href*="#customer-router"]:hover{
  color:#69d737;
}
.project-gallery-section{
  scroll-margin-top:118px;
}
.gallery-actions.project-gallery-cta,
.project-gallery-cta{
  align-items:center;
  border-color:rgba(105,215,55,.32);
  box-shadow:0 24px 68px rgba(9,35,57,.20), inset 0 1px 0 rgba(255,255,255,.06);
}
.project-gallery-cta .btn-green{
  min-width:220px;
  color:#fff!important;
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 18px 46px rgba(32,191,63,.32);
}
.project-gallery-cta .project-survey-cta{
  background:linear-gradient(135deg,#20bf3f,#69d737)!important;
  color:#fff!important;
  border-color:rgba(255,255,255,.18)!important;
  opacity:1!important;
}
.project-gallery-cta .project-survey-cta:hover{
  transform:translateY(-2px);
  box-shadow:0 22px 58px rgba(32,191,63,.38);
}
.project-gallery-cta .btn-outline{
  color:#fff;
  border-color:rgba(105,215,55,.38);
  background:rgba(255,255,255,.07);
}
@media(max-width:1320px){
  .site-header .main-nav{gap:13px;font-size:12.6px}
}
@media(max-width:680px){
  .project-gallery-section{scroll-margin-top:92px}
  .project-gallery-cta .btn-green{min-width:0}
}

/* TKSE V6.3.4 - Project Anchor Spacing Fix */
html{
  scroll-padding-top:82px;
}
.project-gallery-section{
  scroll-margin-top:82px!important;
  padding-top:46px!important;
  padding-bottom:98px!important;
}
.project-gallery-head{
  margin-bottom:14px!important;
}
.project-filter-bar{
  margin-top:14px!important;
  margin-bottom:28px!important;
}
.gallery-actions.project-gallery-cta,
.project-gallery-cta{
  margin-top:42px!important;
  margin-bottom:18px!important;
}
.capability-section{
  padding-top:96px!important;
}
@media(max-width:980px){
  html{scroll-padding-top:76px;}
  .project-gallery-section{
    scroll-margin-top:76px!important;
    padding-top:42px!important;
    padding-bottom:82px!important;
  }
  .capability-section{padding-top:82px!important;}
}
@media(max-width:640px){
  html{scroll-padding-top:88px;}
  .project-gallery-section{
    scroll-margin-top:88px!important;
    padding-top:40px!important;
    padding-bottom:72px!important;
  }
  .gallery-actions.project-gallery-cta,
  .project-gallery-cta{
    margin-top:30px!important;
    margin-bottom:10px!important;
  }
}

/* TKSE V6.3.5 - Gallery CTA Button Polish */
.gallery-actions.project-gallery-cta .btn,
.project-gallery-cta .btn,
.v62-cta-band .btn,
.v62-cta-band .btn-green{
  white-space:nowrap!important;
  min-width:210px;
  width:auto!important;
  flex:0 0 auto;
  justify-content:center;
  text-align:center;
  padding-left:24px!important;
  padding-right:24px!important;
  line-height:1.15;
}
.gallery-actions.project-gallery-cta,
.project-gallery-cta,
.v62-cta-band{
  align-items:center!important;
}
.v62-cta-band .btn,
.v62-cta-band .btn-green{
  min-height:54px;
  display:inline-flex;
  align-items:center;
  box-shadow:0 18px 46px rgba(32,191,63,.30);
}
.project-gallery-cta .project-survey-cta{
  min-width:260px!important;
}
.project-gallery-cta .btn:first-child{
  min-width:230px!important;
}
@media(max-width:760px){
  .gallery-actions.project-gallery-cta,
  .project-gallery-cta,
  .v62-cta-band{
    display:block!important;
  }
  .gallery-actions.project-gallery-cta .btn,
  .project-gallery-cta .btn,
  .v62-cta-band .btn,
  .v62-cta-band .btn-green{
    width:100%!important;
    min-width:0!important;
    white-space:normal!important;
    margin-top:14px;
  }
}
@media(min-width:761px) and (max-width:1180px){
  .v62-cta-band{
    gap:18px!important;
  }
  .v62-cta-band .btn,
  .v62-cta-band .btn-green{
    min-width:220px!important;
  }
}
