/* ==========================================================================
   Hyötysähkö: styles
   Tokens -> base -> layout -> components -> sections -> motion
   ========================================================================== */

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-400-latin-ext.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-400-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-500-latin-ext.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-500-latin.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-600-latin-ext.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-600-latin.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-700-latin-ext.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-700-latin.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Brand */
  --navy-950: #070C1B;
  --navy-900: #090F22;
  --navy-800: #111B32;
  --navy-700: #1B2743;
  --navy-600: #2A3857;
  --blue: #19A9F5;
  --royal: #3E63D7;
  --violet: #733DB9;
  --white: #FFFFFF;

  /* Neutrals (cool, tinted toward navy) */
  /* No light surfaces: the former steel/ink roles are mapped onto navy tones. */
  --steel-50: #111B32;
  --steel-100: #1B2743;
  --steel-200: #2A3857;
  --ink: #F4F6F9;
  --ink-2: #AEB8CB;        /* 9.6:1 on navy-900, 8.6:1 on navy-800 */
  --muted: #8793A7;        /* dark surfaces only */
  --on-dark: #F4F6F9;
  --on-dark-2: #AEB8CB;    /* 9.6:1 on navy-900 */
  --line-dark: rgba(174, 184, 203, 0.18);
  --line-light: rgba(174, 184, 203, 0.18);
  --error-light: #FF8A80;
  --error-dark: #FF8A80;
  --success: #3FD08F;

  /* The one brand gradient. Text-bearing surfaces start at royal for contrast. */
  --grad: linear-gradient(90deg, #19A9F5 0%, #3E63D7 55%, #733DB9 100%);
  /* CTA fill: electric blue into violet. The blue holds the left edge, then reaches royal early so
     white label text keeps a 4.5:1 ratio across the whole label area. */
  --grad-btn: linear-gradient(90deg, #0C97E0 0%, #3E63D7 26%, #6B3DB8 100%);

  /* Type */
  --font: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-body: 1rem;                                          /* 16px */
  --fs-small: 0.9375rem;
  --fs-label: 0.8125rem;
  --fs-h4: clamp(1.125rem, 1.05rem + 0.3vw, 1.25rem);       /* 18 -> 20px */
  --fs-h3: clamp(1.375rem, 1.05rem + 1.4vw, 2.25rem);       /* 22 -> 36px */
  --fs-h2: clamp(1.5625rem, 1.15rem + 1.9vw, 2.625rem);     /* 25 -> 42px */
  --fs-h1: clamp(2rem, 1.35rem + 2.9vw, 3.75rem);           /* 32 -> 60px */

  /* Space + shape */
  --gutter: clamp(16px, 4vw, 48px);
  --container: 1320px;
  --section-y: clamp(80px, 10vw, 152px);
  --radius: 4px;
  --header-h: 92px;   /* 12px offset + 72px floating bar + 8px breathing room */

  /* Motion */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--navy-900);
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

[hidden] { display: none !important; }
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
address { font-style: normal; }

::selection { background: var(--royal); color: var(--white); }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 2px;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--royal);
  color: var(--white);
  font-weight: 600;
  border-radius: var(--radius);
  transform: translateY(-160%);
  transition: transform 200ms var(--ease-out);
}
.skip-link:focus { transform: none; }

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: currentColor;
}

/* ---------- Type ---------- */
/* Poppins runs wider than the old face: let long Finnish compounds break rather than overflow. */
h1, h2, h3, h4, .h2, .h3, .hero__title, .svc-detail__title, .why__point-title, .step__title { overflow-wrap: break-word; }
.svc-detail > * { min-width: 0; }

.h2, .h3, .hero__title {
  font-weight: 600;
  letter-spacing: -0.022em;
  text-wrap: balance;
}
.h2 { font-size: var(--fs-h2); line-height: 1.06; }
.h3 { font-size: var(--fs-h3); line-height: 1.18; letter-spacing: -0.015em; }

/* Expanded uppercase: the logo wordmark's voice, used for short labels only */
.label {
  font-size: var(--fs-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1.3;
}

p { text-wrap: pretty; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); position: relative; }
.section--steel { background: var(--navy-900); color: var(--on-dark); }
.section--dusk { background: var(--navy-800); color: var(--on-dark); }
.section--midnight { background: var(--navy-900); color: var(--on-dark); }

.section-head { max-width: 46rem; }
.section-head__lead {
  margin-top: 20px;
  font-size: 1.1875rem;
  color: var(--ink-2);
  max-width: 40rem;
}

/* ---------- Buttons & links ---------- */
.btn {
  --btn-h: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--btn-h);
  padding: 0 24px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  letter-spacing: 0.005em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  touch-action: manipulation;
  transition:
    transform 160ms var(--ease-out),
    background-position 600ms var(--ease-out),
    background-color 200ms ease,
    border-color 200ms ease,
    color 200ms ease;
}
.btn:active { transform: scale(0.97); }
.btn .icon { width: 18px; height: 18px; transition: transform 240ms var(--ease-out); }

.btn--primary {
  color: var(--white);
  background-image: var(--grad-btn);
  /* The 1px transparent border makes the default padding-box origin repeat the gradient
     into the border area: blue leaks onto the right edge, violet onto the left. */
  background-origin: border-box;
  background-repeat: no-repeat;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.16) inset, 0 8px 24px -12px rgba(62, 99, 215, 0.7);
  transition: transform 160ms var(--ease-out), box-shadow 300ms var(--ease-out), filter 300ms var(--ease-out);
}
.btn--ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(9, 15, 34, 0.18);
}
.btn--sm { --btn-h: 44px; padding: 0 18px; font-size: 0.9375rem; }
.btn--block { width: 100%; }

@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { filter: brightness(1.08); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 12px 30px -12px rgba(25, 169, 245, 0.65); }
  .btn:hover .icon { transform: translateX(3px); }
  .btn--ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); }
}

/* The current line: brand gradient as a conductor, not decoration on every surface */
.current {
  display: block;
  height: 2px;
  background: var(--grad);
  transform-origin: left center;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding: 12px var(--gutter) 0;
  color: var(--white);
  pointer-events: none;
}
/* The whole header is one floating glass capsule: logo, links, phone and CTA together. */
.site-header .site-header__bar {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: var(--container);
  height: 72px;
  padding: 0 10px 0 24px;
  border-radius: 999px;
  position: relative;
  isolation: isolate;
}
/* Glass lives on a pseudo-layer: backdrop-filter on the bar itself would become the
   containing block for the fixed mobile menu and trap it inside the capsule. */
.site-header .site-header__bar::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: rgba(9, 15, 34, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 16px 40px -20px rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  transition: background-color 300ms ease;
}
.site-header.is-solid .site-header__bar::before,
.menu-open .site-header .site-header__bar::before { background: rgba(9, 15, 34, 0.86); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header .site-header__bar::before { background: rgba(9, 15, 34, 0.94); }
}
@media (prefers-reduced-transparency: reduce) {
  .site-header .site-header__bar::before { background: rgba(9, 15, 34, 0.96); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
.site-header .btn { border-radius: 999px; }
.brand { display: inline-flex; align-items: center; flex: none; min-height: 44px; }
.site-header__actions { margin-left: auto; }
.brand img { width: auto; height: 44px; }

.nav__list { display: flex; gap: 2px; }
/* Desktop: the links sit together in one frosted glass capsule. */
@media (min-width: 1100px) {
  .nav { margin-inline: auto; }
  .site-header .nav__list a { border-radius: 999px; transition: color 200ms ease, background-color 200ms ease; }
  .site-header .nav__list a:hover { background: rgba(255, 255, 255, 0.08); }
  .site-header .nav__list a[aria-current="true"] { background: rgba(255, 255, 255, 0.1); }
  .site-header .nav__list a::after { left: 16px; right: 16px; bottom: 7px; }
}

.nav__list a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  transition: color 200ms ease;
}
.nav__list a::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: 8px;
  height: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms var(--ease-out);
}
.nav__list a:hover, .nav__list a[aria-current="true"] { color: var(--white); }
.nav__list a[aria-current="true"]::after { transform: scaleX(1); }
.nav__mobile-contact { display: none; }

.site-header__actions { display: flex; align-items: center; gap: 12px; }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  min-width: 44px;
  justify-content: center;
  padding: 0 4px;
  font-weight: 500;
  font-size: 0.9375rem;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  color: var(--white);
  white-space: nowrap;
}
.header-phone .icon { width: 18px; height: 18px; color: var(--blue); }
.header-phone__sr { display: none; }

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  margin-right: -8px;
  border: 0;
  background: none;
  color: var(--white);
  cursor: pointer;
  border-radius: var(--radius);
}
.menu-toggle .icon { width: 26px; height: 26px; }
.menu-toggle .icon--close { display: none; }
.menu-open .menu-toggle .icon--open { display: none; }
.menu-open .menu-toggle .icon--close { display: block; }

@media (max-width: 1279px) {
  .header-phone__num { display: none; }
  .header-phone__sr { display: inline; }
  .brand img { height: 38px; }
  .nav__list a { padding: 0 10px; }
}

@media (max-width: 1099px) {
  .menu-toggle { display: inline-flex; margin-right: 0; border-radius: 999px; }
  .site-header .site-header__bar { padding-right: 8px; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px var(--gutter) max(32px, env(safe-area-inset-bottom));
    background: var(--navy-900);
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 240ms var(--ease-out), transform 240ms var(--ease-out), visibility 0s linear 240ms;
  }
  .menu-open .nav {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity 280ms var(--ease-out), transform 280ms var(--ease-out), visibility 0s;
  }
  /* Header band covers exactly down to where the open menu starts (--header-h). */
  .menu-open .site-header { height: var(--header-h); background: var(--navy-900); box-shadow: 0 1px 0 var(--line-dark); }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list li { border-bottom: 1px solid var(--line-dark); }
  .nav__list a {
    width: 100%;
    min-height: 64px;
    padding: 0;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.015em;
    color: var(--white);
  }
  .nav__list a::after { left: 0; right: auto; width: 32px; bottom: 14px; }
  .nav__mobile-contact {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 32px;
  }
  .nav__mobile-phone {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    font-size: 1.125rem;
    font-weight: 500;
    text-decoration: none;
    color: var(--on-dark);
  }
  .nav__mobile-phone .icon { color: var(--blue); }
}

@media (max-width: 479px) {
  .site-header__actions { gap: 4px; }
  .site-header__actions .btn--sm { padding: 0 14px; font-size: 0.875rem; }
  .brand img { height: 30px; }
  .site-header .site-header__bar { gap: 8px; height: 64px; padding: 0 6px 0 16px; }
  .menu-toggle { margin-right: 0; width: 44px; height: 44px; }
}
@media (min-width: 480px) and (max-width: 599px) {
  .site-header .site-header__bar { gap: 8px; padding-left: 18px; }
  .site-header__actions { gap: 6px; }
  .brand img { height: 32px; }
}
/* Phones: the capsule has room for logo, CTA and menu only; the number stays one tap away in the menu. */
@media (max-width: 479px) {
  .header-phone { display: none; }
}
@media (max-width: 359px) {
  .brand img { height: 24px; }
  .site-header .site-header__bar { padding-left: 12px; }
  .site-header__actions .btn--sm { padding: 0 12px; font-size: 0.8125rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: 100svh;
  max-height: 1080px;
  padding-top: calc(var(--header-h) + 48px);
  padding-bottom: clamp(56px, 9vh, 112px);
  color: var(--white);
  background: var(--navy-900);
  overflow: hidden;
}
@supports not (min-height: 100svh) { .hero { min-height: 100vh; } }
@media (min-height: 1080px) { .hero { min-height: 1080px; } }

.hero__media, .hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}
.hero__media img { object-fit: cover; object-position: 55% 50%; }
/* Light touch: the sunset and lake stay visible; the scrim only carries the text block and header. */
.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 64% 74% at 0% 100%, rgba(9, 15, 34, 0.78) 0%, rgba(9, 15, 34, 0.46) 50%, rgba(9, 15, 34, 0) 100%),
    linear-gradient(0deg, rgba(9, 15, 34, 0.7) 0%, rgba(9, 15, 34, 0) 32%),
    linear-gradient(180deg, rgba(9, 15, 34, 0.45) 0%, rgba(9, 15, 34, 0) 16%);
}
.hero__title, .hero__lead { text-shadow: 0 1px 2px rgba(9, 15, 34, 0.35), 0 2px 28px rgba(9, 15, 34, 0.6); }
.hero__inner { position: relative; }
/* Each sentence on its own line. */
.hero__title > span { display: block; }
.hero__word { display: inline-block; white-space: nowrap; }
.hero__title {
  max-width: 13.5em;
  font-size: var(--fs-h1);
  line-height: 1.02;
  letter-spacing: -0.03em;
  hyphens: manual;
}
.hero__lead {
  max-width: 34rem;
  margin-top: 24px;
  font-size: clamp(1.0625rem, 0.95rem + 0.45vw, 1.25rem);
  line-height: 1.55;
  color: rgba(244, 246, 249, 0.86);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}
.current--hero {
  position: absolute;
  left: 0; right: 0; bottom: 0;
}

@media (max-width: 700px) {
  .hero { padding-bottom: 40px; }
  .hero__media img { object-position: 72% 40%; }
  .hero__shade {
    background:
      linear-gradient(0deg, rgba(9, 15, 34, 0.96) 0%, rgba(9, 15, 34, 0.7) 45%, rgba(9, 15, 34, 0.1) 75%),
      linear-gradient(180deg, rgba(9, 15, 34, 0.6) 0%, rgba(9, 15, 34, 0) 25%);
  }
  .hero__lead { margin-top: 16px; }
  .hero__actions { margin-top: 28px; }
  .hero__actions .btn { flex: 1 1 100%; }
}

/* ---------- Capability strip ---------- */
.strip { background: var(--navy-900); color: var(--on-dark); }
.strip__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.strip__item { position: relative; }
.strip__item + .strip__item::before {
  content: "";
  position: absolute;
  left: 0; top: 36px; bottom: 36px;
  width: 1px;
  background: var(--line-dark);
  transform-origin: top;
}
.strip__link {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  padding: 44px clamp(20px, 3vw, 48px);
  text-decoration: none;
  transition: background-color 300ms ease;
}
.strip__item:first-child .strip__link { padding-left: 0; }
.strip__title { color: var(--white); font-size: 0.9375rem; display: inline-flex; align-items: center; gap: 12px; }
.strip__title::before {
  content: "";
  width: 32px; height: 2px;
  margin-right: -16px;
  background: var(--grad);
  transform: scaleX(0.5);
  transform-origin: left center;
  transition: transform 300ms var(--ease-out);
}
.strip__text { color: var(--on-dark-2); font-size: var(--fs-small); max-width: 30ch; }
@media (hover: hover) and (pointer: fine) {
  .strip__link:hover .strip__title::before { transform: scaleX(1); }
  .strip__link:hover .strip__text { color: var(--on-dark); }
}

@media (max-width: 799px) {
  .strip__list { grid-template-columns: 1fr; }
  .strip__item + .strip__item::before { left: 0; right: 0; top: 0; bottom: auto; width: auto; height: 1px; }
  .strip__link { padding: 24px 0; gap: 8px; }
  .strip__text { max-width: none; }
}

/* ---------- Services ---------- */
.services { border-top: 1px solid var(--line-dark); }
.services .section-head { margin-bottom: clamp(40px, 5vw, 64px); }
.services .section-head__lead { color: var(--on-dark-2); }

.svc-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
/* Photo tile: the whole tile is the link; image and glass panel share one grid cell */
.svc-tile {
  position: relative;
  color: inherit;
  text-decoration: none;
  isolation: isolate;
  display: grid;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  border-radius: 8px;
  background: var(--navy-800);
  box-shadow: 0 0 0 1px var(--line-dark);
}
.svc-tile > img, .svc-tile__glass { grid-area: 1 / 1; }
.svc-tile > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease-out);
}
.svc-tile__glass {
  align-self: end;
  display: grid;
  gap: 2px;
  margin: 12px;
  padding: 16px 18px 6px;
  border-radius: 6px;
  color: var(--white);
  background: rgba(9, 15, 34, 0.62);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 12px 32px -12px rgba(0, 0, 0, 0.55);
  transition: background-color 300ms ease;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .svc-tile__glass { background: rgba(9, 15, 34, 0.88); }
}
@media (prefers-reduced-transparency: reduce) {
  .svc-tile__glass { background: var(--navy-900); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
.svc-tile__title {
  font-size: 1.1875rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0;
  text-wrap: balance;
}
.svc-tile__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  width: fit-content;
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--on-dark);
  text-decoration: none;
}
.svc-tile__more .icon { width: 14px; height: 14px; color: var(--blue); transition: transform 240ms var(--ease-out); }
.svc-tile:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  .svc-tile:hover > img { transform: scale(1.04); }
  .svc-tile:hover .svc-tile__glass { background: rgba(9, 15, 34, 0.72); }
  .svc-tile:hover .svc-tile__more .icon { transform: translateX(3px); }
}

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--blue);
  text-decoration: none;
  transition: color 200ms ease;
}
.link-more .icon { width: 14px; height: 14px; transition: transform 240ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .link-more:hover { color: #6CC8FA; }
  .link-more:hover .icon { transform: translateX(3px); }
}
.services__more { margin-top: 28px; }

@media (max-width: 999px) {
  .svc-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 639px) {
  .svc-tiles { grid-template-columns: 1fr; gap: 16px; }
  .svc-tile { aspect-ratio: 4 / 3; }
}

/* ---------- Why / about ---------- */
.why { border-top: 1px solid var(--line-dark); }
.why__grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(48px, 6vw, 96px);
  align-items: stretch;
}
.why .h2 { color: var(--white); }
.why__lead { margin-top: 24px; max-width: 34rem; color: var(--on-dark-2); font-size: 1.125rem; }

.why__points { margin-top: clamp(40px, 5vw, 56px); border-top: 1px solid var(--line-dark); }
.why__point {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  column-gap: 20px;
  align-items: start;
  padding-block: 24px;
  border-bottom: 1px solid var(--line-dark);
}
.why__num {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border: 1px solid rgba(174, 184, 203, 0.28);
  border-radius: var(--radius);
  color: var(--on-dark-2);
  font-size: 0.8125rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  transition: border-color 300ms var(--ease-out), color 300ms var(--ease-out);
}
.why__point:hover .why__num { border-color: var(--blue); color: var(--white); }
.why__point-title { color: var(--white); font-size: var(--fs-h4); font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; padding-top: 7px; }
.why__point p { margin-top: 6px; color: var(--on-dark-2); font-size: var(--fs-small); max-width: 46ch; }
.why__cta { margin-top: clamp(32px, 4vw, 44px); }

/* Top edge meets the cap height of the H2, bottom edge the CTA's bottom, so the photo lines up with the text column. */
.why__figure { position: relative; min-height: 520px; margin-top: clamp(8px, 0.7vw, 11px); }
.why__media { position: absolute; inset: 0; overflow: hidden; border-radius: var(--radius); background: var(--navy-800); }
.why__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 35% 50%; }
/* Partner marks sit over the photo's lower-left corner, as a pair of white tiles. */
.why__badges {
  position: absolute;
  left: 0; bottom: 0;
  display: grid;
  gap: 8px;
  padding: 16px;
}
.why__badge {
  display: grid;
  place-items: center;
  width: clamp(112px, 11vw, 144px);
  height: clamp(60px, 5.6vw, 72px);
  padding: 10px 14px;
  background: rgba(9, 15, 34, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 32px -14px rgba(0, 0, 0, 0.6);
}
.why__badge img { max-width: 100%; max-height: 100%; width: auto; height: auto; filter: brightness(0) invert(1); }

@media (max-width: 999px) {
  .why__grid { grid-template-columns: 1fr; }
  .why__figure { max-width: 40rem; min-height: 0; margin-top: 0; }
  .why__media { position: relative; inset: auto; aspect-ratio: 4 / 3; }
  .why__media img { object-position: 50% 28%; }
}
@media (max-width: 559px) {
  .why__point { grid-template-columns: 36px minmax(0, 1fr); column-gap: 16px; padding-block: 20px; }
  .why__num { width: 36px; height: 36px; }
  .why__point-title { padding-top: 5px; }
  .why__cta .btn { width: 100%; }
  .why__badges { flex-direction: row; display: flex; padding: 12px; }
  .why__badge { width: 104px; height: 52px; padding: 8px 10px; }
}

/* ---------- Process ---------- */
/* Vertical timeline: the rail runs through the step nodes and fills with scroll. */
.process { background: var(--navy-800); color: var(--on-dark); }
.process__layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 112px);
  align-items: start;
}
.process__intro { position: sticky; top: 128px; }
.process__title { max-width: 14ch; }
.process__lead { margin-top: 20px; max-width: 30ch; color: var(--ink-2); font-size: 1.125rem; }

.process__track { --node: 56px; position: relative; }
.process__rail {
  position: absolute;
  left: calc(var(--node) / 2 - 1px);
  top: calc(var(--node) / 2);
  bottom: calc(var(--node) / 2);
  width: 2px;
  background: var(--steel-100);
  overflow: hidden;
}
.process__fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #19A9F5 0%, #3E63D7 55%, #733DB9 100%);
}
.process__steps { position: relative; display: grid; gap: clamp(56px, 9vh, 112px); }
.step {
  display: grid;
  grid-template-columns: var(--node) minmax(0, 1fr);
  column-gap: clamp(24px, 3vw, 40px);
  align-items: start;
}
.step__num {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--node); height: var(--node);
  border-radius: 50%;
  background: var(--navy-800);
  border: 2px solid var(--steel-200);
  color: var(--ink-2);
  font-weight: 600;
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
  transition:
    border-color 500ms var(--ease-out),
    color 500ms var(--ease-out),
    background-color 500ms var(--ease-out),
    box-shadow 700ms var(--ease-out),
    transform 500ms var(--ease-out);
}
.step.is-active .step__num,
html:not(.js) .step__num {
  border-color: var(--royal);
  background: var(--navy-900);
  color: var(--white);
}
/* The step the current has just reached gets a soft halo. */
.step.is-current .step__num {
  box-shadow: 0 0 0 8px rgba(62, 99, 215, 0.12), 0 10px 30px -10px rgba(62, 99, 215, 0.55);
  transform: scale(1.06);
}
.step__body { padding-top: 10px; }
.step p { margin-top: 12px; color: var(--ink-2); font-size: 1.125rem; max-width: 40ch; }

@media (max-width: 899px) {
  .process__layout { grid-template-columns: 1fr; }
  .process__intro { position: static; }
  .process__track { --node: 44px; }
  .process__steps { gap: 48px; }
  .step { column-gap: 20px; }
  .step__num { font-size: 0.9375rem; }
  .step__body { padding-top: 6px; }
  .step p { font-size: 1.0625rem; }
}

/* ---------- Service area ---------- */
.area {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--navy-900);
  color: var(--on-dark);
  padding-bottom: clamp(64px, 7vw, 104px);
}
/* The aerial photo fills the upper part and dissolves into the navy below. */
.area__media {
  position: absolute;
  inset: 0 0 auto;
  z-index: -1;
  height: clamp(420px, 44vw, 620px);
  overflow: hidden;
}
.area__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.area__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 15, 34, 0.62) 0%, rgba(9, 15, 34, 0.18) 55%, rgba(9, 15, 34, 0) 80%),
    linear-gradient(180deg, rgba(9, 15, 34, 0.35) 0%, rgba(9, 15, 34, 0) 22%, rgba(9, 15, 34, 0.2) 55%, rgba(9, 15, 34, 0.86) 84%, var(--navy-900) 100%);
}
.area__inner { padding-top: clamp(170px, 17vw, 260px); }
.area__intro { max-width: 44rem; }
.area__eyebrow { color: var(--white); margin-bottom: 20px; }
.area__intro .h2 { color: var(--white); text-shadow: 0 2px 24px rgba(9, 15, 34, 0.45); }
.area__lead { margin-top: 24px; max-width: 38rem; color: #C9D1DE; font-size: 1.125rem; }

.regions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(44px, 5vw, 72px);
}
.region { padding: 4px clamp(20px, 2.4vw, 36px) 8px; }
.region:first-child { padding-left: 0; }
.region + .region { border-left: 1px solid var(--line-dark); }
.region:nth-child(1) { --accent: #19A9F5; }
.region:nth-child(2) { --accent: #2C86E6; }
.region:nth-child(3) { --accent: #5A4FC9; }
.region:nth-child(4) { --accent: #8A5AD6; }
.region__name {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
}
.region__name::before {
  content: "";
  display: block;
  width: 28px; height: 2px;
  margin-bottom: 18px;
  background: var(--accent);
}
.region__cities { margin-top: 16px; display: grid; gap: 6px; font-size: 1.0625rem; color: var(--on-dark); }
.region__more { margin-top: 14px; font-size: var(--fs-small); color: var(--on-dark-2); }

.area__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px 40px;
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: clamp(28px, 3vw, 40px);
  border-top: 1px solid var(--line-dark);
}
.area__cta-title { font-size: var(--fs-h3); font-weight: 600; letter-spacing: -0.015em; color: var(--white); line-height: 1.2; }
.area__cta-text { margin-top: 8px; color: var(--on-dark-2); }

@media (max-width: 999px) {
  .regions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .region { padding: 24px 0 24px 28px; }
  .region:nth-child(odd) { padding-left: 0; padding-right: 28px; border-left: 0; }
  .region:nth-child(n + 3) { border-top: 1px solid var(--line-dark); }
}
@media (max-width: 699px) {
  .area__media { height: clamp(340px, 90vw, 500px); }
  .area__media img { object-position: 50% 50%; }
  .area__media::after {
    background: linear-gradient(180deg, rgba(9, 15, 34, 0.3) 0%, rgba(9, 15, 34, 0) 20%, rgba(9, 15, 34, 0.25) 42%, rgba(9, 15, 34, 0.88) 76%, var(--navy-900) 100%);
  }
  .area__inner { padding-top: clamp(190px, 52vw, 290px); }
  .regions { grid-template-columns: 1fr; margin-top: 36px; }
  .region, .region + .region, .region:nth-child(odd) { padding: 20px 0; border-left: 0; border-top: 1px solid var(--line-dark); }
  .region:last-child { padding-bottom: 0; }
  /* Two short columns of towns keep each region compact without shrinking the text. */
  .region__cities { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 16px; margin-top: 14px; }
  .region__more { margin-top: 12px; }
  .area__cta .btn { width: 100%; }
}

/* ---------- Partners ---------- */
.partners { padding-block: clamp(64px, 8vw, 112px); }
.partners__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.partners__head p { margin-top: 14px; color: var(--ink-2); max-width: 32rem; }
.partners__marks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: clamp(20px, 3vw, 48px);
}
.partners__marks li { display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 96px; }
.partners__marks a { display: inline-flex; border-radius: var(--radius); }
.partners__marks img { width: auto; max-width: 100%; max-height: 72px; filter: brightness(0) invert(1); opacity: 0.92; }
.partners__marks .partners__lk { max-height: 56px; }
.partners__atol { flex-direction: column; gap: 8px; }
.partners__atol img { max-height: 52px; filter: none; opacity: 1; }
.partners__atol-label { max-width: 100%; overflow-wrap: anywhere; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); text-align: center; }
.partners__brands {
  display: block;
  margin-top: clamp(48px, 6vw, 72px);
  padding-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--steel-100);
}
.partners__brands img { width: 100%; max-width: 1100px; margin-inline: auto; opacity: 0.7; }
@media (max-width: 899px) {
  .partners__grid { grid-template-columns: 1fr; }
}
@media (max-width: 559px) {
  .partners__marks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partners__marks li:last-child { grid-column: 1 / -1; }
  .partners__brands img { max-width: 440px; }
}

/* ---------- FAQ ---------- */
.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.faq__aside { position: sticky; top: calc(var(--header-h) + 32px); }
.faq__aside p { margin-top: 20px; color: var(--ink-2); max-width: 26rem; }
.faq__aside a { color: var(--blue); font-weight: 600; text-underline-offset: 3px; white-space: nowrap; }
.faq__list { border-top: 1px solid var(--line-light); }
.faq__item { border-bottom: 1px solid var(--line-light); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 18px 0;
  font-size: 1.1875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
  transition: color 200ms ease;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .icon {
  width: 22px; height: 22px;
  color: var(--royal);
  transition: transform 300ms var(--ease-out);
}
.faq__item[open] summary .icon { transform: rotate(180deg); }
@media (hover: hover) and (pointer: fine) {
  .faq__item summary:hover { color: var(--blue); }
}
.faq__answer { padding: 0 48px 28px 0; color: var(--ink-2); max-width: 44rem; }
.faq__answer p + p { margin-top: 12px; }
.faq__answer a { color: var(--blue); font-weight: 600; }

/* Smooth open where supported (progressive enhancement) */
@supports (interpolate-size: allow-keywords) {
  .faq__list { interpolate-size: allow-keywords; }
  .faq__item::details-content {
    block-size: 0;
    overflow: clip;
    transition: block-size 360ms var(--ease-out), content-visibility 360ms allow-discrete;
  }
  .faq__item[open]::details-content { block-size: auto; }
}

@media (max-width: 899px) {
  .faq__grid { grid-template-columns: 1fr; }
  .faq__aside { position: static; }
  .faq__item summary { font-size: 1.0625rem; min-height: 64px; }
  .faq__answer { padding-right: 0; }
}

/* ---------- Contact ---------- */
.contact { overflow: hidden; }
.current--top { position: absolute; top: 0; left: 0; right: 0; }
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(48px, 6vw, 112px);
  align-items: start;
}
.contact__lead { margin-top: 24px; color: var(--on-dark-2); font-size: 1.125rem; max-width: 30rem; }
.contact__direct { margin-top: 48px; display: grid; gap: 8px; justify-items: start; }
.contact__company { color: var(--on-dark-2); margin-bottom: 8px; }
.contact__big {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 48px;
  font-size: clamp(1.375rem, 1.1rem + 1.1vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--white);
  font-variant-numeric: tabular-nums;
  transition: color 200ms ease;
  overflow-wrap: anywhere;
}
.contact__big .icon { width: 0.9em; height: 0.9em; color: var(--blue); }
@media (hover: hover) and (pointer: fine) {
  .contact__big:hover { color: var(--blue); }
  .people a:hover { color: var(--white); }
}
.people {
  margin-top: 40px;
  border-top: 1px solid var(--line-dark);
}
.people li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-dark);
}
.people__name { font-weight: 500; color: var(--white); }
.people__contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 2px 18px;
}
.people a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  white-space: nowrap;
  color: var(--on-dark-2);
  text-decoration: none;
  font-variant-numeric: tabular-nums;
  transition: color 200ms ease;
}
.contact__note { margin-top: 16px; font-size: var(--fs-small); color: var(--on-dark-2); }

/* Form */
.form-panel {
  background: var(--navy-800);
  border: 1px solid var(--line-dark);
  color: var(--ink);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 48px);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.55);
}
.form { display: grid; gap: 20px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label { font-weight: 600; font-size: 0.9375rem; }
.req { color: var(--blue); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  font-size: 1rem;           /* >= 16px prevents iOS zoom */
  color: var(--ink);
  background: var(--navy-900);
  border: 1px solid rgba(174, 184, 203, 0.32);
  border-radius: var(--radius);
  transition: border-color 200ms ease, box-shadow 200ms ease, background-color 200ms ease;
  appearance: none;
  -webkit-appearance: none;
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(174, 184, 203, 0.55); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  background: var(--navy-900);
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(25, 169, 245, 0.22);
}
.select { position: relative; }
.select select { padding-right: 44px; cursor: pointer; }
.select .icon {
  position: absolute;
  right: 14px; top: 50%;
  width: 18px; height: 18px;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--ink-2);
}
.field__hint { font-size: 0.875rem; color: var(--ink-2); }
.field__error {
  display: none;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--error-light);
}
.field.is-invalid .field__error { display: flex; }
.field.is-invalid input,
.field.is-invalid textarea { border-color: var(--error-light); background: rgba(255, 138, 128, 0.06); }
.form__legal { font-size: 0.875rem; color: var(--ink-2); }
.form__legal a { color: var(--blue); font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.btn[aria-busy="true"] { cursor: progress; }
.btn[aria-busy="true"] .icon { animation: nudge 900ms var(--ease-in-out) infinite; }
@keyframes nudge { 50% { transform: translateX(4px); } }

.form__status:empty { display: none; }
.form__status {
  padding: 14px 16px;
  border-radius: var(--radius);
  background: rgba(255, 138, 128, 0.1);
  border: 1px solid rgba(255, 138, 128, 0.35);
  color: #FFC2BC;
  font-size: 0.9375rem;
  font-weight: 500;
}
.form__status a { color: inherit; font-weight: 600; }

.form-success { text-align: left; padding: 24px 0; }
.form-success:focus { outline: none; }
.form-success__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--white);
  margin-bottom: 24px;
}
.form-success__icon .icon { width: 26px; height: 26px; }
.form-success p { margin-top: 12px; color: var(--ink-2); }

@media (max-width: 999px) {
  .contact__grid { grid-template-columns: 1fr; }
}
@media (max-width: 559px) {
  .form__row { grid-template-columns: 1fr; }
  .form-panel { margin-inline: calc(var(--gutter) * -0.5); }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-950);
  color: var(--on-dark-2);
  padding: clamp(56px, 7vw, 88px) 0 32px;
  font-size: var(--fs-small);
}
.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line-dark);
}
.brand--footer { margin-right: 0; }
.brand--footer img { height: 44px; }
.footer__nav ul { display: flex; flex-wrap: wrap; gap: 4px 8px; }
.footer__nav a, .footer__contact a, .footer__bottom a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  transition: color 200ms ease;
}
.footer__nav a { padding: 0 10px; color: var(--on-dark); }
@media (hover: hover) and (pointer: fine) {
  .site-footer a:hover { color: var(--blue); }
}
.footer__mid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line-dark);
}
.footer__contact { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 32px; }
.footer__contact a { color: var(--white); font-weight: 500; }
.footer__marks { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 40px; }
.footer__atol { display: flex; align-items: center; gap: 12px; }
.footer__atol img { height: 32px; width: auto; }
.footer__atol span { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.35; }
.footer__lk { height: 36px; width: auto; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-items: center;
  padding-top: 16px;
}
.footer__sep { margin: 0 8px; opacity: 0.5; }
@media (max-width: 699px) {
  .footer__nav { width: 100%; }
  .footer__nav ul { display: grid; grid-template-columns: 1fr 1fr; }
  .footer__nav a { padding: 0; }
  .footer__contact { flex-direction: column; align-items: flex-start; }
}

/* ---------- Motion start states (only when JS + motion allowed) ---------- */
.motion [data-hero-item],
.motion [data-hero-title],
.motion [data-reveal],
.motion [data-reveal-group] > * { opacity: 0; }

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

/* ---------- Subpages (privacy, thanks, 404) ---------- */
.subpage { background: var(--navy-900); color: var(--on-dark); }
.subpage .site-header { background: var(--navy-900); }
.doc {
  padding: calc(var(--header-h) + clamp(48px, 7vw, 96px)) 0 var(--section-y);
  background: var(--navy-900);
}
.doc__inner { max-width: 46rem; }
.doc h1 { font-size: var(--fs-h2); line-height: 1.06; font-weight: 600; letter-spacing: -0.022em; text-wrap: balance; }
.doc h2 { margin-top: 40px; font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; }
.doc p, .doc ul { margin-top: 12px; color: var(--ink-2); }
.doc ul { padding-left: 1.2em; list-style: disc; }
.doc a:not(.btn) { color: var(--blue); font-weight: 600; }
.doc .lead { margin-top: 20px; font-size: 1.1875rem; color: var(--ink); }
.doc .btn { margin-top: 32px; }

/* ---------- Services page ---------- */
.page-intro {
  position: relative;
  padding: calc(var(--header-h) + clamp(40px, 6vw, 80px)) 0 clamp(56px, 7vw, 96px);
  background: var(--navy-900);
  color: var(--on-dark);
}
.current--bottom { position: absolute; left: 0; right: 0; bottom: 0; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: var(--fs-small); color: var(--on-dark-2); }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; color: var(--on-dark); text-underline-offset: 3px; }
.page-intro__title {
  max-width: 16em;
  margin-top: 12px;
  font-size: clamp(2.25rem, 1.4rem + 3.2vw, 4rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.028em;
  text-wrap: balance;
}
.page-intro__lead { max-width: 40rem; margin-top: 24px; font-size: 1.1875rem; color: var(--on-dark-2); }

.svc-details { background: var(--navy-900); border-top: 1px solid var(--line-dark); padding-bottom: var(--section-y); }
.svc-detail {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  padding-top: clamp(56px, 7vw, 96px);
  scroll-margin-top: calc(var(--header-h) + 8px);
}
.svc-detail + .svc-detail { margin-top: clamp(56px, 7vw, 96px); border-top: 1px solid var(--line-light); }
.svc-detail__media { overflow: hidden; border-radius: 8px; aspect-ratio: 4 / 3; background: var(--steel-100); }
.svc-detail__media img { width: 100%; height: 100%; object-fit: cover; }
.svc-detail__title {
  font-size: clamp(1.625rem, 1.2rem + 1.4vw, 2.375rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.svc-detail__body > p { margin-top: 18px; max-width: 38rem; color: var(--ink-2); font-size: 1.125rem; }
.svc-points { display: grid; gap: 10px; margin: 24px 0 32px; }
.svc-points li { display: flex; align-items: flex-start; gap: 12px; font-weight: 500; }
.svc-points .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--blue); }

.brands { border-top: 1px solid var(--line-light); }
.brands .h3 { max-width: 30rem; }
.brands__logos { margin-top: 32px; border-top: 0; padding-top: 0; }

.page-cta__inner { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 32px 64px; }
.page-cta p { margin-top: 16px; max-width: 34rem; color: var(--on-dark-2); font-size: 1.125rem; }
.page-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 899px) {
  .svc-detail { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 559px) {
  .page-cta__actions, .page-cta__actions .btn { width: 100%; }
  .svc-detail .btn { width: 100%; }
}

/* ---------- Single service page ---------- */
.page-intro__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.svc-main { background: var(--navy-900); border-top: 1px solid var(--line-dark); padding-block: var(--section-y); }
.svc-main__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.svc-main__text > p { margin-top: 18px; max-width: 40rem; color: var(--ink-2); font-size: 1.125rem; }
.svc-main__text > p:first-of-type { margin-top: 24px; color: var(--ink); font-size: 1.1875rem; }
.svc-main__text .h3 { margin-top: 48px; }
.svc-main__text .svc-points { margin-bottom: 0; }
.svc-main__note {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line-light);
  color: var(--ink-2);
}
.svc-main__note strong { color: var(--ink); font-weight: 600; }
.svc-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 24px; }
.svc-aside__img { overflow: hidden; border-radius: 8px; aspect-ratio: 4 / 3; background: var(--steel-100); }
.svc-aside__img img { width: 100%; height: 100%; object-fit: cover; }
.svc-aside__box { padding: 24px; border-radius: 8px; background: var(--steel-50); border: 1px solid var(--line-light); }
.svc-aside__box .label { color: var(--ink-2); }
.svc-aside__box ul { display: grid; gap: 8px; margin-top: 14px; }
.svc-aside__box li { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.svc-aside__box li::before { content: ""; width: 12px; height: 2px; flex: none; background: var(--grad); }
.svc-aside__mark { display: flex; align-items: center; gap: 14px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line-light); font-size: var(--fs-small); color: var(--ink-2); }
.svc-aside__mark img { width: auto; height: 36px; }

.svc-faq { background: var(--navy-800); }
.related { background: var(--navy-900); }
.related .h2 { margin-bottom: clamp(32px, 4vw, 48px); }

@media (max-width: 899px) {
  .svc-main__grid { grid-template-columns: 1fr; }
  .svc-aside { position: static; grid-row: 1; }
}
@media (max-width: 559px) {
  .page-intro__actions .btn { width: 100%; }
}
.link-more--light { color: var(--blue); }
.link-more--light .icon { color: var(--blue); }
@media (hover: hover) and (pointer: fine) {
  .link-more--light:hover { color: #6CC8FA; }
}
.svc-detail__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }

/* ---------- Needs assessment quiz ---------- */
.quiz-section { background: var(--navy-800); color: var(--on-dark); }
.quiz-layout {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.quiz-intro { position: sticky; top: calc(var(--header-h) + 40px); }
.quiz-intro__eyebrow { display: inline-flex; align-items: center; gap: 12px; color: var(--blue); }
.quiz-intro__eyebrow::before { content: ""; width: 20px; height: 2px; background: var(--grad); }
.quiz-intro .h2 { margin-top: 20px; font-size: clamp(2rem, 1.4rem + 2vw, 3rem); }
.quiz-intro__lead { margin-top: 20px; max-width: 30rem; color: var(--on-dark-2); font-size: 1.125rem; }
.quiz-intro__alt { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line-dark); }
.quiz-intro__alt p { color: var(--on-dark-2); font-size: var(--fs-small); }
.quiz-intro__phone {
  display: inline-flex; align-items: center; gap: 12px; min-height: 48px; margin-top: 4px;
  font-size: 1.375rem; font-weight: 600; letter-spacing: -0.01em; color: var(--white);
  text-decoration: none; font-variant-numeric: tabular-nums; transition: color 200ms ease;
}
.quiz-intro__phone .icon { width: 20px; height: 20px; color: var(--blue); }
@media (hover: hover) and (pointer: fine) { .quiz-intro__phone:hover { color: var(--blue); } }

.quiz {
  position: relative;
  padding: clamp(20px, 3vw, 36px);
  background: var(--navy-900);
  border: 1px solid rgba(174, 184, 203, 0.16);
  border-radius: 8px;
  overflow: hidden;
}
/* Thin blue-to-violet edge: the one gradient accent on the panel */
.quiz::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--grad); }
.quiz__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; }
.quiz__step { font-size: var(--fs-label); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-dark); }
.quiz__restart {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 2px;
  border: 0; background: none; cursor: pointer;
  font-size: 0.875rem; color: var(--on-dark-2);
  transition: color 200ms ease;
}
.quiz__restart .icon { width: 15px; height: 15px; }
@media (hover: hover) and (pointer: fine) { .quiz__restart:hover { color: var(--white); } }
.quiz__progress { height: 2px; margin-top: 8px; background: rgba(174, 184, 203, 0.16); border-radius: 2px; overflow: hidden; }
.quiz__progress-fill {
  display: block; height: 100%; background: var(--grad);
  transform: scaleX(0.1667); transform-origin: left center;
  transition: transform 450ms var(--ease-out);
}

.quiz__stage, .quiz-form, .quiz-success { margin-top: clamp(24px, 3vw, 32px); }
.quiz__question {
  font-size: clamp(1.375rem, 1.15rem + 0.8vw, 1.75rem);
  font-weight: 600; line-height: 1.2; letter-spacing: -0.015em; color: var(--white);
  text-wrap: balance;
}
.quiz__question:focus { outline: none; }
.quiz__sub { margin-top: 10px; color: var(--on-dark-2); max-width: 36rem; }

.qopts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 24px; }
.qopt {
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 12px 14px 12px 12px;
  text-align: left;
  color: var(--on-dark);
  background: var(--navy-800);
  border: 1px solid rgba(174, 184, 203, 0.16);
  border-radius: 6px;
  cursor: pointer;
  touch-action: manipulation;
  transition: border-color 200ms ease, background-color 200ms ease, transform 160ms var(--ease-out);
}
.qopt:active { transform: scale(0.985); }
.qopt__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 6px;
  background: rgba(25, 169, 245, 0.1); color: var(--blue);
  transition: background-color 200ms ease, color 200ms ease;
}
.qopt__icon .icon { width: 21px; height: 21px; }
.qopt__text { display: grid; gap: 2px; }
.qopt__title { font-weight: 600; line-height: 1.3; }
.qopt__sub { font-size: 0.875rem; color: var(--on-dark-2); line-height: 1.35; }
.qopt__check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; border-radius: 50%;
  border: 1px solid rgba(174, 184, 203, 0.35);
  color: var(--navy-900);
  transition: background-color 200ms ease, border-color 200ms ease;
}
.qopt__check .icon { width: 12px; height: 12px; opacity: 0; transform: scale(0.6); transition: opacity 160ms ease, transform 200ms var(--ease-out); }
.qopt[aria-pressed="true"] { border-color: var(--blue); background: #12244A; }
.qopt[aria-pressed="true"] .qopt__icon { background: var(--blue); color: var(--navy-900); }
.qopt[aria-pressed="true"] .qopt__check { background: var(--blue); border-color: var(--blue); }
.qopt[aria-pressed="true"] .qopt__check .icon { opacity: 1; transform: none; }
@media (hover: hover) and (pointer: fine) {
  .qopt:hover { border-color: rgba(174, 184, 203, 0.4); background: #15223D; }
  .qopt[aria-pressed="true"]:hover { border-color: var(--blue); background: #12244A; }
}

.quiz__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; flex-wrap: wrap; }
.quiz__back, .quiz__next {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 4px;
  border: 0; background: none; cursor: pointer; font-weight: 500; color: var(--on-dark);
  transition: color 200ms ease;
}
.quiz__next { color: var(--blue); margin-left: auto; }
.quiz__back .icon, .quiz__next .icon { width: 16px; height: 16px; transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .quiz__back:hover { color: var(--white); }
  .quiz__back:hover .icon { transform: translateX(-3px); }
  .quiz__next:hover .icon { transform: translateX(3px); }
}

/* Fields on dark */
.quiz-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 16px; margin-top: 24px; }
.qfield { display: grid; gap: 8px; align-content: start; min-width: 0; border: 0; margin: 0; padding: 0; }
.qfield--wide { grid-column: 1 / -1; }
.qfield label, .qfield legend { font-weight: 600; font-size: 0.9375rem; color: var(--on-dark); padding: 0; }
.qfield label span[aria-hidden] { color: var(--blue); }
.qfield input, .qfield textarea {
  width: 100%; min-height: 52px; padding: 12px 14px;
  font-size: 1rem; color: var(--white);
  background: var(--navy-800);
  border: 1px solid rgba(174, 184, 203, 0.28);
  border-radius: 4px;
  transition: border-color 200ms ease, box-shadow 200ms ease;
  appearance: none; -webkit-appearance: none;
}
.qfield textarea { min-height: 96px; resize: vertical; line-height: 1.5; }
.qfield input::placeholder, .qfield textarea::placeholder { color: #8A96AB; }
.qfield input:focus, .qfield textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(25, 169, 245, 0.22); }
.qfield__error { font-size: 0.875rem; font-weight: 500; color: var(--error-dark); }
.qfield__error:empty { display: none; }
.qfield.is-invalid input, .qfield.is-invalid textarea { border-color: var(--error-dark); }

.qpref__options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.qpref__opt { position: relative; display: block; cursor: pointer; }
.qpref__opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.qpref__opt span {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 12px; text-align: center;
  font-weight: 500; font-size: 0.9375rem; color: var(--on-dark);
  background: var(--navy-800);
  border: 1px solid rgba(174, 184, 203, 0.24); border-radius: 4px;
  transition: border-color 200ms ease, background-color 200ms ease;
}
.qpref__opt input:checked + span { border-color: var(--blue); background: #12244A; }
.qpref__opt input:checked + span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.qpref__opt input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }

/* Contact screen */
.quiz-summary {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 20px;
  margin: 24px 0 0; padding: 18px 20px;
  background: var(--navy-800); border: 1px solid rgba(174, 184, 203, 0.14); border-radius: 6px;
}
.quiz-summary__row { min-width: 0; }
.quiz-summary__row--wide { grid-column: 1 / -1; }
.quiz-summary dt { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-dark-2); }
.quiz-summary dd { margin: 4px 0 0; font-size: 0.9375rem; font-weight: 500; color: var(--white); overflow-wrap: anywhere; }
.quiz-summary__more { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-weight: 400 !important; color: var(--on-dark) !important; }
.quiz-form .quiz__foot .btn { margin-left: auto; }
.quiz__consent { margin-top: 14px; font-size: 0.8125rem; line-height: 1.5; color: var(--on-dark-2); }
.quiz__status:empty { display: none; }
.quiz__status { margin-top: 14px; padding: 12px 14px; border-radius: 4px; background: rgba(255, 138, 128, 0.1); border: 1px solid rgba(255, 138, 128, 0.35); color: #FFC2BC; font-size: 0.9375rem; }
.quiz__status a { color: var(--white); font-weight: 600; }
.quiz__noscript { color: var(--on-dark-2); }
.quiz__noscript a { color: var(--blue); }

.quiz-success { padding: 8px 0 4px; }
.quiz-success:focus { outline: none; }
.quiz-success__icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin-bottom: 20px; border-radius: 50%; background: var(--blue); color: var(--navy-900); }
.quiz-success__icon .icon { width: 24px; height: 24px; }
.quiz__restart--inline { margin-top: 16px; }

@media (max-width: 999px) {
  .quiz-layout { grid-template-columns: 1fr; gap: 32px; }
  .quiz-intro { position: static; }
  .quiz-intro__alt { margin-top: 24px; padding-top: 16px; }
  .quiz-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 599px) {
  .quiz { margin-inline: calc(var(--gutter) * -0.5); padding: 20px 16px; }
  .qopts { grid-template-columns: 1fr; gap: 8px; margin-top: 20px; }
  .qopt { min-height: 56px; grid-template-columns: 36px minmax(0, 1fr) 20px; gap: 12px; padding: 10px 12px 10px 10px; }
  .qopt__icon { width: 36px; height: 36px; }
  .qopt__sub { display: none; }
  .quiz-fields { grid-template-columns: 1fr; }
  .qpref__opt span { min-height: 46px; padding: 0 6px; font-size: 0.875rem; }
  .qpref__opt input:checked + span::before { display: none; }
  .qpref__opt input:checked + span { box-shadow: inset 0 -2px 0 var(--blue); }
  .quiz-summary { grid-template-columns: 1fr 1fr; padding: 14px 16px; gap: 10px 16px; }
  .quiz-form .quiz__foot { flex-direction: column-reverse; align-items: stretch; }
  .quiz-form .quiz__foot .btn { margin-left: 0; width: 100%; }
  .quiz-form .quiz__foot .quiz__back { align-self: flex-start; }
}
.quiz__step { display: inline-flex; align-items: center; gap: 8px; }
.quiz__step-icon { width: 18px; height: 18px; color: var(--blue); }
