/* LGS Distribution — landing (step 5). Design: kit v9 di ChatGPT, colori misurati con confronta-design.py */

@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("../fonts/plus-jakarta-sans-variabile.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/newsreader-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/newsreader-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/newsreader-400-italic.woff2") format("woff2"); }

:root {
  /* verdi (misurati sul design) */
  --verde: #0B2019;            /* «Parliamone» e footer */
  --verde-testata: #0B1B15;    /* intestazione */
  --verde-profondo: #061712;   /* fondo della sezione auto d'epoca */
  /* avori */
  --avorio: #F5F1EB;           /* fascia 01-02-03 */
  --avorio-chiaro: #FAF8F1;    /* sezione noleggio */
  --avorio-cura: #F6F3EC;      /* sezione cura dell'auto */
  --crema: #F7F3EC;            /* titoli sul verde */
  --bianco: #FDFDFD;           /* testi sulle foto */
  /* ori */
  --oro: #D8B171;              /* pulsanti pieni */
  --oro-chiaro: #E5BC7C;       /* corsivi e link sul verde */
  --oro-scuro: #98672A;        /* occhielli e motto sull'avorio */
  --oro-bordo: #C1A065;        /* contorni delle pillole e del pulsante dell'intestazione */
  --oro-linea: #E5CBA2;        /* linee sottili sull'avorio */
  --oro-linea-scura: #696441;  /* linea sottile sul verde */
  /* testi */
  --inchiostro: #091B16;       /* titoli sull'avorio */
  --testo: #242628;            /* testi sull'avorio */
  --testo-tenue: #42403E;      /* sottotitoli della fascia */

  --f-titoli: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --f-serif: "Newsreader", Georgia, "Times New Roman", serif;

  --gutter: clamp(16px, 4.4vw, 68px);
  --largo: 1440px;
  --raggio: 12px;
  --curva: cubic-bezier(0.22, 1, 0.36, 1);
  --testata-h: 94px;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--testata-h) + 8px);
}
html.menu-aperto { overflow: hidden; }
body {
  margin: 0;
  background: var(--avorio-chiaro);
  color: var(--testo);
  font-family: var(--f-titoli);
  font-size: 17px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; }
a, button { touch-action: manipulation; }

.contenitore {
  width: 100%;
  max-width: var(--largo);
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

.salta {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--oro); color: var(--inchiostro);
  padding: 10px 16px; border-radius: 8px; font-weight: 600; text-decoration: none;
}
.salta:focus { top: 12px; }

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

/* ---------- tipografia ---------- */
.occhiello {
  font-family: var(--f-titoli);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--oro);
}
.occhiello--scuro { color: var(--oro-scuro); }

.titolo-xl {
  font-family: var(--f-titoli);
  font-weight: 800;
  word-spacing: 0.05em;
  font-size: clamp(46px, 7.6vw, 112px);
  line-height: 0.96;
  letter-spacing: -0.045em;
  color: var(--crema);
}
.titolo-l {
  font-family: var(--f-titoli);
  font-weight: 800;
  word-spacing: 0.05em;
  font-size: clamp(36px, 5.3vw, 78px);
  line-height: 1;
  letter-spacing: -0.045em;
  color: var(--inchiostro);
}
.titolo--scuro { color: var(--inchiostro); }
.punto { margin-left: -0.06em; }
.accento {
  display: block;
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 0.66em;
  line-height: 1.12;
  letter-spacing: -0.01em;
  word-spacing: normal;
  color: var(--oro-chiaro);
  margin-top: 0.12em;
}

/* ---------- pulsanti e link ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--f-serif);
  font-weight: 500;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.1;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.95em 1.65em;
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .16s var(--curva);
}
.btn img { width: 0.8em; height: 0.8em; transition: transform .2s var(--curva); }
.btn:active { transform: scale(0.97); }
.btn--oro { background: var(--oro); color: var(--inchiostro); }
.btn--contorno { border: 1.5px solid var(--oro-bordo); color: var(--oro-chiaro); padding: 0.62em 1.45em; font-size: 20px; }
@media (hover: hover) and (pointer: fine) {
  .btn--oro:hover { background: var(--oro-chiaro); }
  .btn--contorno:hover { border-color: var(--oro-chiaro); color: var(--crema); }
  .btn:hover img { transform: translate(2px, -2px); }
}

.link-chiaro {
  font-family: var(--f-serif);
  font-size: clamp(17px, 1.35vw, 20px);
  color: var(--crema);
  text-decoration: underline;
  text-decoration-color: var(--oro);
  text-decoration-thickness: 1px;
  text-underline-offset: 7px;
  padding: 6px 0;
  -webkit-user-select: none; user-select: none;
}
.link-oro {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 500;
  font-size: clamp(17px, 1.4vw, 21px);
  color: var(--oro-chiaro);
  text-decoration: none;
  border-bottom: 1.5px solid var(--oro);
  padding-bottom: 3px;
  -webkit-user-select: none; user-select: none;
}
.link-oro img { width: 15px; height: 15px; transition: transform .2s var(--curva); }
@media (hover: hover) and (pointer: fine) {
  .link-chiaro:hover { color: var(--oro-chiaro); }
  .link-oro:hover img { transform: translate(2px, -2px); }
}
.link-oro:active, .link-chiaro:active { opacity: .75; }

/* ---------- intestazione ---------- */
.testata {
  position: sticky; top: 0; z-index: 50;
  background: var(--verde-testata);
  padding-top: env(safe-area-inset-top, 0px);
  transition: box-shadow .3s ease;
}
.testata.scorsa { box-shadow: 0 6px 24px -12px #000; }
.testata__riga {
  display: flex; align-items: center; gap: 32px;
  min-height: var(--testata-h);
}
.testata__logo { flex: 0 0 auto; display: block; padding: 6px 0; }
.testata__logo img { width: clamp(150px, 17.6vw, 256px); height: auto; }
.menu { margin-left: auto; }
.menu__voci { display: flex; gap: clamp(24px, 2.9vw, 44px); }
.menu__voci a {
  font-family: var(--f-serif);
  font-size: 19px;
  color: var(--crema);
  text-decoration: none;
  padding: 8px 0;
  position: relative;
  -webkit-user-select: none; user-select: none;
}
.menu__voci a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px;
  background: var(--oro); transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--curva);
}
@media (hover: hover) and (pointer: fine) {
  .menu__voci a:hover { color: var(--oro-chiaro); }
  .menu__voci a:hover::after { transform: scaleX(1); }
}
.testata__azione { flex: 0 0 auto; }
.testata__apri {
  display: none;
  margin-left: auto;
  width: 48px; height: 48px;
  background: none; border: 1.5px solid var(--oro-bordo); border-radius: 999px;
  cursor: pointer; position: relative;
  -webkit-user-select: none; user-select: none;
}
.testata__apri span {
  position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--oro-chiaro);
  transition: transform .25s var(--curva), top .25s var(--curva);
}
.testata__apri span:first-child { top: 19px; }
.testata__apri span:last-child { top: 27px; }
.testata__apri[aria-expanded="true"] span:first-child { top: 23px; transform: rotate(45deg); }
.testata__apri[aria-expanded="true"] span:last-child { top: 23px; transform: rotate(-45deg); }
.testata__apri:active { transform: scale(0.95); }

.menu-telefono {
  position: fixed; inset: 0; z-index: 40;
  height: 100dvh;
  background: var(--verde-testata);
  padding: calc(var(--testata-h) + env(safe-area-inset-top, 0px) + 24px) max(24px, env(safe-area-inset-right, 0px)) calc(32px + env(safe-area-inset-bottom, 0px)) max(24px, env(safe-area-inset-left, 0px));
  display: flex; flex-direction: column; gap: 32px;
  overflow-y: auto; overscroll-behavior: contain;
  opacity: 0; transform: translateY(-8px);
  transition: opacity .22s ease, transform .22s var(--curva);
}
.menu-telefono[hidden] { display: none; }
.menu-telefono.aperto { opacity: 1; transform: none; }
.menu-telefono ul { display: grid; gap: 4px; }
.menu-telefono nav a {
  display: block; padding: 12px 0;
  font-family: var(--f-serif); font-size: 30px; color: var(--crema); text-decoration: none;
  border-bottom: 1px solid var(--oro-linea-scura);
  -webkit-user-select: none; user-select: none;
}
.menu-telefono nav a:active { color: var(--oro-chiaro); }
.menu-telefono .btn { align-self: flex-start; }
.menu-telefono__contatti { display: grid; gap: 8px; }
.menu-telefono__contatti a { color: var(--oro-chiaro); font-size: 16px; text-decoration: none; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: clamp(560px, 50vw, 760px);
  display: flex; align-items: center;
  background: var(--verde-profondo);
  overflow: hidden;
  isolation: isolate;
}
.hero__foto, .hero__foto img {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.hero__foto { z-index: -1; }
.hero__foto img { object-fit: cover; object-position: 62% 60%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(6, 18, 13, 0.82) 0%, rgba(6, 18, 13, 0.6) 32%, rgba(6, 18, 13, 0.08) 58%, rgba(6, 18, 13, 0) 70%),
    linear-gradient(0deg, rgba(6, 18, 13, 0.35) 0%, rgba(6, 18, 13, 0) 30%);
}
.hero__testo { position: relative; z-index: 1; padding-top: 64px; padding-bottom: 72px; }
.hero__testo .occhiello { margin-bottom: clamp(22px, 2.6vw, 38px); }
.hero h1 { max-width: 11ch; }
.hero h1 .accento { white-space: nowrap; font-size: 0.65em; }
.hero__sotto {
  margin-top: clamp(22px, 2.4vw, 36px);
  font-size: clamp(17px, 1.6vw, 23px);
  line-height: 1.42;
  color: var(--bianco);
  max-width: 34ch;
}
.hero__azioni {
  margin-top: clamp(28px, 3.4vw, 50px);
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px 36px;
}

/* ---------- fascia 01 02 03 ---------- */
.fascia { background: var(--avorio); }
.fascia__voci {
  display: grid; grid-template-columns: repeat(3, 1fr);
  padding-top: 30px; padding-bottom: 34px;
}
.fascia__voci li + li { border-left: 1px solid var(--oro-linea); }
.fascia__voci a {
  display: grid; gap: 2px;
  padding: 2px clamp(16px, 4.5vw, 104px) 2px clamp(16px, 7.6vw, 108px);
  text-decoration: none;
  -webkit-user-select: none; user-select: none;
}
.fascia__voci li:first-child a { padding-left: clamp(0px, 7.4vw, 108px); }
.fascia__num { font-family: var(--f-serif); font-size: 19px; color: var(--oro-scuro); line-height: 1.2; }
.fascia__titolo { font-weight: 600; font-size: clamp(19px, 1.7vw, 25px); color: var(--inchiostro); letter-spacing: -0.01em; margin-top: 6px; }
.fascia__sotto { font-size: clamp(15px, 1.2vw, 17.5px); color: var(--testo-tenue); }
@media (hover: hover) and (pointer: fine) {
  .fascia__voci a:hover .fascia__titolo { color: var(--oro-scuro); }
}
.fascia__voci a:active .fascia__titolo { color: var(--oro-scuro); }

/* ---------- noleggio ---------- */
.noleggio { background: var(--avorio-chiaro); padding: 44px 0 40px; }
.noleggio .contenitore { max-width: calc(var(--largo) + 40px); padding-left: max(clamp(16px, 2.6vw, 40px), env(safe-area-inset-left, 0px)); padding-right: max(clamp(16px, 2.6vw, 40px), env(safe-area-inset-right, 0px)); }
.testa { padding-left: clamp(0px, 1.6vw, 26px); }
.testa .occhiello { margin-bottom: 12px; }
.testa__intro { margin-top: 10px; font-size: clamp(19px, 1.95vw, 28px); line-height: 1.3; color: var(--testo); }

.termini {
  margin-top: clamp(28px, 2.1vw, 30px);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 1.5vw, 22px);
}
.termine {
  position: relative; overflow: hidden; border-radius: var(--raggio);
  aspect-ratio: 716 / 390;
  background: var(--verde);
  isolation: isolate;
}
.termine > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform .8s var(--curva); }
.termine::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(0deg, rgba(6, 19, 15, 0.92) 0%, rgba(6, 19, 15, 0.72) 30%, rgba(6, 19, 15, 0.15) 62%, rgba(6, 19, 15, 0) 75%);
}
.termine__testo { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 0 clamp(20px, 2.2vw, 32px) clamp(18px, 1.6vw, 24px); }
.termine h3 { font-weight: 800; font-size: clamp(24px, 2.4vw, 35px); letter-spacing: -0.035em; line-height: 1.1; color: var(--bianco); }
.termine p { margin-top: 10px; font-size: clamp(16px, 1.55vw, 22px); line-height: 1.38; color: var(--bianco); }
.termine .link-oro { margin-top: 14px; }
@media (hover: hover) and (pointer: fine) {
  .termine:hover > img { transform: scale(1.03); }
}

.veicoli {
  margin-top: clamp(14px, 1.2vw, 18px);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.5vw, 22px);
}
.veicolo img { width: 100%; aspect-ratio: 476 / 228; object-fit: cover; border-radius: 10px; }
.veicolo h3 { margin-top: clamp(12px, 1.2vw, 18px); padding-left: 16px; font-weight: 800; font-size: clamp(24px, 2.4vw, 36px); letter-spacing: -0.04em; line-height: 1.1; color: var(--inchiostro); }
.veicolo p { margin-top: 4px; padding-left: 16px; font-size: clamp(16px, 1.55vw, 22px); color: var(--testo); }

.motto {
  margin-top: 28px;
  border-top: 1px solid var(--oro-linea);
  padding-top: clamp(14px, 1.2vw, 18px);
  text-align: center;
  font-family: var(--f-serif);
  font-size: clamp(21px, 1.95vw, 28px);
  color: var(--oro-scuro);
}

/* ---------- auto d'epoca ---------- */
.epoca {
  position: relative;
  background: var(--verde-profondo);
  color: var(--bianco);
  overflow: hidden;
  isolation: isolate;
  min-height: clamp(700px, 66.6vw, 1000px);
  display: flex; align-items: center;
}
.epoca__foto { position: absolute; top: 0; bottom: 0; right: 0; left: 34%; z-index: -1; }
.epoca__foto img { width: 100%; height: 100%; object-fit: cover; object-position: 48% 55%; }
.epoca__foto::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, #061712 0%, rgba(6, 23, 18, 0.88) 9%, rgba(6, 23, 18, 0.35) 22%, rgba(6, 23, 18, 0) 34%),
    linear-gradient(0deg, rgba(6, 23, 18, 0.25) 0%, rgba(6, 23, 18, 0) 18%);
}
.epoca__testo { padding-top: clamp(80px, 9vw, 150px); padding-bottom: clamp(64px, 6vw, 96px); }
.epoca__testo > * { max-width: 680px; }
.epoca__testo .occhiello { margin-bottom: clamp(22px, 2.6vw, 38px); }
.epoca h2 .accento { font-size: 0.83em; line-height: 1.08; margin-top: 0.06em; }
.epoca__lead { margin-top: clamp(26px, 2.8vw, 40px); font-weight: 600; font-size: clamp(19px, 1.75vw, 25px); line-height: 1.38; }
.epoca__nota { margin-top: clamp(16px, 1.8vw, 28px); font-size: clamp(16px, 1.3vw, 19px); color: var(--bianco); opacity: .92; }
.pillole { margin-top: clamp(26px, 3vw, 44px); display: flex; flex-wrap: wrap; gap: 14px; }
.pillole li {
  border: 1.5px solid var(--oro-bordo); border-radius: 999px;
  padding: 0.6em 1.5em;
  font-size: clamp(16px, 1.25vw, 18px);
  color: var(--crema);
}
.epoca .btn { margin-top: clamp(28px, 3vw, 44px); }
.epoca__altre { margin-top: clamp(28px, 2.6vw, 40px); display: flex; gap: 12px; }
.epoca__altre li { width: clamp(84px, 7vw, 104px); }
.epoca__altre img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 10px; border: 1px solid var(--oro-linea-scura); }

/* ---------- cura dell'auto ---------- */
.cura { background: var(--avorio-cura); padding: 52px 0 40px; }
.cura__testa { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; flex-wrap: wrap; }
.cura__testa .occhiello { margin-bottom: clamp(14px, 1.8vw, 26px); }
.cura__intro { font-size: clamp(18px, 1.95vw, 28px); line-height: 1.4; color: var(--inchiostro); padding-bottom: 6px; margin-right: clamp(0px, 2vw, 32px); }
.servizi { margin-top: clamp(28px, 2.4vw, 36px); display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 30px); }
.servizio { display: block; text-decoration: none; -webkit-user-select: none; user-select: none; }
.servizio > img { width: 100%; aspect-ratio: 466 / 272; object-fit: cover; border-radius: var(--raggio); transition: transform .5s var(--curva); }
.servizio__titolo {
  display: flex; align-items: center; gap: 0.7em;
  margin-top: clamp(16px, 2vw, 30px);
  font-weight: 800; font-size: clamp(22px, 2.05vw, 30px); letter-spacing: -0.035em; line-height: 1.15; color: var(--inchiostro);
}
.servizio__titolo img { width: 0.8em; height: 0.8em; flex: 0 0 auto; transition: transform .2s var(--curva); }
.servizio__testo { display: block; margin-top: 8px; font-size: clamp(16px, 1.4vw, 20px); color: var(--testo); }
@media (hover: hover) and (pointer: fine) {
  .servizio:hover .servizio__titolo img { transform: translate(3px, -3px); }
  .servizio:hover > img { transform: scale(1.015); }
}
.servizio:active > img { transform: scale(0.985); }

/* ---------- parliamone ---------- */
.parliamone { background: var(--verde); color: var(--bianco); padding: 40px 0 52px; }
.parliamone__griglia { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px 64px; align-items: start; }
.parliamone__destra { padding-top: clamp(0px, 1.2vw, 18px); }
.parliamone h2 { color: var(--crema); }
.linea-oro { display: block; width: 80px; height: 2px; background: var(--oro); margin: clamp(24px, 2.2vw, 32px) 0 clamp(24px, 2.4vw, 34px); }
.parliamone__sinistra p, .parliamone__destra > p { font-size: clamp(17px, 1.6vw, 23px); line-height: 1.42; }
.parliamone__destra .btn { margin-top: clamp(24px, 2.2vw, 34px); font-size: clamp(19px, 1.7vw, 25px); }
.recapiti { margin-top: 28px; display: grid; gap: 10px; }
.recapiti li { display: grid; gap: 0; }
.recapiti span { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--oro); }
.recapiti a { font-size: 16px; color: var(--crema); text-decoration: none; word-break: break-word; }
@media (hover: hover) and (pointer: fine) { .recapiti a:hover { color: var(--oro-chiaro); text-decoration: underline; text-underline-offset: 4px; } }

/* ---------- footer ---------- */
.piede { background: var(--verde); color: var(--crema); border-top: 1px solid var(--oro-linea-scura); padding-bottom: env(safe-area-inset-bottom, 0px); }
.piede__riga { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px 40px; padding-top: 28px; padding-bottom: 26px; }
.piede__logo img { width: clamp(150px, 14vw, 205px); }
.piede__menu { display: flex; justify-content: center; flex-wrap: wrap; }
.piede__menu li + li { border-left: 1px solid var(--oro-linea-scura); }
.piede__menu a, .piede__legali a {
  font-family: var(--f-serif); font-size: 17px; color: var(--crema); text-decoration: none;
  -webkit-user-select: none; user-select: none;
}
.piede__menu a { display: block; padding: 6px clamp(16px, 2vw, 28px); }
.piede__legali { border-left: 1px solid var(--oro-linea-scura); padding: 8px 0 8px clamp(20px, 3.6vw, 52px); font-family: var(--f-serif); font-size: 17px; }
@media (hover: hover) and (pointer: fine) {
  .piede__menu a:hover, .piede__legali a:hover { color: var(--oro-chiaro); }
}
.piede__fondo { border-top: 1px solid var(--oro-linea-scura); padding-top: 18px; padding-bottom: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; }
.piede__nota, .credit { font-size: 13px; line-height: 1.55; color: var(--crema); opacity: .72; }
.piede__nota a, .credit a { color: var(--oro-chiaro); }

/* ---------- pagine legali e 404 ---------- */
.pagina-legale { background: var(--avorio-chiaro); padding: clamp(48px, 6vw, 96px) 0; }
.legale { max-width: 780px; color: var(--testo); font-size: 17px; line-height: 1.65; }
.legale h1 { font-weight: 800; font-size: clamp(36px, 5vw, 64px); letter-spacing: -0.045em; line-height: 1.02; color: var(--inchiostro); margin-bottom: 18px; }
.legale h2 { font-weight: 800; font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -0.03em; color: var(--inchiostro); margin: 40px 0 12px; }
.legale p, .legale ul, .legale table { margin: 0 0 14px; }
.legale ul { list-style: disc; padding-left: 22px; }
.legale li { margin-bottom: 6px; }
.legale a { color: var(--oro-scuro); text-underline-offset: 3px; word-break: break-word; }
.legale table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.legale th, .legale td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--oro-linea); }
.legale th { color: var(--inchiostro); font-weight: 700; }
.legale > p:nth-of-type(1) { color: var(--oro-scuro); font-size: 15px; }

.pagina-404 { background: var(--verde); color: var(--bianco); min-height: 70vh; display: flex; align-items: center; padding: 96px 0; }
.pagina-404 p { margin-top: 24px; font-size: 19px; max-width: 40ch; }
.pagina-404 .btn { margin-top: 36px; }

/* ---------- comparsa allo scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s var(--curva), transform .75s var(--curva); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { transform: none; transition: opacity .4s ease; }
  .termine > img, .servizio > img, .btn, .btn img { transition: none; }
}

/* ---------- tablet ---------- */
@media (max-width: 1080px) {
  :root { --testata-h: 76px; }
  .menu, .testata__azione { display: none; }
  .testata__apri { display: block; }
  .fascia__voci a, .fascia__voci li:first-child a { padding-left: 24px; padding-right: 16px; }
  .fascia__voci li:first-child a { padding-left: 0; }
  .piede__riga { grid-template-columns: 1fr; justify-items: start; }
  .piede__menu { justify-content: flex-start; }
  .piede__menu li:first-child a { padding-left: 0; }
  .piede__legali { border-left: 0; padding-left: 0; }
}

@media (max-width: 899px) {
  .termini { grid-template-columns: 1fr; }
  .termine { aspect-ratio: 4 / 3.1; }
  .veicoli, .servizi {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px;
    margin-left: calc(-1 * max(16px, env(safe-area-inset-left, 0px)));
    margin-right: calc(-1 * max(16px, env(safe-area-inset-right, 0px)));
    padding: 0 max(16px, env(safe-area-inset-left, 0px)) 8px;
    scroll-padding-left: 16px;
    scrollbar-width: none;
  }
  .veicoli::-webkit-scrollbar, .servizi::-webkit-scrollbar { display: none; }
  .veicoli > li, .servizi > li { flex: 0 0 80%; scroll-snap-align: start; }
  .parliamone__griglia { grid-template-columns: 1fr; }

  .epoca { display: block; min-height: 0; }
  .epoca__foto { position: relative; left: auto; inset: auto; aspect-ratio: 1 / 1; max-height: 70svh; width: 100%; }
  .epoca__foto::after { background: linear-gradient(0deg, #061712 0%, rgba(6, 23, 18, 0.6) 16%, rgba(6, 23, 18, 0) 38%); }
  .epoca__testo { padding-top: 8px; margin-top: -24px; position: relative; }
}

/* ---------- telefono ---------- */
@media (max-width: 600px) {
  body { font-size: 16px; }
  :root { --testata-h: 68px; }
  .testata__logo img { width: 150px; }
  .testata__apri { width: 44px; height: 44px; }
  .testata__apri span { left: 12px; right: 12px; }
  .testata__apri span:first-child { top: 17px; }
  .testata__apri span:last-child { top: 25px; }
  .testata__apri[aria-expanded="true"] span:first-child, .testata__apri[aria-expanded="true"] span:last-child { top: 21px; }

  .hero { min-height: calc(100svh - var(--testata-h)); max-height: 820px; align-items: flex-end; }
  .hero__foto img { object-position: 86% 50%; }
  .hero::before {
    background:
      linear-gradient(0deg, rgba(6, 18, 13, 0.95) 0%, rgba(6, 18, 13, 0.84) 44%, rgba(6, 18, 13, 0.66) 58%, rgba(6, 18, 13, 0.18) 78%, rgba(6, 18, 13, 0) 100%);
  }
  .hero__testo { padding-top: 140px; padding-bottom: 36px; }
  .hero__testo .occhiello { font-size: 12px; letter-spacing: 0.24em; margin-bottom: 16px; color: var(--oro-chiaro); text-shadow: 0 1px 10px rgba(6, 18, 13, 0.9); }
  .titolo-xl { font-size: 52px; }
  .hero h1 .accento { font-size: 0.7em; white-space: normal; }
  .hero__azioni { gap: 14px 24px; }
  .hero__azioni .btn { font-size: 18px; }

  .fascia__voci { grid-template-columns: 1fr; padding-top: 8px; padding-bottom: 8px; }
  .fascia__voci li + li { border-left: 0; border-top: 1px solid var(--oro-linea); }
  .fascia__voci a, .fascia__voci li:first-child a { padding: 16px 0; grid-template-columns: 34px 1fr; column-gap: 8px; }
  .fascia__num { grid-row: span 2; padding-top: 6px; }
  .fascia__titolo { margin-top: 0; }

  .noleggio, .cura { padding-top: 56px; padding-bottom: 48px; }
  .parliamone { padding-top: 56px; padding-bottom: 48px; }
  .testa { padding-left: 0; }
  .titolo-l { font-size: 40px; }
  .termine { aspect-ratio: auto; min-height: 300px; }
  .termine h3 { font-size: 25px; }
  .termine p br { display: none; }
  .veicolo h3, .veicolo p { padding-left: 4px; }
  .motto { font-size: 21px; }

  .epoca__lead br { display: none; }
  .epoca__altre li { flex: 1 1 0; width: auto; }

  .cura__intro br { display: none; }
  .parliamone__sinistra p br, .parliamone__destra > p br { display: none; }
  .piede__menu { gap: 2px 0; }
  .piede__menu li + li { border-left: 0; }
  .piede__menu a, .piede__menu li:first-child a { padding: 6px 22px 6px 0; font-size: 16px; }
}

@media (max-width: 360px) {
  .titolo-xl { font-size: 46px; }
  .titolo-l { font-size: 36px; }
  .btn { padding: 0.9em 1.3em; }
}
