/* ============================================================
   Benson Electric Company (BND mockup)
   Tokens map 1:1 to ACSS variables at convert time.
   One container, one gutter token. No em dashes in content.
   ============================================================ */

:root {
  /* Brand palette: sampled from the real BEC logo */
  --navy: #2a3384;
  --navy-700: #222a6e;
  --navy-900: #141a45;
  --navy-950: #0d1130;
  --yellow: #f5df1e;
  --yellow-600: #e3cd0d;
  --cream: #faf8f0;
  --white: #ffffff;
  --ink: #1c2136;
  --muted: #565d78;
  --line: #e3e2d8;
  --success: #1f7a4d;

  /* Typography (font checkpoint swaps these two lines only) */
  --font-display: "Source Serif 4", Georgia, serif;
  --font-body: "Hanken Grotesk", -apple-system, "Segoe UI", sans-serif;

  /* Layout */
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-pad: clamp(56px, 9vw, 104px);
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-card: 0 6px 24px rgba(13, 17, 48, 0.10);
  --shadow-card-hover: 0 14px 36px rgba(13, 17, 48, 0.16);
  --shadow-btn: 0 4px 14px rgba(13, 17, 48, 0.22);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4, .display {
  font-family: var(--font-display);
  line-height: 1.12;
  color: var(--navy-900);
  font-weight: 700;
  text-wrap: balance;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-pad); }
.section--cream { background: var(--cream); }
.section--navy { background: var(--navy-900); color: #d6d9ee; }
.section--navy h2, .section--navy h3 { color: var(--white); }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  font-size: 13px;
  color: var(--navy);
  margin-bottom: 14px;
}
.section-label::before {
  content: "";
  width: 13px; height: 12px;
  background: var(--yellow);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}
.section--navy .section-label { color: var(--yellow); }

.section-title { font-size: clamp(30px, 4.4vw, 46px); margin-bottom: 16px; }
.section-intro { max-width: 640px; color: var(--muted); font-size: 17.5px; }
.section--navy .section-intro { color: #b9bedd; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-radius: 5px;
  padding: 16px 30px;
  font-size: 15.5px;
  box-shadow: 5px 5px 0 rgba(13, 17, 48, 0.88);
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
  white-space: nowrap;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 rgba(13, 17, 48, 0.88); }
.btn--yellow { background: var(--yellow); color: var(--navy-900); }
.btn--yellow:hover { background: var(--yellow-600); }
.btn--navy { background: var(--navy); color: var(--white); box-shadow: 5px 5px 0 var(--yellow); }
.btn--navy:hover { background: var(--navy-700); box-shadow: 8px 8px 0 var(--yellow); }
.btn--white { background: var(--white); color: var(--navy-900); }
.btn--white:hover { background: var(--cream); }
.btn .bolt { width: 18px; height: 18px; flex: none; }
.section--navy .btn, .cta-band .btn, .footer .btn, .hero .btn {
  box-shadow: 5px 5px 0 rgba(245, 223, 30, 0.92);
}
.section--navy .btn:hover, .cta-band .btn:hover, .footer .btn:hover, .hero .btn:hover {
  box-shadow: 8px 8px 0 rgba(245, 223, 30, 0.92);
}
.hero .btn--yellow, .cta-band .btn--yellow, .footer .btn--yellow, .section--navy .btn--yellow {
  box-shadow: 5px 5px 0 rgba(255, 255, 255, 0.85);
}
.hero .btn--yellow:hover, .cta-band .btn--yellow:hover, .footer .btn--yellow:hover, .section--navy .btn--yellow:hover {
  box-shadow: 8px 8px 0 rgba(255, 255, 255, 0.85);
}

/* ---------- Utility bar (yellow power rail) ---------- */
.utility {
  background: var(--yellow);
  color: var(--navy-900);
  font-size: 13.5px;
  font-weight: 700;
}
.utility .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 38px;
}
.utility a { color: var(--navy-900); text-decoration: underline; text-underline-offset: 3px; font-weight: 800; }
.utility a:hover { color: var(--navy); }
.utility-right { display: flex; gap: 22px; white-space: nowrap; }
.utility-left { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Header (navy nameplate) ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--navy-950);
  border-bottom: 3px solid var(--yellow);
  box-shadow: 0 6px 20px rgba(13, 17, 48, 0.35);
}
.header .container {
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 86px;
}
.brand { display: flex; align-items: center; gap: 13px; flex: none; text-decoration: none; }
.brand img { height: 52px; width: auto; }
.brand .brand-word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  line-height: 1.18;
  color: var(--white);
}
.brand .brand-word small {
  display: block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #99a1cd;
  margin-top: 3px;
}

.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav > li { position: relative; }
.nav a, .nav .nav-top {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 32px 13px;
  font-weight: 700;
  font-size: 14.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #e3e6f6;
  text-decoration: none;
}
.nav a::after, .nav .nav-top::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%) translateY(4px);
  width: 13px; height: 9px;
  background: var(--yellow);
  clip-path: polygon(0 100%, 100% 100%, 50% 0);
  opacity: 0;
  transition: transform 0.18s ease, opacity 0.18s ease;
}
.nav > li:hover > a::after, .nav > li:hover > .nav-top::after,
.nav > li > a:focus-visible::after, .nav > li:focus-within > .nav-top::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.nav > li:hover > a, .nav > li:hover > .nav-top { color: var(--yellow); }
.nav .caret { width: 10px; height: 10px; transition: transform 0.15s; }
.nav > li:hover .caret { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  background: var(--navy-900);
  border: 1px solid #2e3878;
  border-top: 3px solid var(--yellow);
  border-radius: 0 0 10px 10px;
  box-shadow: 0 22px 48px rgba(0, 0, 5, 0.5);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
}
.nav > li:hover .dropdown, .nav > li:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown a {
  display: block;
  padding: 11px 14px;
  border-radius: 7px;
  font-weight: 600;
  font-size: 14.5px;
  text-transform: none;
  letter-spacing: 0;
  color: #d6d9ee;
}
.dropdown a::after { display: none; }
.dropdown a:hover { background: rgba(245, 223, 30, 0.1); color: var(--yellow); }

.header-call {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.15;
  text-decoration: none;
  flex: none;
}
.header-call .call-label {
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #99a1cd;
}
.header-call .call-number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 25px;
  color: var(--yellow);
}
.header-call:hover .call-number { color: var(--yellow-600); }
.header .btn { padding: 14px 24px; font-size: 14px; flex: none; }
.header .btn--yellow { box-shadow: 4px 4px 0 rgba(255, 255, 255, 0.85); }
.header .btn--yellow:hover { box-shadow: 6px 6px 0 rgba(255, 255, 255, 0.85); }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px; height: 46px;
  border-radius: 8px;
  background: var(--yellow);
  padding: 12px 11px;
  flex: none;
  box-shadow: 3px 3px 0 rgba(255, 255, 255, 0.7);
}
.hamburger span {
  display: block;
  height: 3px;
  border-radius: 2px;
  background: var(--navy-950);
  transition: transform 0.22s ease, opacity 0.18s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Mobile drawer ---------- */
.drawer-scrim {
  position: fixed; inset: 0;
  background: rgba(13, 17, 48, 0.55);
  z-index: 70;
  opacity: 0; visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s;
}
.drawer-scrim.open { opacity: 1; visibility: visible; }

.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(400px, 100vw);
  background: var(--white);
  z-index: 80;
  transform: translateX(103%);
  visibility: hidden;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.28s;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.drawer.open { transform: translateX(0); visibility: visible; }

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--navy-900);
}
.drawer-head img { height: 42px; }
.drawer-close {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-size: 22px;
  line-height: 1;
}
.drawer-nav { padding: 10px 8px; flex: 1; }
.drawer-nav > li { border-bottom: 1px solid var(--line); }
.drawer-nav > li:last-child { border-bottom: none; }
.drawer-nav a, .drawer-acc-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 15px 14px;
  font-weight: 700;
  font-size: 16.5px;
  color: var(--navy-900);
  text-decoration: none;
  text-align: left;
}
.drawer-acc-btn .caret { width: 12px; height: 12px; transition: transform 0.2s; flex: none; }
.drawer-acc-btn.open .caret { transform: rotate(180deg); }
.drawer-sub {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.26s ease;
}
.drawer-sub a {
  font-weight: 600;
  font-size: 15px;
  color: var(--muted);
  padding: 11px 14px 11px 26px;
}
.drawer-cta {
  background: var(--navy-900);
  padding: 22px 20px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.drawer-cta .btn { width: 100%; }
.drawer-cta .drawer-call {
  display: block;
  text-align: center;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: var(--yellow);
  text-decoration: none;
}
.drawer-cta .drawer-meta {
  text-align: center;
  color: #aab0d4;
  font-size: 13.5px;
}

/* ---------- Hero (nameplate + schematic) ---------- */
.hero {
  position: relative;
  isolation: isolate;
  color: var(--white);
  overflow: hidden;
  background-color: var(--navy-950);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cg fill='none' stroke='%231d2557' stroke-width='1.2'%3E%3Cpath d='M20 24h78v52h64'/%3E%3Cpath d='M226 44v76h-58'/%3E%3Cpath d='M44 218h96v-44'/%3E%3Ccircle cx='20' cy='24' r='3'/%3E%3Ccircle cx='162' cy='76' r='3'/%3E%3Ccircle cx='226' cy='44' r='3'/%3E%3Ccircle cx='44' cy='218' r='3'/%3E%3Ccircle cx='140' cy='174' r='3'/%3E%3Ccircle cx='168' cy='120' r='3'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 260px;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse 60% 80% at 78% 45%, rgba(42, 51, 132, 0.35), transparent 70%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
  padding-block: clamp(60px, 8.5vw, 108px);
}
.hero-est {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #99a1cd;
  letter-spacing: 0.2em;
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 20px;
  white-space: nowrap;
}
.hero-est::before, .hero-est::after {
  content: "";
  height: 1px;
  width: 46px;
  flex: none;
  background: #454f9a;
}
.hero-kicker {
  font-family: var(--font-body);
  font-size: clamp(13px, 1.5vw, 15px);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 16px;
}
.hero-headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(38px, 5.6vw, 62px);
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 14px;
  text-wrap: balance;
}
.hero-headline .hl-accent { color: var(--yellow); }
.bolt-rule { width: 210px; height: 12px; margin-bottom: 20px; color: var(--yellow); display: block; }
.hero-sub {
  font-size: clamp(16.5px, 2vw, 19px);
  color: #ccd1ea;
  max-width: 540px;
  margin-bottom: 32px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 36px; }
.hero-ctas .btn--yellow { padding: 18px 34px; font-size: 16.5px; }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  font-size: 14.5px;
  font-weight: 700;
  color: #cdd2ec;
}
.hero-trust li { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.hero-trust svg { width: 16px; height: 16px; color: var(--yellow); flex: none; }

.hero-plate { position: relative; }
.hero-plate::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  background: var(--yellow);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 76px 100%, 0 calc(100% - 76px));
  z-index: -1;
}
.hero-plate .plate-photo {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 76px 100%, 0 calc(100% - 76px));
  overflow: hidden;
}
.hero-plate .plate-photo img {
  width: 100%;
  height: clamp(400px, 40vw, 540px);
  object-fit: cover;
  object-position: 60% 55%;
}
.hero-plate .plate-badge {
  position: absolute;
  right: -14px;
  top: -22px;
  width: 96px;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.45));
}

/* ---------- Cert strip (yellow band) ---------- */
.certs {
  background: var(--yellow);
  padding-block: 22px;
  border-top: 4px solid var(--navy-950);
  border-bottom: 4px solid var(--navy-950);
}
.certs .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.cert-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 2px solid var(--navy-950);
  border-radius: 9px;
  padding: 9px 16px;
  height: 66px;
}
.cert-chip img { height: 100%; width: auto; max-width: 150px; object-fit: contain; }
.cert-chip--dark { background: #333333; }
.footer-trust .cert-chip { height: 50px; padding: 7px 12px; border-color: rgba(255, 255, 255, 0.25); }
.footer-trust .cert-chip img { max-width: 120px; }

/* ---------- Story split ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.split-media { position: relative; }
.split-media .photo-main {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  width: 100%;
  height: 520px;
  object-fit: cover;
}
.photo-badge {
  position: absolute;
  left: -18px;
  bottom: 26px;
  background: var(--navy-900);
  color: var(--white);
  border-radius: var(--radius);
  padding: 16px 22px;
  box-shadow: var(--shadow-card-hover);
  display: flex;
  align-items: center;
  gap: 14px;
}
.photo-badge .big {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 34px;
  color: var(--yellow);
  line-height: 1;
}
.photo-badge .small { font-size: 13px; font-weight: 700; max-width: 130px; line-height: 1.3; }
.split-body .section-title { margin-bottom: 18px; }
.split-body p { color: var(--muted); margin-bottom: 16px; }
.check-list { margin: 22px 0 28px; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 13px; font-weight: 600; align-items: flex-start; }
.check-list li::before {
  content: "";
  width: 13px; height: 12px;
  flex: none;
  margin-top: 7px;
  background: var(--navy);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}
.section--navy .check-list li::before, .hero .check-list li::before { background: var(--yellow); }

/* Historic inset photo (real HQ shot) */
.photo-inset {
  position: absolute;
  top: -20px;
  right: -16px;
  width: 190px;
  border: 5px solid var(--white);
  border-radius: 6px;
  box-shadow: 0 14px 30px rgba(13, 17, 48, 0.3);
  transform: rotate(3deg);
}

/* ---------- Services grid ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 44px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card-hover); }
.service-card .card-media { height: 210px; overflow: hidden; position: relative; }
.service-card .card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.service-card:hover .card-media img { transform: scale(1.05); }
.service-card .card-body { padding: 24px 26px 26px; flex: 1; display: flex; flex-direction: column; }
.service-card h3 { font-size: 22px; margin-bottom: 9px; }
.service-card p { color: var(--muted); font-size: 15.5px; flex: 1; }
.card-link {
  margin-top: 16px;
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.service-card:hover .card-link { color: var(--navy-700); gap: 11px; }
.card-link svg { width: 15px; height: 15px; transition: transform 0.2s; }

/* ---------- Stat band ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  text-align: center;
}
.stat .stat-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 5vw, 58px);
  color: var(--yellow);
  line-height: 1;
}
.stat .stat-label {
  margin-top: 8px;
  font-weight: 700;
  font-size: 14.5px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #b9bedd;
}

/* ---------- Projects ---------- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 44px;
}
.project-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
}
.project-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.35s ease;
}
.project-card:hover img { transform: scale(1.05); }
.project-card::after {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(13, 17, 48, 0.88) 0%, rgba(13, 17, 48, 0.28) 55%, rgba(13, 17, 48, 0.05) 100%);
}
.project-card .card-body { padding: 26px; color: var(--white); }
.project-card .tag {
  display: inline-block;
  background: var(--yellow);
  color: var(--navy-900);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: 6px;
  margin-bottom: 12px;
}
.project-card h3 { color: var(--white); font-size: 21px; margin-bottom: 6px; }
.project-card p { font-size: 14.5px; color: #d6d9ee; }

/* ---------- Process ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  margin-top: 44px;
  counter-reset: step;
}
.process-grid--3 { grid-template-columns: repeat(3, 1fr); }
.process-step {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow-card);
  position: relative;
}
.process-step .step-num {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--yellow);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 23px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.process-step h3 { font-size: 19.5px; margin-bottom: 8px; }
.process-step p { color: var(--muted); font-size: 15px; }

/* ---------- Leadership ---------- */
.team-list {
  margin: 26px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px 28px;
}
.team-list li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.35; }
.team-list li::before {
  content: "";
  width: 12px; height: 11px;
  flex: none;
  margin-top: 7px;
  background: var(--yellow);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}
.team-list strong { display: block; font-size: 16px; color: var(--navy-900); }
.team-list span { color: var(--muted); font-size: 13.5px; }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    linear-gradient(100deg, rgba(13, 17, 48, 0.94) 20%, rgba(42, 51, 132, 0.86) 100%),
    var(--navy-900);
  color: var(--white);
  text-align: center;
  padding-block: clamp(56px, 8vw, 88px);
}
.cta-band h2 { color: var(--white); font-size: clamp(30px, 4.4vw, 44px); margin-bottom: 14px; }
.cta-band p { color: #c9cde8; max-width: 560px; margin: 0 auto 30px; font-size: 17.5px; }
.cta-band .hero-ctas { justify-content: center; margin-bottom: 0; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 820px; margin: 44px auto 0; display: grid; gap: 14px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  padding: 20px 24px;
  font-weight: 700;
  font-size: 17px;
  color: var(--navy-900);
}
.faq-q .caret { width: 13px; height: 13px; flex: none; transition: transform 0.2s; color: var(--navy); }
.faq-item.open .faq-q .caret { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.28s ease; }
.faq-a p { padding: 0 24px 22px; color: var(--muted); }

/* ---------- Request form ---------- */
.request {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
/* Grid items default to min-width auto; unbreakable content (nowrap buttons)
   otherwise forces 1fr columns wider than the container on phones */
.request > *, .split > * { min-width: 0; }
.request-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card-hover);
  padding: clamp(26px, 4vw, 40px);
}
.request-form h3 { font-size: 24px; margin-bottom: 6px; }
.request-form .form-sub { color: var(--muted); font-size: 14.5px; margin-bottom: 22px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-weight: 700; font-size: 13.5px; color: var(--navy-900); }
.form-field input, .form-field select, .form-field textarea {
  font: inherit;
  font-size: 15px;
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  width: 100%;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(42, 51, 132, 0.14);
}
.request-form .btn { width: 100%; margin-top: 20px; }
.form-note { margin-top: 12px; font-size: 12.5px; color: var(--muted); text-align: center; }

/* ---------- Service area ---------- */
.area-cities {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}
.area-cities li {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 800px;
  padding: 9px 20px;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--navy-900);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.area-cities li:hover { border-color: var(--navy); background: var(--cream); }

/* ---------- Footer ---------- */
.footer {
  background-color: var(--navy-950);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cg fill='none' stroke='%231d2557' stroke-width='1.2'%3E%3Cpath d='M20 24h78v52h64'/%3E%3Cpath d='M226 44v76h-58'/%3E%3Cpath d='M44 218h96v-44'/%3E%3Ccircle cx='20' cy='24' r='3'/%3E%3Ccircle cx='162' cy='76' r='3'/%3E%3Ccircle cx='226' cy='44' r='3'/%3E%3Ccircle cx='44' cy='218' r='3'/%3E%3Ccircle cx='140' cy='174' r='3'/%3E%3Ccircle cx='168' cy='120' r='3'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 260px;
  color: #b9bedd;
  border-bottom: 6px solid var(--yellow);
}
.footer-cta {
  background: var(--yellow);
  border-bottom: 4px solid var(--navy-950);
  padding-block: 42px;
}
.footer-cta .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
}
.footer-cta h2 {
  color: var(--navy-950);
  font-size: clamp(26px, 3.2vw, 36px);
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-cta h2::before {
  content: "";
  width: 20px; height: 19px;
  flex: none;
  background: var(--navy-950);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}
.footer-cta .btn--navy { box-shadow: 5px 5px 0 rgba(255, 255, 255, 0.9); }
.footer-cta .btn--navy:hover { box-shadow: 8px 8px 0 rgba(255, 255, 255, 0.9); }
.footer-cta .btn--white { box-shadow: 5px 5px 0 var(--navy-950); }
.footer-cta .btn--white:hover { box-shadow: 8px 8px 0 var(--navy-950); }
.footer-trust {
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  padding-block: 26px;
}
.footer-trust .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px 42px;
  flex-wrap: wrap;
  font-size: 13.5px;
  font-weight: 700;
  color: #d6d9ee;
}
.footer-trust li { display: flex; align-items: center; gap: 9px; white-space: nowrap; }
.footer-trust svg { width: 16px; height: 16px; color: var(--yellow); flex: none; }
.footer-main { padding-block: 60px; position: relative; overflow: hidden; }
.footer-main::after {
  content: "";
  position: absolute;
  right: -90px;
  top: 50%;
  transform: translateY(-50%) rotate(-9deg);
  width: 430px; height: 430px;
  background: url("logo-badge.webp") center / contain no-repeat;
  opacity: 0.05;
  pointer-events: none;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  position: relative;
  z-index: 1;
}
.footer-brand p { font-size: 14.5px; max-width: 300px; }
.plate-line {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #99a1cd;
  letter-spacing: 0.15em;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0 0 14px;
  white-space: nowrap;
}
.plate-line::before, .plate-line::after {
  content: "";
  height: 1px;
  width: 26px;
  flex: none;
  background: #454f9a;
}
.footer h4 {
  color: var(--white);
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.footer h4::before {
  content: "";
  width: 11px; height: 10px;
  flex: none;
  background: var(--yellow);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { text-decoration: none; font-size: 14.5px; transition: color 0.15s ease, padding-left 0.15s ease; }
.footer-col a:hover { color: var(--yellow); padding-left: 5px; }
.footer-contact { display: grid; gap: 13px; font-size: 14.5px; }
.footer-contact a { color: var(--yellow); text-decoration: none; font-weight: 700; }
.footer-contact .footer-phone {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
}
.footer-area {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding-block: 24px;
  font-size: 13.5px;
}
.footer-area .container { text-align: center; }
.footer-area strong { color: #d6d9ee; }
.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding-block: 22px;
  font-size: 13px;
}
.footer-legal .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.footer-legal a { text-decoration: none; }
.footer-legal a:hover { color: var(--yellow); }

.to-top {
  position: fixed;
  right: 22px;
  bottom: 90px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--yellow);
  box-shadow: var(--shadow-card-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s;
  z-index: 55;
  text-decoration: none;
}
.to-top.show { opacity: 1; visibility: visible; }
.to-top svg { width: 18px; height: 18px; }

/* ---------- Mobile sticky CTA bar ---------- */
.mobile-bar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 65;
  background: var(--navy-950);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  gap: 10px;
  box-shadow: 0 -6px 20px rgba(13, 17, 48, 0.3);
}
.mobile-bar .btn { flex: 1; padding: 14px 10px; font-size: 14px; box-shadow: none; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1100px) {
  .nav { display: none; }
  .hamburger { display: flex; margin-left: auto; }
  .header-call { margin-left: auto; }
  .header .btn { display: none; }
  .services-grid, .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --section-pad: clamp(44px, 8vw, 64px); }
  body { padding-bottom: 74px; }
  .mobile-bar { display: flex; }
  .utility-right .utility-address { display: none; }
  .header .container { min-height: 72px; gap: 14px; }
  .brand img { height: 44px; }
  .brand .brand-word { font-size: 15px; }
  .brand .brand-word small { display: none; }
  .header-call .call-label { display: none; }
  .header-call .call-number { font-size: 20px; }
  .split, .request { grid-template-columns: 1fr; }
  .split-media .photo-main { height: 380px; }
  .hero-grid { grid-template-columns: 1fr; padding-block: 48px 64px; gap: 44px; }
  .hero-plate { margin-right: 14px; }
  .hero-plate::before { inset: 12px -12px -12px 12px; clip-path: polygon(0 0, 100% 0, 100% 100%, 52px 100%, 0 calc(100% - 52px)); }
  .hero-plate .plate-photo { clip-path: polygon(0 0, 100% 0, 100% 100%, 52px 100%, 0 calc(100% - 52px)); }
  .hero-plate .plate-photo img { height: 300px; }
  .hero-plate .plate-badge { width: 72px; top: -16px; right: -6px; }
  .hero-est { letter-spacing: 0.14em; font-size: 11.5px; }
  .hero-est::before, .hero-est::after { width: 24px; }
  .request-form .btn { white-space: normal; }
  .photo-badge { left: 12px; bottom: 14px; padding: 13px 17px; }
  .photo-badge .big { font-size: 27px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 30px 16px; }
  .hero-ctas .btn { width: 100%; }
  .hero-inner { max-width: 100%; }

  /* Odd/large grids become scroll-snap strips; scroll-padding matches gutter */
  .services-grid, .projects-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline-start: var(--gutter);
    gap: 16px;
    margin-inline: calc(-1 * var(--gutter));
    padding-inline: var(--gutter);
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
  }
  .services-grid > *, .projects-grid > * {
    flex: 0 0 82%;
    max-width: 340px;
    scroll-snap-align: start;
  }
  .process-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-cta .container { flex-direction: column; text-align: center; }
  .to-top { bottom: 86px; }
}

@media (max-width: 480px) {
  .utility .container { justify-content: center; }
  .utility-left { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .certs .container { justify-content: flex-start; }
  .brand .brand-word { display: none; }
  .footer-main::after { width: 300px; right: -110px; }
}
