:root{
  --navy: #0B2545;
  --navy-deep: #071A33;
  --teal: #0E7C7B;
  --teal-light: #E4F2F1;
  --gold: #C9932E;
  --ink: #1C2530;
  --grey: #5A6472;
  --paper: #F7F9FA;
  --line: rgba(11,37,69,0.12);
  --white: #FFFFFF;
}
*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{
  font-family:'Inter', sans-serif;
  color:var(--ink);
  background:var(--paper);
  line-height:1.6;
  overflow-x:hidden;
}
h1,h2,h3,h4,.display{ font-family:'Space Grotesk', sans-serif; }
a{color:inherit; text-decoration:none;}
img{max-width:100%; display:block;}
.wrap{max-width:1180px; margin:0 auto; padding:0 28px;}
ul{list-style:none;}

@media (prefers-reduced-motion: reduce){
  *{animation-duration:0.001ms !important; transition-duration:0.001ms !important;}
}

/* ===== circuit motif (signature element) ===== */
.circuit-line{
  position:absolute; pointer-events:none; opacity:0.14;
}

/* ===== NAV ===== */
header{
  position:sticky; top:0; z-index:200;
  background:rgba(7,26,51,0.96); backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(255,255,255,0.08);
}
nav.navbar{ display:flex; align-items:center; justify-content:space-between; height:76px; }
.brand{ display:flex; align-items:center; gap:10px; }
.brand-mark{
  width:34px; height:34px; border:1.5px solid var(--gold); border-radius:3px;
  position:relative; flex-shrink:0;
}
.brand-mark::before, .brand-mark::after{
  content:''; position:absolute; background:var(--gold);
}
.brand-mark::before{ width:14px; height:1.5px; top:9px; left:6px; }
.brand-mark::after{ width:1.5px; height:14px; top:9px; left:6px; }
.brand-name{ font-family:'Space Grotesk', sans-serif; font-weight:700; font-size:18px; color:var(--white); letter-spacing:0.3px; }
.brand-name span{ color:var(--gold); }
.nav-links{ display:flex; gap:34px; font-size:14px; font-weight:500; }
.nav-links a{ color:rgba(255,255,255,0.78); transition:color 0.2s; position:relative; padding:4px 0; }
.nav-links a:hover, .nav-links a.active{ color:var(--white); }
.nav-links a.active::after{
  content:''; position:absolute; bottom:-2px; left:0; right:0; height:2px; background:var(--gold);
}
.nav-cta{
  background:var(--teal); color:var(--white); padding:10px 22px; border-radius:2px;
  font-size:13.5px; font-weight:700; letter-spacing:0.3px; transition:background 0.2s;
}
.nav-cta:hover{ background:#0A6362; }
.nav-toggle{ display:none; background:none; border:none; color:var(--white); font-size:26px; cursor:pointer; }
@media (max-width:900px){
  .nav-links{ display:none; }
  .nav-toggle{ display:block; }
  .nav-cta{ display:none; }
}

/* mobile nav drawer */
.mobile-nav{
  display:none; flex-direction:column; background:var(--navy-deep); padding:8px 28px 20px;
  border-bottom:1px solid rgba(255,255,255,0.08);
}
.mobile-nav.open{ display:flex; }
.mobile-nav a{ color:rgba(255,255,255,0.85); padding:12px 0; font-size:15px; border-bottom:1px solid rgba(255,255,255,0.06); }
.mobile-nav a.nav-cta-mobile{ color:var(--gold); font-weight:700; }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero{
  background:var(--navy); color:var(--white); padding:64px 0 56px; position:relative; overflow:hidden;
}
.page-hero .eyebrow{ color:var(--gold); font-size:12.5px; letter-spacing:2px; text-transform:uppercase; font-weight:700; margin-bottom:14px; display:block; }
.page-hero h1{ font-size:clamp(32px,5vw,52px); font-weight:600; max-width:760px; letter-spacing:-0.5px; }
.page-hero p{ margin-top:16px; max-width:600px; color:rgba(255,255,255,0.78); font-size:16px; }

/* ===== SECTIONS ===== */
.section{ padding:88px 0; }
.section-tight{ padding:64px 0; }
.section-head{ max-width:680px; margin-bottom:48px; }
.section-head .eyebrow{ color:var(--teal); font-size:12.5px; letter-spacing:2px; text-transform:uppercase; font-weight:700; margin-bottom:12px; display:block; }
.section-head h2{ font-size:clamp(26px,3.6vw,38px); font-weight:600; letter-spacing:-0.4px; color:var(--navy); }
.section-head p{ margin-top:14px; color:var(--grey); font-size:16px; max-width:560px; }
.on-navy{ background:var(--navy); color:var(--white); }
.on-navy .section-head h2{ color:var(--white); }
.on-navy .section-head p{ color:rgba(255,255,255,0.72); }
.on-teal-tint{ background:var(--teal-light); }

/* ===== BUTTONS ===== */
.btn{
  display:inline-flex; align-items:center; gap:8px; padding:15px 28px; font-weight:700;
  font-size:14.5px; border-radius:2px; transition:transform 0.18s ease, background 0.18s ease; cursor:pointer;
  border:1.5px solid transparent;
}
.btn-teal{ background:var(--teal); color:var(--white); }
.btn-teal:hover{ background:#0A6362; transform:translateY(-2px); }
.btn-gold{ background:var(--gold); color:var(--navy-deep); }
.btn-gold:hover{ background:#B3822A; transform:translateY(-2px); }
.btn-outline{ border-color:rgba(255,255,255,0.4); color:var(--white); }
.btn-outline:hover{ background:rgba(255,255,255,0.1); transform:translateY(-2px); }
.btn-outline-navy{ border-color:var(--navy); color:var(--navy); }
.btn-outline-navy:hover{ background:var(--navy); color:var(--white); transform:translateY(-2px); }

/* ===== CARDS / GRIDS ===== */
.grid-3{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
.grid-2{ display:grid; grid-template-columns:1fr 1fr; gap:26px; }
@media (max-width:900px){ .grid-3{ grid-template-columns:1fr 1fr; } }
@media (max-width:620px){ .grid-3, .grid-2{ grid-template-columns:1fr; } }

.solution-card{
  background:var(--white); border:1px solid var(--line); border-radius:4px; padding:30px 26px;
  transition:transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease; position:relative; overflow:hidden;
}
.solution-card:hover{ transform:translateY(-5px); box-shadow:0 18px 36px -22px rgba(11,37,69,0.35); border-color:var(--teal); }
.solution-card .icon-box{
  width:46px; height:46px; border-radius:4px; background:var(--teal-light); color:var(--teal);
  display:flex; align-items:center; justify-content:center; margin-bottom:18px;
}
.solution-card h3{ font-size:18px; font-weight:600; color:var(--navy); margin-bottom:10px; }
.solution-card p{ font-size:14.5px; color:var(--grey); }
.solution-card a.card-link{ display:inline-block; margin-top:14px; font-size:13.5px; font-weight:700; color:var(--teal); border-bottom:1.5px solid var(--gold); }

/* ===== STATS STRIP ===== */
.stats-strip{ display:flex; flex-wrap:wrap; gap:0; border-top:1px solid rgba(255,255,255,0.15); margin-top:44px; padding-top:28px; }
.stat{ padding-right:44px; margin-right:44px; border-right:1px solid rgba(255,255,255,0.15); }
.stat:last-child{ border-right:none; margin-right:0; }
.stat .num{ font-family:'Space Grotesk',sans-serif; font-size:32px; font-weight:700; color:var(--gold); }
.stat .lbl{ font-size:12px; opacity:0.75; text-transform:uppercase; letter-spacing:1px; margin-top:2px; }

/* ===== SERVICE BLOCKS (services page) ===== */
.service-block{
  display:grid; grid-template-columns:280px 1fr; gap:40px; padding:44px 0; border-bottom:1px solid var(--line);
}
@media (max-width:760px){ .service-block{ grid-template-columns:1fr; gap:16px; } }
.service-block .num{ font-family:'Space Grotesk',sans-serif; font-size:14px; color:var(--gold); font-weight:700; letter-spacing:1px; }
.service-block h3{ font-size:24px; font-weight:600; color:var(--navy); margin-top:6px; }
.service-block .desc{ color:var(--grey); font-size:15px; margin-top:10px; max-width:260px; }
.feature-tags{ display:flex; flex-wrap:wrap; gap:10px; }
.feature-tag{
  font-size:13px; font-weight:600; color:var(--navy); background:var(--teal-light);
  padding:9px 14px; border-radius:20px; border:1px solid transparent;
}

/* ===== TABLE (industries) ===== */
.industry-table{ width:100%; border-collapse:collapse; }
.industry-table th{
  text-align:left; background:var(--navy); color:var(--white); padding:16px 20px; font-size:13px;
  text-transform:uppercase; letter-spacing:0.8px; font-weight:700;
}
.industry-table td{ padding:20px; border-bottom:1px solid var(--line); font-size:14.5px; vertical-align:top; }
.industry-table tr:hover td{ background:var(--teal-light); }
.industry-table td.ind-name{ font-weight:700; color:var(--navy); white-space:nowrap; }
@media (max-width:700px){
  .industry-table, .industry-table thead, .industry-table tbody, .industry-table th, .industry-table td, .industry-table tr{ display:block; }
  .industry-table thead{ display:none; }
  .industry-table tr{ border:1px solid var(--line); margin-bottom:14px; border-radius:4px; overflow:hidden; }
  .industry-table td{ border-bottom:none; padding:14px 18px; }
  .industry-table td.ind-name{ background:var(--navy); color:var(--white); }
}

/* ===== WHY-US ===== */
.why-item{ display:flex; gap:18px; padding:24px 0; border-bottom:1px solid var(--line); }
.why-item .icon-box{
  width:44px; height:44px; border-radius:50%; background:var(--navy); color:var(--gold);
  display:flex; align-items:center; justify-content:center; flex-shrink:0; font-family:'Space Grotesk',sans-serif; font-weight:700;
}
.why-item h3{ font-size:17px; font-weight:600; color:var(--navy); }
.why-item p{ font-size:14.5px; color:var(--grey); margin-top:6px; }

/* ===== CTA BAND ===== */
.cta-band{
  background:linear-gradient(120deg, var(--navy) 0%, var(--navy-deep) 100%); color:var(--white);
  padding:64px 0; text-align:center; position:relative; overflow:hidden;
}
.cta-band h2{ font-size:clamp(24px,3.4vw,34px); font-weight:600; }
.cta-band p{ margin-top:12px; color:rgba(255,255,255,0.75); max-width:520px; margin-left:auto; margin-right:auto; }
.cta-actions{ display:flex; gap:16px; justify-content:center; margin-top:28px; flex-wrap:wrap; }

/* ===== FORM (contact) ===== */
.form-panel{ background:var(--white); border:1px solid var(--line); border-radius:4px; padding:40px; }
.field{ margin-bottom:20px; }
.field label{ display:block; font-size:13px; font-weight:700; margin-bottom:8px; text-transform:uppercase; letter-spacing:0.5px; color:var(--navy); }
.field input, .field select, .field textarea{
  width:100%; padding:13px 15px; border:1.5px solid var(--line); border-radius:3px; font-size:15px;
  font-family:'Inter',sans-serif; background:var(--paper); transition:border-color 0.2s; resize:vertical;
}
.field input:focus, .field select:focus, .field textarea:focus{ outline:none; border-color:var(--teal); }
.submit-btn{
  width:100%; padding:15px; background:var(--teal); color:#fff; border:none; border-radius:3px;
  font-weight:700; font-size:15px; cursor:pointer; transition:background 0.2s; font-family:'Inter',sans-serif;
}
.submit-btn:hover{ background:#0A6362; }

.contact-info-item{ display:flex; gap:16px; margin-bottom:26px; }
.contact-info-item .icon-box{ width:42px; height:42px; border-radius:4px; background:var(--teal-light); color:var(--teal); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.contact-info-item h4{ font-size:14px; font-weight:700; color:var(--navy); text-transform:uppercase; letter-spacing:0.4px; }
.contact-info-item p, .contact-info-item a{ font-size:15px; color:var(--grey); margin-top:3px; display:block; }
.contact-info-item a:hover{ color:var(--teal); }

/* ===== FOOTER ===== */
footer{ background:var(--navy-deep); color:rgba(255,255,255,0.8); padding:64px 0 28px; }
.footer-grid{ display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:40px; padding-bottom:40px; border-bottom:1px solid rgba(255,255,255,0.1); }
@media (max-width:800px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:480px){ .footer-grid{ grid-template-columns:1fr; } }
.footer-grid h4{ font-size:12.5px; text-transform:uppercase; letter-spacing:1px; margin-bottom:18px; color:var(--gold); }
.footer-grid p, .footer-grid a{ font-size:14px; color:rgba(255,255,255,0.68); margin-bottom:11px; display:block; }
.footer-grid a:hover{ color:var(--white); }
.footer-brand{ font-family:'Space Grotesk',sans-serif; font-size:20px; font-weight:700; color:var(--white); margin-bottom:12px; }
.footer-brand span{ color:var(--gold); }
.footer-bottom{ padding-top:24px; display:flex; justify-content:space-between; font-size:12.5px; opacity:0.55; flex-wrap:wrap; gap:10px; }

/* ===== reveal on scroll ===== */
.reveal{ opacity:0; transform:translateY(22px); transition:opacity 0.7s ease, transform 0.7s ease; }
.reveal.in{ opacity:1; transform:translateY(0); }

/* placeholder media blocks */
.ph-media{
  background:repeating-linear-gradient(135deg, #DCE3E8 0, #DCE3E8 26px, #CFD8DE 26px, #CFD8DE 52px);
  display:flex; align-items:center; justify-content:center; color:rgba(11,37,69,0.4);
  font-size:12px; text-transform:uppercase; letter-spacing:1px; text-align:center; padding:12px;
}
