/* ==========================================================================
   PROSTA WOLA — Design System
   Premium-but-trustworthy automotive theme.
   Navy (trust) + warm orange (action) on clean neutrals.
   ========================================================================== */

/* ---------- Design tokens ------------------------------------------------- */
:root {
  /* Brand */
  --navy-900: #0a1726;
  --navy-800: #1c2b39;
  --navy-700: #15304f;
  --navy-600: #1d3e63;
  --navy-500: #2b5081;
  --navy-50: #eef2f7;

  /* Text-on-white accent (AA: ~5.5:1) */
  --accent-700: #a8500a;
  --accent-600: #e06d0a;
  --accent: #f5a623;
  --accent-300: #ffc269;
  --accent-100: #fff1e2;
  /* CTA fill: white text passes AA (~5:1) */
  --accent-cta: #b35407;
  --accent-cta-hover: #9c4906;

  --success: #15a06b;
  --success-bg: #e5f6ee;
  --warn: #c9971b;
  --danger: #d2453a;

  /* Neutrals */
  --white: #ffffff;
  --surface: #f6f8fb;
  --surface-2: #eef2f7;
  --border: #e3e8ef;
  --border-strong: #cfd7e2;
  --text: #14202f;
  --text-soft: #3a4757;
  --muted: #5d6b7c;
  --muted-2: #8693a3;

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

  --fs-eyebrow: 0.8125rem;
  --fs-base: 1rem;
  --fs-lead: clamp(1.075rem, 0.9rem + 0.7vw, 1.3rem);
  --fs-h4: clamp(1.1rem, 1rem + 0.4vw, 1.3rem);
  --fs-h3: clamp(1.35rem, 1.1rem + 1vw, 1.85rem);
  --fs-h2: clamp(1.75rem, 1.3rem + 2vw, 2.75rem);
  --fs-h1: clamp(2.1rem, 1.4rem + 3.2vw, 3.85rem);

  /* Space */
  --container: 1200px;
  --container-narrow: 820px;
  --gutter: clamp(1.1rem, 0.6rem + 2vw, 2rem);
  --section-y: clamp(3.25rem, 2rem + 5vw, 6rem);

  /* Radius / shadow / motion */
  --r-xs: 6px;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(13, 28, 48, 0.06), 0 1px 3px rgba(13, 28, 48, 0.08);
  --shadow: 0 6px 18px rgba(13, 28, 48, 0.08), 0 2px 6px rgba(13, 28, 48, 0.06);
  --shadow-lg: 0 24px 48px -12px rgba(11, 26, 46, 0.22);
  --shadow-accent: 0 10px 26px -8px rgba(224, 109, 10, 0.5);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --t: 0.22s var(--ease);
}

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

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, picture, svg, video { display: block; max-width: 100%; height: auto; }
img { background: var(--surface-2); }

a { color: inherit; text-decoration: none; }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }

ul, ol { list-style: none; padding: 0; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--navy-900);
}

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

::selection { background: var(--accent); color: var(--navy-900); }

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

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

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(2.25rem, 1.5rem + 3vw, 3.75rem); }
.section--surface { background: var(--surface); }
.section--navy { background: var(--navy-800); color: #dfe7f1; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  background: var(--navy-900);
  color: #fff;
  padding: 0.7rem 1.1rem;
  border-radius: var(--r-sm);
  transition: top var(--t);
}
.skip-link:focus { top: 1rem; }

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

/* ---------- Typography blocks --------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-700);
}
.eyebrow::before {
  content: "";
  width: 1.6rem; height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.section--navy .eyebrow { color: var(--accent-300); }

.h1 { font-size: var(--fs-h1); }
.h2 { font-size: var(--fs-h2); }
.h3 { font-size: var(--fs-h3); }

.lead {
  font-size: var(--fs-lead);
  color: var(--text-soft);
  line-height: 1.55;
  max-width: 60ch;
}
.section--navy .lead { color: #b9c6d8; }

.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 1.4rem + 2vw, 3.25rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .h2 { margin-top: 0.7rem; }
.section-head p { margin-top: 0.9rem; color: var(--muted); font-size: 1.05rem; }
.section--navy .section-head p { color: #9fb0c6; }

/* ---------- Buttons ------------------------------------------------------- */
.btn {
  --btn-bg: var(--navy-800);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.975rem;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border-radius: var(--r-pill);
  border: 1.5px solid transparent;
  transition: transform var(--t), box-shadow var(--t), background var(--t), color var(--t), border-color var(--t);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.15em; height: 1.15em; }

.btn--primary { --btn-bg: var(--accent-cta); --btn-fg: #fff; box-shadow: var(--shadow-accent); }
.btn--primary:hover { --btn-bg: var(--accent-cta-hover); }

.btn--dark { --btn-bg: var(--navy-800); --btn-fg: #fff; }
.btn--dark:hover { --btn-bg: var(--navy-900); }

.btn--light { --btn-bg: #fff; --btn-fg: var(--navy-900); border-color: var(--border); box-shadow: var(--shadow-sm); }
.btn--light:hover { --btn-bg: var(--surface); }

.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--navy-800);
  border-color: var(--border-strong);
}
.btn--outline:hover { --btn-bg: var(--navy-800); --btn-fg: #fff; border-color: var(--navy-800); }

.btn--ghost-light {
  --btn-bg: transparent;
  --btn-fg: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.btn--ghost-light:hover { --btn-bg: rgba(255, 255, 255, 0.12); border-color: rgba(255,255,255,0.6); }

.btn--lg { padding: 1rem 1.85rem; font-size: 1.05rem; }
.btn--sm { padding: 0.6rem 1.05rem; font-size: 0.875rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--accent-600);
  transition: gap var(--t), color var(--t);
}
.link-arrow svg { width: 1.05em; height: 1.05em; transition: transform var(--t); }
.link-arrow:hover { gap: 0.7rem; color: var(--accent-700); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Header / navigation ------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--t), background var(--t);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }

.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 4.75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--navy-900);
}
.brand__mark { width: 2.35rem; height: 2.35rem; flex: none; }
.brand__name { line-height: 1; }
.brand__name small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 3px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
}
.nav__link {
  position: relative;
  padding: 0.55rem 0.7rem;
  font-weight: 500;
  font-size: 0.95rem;
  white-space: nowrap;
  color: var(--text-soft);
  border-radius: var(--r-sm);
  transition: color var(--t), background var(--t);
}
.nav__link:hover { color: var(--navy-900); background: var(--surface); }
.nav__link[aria-current="page"] { color: var(--accent-700); font-weight: 600; }

.nav__actions { display: flex; align-items: center; gap: 0.6rem; }

/* Language switcher */
.lang {
  position: relative;
}
.lang__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-soft);
  background: #fff;
  transition: border-color var(--t), color var(--t);
}
.lang__toggle:hover { border-color: var(--border-strong); color: var(--navy-900); }
.lang__toggle svg { width: 0.9em; height: 0.9em; transition: transform var(--t); }
.lang[open] .lang__toggle svg { transform: rotate(180deg); }
.lang__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  min-width: 11rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
  padding: 0.4rem;
  z-index: 50;
}
.lang__item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.7rem;
  border-radius: var(--r-sm);
  font-size: 0.92rem;
  color: var(--text-soft);
  transition: background var(--t);
}
.lang__item:hover { background: var(--surface); }
.lang__item[aria-current="true"] { color: var(--navy-900); font-weight: 600; background: var(--surface); }
.lang__item .flag { font-size: 1.1rem; }

/* Mobile toggle */
.nav__burger {
  display: none;
  width: 2.75rem; height: 2.75rem;
  border-radius: var(--r-sm);
  align-items: center; justify-content: center;
  color: var(--navy-900);
  border: 1px solid var(--border);
}
.nav__burger svg { width: 1.5rem; height: 1.5rem; }

/* Mobile drawer */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: none;
}
.mobile-nav[data-open="true"] { display: block; }
.mobile-nav__scrim {
  position: absolute; inset: 0;
  background: rgba(8, 18, 32, 0.55);
  backdrop-filter: blur(2px);
}
.mobile-nav__panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(360px, 86vw);
  background: #fff;
  padding: 1.25rem 1.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  animation: slideIn 0.28s var(--ease);
}
@keyframes slideIn { from { transform: translateX(100%); } to { transform: translateX(0); } }
.mobile-nav__head { display: flex; align-items: center; justify-content: space-between; }
.mobile-nav__close {
  width: 2.5rem; height: 2.5rem;
  display: grid; place-items: center;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
}
.mobile-nav__close svg { width: 1.35rem; height: 1.35rem; }
.mobile-nav__links { display: flex; flex-direction: column; gap: 0.15rem; margin-top: 0.5rem; }
.mobile-nav__link {
  padding: 0.85rem 0.75rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--navy-900);
  border-radius: var(--r-sm);
  border-bottom: 1px solid var(--surface-2);
}
.mobile-nav__link:hover { background: var(--surface); }
.mobile-nav__langs { display: flex; gap: 0.5rem; margin-top: 0.5rem; }
.mobile-nav__lang {
  flex: 1;
  text-align: center;
  padding: 0.8rem;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  font-weight: 600;
  font-family: var(--font-head);
}
.mobile-nav__lang[aria-current="true"] { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }

/* ---------- Hero ---------------------------------------------------------- */
.hero {
  position: relative;
  color: #eaf0f8;
  background:
    radial-gradient(120% 120% at 85% -10%, rgba(245, 130, 31, 0.22), transparent 45%),
    radial-gradient(90% 90% at 8% 110%, rgba(43, 80, 129, 0.55), transparent 55%),
    linear-gradient(160deg, var(--navy-900), var(--navy-700));
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(80% 80% at 70% 20%, #000 0%, transparent 75%);
          mask-image: radial-gradient(80% 80% at 70% 20%, #000 0%, transparent 75%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 1;
  padding-block: clamp(3.5rem, 2rem + 8vw, 7rem);
  max-width: 50rem;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #fff;
}
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(245,130,31,0.25); }
.hero h1 {
  color: #fff;
  font-size: var(--fs-h1);
  margin-top: 1.4rem;
}
.hero h1 .accent { color: var(--accent-300); }
.hero__sub {
  margin-top: 1.25rem;
  font-size: var(--fs-lead);
  color: #c2cfe0;
  max-width: 44ch;
}
.hero__cta { margin-top: 2rem; }

.hero__points {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
}
.hero__points li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  color: #c9d6e7;
}
.hero__points svg { width: 1.2rem; height: 1.2rem; color: var(--accent-300); flex: none; }

/* ---------- Generic grids ------------------------------------------------- */
.grid { display: grid; gap: clamp(1rem, 0.5rem + 1.5vw, 1.75rem); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--auto { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }

/* ---------- Feature / trust cards ----------------------------------------- */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: clamp(1.4rem, 1.1rem + 1vw, 2rem);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }

.feature__icon,
.icon-badge {
  width: 3.25rem; height: 3.25rem;
  display: grid; place-items: center;
  border-radius: var(--r);
  background: var(--accent-100);
  color: var(--accent-700);
  margin-bottom: 1.1rem;
}
.icon-badge svg, .feature__icon svg { width: 1.6rem; height: 1.6rem; }
.feature h3, .card h3 { font-size: var(--fs-h4); margin-bottom: 0.5rem; }
.feature p, .card p { color: var(--muted); font-size: 0.97rem; }

.card--navy {
  background: linear-gradient(160deg, var(--navy-700), var(--navy-800));
  color: #dbe4f0;
  border-color: transparent;
}
.card--navy h3 { color: #fff; }
.card--navy p { color: #aebdd1; }
.card--navy .icon-badge { background: rgba(245, 130, 31, 0.16); color: var(--accent-300); }

/* ---------- Step / process ------------------------------------------------ */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 0; }
.step__num {
  display: inline-grid;
  place-items: center;
  width: 3rem; height: 3rem;
  border-radius: var(--r-pill);
  background: var(--navy-800);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}
.section--navy .step__num { background: var(--accent); color: var(--navy-900); }
.step h3 { font-size: var(--fs-h4); margin-bottom: 0.4rem; }
.step p { color: var(--muted); font-size: 0.95rem; }
.section--navy .step p { color: #a8b8cd; }

/* ---------- Car cards ----------------------------------------------------- */
.car-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: clamp(1.1rem, 0.7rem + 1.5vw, 1.75rem); }

.car-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.car-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.car-card__media {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--surface-2);
}
.car-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.car-card:hover .car-card__media img { transform: scale(1.06); }
.car-card__badges {
  position: absolute;
  top: 0.85rem; left: 0.85rem;
  display: flex; gap: 0.4rem; flex-wrap: wrap;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.7rem;
  border-radius: var(--r-pill);
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: #fff;
  color: var(--navy-900);
  box-shadow: var(--shadow-sm);
}
.badge--featured { background: var(--accent-cta); color: #fff; }
.badge--available { background: var(--success-bg); color: #0c7a50; }
.badge--sold { background: var(--navy-900); color: #fff; }
.badge--vat { background: var(--navy-50); color: var(--navy-700); }

.car-card__sold-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 23, 38, 0.45);
  display: grid;
  place-items: center;
}
.car-card__sold-overlay span {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  border: 2px solid #fff;
  padding: 0.4rem 1.1rem;
  border-radius: var(--r-pill);
  transform: rotate(-6deg);
}
.car-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.15rem 1.25rem 1.35rem; }
.car-card__title { font-size: 1.18rem; font-family: var(--font-head); font-weight: 600; color: var(--navy-900); letter-spacing: -0.02em; }
.car-card__subtitle { color: var(--muted); font-size: 0.88rem; margin-top: 0.15rem; min-height: 1.2em; }
.car-card__specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem 0.9rem;
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--surface-2);
}
.car-card__spec { display: flex; align-items: center; gap: 0.4rem; font-size: 0.85rem; color: var(--text-soft); }
.car-card__spec svg { width: 1.05rem; height: 1.05rem; color: var(--muted-2); flex: none; }
.car-card__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1.1rem;
}
.car-card__price { font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; color: var(--navy-900); letter-spacing: -0.02em; }
.car-card__price small { display: block; font-size: 0.72rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.car-card__cta {
  width: 2.75rem; height: 2.75rem;
  flex: none;
  border-radius: var(--r-pill);
  background: var(--surface);
  color: var(--navy-800);
  display: grid; place-items: center;
  transition: background var(--t), color var(--t), transform var(--t);
}
.car-card:hover .car-card__cta { background: var(--accent); color: var(--navy-900); }
.car-card__cta svg { width: 1.25rem; height: 1.25rem; }
.car-card__link { position: absolute; inset: 0; z-index: 1; }
.car-card__media, .car-card__body { position: relative; }

/* ---------- Filters bar --------------------------------------------------- */
.filters {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
}
.filters__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.85rem;
}
.filters__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  margin-top: 1.1rem;
}
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field label { font-size: 0.8rem; font-weight: 600; color: var(--text-soft); font-family: var(--font-head); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  background: #fff;
  color: var(--text);
  font-size: 0.95rem;
  transition: border-color var(--t), box-shadow var(--t);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(245, 130, 31, 0.15);
}
.field textarea { resize: vertical; min-height: 8rem; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d6b7c' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.7rem center;
  background-size: 1.05rem;
  padding-right: 2.1rem;
  text-overflow: ellipsis;
}
/* Keep select option text on one line; the wider grid column prevents clipping. */
.field input, .field select { min-width: 0; }

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.toolbar__count { font-family: var(--font-head); font-weight: 600; color: var(--navy-900); }
.toolbar__count b { color: var(--accent-700); }
.toolbar__sort { display: flex; align-items: center; gap: 0.5rem; }
.toolbar__sort label { font-size: 0.85rem; color: var(--muted); }
.toolbar__sort select { padding: 0.5rem 2.2rem 0.5rem 0.8rem; border-radius: var(--r-pill); border: 1.5px solid var(--border); font-size: 0.9rem; }

/* ---------- Catalog search ------------------------------------------------ */
.catalog-search {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 0.6rem;
  box-shadow: var(--shadow-sm);
}
.catalog-search__bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.catalog-search__icon {
  display: grid;
  place-items: center;
  padding-left: 0.5rem;
  color: var(--muted);
  flex: 0 0 auto;
}
.catalog-search__icon svg { width: 1.25rem; height: 1.25rem; }
.catalog-search__input {
  flex: 1 1 12rem;
  min-width: 0;
  border: none;
  background: transparent;
  padding: 0.7rem 0.4rem;
  font-size: 1rem;
  color: var(--text);
}
.catalog-search__input:focus { outline: none; }
.catalog-search__adv {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex: 0 0 auto;
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text-soft);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.55rem 0.9rem;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: border-color var(--t), color var(--t), background var(--t);
}
.catalog-search__adv:hover { border-color: var(--accent); color: var(--navy-900); }
.catalog-search__adv svg { width: 1rem; height: 1rem; transition: transform var(--t); }
.catalog-search__adv.is-open svg { transform: rotate(180deg); }
.catalog-search__submit { flex: 0 0 auto; }
.catalog-search__adv-panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.85rem;
  padding: 0.85rem 0.5rem 0.4rem;
  margin-top: 0.4rem;
  border-top: 1px solid var(--border);
}
.catalog-search__adv-panel[hidden] { display: none; }

/* Homepage hero variant — sits on the dark hero, so give the bar room. */
.hero__search { margin-top: 1.75rem; max-width: 46rem; }
.hero__search .catalog-search { box-shadow: var(--shadow-lg); }

@media (max-width: 560px) {
  .catalog-search__adv span { display: none; }
  .catalog-search__submit span { display: none; }
  .catalog-search__input { flex-basis: 8rem; }
}

.empty-state {
  text-align: center;
  padding: clamp(2.5rem, 2rem + 3vw, 4.5rem) 1.5rem;
  background: var(--surface);
  border: 1px dashed var(--border-strong);
  border-radius: var(--r-lg);
  color: var(--muted);
}
.empty-state svg { width: 3rem; height: 3rem; color: var(--muted-2); margin: 0 auto 1rem; }

/* ---------- Car detail ---------------------------------------------------- */
.car-detail { display: grid; grid-template-columns: 1.65fr 1fr; gap: clamp(1.5rem, 1rem + 2vw, 2.75rem); align-items: start; }

.gallery { position: relative; }
.gallery__main {
  display: block;
  width: 100%;
  padding: 0;
  aspect-ratio: 16 / 10;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--border);
  cursor: zoom-in;
}
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
/* Single-image / placeholder state on type-detail: don't fake a zoomable photo */
.gallery__main.is-placeholder { cursor: default; }
.gallery__main.is-placeholder img { object-fit: contain; }

/* Car detail header + key facts */
.car-head { margin-bottom: clamp(1.25rem, 1rem + 1vw, 1.75rem); }
.car-head__title { font-size: var(--fs-h2); }
.car-head__sub { color: var(--muted); font-size: 1.05rem; margin-top: 0.35rem; }

.fact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0.85rem; }
.fact-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1rem 1.15rem;
}
.fact-card__label { display: flex; align-items: center; gap: 0.45rem; font-size: 0.82rem; color: var(--muted); }
.fact-card__label svg { width: 1.05rem; height: 1.05rem; color: var(--accent-700); flex: none; }
.fact-card__value { font-family: var(--font-head); font-weight: 600; font-size: clamp(0.98rem, 0.85rem + 0.5vw, 1.15rem); color: var(--navy-900); overflow-wrap: anywhere; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 0.6rem; margin-top: 0.75rem; }
.gallery__thumb {
  aspect-ratio: 4 / 3;
  border-radius: var(--r-sm);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  background: var(--surface-2);
}
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb.is-active { border-color: var(--accent); }

.car-aside { position: sticky; top: 6rem; display: flex; flex-direction: column; gap: 1.25rem; }
.price-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.price-box__label { font-size: 0.85rem; color: var(--muted); }
.price-box__price { font-family: var(--font-head); font-weight: 700; font-size: clamp(2rem, 1.6rem + 1.5vw, 2.6rem); color: var(--navy-900); letter-spacing: -0.03em; line-height: 1.1; }
/* "Quote on request" — intentional treatment, not a missing number */
.price-box--request .price-box__price { font-size: var(--fs-h4); color: var(--accent-700); letter-spacing: -0.01em; }
.price-box__note { font-size: 0.85rem; color: var(--muted); margin-top: 0.3rem; }
.price-box .btn { margin-top: 1.1rem; }
.price-box__contact { display: flex; flex-direction: column; gap: 0.6rem; margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px solid var(--surface-2); }
.price-box__contact a { display: flex; align-items: center; gap: 0.6rem; font-weight: 600; color: var(--navy-800); min-width: 0; overflow-wrap: anywhere; }
.price-box__contact svg { width: 1.2rem; height: 1.2rem; color: var(--accent-600); }

.specs-table { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0.1rem; background: var(--border); border-radius: var(--r); overflow: hidden; border: 1px solid var(--border); }
.specs-table__row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.85rem 1.1rem; background: #fff; }
.specs-table__row dt { color: var(--muted); font-size: 0.9rem; }
.specs-table__row dd { font-family: var(--font-head); font-weight: 600; color: var(--navy-900); font-size: 0.95rem; text-align: right; }

.equip-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0.6rem 1.25rem; }
.equip-list li { display: flex; align-items: center; gap: 0.6rem; color: var(--text-soft); font-size: 0.95rem; }
.equip-list svg { width: 1.1rem; height: 1.1rem; color: var(--success); flex: none; }

.prose { max-width: 70ch; color: var(--text-soft); line-height: 1.75; }
.prose > * + * { margin-top: 1.1rem; }
.prose h2 { font-size: var(--fs-h3); margin-top: 2rem; }
.prose h3 { font-size: var(--fs-h4); margin-top: 1.6rem; }
.prose ul { display: flex; flex-direction: column; gap: 0.5rem; padding-left: 1.2rem; list-style: disc; }
.prose a { color: var(--accent-700); text-decoration: underline; text-underline-offset: 2px; }
.prose img { border-radius: var(--r); margin-block: 1.5rem; }

.content-block + .content-block { margin-top: clamp(2rem, 1.5rem + 2vw, 3.25rem); }
.content-block > h2 { font-size: var(--fs-h3); margin-bottom: 1rem; }

/* ---------- Breadcrumbs --------------------------------------------------- */
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: var(--muted); padding-block: 1.1rem; }
.breadcrumbs a:hover { color: var(--accent-700); }
.breadcrumbs svg { width: 0.9rem; height: 0.9rem; color: var(--muted-2); }
.breadcrumbs [aria-current] { color: var(--navy-900); font-weight: 600; }

/* ---------- Page hero (inner pages) --------------------------------------- */
.page-hero {
  background: linear-gradient(160deg, var(--navy-900), var(--navy-700));
  color: #eaf0f8;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(80% 120% at 90% 0%, rgba(245,130,31,0.18), transparent 50%);
}
.page-hero__inner { position: relative; z-index: 1; padding-block: clamp(2.5rem, 1.5rem + 5vw, 4.5rem); }
.page-hero h1 { color: #fff; }
.page-hero .lead { color: #bccadc; margin-top: 1rem; }
.page-hero .breadcrumbs { color: #93a4ba; padding-bottom: 0.4rem; }
.page-hero .breadcrumbs [aria-current] { color: #fff; }
.page-hero .breadcrumbs a:hover { color: var(--accent-300); }
.page-hero .breadcrumbs svg { color: #6e8099; }

/* ---------- Split / media sections ---------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.75rem, 1rem + 3vw, 4rem); align-items: center; }
.split--media-right .split__media { order: 2; }
.split__media img { border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.media-frame {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: linear-gradient(160deg, var(--navy-700), var(--navy-900));
  aspect-ratio: 4 / 3;
  position: relative;
}

.check-list { display: flex; flex-direction: column; gap: 0.85rem; }
.check-list li { display: flex; align-items: flex-start; gap: 0.7rem; color: var(--text-soft); }
.check-list svg { width: 1.4rem; height: 1.4rem; color: var(--success); flex: none; margin-top: 1px; }
.section--navy .check-list li { color: #c6d2e2; }

/* ---------- FAQ accordion ------------------------------------------------- */
.faq { max-width: 820px; margin-inline: auto; display: flex; flex-direction: column; gap: 0.75rem; }
.faq__item { background: #fff; border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; }
.faq__item[open] { border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.35rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--navy-900);
  cursor: pointer;
  list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q .ic { width: 1.4rem; height: 1.4rem; flex: none; color: var(--accent-600); transition: transform var(--t); }
.faq__item[open] .faq__q .ic { transform: rotate(45deg); }
.faq__a { padding: 0 1.35rem 1.35rem; color: var(--muted); }

/* ---------- CTA band ------------------------------------------------------ */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  background:
    radial-gradient(100% 140% at 90% 10%, rgba(245,130,31,0.28), transparent 50%),
    linear-gradient(160deg, var(--navy-800), var(--navy-900));
  color: #fff;
  padding: clamp(2.25rem, 1.5rem + 4vw, 4rem);
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #c2cfe0; margin: 1rem auto 1.75rem; max-width: 52ch; font-size: 1.075rem; }
.cta-band .btn-row { justify-content: center; }

/* ---------- Forms (contact / lead) ---------------------------------------- */
.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: clamp(1.5rem, 1.1rem + 1.5vw, 2.25rem); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-grid .field--full { grid-column: 1 / -1; }
.consent { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.85rem; color: var(--muted); }
.consent input { width: 1.15rem; height: 1.15rem; margin-top: 0.15rem; accent-color: var(--accent); flex: none; }
.consent a { color: var(--accent-700); text-decoration: underline; }
.form-status { display: none; padding: 1rem 1.25rem; border-radius: var(--r); margin-top: 1rem; font-size: 0.95rem; }
.form-status--ok { display: block; background: var(--success-bg); color: var(--success); }
.form-status--error { display: block; background: #fdeceb; color: var(--danger); }

.info-card { background: var(--navy-800); color: #cdd9e8; border-radius: var(--r-lg); padding: clamp(1.5rem, 1.1rem + 1.5vw, 2.25rem); }
.info-card h3 { color: #fff; }
.info-list { display: flex; flex-direction: column; gap: 1.1rem; margin-top: 1.25rem; }
.info-list__item { display: flex; gap: 0.85rem; }
.info-list__icon { width: 2.6rem; height: 2.6rem; border-radius: var(--r-sm); background: rgba(245,130,31,0.16); color: var(--accent-300); display: grid; place-items: center; flex: none; }
.info-list__icon svg { width: 1.3rem; height: 1.3rem; }
.info-list__label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: #8ea0b8; }
.info-list__value { color: #fff; font-weight: 600; }
.info-list__value a:hover { color: var(--accent-300); }

.map-frame { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border); aspect-ratio: 16 / 7; }
.map-frame iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Data / register table ----------------------------------------- */
.data-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; }
.data-list > div { background: #fff; padding: 0.9rem 1.1rem; }
.data-list dt { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.data-list dd { font-family: var(--font-head); font-weight: 600; color: var(--navy-900); margin-top: 0.15rem; }

/* ---------- Blog ---------------------------------------------------------- */
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; transition: transform var(--t), box-shadow var(--t); }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.post-card__media { aspect-ratio: 16 / 9; background: var(--surface-2); overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 1.35rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.post-card__meta { font-size: 0.8rem; color: var(--muted); display: flex; gap: 0.75rem; align-items: center; flex-wrap: wrap; }
.post-card__title { font-size: 1.2rem; font-family: var(--font-head); color: var(--navy-900); }
.post-card__excerpt { color: var(--muted); font-size: 0.95rem; }
.post-card .link-arrow { margin-top: auto; }
.tag-chip { display: inline-block; padding: 0.25rem 0.7rem; background: var(--accent-100); color: var(--accent-700); border-radius: var(--r-pill); font-size: 0.75rem; font-weight: 600; font-family: var(--font-head); }

.article { max-width: 740px; margin-inline: auto; }
.article__hero { aspect-ratio: 16 / 8; border-radius: var(--r-lg); overflow: hidden; margin-bottom: 2rem; background: var(--surface-2); }
.article__hero img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Footer -------------------------------------------------------- */
.site-footer { background: var(--navy-900); color: #9fb0c6; padding-block: clamp(3rem, 2rem + 3vw, 4.5rem) 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: clamp(1.5rem, 1rem + 2vw, 3rem); }
.footer-brand .brand { color: #fff; }
.footer-brand .brand__name small { color: #6e8099; }
.footer-brand p { margin-top: 1rem; font-size: 0.92rem; line-height: 1.7; max-width: 32ch; }
.footer-social { display: flex; gap: 0.6rem; margin-top: 1.25rem; }
.footer-social a { width: 2.5rem; height: 2.5rem; border-radius: var(--r-sm); background: rgba(255,255,255,0.07); display: grid; place-items: center; color: #cdd9e8; transition: background var(--t), color var(--t); }
.footer-social a:hover { background: var(--accent); color: #fff; }
.footer-social svg { width: 1.2rem; height: 1.2rem; }
.footer-col h4 { color: #fff; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 1.1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col a, .footer-contact li { font-size: 0.92rem; }
.footer-col a:hover { color: var(--accent-300); }
.footer-contact { display: flex; flex-direction: column; gap: 0.85rem; }
.footer-contact li { display: flex; gap: 0.6rem; align-items: flex-start; }
.footer-contact svg { width: 1.15rem; height: 1.15rem; color: var(--accent-300); flex: none; margin-top: 0.15rem; }
.footer-contact a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 2.75rem; padding-top: 1.75rem; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.85rem; color: #74879f; }
.footer-bottom a:hover { color: #fff; }
.footer-legal { display: flex; gap: 1.25rem; flex-wrap: wrap; }

/* ---------- Cookie banner ------------------------------------------------- */
.cookie {
  position: fixed;
  left: 1rem; right: 1rem; bottom: 1rem;
  z-index: 120;
  max-width: 30rem;
  background: var(--navy-900);
  color: #cdd9e8;
  border-radius: var(--r);
  padding: 1.25rem 1.35rem;
  box-shadow: var(--shadow-lg);
  display: none;
}
.cookie[data-show="true"] { display: block; }
.cookie p { font-size: 0.88rem; line-height: 1.55; }
.cookie a { color: var(--accent-300); text-decoration: underline; }
.cookie__actions { display: flex; gap: 0.6rem; margin-top: 1rem; }

/* ---------- Lightbox ------------------------------------------------------ */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(8,16,28,0.92); display: none; align-items: center; justify-content: center; padding: 1.5rem; }
.lightbox[data-open="true"] { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: var(--r); object-fit: contain; box-shadow: var(--shadow-lg); }
.lightbox__close, .lightbox__nav { position: absolute; background: rgba(255,255,255,0.1); color: #fff; border-radius: 50%; width: 3rem; height: 3rem; display: grid; place-items: center; transition: background var(--t); }
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,0.25); }
.lightbox__close { top: 1.25rem; right: 1.25rem; }
.lightbox__nav svg, .lightbox__close svg { width: 1.5rem; height: 1.5rem; }
.lightbox__nav--prev { left: 1.25rem; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 1.25rem; top: 50%; transform: translateY(-50%); }

/* ---------- Utilities ----------------------------------------------------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.flow > * + * { margin-top: 1.1rem; }
.pill-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.35rem 0.85rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-pill); font-size: 0.82rem; color: var(--text-soft); }

/* ---------- Responsive ---------------------------------------------------- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .car-detail { grid-template-columns: 1fr; }
  .car-aside { position: static; }
}

@media (max-width: 980px) {
  .nav__links { display: none; }
  .nav__actions .lang { display: none; }
  .nav__burger { display: inline-flex; }
}

@media (max-width: 860px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
  .split { grid-template-columns: 1fr; }
  .split--media-right .split__media { order: 0; }
}

@media (max-width: 560px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .hero__search { flex-direction: column; border-radius: var(--r-lg); }
  .hero__search input { flex: 0 0 auto; }
  .hero__search .btn { width: 100%; }
  .btn-row .btn { width: 100%; }
  .toolbar { flex-direction: column; align-items: stretch; }
}

@media (max-width: 430px) {
  /* Give the logo room: collapse the header call button to an icon and drop
     the brand tagline (least useful element on a phone). */
  .nav__actions .btn--primary span { display: none; }
  .nav__actions .btn--primary { padding-inline: 0.7rem; }
  .nav { gap: 0.5rem; }
  .brand__name small { display: none; }
  .brand__mark { width: 2rem; height: 2rem; }
}

@media (max-width: 360px) {
  .brand { font-size: 1.05rem; gap: 0.5rem; }
}

/* ==========================================================================
   REDESIGN 2026 — Claude Design handoff
   Animated import-map hero + kinetic sections. Layered on top of the base
   system; new tokens reuse the mockup's naming so the rules read like it.
   ========================================================================== */
:root {
  --ink: #0b141d;
  --ink2: #0f1a24;
  --navy2: #13212e;
  --navy3: #25384a;
  --steel6: #43566c;
  --steel5: #5a6c84;
  --steel4: #8595a8;
  --steel3: #aab6c6;
  --steel2: #cdd5df;
  --paper: #f5f7fa;
  --paper2: #eef1f5;
  --line2: #dfe4ea;
  --amber: #f5a623;
  --amber-d: #e08a0c;
  --amber-ink: #b35407;
  --amber-l: #ffd27a;
  --font-mono: "Space Mono", ui-monospace, "SFMono-Regular", monospace;
  --cwide: 1320px;
}

@keyframes pwping { 0% { box-shadow: 0 0 0 0 rgba(58,209,122,.5); } 70% { box-shadow: 0 0 0 7px rgba(58,209,122,0); } 100% { box-shadow: 0 0 0 0 rgba(58,209,122,0); } }
@keyframes pwscan { 0% { transform: translateY(-120%); } 100% { transform: translateY(820%); } }
@keyframes pwshine { 0% { transform: translateX(-160%) skewX(-18deg); } 60%,100% { transform: translateX(360%) skewX(-18deg); } }
@keyframes pwtravel { 0% { left: 0; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
@keyframes pwbob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes pwfade { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes pwglow { 0%,100% { opacity: .5; transform: scale(1); } 50% { opacity: .82; transform: scale(1.09); } }
@keyframes pwpage { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---- Mono eyebrow accent used across redesigned sections ----------------- */
.eyebrow--mono {
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 0.2em;
  font-size: 0.72rem;
}
.eyebrow--mono::before { display: none; }
.eyebrow--live { display: inline-flex; align-items: center; gap: 0.55rem; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #3ad17a; animation: pwping 1.9s ease-out infinite; flex: none; }

/* ---- Reveal-on-scroll ---------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  will-change: opacity, transform;
}
/* Driven by a keyframe (not `transition`) so elements that define their own
   transition for hover effects still animate in. */
[data-reveal].is-in {
  opacity: 1;
  transform: none;
  animation: pwreveal .7s var(--ease) backwards;
}
@keyframes pwreveal { from { opacity: 0; transform: translateY(28px); } }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  [data-reveal].is-in { animation: none !important; }
}

/* ==========================================================================
   Transparent overlay header (sits on the dark hero, solidifies on scroll)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: transparent;
  backdrop-filter: none;
  border-bottom: 1px solid transparent;
  box-shadow: none;
}
.site-header.is-scrolled {
  background: rgba(245, 247, 250, 0.9);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom-color: var(--line2);
  box-shadow: 0 1px 0 rgba(0,0,0,.05), 0 10px 30px -20px rgba(11,20,29,.5);
}
.nav { min-height: 4.5rem; }
/* Light treatment over the hero */
.site-header:not(.is-scrolled) .brand { color: #fff; }
.site-header:not(.is-scrolled) .brand__name small { color: var(--steel3); }
.site-header:not(.is-scrolled) .nav__link { color: var(--steel2); }
.site-header:not(.is-scrolled) .nav__link:hover { color: #fff; background: rgba(255,255,255,.08); }
.site-header:not(.is-scrolled) .nav__link[aria-current="page"] { color: var(--amber); }
.site-header:not(.is-scrolled) .lang__toggle {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.22);
  color: var(--steel2);
}
.site-header:not(.is-scrolled) .lang__toggle:hover { color: #fff; border-color: rgba(255,255,255,.45); }
.site-header:not(.is-scrolled) .nav__burger { color: #fff; border-color: rgba(255,255,255,.25); }
.brand__mark { transition: filter var(--t); background: none; width: auto; height: 2.6rem; }
.site-header:not(.is-scrolled) .brand__mark { filter: drop-shadow(0 3px 10px rgba(0,0,0,.45)); }

/* ---- Centered-logo split nav (matches the handoff) --------------------- */
.nav--split { display: flex; align-items: center; gap: 24px; min-height: 4.5rem; }
.nav__spacer { flex: 1 1 0; min-width: 0; }
.nav__center { flex: none; display: flex; align-items: center; gap: 6px; }
.nav__center .nav__links { margin-left: 0; gap: 2px; }
.nav__end { flex: 1 1 0; display: flex; align-items: center; gap: 12px; justify-content: flex-end; }
.nav__logo { flex: none; display: flex; align-items: center; margin: 0 clamp(6px, 1.2vw, 16px); }
.nav__logo img { height: 46px; width: auto; display: block; background: none; filter: drop-shadow(0 3px 8px rgba(0,0,0,.4)); transition: filter var(--t); }
.site-header.is-scrolled .nav__logo img { filter: drop-shadow(0 2px 6px rgba(13,20,29,.22)); }
.nav--split .nav__link::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px;
  border-radius: 2px; background: var(--amber); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav--split .nav__link:hover::after,
.nav--split .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.site-header .nav--split .nav__link:hover,
.site-header:not(.is-scrolled) .nav--split .nav__link:hover { background: transparent; }

@media (max-width: 980px) {
  .nav__spacer { display: none; }
  .nav--split .nav__links { display: none; }
  .nav__center { margin-right: auto; gap: 0; }
  .nav__end { flex: 0 0 auto; }
  .nav__end .lang { display: none; }
}
@media (max-width: 430px) {
  .nav__end .btn--primary span { display: none; }
  .nav__end .btn--primary { padding-inline: 0.7rem; }
  .nav__logo img { height: 40px; }
}

/* ==========================================================================
   Hero — full-screen animated import map
   ========================================================================== */
.mhero {
  position: relative;
  overflow: hidden;
  color: #eaf0f6;
  height: 100svh;
  min-height: 540px;
  background: radial-gradient(130% 110% at 56% 34%, #152433 0%, var(--ink) 58%, #050a10 100%);
}
.mhero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.mhero__scan {
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: overlay;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.018) 0 1px, transparent 1px 3px);
}
.mhero__vignette {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(135% 115% at 50% 42%, transparent 52%, rgba(3,7,12,.8));
}
.mhero__stripe {
  position: absolute; left: 0; right: 0; top: 0; height: 4px; opacity: .85;
  background: repeating-linear-gradient(-45deg, var(--amber) 0 10px, var(--ink) 10px 20px);
}
.mhero__floor {
  position: absolute; left: 0; right: 0; bottom: 0; height: 62%; pointer-events: none; z-index: 1;
  background: linear-gradient(180deg, transparent, rgba(5,10,16,.55) 42%, rgba(5,10,16,.92));
}
.mhero__net {
  position: absolute; z-index: 2; right: var(--gutter); top: clamp(88px, 11vh, 116px);
  display: flex; align-items: center; gap: 7px; pointer-events: none;
  font-family: var(--font-mono); font-weight: 700; font-size: 9px;
  letter-spacing: .18em; text-transform: uppercase; color: var(--steel5);
}

/* Floating origin tags positioned by JS */
.mhero__node {
  position: absolute; z-index: 2; transform: translate(-50%, -50%); pointer-events: none;
  background: rgba(8,15,22,.8); border: 1px solid rgba(245,166,35,.32);
  border-radius: 11px; padding: 10px 13px; box-shadow: 0 8px 22px rgba(0,0,0,.45);
}
.mhero__node-head { display: flex; align-items: center; gap: 8px; }
.mhero__code {
  font-family: var(--font-mono); font-weight: 700; font-size: 11px; letter-spacing: .1em;
  color: var(--amber); border: 1px solid rgba(245,166,35,.45); border-radius: 5px; padding: 2px 6px;
}
.mhero__node-name { font-family: var(--font-head); font-weight: 700; font-size: 13px; color: #eaf0f6; }
.mhero__node-sub {
  font-family: var(--font-mono); font-weight: 700; font-size: 8px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--steel4); margin-top: 7px;
}
.mhero__emblem {
  position: absolute; z-index: 2; transform: translate(-50%, -50%); pointer-events: none;
  display: flex; align-items: center; gap: 11px;
}
.mhero__emblem-mark { position: relative; flex: none; width: clamp(54px, 6.5vw, 76px); aspect-ratio: 1; display: grid; place-items: center; }
.mhero__emblem-mark .ring { position: absolute; inset: -26%; border: 1px dashed rgba(245,166,35,.55); border-radius: 50%; }
.mhero__emblem-mark .ring2 { position: absolute; inset: -12%; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; }
.mhero__emblem-mark .halo { position: absolute; inset: -55%; border-radius: 50%; background: radial-gradient(circle, rgba(245,166,35,.18), transparent 62%); }
.mhero__emblem-mark svg,
.mhero__emblem-crest { position: relative; width: 100%; height: auto; background: none; filter: drop-shadow(0 8px 18px rgba(0,0,0,.75)); }
.mhero__emblem-tag {
  position: absolute; left: 132%; top: 50%; transform: translateY(-50%); white-space: nowrap;
  background: rgba(8,15,22,.78); border: 1px solid rgba(255,255,255,.12); border-radius: 8px; padding: 6px 11px;
}
.mhero__emblem-tag b { display: block; font-family: var(--font-head); font-weight: 700; font-size: 11px; color: #eaf0f6; line-height: 1; }
.mhero__emblem-tag span { display: block; font-family: var(--font-mono); font-weight: 700; font-size: 8px; letter-spacing: .16em; text-transform: uppercase; color: var(--amber); margin-top: 3px; }

.mhero__content {
  position: absolute; z-index: 3; left: 50%; transform: translateX(-50%);
  bottom: clamp(64px, 9vh, 96px); width: 100%; max-width: var(--cwide); padding: 0 var(--gutter);
}
.mhero__kicker {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: clamp(16px, 2vw, 24px);
  font-family: var(--font-mono); font-weight: 700; font-size: 11px; letter-spacing: .24em;
  text-transform: uppercase; color: var(--steel4);
}
.mhero__kicker .amber-l { color: var(--amber-l); display: inline-flex; align-items: center; gap: 9px; }
.mhero__kicker .amber { color: var(--amber); }
.mhero__kicker .sep { width: 1px; height: 12px; background: rgba(255,255,255,.18); }
.mhero h1 {
  font-family: var(--font-head); font-weight: 700; color: #fff;
  font-size: clamp(2.2rem, .8rem + 5.2vw, 4.7rem); line-height: .86; letter-spacing: -.05em;
  margin: 0; max-width: 15ch;
}
.mhero h1 .amber { color: var(--amber); }
.mhero__now {
  display: flex; align-items: center; gap: 11px; margin-top: clamp(16px, 2.2vw, 24px);
  font-family: var(--font-mono); font-weight: 700; font-size: 12px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--steel4);
}
.mhero__now .arrow { color: var(--amber); font-size: 1.1em; }
.mhero__cycler {
  display: inline-flex; overflow: hidden; color: #eaf0f6;
  border-bottom: 1px solid rgba(245,166,35,.4); padding-bottom: 2px;
}
.mhero__cycler span { display: inline-block; will-change: transform, opacity; }
.mhero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: clamp(20px, 2.6vw, 30px); }

.mhero__ticker {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 12px; overflow: hidden; padding: 4px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.mhero__ticker-track { display: flex; white-space: nowrap; width: max-content; align-items: center; }
.mhero__ticker-track span {
  display: inline-flex; align-items: center; gap: 26px; padding: 0 26px;
  font-family: var(--font-head); font-weight: 700; font-size: clamp(1.5rem, 3.1vw, 2.5rem);
  letter-spacing: -.015em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.13);
}
.mhero__ticker-track .gem { color: rgba(245,166,35,.55); -webkit-text-stroke: 0; }

@media (max-width: 600px) {
  .mhero__emblem-tag, .mhero__net, .mhero__node { display: none; }
  .mhero h1 { font-size: clamp(2rem, 1rem + 6vw, 3rem); }
}

/* ==========================================================================
   Intro strip — paragraph + animated facts
   ========================================================================== */
.intro-strip {
  position: relative; background: var(--ink); color: #eaf0f6;
  padding: clamp(30px,4vw,50px) var(--gutter) clamp(36px,5vw,58px);
  border-top: 1px solid rgba(255,255,255,.06);
}
.intro-strip__inner {
  max-width: var(--cwide); margin: 0 auto; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: clamp(24px,4vw,60px); align-items: center;
}
.intro-strip__lead { font-size: clamp(1.02rem, .95rem + .4vw, 1.24rem); line-height: 1.55; color: var(--steel2); max-width: 46ch; margin: 0; }
.facts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(124px, 1fr)); gap: 1px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.09); border-radius: 12px; overflow: hidden;
}
.facts__cell { background: rgba(8,15,22,.5); padding: 15px 16px; }
.facts__n { font-family: var(--font-head); font-weight: 700; font-size: 1.7rem; color: var(--amber); line-height: 1; font-variant-numeric: tabular-nums; }
.facts__n small { font-size: .5em; }
.facts__label { font-family: var(--font-mono); font-weight: 700; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: var(--steel4); margin-top: 8px; }
.facts__sub { font-size: 11px; color: var(--steel5); margin-top: 5px; line-height: 1.35; }

/* ==========================================================================
   Section number watermark (shared)
   ========================================================================== */
.numlabel {
  font-family: var(--font-head); font-weight: 700; line-height: .78; color: transparent;
  font-size: clamp(3rem, 2rem + 4vw, 5.5rem); -webkit-text-stroke: 1.5px var(--line2);
}
.section--navy .numlabel { -webkit-text-stroke-color: rgba(255,255,255,.12); }

/* ==========================================================================
   WHY — guarantee spine (scroll-tracked rail)
   ========================================================================== */
.why { position: relative; overflow: hidden; }
.why__glow { position: absolute; top: 0; right: -6%; width: min(46vw,560px); height: min(46vw,560px); pointer-events: none; background: radial-gradient(circle, rgba(245,166,35,.06), transparent 64%); }
.why__grid { position: relative; display: grid; grid-template-columns: minmax(0,.82fr) minmax(0,1.55fr); gap: clamp(28px,5vw,86px); align-items: start; }
.why__aside { position: sticky; top: 96px; }
.why__big { font-family: var(--font-head); font-weight: 700; font-size: clamp(3.4rem,2rem+5vw,6.4rem); line-height: .78; color: transparent; -webkit-text-stroke: 1.5px var(--line2); }
.why__chip {
  display: inline-flex; align-items: center; gap: 14px; margin-top: clamp(26px,3vw,42px);
  padding: 12px 18px 12px 12px; background: #fff; border: 1px solid var(--line2);
  border-radius: 14px; box-shadow: 0 8px 24px -16px rgba(13,20,29,.5);
}
.why__chip-mark { position: relative; flex: none; width: 40px; height: 48px; display: grid; place-items: center; color: var(--amber); animation: pwbob 4.5s ease-in-out infinite; background: url("/assets/img/brand/shield.png") center/contain no-repeat; }
.why__chip-mark > svg { display: none; }
.why__chip-mark > span { transform: translateY(-2px); }
.why__chip b { display: block; font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--text); }
.why__chip span { display: block; font-family: var(--font-mono); font-weight: 700; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

.spine { position: relative; padding-left: clamp(56px,6vw,76px); }
.spine__rail { position: absolute; left: clamp(20px,2.4vw,28px); top: 18px; bottom: 18px; width: 2px; background: var(--line2); }
.spine__fill { position: absolute; left: clamp(20px,2.4vw,28px); top: 18px; width: 2px; height: 0; border-radius: 2px; background: linear-gradient(180deg, var(--amber), var(--amber-d)); box-shadow: 0 0 14px rgba(245,166,35,.55); }
.spine__item { position: relative; padding: clamp(22px,3vw,34px) 0; border-top: 1px solid var(--line2); transition: padding-left .35s var(--ease); }
.spine__item:hover { padding-left: 14px; }
.spine__node {
  position: absolute; left: calc(-1 * clamp(56px,6vw,76px) + clamp(20px,2.4vw,28px) - 20px);
  top: clamp(20px,3vw,30px); width: 42px; height: 50px; display: grid; place-items: center; color: var(--amber);
  background: url("/assets/img/brand/shield.png") center/contain no-repeat;
  transition: filter .45s, opacity .45s, transform .45s; filter: grayscale(.55) brightness(.7); opacity: .5; transform: scale(.9);
}
.spine__node.is-lit { filter: none; opacity: 1; transform: scale(1); }
.spine__head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.spine__idx { font-family: var(--font-mono); font-weight: 700; font-size: 13px; letter-spacing: .06em; color: var(--amber-ink); }
.spine__item h3 { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.2rem,1rem+.7vw,1.62rem); line-height: 1.12; margin: 0; transition: color .3s; }
.spine__item:hover h3 { color: var(--amber-ink); }
.spine__uline { display: block; height: 3px; width: 0; background: var(--amber); border-radius: 2px; margin-top: 12px; transition: width .4s var(--ease); }
.spine__item:hover .spine__uline { width: 42px; }
.spine__item p { font-size: .98rem; line-height: 1.6; color: var(--muted); margin-top: 12px; max-width: 54ch; }
.spine__end { border-top: 1px solid var(--line2); }

/* ==========================================================================
   Sourcing — origin scan panels
   ========================================================================== */
.src-grid { display: flex; flex-wrap: wrap; gap: clamp(14px,1.6vw,20px); }
.src-card {
  position: relative; overflow: hidden; flex: 1 1 260px; min-width: 240px;
  background: linear-gradient(160deg, rgba(37,56,74,.55), rgba(15,26,36,.5));
  border: 1px solid rgba(255,255,255,.09);
  padding: clamp(24px,2.4vw,32px) clamp(22px,2.2vw,28px) clamp(26px,2.6vw,32px);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
  transition: transform .5s var(--ease), background .45s, border-color .45s;
}
.src-card:hover { transform: translateY(-8px); border-color: rgba(245,166,35,.5); background: linear-gradient(160deg, rgba(54,76,98,.7), rgba(20,33,46,.62)); }
.src-card__glow { position: absolute; inset: 0; opacity: 0; pointer-events: none; background: radial-gradient(120% 90% at 18% 0, rgba(245,166,35,.14), transparent 60%); transition: opacity .45s; }
.src-card:hover .src-card__glow { opacity: 1; }
.src-card__scan { position: absolute; left: 0; right: 0; top: 0; height: 34%; pointer-events: none; background: linear-gradient(180deg, transparent, rgba(245,166,35,.1), transparent); animation: pwscan 6s linear infinite; }
.src-card__top { position: relative; display: flex; align-items: center; justify-content: space-between; }
.src-card__num { font-family: var(--font-head); font-weight: 700; font-size: 1.7rem; color: rgba(255,255,255,.08); }
.src-card h3 { position: relative; font-family: var(--font-head); font-weight: 600; font-size: 1.34rem; color: #fff; margin: 22px 0 0; }
.src-card p { position: relative; font-size: .94rem; line-height: 1.58; color: var(--steel3); margin: 11px 0 0; }
.src-card__route {
  position: relative; display: flex; align-items: center; gap: 9px; margin-top: 20px; padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.09); font-family: var(--font-mono); font-weight: 700; font-size: 10px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--steel4);
}
.src-card__route .amber { color: var(--amber); }

/* ==========================================================================
   Process — animated route of shields
   ========================================================================== */
.route { position: relative; }
.route__line { position: absolute; left: 34px; right: 34px; top: 36px; height: 2px; background: repeating-linear-gradient(90deg, var(--line2) 0 7px, transparent 7px 14px); }
.section--navy .route__line { background: repeating-linear-gradient(90deg, rgba(255,255,255,.18) 0 7px, transparent 7px 14px); }
.route__spark { position: absolute; left: 34px; right: 34px; top: 36px; height: 2px; overflow: visible; pointer-events: none; }
.route__spark::before { content: ""; position: absolute; top: 50%; transform: translateY(-50%); width: 64px; height: 10px; border-radius: 6px; background: linear-gradient(90deg, transparent, var(--amber), transparent); filter: blur(1px); animation: pwtravel 4.8s linear infinite; }
.route__steps { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(176px, 1fr)); gap: clamp(22px,2vw,34px); }
.route__step { cursor: default; }
.shield { position: relative; width: 60px; height: 72px; display: grid; place-items: center; z-index: 1; overflow: hidden; transition: transform .4s var(--ease); }
.shield__bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.shield__num { position: relative; font-family: var(--font-head); font-weight: 700; font-size: 1.12rem; color: var(--amber); transform: translateY(-3px); }
.shield__shine { position: absolute; top: 0; bottom: 0; left: 0; width: 36%; pointer-events: none; background: linear-gradient(90deg, transparent, rgba(255,255,255,.4), transparent); transform: translateX(-160%) skewX(-18deg); }
.route__step:hover .shield { transform: translateY(-7px) scale(1.06); }
.route__step:hover .shield__shine { animation: pwshine .9s ease; }
.route__step h3 { font-family: var(--font-head); font-weight: 600; font-size: 1.12rem; margin: 24px 0 0; }
.route__step p { font-size: .92rem; line-height: 1.55; color: var(--muted); margin: 10px 0 0; max-width: 24ch; }
.section--navy .route__step h3 { color: #eaf0f6; }
.section--navy .route__step p { color: var(--steel3); }

/* ==========================================================================
   B2B band — bullet capsules
   ========================================================================== */
.b2b-band { position: relative; overflow: hidden; }
.b2b-band__glow { position: absolute; top: 0; bottom: 0; right: 0; width: 46%; pointer-events: none; background: radial-gradient(circle at 78% 46%, rgba(245,166,35,.16), transparent 62%); }
.b2b-band__grid { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(34px,5vw,72px); align-items: center; }
.caps { display: grid; gap: clamp(10px,1.2vw,14px); }
.cap {
  position: relative; overflow: hidden; display: flex; gap: 16px; align-items: center;
  background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.09);
  padding: clamp(15px,1.6vw,19px) clamp(16px,1.8vw,22px); border-radius: 13px;
  transition: transform .35s var(--ease), background .35s, border-color .35s;
}
.cap:hover { transform: translateY(-6px); background: rgba(245,166,35,.06); border-color: rgba(245,166,35,.45); }
.cap__bar { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--amber); transition: width .35s var(--ease); }
.cap:hover .cap__bar { width: 3px; }
.cap__icon { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; background: rgba(245,166,35,.12); border: 1px solid rgba(245,166,35,.28); color: var(--amber); transition: transform .35s var(--ease); }
.cap:hover .cap__icon { transform: scale(1.12) translateY(-2px); }
.cap__text { flex: 1; font-size: 1rem; line-height: 1.45; color: #eaf0f6; }
.cap__idx { flex: none; font-family: var(--font-mono); font-weight: 700; font-size: 12px; letter-spacing: .06em; color: rgba(255,255,255,.22); }

/* ==========================================================================
   FAQ — ledger rows (built on <details>)
   ========================================================================== */
.faq-ledger { display: grid; grid-template-columns: minmax(0,.72fr) minmax(0,1.55fr); gap: clamp(28px,5vw,80px); align-items: start; }
.faq-ledger__aside { position: sticky; top: 96px; }
.faq-ledger__big { font-family: var(--font-head); font-weight: 700; font-size: clamp(3.4rem,2rem+5vw,6.4rem); line-height: .78; color: transparent; -webkit-text-stroke: 1.5px var(--line2); }
.faq-rows { display: flex; flex-direction: column; }
.faq-row { position: relative; border-top: 1px solid var(--line2); border-radius: 12px; overflow: hidden; transition: background .3s; }
.faq-row[open] { background: #fff; }
.faq-row::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--amber); transition: width .35s var(--ease); z-index: 1; }
.faq-row[open]::before { width: 3px; }
.faq-row__q {
  display: grid; grid-template-columns: auto 1fr auto; gap: clamp(14px,2vw,26px); align-items: center;
  padding: clamp(20px,2.4vw,28px) clamp(14px,1.6vw,22px); cursor: pointer; list-style: none;
}
.faq-row__q::-webkit-details-marker { display: none; }
.faq-row__idx { font-family: var(--font-mono); font-weight: 700; font-size: 13px; letter-spacing: .06em; color: var(--amber-ink); }
.faq-row__title { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.05rem,.9rem+.5vw,1.32rem); line-height: 1.2; color: var(--text); transition: color .3s; }
.faq-row[open] .faq-row__title { color: var(--amber-ink); }
.faq-row__chev { display: inline-flex; color: var(--amber-ink); transition: transform .35s var(--ease); }
.faq-row[open] .faq-row__chev { transform: rotate(180deg); }
.faq-row__chev svg { width: 22px; height: 22px; }
.faq-row__a { padding: 0 clamp(14px,1.6vw,22px) 26px clamp(40px,5vw,62px); font-size: 1rem; line-height: 1.65; color: var(--muted); max-width: 66ch; animation: pwfade .4s var(--ease); }

/* ==========================================================================
   CTA — amber band with grid
   ========================================================================== */
.cta-amber { position: relative; overflow: hidden; background: var(--amber); color: var(--ink); }
.cta-amber__grid { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(11,20,29,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(11,20,29,.06) 1px, transparent 1px); background-size: 40px 40px; }
.cta-amber__inner { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta-amber h2 { color: var(--ink); }
.cta-amber p { font-size: 1.05rem; line-height: 1.55; color: rgba(11,20,29,.78); margin-top: 16px; max-width: 60ch; }

/* ==========================================================================
   Grid backdrop for navy sections
   ========================================================================== */
.gridbg { position: absolute; inset: 0; pointer-events: none; opacity: .5; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 48px 48px; }

/* ==========================================================================
   Inner page hero — WOLA watermark + amber stripe (overlays fixed header)
   ========================================================================== */
.page-hero {
  background: radial-gradient(120% 110% at 28% 0, #152433 0%, var(--ink) 60%, #050a10 100%);
}
.page-hero::after { display: none; }
.page-hero__inner { padding-block: clamp(118px, 14vh, 158px) clamp(48px, 7vw, 80px); }
.page-hero__stripe { position: absolute; left: 0; right: 0; top: 0; height: 4px; opacity: .85; z-index: 2; background: repeating-linear-gradient(-45deg, var(--amber) 0 10px, var(--ink) 10px 20px); }
.page-hero__watermark {
  position: absolute; right: -1vw; bottom: -3vh; pointer-events: none; user-select: none; z-index: 0;
  font-family: var(--font-head); font-weight: 700; line-height: .72; letter-spacing: -.05em; white-space: nowrap;
  font-size: clamp(110px, 21vw, 320px); color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.04);
}
.page-hero__net {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 18px;
  font-family: var(--font-mono); font-weight: 700; font-size: 11px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--steel4);
}
.page-hero__net .amber-l { color: var(--amber-l); display: inline-flex; align-items: center; gap: 9px; }
.page-hero__net .amber { color: var(--amber); }
.page-hero__net .sep { width: 1px; height: 12px; background: rgba(255,255,255,.18); }
.page-hero .h1 { font-family: var(--font-head); font-weight: 700; font-size: clamp(2.3rem,1.2rem+3.4vw,4rem); line-height: .96; letter-spacing: -.03em; }
.page-hero .breadcrumbs { display: none; }

/* ---- Icon sizing inside redesigned components ---------------------------- */
.spine__node svg { width: 20px; height: 20px; transform: translateY(-2px); }
.why__chip-mark > span svg { width: 16px; height: 16px; }
.cap__icon svg { width: 19px; height: 19px; }
.src-card__route svg { width: 18px; height: 18px; flex: none; color: rgba(245,166,35,.7); }
.faq-ledger__aside .link-arrow svg { width: 1.05em; height: 1.05em; }

/* ==========================================================================
   Buttons — refined radius to match the handoff
   ========================================================================== */
.btn { border-radius: 12px; }
.btn--lg { border-radius: 13px; }
.lang__toggle { border-radius: 8px; }

/* ---- Footer crest -------------------------------------------------------- */
.footer-logo { display: inline-flex; align-items: center; gap: 16px; }
.footer-logo img { width: 104px; height: auto; background: none; filter: drop-shadow(0 10px 18px rgba(0,0,0,.4)); }
.footer-logo__name { font-family: var(--font-head); font-weight: 700; font-size: 18px; letter-spacing: .01em; color: #fff; line-height: 1; }
.footer-logo__name small { display: block; font-family: var(--font-mono); font-weight: 400; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--steel5); margin-top: 6px; }

/* ---- Redesign responsive ------------------------------------------------- */
@media (max-width: 900px) {
  .why__grid, .faq-ledger { grid-template-columns: 1fr; gap: clamp(1.5rem, 1rem + 3vw, 2.5rem); }
  .why__aside, .faq-ledger__aside { position: static; top: auto; }
  .why__big, .faq-ledger__big { font-size: clamp(2.6rem, 2rem + 4vw, 4rem); }
}
@media (max-width: 600px) {
  .spine { padding-left: clamp(40px, 12vw, 56px); }
  .route__line, .route__spark { display: none; }
  .faq-row__q { grid-template-columns: auto 1fr auto; gap: 12px; }
}
