/* =================================================================
   Legacy Low Voltage — styles.css
   Powering Networks. Elevating Spaces.
   Palette derived from company logo: navy + cyan + silver
   ================================================================= */

/* ---------- Design tokens ---------- */
:root {
  --navy-900: #081d38;
  --navy-800: #0c2a4e;
  --navy-700: #123b68;
  --navy-600: #1b4c82;
  --ink: #0b1220;
  --ink-soft: #101a2c;

  --cyan-500: #17a9dc;
  --cyan-400: #34c6f4;
  --cyan-300: #6fdcff;
  --cyan-glow: rgba(23, 169, 220, 0.45);

  --silver-400: #9aa3ad;
  --silver-300: #c3cbd4;
  --silver-200: #dde3ea;

  --paper: #f4f7fb;
  --paper-2: #e9eff6;
  --white: #ffffff;

  --text-dark: #1b2735;
  --text-mid: #4a5766;
  --text-light: #d5dee9;
  --text-onnavy: rgba(255, 255, 255, 0.82);

  --ok: #2ecc71;

  --container: 1200px;
  --container-wide: 1360px;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 2px 10px rgba(11, 18, 32, 0.08);
  --shadow-md: 0 14px 40px rgba(11, 18, 32, 0.12);
  --shadow-lg: 0 30px 70px rgba(8, 29, 56, 0.28);
  --shadow-cyan: 0 18px 50px rgba(23, 169, 220, 0.35);

  --font-head: "Space Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 84px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.65;
  font-size: 1.02rem;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--cyan-500); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--navy-700); }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.12; color: var(--navy-800); letter-spacing: -0.02em; }
strong { font-weight: 600; color: var(--navy-800); }

/* ---------- Utilities ---------- */
.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.container-wide { width: min(100% - 2.5rem, var(--container-wide)); margin-inline: auto; }
.section { padding: clamp(3.75rem, 8vw, 7rem) 0; }
.section--tight { padding: clamp(3rem, 6vw, 5rem) 0; }
.section--paper { background: var(--paper); }
.section--paper2 { background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%); }
.section--dark {
  background: radial-gradient(1200px 600px at 15% -10%, var(--navy-700) 0%, transparent 60%),
              radial-gradient(900px 500px at 100% 120%, var(--navy-600) 0%, transparent 55%),
              var(--ink);
  color: var(--text-light);
}
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }
.section--dark strong,
.hero strong,
.page-hero strong,
.cta-band strong { color: var(--white); }

.skip-link {
  position: absolute; left: 1rem; top: -60px; z-index: 2000;
  background: var(--navy-800); color: #fff; padding: 0.7rem 1.1rem;
  border-radius: var(--radius-sm); transition: top 0.2s ease;
}
.skip-link:focus { top: 1rem; color: #fff; }

:focus-visible { outline: 3px solid var(--cyan-400); outline-offset: 3px; border-radius: 4px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-head); font-weight: 600;
  font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--cyan-500);
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--cyan-500); display: inline-block;
}
.section--dark .eyebrow { color: var(--cyan-300); }
.section--dark .eyebrow::before { background: var(--cyan-300); }

.section-head { max-width: 640px; margin-bottom: clamp(2.25rem, 4vw, 3.25rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); margin: 0.9rem 0 0.75rem; }
.section-head p { color: var(--text-mid); font-size: 1.06rem; }
.section--dark .section-head p { color: var(--text-onnavy); }

.lede { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--text-mid); }
.section--dark .lede { color: var(--text-onnavy); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--cyan-500);
  --btn-fg: #04121d;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  font-family: var(--font-head); font-weight: 600; font-size: 0.98rem; letter-spacing: 0.01em;
  color: var(--btn-fg); background: var(--btn-bg);
  border-radius: 999px; border: 2px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s ease, color 0.25s ease;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-cyan); color: var(--btn-fg); }
.btn:active { transform: translateY(-1px); }
.btn--lg { padding: 1.1rem 2rem; font-size: 1.05rem; }
.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--navy-800);
  border-color: var(--silver-300);
}
.btn--ghost:hover { --btn-fg: var(--navy-800); border-color: var(--navy-800); box-shadow: var(--shadow-sm); background: var(--white); }
.btn--ondark {
  --btn-bg: transparent; --btn-fg: #fff; border-color: rgba(255,255,255,0.4);
}
.btn--ondark:hover { --btn-fg: #04121d; --btn-bg: #fff; border-color: #fff; box-shadow: 0 18px 50px rgba(0,0,0,0.35); }
.btn--navy { --btn-bg: var(--navy-800); --btn-fg: #fff; }
.btn--navy:hover { --btn-fg: #fff; box-shadow: var(--shadow-md); }

.text-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-head); font-weight: 600; color: var(--navy-700);
}
.text-link svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.text-link:hover { color: var(--cyan-500); }
.text-link:hover svg { transform: translateX(5px); }
.section--dark .text-link { color: var(--cyan-300); }

/* ---------- Affiliate top bar ---------- */
.topbar {
  background: var(--navy-900);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
}
.topbar__inner {
  display: flex; align-items: center; justify-content: center; gap: 0.45rem;
  min-height: 36px; padding: 0.3rem 0.5rem;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap; overflow: hidden;
}
.topbar__label { color: rgba(255, 255, 255, 0.5); }
.topbar a {
  color: #fff; font-family: var(--font-head); font-weight: 600;
  display: inline-flex; align-items: center;
  min-width: 0; overflow: hidden; text-overflow: ellipsis;
}
.topbar a:hover { color: var(--cyan-300); }
.topbar svg { width: 13px; height: 13px; flex-shrink: 0; margin-left: 0.35rem; }
@media (max-width: 640px) {
  .topbar { font-size: 0.74rem; }
  .topbar__detail { display: none; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid var(--silver-200);
  transition: box-shadow 0.3s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
:where(section, div, h2, h3)[id] { scroll-margin-top: 100px; }
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  height: var(--header-h);
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 46px; width: auto; }
.brand:hover { opacity: 0.9; }

.primary-nav { display: flex; align-items: center; }
.nav-list { display: flex; align-items: center; gap: 0.35rem; }
.nav-list > li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.6rem 0.9rem; border-radius: 999px;
  font-family: var(--font-head); font-weight: 500; font-size: 0.96rem;
  color: var(--navy-800);
}
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--cyan-500); background: var(--paper); }
.nav-link[aria-current="page"] { font-weight: 600; }
.nav-link svg { width: 14px; height: 14px; transition: transform 0.25s ease; }
.has-dropdown[aria-expanded="true"] .nav-link svg,
.has-dropdown:hover .nav-link svg { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(10px);
  min-width: 290px; background: var(--white);
  border: 1px solid var(--silver-200); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 0.6rem;
  opacity: 0; visibility: hidden; transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
}
.has-dropdown:hover .dropdown,
.has-dropdown[aria-expanded="true"] .dropdown {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.dropdown a {
  display: flex; flex-direction: column; gap: 0.15rem;
  padding: 0.7rem 0.85rem; border-radius: var(--radius-sm);
  color: var(--navy-800);
}
.dropdown a span { font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; }
.dropdown a small { color: var(--text-mid); font-size: 0.82rem; font-weight: 400; line-height: 1.4; }
.dropdown a:hover { background: var(--paper); color: var(--cyan-500); }
.dropdown a:hover small { color: var(--text-mid); }

.header-cta { display: flex; align-items: center; gap: 0.7rem; flex-shrink: 0; }
.header-cta .btn { padding: 0.72rem 1.2rem; font-size: 0.9rem; }
.nav-mobile-cta { display: none; }


.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: var(--radius-sm);
  background: var(--paper); position: relative; flex-shrink: 0;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 50%; width: 20px; height: 2px;
  background: var(--navy-800); border-radius: 2px; transform: translateX(-50%);
  transition: transform 0.3s var(--ease), opacity 0.2s ease;
}
.nav-toggle span { top: 50%; margin-top: -1px; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: translateX(-50%) translateY(6px) rotate(45deg); }
body.nav-open .nav-toggle span::after { transform: translateX(-50%) translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; padding-top: clamp(3rem, 7vw, 5.5rem);
  padding-bottom: clamp(3.5rem, 9vw, 7rem);
  background: var(--navy-900); color: #fff; overflow: hidden;
}
.hero > .container { position: relative; z-index: 4; }
.hero__bg { position: absolute; inset: 0; z-index: 1; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 26s ease-out both; }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__bg::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(115deg, rgba(8,29,56,0.94) 0%, rgba(8,29,56,0.78) 42%, rgba(11,18,32,0.55) 100%);
}
.hero__grid {
  position: absolute; inset: 0; z-index: 3; opacity: 0.4;
  background-image: linear-gradient(rgba(23,169,220,0.12) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(23,169,220,0.12) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(70% 60% at 30% 40%, #000 0%, transparent 75%);
  mask-image: radial-gradient(70% 60% at 30% 40%, #000 0%, transparent 75%);
}
.hero__lines { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; pointer-events: none; }
.hero__lines path { fill: none; stroke: var(--cyan-400); stroke-width: 1.5; opacity: 0.35;
  stroke-dasharray: 5 9; animation: dash 60s linear infinite; }
.hero__lines path:nth-child(2) { opacity: 0.24; animation-duration: 90s; }
.hero__lines path:nth-child(3) { opacity: 0.28; animation-duration: 75s; }
.hero__lines circle { fill: var(--cyan-300); opacity: 0.85; transform-box: fill-box; transform-origin: center;
  animation: nodepulse 3s ease-in-out infinite; }
.hero__lines circle:nth-child(6) { animation-delay: 0.8s; }
.hero__lines circle:nth-child(7) { animation-delay: 1.6s; }
@keyframes dash { to { stroke-dashoffset: -280; } }
@keyframes nodepulse { 0%, 100% { opacity: 0.4; transform: scale(0.85); } 50% { opacity: 1; transform: scale(1.2); } }
@media (prefers-reduced-motion: reduce) {
  .hero__lines path, .hero__lines circle, .hero__bg img { animation: none; }
}

.hero__inner { max-width: 760px; position: relative; }
.hero .eyebrow { color: var(--cyan-300); }
.hero .eyebrow::before { background: var(--cyan-300); }
.hero h1 {
  color: #fff; font-size: clamp(2.4rem, 6vw, 4.15rem); margin: 1.1rem 0 1.2rem;
  letter-spacing: -0.03em;
}
.hero h1 .accent {
  background: linear-gradient(120deg, var(--cyan-300), var(--cyan-500));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lede { color: rgba(255,255,255,0.9); max-width: 620px; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 2.1rem; }
.hero__license {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 1.1rem 1.9rem;
  font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; letter-spacing: 0.01em;
  color: #fff; background: rgba(255, 255, 255, 0.06); text-decoration: none;
  border: 2px solid rgba(255, 255, 255, 0.4); border-radius: 999px;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s ease, border-color 0.25s ease;
}
a.hero__license:hover {
  color: #fff; transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.12); border-color: #fff;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}
.hero__license svg { width: 18px; height: 18px; color: var(--cyan-300); flex-shrink: 0; }
.hero__meta {
  display: flex; flex-wrap: wrap; gap: 1.5rem 2.4rem; margin-top: 2.75rem;
  padding-top: 1.9rem; border-top: 1px solid rgba(255,255,255,0.14);
}
.hero__meta div { display: flex; flex-direction: column; }
.hero__meta strong { font-family: var(--font-head); font-size: 1.5rem; color: #fff; }
.hero__meta span { font-size: 0.85rem; color: rgba(255,255,255,0.65); letter-spacing: 0.02em; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 1.5rem; transform: translateX(-50%); z-index: 4;
  display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.5);
}
.scroll-cue span {
  width: 22px; height: 34px; border: 2px solid rgba(255,255,255,0.3); border-radius: 12px; position: relative;
}
.scroll-cue span::after {
  content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px;
  background: var(--cyan-300); border-radius: 2px; transform: translateX(-50%);
  animation: scrolldot 1.8s var(--ease) infinite;
}
@keyframes scrolldot { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 80% { opacity: 0; transform: translate(-50%, 11px); } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .scroll-cue span::after { animation: none; } }

/* ---------- Trust bar ---------- */
.trust-bar { background: var(--navy-800); color: #fff; position: relative; }
.trust-bar__inner {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: rgba(255,255,255,0.1);
}
.trust-bar__item {
  background: var(--navy-800); padding: 1.4rem 1.5rem;
  display: flex; align-items: center; gap: 0.85rem;
  font-family: var(--font-head); font-weight: 500; font-size: 0.92rem; color: rgba(255,255,255,0.9);
}
.trust-bar__item svg { width: 26px; height: 26px; color: var(--cyan-400); flex-shrink: 0; }

/* ---------- Feature / split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; }
.split__media .badge {
  position: absolute; bottom: -22px; right: -18px;
  background: var(--cyan-500); color: #04121d;
  font-family: var(--font-head); font-weight: 700; padding: 1rem 1.35rem;
  border-radius: var(--radius); box-shadow: var(--shadow-cyan); line-height: 1.1;
}
.split__media .badge span { display: block; font-size: 1.7rem; }
.split__media .badge small { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; }
.split__body h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); margin-bottom: 1.1rem; }
.split__body > p { color: var(--text-mid); margin-bottom: 1.1rem; }
.section--dark .split__body > p { color: var(--text-onnavy); }

.check-list { display: grid; gap: 0.85rem; margin: 1.5rem 0; }
.check-list li { display: flex; gap: 0.8rem; align-items: flex-start; }
.check-list svg { width: 22px; height: 22px; color: var(--cyan-500); flex-shrink: 0; margin-top: 2px; }
.section--dark .check-list svg { color: var(--cyan-300); }

/* ---------- Service cards ---------- */
.card-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }

.svc-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--silver-200); border-radius: var(--radius-lg);
  overflow: hidden; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s ease;
}
.svc-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.svc-card__media { aspect-ratio: 4 / 3; overflow: hidden; }
.svc-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.svc-card:hover .svc-card__media img { transform: scale(1.06); }
.svc-card__body { padding: 1.5rem 1.5rem 1.65rem; display: flex; flex-direction: column; flex: 1; }
.svc-card__icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
  color: var(--cyan-300); margin: -3.4rem 0 1rem; position: relative; z-index: 2;
  box-shadow: var(--shadow-md); border: 2px solid var(--white);
}
.svc-card__icon svg { width: 24px; height: 24px; }
.svc-card h3 { font-size: 1.24rem; margin-bottom: 0.5rem; }
.svc-card p { color: var(--text-mid); font-size: 0.95rem; margin-bottom: 1.1rem; flex: 1; }
.svc-card .text-link { margin-top: auto; }

/* icon tile (no image) */
.mini-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.mini-card {
  background: var(--white); border: 1px solid var(--silver-200); border-radius: var(--radius);
  padding: 1.6rem; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.section--dark .mini-card { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.1); }
.mini-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.mini-card__icon {
  width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(23,169,220,0.12); color: var(--cyan-500); margin-bottom: 1rem;
}
.mini-card__icon svg { width: 22px; height: 22px; }
.section--dark .mini-card__icon { background: rgba(23,169,220,0.16); color: var(--cyan-300); }
.mini-card h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.mini-card p { color: var(--text-mid); font-size: 0.92rem; }
.section--dark .mini-card p { color: var(--text-onnavy); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1.5rem; }
.stat {
  text-align: center; padding: 2rem 1rem;
  border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.03);
}
.stat__num {
  font-family: var(--font-head); font-weight: 700; font-size: clamp(2.1rem, 4vw, 3rem);
  color: #fff; line-height: 1; display: flex; justify-content: center; align-items: baseline; gap: 0.1rem;
}
.stat__num .suffix { color: var(--cyan-300); }
.stat__label { margin-top: 0.6rem; font-size: 0.9rem; color: rgba(255,255,255,0.7); letter-spacing: 0.02em; }

/* ---------- Callout ---------- */
.callout {
  display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; align-items: center;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
  color: #fff; border-radius: var(--radius-lg); padding: clamp(1.75rem, 4vw, 2.75rem);
  box-shadow: var(--shadow-lg);
}
.callout__stat { font-family: var(--font-head); font-weight: 700; font-size: clamp(2.6rem, 7vw, 4.5rem); color: var(--cyan-300); line-height: 0.9; }
.callout p { color: rgba(255,255,255,0.9); }
.callout strong { color: #fff; }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; }
.process__step { position: relative; padding-top: 2.5rem; }
.process__step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: 0; left: 0;
  font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; color: var(--cyan-500);
}
.process__step::after {
  content: ""; position: absolute; top: 0.55rem; left: 3.2rem; right: -0.75rem; height: 2px;
  background: repeating-linear-gradient(90deg, var(--silver-300) 0 6px, transparent 6px 12px);
}
.process__step:last-child::after { display: none; }
.section--dark .process__step::after { background: repeating-linear-gradient(90deg, rgba(255,255,255,0.25) 0 6px, transparent 6px 12px); }
.process__step h3 { font-size: 1.15rem; margin-bottom: 0.45rem; }
.process__step p { color: var(--text-mid); font-size: 0.93rem; }
.section--dark .process__step p { color: var(--text-onnavy); }

/* ---------- Industry strip ---------- */
.industry-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1.25rem; }
.industry-card {
  position: relative; border-radius: var(--radius); overflow: hidden; min-height: 240px;
  display: flex; align-items: flex-end; color: #fff;
}
.industry-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transition: transform 0.6s var(--ease); }
.industry-card::after { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(8,29,56,0.05) 0%, rgba(8,29,56,0.88) 92%); }
.industry-card:hover img { transform: scale(1.07); }
.industry-card__body { padding: 1.35rem; position: relative; z-index: 2; }
.industry-card h3 { color: #fff; font-size: 1.16rem; }
.industry-card p { font-size: 0.86rem; color: rgba(255,255,255,0.8); margin-top: 0.2rem; }

/* ---------- Page hero (interior) ---------- */
.page-hero {
  position: relative; padding: clamp(2.75rem, 6vw, 4.25rem) 0 clamp(2.75rem, 6vw, 4.25rem);
  background: var(--navy-900); color: #fff; overflow: hidden;
}
.page-hero > .container { position: relative; z-index: 3; }
.page-hero__bg { position: absolute; inset: 0; z-index: 1; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__bg::after { content: ""; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(115deg, rgba(8,29,56,0.95) 0%, rgba(8,29,56,0.8) 55%, rgba(11,18,32,0.6) 100%); }
.page-hero.no-img { background: radial-gradient(1000px 500px at 12% -20%, var(--navy-700), transparent 60%), var(--navy-900); }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.8vw, 3.4rem); margin: 0.9rem 0 0.85rem; max-width: 18ch; }
.page-hero p { color: rgba(255,255,255,0.85); max-width: 60ch; font-size: 1.08rem; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 0.5rem; font-size: 0.85rem; color: rgba(255,255,255,0.6); }
.breadcrumb a { color: rgba(255,255,255,0.75); }
.breadcrumb a:hover { color: var(--cyan-300); }
.breadcrumb li::after { content: "/"; margin-left: 0.5rem; opacity: 0.5; }
.breadcrumb li:last-child::after { content: ""; }

/* ---------- Prose ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.55rem, 2.8vw, 2.05rem); margin: 2.4rem 0 0.9rem; }
.prose h3 { font-size: 1.25rem; margin: 1.8rem 0 0.6rem; }
.prose p { margin-bottom: 1.1rem; color: var(--text-mid); }
.prose ul { margin: 0 0 1.3rem; display: grid; gap: 0.6rem; }
.prose ul li { position: relative; padding-left: 1.6rem; color: var(--text-mid); }
.prose ul li::before {
  content: ""; position: absolute; left: 0; top: 0.55em; width: 8px; height: 8px;
  background: var(--cyan-500); border-radius: 2px; transform: rotate(45deg);
}
.prose strong { color: var(--navy-800); }

/* ---------- Spec columns (service pages) ---------- */
.spec-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; }
.spec-col { background: var(--white); border: 1px solid var(--silver-200); border-radius: var(--radius); padding: 1.6rem; }
.spec-col h3 { font-size: 1.08rem; margin-bottom: 0.9rem; display: flex; align-items: center; gap: 0.6rem; }
.spec-col h3 svg { width: 20px; height: 20px; color: var(--cyan-500); }
.spec-col ul { display: grid; gap: 0.55rem; }
.spec-col li { position: relative; padding-left: 1.4rem; font-size: 0.93rem; color: var(--text-mid); }
.spec-col li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 7px; height: 7px; background: var(--cyan-500); border-radius: 2px; transform: rotate(45deg); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--silver-200); }
.faq__q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.3rem 0; text-align: left;
  font-family: var(--font-head); font-weight: 600; font-size: 1.06rem; color: var(--navy-800);
}
.faq__q svg { width: 22px; height: 22px; color: var(--cyan-500); flex-shrink: 0; transition: transform 0.3s var(--ease); }
.faq__item.is-open .faq__q svg { transform: rotate(45deg); }
.faq__a { overflow: hidden; max-height: 0; transition: max-height 0.35s var(--ease); }
.faq__a p { padding: 0 0 1.3rem; color: var(--text-mid); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; color: #fff; text-align: center; background: var(--navy-900); }
.cta-band__bg { position: absolute; inset: 0; z-index: 1; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band__bg::after { content: ""; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(120deg, rgba(8,29,56,0.93), rgba(18,59,104,0.82)); }
.cta-band .container { position: relative; z-index: 3; }
.cta-band h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: 1rem; max-width: 22ch; margin-inline: auto; }
.cta-band p { color: rgba(255,255,255,0.88); max-width: 60ch; margin: 0 auto 2rem; font-size: 1.08rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.form-card {
  background: var(--white); border: 1px solid var(--silver-200); border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 4vw, 2.5rem); box-shadow: var(--shadow-md);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { margin-bottom: 1.1rem; display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-family: var(--font-head); font-weight: 600; font-size: 0.88rem; color: var(--navy-800); }
.field label .req { color: var(--cyan-500); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 0.98rem; color: var(--text-dark);
  padding: 0.85rem 1rem; border: 1.5px solid var(--silver-300); border-radius: var(--radius-sm);
  background: var(--paper); transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--cyan-500); background: var(--white);
  box-shadow: 0 0 0 4px rgba(23,169,220,0.15);
}
.form-note { font-size: 0.82rem; color: var(--text-mid); margin-top: 0.5rem; }
.form-note a { font-weight: 600; }
.form-note svg { width: 13px; height: 13px; vertical-align: -2px; display: inline; }
.form-success {
  display: none; align-items: flex-start; gap: 0.8rem; padding: 1rem 1.2rem;
  background: rgba(46,204,113,0.12); border: 1px solid rgba(46,204,113,0.4);
  border-radius: var(--radius-sm); color: #1e7e4b; margin-bottom: 1.2rem; font-size: 0.95rem;
}
.form-success svg { width: 22px; height: 22px; flex-shrink: 0; }
.form-success.is-visible { display: flex; }

.contact-aside { display: grid; gap: 1.1rem; }
.contact-item {
  display: flex; gap: 1rem; padding: 1.25rem; background: var(--white);
  border: 1px solid var(--silver-200); border-radius: var(--radius);
}
.contact-item svg { width: 24px; height: 24px; color: var(--cyan-500); flex-shrink: 0; }
.contact-item h3 { font-size: 1rem; margin-bottom: 0.15rem; }
.contact-item p, .contact-item a { color: var(--text-mid); font-size: 0.95rem; }
.contact-item a:hover { color: var(--cyan-500); }
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--silver-200); }
.map-embed iframe { display: block; width: 100%; height: 260px; border: 0; filter: grayscale(0.2); }

/* ---------- Footer ---------- */
.site-footer {
  background: radial-gradient(900px 400px at 90% 0%, var(--navy-700) 0%, transparent 55%), var(--navy-900);
  color: rgba(255,255,255,0.72); padding: clamp(3rem, 6vw, 4.5rem) 0 2rem;
}
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.footer-brand img { height: 48px; margin-bottom: 1.1rem; }
.footer-brand p { font-size: 0.92rem; max-width: 32ch; margin-bottom: 1.2rem; }
.footer-social { display: flex; gap: 0.6rem; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(255,255,255,0.06); color: #fff; transition: background 0.25s ease, transform 0.25s ease;
}
.footer-social a:hover { background: var(--cyan-500); color: #04121d; transform: translateY(-3px); }
.footer-social svg { width: 18px; height: 18px; }
.site-footer h4 {
  color: #fff; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.footer-links { display: grid; gap: 0.6rem; }
.footer-links a { color: rgba(255,255,255,0.72); font-size: 0.93rem; }
.footer-links a:hover { color: var(--cyan-300); padding-left: 4px; }
.footer-contact { display: grid; gap: 0.75rem; font-size: 0.93rem; }
.footer-contact div { display: flex; gap: 0.6rem; align-items: flex-start; }
.footer-contact svg { width: 17px; height: 17px; color: var(--cyan-400); flex-shrink: 0; margin-top: 3px; }
.footer-contact a { color: rgba(255,255,255,0.8); }
.footer-contact a:hover { color: var(--cyan-300); }
.footer-bottom {
  margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  font-size: 0.82rem; color: rgba(255,255,255,0.55);
}
.footer-bottom a { color: rgba(255,255,255,0.65); }
.footer-bottom a:hover { color: var(--cyan-300); }
.footer-badges { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.footer-badges span, .footer-badges a { display: inline-flex; align-items: center; gap: 0.4rem; }
.footer-badges a { color: inherit; text-decoration: none; }
.footer-badges a:hover { color: var(--cyan-300); }
.footer-badges a:hover svg { color: var(--cyan-300); }
.footer-badges svg { width: 15px; height: 15px; color: var(--cyan-400); }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 900;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--navy-800); color: #fff; display: grid; place-items: center;
  box-shadow: var(--shadow-md); opacity: 0; visibility: hidden;
  transform: translateY(12px); transition: all 0.3s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--cyan-500); color: #04121d; }
.to-top svg { width: 20px; height: 20px; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .process__step:nth-child(2)::after { display: none; }
  .trust-bar__inner { grid-template-columns: repeat(2, 1fr); }
  .card-grid--3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  :root { --header-h: 74px; }
  .header-cta { display: none; }
  .nav-toggle { display: block; }
  .primary-nav {
    position: fixed; top: var(--header-h); right: 0; bottom: auto; left: auto;
    width: min(360px, 88vw);
    height: auto; max-height: calc(100dvh - var(--header-h) - 0.75rem);
    background: var(--white); flex-direction: column; align-items: stretch;
    padding: 1.25rem 1.25rem 1.5rem; overflow-y: auto;
    transform: translateX(100%); transition: transform 0.35s var(--ease);
    box-shadow: -12px 18px 48px rgba(8,29,56,0.22);
    border-left: 1px solid var(--silver-200);
    border-bottom-left-radius: var(--radius);
  }
  body.nav-open .primary-nav { transform: translateX(0); }
  body.nav-open { overflow: hidden; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0.15rem; width: 100%; }
  .nav-link { padding: 0.9rem 0.75rem; font-size: 1.05rem; justify-content: space-between; border-radius: var(--radius-sm); }
  .dropdown {
    position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none;
    border: none; min-width: 0; padding: 0 0 0.5rem 0.75rem;
    max-height: 0; overflow: hidden; transition: max-height 0.3s var(--ease);
  }
  .has-dropdown:hover .dropdown,
  .has-dropdown[aria-expanded="true"] .dropdown { transform: none; left: auto; }
  .has-dropdown[aria-expanded="true"] .dropdown { max-height: 500px; }
  .dropdown a { padding: 0.6rem 0.75rem; }
  .dropdown a small { display: none; }
  .primary-nav .btn { margin-top: 1rem; width: 100%; }
  .nav-mobile-cta { display: grid; gap: 0.7rem; margin-top: 1.25rem; }
}

@media (max-width: 780px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .split__media .badge { right: 1rem; bottom: -20px; }
  .contact-grid { grid-template-columns: 1fr; }
  .callout { grid-template-columns: 1fr; text-align: left; }
  .hero__actions .btn, .cta-band__actions .btn { flex: 1 1 auto; }
  .hero__license { flex: 1 1 100%; }
}

@media (max-width: 560px) {
  .container, .container-wide { width: min(100% - 2rem, var(--container)); }
  .stats { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .process__step::after { display: none; }
  .trust-bar__inner { grid-template-columns: 1fr; }
  .card-grid--3 { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero__meta { gap: 1.2rem 1.8rem; }
  .footer-bottom { flex-direction: column; }
}
