/* ============================================================
   DanieleRent — foglio di stile principale
   Autore: sviluppo interno DanieleRent
   Ultima revisione: luglio 2026
   Note:
   - palette e spaziature definite nelle custom property in :root
   - le animazioni della testata usano solo transform/opacity
     per non pesare sul main thread (testato su iPhone 8 e su
     un vecchio portatile del 2015, gira liscio)
   - se tocchi i breakpoint ricordati di provare anche a 768px
   ============================================================ */

/* ============ DanieleRent — styles.css ============ */
:root {
  --rosso: #D42B1E;
  --rosso-scuro: #A31207;
  --rosso-tenue: #FBEAE8;
  --bianco: #FFFFFF;
  --carta: #F7F5F3;
  --inchiostro: #17181C;
  --grigio: #6B6E76;
  --linea: #E8E4E0;
  --raggio: 18px;
  --ombra: 0 18px 50px -18px rgba(23,24,28,.22);
  --morbida: cubic-bezier(.22,.8,.3,1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Instrument Sans',sans-serif;
  color: var(--inchiostro);
  background: var(--bianco);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,h2,h3 {
  font-family: 'Sora',sans-serif;
}

.wrap {
  width: min(1120px,92%);
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--rosso);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--rosso);
  border-radius: 2px;
}

.hero .eyebrow {
  color: #FF8B80;
}

.hero .eyebrow::before {
  background: #FF8B80;
}

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

/* ---------- Animazioni allo scroll ----------
   Le sezioni entrano con un fade+slide gestito da script.js.
   La classe .visibile viene aggiunta dall'IntersectionObserver. */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--morbida), transform .7s var(--morbida);
}

.reveal.d1 {
  transition-delay: .1s;
}

.reveal.d2 {
  transition-delay: .2s;
}

.reveal.d3 {
  transition-delay: .3s;
}

.reveal.visibile {
  opacity: 1;
  transform: none;
}

.no-observer .reveal {
  opacity: 1;
  transform: none;
}

/* ---------- Header ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}

header.scrolled {
  border-bottom-color: var(--linea);
  box-shadow: 0 8px 24px -18px rgba(23,24,28,.25);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav .logo img {
  height: 34px;
  width: auto;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--rosso);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  transition: background .25s, transform .25s, box-shadow .25s;
}

.nav-cta:hover {
  background: var(--rosso-scuro);
  transform: translateY(-1px);
  box-shadow: 0 10px 20px -10px rgba(212,43,30,.55);
}

/* ---------- Hero ---------- */
.testa {
  position: relative;
  background: radial-gradient(90% 60% at 50% 115%, rgba(212,43,30,.22), transparent 60%),
  linear-gradient(180deg,#191A1F 0%, #1E1D22 55%, #241E20 100%);
  overflow: hidden;
}

.testa > * {
  position: relative;
}

.testa-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

/* luci di garage */
.garage-luce {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  will-change: transform;
}

.garage-luce.g1 {
  width: 560px;
  height: 560px;
  right: -160px;
  top: -200px;
  background: radial-gradient(circle, rgba(212,43,30,.34), transparent 70%);
  animation: respira 12s ease-in-out infinite alternate;
}

.garage-luce.g2 {
  width: 460px;
  height: 460px;
  left: -160px;
  bottom: -160px;
  background: radial-gradient(circle, rgba(212,43,30,.2), transparent 70%);
  animation: respira 15s ease-in-out infinite alternate-reverse;
}

@keyframes respira {
  to {
    transform: scale(1.18) translate(-30px,20px);
  }

}
/* bande diagonali stile officina */
.banda {
  position: absolute;
  left: -12%;
  width: 124%;
  height: 66px;
  background: linear-gradient(90deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
  transform: rotate(-7deg);
  border-top: 2px solid rgba(212,43,30,.3);
  border-bottom: 2px solid rgba(255,255,255,.05);
}

.banda.bd1 {
  top: 11%;
}

.banda.bd2 {
  top: 30%;
  height: 26px;
  border-top-color: rgba(255,255,255,.08);
  border-bottom-color: rgba(212,43,30,.18);
}

/* corsie con veicoli che corrono */
.corsia {
  position: absolute;
  left: 0;
  right: 0;
  height: 72px;
}

.corsia.c1 {
  top: 46%;
}

.corsia.c2 {
  top: 62%;
}

.corsia.c3 {
  bottom: 56px;
}

.asfalto {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  height: 2px;
  background-image: linear-gradient(90deg, rgba(255,255,255,.22) 55%, transparent 0);
  background-size: 30px 2px;
  animation: asfalto-scorre 1.1s linear infinite;
}

.corsia.c2 .asfalto {
  animation-direction: reverse;
  animation-duration: 1.5s;
  opacity: .7;
}

.corsia.c3 .asfalto {
  animation-duration: .75s;
  background-size: 38px 2px;
}

@keyframes asfalto-scorre {
  to {
    background-position-x: -300px;
  }

}
.viaggio {
  position: absolute;
  bottom: 6px;
  will-change: transform;
}

.mezzo-svg {
  display: block;
  filter: drop-shadow(0 0 10px rgba(212,43,30,.55)) drop-shadow(0 6px 16px rgba(0,0,0,.4));
}

.viaggio .scie-g {
  opacity: .55;
}

.viaggio .scie-g line {
  stroke-dasharray: 34;
  animation: scia-pulsa .5s linear infinite;
}

@keyframes scia-pulsa {
  to {
    stroke-dashoffset: -34;
  }

}
.viaggio.v1 {
  animation: corre 16s linear infinite;
}

.viaggio.v1 .mezzo-svg {
  width: 186px;
  opacity: .8;
}

.viaggio.v2 {
  animation: corre-indietro 11s linear infinite;
  animation-delay: -4s;
}

.viaggio.v2 .mezzo-svg {
  width: 132px;
  opacity: .65;
}

.viaggio.v2.contromano .mezzo-svg {
  transform: scaleX(-1);
}

.viaggio.v3 {
  animation: corre 7.5s linear infinite;
  animation-delay: -2s;
}

.viaggio.v3 .mezzo-svg {
  width: 230px;
  opacity: 1;
}

@keyframes corre {
  from {
    transform: translateX(-260px);
  }
  to {
    transform: translateX(calc(100vw + 260px));
  }

}
@keyframes corre-indietro {
  from {
    transform: translateX(calc(100vw + 260px));
  }
  to {
    transform: translateX(-260px);
  }

}
/* fari che sfrecciano */
.faro {
  position: absolute;
  height: 3px;
  width: 180px;
  border-radius: 99px;
  background: linear-gradient(90deg,transparent, rgba(255,255,255,.55), transparent);
  opacity: 0;
  animation: faro-passa 6s linear infinite;
}

.faro.f1 {
  top: 52%;
  animation-delay: 1.2s;
}

.faro.f2 {
  bottom: 96px;
  animation-delay: 3.8s;
  width: 130px;
}

@keyframes faro-passa {
  0% {
    left: -14%;
    opacity: 0;
  }
  6% {
    opacity: .9;
  }
  42% {
    left: 104%;
    opacity: .9;
  }
  46% {
    left: 104%;
    opacity: 0;
  }
  100% {
    left: 104%;
    opacity: 0;
  }

}
.hero {
  position: relative;
  background: transparent;
  overflow: visible;
}

.hero-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.anello {
  display: none;
}

.anello.a1 {
  width: 420px;
  height: 420px;
  right: -120px;
  top: -140px;
  border-width: 38px;
  border-color: rgba(212,43,30,.07);
}

.anello.a2 {
  width: 200px;
  height: 200px;
  right: 220px;
  top: 120px;
  border-style: dashed;
  border-color: rgba(212,43,30,.22);
  animation: ruota 40s linear infinite;
}

.scia {
  position: absolute;
  left: -4%;
  bottom: 110px;
  width: 108%;
  height: 2px;
  background-image: linear-gradient(90deg,rgba(212,43,30,.35) 55%, transparent 0);
  background-size: 14px 2px;
}

@keyframes ruota {
  to {
    transform: rotate(360deg);
  }

}
.hero-in {
  position: relative;
  text-align: left;
  max-width: 820px;
  padding: 72px 0 230px;
}

.hero h1 {
  font-size: clamp(34px,5.2vw,60px);
  line-height: 1.07;
  font-weight: 800;
  letter-spacing: -.02em;
  margin-top: 16px;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0,0,0,.5);
}

.hero h1 em {
  font-style: normal;
  color: var(--rosso);
  position: relative;
  white-space: nowrap;
}

.hero h1 em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: .32em;
  background: rgba(212,43,30,.28);
  z-index: -1;
  border-radius: 4px;
}

.hero p {
  margin-top: 18px;
  font-size: 17.5px;
  line-height: 1.65;
  color: #C9CBD2;
  max-width: 52ch;
}

.hero-punti {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.punto {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  padding: 9px 15px;
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
  backdrop-filter: blur(4px);
}

.punto svg {
  width: 15px;
  height: 15px;
  flex: none;
}

/* ---------- Booking card ---------- */
.prenota {
  position: relative;
  z-index: 10;
  margin-top: -160px;
  padding-bottom: 16px;
}

.card {
  background: #fff;
  border: 1px solid var(--linea);
  border-radius: 24px;
  box-shadow: 0 24px 60px -20px rgba(23,24,28,.28);
  padding: 22px;
}

.tipo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.tipo button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 2px solid var(--linea);
  background: #fff;
  border-radius: 16px;
  padding: 10px 14px;
  font: inherit;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: border-color .25s, background .25s, transform .2s;
  color: var(--inchiostro);
}

.tipo button:active {
  transform: scale(.98);
}

.tipo button img {
  height: 44px;
  width: auto;
}

.tipo button[aria-pressed="true"] {
  border-color: var(--rosso);
  background: var(--rosso-tenue);
}

.campi {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 10px;
}

.campo {
  border: 1.5px solid var(--linea);
  border-radius: 14px;
  padding: 10px 14px;
  background: #fff;
  transition: border-color .25s, box-shadow .25s;
}

.campo:focus-within {
  border-color: var(--rosso);
  box-shadow: 0 0 0 3px rgba(212,43,30,.1);
}

.campo label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--grigio);
  margin-bottom: 4px;
}

.campo select,.campo input {
  width: 100%;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--inchiostro);
  outline: none;
}

.campo select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23D42B1E' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
  padding-right: 20px;
}

.riga-2 {
  margin-top: 10px;
  grid-template-columns: 1fr 1fr;
}

.riga-2.con-sede {
  grid-template-columns: 1.4fr 1fr 1fr;
}

.campo.nascosto {
  display: none;
}

.oneway {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 2px 4px;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  width: fit-content;
}

.oneway input {
  width: 19px;
  height: 19px;
  accent-color: var(--rosso);
  cursor: pointer;
}

.cerca {
  margin-top: 14px;
  width: 100%;
  border: 0;
  background: var(--rosso);
  color: #fff;
  font: inherit;
  font-family: 'Sora',sans-serif;
  font-weight: 700;
  font-size: 17px;
  padding: 16px;
  border-radius: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background .25s, transform .15s, box-shadow .25s;
}

.cerca:hover {
  background: var(--rosso-scuro);
  box-shadow: 0 14px 28px -14px rgba(212,43,30,.6);
}

.cerca:active {
  transform: scale(.99);
}

.esito {
  display: none;
  margin-top: 12px;
  background: var(--rosso-tenue);
  border: 1px solid #F3C9C4;
  border-radius: 14px;
  padding: 12px 16px;
  font-size: 14.5px;
  line-height: 1.55;
}

.esito.visibile {
  display: block;
  animation: appari .4s var(--morbida);
}

@keyframes appari {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }

}

/* ---------- Banner promo ----------
   NB: la foto è appena sfocata (1.5px), il velo scuro serve
   solo a far leggere il testo. Non esagerare o si perde la scena. */
.promo-sez {
  padding: 64px 0 0;
}

.promo {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  min-height: 380px;
  display: flex;
  align-items: center;
  box-shadow: var(--ombra);
}

.promo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(1.5px) brightness(.92);
  transform: scale(1.05);
}

.promo-velo {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(20,8,7,.78) 0%, rgba(20,8,7,.48) 46%, rgba(20,8,7,.08) 100%);
}

.promo-testo {
  position: relative;
  color: #fff;
  padding: 52px 48px;
  max-width: 600px;
}

.promo-badge {
  display: inline-block;
  background: var(--rosso);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
  box-shadow: 0 10px 22px -10px rgba(212,43,30,.8);
}

.promo-testo h2 {
  font-size: clamp(24px,3.4vw,40px);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.15;
  margin-top: 16px;
  text-shadow: 0 2px 14px rgba(0,0,0,.75), 0 0 34px rgba(0,0,0,.5);
}

.promo-testo h2 em {
  font-style: normal;
  color: #FFC7C0;
  white-space: nowrap;
}

.promo-testo p {
  margin-top: 12px;
  font-size: 15.5px;
  line-height: 1.6;
  opacity: .92;
  text-shadow: 0 1px 10px rgba(0,0,0,.5);
}

.promo-testo a {
  display: inline-block;
  margin-top: 22px;
  background: #fff;
  color: var(--rosso-scuro);
  font-family: 'Sora',sans-serif;
  font-weight: 700;
  font-size: 15.5px;
  padding: 14px 26px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform .25s, box-shadow .25s;
}

.promo-testo a:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -12px rgba(0,0,0,.5);
}

/* ---------- Sezioni ---------- */
section {
  padding: 76px 0;
}

.testata {
  max-width: 640px;
  margin-bottom: 42px;
}

.testata h2 {
  font-size: clamp(26px,3.2vw,38px);
  font-weight: 800;
  letter-spacing: -.02em;
  margin-top: 12px;
}

.testata p {
  margin-top: 12px;
  color: var(--grigio);
  line-height: 1.65;
}

.vantaggi {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 16px;
}

.vantaggio {
  background: var(--carta);
  border: 1px solid var(--linea);
  border-radius: var(--raggio);
  padding: 26px;
  transition: transform .3s var(--morbida), box-shadow .3s, opacity .7s var(--morbida);
}

.vantaggio:hover {
  transform: translateY(-5px);
  box-shadow: var(--ombra);
}

.vantaggio .icona {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--rosso);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.vantaggio .icona svg {
  width: 22px;
  height: 22px;
}

.vantaggio h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.vantaggio p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--grigio);
}

/* ---------- Flotta ---------- */
.flotta-sez {
  background: var(--carta);
}

.flotta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.mezzo {
  background: #fff;
  border: 1px solid var(--linea);
  border-radius: 22px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  transition: transform .3s var(--morbida), box-shadow .3s, opacity .7s var(--morbida);
}

.mezzo:hover {
  transform: translateY(-5px);
  box-shadow: var(--ombra);
}

.mezzo .tag {
  align-self: flex-start;
  background: var(--rosso-tenue);
  color: var(--rosso-scuro);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}

.mezzo img {
  width: min(340px,86%);
  margin: 10px auto;
  transition: transform .4s var(--morbida);
}

.mezzo:hover img {
  transform: scale(1.04);
}

.mezzo h3 {
  font-size: 20px;
}

.mezzo .specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.mezzo .specs span {
  font-size: 13px;
  font-weight: 600;
  color: var(--grigio);
  background: var(--carta);
  border: 1px solid var(--linea);
  border-radius: 999px;
  padding: 6px 12px;
}

.mezzo .prezzo {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed var(--linea);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.mezzo .prezzo b {
  font-family: 'Sora',sans-serif;
  font-size: 24px;
  color: var(--rosso);
}

.mezzo .prezzo small {
  color: var(--grigio);
  font-size: 13px;
}

/* ---------- Chi siamo ---------- */
.storia {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: start;
}

.storia-testo h2 {
  font-size: clamp(26px,3.2vw,38px);
  font-weight: 800;
  letter-spacing: -.02em;
  margin-top: 12px;
}

.storia-testo p {
  margin-top: 16px;
  color: var(--grigio);
  line-height: 1.75;
  font-size: 16px;
}

.storia-tappe {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  padding-left: 8px;
}

.tappa {
  display: flex;
  gap: 18px;
  padding: 18px 0;
  position: relative;
}

.tappa+.tappa {
  border-top: 1px dashed var(--linea);
}

.tappa .anno {
  flex: none;
  font-family: 'Sora',sans-serif;
  font-weight: 800;
  font-size: 15px;
  color: #fff;
  background: var(--rosso);
  border-radius: 12px;
  padding: 8px 12px;
  height: fit-content;
  box-shadow: 0 8px 16px -10px rgba(212,43,30,.6);
}

.tappa b {
  font-family: 'Sora',sans-serif;
  font-size: 15.5px;
}

.tappa p {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--grigio);
}

/* ---------- Sedi / one-way ---------- */
.sedi-sez {
  background: var(--carta);
}

.rotta {
  position: relative;
  background: #fff;
  border: 1px solid var(--linea);
  border-radius: 26px;
  padding: 40px 32px;
  overflow: hidden;
}

.rotta::before {
  content: "";
  position: absolute;
  inset: auto -10% -55% -10%;
  height: 80%;
  background: radial-gradient(60% 100% at 50% 100%, var(--rosso-tenue), transparent 70%);
}

.rotta-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}

.sede {
  background: var(--carta);
  border: 1px solid var(--linea);
  border-radius: 18px;
  padding: 22px;
}

.sede .pin {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--rosso);
  margin-bottom: 12px;
}

.sede h3 {
  font-size: 18px;
}

.sede p {
  font-size: 14px;
  color: var(--grigio);
  margin-top: 6px;
  line-height: 1.55;
}

.tratta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 150px;
}

.tratta .linea-rotta {
  width: 150px;
  height: 2px;
  background-image: linear-gradient(90deg,var(--rosso) 55%, transparent 0);
  background-size: 12px 2px;
  position: relative;
  animation: corri 1.2s linear infinite;
}

@keyframes corri {
  to {
    background-position-x: 12px;
  }

}
.tratta .linea-rotta::after {
  content: "";
  position: absolute;
  right: -2px;
  top: -4px;
  border: 5px solid transparent;
  border-left-color: var(--rosso);
}

.tratta small {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--rosso);
}

.tratta .km {
  font-family: 'Sora',sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--inchiostro);
}

.rotta-nota {
  position: relative;
  margin-top: 26px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--rosso-tenue);
  border-radius: 16px;
  padding: 16px 18px;
  font-size: 14.5px;
  line-height: 1.6;
}

.rotta-nota svg {
  flex: none;
  margin-top: 2px;
}

/* ---------- CTA + footer ---------- */
.finale {
  background: linear-gradient(135deg,var(--rosso) 0%, var(--rosso-scuro) 100%);
  border-radius: 26px;
  color: #fff;
  padding: 52px 40px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 24px;
  align-items: center;
  position: relative;
  overflow: hidden;
  margin-top: 8px;
}

.finale::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 280px;
  height: 280px;
  border: 40px solid rgba(255,255,255,.08);
  border-radius: 50%;
}

.finale h2 {
  font-size: clamp(24px,3vw,34px);
  font-weight: 800;
  letter-spacing: -.02em;
}

.finale p {
  margin-top: 10px;
  opacity: .9;
  line-height: 1.6;
}

.finale a {
  justify-self: start;
  background: #fff;
  color: var(--rosso-scuro);
  font-family: 'Sora',sans-serif;
  font-weight: 700;
  font-size: 16px;
  padding: 15px 28px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform .25s, box-shadow .25s;
}

.finale a:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -12px rgba(0,0,0,.35);
}

footer {
  border-top: 1px solid var(--linea);
  padding: 32px 0;
  margin-top: 76px;
}

.footer-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-in img {
  height: 24px;
  width: auto;
}

.footer-in p {
  font-size: 13px;
  color: var(--grigio);
}

/* ---------- Responsive ---------- */
@media (max-width:900px) {
  section {
    padding: 56px 0;
  }
  .hero-in {
    padding: 52px 0 210px;
  }
  .anello.a2 {
    display: none;
  }
  .banda.bd2 {
    display: none;
  }
  .corsia.c2 {
    display: none;
  }
  .viaggio.v1 .mezzo-svg {
    width: 128px;
  }
  .viaggio.v3 .mezzo-svg {
    width: 150px;
  }
  .garage-luce {
    filter: blur(60px);
  }
  .promo {
    min-height: 320px;
  }
  .promo-testo {
    padding: 36px 26px;
  }
  .promo-velo {
    background: linear-gradient(180deg, rgba(20,8,7,.7) 0%, rgba(20,8,7,.4) 100%);
  }
  .campi {
    grid-template-columns: 1fr 1fr;
  }
  .campo.sede-campo {
    grid-column: 1 / -1;
  }
  .riga-2.con-sede {
    grid-template-columns: 1fr 1fr;
  }
  .vantaggi {
    grid-template-columns: 1fr;
  }
  .flotta {
    grid-template-columns: 1fr;
  }
  .storia {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .rotta {
    padding: 28px 20px;
  }
  .rotta-grid {
    grid-template-columns: 1fr;
  }
  .tratta {
    flex-direction: row;
    justify-content: center;
  }
  .tratta .linea-rotta {
    width: 90px;
  }
  .finale {
    grid-template-columns: 1fr;
    padding: 36px 26px;
  }

}
@media (max-width:520px) {
  .nav .logo img {
    height: 26px;
  }
  .nav-cta {
    font-size: 13px;
    padding: 9px 14px;
  }
  .hero-in {
    padding: 44px 0 200px;
  }
  .tipo button {
    flex-direction: column;
    gap: 6px;
    font-size: 14.5px;
    padding: 12px 8px;
  }
  .tipo button img {
    height: 34px;
  }
  .card {
    padding: 16px;
    border-radius: 20px;
  }
  .punto {
    font-size: 12.5px;
    padding: 8px 12px;
  }

}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after {
    transition-duration: .01ms !important;
    animation: none !important;
  }
  .faro,.viaggio {
    display: none;
  }
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }

}