/* =========================================================================
   New Rent Bike — Cesenatico
   Variante B "Energico & sportivo": tramonto adriatico, arancio deciso,
   contrasto alto, taglio adventure/cicloturismo. Stesso markup della var. A.
   ========================================================================= */

:root {
  /* Brand voice — sport/sunset */
  --sea: oklch(50% 0.12 230);              /* blu mare vivo */
  --sea-deep: oklch(30% 0.09 245);         /* notte */
  --ink-deep: oklch(22% 0.045 260);        /* quasi-nero bluastro */
  --flame: oklch(64% 0.2 38);              /* arancio fiamma (lead) */
  --flame-deep: oklch(55% 0.2 33);
  --flame-bright: oklch(72% 0.18 50);
  --electric: oklch(62% 0.16 225);         /* azzurro elettrico (accento) */
  --lime: oklch(80% 0.16 130);             /* spia hi-vis, usata pochissimo */

  /* Superfici */
  --bg: oklch(97% 0.012 235);              /* bianco-azzurro fresco */
  --surface: oklch(99% 0.006 235);
  --paper: oklch(100% 0 0 / 1);
  --sand-100: oklch(95% 0.015 60);

  /* Testo */
  --ink: oklch(24% 0.04 255);
  --ink-soft: oklch(40% 0.03 255);
  --ink-mute: oklch(54% 0.025 255);

  --line: oklch(89% 0.018 245);
  --line-strong: oklch(80% 0.03 245);

  --fg: var(--ink);
  --accent: var(--flame);

  /* Tipografia — display heavy, grottesca tirata */
  --font-display: "Bricolage Grotesque", "Arial Black", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --step--1: clamp(0.84rem, 0.80rem + 0.18vw, 0.94rem);
  --step-0:  clamp(1rem, 0.95rem + 0.25vw, 1.13rem);
  --step-1:  clamp(1.3rem, 1.18rem + 0.5vw, 1.65rem);
  --step-2:  clamp(1.7rem, 1.45rem + 1vw, 2.45rem);
  --step-3:  clamp(2.2rem, 1.8rem + 1.9vw, 3.6rem);
  --step-4:  clamp(2.9rem, 2.1rem + 3.6vw, 5.4rem);
  --step-5:  clamp(3.4rem, 2.1rem + 5.8vw, 7.4rem);

  --gap-2xs: 0.375rem; --gap-xs: 0.625rem; --gap-s: 1rem; --gap-m: 1.6rem;
  --gap-l: 2.6rem; --gap-xl: clamp(3rem, 6vw, 6rem); --gap-2xl: clamp(4.5rem, 9vw, 9rem);

  --radius: 10px;
  --radius-l: 18px;
  --radius-pill: 999px;
  --shadow-s: 0 1px 2px oklch(22% 0.05 255 / 0.08), 0 3px 8px oklch(22% 0.05 255 / 0.06);
  --shadow-m: 0 8px 20px oklch(22% 0.06 255 / 0.12), 0 16px 40px oklch(22% 0.06 255 / 0.1);
  --shadow-l: 0 22px 60px oklch(22% 0.07 255 / 0.2);
  --shadow-flame: 0 8px 26px oklch(64% 0.2 38 / 0.4);

  --maxw: 1220px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1); /* ease-out-expo (più scattante) */
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body); font-size: var(--step-0); line-height: 1.62;
  color: var(--fg); background: var(--bg);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
:focus-visible { outline: 3px solid var(--electric); outline-offset: 3px; border-radius: 3px; }

/* Tipografia */
h1, h2, h3, h4 {
  font-family: var(--font-display); line-height: 1.0; letter-spacing: -0.025em;
  color: var(--ink-deep); font-weight: 800; text-wrap: balance;
}
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }
p { text-wrap: pretty; }
.lead { font-size: var(--step-1); color: var(--ink-soft); line-height: 1.45; }

.wrap { width: min(100% - 2.4rem, var(--maxw)); margin-inline: auto; }
.section { padding-block: var(--gap-2xl); }
.section--tight { padding-block: var(--gap-xl); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-family: var(--font-display); font-weight: 700; font-size: var(--step--1);
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--flame-deep);
}
.eyebrow::before { content: ""; width: 1.8em; height: 3px; background: var(--flame); transform: skewX(-20deg); }
.section-head { max-width: 56ch; margin-bottom: var(--gap-l); }
.section-head p { margin-top: var(--gap-s); color: var(--ink-soft); font-size: var(--step-1); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  padding: 0.9em 1.6em; border-radius: var(--radius-pill);
  font-family: var(--font-display); font-weight: 700; font-size: var(--step-0);
  line-height: 1; letter-spacing: 0.01em;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.2s ease;
}
.btn svg { width: 1.15em; height: 1.15em; }
.btn--primary { background: var(--flame); color: oklch(100% 0 0); box-shadow: var(--shadow-flame); }
.btn--primary:hover { background: var(--flame-deep); transform: translateY(-3px) scale(1.02); box-shadow: 0 12px 32px oklch(64% 0.2 38 / 0.5); }
.btn--ghost { background: transparent; color: var(--ink-deep); box-shadow: inset 0 0 0 2px var(--ink-deep); }
.btn--ghost:hover { background: var(--ink-deep); color: oklch(98% 0.01 235); transform: translateY(-3px); }
.btn--light { background: var(--paper); color: var(--flame-deep); box-shadow: var(--shadow-m); }
.btn--light:hover { transform: translateY(-3px); box-shadow: var(--shadow-l); }
.btn--block { width: 100%; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 80;
  background: oklch(97% 0.012 235 / 0.85); backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 2px solid transparent; transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.is-scrolled { border-color: var(--flame); box-shadow: var(--shadow-s); }
.nav { position: relative; display: flex; align-items: center; gap: var(--gap-m); height: 74px; }
.brand { display: flex; align-items: center; gap: 0.6rem; font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; color: var(--ink-deep); letter-spacing: -0.03em; text-transform: uppercase; }
.brand__mark { width: 40px; height: 40px; flex: none; }
.brand span b { color: var(--flame); }
.nav__links { display: flex; align-items: center; flex-wrap: nowrap; gap: clamp(0.6rem, 1.6vw, 1.7rem); margin-left: auto; }
.nav__links a { font-weight: 600; color: var(--ink-soft); white-space: nowrap; padding: 0.4rem 0; position: relative; transition: color 0.2s ease; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -3px; height: 3px; width: 0; background: var(--flame); transition: width 0.28s var(--ease); }
.nav__links a:hover { color: var(--ink-deep); }
.nav__links a:hover::after { width: 100%; }
.nav__actions { display: flex; align-items: center; gap: 0.8rem; }

.lang { position: relative; }
.lang__btn { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.5rem 0.8rem; border-radius: var(--radius-pill); font-weight: 700; font-size: var(--step--1); color: var(--ink-deep); box-shadow: inset 0 0 0 2px var(--line-strong); transition: box-shadow 0.2s ease; }
.lang__btn:hover { box-shadow: inset 0 0 0 2px var(--flame); }
.lang__btn svg { width: 1.05em; height: 1.05em; transition: transform 0.25s var(--ease); }
.lang[data-open="true"] .lang__btn svg { transform: rotate(180deg); }
.lang__menu { position: absolute; right: 0; top: calc(100% + 0.5rem); background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow-l); padding: 0.4rem; min-width: 170px; display: grid; gap: 2px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity 0.2s ease, transform 0.2s var(--ease), visibility 0.2s; }
.lang[data-open="true"] .lang__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang__menu a { display: flex; align-items: center; gap: 0.6rem; padding: 0.55rem 0.7rem; border-radius: 7px; font-weight: 600; color: var(--ink-soft); transition: background 0.15s ease, color 0.15s ease; }
.lang__menu a:hover { background: var(--sand-100); color: var(--flame-deep); }
.lang__menu a[aria-current="true"] { color: var(--flame-deep); font-weight: 800; }
.lang__menu .flag { font-size: 1.15em; }

.nav__toggle { display: none; width: 46px; height: 46px; border-radius: 9px; align-items: center; justify-content: center; box-shadow: inset 0 0 0 2px var(--line-strong); }
.nav__toggle svg { width: 22px; height: 22px; }
.nav__toggle .icon-close { display: none; }

@media (max-width: 1080px) {
  body.nav-open { overflow: hidden; }
  .nav__actions .btn--primary { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav__links {
    display: flex; position: fixed; top: 74px; left: 0; right: 0; height: calc(100vh - 74px); height: calc(100dvh - 74px); flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); padding: var(--gap-s) 1.2rem var(--gap-xl); box-shadow: var(--shadow-l);
    transform: translateY(-120%); visibility: hidden; pointer-events: none; overflow-y: auto; overscroll-behavior: contain;
    transition: transform 0.4s var(--ease), visibility 0.4s; margin-left: 0;
  }
  .nav__links li { width: min(100%, 720px); margin-inline: auto; }
  .nav__links a { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: var(--step-1); }
  .nav__links a::after { display: none; }
  body.nav-open .nav__links { transform: translateY(0); visibility: visible; pointer-events: auto; }
  body.nav-open .nav__toggle .icon-open { display: none; }
  body.nav-open .nav__toggle .icon-close { display: block; }
}

/* Hero — dark, ad alto impatto */
.hero { position: relative; padding-top: var(--gap-xl); padding-bottom: var(--gap-2xl); overflow: clip; background: linear-gradient(165deg, var(--ink-deep) 0%, var(--sea-deep) 60%, oklch(34% 0.1 250) 100%); color: oklch(95% 0.012 235); }
.hero h1, .hero h2, .hero h3 { color: oklch(98% 0.01 235); }
.hero .lead { color: oklch(86% 0.02 235); }
.hero__grid { display: grid; gap: var(--gap-l); grid-template-columns: 1.05fr 0.95fr; align-items: center; }
.hero__content { max-width: 40ch; }
.hero .eyebrow { color: var(--flame-bright); }
.hero h1 { margin-top: var(--gap-s); }
.hero h1 em { font-style: normal; color: var(--flame); }
.hero__lead { margin-top: var(--gap-m); max-width: 44ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--gap-s); margin-top: var(--gap-l); }
.hero .btn--ghost { color: oklch(96% 0.01 235); box-shadow: inset 0 0 0 2px oklch(96% 0.01 235 / 0.5); }
.hero .btn--ghost:hover { background: oklch(96% 0.01 235); color: var(--ink-deep); }
.hero__trust { display: flex; flex-wrap: wrap; gap: var(--gap-m); margin-top: var(--gap-l); align-items: center; }
.trust-item { display: flex; align-items: center; gap: 0.5rem; font-size: var(--step--1); color: oklch(85% 0.02 235); }
.trust-item strong { font-family: var(--font-display); color: oklch(98% 0.01 235); font-size: var(--step-0); }
.trust-item svg path { stroke: var(--flame-bright) !important; }
.stars { color: var(--flame-bright); letter-spacing: 0.05em; }

.hero__media { position: relative; }
.hero__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-l); box-shadow: var(--shadow-l); border: 3px solid oklch(64% 0.2 38 / 0.5); transform: scaleX(-1); }
.hero__badge { position: absolute; left: -1.4rem; bottom: 1.6rem; background: var(--paper); border-radius: var(--radius); padding: 0.9rem 1.15rem; box-shadow: var(--shadow-m); display: flex; align-items: center; gap: 0.75rem; max-width: 235px; }
.hero__badge .pin { width: 38px; height: 38px; flex: none; color: var(--flame); }
.hero__badge b { font-family: var(--font-display); color: var(--ink-deep); display: block; line-height: 1.15; }
.hero__badge span { font-size: var(--step--1); color: var(--ink-mute); }

/* Su desktop il titolo hero risulta troppo grande: lo riduciamo (mobile invariato) */
@media (min-width: 861px) {
  .hero h1 { font-size: var(--step-4); }
}

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; }
  .hero__media img { aspect-ratio: 16 / 11; }
  .hero__content { max-width: none; }
  .hero__badge { left: 0.8rem; bottom: -1rem; }
}

/* Fleet */
.fleet-grid { display: grid; gap: var(--gap-m); grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
.fleet-card { position: relative; background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-s); border: 1px solid var(--line); display: grid; grid-template-columns: minmax(128px, 38%) minmax(0, 1fr); min-height: 230px; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.25s ease; }
.fleet-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-m); border-color: color-mix(in oklch, var(--flame) 45%, var(--line)); }
.fleet-card__media { position: relative; min-height: 100%; overflow: hidden; background: var(--sand-100); }
.fleet-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.fleet-card:hover .fleet-card__media img { transform: scale(1.05); }
.fleet-card__tag { position: absolute; top: 0; left: 0; background: var(--flame); color: oklch(100% 0 0); font-family: var(--font-display); font-size: var(--step--1); font-weight: 700; padding: 0.35rem 0.95rem 0.35rem 0.7rem; clip-path: polygon(0 0, 100% 0, calc(100% - 11px) 100%, 0 100%); text-transform: uppercase; letter-spacing: 0.03em; }
.fleet-card__body { padding: clamp(1rem, 2.2vw, 1.45rem); display: flex; flex-direction: column; gap: 0.5rem; min-width: 0; }
.fleet-card h3 { font-size: var(--step-1); }
.fleet-card p { color: var(--ink-soft); font-size: var(--step--1); flex: 1; }
.fleet-card__ask { margin-top: 0.4rem; align-self: flex-start; font-family: var(--font-display); font-weight: 700; font-size: var(--step--1); color: var(--flame-deep); text-transform: uppercase; letter-spacing: 0.03em; text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 1px; transition: opacity 0.2s var(--ease); }
.fleet-card__ask:hover { opacity: 0.7; }
@media (max-width: 980px) {
  .fleet-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .fleet-card { grid-template-columns: 1fr; min-height: 0; }
  .fleet-card__media { aspect-ratio: 16 / 10; min-height: 0; }
}
/* Why */
.why { background: var(--sand-100); }
.why-grid { display: grid; gap: var(--gap-l) var(--gap-xl); grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.feature { display: grid; grid-template-columns: auto 1fr; gap: 0.4rem 1.1rem; align-items: start; }
.feature__icon { grid-row: span 2; width: 54px; height: 54px; border-radius: 12px; display: grid; place-items: center; background: var(--flame); color: oklch(100% 0 0); box-shadow: var(--shadow-flame); }
.feature__icon svg { width: 27px; height: 27px; }
.feature h3 { font-size: var(--step-1); }
.feature p { color: var(--ink-soft); font-size: var(--step--1); }

/* Steps — numeri outline enormi */
.steps { display: grid; gap: var(--gap-l); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.step { position: relative; padding-top: 0.5rem; }
.step__n { font-family: var(--font-display); font-size: var(--step-5); font-weight: 800; color: transparent; -webkit-text-stroke: 2px var(--flame); line-height: 0.9; letter-spacing: -0.04em; }
.step h3 { font-size: var(--step-1); margin-top: 0.6rem; }
.step p { color: var(--ink-soft); font-size: var(--step--1); margin-top: 0.4rem; max-width: 32ch; }

/* Area */
.area-grid { display: grid; gap: var(--gap-l); grid-template-columns: 1.1fr 0.9fr; align-items: center; }
.area__map { position: relative; border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-m); border: 1px solid var(--line); aspect-ratio: 4 / 3; background: var(--sand-100); }
.area__map iframe { width: 100%; height: 100%; border: 0; display: block; }
/* Watermark VitaRomagna: solo sulla mappa itinerari, in basso a sinistra (la zona libera: attribuzione a dx, zoom in alto a sx) */
.area__map::after { content: ""; position: absolute; left: 0.85rem; bottom: 0.85rem; width: clamp(96px, 22%, 150px); aspect-ratio: 360 / 98; background: url("../img/watermark-vitaromagna.png") left bottom / contain no-repeat; opacity: 0.9; pointer-events: none; z-index: 500; filter: drop-shadow(0 1px 2px oklch(0% 0 0 / 0.25)); }
/* Mappa itinerari dinamica (Leaflet + API VitaRomagna) */
.routes-map { width: 100%; height: 100%; display: block; }
.routes-map--loading { display: grid; place-items: center; color: var(--ink-mute); font-size: var(--step--1); }
.routes-map--error { display: grid; place-items: center; padding: 1.4rem; }
.routes-map__fallback { text-align: center; display: grid; gap: 0.8rem; color: var(--ink-mute); }
.routes-map .leaflet-container { font: inherit; background: var(--sand-100); }
.routes-map__popup { display: grid; gap: 0.4rem; min-width: 180px; }
.routes-map__popup strong { font-family: var(--font-display); color: var(--ink-deep); font-size: var(--step-0); }
.routes-map__meta { font-size: var(--step--1); color: var(--ink-mute); }
.routes-map__cta { display: inline-flex; align-items: center; justify-content: center; margin-top: 0.2rem; padding: 0.5rem 0.8rem; border-radius: var(--radius); background: var(--flame); color: oklch(100% 0 0); font-family: var(--font-display); font-weight: 700; font-size: var(--step--1); text-align: center; }
.routes-map__cta:hover { background: var(--flame-deep); }
.routes-map__more { font-size: var(--step--1); color: var(--flame-deep); text-decoration: underline; }
.routes { display: grid; gap: var(--gap-s); }
.route { display: grid; grid-template-columns: auto 1fr auto; gap: 0.4rem 1rem; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem; box-shadow: var(--shadow-s); transition: transform 0.25s var(--ease), border-color 0.25s ease; }
.route:hover { transform: translateX(6px); border-color: var(--flame); }
.route__icon { width: 42px; height: 42px; border-radius: 9px; display: grid; place-items: center; background: var(--electric); color: oklch(100% 0 0); }
.route__icon svg { width: 22px; height: 22px; }
.route h3 { font-size: var(--step-0); font-family: var(--font-display); color: var(--ink-deep); }
.route p { grid-column: 2; font-size: var(--step--1); color: var(--ink-mute); }
.route__meta { font-family: var(--font-display); font-weight: 700; font-size: var(--step--1); color: var(--flame-deep); white-space: nowrap; }
.route--partner { position: relative; grid-template-columns: auto minmax(0, 1fr); overflow: hidden; min-height: 172px; padding-right: clamp(1.2rem, 18vw, 7.2rem); border-color: color-mix(in oklch, var(--flame) 55%, var(--line)); background: linear-gradient(135deg, var(--paper), color-mix(in oklch, var(--flame) 8%, var(--paper))); }
.route--partner .route__icon { background: var(--flame); }
.route--partner h3 { padding-right: 9rem; }
.route--partner .route__meta { position: absolute; top: 1.05rem; right: 1.2rem; }
.route__link { grid-column: 2 / -1; justify-self: start; display: inline-flex; align-items: center; gap: 0.45em; margin-top: 0.1rem; font-family: var(--font-display); font-size: var(--step--1); font-weight: 700; color: var(--flame-deep); text-transform: uppercase; letter-spacing: 0.03em; border-bottom: 2px solid currentColor; padding-bottom: 1px; }
.route__link:hover { opacity: 0.75; }
.route__brand { position: absolute; right: 0.95rem; bottom: 0.75rem; width: clamp(72px, 14vw, 98px); height: auto; pointer-events: none; filter: drop-shadow(0 8px 18px oklch(24% 0.04 255 / 0.16)); }
@media (max-width: 800px) {
  .area-grid { grid-template-columns: 1fr; }
  /* Mobile: titolo prima, poi la mappa, poi la lista percorsi.
     Il blocco testo (eyebrow+h2+.routes) diventa "trasparente" così i suoi
     figli entrano nella griglia e possono essere riordinati con order. */
  .area-grid { display: flex; flex-direction: column; align-items: stretch; }
  .area-grid > :not(.area__map) { display: contents; }
  .area-grid .eyebrow { order: 1; }
  .area-grid > :not(.area__map) > h2 { order: 2; }
  .area-grid > .area__map { order: 3; width: 100%; align-self: stretch; }
  .area-grid .routes { order: 4; }
}
@media (max-width: 520px) {
  .route--partner { padding-right: 1.2rem; padding-bottom: 5.4rem; }
  .route--partner h3 { padding-right: 0; }
  .route--partner .route__meta { position: static; grid-column: 2; }
  .route__brand { width: 76px; right: 1rem; bottom: 0.85rem; }
}

/* Reviews */
.reviews { background: var(--ink-deep); color: oklch(93% 0.01 235); }
.reviews h2 { color: oklch(98% 0.01 235); }
.reviews .eyebrow { color: var(--flame-bright); }
.reviews .eyebrow::before { background: var(--flame-bright); }
.reviews .section-head p { color: oklch(80% 0.02 235); }
.reviews-grid { display: grid; gap: var(--gap-m); grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.review { background: oklch(30% 0.06 255); border-radius: var(--radius-l); padding: 1.6rem 1.5rem; border-top: 4px solid var(--flame); display: flex; flex-direction: column; gap: 0.9rem; }
.review p { line-height: 1.55; color: oklch(91% 0.012 235); }
.review .stars { font-size: 1.05rem; }
.review__author { display: flex; align-items: center; gap: 0.75rem; margin-top: auto; }
.review__avatar { width: 44px; height: 44px; border-radius: 12px; flex: none; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; background: var(--flame); color: oklch(100% 0 0); }
.review__author b { font-family: var(--font-display); display: block; line-height: 1.2; }
.review__author span { font-size: var(--step--1); color: oklch(76% 0.02 235); }
.reviews__rating { display: flex; align-items: center; gap: 0.6rem; margin-top: var(--gap-l); font-size: var(--step--1); color: oklch(80% 0.02 235); }
.reviews__rating b { font-family: var(--font-display); font-size: var(--step-2); color: var(--flame-bright); }

/* FAQ */
.faq-grid { display: grid; gap: var(--gap-xl); grid-template-columns: 0.8fr 1.2fr; align-items: start; }
.faq-list { display: grid; gap: 0.7rem; }
.faq-item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow 0.25s ease, border-color 0.25s ease; }
.faq-item[open] { box-shadow: var(--shadow-s); border-color: var(--flame); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.3rem; cursor: pointer; list-style: none; font-family: var(--font-display); font-weight: 700; color: var(--ink-deep); font-size: var(--step-0); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chev { width: 22px; height: 22px; flex: none; color: var(--flame); transition: transform 0.3s var(--ease); }
.faq-item[open] summary .chev { transform: rotate(45deg); }
.faq-item__body { padding: 0 1.3rem 1.2rem; color: var(--ink-soft); font-size: var(--step--1); line-height: 1.6; }
.faq-aside { position: sticky; top: 96px; }
.faq-aside .card-cta { background: linear-gradient(150deg, var(--flame) 0%, var(--flame-deep) 100%); color: oklch(100% 0 0); border-radius: var(--radius-l); padding: 1.8rem 1.6rem; box-shadow: var(--shadow-flame); }
.faq-aside .card-cta h3 { color: oklch(100% 0 0); }
.faq-aside .card-cta p { color: oklch(97% 0.02 50); margin: 0.7rem 0 1.3rem; font-size: var(--step--1); }
@media (max-width: 820px) { .faq-grid { grid-template-columns: 1fr; } .faq-aside { position: static; } }

/* Contact */
.contact-grid { display: grid; gap: var(--gap-xl); grid-template-columns: 1fr 1fr; align-items: start; }
.contact-list { display: grid; gap: var(--gap-m); }
.contact-item { display: grid; grid-template-columns: auto 1fr; gap: 0.2rem 1rem; align-items: start; }
.contact-item__icon { grid-row: span 2; width: 48px; height: 48px; border-radius: 11px; display: grid; place-items: center; background: var(--flame); color: oklch(100% 0 0); }
.contact-item__icon svg { width: 23px; height: 23px; }
.contact-item h3 { font-size: var(--step-0); font-family: var(--font-display); color: var(--ink-deep); }
.contact-item a, .contact-item p { color: var(--ink-soft); font-size: var(--step-0); }
.contact-item a:hover { color: var(--flame-deep); }
.hours-table { display: grid; gap: 0.3rem; margin-top: 0.4rem; }
.hours-table div { display: flex; justify-content: space-between; gap: 1rem; font-size: var(--step--1); color: var(--ink-soft); padding: 0.25rem 0; border-bottom: 1px dashed var(--line); }
.hours-table div span:last-child { font-weight: 700; color: var(--ink-deep); }
.contact__map { border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-m); border: 1px solid var(--line); aspect-ratio: 1 / 1; min-height: 320px; background: var(--sand-100); }
.contact__map iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }

/* CTA band */
.cta-band { position: relative; overflow: clip; background: linear-gradient(120deg, var(--flame) 0%, oklch(60% 0.2 28) 55%, var(--electric) 130%); color: oklch(100% 0 0); border-radius: var(--radius-l); padding: clamp(2.4rem, 5vw, 4rem); text-align: center; }
.cta-band h2 { color: oklch(100% 0 0); max-width: 18ch; margin-inline: auto; }
.cta-band p { max-width: 50ch; margin: var(--gap-s) auto var(--gap-l); color: oklch(98% 0.02 50); font-size: var(--step-1); }
.cta-band .btn-row { display: flex; gap: var(--gap-s); justify-content: center; flex-wrap: wrap; }

/* Footer */
.site-footer { background: var(--ink-deep); color: oklch(80% 0.02 235); padding-block: var(--gap-xl) var(--gap-l); text-align: center; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap-l) clamp(1.75rem, 5vw, 5rem); }
.site-footer .brand { flex-direction: column; gap: 0.75rem; font-size: 1.9rem; color: oklch(98% 0.01 235); }
.site-footer .brand__mark { width: 72px; height: 72px; }
.site-footer .brand span b { color: var(--flame); }
.footer-about { flex-basis: 100%; display: flex; flex-direction: column; align-items: center; }
.footer-about p { margin-top: var(--gap-s); font-size: var(--step--1); max-width: min(46ch, 100%); line-height: 1.6; margin-inline: auto; }
.footer-col { min-width: 150px; }
.footer-col h4 { font-family: var(--font-display); color: oklch(96% 0.01 235); font-size: var(--step-0); margin-bottom: var(--gap-s); text-transform: uppercase; letter-spacing: 0.03em; }
.footer-col a { display: block; padding: 0.3rem 0; font-size: var(--step--1); transition: color 0.2s ease; }
.footer-col a:hover { color: var(--flame-bright); }
.footer-social { display: flex; gap: 0.6rem; margin-top: var(--gap-m); justify-content: center; }
.footer-social a { width: 46px; height: 46px; border-radius: 10px; display: grid; place-items: center; background: oklch(32% 0.05 255); transition: background 0.2s ease, transform 0.2s var(--ease); }
.footer-social a:hover { background: var(--flame); transform: translateY(-3px); }
.footer-social svg { width: 22px; height: 22px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 0.4rem var(--gap-m); justify-content: space-between; align-items: center; margin-top: var(--gap-l); padding-top: var(--gap-m); border-top: 1px solid oklch(32% 0.05 255); font-size: var(--step--1); }
.footer-bottom a[aria-current="true"] { color: oklch(98% 0.01 235); font-weight: 700; }
.footer-credit { color: var(--ink-mute); }
.footer-credit a { color: inherit; font-weight: 600; transition: color 0.2s ease; }
.footer-credit a:hover { color: var(--flame-bright); }
.footer-credit .pk { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.02em; }

/* Legal */
.legal-page { background: var(--bg); }
.legal-main { min-height: 58vh; }
.legal-hero { background: linear-gradient(165deg, var(--ink-deep) 0%, var(--sea-deep) 100%); color: oklch(95% 0.012 235); }
.legal-hero .wrap, .legal-wrap { width: min(100% - 2.4rem, 900px); }
.legal-hero h1 { margin-top: var(--gap-s); color: oklch(98% 0.01 235); font-size: var(--step-4); }
.legal-hero .lead { margin-top: var(--gap-m); max-width: 62ch; color: oklch(86% 0.02 235); }
.legal-updated { margin-top: var(--gap-s); color: oklch(80% 0.02 235); font-size: var(--step--1); }
.legal-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-l); box-shadow: var(--shadow-s); padding: clamp(1.4rem, 3vw, 2.5rem); }
.legal-card h2 { margin-top: 2rem; font-size: var(--step-1); }
.legal-card h2:first-child { margin-top: 0; }
.legal-card p, .legal-card li { color: var(--ink-soft); font-size: var(--step-0); line-height: 1.65; }
.legal-card p + p { margin-top: 0.75rem; }
.legal-card ul { list-style: disc; display: grid; gap: 0.65rem; padding-left: 1.25rem; margin-top: 0.75rem; }
.legal-card a { color: var(--flame-deep); font-weight: 700; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 0.18em; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .fleet-card, .route, .btn, .footer-social a { transition: none; }
  .fleet-card:hover, .fleet-card:hover .fleet-card__media img { transform: none; }
  * { scroll-behavior: auto !important; }
}

.skip-link { position: absolute; left: 50%; top: -60px; transform: translateX(-50%); background: var(--flame); color: oklch(100% 0 0); padding: 0.7rem 1.2rem; border-radius: 0 0 10px 10px; z-index: 100; transition: top 0.2s ease; font-weight: 700; }
.skip-link:focus { top: 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.text-center { text-align: center; }
.mt-l { margin-top: var(--gap-l); }
.mt-xl { margin-top: var(--gap-xl); }
.btn--on-accent {
  --line-strong: rgba(255,255,255,.6);
  color: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.6);
}

/* ===== MOBILE HARDENING + sticky CTA bar (super mobile-friendly) ===== */
/* Niente overflow orizzontale, mai */
html, body { max-width: 100%; }

/* Barra CTA fissa in basso: solo mobile, sempre a portata di pollice */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  display: none; gap: 0.6rem; padding: 0.6rem 0.8rem calc(0.6rem + env(safe-area-inset-bottom));
  background: var(--paper); border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px oklch(20% 0.04 240 / 0.1);
}
.mobile-cta a {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 52px; border-radius: var(--radius-pill); font-family: var(--font-display);
  font-weight: 700; font-size: var(--step-0); text-decoration: none;
}
.mobile-cta svg { width: 1.2em; height: 1.2em; }
.mobile-cta .m-call { background: transparent; color: var(--ink-deep); box-shadow: inset 0 0 0 1.5px var(--line); }
.mobile-cta .m-wa { background: var(--flame); color: oklch(100% 0 0); }

@media (max-width: 1080px) {
  .mobile-cta { display: flex; }
  /* spazio per non coprire il footer con la barra fissa */
  body { padding-bottom: 76px; }
  body.legal-page { padding-bottom: 0; }
  /* tap target generosi nel menu mobile */
  .nav__links a { min-height: 52px; display: flex; align-items: center; }
  /* menu mobile scrollabile se basso, con stondatura sotto */
  .nav__links { max-height: calc(100dvh - 72px); overflow-y: auto; border-radius: 0 0 var(--radius-l) var(--radius-l); }
  .lang__btn { padding: 0.55rem 0.7rem; }
}

@media (max-width: 560px) {
  /* su telefoni stretti, l accento e le label non vanno a capo nello header */
  .brand span { font-size: 1.05rem; }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-cta a { transition: none; }
}


/* ===== NAV ACTIVE STATE + micro-interazioni ===== */
.nav__links a.is-active { color: var(--flame-deep); }
.nav__links a.is-active::after { width: 100%; }


/* ===== PREMIUM MICRO-INTERAZIONI (subtle sophistication) ===== */
/* Header che si compatta con eleganza allo scroll */
.nav { transition: height 0.4s var(--ease); }
.site-header.is-scrolled .nav { height: 62px; }
.brand__mark { transition: transform 0.5s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.05); }

/* Underline del nav: cresce dal centro, piu raffinata */
.nav__links a::after { left: 50%; transform: translateX(-50%); }

/* Bottoni: leggero lucore che attraversa al hover (solo desktop, pointer fine) */
@media (hover: hover) and (pointer: fine) {
  .btn--primary { position: relative; overflow: hidden; }
  .btn--primary::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(110deg, transparent 30%, oklch(100% 0 0 / 0.28) 50%, transparent 70%);
    transform: translateX(-120%); transition: transform 0.7s var(--ease); pointer-events: none;
  }
  .btn--primary:hover::before { transform: translateX(120%); }
}

/* Entrata morbida dell header al primo load */
@keyframes nrb-header-in { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
.site-header { animation: nrb-header-in 0.6s var(--ease) both; }

/* Focus-visible piu elegante sui link interattivi premium */
.fleet-card:focus-within { outline-offset: 4px; }

@media (prefers-reduced-motion: reduce) {
  .nav, .brand__mark, .site-header { transition: none; animation: none; }
  .btn--primary::before { display: none; }
}
