/* Palette e font del sito zestfamily.it (kit Elementor) */
:root {
  --orange: #ff4d00;
  --orange-2: #ff8a3d;
  --ink: #110a06;
  --grey: #3d3d3d;
  --cream: #f7ebe1;
  --tp-green: #00b67a;
  --font: "Blinker", system-ui, -apple-system, "Segoe UI", sans-serif;
  --edge: 5vw; /* stesso margine di titoli e header */
  --ticker-h: 34px;
}

* { box-sizing: border-box; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--ink); color: #fff; font-family: var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.is-intro, body.menu-open { overflow: hidden; }
img { display: block; max-width: none; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

/* Pulsanti e tag come sul sito */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(135deg, var(--orange-2), var(--orange)); color: #fff;
  border-radius: 78px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  box-shadow: 0 10px 26px rgba(255, 77, 0, .4); transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(255, 77, 0, .5); }
.tag {
  justify-self: center;
  display: inline-block; padding: 6px 14px; border-radius: 78px; border: 1px solid var(--orange);
  background: var(--cream); color: var(--orange); font-weight: 600; font-size: 13px; letter-spacing: .06em; text-transform: uppercase;
}

/* Stelle in stile Trustpilot: quadratini verdi con stella bianca */
.tp-stars { display: inline-flex; gap: 2px; vertical-align: middle; }
.tp-stars i {
  width: 1.15em; height: 1.15em; background: var(--tp-green); display: grid; place-items: center;
}
.tp-stars i.off { background: #dcdce6; }
.tp-stars i::before { content: "★"; color: #fff; font-size: .82em; line-height: 1; font-style: normal; }

/* prima che parta l'intro (pochi decimi di secondo) non si vede niente sopra il nero */
.is-pre .titles, .is-pre .ticker, .is-pre .topbar, .is-pre .cta-dock { opacity: 0; }

/* ---------- Cielo ---------- */
.sky { position: fixed; inset: 0; z-index: 0; overflow: hidden; background: #7aa6dc url(assets/sky.webp) center / cover; }
/* più in basso cielo e cabina sono coperti: nasconderli libera memoria grafica sul telefono */
.past-hero .sky, .past-hero .hero-sticky { visibility: hidden; }
.sky-gl { display: block; width: 100%; height: 100%; transform-origin: 50% 45%; }

/* ---------- Striscia Black Friday ---------- */
.ticker {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40; height: var(--ticker-h); overflow: hidden;
  background: var(--orange); color: #fff; display: flex; align-items: center;
}
.ticker-track { display: flex; white-space: nowrap; animation: tick 28s linear infinite; font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.ticker-track span { padding: 0 18px; }
.ticker-track i { font-style: normal; opacity: .7; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- Header ---------- */
.topbar {
  position: fixed; top: var(--ticker-h); left: 0; right: 0; z-index: 45;
  display: flex; align-items: center; justify-content: space-between; padding: 12px var(--edge);
  transition: background .35s, backdrop-filter .35s, color .35s;
}
/* sopra le card e le sezioni chiare: vetro chiaro sfocato, logo e icone scuri */
.topbar.is-solid { color: var(--ink); background: rgba(247, 235, 225, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.logo img { width: 54px; height: auto; transition: filter .35s; }
.topbar.is-solid .logo img { filter: brightness(0); }
.topbar.is-solid.is-dark { color: #fff; background: rgba(17, 10, 6, .55); }
.topbar.is-solid.is-dark .logo img { filter: none; }
.topbar.is-solid.is-dark .menu-btn, .topbar.is-solid.is-dark .sound-btn:not(.is-playing) { color: #fff; background: rgba(255, 255, 255, .16); }
.top-right { display: flex; align-items: center; gap: 10px; }
.hdr-count { display: flex; gap: 5px; }
.hc { min-width: 46px; padding: 5px 6px 4px; border-radius: 10px; background: #fff; text-align: center; box-shadow: 0 6px 16px rgba(17, 10, 6, .15); }
.hc b { display: block; font-size: 19px; font-weight: 800; line-height: 1; color: var(--orange); font-variant-numeric: tabular-nums; }
.hc small { display: block; font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--grey); margin-top: 2px; }
.menu-btn {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: #fff;
  background: rgba(255, 255, 255, .18); border: 0; backdrop-filter: blur(10px); transition: background .3s, color .3s;
}
.topbar.is-solid .menu-btn { color: var(--ink); background: rgba(17, 10, 6, .08); }
/* pulsante audio: barrato finché l'annuncio non è partito, con un leggero impulso per farsi notare */
.sound-btn {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: #fff;
  background: rgba(255, 255, 255, .18); border: 0; backdrop-filter: blur(10px); transition: background .3s, color .3s;
}
/* icona a equalizzatore: barrette basse e ferme = audio spento, in movimento = annuncio in corso */
.eq { display: flex; align-items: center; gap: 3px; height: 18px; }
.eq i { width: 3px; height: 4px; border-radius: 2px; background: currentColor; opacity: .75; transition: height .3s ease, opacity .3s; }
.eq i:nth-child(1), .eq i:nth-child(4) { height: 5px; }
.eq i:nth-child(2) { height: 10px; }
.eq i:nth-child(3) { height: 7px; }
.sound-btn.is-on .eq i { opacity: 1; height: 9px; }
.sound-btn.is-on .eq i:nth-child(2), .sound-btn.is-on .eq i:nth-child(3) { height: 14px; }
.sound-btn.is-playing .eq i { animation: eq .9s ease-in-out infinite; }
.sound-btn.is-playing .eq i:nth-child(2) { animation-delay: -.3s; }
.sound-btn.is-playing .eq i:nth-child(3) { animation-delay: -.6s; }
.sound-btn.is-playing .eq i:nth-child(4) { animation-delay: -.15s; }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 17px; } }
.sound-btn:not(.is-on) { animation: invite 2.4s ease-in-out infinite; }
.sound-btn.is-playing { background: var(--orange); color: #fff; }
.topbar.is-solid .sound-btn:not(.is-playing) { color: var(--ink); background: rgba(17, 10, 6, .08); }
@keyframes invite { 50% { box-shadow: 0 0 0 7px rgba(255, 255, 255, .12); } }
.menu-open .menu-btn { color: #fff; background: var(--orange); }
/* con il menu aperto l'header torna chiaro su scuro */
.menu-open .topbar { color: #fff; }
.menu-open .topbar .logo img { filter: none; }

/* ---------- Menu ---------- */
.menu {
  position: fixed; inset: 0; z-index: 44; display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--ticker-h) + 90px) var(--edge) 60px;
  background: rgba(17, 10, 6, .82); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  opacity: 0; transition: opacity .35s;
}
.menu[hidden] { display: none; }
.menu.is-open { opacity: 1; }
.menu li { overflow: hidden; }
.menu li a {
  display: inline-block; font-weight: 900; font-size: clamp(44px, 7vw, 110px); line-height: 1; text-transform: uppercase;
  transition: color .2s, transform .5s cubic-bezier(.2, .8, .2, 1); transform: translateY(105%);
}
.menu.is-open li a { transform: none; }
.menu li:nth-child(2) a { transition-delay: .05s; }
.menu li:nth-child(3) a { transition-delay: .1s; }
.menu li:nth-child(4) a { transition-delay: .15s; }
.menu li a:hover { color: var(--orange); }
.menu-foot { margin: 34px 0 0; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-2); }

/* ---------- Hero ---------- */
main { position: relative; z-index: 2; }
/* breve: dall'oblò al pannello successivo bastano due scroll */
.hero { height: 210vh; position: relative; }
/* 100lvh = schermo con la barra del browser nascosta: con 100svh, quando su iPhone la barra spariva,
   sotto la cabina compariva il cielo e nella sezione delle card l'ombra veniva tagliata */
.hero-sticky { position: sticky; top: 0; height: 100vh; height: 100lvh; overflow: hidden; }
.cabin { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-vignette { position: absolute; inset: 0; z-index: 3; pointer-events: none; background: radial-gradient(circle, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, .5)); }
.hero-fade { position: absolute; inset: 0; z-index: 5; background: var(--ink); pointer-events: none; }
.titles { position: absolute; inset: 0; z-index: 4; pointer-events: none; will-change: transform, opacity; }
.t-left, .t-right { position: absolute; margin: 0; text-transform: uppercase; white-space: nowrap; }
.t-left {
  left: var(--edge); top: 15%; font-weight: 900; font-size: clamp(70px, 12.5vw, 230px); line-height: .78; letter-spacing: -.015em;
  filter: drop-shadow(0 12px 36px rgba(0, 0, 0, .35));
}
.t-left .ln { padding-bottom: .02em; }
/* la riga di ZEST ha la sua dimensione: altrimenti eredita l'altezza di riga del titolo gigante e si allontana */
.t-left .t-brand { font-size: clamp(34px, 4.6vw, 84px); line-height: 1; margin-top: .12em; }
.t-brand > span { font-weight: 900; letter-spacing: .42em; color: var(--orange); }
/* niente drop-shadow qui: su Safari, con il testo in gradiente del €300, l'ombra viene disegnata come un rettangolo */
.t-right { right: var(--edge); top: 54%; text-align: right; }
.t-amount > span { font-weight: 900; font-size: clamp(90px, 16vw, 300px); line-height: .8; letter-spacing: -.03em; color: var(--orange); }
.amt-minus { margin-right: .09em; }
.amt-num { background: linear-gradient(180deg, #ffc49a 0%, #ff8a3d 42%, #ff4d00 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.t-sub > span { font-weight: 800; font-size: clamp(20px, 2.3vw, 40px); letter-spacing: .04em; line-height: 1; margin-top: .15em; }
.ln { display: block; overflow: hidden; padding-bottom: .05em; }
.ln > span { display: inline-block; }

/* ---------- Sezione in vetro sopra le nuvole ---------- */
.glass-sec { position: relative; margin-top: -60vh; padding: 8vh var(--edge) 18vh; }
.glass {
  position: relative; max-width: 1000px; margin: 0 auto;
  padding: clamp(26px, 4vw, 56px); border-radius: 36px;
  background: rgba(17, 10, 6, .3); border: 1px solid rgba(255, 255, 255, .3);
  backdrop-filter: blur(9px) saturate(1.3); -webkit-backdrop-filter: blur(9px) saturate(1.3);
  box-shadow: 0 30px 80px rgba(10, 30, 70, .25);
}
.glass h2 { margin: 18px 0 18px; font-size: clamp(36px, 4.6vw, 72px); line-height: .9; font-weight: 800; text-transform: uppercase; }
.glass h2 em { font-style: normal; color: var(--orange); text-shadow: 0 2px 18px rgba(0, 0, 0, .2); }
.glass-list { display: grid; gap: 14px; }
.glass-list li {
  position: relative; padding-left: 1.75em;
  font-size: clamp(20px, 2vw, 30px); line-height: 1.2; font-weight: 600; text-shadow: 0 2px 16px rgba(0, 0, 0, .25);
}
.glass-list li::before {
  content: "✓"; position: absolute; left: 0; top: -.03em; display: grid; place-items: center; width: 1.3em; height: 1.3em; border-radius: 50%;
  background: var(--orange); color: #fff; font-size: .8em; font-weight: 900; text-shadow: none;
}
.bf-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.bf-chip { display: inline-flex; align-items: center; gap: 8px; border-radius: 78px; padding: 9px 16px; font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
.bf-chip--bf { background: #fff; color: var(--ink); }
.bf-chip--bf i { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(.7); opacity: .6; } }

/* ---------- Viaggi: fila orizzontale ---------- */
.tunnel { position: relative; background: var(--cream); color: var(--ink); border-radius: 36px 36px 0 0; }
/* sezione normale (non bloccata): alta quanto lo schermo; touch-action lascia alla pagina solo lo scroll verticale */
.tunnel-sticky { position: relative; height: 100vh; height: 100svh; min-height: 620px; max-height: 1000px; overflow: hidden; touch-action: pan-y; }
.tcard, .tcard img { -webkit-user-drag: none; user-select: none; -webkit-user-select: none; }
.tb-kicker {
  position: absolute; left: 0; right: 0; top: calc(var(--ticker-h) + 86px); text-align: center;
  font-weight: 700; font-size: 14px; letter-spacing: .2em; text-transform: uppercase; color: var(--orange);
}
/* zona delle card: tra il titoletto in alto e la navigazione in basso */
.tunnel-stage { position: absolute; left: 0; right: 0; top: calc(var(--ticker-h) + 118px); bottom: 78px; pointer-events: none; }
.tcard {
  position: absolute; left: 50%; top: 50%; height: 100%; max-height: 720px; aspect-ratio: 3 / 4.5; max-width: 86vw; margin: 0; display: block; cursor: pointer;
  border-radius: 24px; overflow: hidden; background: #ddd; color: #fff;
  box-shadow: 0 30px 70px rgba(17, 10, 6, .28);
  visibility: hidden; transform-origin: 50% 50%;
}
.tcard.is-side .tcard-go { opacity: 0; }
.tc-nav {
  position: absolute; left: 50%; bottom: 18px; translate: -50% 0; z-index: 120;
  display: flex; align-items: center; gap: 14px;
}
.tc-arrow {
  width: 46px; height: 46px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer;
  background: var(--ink); color: #fff; transition: background .2s, transform .2s;
}
.tc-arrow:hover { background: var(--orange); transform: scale(1.06); }
.tc-count { display: grid; gap: 6px; justify-items: center; min-width: 96px; font-weight: 700; font-size: 15px; letter-spacing: .08em; color: var(--grey); font-variant-numeric: tabular-nums; }
.tc-count b { color: var(--ink); }
.tc-bar { width: 96px; height: 4px; border-radius: 4px; background: rgba(17, 10, 6, .12); overflow: hidden; }
.tc-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--orange-2), var(--orange)); transform-origin: left; transform: scaleX(0); }
.tcard > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .8, .2, 1); }
.tcard:hover > img { transform: scale(1.05); }
.tcard::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 18%, rgba(0, 0, 0, .55) 42%, rgba(0, 0, 0, .9) 70%, rgba(0, 0, 0, .95)); }
.tcard-badge { position: absolute; top: 14px; left: 14px; z-index: 1; background: #fff; color: var(--ink); border-radius: 78px; padding: 8px 16px; font-weight: 700; font-size: 18px; }
.tcard-body { position: absolute; left: 24px; right: 24px; bottom: 26px; z-index: 2; }
.tcard-title { margin: 0 0 12px; font-weight: 700; font-size: clamp(24px, 2vw, 32px); line-height: 1; }
.tcard-bullets { display: grid; gap: 6px; margin-bottom: 14px; }
.tcard-bullets li { display: flex; gap: 10px; align-items: baseline; font-size: 18px; font-weight: 600; line-height: 1.15; }
.tcard-bullets li::before { content: "✓"; color: var(--orange-2); font-weight: 900; }
.tcard-price { margin: 0 0 14px; font-size: 19px; }
.tcard-price b { font-size: 32px; font-weight: 800; }
.tcard-price del { opacity: .65; }
.tcard-reviews { position: relative; height: 118px; }
.rv {
  position: absolute; inset: 0; padding: 12px 14px; border-radius: 14px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16);
  opacity: 0; transform: translateY(10px); transition: opacity .6s ease, transform .6s ease;
}
.rv.on { opacity: 1; transform: none; }
.rv-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; font-weight: 600; opacity: .9; }
.rv-head .tp-stars { font-size: 15px; }
.rv p { margin: 8px 0 0; font-size: 16px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.rv cite { font-style: normal; font-weight: 700; }
/* freccia in alto a destra: fa capire che tutta la card si apre */
.tcard-go {
  position: absolute; top: 14px; right: 14px; z-index: 2; width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center; color: #fff;
  background: rgba(255, 255, 255, .2); border: 1px solid rgba(255, 255, 255, .35);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: background .25s, border-color .25s, transform .25s, opacity .3s;
}
.tcard-go svg { transition: transform .25s; }
.tcard:hover .tcard-go { background: var(--orange); border-color: var(--orange); }
.tcard:hover .tcard-go svg { transform: translate(2px, -2px); }

/* ---------- Chiusura ---------- */
.closing { background: var(--cream); color: var(--ink); min-height: 100vh; min-height: 100svh; padding: 100px var(--edge) 110px; display: grid; align-content: center; justify-items: center; text-align: center; gap: 22px; }
.closing .br-m { display: none; }
.closing h3 { margin: 0; font-size: clamp(30px, 4vw, 62px); font-weight: 800; text-transform: uppercase; line-height: .95; }
.closing h3 .hl {
  display: inline-block; position: relative; color: #fff; padding: .02em .22em .06em; margin: 0 .05em;
  background: linear-gradient(135deg, var(--orange-2), var(--orange)); border-radius: .18em;
  transform: rotate(-2.5deg); box-shadow: 0 12px 30px rgba(255, 77, 0, .35);
}
.closing h3 .hl::after {
  content: "-€300"; position: absolute; right: -.5em; top: -.55em; transform: rotate(8deg);
  background: var(--ink); color: #fff; font-size: .3em; padding: .3em .6em; border-radius: 78px; letter-spacing: .02em;
}
.closing-count { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.cc-box { min-width: 92px; padding: 14px 16px; border-radius: 18px; background: #fff; box-shadow: 0 12px 30px rgba(17, 10, 6, .08); }
.cc-box b { display: block; font-size: 42px; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1; color: var(--orange); }
.cc-box small { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--grey); font-weight: 600; }

/* ---------- Sezioni dopo i viaggi ---------- */
.sec { --sec-pad: var(--edge); position: relative; padding: 110px var(--sec-pad); display: grid; justify-items: center; text-align: center; gap: 18px; }
.sec-title { margin: 0 0 18px; font-size: clamp(34px, 4.4vw, 66px); font-weight: 800; text-transform: uppercase; line-height: .95; max-width: 15em; }
.hl-o { color: var(--orange); }
.tag--ink { background: var(--ink); border-color: var(--ink); color: #fff; }

.incluso { background: var(--cream); color: var(--ink); padding-top: 60px; }
.inc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; width: 100%; max-width: 1240px; text-align: left; }
.inc { background: #fff; border-radius: 26px; padding: 28px 24px 26px; box-shadow: 0 16px 40px rgba(17, 10, 6, .07); }
.inc-ico { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; background: linear-gradient(135deg, var(--orange-2), var(--orange)); box-shadow: 0 10px 24px rgba(255, 77, 0, .3); }
.inc-ico svg { width: 30px; height: 30px; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.inc h4 { margin: 20px 0 8px; font-size: 25px; line-height: 1.08; font-weight: 600; }
.inc p { margin: 0; font-size: 17px; line-height: 1.38; color: var(--grey); }

.perche { background: linear-gradient(160deg, var(--orange-2), var(--orange) 55%, #e63f00); color: #fff; }
.perche .sec-title { color: #fff; }
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; width: 100%; max-width: 1240px; margin: 0; padding: 0; list-style: none; counter-reset: why; text-align: left; }
.why li { counter-increment: why; position: relative; padding: 30px 26px 28px; border-radius: 26px; background: rgba(17, 10, 6, .14); border: 1px solid rgba(255, 255, 255, .28); }
.why li::before { content: "0" counter(why); display: block; font-size: 54px; font-weight: 900; line-height: .8; color: rgba(255, 255, 255, .5); margin-bottom: 18px; }
.why b { display: block; font-size: 25px; font-weight: 600; line-height: 1.08; margin-bottom: 10px; }
.why span { display: block; font-size: 18px; line-height: 1.38; }
.why-count { display: grid; gap: 12px; justify-items: center; margin-top: 22px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: 14px; }
.closing-count--sm .cc-box { min-width: 78px; padding: 10px 12px; box-shadow: 0 12px 30px rgba(17, 10, 6, .18); }
.closing-count--sm .cc-box b { font-size: 34px; }

.gruppi { background: var(--ink); color: #fff; overflow: hidden; padding-left: 0; padding-right: 0; }
.gruppi .sec-title { padding: 0 var(--edge); max-width: 24em; font-size: clamp(26px, 2.8vw, 42px); }
.g-rows { display: grid; gap: 14px; width: 100%; }
/* su iPhone una fila già in movimento non ridisegnava le foto arrivate dopo: le file partono
   solo quando tutte le foto sono pronte (.is-ready) e si fermano quando la sezione non si vede */
.g-row { overflow: hidden; contain: paint; }
.g-track { display: flex; gap: 14px; width: max-content; }
.g-rows.is-ready .g-track { animation: gslide 70s linear infinite; }
.g-rows.is-ready .g-row--rev .g-track { animation-direction: reverse; animation-duration: 80s; }
.g-rows.is-paused .g-track { animation-play-state: paused; }
.g-track img { width: clamp(220px, 22vw, 340px); height: auto; aspect-ratio: 900 / 616; object-fit: cover; border-radius: 20px; background: rgba(255, 255, 255, .06); }
@keyframes gslide { to { transform: translateX(calc(-50% - 7px)); } }

.recensioni { background: var(--cream); color: var(--ink); }
.rv-score { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; font-size: 18px; color: var(--grey); margin-bottom: 14px; }
.rv-score b { color: var(--ink); }
.tp-stars--lg { font-size: 24px; }
/* fila di recensioni da scorrere (con le frecce sotto): larga quanto lo schermo, così l'ombra non viene tagliata */
.rv-grid {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; text-align: left;
  width: calc(100% + 2 * var(--sec-pad)); margin: 0 calc(-1 * var(--sec-pad)); padding: 10px var(--sec-pad) 44px;
  scroll-padding-inline: var(--sec-pad);
}
.rv-grid::-webkit-scrollbar { display: none; }
.rv-card { flex: 0 0 clamp(280px, 28vw, 370px); scroll-snap-align: start; margin: 0; padding: 22px 22px 20px; border-radius: 22px; background: #fff; box-shadow: 0 14px 34px rgba(17, 10, 6, .07); display: grid; align-content: start; gap: 12px; }
.rv-nav { display: flex; gap: 12px; margin-top: -18px; }
.tc-arrow:disabled { opacity: .3; cursor: default; transform: none; background: var(--ink); }
.rv-card .tp-stars { font-size: 17px; }
.rv-card blockquote { margin: 0; font-size: 18px; line-height: 1.35; font-weight: 600; }
.rv-card figcaption { font-size: 15px; color: var(--grey); }
.rv-all { margin-top: 6px; padding: 8px 4px; border: 0; background: none; cursor: pointer; font: inherit; font-weight: 700; color: var(--orange); font-size: 17px; }
.rv-all:hover { text-decoration: underline; }

/* popup con le recensioni di Trustpilot */
.tp-modal {
  width: min(920px, calc(100vw - 32px)); max-height: min(780px, calc(100dvh - 40px)); padding: 0; border: 0; border-radius: 26px;
  background: #fff; color: var(--ink); box-shadow: 0 40px 100px rgba(17, 10, 6, .35); overflow: hidden;
  display: none; flex-direction: column;
}
.tp-modal[open] { display: flex; animation: pop .35s cubic-bezier(.2, .8, .2, 1); }
.tp-modal::backdrop { background: rgba(17, 10, 6, .6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.tp-modal-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px 16px; border-bottom: 1px solid rgba(17, 10, 6, .08); }
.tp-modal-head b { display: block; font-size: 22px; font-weight: 700; }
.tp-modal-score { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 4px; font-size: 15px; color: var(--grey); }
.tp-modal-score .tp-stars { font-size: 15px; }
.tp-close { flex: none; width: 42px; height: 42px; border-radius: 12px; border: 0; cursor: pointer; display: grid; place-items: center; background: rgba(17, 10, 6, .06); color: var(--ink); transition: background .2s; }
.tp-close:hover { background: rgba(17, 10, 6, .12); }
/* il widget a lista di Trustpilot scorre al suo interno: il riquadro ha un'altezza fissa */
.tp-modal-body { height: min(600px, calc(100dvh - 210px)); padding: 8px 12px 0; overflow: hidden; }
.tp-modal-body .trustpilot-widget { height: 100%; }
.tp-modal-foot { padding: 14px 22px 18px; text-align: center; font-weight: 700; color: var(--orange); border-top: 1px solid rgba(17, 10, 6, .08); }
.modal-open { overflow: hidden; }

.faq { background: #fff; color: var(--ink); }
.faq-list { width: 100%; max-width: 860px; text-align: left; display: grid; gap: 12px; }
.faq details { border-radius: 20px; background: var(--cream); padding: 0 24px; }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 0; font-size: 21px; font-weight: 700; line-height: 1.2;
}
.faq summary::-webkit-details-marker { display: none; }
/* più/meno a linee sottili: la linea verticale si chiude quando la risposta è aperta */
.faq summary::after {
  content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%;
  border: 1.5px solid rgba(17, 10, 6, .14); color: rgba(17, 10, 6, .7);
  background:
    linear-gradient(currentColor, currentColor) center / 12px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 12px no-repeat;
  transition: background-size .3s ease, border-color .2s, color .2s, transform .3s ease;
}
.faq summary:hover::after { border-color: var(--orange); color: var(--orange); }
.faq details[open] summary::after {
  transform: rotate(180deg); border-color: rgba(255, 77, 0, .45); color: var(--orange);
  background-size: 12px 1.5px, 1.5px 0;
}
.faq details p { margin: 0 0 22px; font-size: 18px; line-height: 1.45; color: var(--grey); }
.closing-note { margin: 4px 0 0; font-weight: 700; font-size: 16px; letter-spacing: .06em; text-transform: uppercase; color: var(--grey); }

/* ---------- CTA fissa e invito a scorrere ---------- */
.cta-dock {
  position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 30; translate: -50% 0;
  padding: 8px; border-radius: 78px; background: rgba(255, 255, 255, .2); border: 1px solid rgba(255, 255, 255, .3);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  transition: bottom .5s cubic-bezier(.2, .8, .2, 1);
}
.at-top .cta-dock { bottom: calc(70px + env(safe-area-inset-bottom)); }
.cta-dock { transition: bottom .5s cubic-bezier(.2, .8, .2, 1), opacity .35s, translate .35s; }
.in-cards .cta-dock { opacity: 0; translate: -50% 30px; pointer-events: none; }
.cta-main { height: 58px; padding: 0 34px; font-size: 17px; white-space: nowrap; }
.scroll-mouse {
  position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 30; translate: -50% 0;
  display: grid; justify-items: center; gap: 4px; font-size: 9px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase;
  color: rgba(255, 255, 255, .85); pointer-events: none; opacity: 0; transition: opacity .4s;
}
.at-top:not(.is-intro) .scroll-mouse { opacity: 1; }
.sm-mouse { width: 17px; height: 26px; border: 1.5px solid currentColor; border-radius: 10px; display: flex; justify-content: center; padding-top: 4px; }
.sm-mouse i { width: 2px; height: 5px; border-radius: 3px; background: currentColor; animation: wheel 1.6s ease-in-out infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(7px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
  :root { --ticker-h: 30px; }
  .ticker-track { font-size: 12px; }
  .topbar { padding: 10px var(--edge); }
  .logo img { width: 44px; }
  .hc { min-width: 36px; padding: 4px 4px 3px; border-radius: 8px; }
  .hc b { font-size: 15px; }
  .hc small { font-size: 7px; }
  .menu-btn, .sound-btn { width: 42px; height: 42px; }
  .top-right { gap: 7px; }
  .t-left { top: 15%; font-size: clamp(52px, 16vw, 96px); }
  .t-left .t-brand { font-size: clamp(24px, 7vw, 44px); }
  .t-right { top: 62%; }
  /* subito sopra la CTA su qualunque telefono: la CTA è fissata in fondo allo schermo visibile (100dvh),
     il blocco dei titoli è alto 100lvh; la differenza è la barra di Safari quando è visibile.
     70px = altezza della CTA (52px + 8px di bordo vetro sopra e sotto + 1px di bordo), 16px = spazio */
  @supports (height: 100dvh) {
    .t-right { top: auto; bottom: calc(100lvh - 100dvh + 66px + env(safe-area-inset-bottom) + 70px + 16px); }
  }
  .t-amount > span { font-size: clamp(70px, 21vw, 124px); }
  .t-sub > span { font-size: clamp(15px, 4.4vw, 24px); }
  .bf-chip { font-size: 12px; padding: 8px 13px; }
  .glass-sec { padding: 6vh 14px 14vh; }
  .glass { border-radius: 26px; padding: 22px 20px; }
  .glass h2 { font-size: clamp(33px, 10vw, 48px); margin: 14px 0; }
  .glass-list { gap: 12px; }
  .glass-list li { font-size: clamp(18px, 5vw, 22px); }
  .tb-kicker { top: calc(var(--ticker-h) + 72px); font-size: 11px; letter-spacing: .14em; }
  /* la parte bassa segue lo schermo visibile (100dvh), come la CTA dell'hero */
  .tunnel-stage { top: calc(var(--ticker-h) + 96px); bottom: calc(66px + env(safe-area-inset-bottom)); }
  .tc-nav { bottom: calc(12px + env(safe-area-inset-bottom)); gap: 12px; }
  .tc-arrow { width: 42px; height: 42px; }
  .tc-count { font-size: 13px; min-width: 80px; }
  .tc-bar { width: 80px; }
  .sec { --sec-pad: 18px; padding: 72px var(--sec-pad); gap: 14px; }
  .sec-title { font-size: clamp(30px, 9vw, 44px); margin-bottom: 10px; }
  .incluso { padding-top: 40px; }
  .inc-grid, .why { grid-template-columns: 1fr; gap: 12px; }
  .inc { display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; padding: 20px 18px; border-radius: 22px; }
  .inc-ico { width: 52px; height: 52px; border-radius: 16px; grid-row: span 2; }
  .inc-ico svg { width: 27px; height: 27px; }
  .inc h4 { margin: 2px 0 6px; font-size: 21px; }
  .gruppi .sec-title { font-size: clamp(22px, 6.4vw, 30px); }
  .inc p { font-size: 16px; }
  .why li { padding: 20px 20px 20px 74px; border-radius: 22px; }
  .why li::before { position: absolute; left: 18px; top: 20px; font-size: 38px; margin: 0; }
  .why b { font-size: 21px; margin-bottom: 6px; }
  .why span { font-size: 16px; }
  .closing-count--sm .cc-box { min-width: 66px; padding: 8px; }
  .closing-count--sm .cc-box b { font-size: 26px; }
  /* le file di foto vanno da bordo a bordo dello schermo, senza il margine delle altre sezioni */
  .gruppi { padding-left: 0; padding-right: 0; }
  .gruppi .sec-title { padding: 0 18px; }
  .g-track img { width: 58vw; border-radius: 16px; }
  .g-rows, .g-track { gap: 10px; }
  @keyframes gslide { to { transform: translateX(calc(-50% - 5px)); } }
  .rv-score { font-size: 15px; gap: 8px; }
  /* recensioni in fila da scorrere col dito */
  .rv-grid { gap: 12px; padding-bottom: 40px; }
  .rv-card { flex: 0 0 80vw; scroll-snap-align: center; }
  .tp-modal { border-radius: 22px; }
  .tp-modal-head { padding: 16px 16px 12px; }
  .tp-modal-head b { font-size: 19px; }
  .tp-modal-body { padding: 6px 4px 0; height: calc(100dvh - 190px); }
  .rv-card blockquote { font-size: 17px; }
  .faq details { padding: 0 18px; border-radius: 18px; }
  .faq summary { font-size: 18px; padding: 18px 0; }
  .faq details p { font-size: 16px; margin-bottom: 18px; }
  .closing-note { font-size: 13px; }
  .closing .br-m { display: inline; }
  .tcard { width: 80vw; height: min(100%, 145vw); aspect-ratio: auto; border-radius: 20px; }
  .tcard-badge { font-size: 15px; padding: 7px 13px; }
  .tcard-body { left: 18px; right: 18px; bottom: 20px; }
  .tcard-title { font-size: 24px; }
  .tcard-bullets li { font-size: 16px; }
  .tcard-bullets { gap: 4px; margin-bottom: 10px; }
  .tcard-price { margin-bottom: 10px; }
  .tcard-price b { font-size: 26px; }
  .tcard-reviews { height: 100px; }
  .tcard-go { width: 44px; height: 44px; border-radius: 13px; top: 12px; right: 12px; }
  .rv p { font-size: 14px; }
  .cta-main { height: 52px; font-size: 15px; padding: 0 28px; }
  .at-top .cta-dock { bottom: calc(66px + env(safe-area-inset-bottom)); }
  .cc-box { min-width: 72px; padding: 10px; }
  .cc-box b { font-size: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track, .sm-mouse i { animation: none; }
  *, *::before, *::after { transition-duration: .01s !important; }
}
/* 12/11: "fino a" sopra la cifra (lo sconto Black Friday va da -€100 a -€300) */
.t-upto > span { margin: 0 0 .1em; font-size: clamp(18px, 2vw, 34px); opacity: .9; }
