/* Noleggio Usato AutoDR — landing
   Palette presa dal CSS di autodr.it: blu notte per testi, pulsanti scuri e fasce;
   blu elettrico come unico accento (parole evidenziate nei titoli, pulsante principale);
   giallo e verde solo come dettagli. L'arancio sul sito indica le auto "in trattativa":
   qui non si usa. */

/* Plus Jakarta Sans servito dalla landing (niente richieste a Google Fonts): file variabile 400-800. */
@font-face {
  font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(../fonts/plus-jakarta-sans-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: 'Plus Jakarta Sans'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(../fonts/plus-jakarta-sans-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;
}

:root {
  --navy: #101d35;
  --navy-line: #323b4f;   /* separatori su fondo scuro (piè di pagina del sito) */
  --blue: #0027ff;
  --blue-dark: #001ccc;
  --blue-soft: #e9f1f9;   /* fascia "softblu" del sito */
  --yellow: #ffd201;
  --green: #4eaa57;
  --ink: #101d35;
  --text: #3d4a61;
  --muted: #5b6679;
  --line: #e6e6e6;
  --bg: #fff;
  --bg-soft: #f5f8fb;     /* fondo dell'elenco auto del sito */
  --panel: #f0f3f5;       /* riquadro prezzo e badge del sito */
  --footer-text: #afb5bf;
  --shadow-sm: 0 0 14px rgba(0, 0, 0, .06);
  --shadow: 0 0 22px rgba(0, 0, 0, .12);
  --shadow-lg: 0 18px 50px rgba(16, 29, 53, .22);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --container: 1180px;
}

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}
html.modal-open { overflow: hidden; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, p, ul, ol, figure, fieldset, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.on-dark :focus-visible { outline-color: #fff; }

.sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 10px; background: var(--navy); color: #fff; font-weight: 700;
}
.skip:focus { top: 12px; }

.icon {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.stars { color: var(--yellow); letter-spacing: 2px; font-size: 13px; line-height: 1; }

/* ============ Struttura ============ */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--navy); color: #fff; }
.section__head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.section__head--center { margin-inline: auto; text-align: center; }
.center { text-align: center; margin-top: 36px; }
.hint { margin-top: 10px; font-size: 14px; color: var(--muted); }

.kicker {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px;
  font-size: 13px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--blue);
}
.kicker .icon { width: 17px; height: 17px; }
.section--dark .kicker { color: rgba(255, 255, 255, .8); }

h2 {
  font-size: clamp(28px, 3.7vw, 44px); line-height: 1.1; font-weight: 800;
  letter-spacing: -.028em; text-wrap: balance;
}
/* Come sul sito: una parola del titolo in blu elettrico (solo su fondo chiaro). */
.hl { color: var(--blue); }
.on-dark .hl { color: inherit; }
.lead {
  margin-top: 16px; max-width: 60ch;
  font-size: clamp(16px, 1.4vw, 18px); color: var(--muted); text-wrap: pretty;
}
.section__head--center .lead { margin-inline: auto; }
.section--dark .lead { color: rgba(255, 255, 255, .78); }

@media (min-width: 768px) {
  .container { padding-inline: 32px; }
}

/* ============ Pulsanti ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px; border: 0; border-radius: 10px;
  font-weight: 700; font-size: 16px; line-height: 1.2; text-align: center; text-decoration: none;
  transition: background-color .2s, box-shadow .2s, color .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn .icon { width: 18px; height: 18px; }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(0, 39, 255, .24); }
.btn--primary:hover { background: var(--blue-dark); box-shadow: 0 10px 26px rgba(0, 39, 255, .32); }
/* Come il pulsante principale del sito: blu notte, al passaggio blu elettrico. */
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: var(--blue); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--blue-soft); }
.btn--outline { background: #fff; color: var(--navy); box-shadow: inset 0 0 0 1.5px #c9d1dd; }
.btn--outline:hover { color: var(--blue); box-shadow: inset 0 0 0 1.5px var(--blue); }
.btn--wa { background: #25d366; color: #07301a; }
.btn--wa:hover { background: #3ee07a; }
.btn--sm { min-height: 44px; padding: 10px 18px; font-size: 14.5px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: progress; }

.iconbtn {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 44px; height: 44px; border-radius: 50%; text-decoration: none;
}
.iconbtn .icon { width: 22px; height: 22px; }
.iconbtn--wa { background: #25d366; color: #07301a; }
.iconbtn--dark { background: var(--navy); color: #fff; }

.textlink {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
  padding: 6px 0; border: 0; background: none; font-weight: 700; color: var(--blue);
}
.textlink .icon { width: 16px; height: 16px; transition: transform .2s; }
.textlink:hover .icon { transform: translateX(3px); }

/* ============ Testata ============ */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar__in { display: flex; align-items: center; gap: 14px; min-height: 64px; }
/* Marchio AutoDR Rent (telefonata con Marco del 25/11/2026): il logo del sito con "RENT" al posto di
   "Affidabilità dal 2007", come nel logo AutoDR Rent di Marco ma nel blu della landing. */
.topbar__logo { display: inline-flex; align-items: center; flex: none; text-decoration: none; }
.topbar__logo img { height: 44px; width: auto; }
.topbar__rating {
  display: none; align-items: center; gap: 7px; margin-left: 8px; padding-left: 20px;
  border-left: 1px solid var(--line); font-size: 14px; color: var(--muted);
}
.topbar__rating strong { color: var(--ink); }
.topbar__rating .stars { color: #f5b400; }
.topbar__actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.topbar__tel {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 44px; height: 44px; border-radius: 999px; background: var(--panel);
  color: var(--navy); font-weight: 700; text-decoration: none; white-space: nowrap;
}
.topbar__tel span, .topbar__cta { display: none; }

@media (min-width: 900px) {
  .topbar__in { min-height: 72px; }
  .topbar__logo img { height: 50px; }
  .topbar__rating { display: flex; }
  .topbar__tel { width: auto; padding: 0 16px; background: transparent; }
  .topbar__tel:hover { background: var(--panel); color: var(--blue); }
  .topbar__tel span, .topbar__cta { display: inline-flex; }
}

/* ============ Hero ============ */
/* Fondo chiaro come le fasce del sito: titolo blu notte con la parola chiave in blu elettrico. */
/* Niente foto (richiesta di AutoDR): a destra i vantaggi del servizio in un riquadro bianco. */
.hero { position: relative; overflow: hidden; color: var(--ink); background: var(--blue-soft); }
.hero__in { position: relative; display: grid; gap: 28px; padding-block: 40px 64px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px;
  border-radius: 999px; background: #fff; box-shadow: var(--shadow-sm);
  font-size: 13px; font-weight: 700; line-height: 1.3;
}
.eyebrow .icon { width: 16px; height: 16px; }
.hero h1 {
  margin-top: 20px; font-size: clamp(38px, 11.2vw, 70px); line-height: 1;
  font-weight: 800; letter-spacing: -.04em;
}
.hero h1 span, .hero h1 em { display: block; white-space: nowrap; }
.hero h1 em { font-style: normal; color: var(--blue); }
.hero__sub {
  margin-top: 22px; max-width: 52ch;
  font-size: clamp(17px, 1.5vw, 19px); line-height: 1.55; color: var(--text);
}
.hero__points, .request__points { display: grid; gap: 10px; margin-top: 24px; }
.hero__points li, .request__points li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
/* Spunta verde come negli elenchi del sito. */
.hero__points .icon, .request__points .icon {
  width: 22px; height: 22px; margin-top: 2px; padding: 4px; border-radius: 50%;
  background: var(--green); color: #fff; stroke-width: 3.2;
}
.hero .hero__points {
  gap: 0; margin-top: 0; padding: 10px 24px; border-radius: 18px;
  background: #fff; box-shadow: var(--shadow-sm);
}
.hero__points li { padding-block: 13px; font-size: 17px; line-height: 1.4; }
.hero__points li + li { border-top: 1px solid var(--line); }
.hero__points li .icon { width: 24px; height: 24px; margin-top: 0; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__cta .btn { flex: 1 1 auto; }

.trust {
  display: flex; flex-wrap: wrap; gap: 16px 32px; margin-top: 34px; padding-top: 26px;
  border-top: 1px solid rgba(16, 29, 53, .12);
}
.trust li { display: grid; gap: 3px; align-content: end; }
.trust strong { font-size: 20px; font-weight: 800; letter-spacing: -.01em; line-height: 1.1; }
.trust li > span:last-child { font-size: 13px; color: var(--muted); }
.trust .stars { color: #f5b400; }

@media (min-width: 560px) {
  .hero__cta .btn { flex: 0 0 auto; }
}
@media (min-width: 960px) {
  .hero__in {
    grid-template-columns: 1.1fr .9fr; grid-template-areas: "copy points" "foot points";
    column-gap: 64px; row-gap: 32px; padding-block: 72px 96px;
  }
  .hero__copy { grid-area: copy; align-self: end; }
  .hero .hero__points { grid-area: points; align-self: center; padding: 14px 32px; }
  .hero__points li { padding-block: 17px; font-size: 19px; }
  .hero__foot { grid-area: foot; align-self: start; }
  .hero h1 { font-size: clamp(48px, 5.4vw, 70px); }
}

/* ============ Offerte ============ */
.offers__head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 20px 32px; margin-bottom: 28px;
}
.offers__head .section__head { margin-bottom: 0; }

.draft {
  margin-bottom: 20px; padding: 12px 16px; border-radius: 12px;
  background: #fff7d6; border: 1px dashed #c9a700; color: #5a4a00; font-size: 14.5px;
}

.offers__grid { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
.noscript { padding: 20px; border-radius: 16px; background: #fff; }

/* Card come quelle delle auto sul sito: bianche, angoli 10-14px, ombra morbida senza bordo. */
.offer {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border-radius: 14px; box-shadow: var(--shadow-sm);
  transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s;
}
.offer:hover, .offer:focus-within { transform: translateY(-4px); box-shadow: var(--shadow); }
.offer__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--panel); }
.offer__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.offer:hover .offer__media img { transform: scale(1.04); }
.offer__tags { position: absolute; left: 12px; bottom: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  display: inline-flex; align-items: center; padding: 5px 10px; border-radius: 999px;
  background: var(--navy); color: #fff;
  font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; line-height: 1.2;
}
.tag--light { background: rgba(255, 255, 255, .95); color: var(--navy); }
.tag--yellow { background: var(--yellow); color: var(--navy); }
/* Foto che non ritraggono l'auto offerta: lo si dice sulla foto stessa. */
.offer__flag {
  position: absolute; right: 10px; top: 10px; padding: 4px 9px; border-radius: 6px;
  background: rgba(16, 29, 53, .78); color: #fff; font-size: 11.5px; font-weight: 600; line-height: 1.3;
}
.photo-wait {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  background: var(--blue-soft); color: var(--muted); font-size: 14px; font-weight: 700;
}
.photo-wait .icon { width: 30px; height: 30px; color: var(--blue); }
.offer__body { display: flex; flex-direction: column; gap: 14px; flex: 1; padding: 20px 20px 22px; }
.offer__brand { font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.offer__title { margin-top: 2px; font-size: 23px; font-weight: 800; letter-spacing: -.022em; line-height: 1.15; }
.offer__version { margin-top: 4px; font-size: 14.5px; font-weight: 600; color: var(--text); }
.offer__meta { margin-top: 2px; font-size: 13.5px; color: var(--muted); }
/* Canone: la cifra + IVA in grande, quella IVA inclusa subito sotto, sempre visibile. */
.cost { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.price { font-size: 38px; font-weight: 800; letter-spacing: -.035em; line-height: 1; }
.cost__per { font-weight: 700; color: var(--navy); }
.cost__gross { margin-top: 5px; font-size: 14px; font-weight: 600; color: var(--muted); }
/* Pillole bianche con bordo sottile, come i dati tecnici nelle card del sito. */
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips li {
  padding: 5px 11px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line);
  font-size: 13px; font-weight: 600; color: var(--navy); white-space: nowrap;
}
.chips li.is-highlight { background: var(--yellow); box-shadow: none; }
.offer__incl { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; line-height: 1.4; color: var(--text); }
.offer__incl .icon { width: 17px; height: 17px; margin-top: 1px; color: var(--green); stroke-width: 2.6; }
.offer__cta { margin-top: auto; }
.offer__valid { margin-top: -4px; font-size: 12px; line-height: 1.4; color: var(--muted); text-align: center; }
/* L'intera card è cliccabile attraverso il pulsante. */
.offer__cta::after { content: ""; position: absolute; inset: 0; }

.offers__more { display: none; width: 100%; margin-top: 16px; }

.finder-inline {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px;
  margin-top: 28px; padding: 22px 24px; border-radius: 14px; background: #fff; border: 1.5px dashed #c2ccda;
}
.finder-inline h3 { font-size: 19px; font-weight: 800; letter-spacing: -.015em; line-height: 1.25; }
.finder-inline p { margin-top: 2px; color: var(--muted); }
.legal { margin-top: 20px; max-width: 95ch; font-size: 12.5px; line-height: 1.5; color: var(--muted); }

@media (max-width: 679px) {
  .offers__grid:not(.is-open) .offer:nth-child(n+4) { display: none; }
  .offers__more:not([hidden]) { display: inline-flex; }
  .finder-inline .btn { width: 100%; }
}
@media (min-width: 680px) {
  .offers__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1040px) {
  .offers__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
}

/* ============ Cosa c'è nel canone ============ */
.tiles { display: grid; gap: 12px; }
.tile {
  display: grid; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 4px; align-items: start;
  padding: 18px; border-radius: 14px; background: #fff; box-shadow: var(--shadow-sm);
}
.tile__icon {
  grid-row: span 2; display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 13px; background: var(--blue-soft); color: var(--blue);
}
.tile__icon .icon { width: 22px; height: 22px; }
.tile h3 { font-size: 17px; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; }
.tile p { grid-column: 2; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
/* Riquadro giallo con testo blu notte, come le card "giallo" dei servizi sul sito. */
.tile--cta { display: flex; flex-direction: column; gap: 8px; padding: 22px; background: var(--yellow); box-shadow: none; color: var(--navy); }
.tile--cta p { color: var(--navy); }
.tile--cta .btn { align-self: flex-start; margin-top: 10px; }

@media (min-width: 560px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .tile { display: flex; flex-direction: column; gap: 8px; padding: 22px; }
  .tile__icon { margin-bottom: 8px; }
}
@media (min-width: 1000px) {
  .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
}

/* Servizi che si aggiungono a richiesta: non sono nel canone base. */
.extras {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px;
  margin-top: 18px; padding: 16px 20px; border-radius: 14px; background: var(--blue-soft);
}
.extras__label {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--blue);
}
.extras__label .icon { width: 16px; height: 16px; stroke-width: 2.6; }
.extras ul { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.extras li { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; }
.extras li .icon { width: 19px; height: 19px; color: var(--blue); }

/* ============ Confronto ============ */
.cmp { max-width: 940px; margin-inline: auto; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); }
.cmp__row { display: grid; grid-template-columns: 1fr 1fr; }
.cmp__label {
  grid-column: 1 / -1; padding: 10px 16px; background: var(--panel);
  font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--muted);
}
.cmp__old, .cmp__new {
  display: flex; gap: 10px; align-items: flex-start; padding: 16px 14px;
  font-size: 15px; font-weight: 600; line-height: 1.35;
}
.cmp__old { color: var(--muted); }
/* Colonna AutoDR in blu elettrico, come le card "blu" dei servizi sul sito. */
.cmp__new { background: var(--blue); color: #fff; }
.cmp__old .icon, .cmp__new .icon { width: 20px; height: 20px; margin-top: 1px; padding: 4px; border-radius: 50%; stroke-width: 3.2; }
.cmp__old .icon { background: #fde7e4; color: #c0392b; }
.cmp__new .icon { background: #fff; color: var(--blue); }
.cmp__row--head .cmp__label { display: none; }
.cmp__row--head .cmp__old, .cmp__row--head .cmp__new { padding-block: 16px; font-size: 14.5px; font-weight: 800; letter-spacing: -.005em; }
.cmp__row--head .cmp__old { color: var(--ink); }

@media (min-width: 760px) {
  .cmp { overflow: visible; margin-block: 14px; }
  .cmp__row { grid-template-columns: 170px 1fr 1fr; }
  .cmp__label {
    grid-column: auto; display: flex; align-items: center; padding: 20px 24px; background: none;
    font-size: 12.5px;
  }
  .cmp__row--head .cmp__label { display: block; }
  .cmp__old, .cmp__new { align-items: center; padding: 20px 24px; font-size: 16px; }
  .cmp__row + .cmp__row .cmp__label, .cmp__row + .cmp__row .cmp__old { border-top: 1px solid var(--line); }
  .cmp__row + .cmp__row .cmp__new { border-top: 1px solid rgba(255, 255, 255, .2); }
  .cmp__row--head .cmp__old, .cmp__row--head .cmp__new { font-size: 17px; }
  .cmp__row--head .cmp__new { margin-top: -14px; padding-top: 34px; border-radius: 16px 16px 0 0; }
  .cmp__row:last-child .cmp__new { margin-bottom: -14px; padding-bottom: 34px; border-radius: 0 0 16px 16px; box-shadow: 0 18px 30px rgba(0, 39, 255, .18); }
}

/* ============ Perché sull'usato ============ */
.why { display: grid; gap: 36px; }
.why__photo { order: 2; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: var(--panel); }
.why__photo img { width: 100%; height: 100%; object-fit: cover; }
.why__list { display: grid; gap: 26px 36px; }
.why__list li { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 4px; align-items: center; }
.why__icon {
  grid-row: span 2; align-self: start; display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: #fff;
}
.why__icon .icon { width: 21px; height: 21px; }
.why__list h3 { font-size: 18px; font-weight: 800; letter-spacing: -.015em; line-height: 1.25; }
.why__list p { grid-column: 2; font-size: 15px; color: var(--muted); }

@media (min-width: 620px) {
  .why__list { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .why { grid-template-columns: .82fr 1.18fr; gap: 64px; align-items: center; }
  .why__photo { order: 0; aspect-ratio: 4 / 5; }
}

/* ============ Come funziona ============ */
.steps { display: grid; gap: 14px; }
.step {
  padding: 24px; border-radius: 14px; background: rgba(255, 255, 255, .05);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
}
.step__n {
  display: block; margin-bottom: 18px; font-size: 46px; font-weight: 800; letter-spacing: -.02em; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--yellow);
}
.step h3 { font-size: 19px; font-weight: 800; letter-spacing: -.015em; }
.step p { margin-top: 8px; font-size: 15px; color: rgba(255, 255, 255, .76); }

.finder {
  position: relative; overflow: hidden; display: grid; gap: 20px; align-items: center;
  margin-top: clamp(36px, 5vw, 64px); padding: clamp(26px, 4vw, 44px); border-radius: 20px;
  background: var(--blue);
}
.finder__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 60px; height: 60px; border-radius: 18px; background: rgba(255, 255, 255, .16);
}
.finder__icon .icon { width: 28px; height: 28px; }
.finder h2 { font-size: clamp(22px, 2.6vw, 30px); }
.finder p { margin-top: 8px; max-width: 60ch; color: rgba(255, 255, 255, .9); }

@media (min-width: 640px) {
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .finder { grid-template-columns: auto 1fr auto; gap: 28px; }
}
@media (min-width: 1000px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 18px; }
}

/* ============ Le nostre auto ============ */
.origin { display: grid; gap: 36px; }
.proofs { display: grid; gap: 22px; }
.proofs li { display: flex; gap: 16px; align-items: flex-start; }
.proofs__icon {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 14px; background: #fff; color: var(--blue);
  box-shadow: var(--shadow-sm);
}
.proofs__icon .icon { width: 22px; height: 22px; }
.proofs h3 { font-size: 18px; font-weight: 800; letter-spacing: -.015em; line-height: 1.25; }
.proofs p { margin-top: 3px; font-size: 15px; color: var(--muted); }
.origin__photo { position: relative; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: var(--panel); box-shadow: var(--shadow); }
.origin__photo img { width: 100%; height: 100%; object-fit: cover; }
.origin__photo figcaption {
  position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: 999px; background: rgba(16, 29, 53, .9); color: #fff;
  font-size: 13.5px; font-weight: 600;
}
.origin__photo figcaption .icon { width: 16px; height: 16px; color: var(--yellow); }

/* I numeri di AutoDR sotto la presentazione: cifra grande in blu elettrico, etichetta sotto. */
.stats {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px;
  margin-top: clamp(36px, 5vw, 56px);
}
.stats li {
  display: grid; justify-items: center; align-content: center; gap: 10px;
  padding: 26px 12px; border-radius: 16px; background: #fff; box-shadow: var(--shadow-sm); text-align: center;
}
.stats strong {
  display: flex; align-items: baseline; justify-content: center; gap: 2px; height: 1em;
  font-size: clamp(34px, 4.6vw, 54px); font-weight: 800; letter-spacing: -.035em; line-height: 1; color: var(--blue);
}
.stats strong small { font-size: .46em; letter-spacing: -.01em; }
.stats strong small:first-child { margin-right: .22em; }
.stats li > .icon { width: clamp(34px, 4.6vw, 54px); height: clamp(34px, 4.6vw, 54px); color: var(--blue); stroke-width: 1.8; }
.stats span { font-size: 15px; font-weight: 700; line-height: 1.3; color: var(--ink); }

@media (min-width: 820px) {
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  .stats li { padding: 34px 16px; }
  .stats span { font-size: 16px; }
}
@media (min-width: 960px) {
  .origin { grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
  .origin .section__head { margin-bottom: 36px; }
}

/* ============ Per chi ============ */
.who { display: grid; gap: 16px; }
/* La sezione ora è su fondo bianco (tra "Le nostre auto" e le offerte, entrambe su fondo chiaro). */
.who__card {
  display: flex; flex-direction: column; gap: 10px; padding: 28px;
  border-radius: 14px; background: var(--bg-soft);
}
.who__icon {
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 6px;
  width: 52px; height: 52px; border-radius: 14px; background: var(--navy); color: #fff;
}
.who__icon .icon { width: 24px; height: 24px; }
.who__card h3 { font-size: 20px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.who__card p { flex: 1; color: var(--muted); }

@media (min-width: 820px) {
  .who { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
}

/* ============ Recensioni ============ */
.rating {
  display: grid; gap: 28px; padding: clamp(28px, 4vw, 52px); border-radius: 20px; color: #fff;
  background: var(--navy);
}
.rating__score { text-align: center; }
.rating__n { font-size: clamp(76px, 10vw, 116px); font-weight: 800; letter-spacing: -.05em; line-height: .9; }
.rating .stars { margin-top: 12px; font-size: 22px; letter-spacing: 4px; }
.rating__count { margin-top: 8px; font-size: 14.5px; color: rgba(255, 255, 255, .74); }
.rating__copy h2 { font-size: clamp(24px, 3vw, 36px); }
.rating__copy p { margin-top: 12px; max-width: 62ch; color: rgba(255, 255, 255, .8); }
.rating__facts { display: flex; flex-wrap: wrap; gap: 14px 40px; margin-top: 24px; }
.rating__facts li { display: grid; }
.rating__facts strong { font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
.rating__facts span { font-size: 13px; color: rgba(255, 255, 255, .68); }

.quotes { display: grid; gap: 16px; margin-top: 20px; }
.quote { padding: 24px; border-radius: 14px; background: var(--panel); }
.quote .stars { color: #f5b400; font-size: 15px; }
.quote blockquote { margin-top: 10px; font-size: 15.5px; color: var(--text); }
.quote footer { margin-top: 14px; font-size: 13.5px; font-weight: 700; color: var(--ink); }

@media (min-width: 860px) {
  .rating { grid-template-columns: auto 1fr; gap: 56px; align-items: center; }
  .rating__score { padding-right: 56px; border-right: 1px solid rgba(255, 255, 255, .16); }
  .quotes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ============ FAQ ============ */
.faq { display: grid; gap: 24px; }
.faq__side { display: contents; }
.faq__side .section__head { margin-bottom: 4px; }
/* Su mobile: titolo, domande, poi il riquadro dei contatti. */
.faq__list { display: grid; gap: 10px; order: 2; }
.askcard { order: 3; padding: 22px; border-radius: 14px; background: #fff; box-shadow: var(--shadow-sm); }
.askcard h3 { font-size: 18px; font-weight: 800; letter-spacing: -.015em; }
.askcard p { margin-top: 4px; color: var(--muted); }
.askcard__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

.qa { overflow: hidden; background: #fff; border-radius: 12px; box-shadow: var(--shadow-sm); }
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px; list-style: none; cursor: pointer;
  font-weight: 700; font-size: 16.5px; line-height: 1.35;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary .icon {
  width: 28px; height: 28px; padding: 5px; border-radius: 50%; background: var(--panel); color: var(--navy);
  transition: transform .25s, background-color .25s, color .25s;
}
.qa[open] summary .icon { transform: rotate(45deg); background: var(--navy); color: #fff; }
.qa p { padding: 0 20px 20px; max-width: 68ch; color: var(--text); }

@media (min-width: 960px) {
  .faq { grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
  .faq__side { display: block; position: sticky; top: 104px; }
  .faq__side .section__head { margin-bottom: 28px; }
}

/* ============ Richiesta finale ============ */
.request { position: relative; overflow: hidden; background: var(--navy); }
.request__in { display: grid; gap: 36px; }
.contacts {
  display: grid; gap: 18px; margin-top: 32px; padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .15);
}
.contacts li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.45; }
.contacts .icon { width: 20px; height: 20px; margin-top: 3px; color: var(--yellow); }
.contacts div > span { display: block; font-size: 12.5px; color: rgba(255, 255, 255, .64); }
.contacts a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .45); }

@media (min-width: 560px) {
  .contacts { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .request__in { grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 72px; align-items: start; }
}

/* ============ Form ============ */
.formcard { padding: clamp(22px, 3vw, 32px); border-radius: 18px; background: #fff; color: var(--ink); box-shadow: var(--shadow-lg); }
.formcard__title { margin-bottom: 18px; font-size: 22px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }

.form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label, .choice legend { font-size: 14px; font-weight: 700; }
.field label small, .check small { font-weight: 500; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 10px;
  border: 1.5px solid #cbd3de; background: #fff; font-size: 16px; line-height: 1.4;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 92px; resize: vertical; }
.field select {
  padding-right: 40px; color: var(--ink); cursor: pointer;
  -webkit-appearance: none; appearance: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23101d35' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 16px center;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 39, 255, .14); }
.field [aria-invalid="true"] { border-color: #c62828; background: #fff8f7; }
.field__err { font-size: 13.5px; font-weight: 600; color: #b3261e; }

.choice { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.choice legend { margin-bottom: 6px; padding: 0; }
.choice label { position: relative; display: block; }
.choice input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.choice span {
  display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 8px 6px;
  border-radius: 10px; border: 1.5px solid #cbd3de; text-align: center;
  font-size: 14.5px; font-weight: 700; line-height: 1.2;
  transition: background-color .2s, border-color .2s, color .2s;
}
.choice input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.choice input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }

.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.consent { display: grid; gap: 8px; margin-top: 2px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.45; color: var(--text); cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--navy); }
.check a { color: var(--blue); font-weight: 600; }

.form__note { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12.5px; color: var(--muted); }
.form__note .icon { width: 14px; height: 14px; }
.form__status { padding: 12px 14px; border-radius: 12px; background: #fdecea; color: #8c1d18; font-size: 14px; font-weight: 600; }

.formok { display: grid; gap: 10px; justify-items: center; padding: 20px 4px; text-align: center; }
.formok:focus { outline: 0; }
.formok__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 60px; height: 60px; border-radius: 50%; background: var(--green); color: #fff;
}
.formok__icon .icon { width: 30px; height: 30px; stroke-width: 3; }
.formok h3 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.formok p { max-width: 40ch; color: var(--text); }
.formok .btn { margin-top: 6px; }
.formok__draft { padding: 8px 12px; border-radius: 10px; background: #fff7d6; color: #5a4a00; font-size: 12.5px; }

/* ============ Piè di pagina ============ */
/* Come il piè di pagina del sito: blu notte, testo grigio chiaro, filetti #323b4f. */
.footer {
  padding: 40px 0 120px; background: var(--navy); border-top: 1px solid var(--navy-line);
  color: var(--footer-text); font-size: 13.5px;
}
.footer__in { display: grid; gap: 14px; }
.footer__brand { display: flex; align-items: center; gap: 10px; }
.footer__logo { height: 40px; width: auto; filter: brightness(0) invert(1); opacity: .95; }
.footer__links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer__links a { color: var(--footer-text); text-underline-offset: 3px; }
.footer__links a:hover { color: #fff; }
.footer__legal { max-width: 95ch; font-size: 12.5px; line-height: 1.5; color: var(--footer-text); }
.footer__copy { padding-top: 14px; border-top: 1px solid var(--navy-line); color: var(--footer-text); }

/* ============ Barra fissa (mobile) ============ */
.stickybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(16, 29, 53, .1);
  transform: translateY(110%); transition: transform .3s cubic-bezier(.2, .8, .2, 1);
}
.stickybar.is-visible { transform: none; }
.stickybar .btn { flex: 1; min-height: 48px; box-shadow: none; }
.stickybar .iconbtn { width: 48px; height: 48px; }

@media (min-width: 900px) {
  .stickybar { display: none; }
  .footer { padding-bottom: 40px; }
}

/* ============ Modale ============ */
.modal {
  width: min(1060px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px);
  margin: auto; padding: 0; border: 0; border-radius: 18px; overflow: auto; overscroll-behavior: contain;
  background: #fff; color: var(--ink); box-shadow: var(--shadow-lg);
}
.modal::backdrop { background: rgba(8, 14, 28, .74); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal[open] { animation: modal-in .26s cubic-bezier(.2, .8, .2, 1); }
@keyframes modal-in {
  from { opacity: 0; transform: translateY(16px) scale(.985); }
  to { opacity: 1; transform: none; }
}

.modal__bar { position: sticky; top: 0; z-index: 5; height: 0; }
.modal__close {
  position: absolute; right: 12px; top: 12px; display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .96); color: var(--navy); box-shadow: 0 2px 10px rgba(16, 29, 53, .22);
}
.modal__close:hover { background: var(--panel); }

.modal__grid { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "gallery" "side" "details"; }
.modal__gallery { grid-area: gallery; }
.modal__side { grid-area: side; display: grid; gap: 18px; align-content: start; padding: 20px 20px 8px; }
.modal__details { grid-area: details; padding: 4px 20px 36px; }

.gallery__main { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--panel); }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { display: flex; gap: 8px; padding: 12px 16px 4px; overflow-x: auto; scrollbar-width: none; }
.gallery__thumbs::-webkit-scrollbar { display: none; }
.gallery__thumb {
  flex: none; width: 76px; aspect-ratio: 4 / 3; padding: 0; border: 0; border-radius: 10px; overflow: hidden;
  background: var(--panel); opacity: .72; transition: opacity .2s, box-shadow .2s;
}
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb:hover { opacity: 1; }
.gallery__thumb.is-active { opacity: 1; box-shadow: 0 0 0 2.5px var(--blue); }

.modal__head h2 { font-size: clamp(24px, 3vw, 30px); letter-spacing: -.025em; line-height: 1.1; }
/* All'apertura il fuoco va sul titolo (letto dagli screen reader), senza anello visibile. */
.modal__head h2:focus { outline: 0; }
.modal__text { margin-top: 6px; font-size: 15px; color: var(--text); }
.specs { margin-top: 8px; font-size: 14px; font-weight: 600; color: var(--muted); }

.pricebox { display: grid; gap: 12px; padding: 18px; border-radius: 12px; background: var(--panel); }
.pricebox__price .price { font-size: 40px; }
.pricebox .chips li { background: #fff; }
.pricebox .chips li.is-highlight { background: var(--yellow); }
.pricebox__valid { font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.pricebox__draft { padding: 6px 10px; border-radius: 8px; background: #fff7d6; color: #5a4a00; font-size: 12.5px; }

.modal__form .formcard__title { margin-bottom: 12px; font-size: 18px; }
.modal__wa { display: grid; gap: 12px; padding-bottom: 12px; }
.modal__wa p {
  display: flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--muted);
}
.modal__wa p::before, .modal__wa p::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.modal__wa .icon { color: #1da851; }

.modal__details h3 { margin: 22px 0 10px; font-size: 15px; font-weight: 800; }
.ticks { display: grid; gap: 8px 20px; }
.ticks li { position: relative; padding-left: 28px; font-size: 14.5px; color: var(--text); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .15em; width: 19px; height: 19px; border-radius: 50%;
  background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230027ff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.modal__extra { margin-top: 14px; font-size: 13.5px; line-height: 1.5; color: var(--muted); }

.modal--generic { width: min(540px, calc(100vw - 32px)); }
.modal--generic .modal__grid { grid-template-areas: "side"; }
.modal--generic .modal__side { padding: 28px 24px 24px; }
.modal--generic .modal__head { padding-right: 44px; }

@media (max-width: 719px) {
  .modal, .modal--generic { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; border-radius: 0; }
}
@media (min-width: 520px) {
  .ticks--2 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .modal:not(.modal--generic) .modal__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    /* La seconda riga assorbe l'altezza in più della colonna del form: niente vuoto sotto le foto. */
    grid-template-rows: auto 1fr;
    grid-template-areas: "gallery side" "details side"; align-items: start;
  }
  .modal__gallery { padding: 24px 0 0 24px; }
  .gallery__main { border-radius: 12px; }
  .gallery__thumbs { padding: 12px 3px 4px; }
  .gallery__thumb { width: 88px; }
  .modal:not(.modal--generic) .modal__side { position: sticky; top: 0; padding: 28px; }
  .modal:not(.modal--generic) .modal__head { padding-right: 40px; }
  .modal__details { padding: 12px 0 28px 24px; }
}

/* ============ Comparsa allo scorrimento ============ */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .modal[open] { animation: none; }
  .offer, .offer__media img, .stickybar { transition: none; }
}
