/* ============ TOKENS ============ */
:root{
  --blue: #0E4A7B;
  --blue-light: #1863A3;
  --gold: #C99A3A;
  --gold-light: #E0B85C;
  --navy: #17395C;
  --bg: #F7F9FC;
  --white: #FFFFFF;
  --text: #3A3A3A;
  --text-soft: #6B7686;
  --line: #E4E9F1;

  --font-head: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius: 14px;
  --shadow: 0 20px 45px -20px rgba(14,74,123,0.25);
  --shadow-sm: 0 8px 24px -12px rgba(14,74,123,0.18);
  --ease: cubic-bezier(.22,.68,0,1.01);
}

*{ margin:0; padding:0; box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height:1.6;
  overflow-x:hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; }
h1,h2,h3,h4{ font-family: var(--font-head); color: var(--navy); line-height:1.2; }
section{ position:relative; }
.container{ width:100%; max-width:1220px; margin:0 auto; padding:0 24px; }

:focus-visible{ outline:3px solid var(--gold); outline-offset:3px; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; scroll-behavior:auto !important; }
}

/* ============ SIGNATURE ELEMENT: scaffold-joint rule ============ */
.scaffold-rule{
  display:flex; align-items:center; gap:0; height:20px; margin:0 0 18px;
}
.scaffold-rule::before{
  content:""; width:14px; height:14px; border:2.5px solid var(--gold);
  border-radius:3px; transform:rotate(45deg); flex-shrink:0;
}
.scaffold-rule::after{
  content:""; flex:1; height:2px; background:
    repeating-linear-gradient(90deg, var(--gold) 0 8px, transparent 8px 14px);
  margin-left:10px;
}
.scaffold-rule.center{ justify-content:center; }
.scaffold-rule.center::after{ display:none; }
.scaffold-rule.center::before{ margin:0 auto; }

.eyebrow{
  font-family: var(--font-head); font-weight:700; font-size:13px;
  letter-spacing:.14em; text-transform:uppercase; color: var(--gold);
}
.section-head{ max-width:640px; margin-bottom:52px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head h2{ font-size: clamp(28px,3.4vw,40px); font-weight:700; margin-top:10px; }
.section-head p{ color: var(--text-soft); margin-top:14px; font-size:16.5px; }

.btn{
  display:inline-flex; align-items:center; gap:10px;
  font-family: var(--font-head); font-weight:600; font-size:14.5px;
  padding:15px 30px; border-radius:999px; border:2px solid transparent;
  cursor:pointer; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease), color .35s var(--ease);
  white-space:nowrap;
}
.btn-primary{
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy); box-shadow: var(--shadow-sm);
}
.btn-primary:hover{ transform: translateY(-3px); box-shadow: 0 16px 30px -12px rgba(201,154,58,.55); }
.btn-outline{
  background: transparent; border-color: rgba(255,255,255,.55); color:#fff;
}
.btn-outline:hover{ background: rgba(255,255,255,.12); border-color:#fff; transform: translateY(-3px); }
.btn-outline.dark{ border-color: var(--navy); color: var(--navy); }
.btn-outline.dark:hover{ background: var(--navy); color:#fff; }

/* ============ TOP BAR ============ */
.topbar{ background: var(--navy); color:#cfe0f0; font-size:13px; }
.topbar .container{ display:flex; align-items:center; justify-content:space-between; height:40px; }
.topbar-left{ display:flex; gap:24px; align-items:center; }
.topbar-left a{ display:flex; align-items:center; gap:7px; opacity:.9; transition:opacity .25s; }
.topbar-left a:hover{ opacity:1; color:var(--gold-light); }
.topbar-social{ display:flex; gap:14px; }
.topbar-social a{ opacity:.8; }
.topbar-social a:hover{ opacity:1; color:var(--gold-light); }
.icon{ width:14px; height:14px; flex-shrink:0; }

/* ============ NAV ============ */
header.site{
  position: sticky; top:0; z-index:100;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom:1px solid var(--line);
  transition: box-shadow .3s;
}
header.site.scrolled{ box-shadow: 0 8px 24px -16px rgba(14,74,123,.25); }
nav{ display:flex; align-items:center; justify-content:space-between; height:82px; }
.logo{ display:flex; align-items:center; gap:12px; }
.logo-mark{
  width:44px; height:44px; border-radius:10px;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.logo-mark svg{ width:24px; height:24px; }
.logo-text{ font-family:var(--font-head); line-height:1.15; }
.logo-text b{ display:block; font-size:17px; font-weight:800; color:var(--navy); letter-spacing:.01em; }
.logo-text span{ display:block; font-size:10.5px; font-weight:600; color:var(--gold); letter-spacing:.1em; text-transform:uppercase; }
.custom-logo{ max-height:52px; width:auto; }

.nav-links{ display:flex; align-items:center; gap:36px; }
.nav-links a{
  font-family:var(--font-head); font-weight:500; font-size:14.5px; color:var(--text);
  position:relative; padding:6px 0;
}
.nav-links a::after{
  content:""; position:absolute; left:0; bottom:0; width:0; height:2px; background:var(--gold);
  transition: width .3s var(--ease);
}
.nav-links a:hover::after{ width:100%; }
.nav-links a:hover{ color:var(--blue); }
.nav-links li.current-menu-item > a{ color:var(--blue); }
.nav-links li.current-menu-item > a::after{ width:100%; }
.nav-cta{ display:flex; align-items:center; gap:20px; }
.nav-toggle{ display:none; background:none; border:0; cursor:pointer; }

@media (max-width: 940px){
  .nav-links{
    position:fixed; inset:82px 0 0 0; background:#fff; flex-direction:column;
    padding:36px 24px; gap:26px; transform:translateX(100%); transition:transform .4s var(--ease);
    overflow-y:auto;
  }
  .nav-links.open{ transform:translateX(0); }
  .nav-links a{ font-size:18px; }
  .nav-toggle{ display:block; }
  .nav-cta .btn-primary{ padding:11px 20px; font-size:13px; }
  .topbar-left a span.long{ display:none; }
}

/* ============ HERO ============ */
.hero{
  position:relative; color:#fff; overflow:hidden;
  padding: 150px 0 130px;
  background-size:cover; background-position:center; background-repeat:no-repeat;
}
.hero::before{
  content:""; position:absolute; inset:0; opacity:.14; pointer-events:none;
  background-image:
    repeating-linear-gradient(0deg, #fff 0 2px, transparent 2px 74px),
    repeating-linear-gradient(90deg, #fff 0 2px, transparent 2px 74px);
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}
.hero-inner{ position:relative; z-index:2;  }
.hero .eyebrow{ color: var(--gold-light); }
.hero h1{
  color:#fff; font-size: clamp(34px, 5vw, 58px); font-weight:800;
  margin: 16px 0 20px; letter-spacing:-.01em;
}
.hero h1 em{ font-style:normal; color: var(--gold-light); }
.hero p.lead{ font-size:18px; color:#dbe6f1; max-width:600px; margin-bottom:30px; }
.hero-tags{ display:flex; flex-wrap:wrap; gap:11px 22px; margin-bottom:40px; }
.hero-tags span{ display:flex; align-items:center; gap:8px; font-size:14px; font-weight:500; color:#eef4fa; }
.hero-tags svg{ width:16px; height:16px; color: var(--gold-light); flex-shrink:0; }
.hero-actions{ display:flex; flex-wrap:wrap; gap:16px; }

.hero-strip{
  position:relative; z-index:2; margin-top:78px;
  display:grid; grid-template-columns:repeat(4,1fr); gap:1px;
  background: rgba(255,255,255,.16); border-radius:16px; overflow:hidden;
  backdrop-filter: blur(6px);
}
.hero-strip div{ background: rgba(9,28,49,.55); padding:20px 22px; }
.hero-strip b{ display:block; font-family:var(--font-head); font-size:26px; color:var(--gold-light); }
.hero-strip span{ font-size:12.5px; color:#c7d7e6; }
@media (max-width: 780px){ .hero-strip{ grid-template-columns:repeat(2,1fr); } }

/* ============ SERVICES ============ */
.services{ padding:110px 0; background: var(--bg); }
.service-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
@media (max-width:900px){ .service-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:600px){ .service-grid{ grid-template-columns:1fr; } }

.service-card{
  background:#fff; border-radius: var(--radius); padding:34px 28px;
  border:1px solid var(--line); position:relative; overflow:hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.service-card::before{
  content:""; position:absolute; left:0; top:0; height:4px; width:0;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transition: width .45s var(--ease);
}
.service-card:hover{ transform: translateY(-8px); box-shadow: var(--shadow); border-color:transparent; }
.service-card:hover::before{ width:100%; }
.service-icon{
  width:56px; height:56px; border-radius:12px;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  display:flex; align-items:center; justify-content:center; margin-bottom:22px;
  transition: transform .4s var(--ease), background .4s var(--ease);
}
.service-card:hover .service-icon{ transform: rotate(-6deg) scale(1.06); background: linear-gradient(135deg, var(--gold), var(--gold-light)); }
.service-icon svg{ width:26px; height:26px; color:#fff; }
.service-card h3{ font-size:19px; font-weight:600; margin-bottom:10px; }
.service-card p{ color: var(--text-soft); font-size:14.8px; }
.service-card .learn{
  display:inline-flex; align-items:center; gap:6px; margin-top:16px;
  font-family:var(--font-head); font-weight:600; font-size:13.5px; color:var(--blue);
}
.service-card .learn svg{ width:14px; height:14px; transition: transform .3s; }
.service-card:hover .learn svg{ transform: translateX(4px); }

/* ============ WHY CHOOSE ============ */
.why{ padding:110px 0; background:#fff; }
.why-wrap{ display:grid; grid-template-columns: 1fr 1.15fr; gap:64px; align-items:center; }
@media (max-width:900px){ .why-wrap{ grid-template-columns:1fr; gap:44px; } }
.why-media{ position:relative; border-radius:20px; overflow:hidden; box-shadow: var(--shadow); }
.why-media img{ width:100%; height:520px; object-fit:cover; }
.why-badge{
  position:absolute; bottom:22px; left:22px; right:22px;
  background: rgba(14,32,54,.82); backdrop-filter: blur(8px); color:#fff;
  border-radius:14px; padding:18px 20px; display:flex; align-items:center; gap:16px;
}
.why-badge b{ font-family:var(--font-head); font-size:24px; color:var(--gold-light); }
.why-badge span{ font-size:12.5px; color:#d6e2ee; display:block; }

.why-list{ display:grid; grid-template-columns:1fr 1fr; gap:18px 22px; margin-top:30px; }
@media (max-width:520px){ .why-list{ grid-template-columns:1fr; } }
.why-item{ display:flex; gap:12px; align-items:flex-start; }
.why-item .check{
  width:26px; height:26px; border-radius:8px; background: rgba(201,154,58,.14);
  display:flex; align-items:center; justify-content:center; flex-shrink:0; margin-top:2px;
}
.why-item .check svg{ width:14px; height:14px; color: var(--gold); }
.why-item p{ font-family:var(--font-head); font-weight:600; font-size:14.8px; color: var(--navy); }

/* ============ INDUSTRIES ============ */
.industries{ padding:110px 0; background: var(--navy); color:#fff; position:relative; overflow:hidden; }
.industries::after{
  content:""; position:absolute; inset:0; opacity:.08; pointer-events:none;
  background-image: repeating-linear-gradient(0deg,#fff 0 1px, transparent 1px 60px), repeating-linear-gradient(90deg,#fff 0 1px, transparent 1px 60px);
}
.industries .section-head h2, .industries .eyebrow{ color:#fff; }
.industries .eyebrow{ color: var(--gold-light); }
.industries .section-head p{ color:#b9c9da; }
.ind-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; position:relative; z-index:1; }
@media (max-width:900px){ .ind-grid{ grid-template-columns:repeat(2,1fr); } }
.ind-card{
  background: rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.12);
  border-radius:14px; padding:26px 20px; text-align:center;
  transition: background .35s, transform .35s var(--ease), border-color .35s;
}
.ind-card:hover{ background: rgba(255,255,255,.1); transform: translateY(-6px); border-color: var(--gold); }
.ind-card svg{ width:30px; height:30px; color: var(--gold-light); margin:0 auto 14px; }
.ind-card span{ font-family:var(--font-head); font-weight:600; font-size:14.5px; }

/* ============ STATS ============ */
.stats{ padding:80px 0; background: linear-gradient(135deg, var(--blue), var(--navy)); color:#fff; }
.stats-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; text-align:center; }
@media (max-width:780px){ .stats-grid{ grid-template-columns:repeat(2,1fr); } }
.stat b{ display:block; font-family:var(--font-head); font-weight:800; font-size: clamp(32px,4.5vw,46px); color: var(--gold-light); }
.stat span{ font-size:13.5px; color:#cfe0f0; letter-spacing:.03em; }

/* ============ PORTFOLIO ============ */
.portfolio{ padding:110px 0; background:#fff; }
.port-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
@media (max-width:900px){ .port-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:600px){ .port-grid{ grid-template-columns:1fr; } }
.port-item{
  position:relative; border-radius: var(--radius); overflow:hidden; height:290px;
  box-shadow: var(--shadow-sm);
}
.port-item img{ width:100%; height:100%; object-fit:cover; transition: transform .6s var(--ease); }
.port-item:hover img{ transform: scale(1.08); }
.port-overlay{
  position:absolute; inset:0; display:flex; flex-direction:column; justify-content:flex-end;
  padding:22px; background: linear-gradient(0deg, rgba(9,28,49,.92) 0%, rgba(9,28,49,.1) 65%, transparent 100%);
  opacity:0; transition: opacity .4s;
}
.port-item:hover .port-overlay{ opacity:1; }
.port-overlay .tag{ font-size:11.5px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color: var(--gold-light); margin-bottom:6px; }
.port-overlay h4{ color:#fff; font-size:17px; }
.port-overlay p{ color:#cfe0f0; font-size:13px; margin-top:2px; }

/* ============ PROCESS ============ */
.process{ padding:110px 0; background: var(--bg); }
.proc-track{ position:relative; display:grid; grid-template-columns:repeat(4,1fr); gap:26px; }
@media (max-width:900px){ .proc-track{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .proc-track{ grid-template-columns:1fr; } }
.proc-track::before{
  content:""; position:absolute; top:27px; left:8%; right:8%; height:2px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 8px, transparent 8px 15px);
}
@media (max-width:900px){ .proc-track::before{ display:none; } }
.proc-item{ position:relative; }
.proc-num{
  width:56px; height:56px; border-radius:50%; background:#fff; border:2.5px solid var(--gold);
  display:flex; align-items:center; justify-content:center; font-family:var(--font-head);
  font-weight:800; color: var(--navy); font-size:19px; margin-bottom:20px; position:relative; z-index:1;
}
.proc-item h4{ font-size:16.5px; margin-bottom:8px; }
.proc-item p{ color: var(--text-soft); font-size:14px; }

/* ============ TESTIMONIALS ============ */
.testi{ padding:110px 0; background:#fff; }
.testi-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
@media (max-width:900px){ .testi-grid{ grid-template-columns:1fr; } }
.testi-card{ background: var(--bg); border-radius: var(--radius); padding:30px 28px; border:1px solid var(--line); }
.stars{ display:flex; gap:4px; margin-bottom:16px; color: var(--gold); }
.testi-card p.quote{ font-size:15px; color: var(--text); margin-bottom:22px; }
.testi-person{ display:flex; align-items:center; gap:12px; }
.testi-avatar{
  width:42px; height:42px; border-radius:50%; background: linear-gradient(135deg,var(--blue),var(--navy));
  color:#fff; display:flex; align-items:center; justify-content:center; font-family:var(--font-head); font-weight:700; font-size:15px;
}
.testi-person b{ display:block; font-family:var(--font-head); font-size:14.5px; color:var(--navy); }
.testi-person span{ font-size:12.5px; color: var(--text-soft); }

/* ============ FAQ ============ */
.faq{ padding:110px 0; background: var(--bg); }
.faq-wrap{ max-width:800px; margin:0 auto; }
.faq-item{ background:#fff; border:1px solid var(--line); border-radius:12px; margin-bottom:14px; overflow:hidden; }
.faq-q{
  width:100%; text-align:left; padding:22px 24px; background:none; border:0; cursor:pointer;
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  font-family:var(--font-head); font-weight:600; font-size:15.5px; color:var(--navy);
}
.faq-q .plus{
  width:26px; height:26px; border-radius:50%; background: var(--bg); flex-shrink:0;
  display:flex; align-items:center; justify-content:center; position:relative; transition: background .3s, transform .35s var(--ease);
}
.faq-q .plus::before, .faq-q .plus::after{ content:""; position:absolute; background: var(--blue); transition: transform .3s; }
.faq-q .plus::before{ width:11px; height:2px; }
.faq-q .plus::after{ width:2px; height:11px; }
.faq-item.open .faq-q .plus{ background: var(--gold); transform: rotate(180deg); }
.faq-item.open .faq-q .plus::after{ transform: scaleY(0); }
.faq-item.open .faq-q .plus::before{ background:#fff; }
.faq-item.open .faq-q .plus::after{ background:#fff; }
.faq-a{ max-height:0; overflow:hidden; transition: max-height .4s var(--ease); }
.faq-a p{ padding:0 24px 22px; color: var(--text-soft); font-size:14.5px; }

/* ============ CTA BANNER ============ */
.cta-banner{
  margin: 0 24px; max-width:1220px; margin-left:auto; margin-right:auto;
  border-radius:24px; padding:64px 48px; text-align:center; color:#fff;
  background: linear-gradient(120deg, var(--navy), var(--blue)); position:relative; overflow:hidden;
}
.cta-banner::before{
  content:""; position:absolute; inset:0; opacity:.12;
  background-image: repeating-linear-gradient(0deg,#fff 0 2px, transparent 2px 60px), repeating-linear-gradient(90deg,#fff 0 2px, transparent 2px 60px);
}
.cta-banner h2{ color:#fff; font-size: clamp(26px,3.6vw,38px); position:relative; z-index:1; }
.cta-banner p{ color:#cfe0f0; margin:14px 0 30px; position:relative; z-index:1; }
.cta-banner .btn-primary{ position:relative; z-index:1; }

/* ============ FOOTER ============ */
footer.site{ background: #0B2338; color:#c7d7e6; padding:80px 0 0; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1.3fr; gap:44px; padding-bottom:56px; border-bottom:1px solid rgba(255,255,255,.08); }
@media (max-width:860px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:520px){ .footer-grid{ grid-template-columns:1fr; } }
.footer-grid h4{ color:#fff; font-size:15px; margin-bottom:20px; }
.footer-grid p{ font-size:13.8px; line-height:1.8; color:#a9bccf; }
.footer-grid ul li{ margin-bottom:12px; }
.footer-grid ul a{ font-size:13.8px; color:#a9bccf; transition: color .25s, padding-left .25s; }
.footer-grid ul a:hover{ color: var(--gold-light); padding-left:4px; }
.footer-social{ display:flex; gap:12px; margin-top:20px; }
.footer-social a{
  width:36px; height:36px; border-radius:50%; background: rgba(255,255,255,.06);
  display:flex; align-items:center; justify-content:center; transition: background .3s, transform .3s;
}
.footer-social a:hover{ background: var(--gold); transform: translateY(-3px); }
.footer-social svg{ width:16px; height:16px; }
.footer-contact li{ display:flex; gap:10px; font-size:13.8px; color:#a9bccf; align-items:flex-start; }
.footer-contact svg{ width:16px; height:16px; color: var(--gold-light); flex-shrink:0; margin-top:2px; }
.newsletter{ display:flex; margin-top:16px; border-radius:10px; overflow:hidden; border:1px solid rgba(255,255,255,.14); }
.newsletter input{ flex:1; background:transparent; border:0; padding:12px 14px; color:#fff; font-size:13.5px; }
.newsletter input::placeholder{ color:#7f92a6; }
.newsletter button{ background: var(--gold); border:0; padding:0 18px; cursor:pointer; display:flex; align-items:center; justify-content:center; }
.newsletter svg{ width:16px; height:16px; color: var(--navy); }
.footer-bottom{
  padding:24px 0; display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px;
  font-size:12.8px; color:#7f92a6;
}
.footer-bottom a{ color:#a9bccf; }
.widget{ margin-top:22px; }

/* ============ BACK TO TOP ============ */
.totop{
  position:fixed; bottom:26px; right:26px; width:48px; height:48px; border-radius:50%;
  background: var(--gold); color: var(--navy); display:flex; align-items:center; justify-content:center;
  box-shadow: var(--shadow); opacity:0; visibility:hidden; transform: translateY(12px);
  transition: opacity .35s, transform .35s, visibility .35s; z-index:90; cursor:pointer; border:0;
}
.totop.show{ opacity:1; visibility:visible; transform:none; }
.totop svg{ width:20px; height:20px; }

/* ============ SCROLL REVEAL ============ */
.reveal{ opacity:0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in{ opacity:1; transform:none; }

/* ============ WP CORE / MISC ============ */
.alignleft{ float:left; margin:0 24px 16px 0; }
.alignright{ float:right; margin:0 0 16px 24px; }
.aligncenter{ display:block; margin:0 auto 16px; }
.page-content a{ color: var(--blue); text-decoration:underline; }
.page-content h2, .page-content h3{ margin:28px 0 12px; }
.page-content p{ margin-bottom:16px; }
.page-content ul, .page-content ol{ margin:0 0 16px 22px; list-style:revert; }
