/* =========================================================
   Q5 SPORTBACK · ONE OF ONE
   DRG Autoboutique — landing cinematic
   ========================================================= */

:root {
  /* ---------- Colors ---------- */
  --bg:         #050505;           /* deep black */
  --bg-1:       #0a0a0a;           /* surface */
  --bg-2:       #111;              /* surface elevated */
  --bg-3:       #161616;           /* surface higher */
  --line:       rgba(245, 243, 239, .06);
  --line-2:     rgba(245, 243, 239, .12);

  --text:       #f5f3ef;           /* warm white */
  --text-dim:   #9a978f;
  --text-mute:  #6a6862;
  --text-deep:  #2a2926;

  --accent:     #c9a875;           /* champagne · oro caldo */
  --accent-ink: #1a1308;           /* testo scuro su accent */
  --accent-2:   #d4c5a9;           /* cream */

  /* ---------- Typography ---------- */
  --font-sans:     "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display:  "Geist", system-ui, -apple-system, sans-serif;
  --font-mono:     "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* ---------- Spacing scale (8px base) ---------- */
  --space-1:    4px;
  --space-2:    8px;
  --space-3:    12px;
  --space-4:    16px;
  --space-5:    24px;
  --space-6:    32px;
  --space-7:    48px;
  --space-8:    64px;
  --space-9:    96px;
  --space-10:   128px;

  /* ---------- Border radius ---------- */
  --radius-xs:   4px;
  --radius-sm:   8px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-full: 999px;
  --radius:     8px;               /* default */

  /* ---------- Layout ---------- */
  --maxw:       1440px;
  --container-pad: clamp(20px, 4vw, 64px);

  /* ---------- Easing (Linear/Apple style) ---------- */
  --ease:       cubic-bezier(.32,.72,0,1);    /* default · smooth out */
  --ease-out:   cubic-bezier(.16,1,.3,1);     /* expo-out */
  --ease-in-out:cubic-bezier(.65,0,.35,1);
  --ease-snap:  cubic-bezier(.5,0,.1,1);

  /* ---------- Duration ---------- */
  --dur-fast:   .18s;
  --dur:        .32s;
  --dur-slow:   .6s;
  --dur-stage:  1s;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -.005em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11", "tnum";
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; padding: 0; }
/* L'<em> non è più italic — è semplicemente testo dimmed (sostituisce l'italic showy) */
em { font-style: normal; color: var(--text-dim); font-weight: 300; }

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

/* ---------- Container & section ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.section-eyebrow.center { justify-content: center; }
.section-eyebrow .dot,
.dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(201,168,117,.5); }
  50%      { opacity: .6; box-shadow: 0 0 0 6px rgba(201,168,117,0); }
}

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(36px, 5.2vw, 84px);
  line-height: 1.02;
  letter-spacing: -.035em;
  margin: 18px 0 0;
}
.section-title em {
  font-style: normal;
  font-weight: 300;
  color: var(--text-dim);
  letter-spacing: -.035em;
}

.section-head { margin-bottom: clamp(40px, 6vw, 80px); }

/* ---------- LOADER ---------- */
.loader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 200;
  display: grid;
  place-items: center;
  transition: opacity .8s var(--ease-out), visibility .8s var(--ease-out);
}
.loader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.loader__mark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(54px, 9vw, 120px);
  letter-spacing: .04em;
  color: var(--text);
  opacity: 0;
  transform: translateY(20px);
  animation: loaderIn 1s var(--ease-out) .1s forwards;
}
.loader__bar {
  width: 180px;
  height: 1px;
  background: rgba(255,255,255,.1);
  overflow: hidden;
}
.loader__bar i {
  display: block;
  width: 0%;
  height: 100%;
  background: var(--text);
  animation: loaderBar 1.1s var(--ease-out) .2s forwards;
}
@keyframes loaderIn {
  to { opacity: 1; transform: none; }
}
@keyframes loaderBar {
  to { width: 100%; }
}

/* ---------- CUSTOM CURSOR ---------- */
.cursor {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 250;
  mix-blend-mode: difference;
  display: none;
}
@media (hover: hover) and (pointer: fine) {
  .cursor { display: block; }
  html, body { cursor: none; }
  a, button, [data-magnetic], input, textarea, .gallery__item, .strip__slide { cursor: none; }
}
.cursor__dot {
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%);
  transition: transform .15s var(--ease-out), opacity .2s;
}
.cursor__ring {
  position: absolute;
  width: 36px; height: 36px;
  border: 1px solid #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(1);
  transition: transform .35s var(--ease-out), width .3s var(--ease-out), height .3s var(--ease-out), border-color .3s var(--ease-out);
}
.cursor.is-active .cursor__ring {
  transform: translate(-50%, -50%) scale(2.4);
  border-color: rgba(255,255,255,.7);
}
.cursor.is-active .cursor__dot {
  opacity: 0;
}

/* ---------- SCROLL PROGRESS ---------- */
.progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: var(--accent);
  z-index: 150;
  transition: width .1s linear;
}

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 20px var(--container-pad);
  transition: background .4s var(--ease), backdrop-filter .4s var(--ease), padding .4s var(--ease);
}
.nav.is-scrolled {
  background: rgba(5,5,5,.7);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  padding: 14px var(--container-pad);
  border-bottom: 1px solid var(--line);
}
.nav__brand {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}
.nav__brand-mark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: .06em;
}
.nav__brand-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .3em;
  color: var(--text-dim);
}
.nav__links {
  display: inline-flex;
  gap: 32px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-dim);
  justify-self: center;
}
.nav__links a {
  position: relative;
  padding: 6px 0;
  transition: color .3s var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--text);
  transition: width .3s var(--ease);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { width: 100%; }

.nav__cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--text);
  transition: background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
  will-change: transform;
}
.nav__cta:hover {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}
.nav__cta-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
}

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav { grid-template-columns: 1fr auto; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  isolation: isolate;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -3;
  overflow: hidden;
  will-change: transform;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
  image-rendering: -webkit-optimize-contrast;
  filter: contrast(1.05) saturate(.95) brightness(.95);
  transform: scale(1.02);
  animation: heroZoom 3s var(--ease-out) .8s both;
}
@keyframes heroZoom {
  from { transform: scale(1.08); }
  to   { transform: scale(1.02); }
}
.hero__veil {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    /* gradient verticale: scuro top per nav, leggibile centro auto, molto scuro bottom per testo */
    linear-gradient(180deg, rgba(5,5,5,.7) 0%, rgba(5,5,5,.15) 18%, rgba(5,5,5,0) 35%, rgba(5,5,5,.25) 60%, rgba(5,5,5,.85) 85%, rgba(5,5,5,.98) 100%),
    /* gradient orizzontale: scuro sinistra per testo, leggibile auto al centro-destra */
    linear-gradient(90deg, rgba(5,5,5,.7) 0%, rgba(5,5,5,.2) 35%, rgba(5,5,5,0) 60%, rgba(5,5,5,.15) 100%);
}
/* vignette luxury — bordi più scuri al centro più luminoso */
.hero__vignette {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse 100% 80% at 50% 55%, transparent 0%, transparent 40%, rgba(5,5,5,.45) 95%);
}
.hero__grain { display: none; }

.hero__chrome {
  flex: 1;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 130px var(--container-pad) 56px;
  max-width: var(--maxw);
  width: 100%;
  margin: 0 auto;
  gap: 28px;
}
.hero__top { display: flex; }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  width: max-content;
  background: rgba(5,5,5,.35);
  backdrop-filter: blur(10px);
  color: var(--text);
}

.hero__center {
  align-self: end;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(48px, 7.2vw, 108px);
  line-height: .96;
  letter-spacing: -.045em;
  text-transform: none;
}
.hero__title-pre {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 16px;
}
.hero__title .line {
  display: block;
  overflow: hidden;
  padding: 6px 0;
  white-space: nowrap;
}

.hero__tag {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(17px, 1.4vw, 20px);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -.01em;
  color: var(--text);
  max-width: 36ch;
}
.hero__tag em {
  font-style: normal;
  color: var(--text-dim);
  font-weight: 300;
}

/* split-text effect via JS adds .char spans */
.hero__title .char {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1s var(--ease-out);
}
.hero__title.is-in .char { transform: none; }

.hero__bottom {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 32px;
}
.hero__meta {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.hero__sub {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-left: 1px solid var(--line-2);
  padding-left: 16px;
  min-width: 200px;
}
.hero__sub-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.hero__sub-value {
  font-family: var(--font-display);
  font-style: normal;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -.01em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.hero__sub-value small {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .04em;
  color: var(--text-mute);
  text-transform: uppercase;
}
.hero__sub-value [data-rata-anchor] {
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.01em;
}
.hero__action {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}
.hero__ctas {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero__urgency {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--text-dim);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .3em;
  color: var(--text-dim);
  z-index: 2;
}
.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--text-dim) 0%, transparent 100%);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::before {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--text);
  animation: scrollLine 1.8s linear infinite;
}
@keyframes scrollLine {
  from { top: -100%; }
  to   { top: 100%; }
}

@media (max-width: 760px) {
  .hero__chrome { padding: 100px 20px 40px; gap: 20px; }
  .hero__bottom { grid-template-columns: 1fr; align-items: start; gap: 24px; }
  .hero__sub { min-width: 0; flex: 1 1 100%; }
  .hero__action { align-items: stretch; width: 100%; }
  .hero__ctas { flex-direction: column; align-items: stretch; }
  .hero__ctas .cta { width: 100%; justify-content: center; }
  .hero__urgency { justify-content: center; text-align: center; }
  .hero__title { font-size: clamp(42px, 12vw, 80px); }
  .hero__title-pre { font-size: 11px; letter-spacing: .3em; margin-bottom: 12px; }
  .hero__tag { font-size: 16px; max-width: none; }
}

/* =========================================================
   CTA BUTTONS
   ========================================================= */
.cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur-fast) var(--ease);
  will-change: transform;
  white-space: nowrap;
  user-select: none;
}
.cta:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.cta--solid {
  background: var(--text);
  color: var(--bg);
}
.cta--solid:hover {
  background: var(--accent);
  color: var(--accent-ink);
}
.cta--solid:active { transform: scale(.98); }
.cta--ghost {
  border-color: var(--line-2);
  color: var(--text);
}
.cta--ghost:hover {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}
.cta--ghost:active { transform: scale(.98); }
.cta--big {
  padding: 20px 32px;
  font-size: 12px;
}
.cta--block { width: 100%; justify-content: center; }
.cta svg { transition: transform var(--dur) var(--ease-out); }
.cta:hover svg { transform: translateX(4px); }

/* =========================================================
   TICKER (refined data marquee)
   ========================================================= */
.ticker {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: var(--bg);
  padding: 16px 0;
}
.ticker__track {
  display: flex;
  align-items: center;
  gap: 28px;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--text-dim);
  animation: marquee 60s linear infinite;
  will-change: transform;
}
.ticker__track span { padding: 0; }
.ticker__track i {
  flex: 0 0 18px;
  height: 1px;
  background: var(--line-2);
  font-style: normal;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

.footer__marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 0; }
.footer__track {
  display: flex;
  align-items: center;
  gap: 28px;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--text-dim);
  animation: marquee 50s linear infinite;
}
.footer__track i { color: var(--accent); }

/* =========================================================
   STORY (sticky narrative)
   ========================================================= */
.story {
  position: relative;
  background: var(--bg);
}
.story__rail {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}
.story__images {
  position: relative;
  width: 100%; height: 100%;
}
.story__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.1s var(--ease-out), transform 1.6s var(--ease-out);
}
.story__img.is-active {
  opacity: 1;
  transform: scale(1);
}
.story__img::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5,5,5,.85) 0%, rgba(5,5,5,.2) 55%, rgba(5,5,5,0) 100%),
    linear-gradient(180deg, rgba(5,5,5,.45) 0%, rgba(5,5,5,0) 30%, rgba(5,5,5,.45) 100%);
}

.story__content {
  position: relative;
  margin-top: -100vh;
  margin-top: -100svh;
  z-index: 2;
}
.chapter {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 var(--container-pad);
  max-width: 720px;
}
.chapter__index {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.chapter__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(44px, 7vw, 96px);
  line-height: 1;
  letter-spacing: -.025em;
  margin: 0 0 24px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.1s var(--ease-out) .1s, transform 1.1s var(--ease-out) .1s;
}
.chapter__title em {
  font-style: normal;
  font-weight: 400;
  color: var(--text-dim);
}
.chapter__text {
  font-size: 17px;
  color: var(--text-dim);
  max-width: 50ch;
  margin: 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.1s var(--ease-out) .2s, transform 1.1s var(--ease-out) .2s;
}
.chapter.is-in .chapter__index,
.chapter.is-in .chapter__title,
.chapter.is-in .chapter__text {
  opacity: 1;
  transform: none;
}

@media (max-width: 760px) {
  .chapter { padding: 0 24px; }
}

/* =========================================================
   STATS
   ========================================================= */
.stats {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(60px, 10vw, 140px) 0;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}
.stat {
  text-align: left;
  padding: 0 24px;
  border-left: 1px solid var(--line);
}
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(54px, 8vw, 140px);
  line-height: .9;
  letter-spacing: -.04em;
}
.stat__num span {
  font-style: normal;
  color: var(--text-dim);
  font-size: .55em;
}
.stat__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-top: 14px;
}
@media (max-width: 760px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 32px 0; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat { padding: 0 16px; }
}

/* =========================================================
   BENTO
   ========================================================= */
.bento {
  padding: clamp(100px, 14vw, 180px) 0;
  background: var(--bg);
}
.bento__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 180px;
  gap: 12px;
}
.bento__card {
  position: relative;
  background: var(--bg-2) center/cover no-repeat;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  transition: transform .5s var(--ease-out);
}
.bento__card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,.7) 100%);
}
.bento__card:hover {
  transform: translateY(-4px);
}
.bento__card--lg  { grid-column: span 7; grid-row: span 3; }
.bento__card--md  { grid-column: span 5; grid-row: span 3; }
.bento__card--sm  { grid-column: span 6; grid-row: span 2; }
.bento__card--lg:nth-of-type(6) { grid-column: span 12; grid-row: span 3; }

.bento__card--text {
  background: var(--bg-1);
  border: 1px solid var(--line);
}
.bento__card--text::after { display: none; }
.bento__card--accent {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.bento__card--accent .bento__tag { color: rgba(255,255,255,.8); }
.bento__card--accent h3 { color: #fff; }
.bento__card--accent p  { color: rgba(255,255,255,.85); }

.bento__body {
  position: relative;
  z-index: 1;
  padding: 28px;
  width: 100%;
}
.bento__body--text {
  align-self: center;
}
.bento__tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 14px;
}
.bento__card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.05;
  letter-spacing: -.02em;
  margin: 0;
}
.bento__card--text p {
  font-size: 15px;
  color: var(--text-dim);
  margin: 14px 0 0;
}

@media (max-width: 900px) {
  .bento__grid { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 150px; }
  .bento__card--lg { grid-column: span 6; grid-row: span 3; }
  .bento__card--md { grid-column: span 6; grid-row: span 2; }
  .bento__card--sm { grid-column: span 6; grid-row: span 2; }
  .bento__card--lg:nth-of-type(6) { grid-column: span 6; grid-row: span 3; }
}

/* =========================================================
   STRIP (horizontal gallery)
   ========================================================= */
.strip {
  padding: clamp(80px, 12vw, 140px) 0 clamp(60px, 10vw, 120px);
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.strip__head { margin-bottom: 56px; }
.strip__hint {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-top: 24px;
}
.strip__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  /* fondamentale: blocca la "cattura" dello scroll dal contenitore */
  overscroll-behavior-x: contain;
  overscroll-behavior-y: none;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  padding: 0 var(--container-pad);
  scroll-behavior: smooth;
}
.strip__viewport::-webkit-scrollbar { display: none; }
.strip__viewport.is-grabbing { cursor: grabbing; scroll-behavior: auto; }

.strip__track {
  display: flex;
  gap: 16px;
  width: max-content;
  padding-bottom: 8px;
}
.strip__slide {
  position: relative;
  flex: 0 0 auto;
  width: clamp(260px, 32vw, 480px);
  height: clamp(360px, 48vw, 640px);
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-2);
  transition: transform .5s var(--ease-out);
}
.strip__slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-out), filter .5s var(--ease);
  filter: brightness(.92) saturate(.95);
  pointer-events: none;
}
.strip__slide:hover img {
  transform: scale(1.05);
  filter: brightness(1.05) saturate(1.05);
}
.strip__slide__index {
  position: absolute;
  top: 16px; left: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--text);
  background: rgba(0,0,0,.5);
  padding: 4px 10px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

/* =========================================================
   PRICING / TRUST
   ========================================================= */
.pricing {
  padding: clamp(100px, 14vw, 180px) 0;
  background: var(--bg-1);
  border-top: 1px solid var(--line);
  text-align: center;
}
.pricing__inner {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 var(--container-pad);
}
.pricing__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(40px, 6.5vw, 96px);
  line-height: 1;
  letter-spacing: -.025em;
  margin: 22px 0 28px;
}
.pricing__title em {
  font-style: normal;
  font-weight: 400;
  color: var(--text-dim);
}
.pricing__lead {
  font-size: 17px;
  color: var(--text-dim);
  max-width: 60ch;
  margin: 0 auto 40px;
}
.pricing__ctas {
  display: inline-flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.trust {
  list-style: none;
  padding: 0;
  margin: 80px 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-top: 56px;
  text-align: left;
}
.trust li { display: flex; flex-direction: column; gap: 4px; padding-left: 14px; border-left: 1px solid var(--accent); }
.trust strong {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 14px;
  color: var(--text);
}
.trust span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--text-mute);
}
@media (max-width: 760px) {
  .trust { grid-template-columns: 1fr 1fr; gap: 22px; }
}
@media (max-width: 480px) {
  .trust { grid-template-columns: 1fr; }
}

/* =========================================================
   TEST DRIVE
   ========================================================= */
.td {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  min-height: 90vh;
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.td__media {
  background-size: cover;
  background-position: center;
  position: relative;
}
.td__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 60%, rgba(5,5,5,.8) 100%),
    linear-gradient(180deg, rgba(5,5,5,.2) 0%, rgba(5,5,5,0) 30%, rgba(5,5,5,.4) 100%);
}
.td__panel {
  padding: clamp(60px, 9vw, 120px) clamp(28px, 6vw, 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--bg-1);
}
.td__panel .section-title { margin-bottom: 22px; }
.td__lead {
  font-size: 16px;
  color: var(--text-dim);
  margin: 0 0 36px;
  max-width: 50ch;
}

.form { display: flex; flex-direction: column; gap: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field {
  position: relative;
}
.field > span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-mute);
  transition: color var(--dur) var(--ease);
}
.field:focus-within > span { color: var(--accent); }
.field input,
.field textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-2);
  color: var(--text);
  padding: 12px 0;
  font: 400 16px/1.4 var(--font-sans);
  letter-spacing: -.005em;
  outline: none;
  transition: border-color var(--dur) var(--ease);
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--text-mute); font-weight: 300; }
.field input:focus,
.field textarea:focus { border-color: rgba(245,243,239,.25); }

/* Underline animata su focus — sopra il border statico */
.field::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width .45s var(--ease-out);
  pointer-events: none;
}
.field:focus-within::after { width: 100%; }
.form__hint {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .12em;
  color: var(--text-mute);
  margin: 4px 0 0;
}

@media (max-width: 900px) {
  .td { grid-template-columns: 1fr; }
  .td__media { min-height: 320px; }
  .field-row { grid-template-columns: 1fr; }
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--bg); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-top: 80px;
  padding-bottom: 56px;
}
.footer__brand {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 14px;
}
.footer__claim {
  color: var(--text-mute);
  max-width: 32ch;
  margin: 0;
}
.footer h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 0 0 18px;
  font-weight: 500;
}
.footer a, .footer p {
  display: block;
  font-size: 14px;
  color: var(--text-dim);
  margin: 0 0 10px;
  transition: color .25s var(--ease);
}
.footer a:hover { color: var(--text); }

@media (max-width: 760px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
}

/* =========================================================
   STICKY MOBILE DOCK
   ========================================================= */
.dock {
  position: fixed;
  bottom: 14px;
  left: 14px;
  right: 14px;
  z-index: 80;
  display: none;
  gap: 8px;
}
.dock__btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 8px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--text);
  background: rgba(20,20,20,.92);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line-2);
}
.dock__btn--call { flex: 0 0 52px; padding: 14px; }
.dock__btn--wa   { flex: 0 0 52px; padding: 14px; background: rgba(37, 211, 102, .9); color: #fff; border-color: transparent; }
.dock__btn--td   { background: var(--text); color: var(--bg); border-color: var(--text); }

@media (max-width: 760px) {
  .dock { display: flex; }
  body { padding-bottom: 80px; }
}

/* =========================================================
   LIGHTBOX
   ========================================================= */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 180;
  background: rgba(5,5,5,.96);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity .35s var(--ease-out);
}
.lightbox.open { display: flex; opacity: 1; }
.lightbox__img {
  max-width: min(94vw, 1500px);
  max-height: 86vh;
  object-fit: contain;
  box-shadow: 0 40px 100px rgba(0,0,0,.6);
  border-radius: var(--radius);
  transform: scale(.96);
  opacity: 0;
  transition: opacity .5s var(--ease-out) .1s, transform .5s var(--ease-out) .1s;
}
.lightbox.open .lightbox__img { transform: scale(1); opacity: 1; }
.lightbox__close, .lightbox__nav {
  position: absolute;
  width: 52px; height: 52px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: rgba(255,255,255,.04);
  color: var(--text);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.lightbox__close { top: 24px; right: 24px; }
.lightbox__nav--prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox__close:hover, .lightbox__nav:hover {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}
.lightbox__nav--prev:hover { transform: translateY(-50%) translateX(-3px); }
.lightbox__nav--next:hover { transform: translateY(-50%) translateX(3px); }
.lightbox__counter {
  position: absolute;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .25em;
  color: var(--text-dim);
}

/* =========================================================
   REVEAL ANIMATIONS
   ========================================================= */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* =========================================================
   A11Y / reduce motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  html { scroll-behavior: auto; }
  .hero__title .char { transform: none; }
  [data-reveal] { opacity: 1; transform: none; }
  .story__img { opacity: 1; transform: none; }
}

/* =========================================================
   PROMISE BAR
   ========================================================= */
.promise {
  background: var(--bg-1);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.promise__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding-top: 32px;
  padding-bottom: 32px;
}
.promise__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 24px;
  border-left: 1px solid var(--line);
}
.promise__item:first-child { border-left: 0; padding-left: 0; }
.promise__item svg {
  color: var(--accent);
  flex: 0 0 auto;
}
.promise__item strong {
  display: block;
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 2px;
}
.promise__item span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--text-dim);
}
@media (max-width: 900px) {
  .promise__inner { grid-template-columns: 1fr 1fr; gap: 16px; padding-top: 28px; padding-bottom: 28px; }
  .promise__item { padding: 8px 12px; border-left: 0; border-top: 1px solid var(--line); padding-top: 16px; }
  .promise__item:nth-child(-n+2) { border-top: 0; padding-top: 8px; }
}
@media (max-width: 480px) {
  .promise__inner { grid-template-columns: 1fr; gap: 0; }
  .promise__item { border-left: 0; border-top: 1px solid var(--line); padding: 16px 0; }
  .promise__item:first-child { border-top: 0; padding-top: 0; }
}

/* =========================================================
   STORIA AUTO
   ========================================================= */
.history {
  padding: clamp(100px, 14vw, 180px) 0;
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.history__inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.history__media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
}
.history__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}
.history__media:hover img { transform: scale(1.04); }
/* Vecchio seal rotondo — disabilitato a favore di .history__plate */
.history__seal { display: none; }

/* ---------- PLAQUE CERTIFICATA — stile VIN automotive ---------- */
.history__plate {
  position: absolute;
  left: 24px;
  bottom: 24px;
  min-width: 280px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  /* brushed champagne metal: gradiente lineare con leggere variazioni */
  background:
    linear-gradient(180deg, rgba(255,255,255,.05) 0%, transparent 30%),
    linear-gradient(135deg, #d4b88a 0%, #b6985f 50%, #c9a875 100%);
  color: var(--accent-ink);
  border-radius: 2px;
  /* embossed effect: inner light top + dark bottom */
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.4),
    inset 0 -1px 0 rgba(26,19,8,.3),
    inset 0 0 0 1px rgba(255,255,255,.06),
    0 20px 40px -12px rgba(0,0,0,.6),
    0 8px 16px -6px rgba(0,0,0,.5);
  /* very subtle film grain via inline svg */
  background-blend-mode: normal, normal;
  backdrop-filter: blur(2px);
}
.history__plate::before {
  /* 4 viti agli angoli — micro-detail VIN reale */
  content: "";
  position: absolute;
  top: 6px; left: 6px; right: 6px; bottom: 6px;
  background:
    radial-gradient(circle 2px at 0 0, rgba(26,19,8,.45) 0%, transparent 100%),
    radial-gradient(circle 2px at 100% 0, rgba(26,19,8,.45) 0%, transparent 100%),
    radial-gradient(circle 2px at 0 100%, rgba(26,19,8,.45) 0%, transparent 100%),
    radial-gradient(circle 2px at 100% 100%, rgba(26,19,8,.45) 0%, transparent 100%);
  pointer-events: none;
}
.history__plate-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.history__plate-row--meta {
  align-items: flex-end;
}
.history__plate-label {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(26,19,8,.65);
  text-shadow: 0 1px 0 rgba(255,255,255,.25);
}
.history__plate-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: .04em;
  line-height: 1;
  color: var(--accent-ink);
  text-shadow:
    0 1px 0 rgba(255,255,255,.25),
    0 -1px 0 rgba(26,19,8,.15);
}
.history__plate-brand small {
  display: inline-block;
  margin-left: 6px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
  vertical-align: 4px;
  color: rgba(26,19,8,.7);
}
.history__plate-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(26,19,8,.35) 20%, rgba(26,19,8,.35) 80%, transparent 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,.2);
}
.history__plate-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.history__plate-meta > span {
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: rgba(26,19,8,.55);
  text-shadow: 0 1px 0 rgba(255,255,255,.2);
}
.history__plate-meta > strong {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--accent-ink);
  font-variant-numeric: tabular-nums;
}
.history__content { padding-top: 12px; }
.history__content .section-title { margin: 22px 0 22px; }
.history__lead {
  font-size: 16px;
  color: var(--text-dim);
  margin: 0 0 36px;
  max-width: 50ch;
}
.history__data {
  border-top: 1px solid var(--line);
  margin: 0 0 32px;
  padding: 0;
}
.history__data > div {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.history__data dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin: 0;
}
.history__data dd {
  font-family: var(--font-display);
  font-style: normal;
  font-size: 17px;
  color: var(--text);
  margin: 0;
}
.history__data dd span {
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 13px;
  color: var(--text-mute);
}
@media (max-width: 900px) {
  .history__inner { grid-template-columns: 1fr; }
  .history__media { aspect-ratio: 16/10; max-height: 420px; }
  .history__plate { min-width: 0; left: 16px; right: 16px; bottom: 16px; }
  .history__plate-brand { font-size: 20px; }
}

/* =========================================================
   CALCOLATORE RATA
   ========================================================= */
.calc {
  padding: clamp(100px, 14vw, 180px) 0;
  background: var(--bg-1);
  border-top: 1px solid var(--line);
}
.calc__head {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 64px);
}
.calc__lead {
  font-size: 15px;
  color: var(--text-dim);
  max-width: 56ch;
  margin: 18px auto 0;
}
.calc__panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  overflow: hidden;
  max-width: 1080px;
  margin: 0 auto;
}
.calc__controls {
  padding: clamp(36px, 5vw, 56px);
  display: flex;
  flex-direction: column;
  gap: 36px;
  border-right: 1px solid var(--line);
}
.calc__row { display: flex; flex-direction: column; gap: 14px; }
.calc__label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.calc__label output {
  font-family: var(--font-display);
  font-style: normal;
  font-size: 20px;
  color: var(--text);
  letter-spacing: 0;
  text-transform: none;
}

/* range slider styling */
.calc__row input[type="range"] {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 2px;
  background: var(--line-2);
  border-radius: 999px;
  outline: none;
  cursor: pointer;
}
.calc__row input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--text);
  border: 2px solid var(--accent);
  cursor: grab;
  transition: transform .2s var(--ease-out);
  box-shadow: 0 4px 16px rgba(0,0,0,.4);
}
.calc__row input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.15); }
.calc__row input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--text);
  border: 2px solid var(--accent);
  cursor: grab;
}
.calc__scale {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .15em;
  color: var(--text-mute);
}

.calc__result {
  padding: clamp(36px, 5vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  background: var(--bg);
}
.calc__rata { display: flex; flex-direction: column; gap: 8px; }
.calc__rata-pre {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.calc__rata-big {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(48px, 6vw, 84px);
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--text);
}
.calc__rata-big small {
  font-size: .35em;
  font-style: normal;
  font-weight: 400;
  color: var(--text-dim);
}
#calc-rata { color: var(--accent); }
.calc__rata-rate {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .15em;
  color: var(--text-mute);
}
.calc__disclaimer {
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.6;
  letter-spacing: .03em;
  color: var(--text-mute);
  margin: 0;
}
@media (max-width: 900px) {
  .calc__panel { grid-template-columns: 1fr; }
  .calc__controls { border-right: 0; border-bottom: 1px solid var(--line); }
}

/* =========================================================
   COME FUNZIONA (3 STEP)
   ========================================================= */
.howto {
  padding: clamp(100px, 14vw, 180px) 0;
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 40px 32px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform .5s var(--ease-out), border-color .3s var(--ease-out), background .3s var(--ease-out);
}
.step:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  background: var(--bg-2);
}
.step__num {
  font-family: var(--font-display);
  font-style: normal;
  font-size: 64px;
  line-height: 1;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: -.04em;
}
.step h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 26px;
  letter-spacing: -.02em;
  margin: 0;
}
.step p {
  font-size: 15px;
  color: var(--text-dim);
  margin: 0;
  flex: 1;
}
.step__time {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .15em;
  color: var(--text-mute);
  margin-top: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; }
}

/* =========================================================
   RECENSIONI
   ========================================================= */
.reviews {
  padding: clamp(100px, 14vw, 180px) 0;
  background: var(--bg-1);
  border-top: 1px solid var(--line);
}
.reviews__head {
  text-align: center;
  margin-bottom: clamp(56px, 7vw, 80px);
}
.reviews__rating {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 22px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--bg);
  margin-bottom: 26px;
}
.reviews__stars,
.review__stars {
  color: #ffb800;
  letter-spacing: .1em;
  font-size: 16px;
}
.reviews__score strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.reviews__score span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .15em;
  color: var(--text-dim);
}
.reviews__score a { color: var(--text-dim); text-decoration: underline; }
.reviews__lead {
  font-size: 15px;
  color: var(--text-dim);
  margin: 22px auto 0;
  max-width: 56ch;
}
.reviews__lead strong { color: var(--text); }
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.review {
  padding: 28px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform .4s var(--ease-out), border-color .3s var(--ease-out);
}
.review:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
}
.review__stars { font-size: 14px; }
.review p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-dim);
  margin: 0;
  flex: 1;
  font-style: normal;
}
.review footer {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.review footer strong {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.review footer span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .15em;
  color: var(--text-mute);
}
@media (max-width: 1100px) { .reviews__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .reviews__grid { grid-template-columns: 1fr; } }

/* =========================================================
   FAQ
   ========================================================= */
.faq {
  padding: clamp(100px, 14vw, 180px) 0;
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.faq__head {
  text-align: center;
  margin-bottom: clamp(48px, 6vw, 72px);
}
.faq__list {
  max-width: 880px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}
.faq__item {
  border-bottom: 1px solid var(--line);
  padding: 0;
}
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-family: var(--font-display);
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 500;
  color: var(--text);
  transition: color .3s var(--ease);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item:hover summary { color: var(--accent); }
.faq__plus {
  position: relative;
  width: 22px; height: 22px;
  flex: 0 0 22px;
}
.faq__plus::before,
.faq__plus::after {
  content: "";
  position: absolute;
  background: currentColor;
  transition: transform .3s var(--ease-out);
}
.faq__plus::before { top: 50%; left: 0; right: 0; height: 1px; transform: translateY(-50%); }
.faq__plus::after  { left: 50%; top: 0; bottom: 0; width: 1px; transform: translateX(-50%); }
.faq__item[open] .faq__plus::after { transform: translateX(-50%) rotate(90deg); }
.faq__body {
  padding: 0 0 28px;
  max-width: 70ch;
}
.faq__body p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-dim);
  margin: 0;
}

/* =========================================================
   FORM expand / assurance
   ========================================================= */
.form__more {
  margin-top: -4px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 4px;
}
.form__more summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 12px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color .3s var(--ease);
}
.form__more summary::-webkit-details-marker { display: none; }
.form__more summary:hover { color: var(--text); }
.form__more-plus {
  position: relative;
  width: 14px; height: 14px;
}
.form__more-plus::before, .form__more-plus::after {
  content: ""; position: absolute; background: currentColor;
}
.form__more-plus::before { top: 50%; left: 0; right: 0; height: 1px; transform: translateY(-50%); }
.form__more-plus::after  { left: 50%; top: 0; bottom: 0; width: 1px; transform: translateX(-50%); transition: transform .3s var(--ease-out); }
.form__more[open] .form__more-plus::after { transform: translateX(-50%) rotate(90deg); }
.form__more-body {
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.field select {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-2);
  color: var(--text);
  padding: 12px 0;
  font: 400 16px/1.4 var(--font-sans);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.field select option { background: var(--bg-1); color: var(--text); }
.form__assurance {
  list-style: none;
  padding: 16px 0 0;
  margin: 4px 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--text-mute);
}
.form__assurance li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.form__assurance svg {
  flex-shrink: 0;
  color: var(--accent);
}

/* =========================================================
   LOGO (nav · loader · footer)
   ========================================================= */
.nav__logo {
  height: 28px;
  width: auto;
  display: block;
  filter: brightness(1.05);
}
.loader__logo {
  height: 42px;
  width: auto;
  opacity: 0;
  transform: translateY(20px);
  animation: loaderIn 1s var(--ease-out) .1s forwards;
}
.footer__logo {
  height: 32px;
  width: auto;
  display: block;
  margin-bottom: 18px;
  filter: brightness(1.05);
}

/* =========================================================
   CHI SIAMO / TEAM
   ========================================================= */
.team {
  padding: clamp(100px, 14vw, 180px) 0;
  background: var(--bg-1);
  border-top: 1px solid var(--line);
}
.team__lead {
  font-size: 17px;
  color: var(--text-dim);
  max-width: 64ch;
  margin: 18px auto 0;
  text-align: center;
}
.team__lead strong { color: var(--text); font-weight: 500; }

.team__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: clamp(40px, 6vw, 64px);
}
.member {
  position: relative;
  padding: 36px 32px;
  background:
    linear-gradient(180deg, rgba(245,243,239,.02) 0%, transparent 60%),
    var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .5s var(--ease-out), border-color .4s var(--ease-out), box-shadow .4s var(--ease-out);
  overflow: hidden;
}
.member::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(201,168,117,.4) 50%, transparent 100%);
  opacity: 0;
  transition: opacity .5s var(--ease-out);
}
.member:hover {
  transform: translateY(-4px);
  border-color: rgba(201,168,117,.25);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.6), 0 0 0 1px rgba(201,168,117,.08) inset;
}
.member:hover::before { opacity: 1; }
.member__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, #9c7b3f 100%);
  color: var(--accent-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 500;
  font-size: 20px;
  letter-spacing: .02em;
  margin-bottom: 8px;
  box-shadow: 0 10px 30px rgba(201,168,117,.25);
}
.member h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 26px;
  letter-spacing: -.02em;
  margin: 0;
}
.member__role {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.member p {
  font-size: 14px;
  color: var(--text-dim);
  margin: 8px 0 16px;
  flex: 1;
}
.member__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--text);
  transition: background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
  width: fit-content;
}
.member__cta:hover {
  background: #25d366;
  color: #fff;
  border-color: #25d366;
}

.team__partner {
  margin-top: clamp(48px, 6vw, 64px);
  padding: 28px 32px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 2fr;
  gap: 32px;
  align-items: center;
}
.team__partner-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 6px;
}
.team__partner strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 26px;
  letter-spacing: -.01em;
}
.team__partner p {
  font-size: 14px;
  color: var(--text-dim);
  margin: 0;
}

@media (max-width: 900px) {
  .team__grid { grid-template-columns: 1fr; }
  .team__partner { grid-template-columns: 1fr; gap: 16px; padding: 24px; }
}

/* =========================================================
   MAPPA SHOWROOM
   ========================================================= */
/* =========================================================
   SHOWROOM — full-bleed photo + info card overlay
   (sostituisce la vecchia .map con iframe Google)
   ========================================================= */
.showroom {
  position: relative;
  min-height: 640px;
  border-top: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  align-items: center;
  isolation: isolate;
}
.showroom__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  filter: contrast(1.05) saturate(.9) brightness(.85);
}
.showroom__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5,5,5,.95) 0%, rgba(5,5,5,.7) 35%, rgba(5,5,5,.2) 70%, rgba(5,5,5,0) 100%),
    linear-gradient(180deg, rgba(5,5,5,.4) 0%, rgba(5,5,5,0) 30%, rgba(5,5,5,0) 70%, rgba(5,5,5,.5) 100%);
}
.showroom__inner {
  padding: clamp(80px, 12vw, 160px) 0;
  width: 100%;
}
.showroom__content {
  max-width: 540px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.showroom__lead {
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-dim);
  margin: 0;
  max-width: 50ch;
}
.showroom__info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}
.showroom__info-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.showroom__info-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
}
.showroom__info-value {
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
  margin: 0;
  letter-spacing: -.005em;
}
.showroom__info-muted {
  color: var(--text-mute);
  font-size: 12px;
}
.showroom__ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 760px) {
  .showroom {
    min-height: auto;
    align-items: stretch;
  }
  .showroom__bg {
    background-position: center 30%;
  }
  .showroom__veil {
    background:
      linear-gradient(180deg, rgba(5,5,5,.3) 0%, rgba(5,5,5,.85) 55%, rgba(5,5,5,.98) 100%);
  }
  .showroom__inner { padding: 280px 20px 60px; }
  .showroom__content { max-width: none; gap: 22px; }
  .showroom__info { grid-template-columns: 1fr; gap: 18px; padding: 20px 0; }
  .showroom__ctas .cta { flex: 1 1 auto; justify-content: center; min-width: 160px; }
}

/* =========================================================
   FOOTER SOCIAL
   ========================================================= */
.footer__social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  color: var(--text-dim);
  margin: 0;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.footer__social a:hover {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

/* =========================================================
   SCHEDA TECNICA
   ========================================================= */
.specs {
  padding: clamp(100px, 14vw, 180px) 0;
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.specs__lead {
  font-size: 15px;
  color: var(--text-dim);
  max-width: 60ch;
  margin: 18px auto 0;
  text-align: center;
}
.specs__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: clamp(40px, 6vw, 64px);
}
.specs__col {
  position: relative;
  background:
    linear-gradient(180deg, rgba(245,243,239,.015) 0%, transparent 100%),
    var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: transform .5s var(--ease-out), border-color .4s var(--ease-out), box-shadow .4s var(--ease-out);
  overflow: hidden;
}
.specs__col::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(201,168,117,.4) 50%, transparent 100%);
  opacity: 0;
  transition: opacity .5s var(--ease-out);
}
.specs__col:hover {
  transform: translateY(-3px);
  border-color: rgba(201,168,117,.25);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.6), 0 0 0 1px rgba(201,168,117,.08) inset;
}
.specs__col:hover::before { opacity: 1; }
.specs__col header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.specs__col h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -.01em;
}
/* Vecchia classe (con emoji) — non più usata */
.specs__icon { display: none; }

/* Stelline rating EuroNCAP — SVG inline, vector */
.rating-stars {
  display: inline-flex;
  align-items: center;
  color: var(--accent);
  vertical-align: middle;
}
.rating-stars svg { display: block; }

/* Numerazione sezione — taglio editoriale, no emoji */
.specs__num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  padding: 4px 0;
  border-top: 1px solid var(--accent);
  min-width: 32px;
  display: inline-block;
}
.specs__list {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.specs__list > div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.specs__list > div:last-child { border-bottom: 0; }
.specs__list dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin: 0;
}
.specs__list dd {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
  margin: 0;
  text-align: right;
}
.specs__list dd span {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 12px;
  color: var(--text-mute);
  margin-left: 4px;
}
.specs__disclaimer {
  margin: 32px auto 0;
  max-width: 70ch;
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.6;
  letter-spacing: .04em;
  color: var(--text-mute);
  text-align: center;
}
@media (max-width: 900px) {
  .specs__grid { grid-template-columns: 1fr; }
}

/* =========================================================
   DOTAZIONE DI SERIE
   ========================================================= */
.equip {
  padding: clamp(100px, 14vw, 160px) 0;
  background: var(--bg-1);
  border-top: 1px solid var(--line);
}
.equip__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.equip__cat {
  position: relative;
  background:
    linear-gradient(180deg, rgba(245,243,239,.015) 0%, transparent 100%),
    var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color .4s var(--ease-out), transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.equip__cat:hover {
  border-color: rgba(201,168,117,.2);
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -25px rgba(0,0,0,.6);
}
.equip__cat h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -.01em;
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.equip__cat ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.equip__cat li {
  position: relative;
  padding-left: 28px;
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.5;
}
.equip__cat li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}
.equip__cat li::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 9px;
  width: 8px;
  height: 5px;
  border-left: 1.5px solid var(--accent-ink);
  border-bottom: 1.5px solid var(--accent-ink);
  transform: rotate(-45deg);
}
@media (max-width: 760px) {
  .equip__grid { grid-template-columns: 1fr; }
}

/* =========================================================
   CONFRONTO VS NUOVA
   ========================================================= */
.versus {
  padding: clamp(100px, 14vw, 180px) 0;
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.versus__lead {
  font-size: 16px;
  color: var(--text-dim);
  max-width: 60ch;
  margin: 18px auto 0;
  text-align: center;
}
.versus__table {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  margin-top: clamp(40px, 6vw, 64px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.versus__col {
  padding: 36px;
  background: var(--bg-1);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.versus__col--us {
  background: linear-gradient(180deg, var(--bg-1) 0%, rgba(201,168,117,.04) 100%);
  border-left: 1px solid var(--line);
}
.versus__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  padding: 8px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 8px;
}
.versus__badge--accent {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}
.versus__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.versus__col li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.versus__col li:last-child { border-bottom: 0; }
.versus__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.versus__value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  color: var(--text);
  letter-spacing: -.005em;
}
.versus__col--us .versus__value { color: var(--text); }
.versus__col--us .versus__value [data-rata-anchor] { color: var(--accent); font-weight: 600; }

.versus__divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  background: var(--bg);
  font-family: var(--font-display);
  font-style: normal;
  font-size: 22px;
  color: var(--text-dim);
  letter-spacing: .05em;
}

.versus__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: clamp(40px, 5vw, 56px);
  text-align: center;
}
.versus__note {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--text-mute);
  margin: 0;
  max-width: 60ch;
}

@media (max-width: 900px) {
  .versus__table {
    grid-template-columns: 1fr;
  }
  .versus__divider {
    padding: 12px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  .versus__col--us { border-left: 0; }
}

/* =========================================================
   MOBILE POLISH — fix conversioni
   Tutti i fix dedicati a viewport < 760px
   ========================================================= */
@media (max-width: 760px) {
  /* ---- Body: spazio per il dock fisso in basso ---- */
  body { padding-bottom: 96px; }

  /* ---- NAV: solo logo a sinistra, CTA nascosta (c'è nel dock) ---- */
  .nav {
    grid-template-columns: 1fr;
    padding: 14px 20px;
  }
  .nav.is-scrolled { padding: 10px 20px; }
  .nav__cta {
    display: none;
  }
  .nav__logo {
    height: 22px;
  }
  .nav__brand {
    justify-self: start;
  }

  /* ---- HERO: copy compatto, dock-safe (88px sotto = dock + buffer) ---- */
  .hero__chrome {
    padding: 80px 20px 96px;
    gap: 16px;
  }
  /* Eyebrow capsule: wrap a 2 righe se serve invece di troncare */
  .hero__eyebrow {
    font-size: 9px;
    letter-spacing: .14em;
    padding: 7px 12px;
    gap: 8px;
    border-radius: 16px;
    max-width: 100%;
    width: auto;
    white-space: normal;
    line-height: 1.4;
    text-align: left;
  }
  .hero__title-pre {
    font-size: 10px;
    letter-spacing: .28em;
    margin-bottom: 10px;
  }
  .hero__title {
    font-size: clamp(40px, 11vw, 64px);
    line-height: .98;
  }
  .hero__tag {
    font-size: 15px;
    line-height: 1.35;
  }
  .hero__bottom { gap: 18px; }
  /* Meta hero: griglia 2 col compatta invece di 3 verticali */
  .hero__meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 16px;
    flex-direction: initial;
  }
  .hero__sub {
    padding-left: 10px;
    padding-right: 0;
    border-left-width: 1px;
    min-width: 0;
  }
  .hero__sub:nth-child(3) {
    grid-column: 1 / -1;
  }
  .hero__sub-label { font-size: 9px; letter-spacing: .16em; }
  .hero__sub-value { font-size: 13px; }
  /* Urgency: wrap morbido, no truncation */
  .hero__urgency {
    font-size: 10.5px;
    line-height: 1.5;
    margin-top: 8px;
    flex-wrap: wrap;
    white-space: normal;
    align-items: flex-start;
  }
  .hero__urgency .status-dot {
    margin-top: 5px;
    flex-shrink: 0;
  }
  .hero__reassure {
    font-size: 9px;
    line-height: 1.6;
    letter-spacing: .1em;
  }
  .hero__scroll { display: none; }

  /* ---- CTA buttons: più tappabili, altezza minima 48px ---- */
  .cta {
    min-height: 48px;
    padding: 14px 20px;
    font-size: 11px;
  }
  .cta--big {
    min-height: 54px;
    padding: 18px 24px;
    font-size: 12px;
  }

  /* ---- SECTION TITLES: ridotti, più spazio ---- */
  .section-title {
    font-size: clamp(32px, 8vw, 48px);
  }
  .section-head { margin-bottom: 32px; }
  .section-eyebrow { font-size: 10px; letter-spacing: .15em; }

  /* ---- PROMISE BAR: a griglia 2x2 con spazi ridotti ---- */
  .promise__inner {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 28px 20px;
  }
  .promise__item strong { font-size: 13px; }
  .promise__item span { font-size: 11px; }

  /* ---- STRIP / GALLERY ---- */
  .strip { padding: 60px 0 40px; }
  .strip__head { margin-bottom: 28px; padding-left: 20px; padding-right: 20px; }
  .strip__slide {
    width: 78vw;
    height: 100vw;
  }
  .strip__hint { font-size: 10px; }

  /* ---- STORIA AUTO (history) ---- */
  .history { padding: 60px 0; }
  .history__inner { grid-template-columns: 1fr; gap: 28px; }
  .history__media { aspect-ratio: 4/3; }
  .history__plate {
    left: 16px;
    right: 16px;
    bottom: 16px;
    min-width: 0;
    padding: 12px 14px;
    gap: 10px;
  }
  .history__plate-brand { font-size: 18px; }
  .history__plate-meta > strong { font-size: 11px; }

  /* ---- SCHEDA TECNICA ---- */
  .specs { padding: 60px 0; }
  .specs__col { padding: 24px 20px; }
  .specs__col h3 { font-size: 18px; }
  .specs__list dt { font-size: 10px; }
  .specs__list dd { font-size: 14px; }
  .specs__list > div { padding: 10px 0; }
  .specs__disclaimer { font-size: 9px; padding: 0 8px; }

  /* ---- DOTAZIONE ---- */
  .equip { padding: 60px 0; }
  .equip__cat { padding: 24px 20px; }
  .equip__cat h3 { font-size: 18px; margin-bottom: 14px; }
  .equip__cat li { font-size: 13px; padding-left: 24px; }

  /* ---- VERSUS (confronto) ---- */
  .versus { padding: 60px 0; }
  .versus__col { padding: 28px 20px; gap: 14px; }
  .versus__badge { font-size: 10px; padding: 6px 12px; }
  .versus__col li { padding: 12px 0; }
  .versus__label { font-size: 10px; }
  .versus__value { font-size: 15px; }
  .versus__divider { font-size: 18px; }

  /* ---- TEAM ---- */
  .team { padding: 60px 0; }
  .team__partner { padding: 22px; }

  /* ---- FAQ ---- */
  .faq { padding: 60px 0; }
  .faq summary {
    padding: 18px 16px;
    font-size: 14px;
  }
  .faq__body { padding: 0 16px 18px; font-size: 14px; }

  /* ---- TEST DRIVE ---- */
  .td { padding: 60px 0; }
  .td__inner { padding: 0 20px; }
  .td__form-card { padding: 28px 20px; }
  .field input, .field textarea {
    font-size: 16px; /* prevent iOS zoom */
  }

  /* ---- FOOTER ---- */
  .footer__grid { padding: 48px 20px 24px; gap: 32px; }
  .footer__logo { height: 28px; }
  .footer h4 { font-size: 10px; }
  .footer a, .footer p { font-size: 13px; }
  .footer__bottom { padding: 16px 20px; font-size: 11px; flex-direction: column; align-items: flex-start; }
  .footer__marquee { padding: 12px 0; }

  /* ---- DOCK fisso bottom: padding sicuro ---- */
  .dock {
    padding: 10px;
    gap: 8px;
    background: linear-gradient(180deg, rgba(5,5,5,.5) 0%, rgba(5,5,5,.95) 60%);
    border-top: 0;
    padding-bottom: max(10px, env(safe-area-inset-bottom));
  }
  .dock__btn {
    height: 52px;
    font-size: 11px;
    border-radius: 999px;
  }
  .dock__btn--call,
  .dock__btn--wa {
    width: 52px; flex: 0 0 52px;
    border-radius: 50%;
    padding: 0;
  }

  /* ---- Disabilita custom cursor + magnetic (mobile è touch) ---- */
  .cursor { display: none !important; }
}

/* ---- Viewport molto piccoli (iPhone SE, vecchi Android) ---- */
@media (max-width: 380px) {
  .hero__chrome { padding: 76px 16px 92px; }
  .hero__title { font-size: 42px; }
  .container { padding-left: 16px; padding-right: 16px; }
  .promise__inner { grid-template-columns: 1fr; }
  .footer__grid { padding-left: 16px; padding-right: 16px; }
}


/* =========================================================
   STICKY CTA BAR — appare scrollando oltre l'hero
   ========================================================= */
.stickybar {
  position: fixed;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 90;
  width: min(960px, calc(100% - 32px));
  background: rgba(10,10,10,.85);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-full);
  padding: 8px 8px 8px 16px;
  box-shadow: 0 30px 60px -25px rgba(0,0,0,.7), 0 0 0 1px rgba(201,168,117,.05) inset;
  transition: top .55s var(--ease-out), opacity .4s var(--ease);
  opacity: 0;
  pointer-events: none;
}
.stickybar.is-visible {
  top: 16px;
  opacity: 1;
  pointer-events: auto;
}
.stickybar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.stickybar__product {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.stickybar__thumb {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: var(--radius-full);
  flex-shrink: 0;
  border: 1px solid var(--line-2);
}
.stickybar__info {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.stickybar__name {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -.005em;
}
.stickybar__name small {
  font-weight: 400;
  color: var(--text-dim);
  margin-left: 4px;
}
.stickybar__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
}
.stickybar__price strong {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.stickybar__price small {
  font-size: 10px;
  color: var(--text-mute);
}
.stickybar__ctas {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* CTA small variant (sticky bar) */
.cta--sm {
  padding: 10px 16px;
  font-size: 11px;
  letter-spacing: .06em;
}
.cta--sm svg { width: 12px; height: 12px; }

/* CTA WhatsApp variant — verde sottile su hover */
.cta--wa .cta__wa-icon {
  flex-shrink: 0;
  transition: color var(--dur) var(--ease);
}
.cta--wa:hover { background: #25d366; color: #fff; border-color: #25d366; }
.cta--wa:hover .cta__wa-icon { color: #fff; }

/* Mobile: stickybar diventa compatto (solo info essenziale) */
@media (max-width: 760px) {
  .stickybar {
    top: -120px;
    width: calc(100% - 16px);
    padding: 5px 6px 5px 10px;
  }
  .stickybar.is-visible { top: 10px; }
  .stickybar__inner { gap: 10px; }
  .stickybar__name small { display: none; }
  .stickybar__meta { display: none; }            /* nasconde "Edition One · 180 km · consegna" su mobile */
  .stickybar__price { display: none; }            /* nasconde prezzo se presente */
  .stickybar__thumb { width: 32px; height: 32px; }
  .stickybar__info { gap: 0; }
  .stickybar__name { font-size: 12px; line-height: 1.2; }
  /* Su mobile mostriamo solo la CTA solid (WA è nel dock già) */
  .stickybar__ctas .cta--wa { display: none; }
  .cta--sm { padding: 8px 14px; font-size: 10px; }
}

/* =========================================================
   HERO: reassure microcopy + status dot online
   ========================================================= */
.hero__reassure {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin: 8px 0 0;
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-mute);
  display: inline-block;
  position: relative;
  transition: background var(--dur) var(--ease);
}
.status-dot.is-online {
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, .6);
  animation: pulseOnline 2.2s ease-out infinite;
}
@keyframes pulseOnline {
  0%   { box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); }
  70%  { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* CTA con micro-supporto sotto (reassure copy) */
.cta-support {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin: 8px 0 0;
  display: flex;
  align-items: center;
  gap: 6px;
}
.cta-support .status-dot {
  width: 6px;
  height: 6px;
}

/* =========================================================
   FORM — Intent radio cards (qualifica il lead)
   ========================================================= */
.intent {
  border: 0;
  padding: 0;
  margin: 0 0 8px;
}
.intent__legend {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 12px;
  padding: 0;
}
.intent__options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.intent__opt {
  position: relative;
  cursor: pointer;
}
.intent__opt input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  inset: 0;
}
.intent__card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 14px;
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  transition: border-color var(--dur) var(--ease),
              background var(--dur) var(--ease),
              transform var(--dur-fast) var(--ease);
  height: 100%;
}
.intent__card::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 1.5px solid var(--line-2);
  border-radius: 50%;
  margin-bottom: 4px;
  transition: border-color var(--dur) var(--ease),
              background var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}
.intent__opt:hover .intent__card {
  border-color: rgba(201,168,117,.3);
}
.intent__opt input:focus-visible + .intent__card {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.intent__opt input:checked + .intent__card {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(201,168,117,.06) 0%, transparent 100%), var(--bg);
}
.intent__opt input:checked + .intent__card::before {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: inset 0 0 0 3px var(--bg);
}
.intent__title {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -.005em;
  color: var(--text);
}
.intent__desc {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 12px;
  line-height: 1.4;
  color: var(--text-mute);
}

@media (max-width: 760px) {
  .intent__options { grid-template-columns: 1fr; }
  .intent__card { padding: 14px; }
  .intent__title { font-size: 14px; }
  .intent__desc { font-size: 12px; }
}

/* =========================================================
   FORM — GDPR consent checkbox
   ========================================================= */
.consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  background: rgba(245,243,239,.02);
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.consent:hover { border-color: var(--line-2); }
.consent:focus-within {
  border-color: var(--accent);
  background: rgba(201,168,117,.04);
}
.consent input[type="checkbox"] {
  flex-shrink: 0;
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  border: 1.5px solid var(--line-2);
  border-radius: 3px;
  background: var(--bg);
  cursor: pointer;
  position: relative;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.consent input[type="checkbox"]:hover {
  border-color: var(--accent);
}
.consent input[type="checkbox"]:checked {
  background: var(--accent);
  border-color: var(--accent);
}
.consent input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border-right: 2px solid var(--accent-ink);
  border-bottom: 2px solid var(--accent-ink);
  transform: rotate(45deg);
}
.consent input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.consent__text {
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-dim);
  letter-spacing: -.005em;
}
.consent__text a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}
.consent__text a:hover { color: var(--text); }
.consent__star { color: var(--accent); }
