/*
 * Font ospitati dall'app: nessuna richiesta a fonts.googleapis.com o fonts.gstatic.com, quindi
 * l'indirizzo IP di chi apre le pagine (tecnici e clienti finali compresi) non arriva a Google.
 * File woff2 presi dal CDN di Google Fonts il 28/10/2026, sottoinsiemi latin e latin-ext.
 * Inter e Manrope: SIL Open Font License 1.1. Material Icons: Apache License 2.0.
 */

/* Inter, variabile 300-800 */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(/fonts/inter-latin-ext.woff2) format('woff2');
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(/fonts/inter-latin.woff2) format('woff2');
  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;
}

/* Manrope, variabile 500-800 */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url(/fonts/manrope-latin-ext.woff2) format('woff2');
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url(/fonts/manrope-latin.woff2) format('woff2');
  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;
}


/* Routevance, landing routevance.com
 * Palette e font dal sistema di marca dell'app (src/FleetRoute.Web/src/styles/_tokens.scss) e dalla brochure:
 * teal #14B8A6 per i fill con testo near-black sopra, smeraldo #34D399 come accento sul nero di marca #0A1413.
 * Font Inter (testo) e Manrope (titoli) ospitati in /fonts: nessuna richiesta a terzi. */


/* ---------- Token ---------- */
:root {
  --ink: #0a1413;
  --teal: #14b8a6;
  --teal-strong: #0d9488;
  --emerald: #34d399;

  --bg: #ffffff;
  --bg-soft: #f1f6f5;
  --surface: #ffffff;
  --surface-2: #f6f9f8;
  --line: rgba(10, 20, 19, 0.1);
  --line-strong: rgba(10, 20, 19, 0.16);
  --heading: #0a1413;
  --text: #293533;          /* 12,2:1 su bianco */
  --muted: #4f5b59;         /* 6,9:1 su bianco, 6,3:1 su --bg-soft */
  --brand-text: #0e6b64;    /* 6,4:1 su bianco */
  --accent-text: #047857;
  --on-fill: #0a1413;       /* testo sopra teal: 7,5:1 */
  --shadow: 0 1px 2px rgba(10, 20, 19, 0.05), 0 12px 32px -12px rgba(10, 20, 19, 0.18);
  --shadow-lg: 0 2px 4px rgba(10, 20, 19, 0.06), 0 32px 64px -24px rgba(10, 20, 19, 0.32);

  --logo-tile: #0d9488;
  --logo-glyph: #ffffff;
  --logo-route: #0a1413;
  --logo-vance: #0d9488;

  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Manrope', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: ui-monospace, 'SF Mono', 'Cascadia Code', Menlo, monospace;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);

  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1200px;
  --radius: 18px;
  --radius-sm: 12px;
  --section-y: clamp(72px, 10vw, 136px);

  --z-header: 100;
  --z-menu: 110;
  --z-skip: 200;

  color-scheme: light;
}

/* Superfici scure di marca (hero, fascia privacy, chiusura): stessi token, valori fissi in entrambi i temi. */
.on-dark,
:root[data-theme='dark'] {
  --bg: #0a1413;
  --bg-soft: #0e1b19;
  --surface: #11201e;
  --surface-2: #152724;
  --line: rgba(233, 245, 242, 0.1);
  --line-strong: rgba(233, 245, 242, 0.18);
  --heading: #f2f8f6;
  --text: #cad7d4;          /* 12:1 su #0a1413 */
  --muted: #a3b3b0;         /* 8,4:1 */
  --brand-text: #2dd4bf;
  --accent-text: #34d399;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 16px 40px -16px rgba(0, 0, 0, 0.7);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.4), 0 40px 80px -24px rgba(0, 0, 0, 0.8);

  --logo-tile: #14b8a6;
  --logo-glyph: #0a1413;
  --logo-route: #ffffff;
  --logo-vance: #34d399;
}

:root[data-theme='dark'] { color-scheme: dark; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #0a1413;
    --bg-soft: #0e1b19;
    --surface: #11201e;
    --surface-2: #152724;
    --line: rgba(233, 245, 242, 0.1);
    --line-strong: rgba(233, 245, 242, 0.18);
    --heading: #f2f8f6;
    --text: #cad7d4;
    --muted: #a3b3b0;
    --brand-text: #2dd4bf;
    --accent-text: #34d399;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 16px 40px -16px rgba(0, 0, 0, 0.7);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.4), 0 40px 80px -24px rgba(0, 0, 0, 0.8);
    --logo-tile: #14b8a6;
    --logo-glyph: #0a1413;
    --logo-route: #ffffff;
    --logo-vance: #34d399;
    color-scheme: dark;
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); color: var(--heading); margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: rgba(52, 211, 153, 0.35); color: inherit; }

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

.wrap { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.center { text-align: center; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: var(--z-skip);
  background: var(--teal); color: var(--on-fill); padding: 10px 16px; border-radius: 10px; font-weight: 600;
  text-decoration: none; transition: top 0.2s var(--ease-out);
}
.skip:focus { top: 12px; }
.nobr { white-space: nowrap; }
.final.not-found { min-height: 100vh; display: grid; place-items: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.icon { width: 1.25em; height: 1.25em; flex: none; }
.icon-xs { width: 15px; height: 15px; }
.icon-sm { width: 19px; height: 19px; }

.h2 {
  font-size: clamp(2rem, 1.35rem + 2.6vw, 3.25rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.032em;
}
.h3 {
  font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
}
.lead { font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem); color: var(--muted); max-width: 62ch; margin-top: 20px; }

.section { padding-block: var(--section-y); }

/* ---------- Pulsanti ---------- */
.btn {
  --btn-h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--btn-h); padding: 0 22px;
  border-radius: 14px; border: 1px solid transparent;
  font: 650 1rem/1 var(--font-body); letter-spacing: -0.005em;
  text-decoration: none; white-space: nowrap;
  transition: transform 0.25s var(--ease-out), background-color 0.25s var(--ease-out), border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), color 0.25s var(--ease-out);
}
.btn-icon { width: 18px; height: 18px; transition: transform 0.3s var(--ease-out); }
.btn:hover .btn-icon { transform: translateX(3px); }
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--teal); color: var(--on-fill); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 8px 24px -8px rgba(20, 184, 166, 0.6); }
.btn-primary:hover { background: #2dd4bf; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.3) inset, 0 12px 32px -8px rgba(20, 184, 166, 0.7); }
.btn-outline { color: var(--heading); border-color: var(--line-strong); background: rgba(255, 255, 255, 0.04); }
.btn-outline:hover { border-color: var(--emerald); background: rgba(52, 211, 153, 0.08); }
.btn-outline:hover .btn-icon { transform: translate(2px, -2px); }
.btn-ghost { color: var(--heading); border-color: var(--line-strong); background: transparent; }
.btn-ghost:hover { border-color: var(--teal); background: rgba(20, 184, 166, 0.08); }
.btn-ghost:hover .btn-icon[viewBox] { transform: translate(2px, -2px); }
.btn-sm { --btn-h: 40px; padding: 0 16px; border-radius: 11px; font-size: 0.9375rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-header);
  color: var(--heading);
  transition: background-color 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), backdrop-filter 0.35s var(--ease-out);
}
/* Sopra l'hero l'header e' trasparente e usa i colori scuri di marca; dopo lo scroll prende la superficie del tema. */
.site-header:not(.is-solid) {
  --heading: #f2f8f6; --muted: #a3b3b0; --line-strong: rgba(233, 245, 242, 0.18);
  --logo-tile: #14b8a6; --logo-glyph: #0a1413; --logo-route: #ffffff; --logo-vance: #34d399;
}
.site-header.is-solid {
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  backdrop-filter: saturate(1.6) blur(16px);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: inline-flex; flex: none; border-radius: 10px; }
.logo { width: 152px; height: auto; }
.logo-tile { fill: var(--logo-tile); }
.logo-glyph { stroke: var(--logo-glyph); }
.logo-dot { fill: var(--logo-glyph); }
.logo-route { fill: var(--logo-route); }
.logo-vance { fill: var(--logo-vance); }

.nav { margin-inline: auto; }
.nav ul { display: flex; gap: 4px; }
.nav a {
  display: block; padding: 8px 14px; border-radius: 10px;
  color: var(--heading); opacity: 0.82; text-decoration: none; font-size: 0.9375rem; font-weight: 550;
  transition: opacity 0.2s, background-color 0.2s;
}
.nav a:hover { opacity: 1; background: color-mix(in srgb, var(--heading) 8%, transparent); }
.nav-mobile-only { display: none; }

.header-tools { display: flex; align-items: center; gap: 6px; }
.tool {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 40px; min-width: 40px; padding: 0 10px; border-radius: 11px;
  border: 0; background: transparent; color: var(--heading); cursor: pointer;
  font: 600 0.8125rem/1 var(--font-body); letter-spacing: 0.02em; text-decoration: none;
  transition: background-color 0.2s;
}
.tool:hover { background: color-mix(in srgb, var(--heading) 9%, transparent); }
.header-login { color: var(--heading); text-decoration: none; font-weight: 600; font-size: 0.9375rem; padding: 8px 12px; border-radius: 10px; opacity: 0.85; }
.header-login:hover { opacity: 1; background: color-mix(in srgb, var(--heading) 8%, transparent); }
.header-cta { margin-left: 6px; }

/* Icona del tema: sole in chiaro (per passare a scuro si mostra la luna) */
.theme-toggle .i-sun { display: none; }
:root[data-theme='dark'] .theme-toggle .i-sun { display: block; }
:root[data-theme='dark'] .theme-toggle .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .theme-toggle .i-sun { display: block; }
  :root:not([data-theme='light']) .theme-toggle .i-moon { display: none; }
}

.menu-toggle { display: none; }
.menu-toggle .i-close { display: none; }
.menu-toggle[aria-expanded='true'] .i-close { display: block; }
.menu-toggle[aria-expanded='true'] .i-menu { display: none; }

@media (max-width: 960px) {
  .header-login { display: none; }
}
@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 72px 0 auto 0; z-index: var(--z-menu);
    margin: 0; padding: 8px var(--gutter) 20px;
    background: var(--bg); box-shadow: 0 1px 0 var(--line), 0 24px 40px -20px rgba(0, 0, 0, 0.35);
    --heading: #0a1413;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out), visibility 0s linear 0.25s;
  }
  :root[data-theme='dark'] .nav { --heading: #f2f8f6; }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav ul { flex-direction: column; gap: 2px; }
  .nav a { padding: 14px 4px; font-size: 1.0625rem; opacity: 1; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-mobile-only { display: block; }
  .site-header:has(.nav.is-open) { background: var(--bg); }
  .site-header:has(.nav.is-open):not(.is-solid) { --heading: #0a1413; --logo-tile: #0d9488; --logo-glyph: #fff; --logo-route: #0a1413; --logo-vance: #0d9488; }
}
@media (max-width: 860px) and (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .nav { --heading: #f2f8f6; }
  :root:not([data-theme='light']) .site-header:has(.nav.is-open):not(.is-solid) { --heading: #f2f8f6; --logo-tile: #14b8a6; --logo-glyph: #0a1413; --logo-route: #fff; --logo-vance: #34d399; }
}
:root[data-theme='dark'] .site-header:has(.nav.is-open):not(.is-solid) { --heading: #f2f8f6; --logo-tile: #14b8a6; --logo-glyph: #0a1413; --logo-route: #fff; --logo-vance: #34d399; }
@media (max-width: 480px) {
  .logo { width: 132px; }
  .header-inner { gap: 8px; }
  .tool.lang span { display: none; }
  .header-cta { padding: 0 12px; margin-left: 2px; }
}
/* Su schermi stretti resta il solo simbolo: il riquadro occupa i primi 64/270 del logo. */
@media (max-width: 420px) {
  .header-inner .brand { width: 36px; overflow: hidden; }
  .header-inner .logo { width: 152px; max-width: none; flex: none; }
  .header-tools { margin-left: auto; }
}
@media (max-width: 330px) {
  .tool.lang { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  background: var(--bg); color: var(--text);
  padding-top: calc(72px + clamp(40px, 7vw, 96px));
  padding-bottom: clamp(56px, 6vw, 96px);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-video { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.55) contrast(1.05); opacity: 0.7; }
.hero-shade {
  position: absolute; inset: 0;
  background:
    radial-gradient(80% 70% at 78% 40%, rgba(20, 184, 166, 0.16), transparent 70%),
    linear-gradient(90deg, rgba(10, 20, 19, 0.96) 0%, rgba(10, 20, 19, 0.86) 45%, rgba(10, 20, 19, 0.72) 100%),
    linear-gradient(180deg, rgba(10, 20, 19, 0.3) 0%, rgba(10, 20, 19, 0) 30%, rgba(10, 20, 19, 0.9) 100%);
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(40px, 5vw, 72px); align-items: center;
}
.hero-title {
  font-size: clamp(2.6rem, 1.4rem + 4.6vw, 5.1rem);
  font-weight: 800; line-height: 1.02; letter-spacing: -0.038em;
}
.ht-line { display: inline; }
.ht-accent { color: var(--emerald); }
.ht-dot { color: var(--heading); }
.hero-lead { margin-top: 28px; font-size: clamp(1.0625rem, 0.98rem + 0.4vw, 1.25rem); line-height: 1.62; max-width: 56ch; color: var(--text); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-ctas.center { justify-content: center; }
.hero-note { display: flex; align-items: center; gap: 8px; margin-top: 20px; font-size: 0.9375rem; color: var(--muted); }
.hero-note .icon { color: var(--emerald); }

/* Scena prodotto */
.scene { position: relative; margin: 0; padding: 0 0 36px 0; }
.scene-panel {
  position: relative;
  background: linear-gradient(180deg, rgba(21, 39, 36, 0.92), rgba(14, 27, 25, 0.94));
  border: 1px solid rgba(233, 245, 242, 0.12);
  border-radius: 22px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 40px 80px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.scene-head { display: flex; justify-content: space-between; align-items: flex-start; padding: 18px 20px 14px; }
.scene-title { font: 700 1rem/1.2 var(--font-display); color: var(--heading); letter-spacing: -0.01em; }
.scene-sub { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 0.8125rem; color: var(--muted); }
.sample-tag {
  font: 600 0.75rem/1 var(--font-body); color: #0a1413; background: rgba(52, 211, 153, 0.9);
  padding: 5px 9px; border-radius: 999px;
}
.scene-map { position: relative; height: 210px; margin: 0 12px; border-radius: 14px; overflow: hidden; background: #0c1917; border: 1px solid rgba(233, 245, 242, 0.06); }
.scene-map svg { width: 100%; height: 100%; overflow: visible; }
.map-roads path { fill: none; stroke: rgba(233, 245, 242, 0.1); stroke-width: 9; stroke-linecap: round; }
.map-roads path.minor { stroke: rgba(233, 245, 242, 0.06); stroke-width: 4; }
.route-shadow { fill: none; stroke: rgba(20, 184, 166, 0.22); stroke-width: 12; stroke-linecap: round; }
.route { fill: none; stroke: var(--teal); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.map-depot rect { fill: #f2f8f6; }
.map-depot path { fill: none; stroke: #0a1413; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.map-stop circle { fill: #0a1413; stroke: var(--teal); stroke-width: 2.5; }
.map-stop text { fill: #f2f8f6; font: 700 12px var(--font-body); text-anchor: middle; }
.map-stop.done circle { fill: var(--teal); stroke: var(--teal); }
.map-stop.done text { fill: #0a1413; }
.map-stop.live circle { fill: var(--emerald); stroke: var(--emerald); }
.map-stop.live text { fill: #0a1413; }
.map-stop .pulse { fill: rgba(52, 211, 153, 0.35) !important; stroke: none !important; transform-box: fill-box; transform-origin: center; }
.eta-chip {
  position: absolute; right: 12px; bottom: 12px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: 12px;
  background: rgba(10, 20, 19, 0.82); border: 1px solid rgba(233, 245, 242, 0.12);
  font-size: 0.8125rem; color: var(--text);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.eta-chip strong { color: var(--heading); font-weight: 700; font-variant-numeric: tabular-nums; }
.eta-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.2); flex: none; }

.stops { padding: 10px 12px 14px; display: grid; gap: 2px; }
.stop { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 9px 8px; border-radius: 10px; }
.stop + .stop { border-top: 1px solid rgba(233, 245, 242, 0.06); }
.stop-n {
  width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%;
  font: 700 0.75rem/1 var(--font-body); color: var(--heading); border: 1.5px solid rgba(20, 184, 166, 0.7);
}
.stop-done .stop-n { background: var(--teal); color: #0a1413; border-color: var(--teal); }
.stop-live { background: rgba(52, 211, 153, 0.08); }
.stop-live .stop-n { background: var(--emerald); color: #0a1413; border-color: var(--emerald); }
.stop-body { display: flex; flex-direction: column; min-width: 0; }
.stop-place { font-size: 0.875rem; font-weight: 600; color: var(--heading); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stop-window { font-size: 0.75rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.stop-status { font-size: 0.75rem; font-weight: 600; color: var(--muted); padding: 4px 8px; border-radius: 999px; background: rgba(233, 245, 242, 0.06); }
.stop-done .stop-status { color: var(--brand-text); }
.stop-live .stop-status { color: #0a1413; background: var(--emerald); }

.scene-card {
  position: absolute; right: -18px; bottom: 0; width: min(290px, 78%);
  padding: 16px 16px 14px;
  background: #f7fbfa; color: #293533;
  border-radius: 18px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.4) inset;
}
.card-kicker { font-size: 0.75rem; font-weight: 600; color: #4f5b59; display: flex; align-items: center; gap: 6px; }
.card-kicker::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #f59e0b; }
.card-title { font: 700 1rem/1.25 var(--font-display); color: #0a1413; margin-top: 4px; letter-spacing: -0.01em; }
.card-proposal { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 10px; border-radius: 12px; background: rgba(20, 184, 166, 0.1); }
.avatar { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #0d9488; color: #fff; font: 700 0.75rem/1 var(--font-body); flex: none; }
.card-label { display: block; font-size: 0.6875rem; font-weight: 600; color: #0e6b64; }
.card-who { display: block; font-size: 0.875rem; font-weight: 650; color: #0a1413; }
.card-actions { display: flex; gap: 8px; margin-top: 12px; }
.mini-btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 32px; padding: 0 14px; border-radius: 9px;
  font: 650 0.8125rem/1 var(--font-body); color: inherit;
  border: 1px solid rgba(10, 20, 19, 0.14);
}
.mini-primary { background: var(--teal); color: #0a1413; border-color: transparent; }

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .scene { max-width: 560px; }
  .scene-card { right: -8px; }
}
@media (max-width: 560px) {
  /* La proposta scende sotto il pannello e lo sormonta solo sul bordo: tutte le tappe restano leggibili. */
  .scene { padding-bottom: 0; }
  .scene-card { position: relative; right: auto; bottom: auto; margin: -24px 10px 0 auto; width: calc(100% - 34px); }
  .scene-map { height: 180px; }
  .hero-ctas .btn { width: 100%; }
}

/* Coreografia d'ingresso dell'hero: il contenuto e' visibile di default, l'animazione parte da sola (nessuna classe JS). */
@media (prefers-reduced-motion: no-preference) {
  .hero-title .ht-line, .hero-title .ht-dot, .hero-lead, .hero-ctas, .hero-note {
    animation: rise 1s var(--ease-expo) both;
  }
  .hero-title .ht-accent { animation-delay: 0.08s; }
  .hero-title .ht-dot { animation-delay: 0.14s; }
  .hero-lead { animation-delay: 0.2s; }
  .hero-ctas { animation-delay: 0.3s; }
  .hero-note { animation-delay: 0.38s; }
  .scene-panel { animation: panel-in 1.2s var(--ease-expo) 0.2s both; }
  .route { stroke-dashoffset: 1; animation: draw 1.8s var(--ease-out) 0.7s forwards; }
  .map-stop.d1 { --d: 1; } .map-stop.d2 { --d: 2; } .map-stop.d3 { --d: 3; } .map-stop.d4 { --d: 4; }
  .map-stop { animation: pop 0.6s var(--ease-expo) both; animation-delay: calc(0.75s + var(--d) * 0.32s); transform-box: fill-box; transform-origin: center; }
  .map-stop .pulse { animation: pulse 2.4s var(--ease-out) 2.4s infinite; }
  .stop { animation: rise 0.8s var(--ease-expo) both; }
  .stop:nth-child(1) { animation-delay: 0.9s; }
  .stop:nth-child(2) { animation-delay: 1.0s; }
  .stop:nth-child(3) { animation-delay: 1.1s; }
  .stop:nth-child(4) { animation-delay: 1.2s; }
  .eta-chip { animation: rise 0.8s var(--ease-expo) 1.9s both; }
  .scene-card { animation: card-in 1s var(--ease-expo) 2.2s both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); filter: blur(6px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes panel-in { from { opacity: 0; transform: translateY(28px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes card-in { from { opacity: 0; transform: translateY(24px) scale(0.96); filter: blur(8px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(0.4); } to { opacity: 1; transform: scale(1); } }
@keyframes pulse { 0% { transform: scale(1); opacity: 0.9; } 100% { transform: scale(2.6); opacity: 0; } }

/* ---------- Per chi ---------- */
.audience-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.sectors li { padding: 22px 0; border-top: 1px solid var(--line-strong); }
.sectors li:last-child { border-bottom: 1px solid var(--line-strong); }
.sectors h3 { font-size: 1.25rem; font-weight: 750; letter-spacing: -0.015em; display: flex; align-items: center; gap: 12px; }
.sectors h3::before { content: ''; width: 10px; height: 10px; border-radius: 50%; border: 2.5px solid var(--teal); flex: none; }
.sectors p { margin-top: 6px; padding-left: 22px; color: var(--muted); }
@media (max-width: 860px) { .audience-grid { grid-template-columns: 1fr; } }

/* ---------- Problemi ---------- */
.problems { background: var(--bg-soft); }
.problems-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.problems-title { position: sticky; top: 112px; }
.problem-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(28px, 4vw, 56px); }
.problem-list li { padding: 24px 0 28px; border-top: 1px solid var(--line-strong); }
.problem-list h3 { font-size: 1.1875rem; font-weight: 750; letter-spacing: -0.015em; line-height: 1.25; }
.problem-list p { margin-top: 8px; color: var(--muted); font-size: 1rem; }
@media (max-width: 960px) {
  .problems-grid { grid-template-columns: 1fr; }
  .problems-title { position: static; }
}
@media (max-width: 600px) { .problem-list { grid-template-columns: 1fr; } }

/* ---------- Come funziona: i passi sono tappe di un giro ---------- */
.route-steps {
  position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px); margin-top: clamp(48px, 6vw, 80px);
}
.route-steps::before {
  content: ''; position: absolute; left: 28px; right: 28px; top: 27px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--teal), var(--emerald));
  transform-origin: left center;
}
.route-steps li { position: relative; }
.step-node {
  position: relative; display: grid; place-items: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--bg); border: 3px solid var(--teal);
  font: 800 1.25rem/1 var(--font-display); color: var(--heading);
  box-shadow: 0 0 0 8px var(--bg);
}
.route-steps li:last-child .step-node { background: var(--teal); color: var(--on-fill); }
.route-steps h3 { margin-top: 24px; font-size: 1.375rem; font-weight: 800; letter-spacing: -0.02em; }
.route-steps p { margin-top: 8px; color: var(--muted); font-size: 1rem; }
@media (max-width: 860px) {
  .route-steps { grid-template-columns: 1fr; gap: 0; }
  .route-steps::before { left: 26px; right: auto; top: 28px; bottom: 28px; width: 3px; height: auto; background: linear-gradient(180deg, var(--teal), var(--emerald)); transform-origin: center top; }
  .route-steps li { display: grid; grid-template-columns: 56px 1fr; column-gap: 20px; padding-bottom: 32px; }
  .route-steps li:last-child { padding-bottom: 0; }
  .step-node { grid-row: span 2; }
  .route-steps h3 { margin-top: 12px; }
}

/* Rivelazione allo scroll solo dove il browser la supporta in CSS: senza supporto il contenuto e' gia' visibile. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .route-steps::before { animation: grow-x linear both; animation-timeline: view(); animation-range: entry 20% cover 45%; }
    .step-node { animation: node-in linear both; animation-timeline: view(); animation-range: entry 10% cover 30%; }
    .feature .vignette { animation: lift linear both; animation-timeline: view(); animation-range: entry 0% cover 30%; }
    .plan { animation: lift linear both; animation-timeline: view(); animation-range: entry 0% cover 25%; }
  }
  @media (max-width: 860px) and (prefers-reduced-motion: no-preference) {
    .route-steps::before { animation-name: grow-y; }
  }
}
@keyframes grow-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes grow-y { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes node-in { from { transform: scale(0.6); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes lift { from { transform: translateY(48px); opacity: 0.2; } to { transform: none; opacity: 1; } }

.how { background: var(--bg); padding-top: clamp(72px, 10vw, 136px); }

/* ---------- Funzioni ---------- */
.features { background: var(--bg-soft); }
.features-title { max-width: 16ch; }
.feature {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(40px, 6vw, 96px); align-items: center;
  margin-top: clamp(56px, 8vw, 112px);
}
.feature-flip .feature-copy { order: 2; }
.feature-copy > p { margin-top: 18px; color: var(--muted); max-width: 60ch; }
.checks { display: grid; gap: 12px; margin-top: 24px; }
.checks li { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; font-size: 1rem; }
.checks .icon { width: 22px; height: 22px; padding: 3px; margin-top: 1px; border-radius: 50%; color: var(--on-fill); background: var(--teal); stroke-width: 2.6; }
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; }
  .feature-flip .feature-copy { order: 0; }
}

.vignette {
  position: relative; margin: 0;
  border-radius: 22px; padding: clamp(18px, 2.5vw, 28px);
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}

/* Coda di dispatch */
.v-head { display: flex; justify-content: space-between; align-items: center; font: 700 1rem/1 var(--font-display); color: var(--heading); }
.queue { display: grid; gap: 10px; margin-top: 16px; }
.queue li {
  display: grid; grid-template-columns: 1fr auto; gap: 10px 12px;
  padding: 14px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line);
}
.q-main { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.q-what { font-weight: 650; color: var(--heading); font-size: 0.9375rem; }
.q-where { display: flex; align-items: center; gap: 4px; font-size: 0.8125rem; color: var(--muted); }
.q-sla { font-size: 0.75rem; font-weight: 650; color: var(--accent-text); background: rgba(52, 211, 153, 0.14); padding: 5px 9px; border-radius: 999px; font-variant-numeric: tabular-nums; }
.q-proposal { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 10px; border-top: 1px dashed var(--line-strong); }
.q-who { font-size: 0.875rem; font-weight: 600; color: var(--brand-text); }
.v-dispatch .mini-btn:not(.mini-primary) { border-color: var(--line-strong); }
.replan {
  display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center;
  margin-top: 14px; padding: 14px; border-radius: 14px;
  background: #0a1413; color: #cad7d4;
}
.replan-graph { width: 92px; height: 36px; }
.replan-graph path { fill: none; stroke-width: 2.5; stroke-linecap: round; }
.replan-graph .old { stroke: rgba(233, 245, 242, 0.25); stroke-dasharray: 3 5; }
.replan-graph .new { stroke: var(--emerald); }
.replan-graph circle { fill: var(--emerald); }
.replan-title { font-weight: 650; color: #f2f8f6; font-size: 0.9375rem; }
.replan-text { font-size: 0.8125rem; color: #a3b3b0; }
@media (max-width: 480px) {
  .replan { grid-template-columns: 1fr auto; }
  .replan-graph { display: none; }
}

/* Telefono del tecnico */
.v-phone { display: grid; place-items: center; padding-block: clamp(28px, 4vw, 48px); background:
  radial-gradient(60% 60% at 50% 40%, rgba(20, 184, 166, 0.16), transparent 70%), var(--surface); }
.phone {
  position: relative; width: min(300px, 100%); padding: 12px; border-radius: 42px;
  background: #0a1413; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset, 0 40px 70px -30px rgba(10, 20, 19, 0.6);
}
.phone-notch { position: absolute; top: 20px; left: 50%; width: 82px; height: 22px; margin-left: -41px; border-radius: 20px; background: #000; z-index: 1; }
.phone-screen { border-radius: 32px; background: #f7fbfa; color: #293533; padding: 48px 18px 20px; }
.ph-stop { font-size: 0.75rem; font-weight: 650; color: #0e6b64; }
.ph-customer { font: 800 1.25rem/1.2 var(--font-display); color: #0a1413; letter-spacing: -0.015em; margin-top: 2px; }
.ph-offline {
  display: flex; align-items: center; gap: 6px; margin-top: 12px; padding: 8px 10px; border-radius: 10px;
  background: #fff4dc; color: #7a4b00; font-size: 0.75rem; font-weight: 650;
}
.ph-label { margin-top: 14px; font-size: 0.6875rem; font-weight: 650; color: #4f5b59; }
.ph-checks { margin-top: 6px; display: grid; gap: 6px; }
.ph-checks li { display: flex; align-items: center; gap: 8px; font-size: 0.8125rem; color: #0a1413; }
.ph-checks .icon { color: #fff; background: #0d9488; border-radius: 6px; padding: 2px; stroke-width: 2.6; }
.ph-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 6px; }
.ph-photos span {
  height: 58px; border-radius: 10px; display: grid; place-items: center; color: #0e6b64;
  background: linear-gradient(135deg, #d6ebe7, #eaf4f2);
}
.ph-sign { margin-top: 6px; height: 54px; border-radius: 10px; border: 1px dashed rgba(10, 20, 19, 0.2); display: grid; place-items: center; }
.ph-sign svg { width: 150px; height: 40px; }
.ph-sign path { fill: none; stroke: #0a1413; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ph-done { display: flex; justify-content: center; align-items: center; height: 44px; margin-top: 14px; border-radius: 12px; background: var(--teal); color: #0a1413; font-weight: 700; font-size: 0.875rem; }

/* Cliente finale */
.v-customer { display: grid; gap: 14px; grid-template-columns: 1.2fr 1fr; }
.track-card { grid-row: span 2; padding: 22px; border-radius: 16px; background: #0a1413; color: #cad7d4; display: flex; flex-direction: column; }
.track-label { font-size: 0.875rem; color: #a3b3b0; }
.track-time { font: 800 clamp(2.75rem, 2rem + 3vw, 4rem)/1 var(--font-display); color: #f2f8f6; letter-spacing: -0.03em; margin-top: 8px; font-variant-numeric: tabular-nums; }
.track-bar { margin-top: auto; height: 6px; border-radius: 6px; background: rgba(233, 245, 242, 0.1); overflow: hidden; }
.track-bar span { display: block; height: 100%; width: 68%; border-radius: 6px; background: linear-gradient(90deg, var(--teal), var(--emerald)); }
.track-progress { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 0.8125rem; color: #cad7d4; }
.v-customer .track-card { min-height: 220px; }
.cert-card, .rate-card { padding: 18px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line); }
.cert-card { display: flex; gap: 12px; align-items: center; }
.cert-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(20, 184, 166, 0.14); color: var(--brand-text); flex: none; }
.cert-title { font-weight: 650; color: var(--heading); font-size: 0.9375rem; line-height: 1.3; }
.cert-meta { font-size: 0.8125rem; color: var(--muted); }
.rate-card p { font-weight: 650; color: var(--heading); font-size: 0.9375rem; }
.stars { display: flex; gap: 4px; margin-top: 10px; }
.star { width: 24px; height: 24px; color: #f5b301; fill: #f5b301; stroke-width: 1.2; }
@media (max-width: 520px) {
  .v-customer { grid-template-columns: 1fr; }
  .track-card { grid-row: auto; }
}

/* Codice API */
.v-code { padding: 0; background: #0a1413; border-color: rgba(233, 245, 242, 0.1); overflow: hidden; color: #cad7d4; }
.code-head { display: flex; gap: 7px; padding: 14px 18px; border-bottom: 1px solid rgba(233, 245, 242, 0.08); }
.code-head span { width: 11px; height: 11px; border-radius: 50%; background: rgba(233, 245, 242, 0.16); }
.code { margin: 0; padding: 20px 22px; overflow-x: auto; font: 500 0.84rem/1.75 var(--font-mono); color: #cad7d4; tab-size: 2; }
.code:focus-visible { outline-offset: -3px; }
.c-k { color: var(--emerald); font-weight: 700; }
.c-h { color: #7dd3c7; }
.c-p { color: #9fe5d8; }
.c-s { color: #f2f8f6; }
.c-b { color: #fbbf77; }
.c-ok { color: #0a1413; background: var(--emerald); padding: 2px 8px; border-radius: 6px; font-weight: 700; }
.c-c { color: #a3b3b0; }
.v-code figcaption { padding: 14px 22px 18px; border-top: 1px solid rgba(233, 245, 242, 0.08); font-size: 0.875rem; color: #a3b3b0; }

/* ---------- Fascia privacy ---------- */
.statement {
  position: relative; color: var(--text); overflow: hidden;
  background: linear-gradient(120deg, #0f2f2a 0%, #0b1d1b 55%, #0a1413 100%);
  box-shadow: 0 1px 0 rgba(233, 245, 242, 0.08) inset, 0 -1px 0 rgba(233, 245, 242, 0.08) inset;
  padding-block: clamp(80px, 11vw, 152px);
}
.statement::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(45% 70% at 82% 30%, rgba(52, 211, 153, 0.16), transparent 72%);
}
.statement-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(32px, 5vw, 80px); align-items: end; }
.statement-title { font-size: clamp(2rem, 1.2rem + 3vw, 3.5rem); font-weight: 800; line-height: 1.06; letter-spacing: -0.034em; }
.statement p { color: var(--muted); font-size: 1.0625rem; max-width: 46ch; }
@media (max-width: 860px) { .statement-inner { grid-template-columns: 1fr; } }

/* ---------- Piani ---------- */
.pricing-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; }
.pricing-head .lead { margin-top: 0; }
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: clamp(40px, 5vw, 64px); align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  padding: 26px 24px 24px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line-strong);
}
.plan.is-featured { border: 2px solid var(--teal); padding: 25px 23px 23px; box-shadow: 0 30px 60px -30px rgba(20, 184, 166, 0.45); }
.plan-head { display: flex; justify-content: space-between; align-items: center; min-height: 28px; }
.plan-name { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.015em; }
.plan-badge { font: 700 0.75rem/1 var(--font-body); color: #0a1413; background: var(--teal); padding: 6px 10px; border-radius: 999px; }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin-top: 18px; }
.plan-price .amount { font: 800 clamp(1.875rem, 1.5rem + 1vw, 2.375rem)/1 var(--font-display); color: var(--heading); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.plan-price .per { color: var(--muted); font-size: 0.9375rem; font-weight: 550; }
.plan-eur { margin-top: 6px; font-size: 0.8125rem; color: var(--muted); min-height: 1.3em; }
.plan-tagline { margin-top: 14px; font-size: 0.9375rem; color: var(--text); min-height: 3em; }
.plan-features { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); gap: 10px; flex: 1; align-content: start; }
.plan-features li { font-size: 0.9375rem; }
.plan-features .icon { width: 20px; height: 20px; }
.plan-cta { margin-top: 24px; }
.plan-cta .btn { width: 100%; white-space: normal; text-align: center; padding: 10px 16px; gap: 8px; font-size: 0.9375rem; line-height: 1.2; }
.pricing-note { margin-top: 28px; font-size: 0.9375rem; color: var(--muted); max-width: 80ch; }
@media (max-width: 1100px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .pricing-head { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .plans { grid-template-columns: 1fr; }
  .plan-tagline { min-height: 0; }
  .plan-eur:empty, .plan-eur:has(> :only-child) { display: none; }
}

/* ---------- Avvio e domande ---------- */
.start { background: var(--bg-soft); }
.start-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.start-copy { position: sticky; top: 112px; }
.faq-title { font-size: 1.375rem; margin-bottom: 8px; }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary {
  display: flex; justify-content: space-between; gap: 20px; align-items: center;
  padding: 22px 0; cursor: pointer; list-style: none;
  font: 700 1.0625rem/1.35 var(--font-display); color: var(--heading); letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq-plus { position: relative; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--line-strong); flex: none; transition: transform 0.35s var(--ease-out), background-color 0.25s; }
.faq-plus::before, .faq-plus::after { content: ''; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.8px; margin: -0.9px 0 0 -5.5px; background: currentColor; border-radius: 2px; }
.faq-plus::after { transform: rotate(90deg); transition: transform 0.35s var(--ease-out); }
.faq details[open] .faq-plus { background: var(--teal); border-color: var(--teal); color: #0a1413; }
.faq details[open] .faq-plus::after { transform: rotate(0deg); }
.faq summary:hover .faq-plus { border-color: var(--teal); }
.faq details p { padding: 0 48px 24px 0; color: var(--muted); }
@media (prefers-reduced-motion: no-preference) {
  .faq details[open] p { animation: rise 0.5s var(--ease-expo) both; }
}
@media (max-width: 900px) {
  .start-grid { grid-template-columns: 1fr; }
  .start-copy { position: static; }
  .faq details p { padding-right: 0; }
}

/* ---------- Chiusura ---------- */
.final { position: relative; isolation: isolate; overflow: hidden; background: var(--bg); color: var(--text); padding-block: clamp(96px, 12vw, 168px); text-align: center; }
.final-media {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 70% at 50% 100%, rgba(20, 184, 166, 0.28), transparent 70%),
    linear-gradient(180deg, rgba(10, 20, 19, 0.94), rgba(10, 20, 19, 0.8)),
    url('/media/roads-poster.jpg') center / cover no-repeat;
  filter: saturate(0.5);
}
.final-title { font-size: clamp(2.25rem, 1.3rem + 3.6vw, 4.25rem); font-weight: 800; line-height: 1.04; letter-spacing: -0.036em; max-width: 18ch; margin-inline: auto; }
.final-inner > p { margin-top: 18px; color: var(--muted); font-size: 1.125rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg); border-top: 1px solid var(--line); padding-top: clamp(56px, 7vw, 88px); font-size: 0.9375rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.footer-brand p { margin-top: 14px; color: var(--muted); max-width: 34ch; }
.footer-brand .footer-by { margin-top: 10px; }
.site-footer h2 { font: 700 0.875rem/1.2 var(--font-body); color: var(--heading); margin-bottom: 14px; }
.site-footer ul { display: grid; gap: 10px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--heading); text-decoration: underline; text-underline-offset: 3px; }
.footer-base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px;
  margin-top: clamp(48px, 6vw, 72px); padding-block: 24px 32px; border-top: 1px solid var(--line);
  color: var(--muted); font-size: 0.8125rem;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 340px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Movimento ridotto ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
  .hero-video { display: none; }
}

@media print {
  .site-header, .hero-media, .final-media { display: none; }
  .on-dark { --bg: #fff; --heading: #0a1413; --text: #293533;--muted: #4f5b59; }
}
