/* =====================================================================
   HF Copisteria — home.css (agente home)
   Sezioni della home: hero, marquee, tile servizi, tesi, grande formato,
   frase manifesto, numeri, come funziona, recensioni, FAQ, orari.
   Stati animati SEMPRE dietro a una classe messa da JS (hero: hf-prep,
   gf-live, mf-live, how-live, rv-live): senza JS o con reduced motion
   tutto resta visibile e leggibile.
   ===================================================================== */

.home { overflow-x: clip; }
/* righe brevi centrate: niente parola sola a capo (vedove) */
.hero-sub, .tile-sub, .svc-head .t-lead, .gf-sub, .gf-cap, .tesi-narr, .how-text .t-lead, .visit-where-body .t-muted { text-wrap: balance; }

/* ---------- Stelle ---------- */
.stars { display: inline-flex; gap: 2px; color: currentColor; }
.star { width: 1em; height: 1em; fill: currentColor; flex: none; }

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  position: relative;
  display: flex; flex-direction: column;
  min-height: calc(100svh - var(--nav-h));
  padding-top: clamp(44px, 7vh, 84px);
  background: var(--bg-alt);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-copy { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.hero-eyebrow { color: var(--ink-2); margin-bottom: 14px; }
.hero-title { max-width: 14ch; }
@media (min-width: 834px) { .hero-title { max-width: 18ch; } }
.hero-sub { max-width: 30ch; margin-top: 18px; color: var(--ink); }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 14px; margin-top: 28px; }
.hero-rating {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; margin-top: 10px; /* area di tocco 44px, stessa distanza visiva di prima */
  font-size: 14px; line-height: 1.29; color: var(--ink-2);
}
.hero-rating:hover { text-decoration: none; color: var(--ink); }
.hero-rating strong { color: var(--ink); font-weight: 600; }
.hero-rating .stars { font-size: 14px; color: var(--ink); }
.hero-media {
  position: relative; z-index: 1;
  flex: 1 1 auto;
  min-height: 250px;
  margin-top: clamp(20px, 3vh, 40px);
  /* sfuma dentro il fondo grigio del tile */
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 100%);
}
.hero-pic { position: absolute; inset: 0 0 -12% 0; display: block; }
.hero-pic img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 58%;
  mix-blend-mode: multiply;           /* il bianco della foto diventa #f5f5f7 */
}
/* stato iniziale dell'ingresso (solo con JS e motion: hf-prep lo mette head.php) */
html.hf-prep [data-hero-in], html.hf-prep [data-hero-media] { opacity: 0; }

/* =====================================================================
   MARQUEE SERVIZI
   ===================================================================== */
.mq {
  position: relative;
  padding: 26px 0;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
}
.mq-track { display: flex; width: max-content; animation: hm-marquee 70s linear infinite; }
.mq:hover .mq-track { animation-play-state: paused; }
.mq-list { display: flex; align-items: center; list-style: none; padding: 0; margin: 0; }
.mq-list li {
  display: inline-flex; align-items: center;
  font-size: clamp(19px, 16.8px + .57vw, 25px); line-height: 1.2; font-weight: 600; letter-spacing: -.012em;
  color: var(--ink);
  white-space: nowrap;
}
.mq-list li::after {
  content: "";
  width: 9px; height: 9px; margin: 0 clamp(20px, 2.4vw, 34px);
  border-radius: 50%;
  background: var(--spectrum);
  -webkit-mask: radial-gradient(circle, transparent 2px, #000 2.5px);
  mask: radial-gradient(circle, transparent 2px, #000 2.5px);
  flex: none;
}
@keyframes hm-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .mq-track { animation: none; width: auto; justify-content: center; }
  .mq-list { flex-wrap: wrap; justify-content: center; row-gap: 10px; padding-inline: var(--gutter); }
  .mq-list--clone { display: none; }
  .mq { -webkit-mask-image: none; mask-image: none; }
}
html.reduced-motion .mq-track { animation: none; width: auto; justify-content: center; }
html.reduced-motion .mq-list { flex-wrap: wrap; justify-content: center; row-gap: 10px; padding-inline: var(--gutter); }
html.reduced-motion .mq-list--clone { display: none; }
html.reduced-motion .mq { -webkit-mask-image: none; mask-image: none; }

/* =====================================================================
   TILE SERVIZI (Apple: raggio 0, gap 12)
   ===================================================================== */
.svc { padding-top: var(--section-y); padding-bottom: var(--gap-tile); } /* 12px bianchi anche sotto l'ultima riga di tile, come Apple */
.svc-head { text-align: center; margin-bottom: clamp(36px, 4vw, 56px); }
.svc-head .t-lead { margin-top: 10px; }
.svc-tile .tile-content { z-index: 1; }
.svc-media { top: auto; height: 60%; overflow: hidden; }
.svc-media img {
  transition: transform 1.2s var(--ease-out);
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 28%);
  mask-image: linear-gradient(180deg, transparent 0, #000 28%);
}
@media (hover: hover) { .svc-tile:hover .svc-media img { transform: scale(1.035); } }
.svc-tile:not(.tile--dark) .svc-media img { mix-blend-mode: multiply; }
/* inquadrature */
.svc--doc .svc-media img { object-position: 50% 62%; }
.svc--doc { background: #0b0b0c; }
.svc--tipo .svc-media img { object-position: 50% 55%; }
.svc--ril .svc-media { height: 62%; }
.svc--ril .svc-media img { object-position: 35% 50%; }
.svc--timbri .svc-media img { object-position: 50% 55%; }
.svc--foto .svc-media img { object-position: 78% 50%; }
.svc--eco .svc-media img { object-position: 50% 62%; }
/* busta riciclata: finestra fissa sulla piega e sulla linguetta, che finisce appena sopra il simbolo
   (simbolo e scritta con le percentuali restano fuori: il simbolo, a filo del bordo, sembrava tagliato).
   Lo zoom all'hover parte dal bordo inferiore della finestra (transform-origin), cosi' non sposta nulla fuori. */
.svc--eco .svc-media {
  height: auto; aspect-ratio: 1400 / 960;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 30%);
  mask-image: linear-gradient(180deg, transparent 0, #000 30%);
}
.svc--eco .svc-media img { height: auto; object-fit: fill; transform-origin: 50% 81.5%; transform: translateY(-34.8%); -webkit-mask-image: none; mask-image: none; }
@media (hover: hover) { .svc--eco:hover .svc-media img { transform: translateY(-34.8%) scale(1.035); } }
@media (min-width: 834px) {
  .svc--eco .svc-media { aspect-ratio: 1400 / 680; }
  .svc--eco .svc-media img { transform: translateY(-48.4%); }
  @media (hover: hover) { .svc--eco:hover .svc-media img { transform: translateY(-48.4%) scale(1.035); } }
}
@media (min-width: 834px) {
  .svc-media:not(.svc--eco .svc-media) { height: 58%; }
}

/* =====================================================================
   TESI E LAUREE (nero, pagina prodotto)
   ===================================================================== */
.tesi { overflow: hidden; }
.tesi-intro { text-align: center; max-width: 980px; margin-inline: auto; }
.tesi-eyebrow { color: var(--on-dark-2); margin-bottom: 14px; }
.tesi .t-mega { color: var(--on-dark); }
.tesi-narr { max-width: 760px; margin: 28px auto 0; }

/* image accordion */
.acc {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: clamp(56px, 7vw, 96px);
  background: var(--bg-dark-2);
  border-radius: var(--r-card);
  overflow: hidden;
}
@media (min-width: 834px) {
  .acc { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); min-height: 600px; }
}
.acc-list { display: flex; flex-direction: column; justify-content: center; padding: 20px 24px 28px; }
@media (min-width: 834px) { .acc-list { padding: 48px clamp(32px, 4vw, 64px); } }
.acc-item { border-bottom: 1px solid var(--line-dark); }
.acc-h { font-size: inherit; font-weight: inherit; }
.acc-btn {
  display: grid; grid-template-columns: minmax(0, 1fr) auto 20px; align-items: center; gap: 16px;
  width: 100%; min-height: 64px; padding: 20px 0;
  text-align: left; color: var(--on-dark);
}
.acc-name { font-size: var(--fs-h4); line-height: 1.14; font-weight: 600; letter-spacing: -.006em; }
.acc-price { font-size: 17px; color: var(--on-dark-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.acc-item.is-open .acc-price { color: var(--on-dark); }
.acc-chev { width: 12px; height: 12px; justify-self: end; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform .35s var(--ease-out); opacity: .8; }
.acc-item.is-open .acc-chev { transform: translateY(3px) rotate(-135deg); }
.acc-panel { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .5s var(--ease-out); }
.acc-panel-in { overflow: hidden; min-height: 0; }
.acc-panel p { max-width: 42ch; padding-bottom: 24px; color: var(--on-dark-2); font-size: 17px; }
html.js .acc-item:not(.is-open) .acc-panel { grid-template-rows: 0fr; }
html.js .acc-item:not(.is-open) .acc-panel-in { visibility: hidden; transition: visibility 0s .5s; }
.acc-inline-pic { display: block; margin-bottom: 24px; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4 / 3; }
.acc-inline-pic img { width: 100%; height: 100%; object-fit: cover; }
.acc-note { padding-top: 20px; color: var(--on-dark-2); }
.acc-media { display: none; position: relative; }
@media (min-width: 834px) {
  .acc-inline-pic { display: none; }
  .acc-media { display: block; }
}
.acc-shot { position: absolute; inset: 0; opacity: 0; transition: opacity .7s var(--ease-ui); }
.acc-shot.is-active { opacity: 1; }
.acc-shot picture { height: 100%; }
.acc-shot img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.4s var(--ease-out); }
.acc-shot.is-active img { transform: scale(1); }
.acc-shot[data-acc-shot="rigida"] img { object-position: 30% 50%; }
.acc-shot[data-acc-shot="brossura"] img { object-position: 60% 50%; }
.acc-shot[data-acc-shot="cartoncino"] img { object-position: 60% 50%; }

/* specifiche con keyline */
.specs { display: grid; gap: 48px; margin-top: clamp(72px, 9vw, 128px); }
@media (min-width: 834px) { .specs { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(48px, 7vw, 110px); } }
.specs-nums { display: grid; gap: 36px; align-content: start; }
@media (min-width: 560px) and (max-width: 833px) { .specs-nums { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.spec { border-top: 1px solid #6e6e73; padding-top: 22px; }
.spec-label { font-size: 14px; line-height: 1.29; color: var(--ink-2); }
.tesi .spec-label { color: var(--on-dark-2); }
.spec-val { font-size: clamp(34px, 26px + 2vw, 48px); line-height: 1.05; font-weight: 600; letter-spacing: -.02em; margin-top: 6px; color: #fff; }
.specs-list { border-top: 1px solid #6e6e73; padding-top: 22px; display: grid; gap: 28px; align-content: start; }
.spec-block h3 { font-size: 17px; line-height: 1.3; font-weight: 600; color: #fff; margin-bottom: 4px; }
.spec-block p { font-size: 17px; line-height: 1.47; color: var(--on-dark-2); }

/* platter prezzo a pillola */
.platter {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px;
  width: min(100%, 680px);
  margin: clamp(64px, 8vw, 104px) auto 0;
  padding: 12px 12px 12px 28px;
  border-radius: var(--r-pill);
  background: rgba(66,66,69,.72);
  -webkit-backdrop-filter: saturate(1.8) blur(20px); backdrop-filter: saturate(1.8) blur(20px);
}
.platter-text { font-size: 17px; line-height: 1.3; }
.platter-name { font-weight: 600; color: #fff; }
.platter-price { color: #a1a1a6; margin-left: 6px; } /* AA sul vetro del platter (5,1:1) */
.platter-ctas { display: flex; align-items: center; gap: 18px; }
.platter-link { font-size: 14px; }
.platter .platter-link { color: #4da6ff; } /* il blu su scuro standard qui è 4,4:1 */
@media (max-width: 560px) {
  .platter { border-radius: var(--r-card); padding: 22px 22px 18px; flex-direction: column; align-items: flex-start; }
  .platter-ctas { width: 100%; justify-content: space-between; }
}

/* =====================================================================
   GRANDE FORMATO (sticky scrub)
   ===================================================================== */
.gf { position: relative; padding-top: var(--section-y); }
.gf-track { position: relative; }
.gf-sticky { position: relative; height: min(84svh, 760px); overflow: hidden; }
html.gf-live .gf-track { height: 230svh; }
html.gf-live .gf-sticky { position: sticky; top: var(--nav-h); height: calc(100svh - var(--nav-h)); }
@media (max-width: 833px) {
  .gf-sticky { height: 78svh; }
  html.gf-live .gf-track { height: 250svh; }
  html.gf-live .gf-caps { bottom: calc(88px + env(safe-area-inset-bottom)); }
}
.gf-frame { position: relative; width: 100%; height: 100%; overflow: hidden; background: #2a2a2d; transform-origin: 50% 50%; will-change: transform; }
.gf-pic, .gf-pic img { position: absolute; inset: 0; width: 100%; height: 100%; }
.gf-pic img { object-fit: cover; object-position: 50% 50%; }
.gf-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.25) 34%, rgba(0,0,0,0) 52%),
    linear-gradient(0deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,0) 38%);
}
.gf-copy { position: absolute; left: 0; right: 0; top: clamp(40px, 8vh, 96px); text-align: center; padding-inline: var(--gutter); color: #fff; }
.gf-eyebrow { color: rgba(255,255,255,.78); margin-bottom: 10px; }
.gf-title { color: #fff; }
.gf-sub { color: rgba(255,255,255,.86); margin-top: 10px; }
.gf-caps {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(28px, 6vh, 64px);
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 6px;
  max-width: 34ch;
}
@media (min-width: 834px) { .gf-caps { left: max(var(--gutter), calc((100% - var(--container)) / 2)); } }
.gf-cap { font-size: clamp(19px, 15.7px + .86vw, 28px); line-height: 1.18; font-weight: 600; letter-spacing: -.01em; color: #fff; }
/* con l'animazione le didascalie compaiono a soglia, una alla volta */
html.gf-live .gf-caps { display: block; min-height: 3.6em; }
html.gf-live .gf-cap { position: absolute; left: 0; bottom: 0; opacity: 0; transform: translateY(18px); transition: opacity .45s var(--ease-ui), transform .6s var(--ease-out); }
html.gf-live .gf-cap.is-on { opacity: 1; transform: none; }

.gf-after { padding-block: clamp(56px, 7vw, 96px) var(--section-y); }
.gf-stats { display: grid; gap: 28px; }
@media (min-width: 834px) { .gf-stats { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.gf-stat { border-top: 1px solid rgba(0,0,0,.2); padding-top: 22px; }
.gf-num { font-size: clamp(30px, 24px + 1.6vw, 44px); line-height: 1.08; font-weight: 600; letter-spacing: -.02em; margin-top: 6px; }
.gf-ctas { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 18px; margin-top: clamp(40px, 5vw, 64px); }

/* =====================================================================
   FRASE MANIFESTO (font-weight 300 -> 700 allo scroll)
   ===================================================================== */
.mf { padding-block: clamp(56px, 8vw, 120px); }
.mf-text {
  max-width: 1120px; margin-inline: auto;
  text-align: center;
  font-size: clamp(38px, 26px + 3.4vw, 84px); line-height: 1.1; letter-spacing: -.03em;
  font-weight: 600; color: var(--ink);
  text-wrap: balance;
}
.mf-w { display: inline-grid; justify-items: center; }
.mf-w > span, .mf-w::after { grid-area: 1 / 1; }
.mf-w > span { font-weight: var(--w, 600); }
/* riserva la larghezza del peso massimo: niente righe che saltano mentre il peso cresce */
.mf-w::after { content: attr(data-w); font-weight: 700; visibility: hidden; height: 0; overflow: hidden; }

/* =====================================================================
   NUMERI
   ===================================================================== */
.nums { padding-bottom: var(--section-y); }
.nums-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 20px; }
@media (min-width: 834px) { .nums-grid { grid-template-columns: repeat(4, 1fr); gap: 32px; } }
.num { border-top: 1px solid rgba(0,0,0,.2); padding-top: 20px; display: flex; flex-direction: column; }
.num .spec-label { min-height: 2.6em; }
.num-val { font-size: clamp(44px, 32px + 3.1vw, 72px); line-height: 1; font-weight: 600; letter-spacing: -.03em; margin-top: 10px; font-variant-numeric: tabular-nums; }
.num-unit { font-size: .42em; letter-spacing: -.01em; color: var(--ink-2); }

/* =====================================================================
   COME FUNZIONA (stacking cards: sticky CSS, scala via GSAP)
   ===================================================================== */
.how { padding-block: var(--section-y); border-top: 1px solid var(--line); }
.how-head { text-align: center; margin-bottom: clamp(40px, 5vw, 64px); }
.how-head .eyebrow { margin-bottom: 10px; }
.how-stack { list-style: none; padding: 0; margin: 0; }
.how-card {
  --top: calc(var(--nav-h) + 16px);
  position: sticky; top: var(--top);
  display: grid; grid-template-columns: 1fr;
  min-height: min(600px, calc(100svh - var(--nav-h) - 40px));
  border-radius: var(--r-card);
  background: var(--bg-alt);
  overflow: hidden;
  transform-origin: 50% 0;
  isolation: isolate;
}
.how-card + .how-card { margin-top: 8vh; }
.how-card--2 { --top: calc(var(--nav-h) + 30px); background: var(--bg-dark-2); color: var(--on-dark); }
.how-card--3 { --top: calc(var(--nav-h) + 44px); background: #e8e8ed; }
.how-card::after { content: ""; position: absolute; inset: 0; background: #000; opacity: var(--dim, 0); pointer-events: none; z-index: 3; border-radius: inherit; }
@media (min-width: 834px) { .how-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.how-text { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 16px; padding: 32px 24px 28px; }
@media (min-width: 834px) { .how-text { padding: 56px clamp(40px, 5vw, 72px); } }
.how-text .t-lead { color: var(--ink-2); max-width: 30ch; font-size: clamp(17px, 16px + .3vw, 21px); }
.how-card--2 .how-text .t-lead { color: var(--on-dark-2); }
.how-card--3 .how-text .t-lead { color: #5e5e63; } /* grigio su #e8e8ed: --ink-2 è 4,15:1, questo 5,3:1 */
.how-card--2 a:not(.btn) { color: var(--link-on-dark); }
.how-text .btn, .how-text .link-cta { margin-top: 6px; }
.how-step {
  position: relative;
  display: grid; place-items: center;
  width: 44px; height: 44px;
  font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums;
}
.how-step::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: var(--spectrum);
  -webkit-mask: radial-gradient(circle, transparent 19.5px, #000 20px);
  mask: radial-gradient(circle, transparent 19.5px, #000 20px);
}
.how-visual { position: relative; display: grid; place-items: center; min-height: 260px; padding: 24px; overflow: hidden; }
@media (min-width: 834px) { .how-visual { min-height: 0; padding: 48px; } }
.how-visual--photo { padding: 0; }
.how-pic, .how-pic img { position: absolute; inset: 0; width: 100%; height: 100%; }
.how-pic img { object-fit: cover; }
.how-pic--2 img { object-position: 50% 62%; }
.how-pic--3 img { object-position: 50% 40%; }

/* finta mail */
.mock-mail {
  width: min(100%, 400px);
  background: #fff; color: var(--ink);
  border-radius: 18px;
  box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 24px 48px -28px rgba(0,0,0,.28);
  font-size: 14px; line-height: 1.4;
  overflow: hidden;
}
.mock-row { display: flex; gap: 10px; padding: 12px 18px; border-bottom: 1px solid var(--line); color: var(--ink); min-width: 0; }
.mock-row span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock-k { color: var(--ink-3); width: 58px; flex: none; }
.mock-body { padding: 16px 18px 6px; }
.mock-body p { color: var(--ink); }
.mock-file { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 10px 12px; border-radius: 12px; background: var(--bg-alt); font-size: 12px; line-height: 1.35; color: var(--ink-2); }
.mock-file strong { color: var(--ink); font-size: 13px; }
.mock-pdf { display: grid; place-items: center; width: 34px; height: 42px; border-radius: 6px; background: #e8262d; color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .04em; flex: none; }
.mock-send { margin: 12px 18px 16px auto; width: max-content; padding: 6px 14px; border-radius: var(--r-pill); background: var(--action); color: #fff; font-size: 13px; }
/* finta risposta */
.mock-bubble {
  position: absolute; left: 20px; right: 20px; bottom: 20px;
  max-width: 360px;
  padding: 14px 18px;
  border-radius: 20px 20px 20px 6px;
  background: rgba(255,255,255,.9);
  -webkit-backdrop-filter: saturate(1.8) blur(20px); backdrop-filter: saturate(1.8) blur(20px);
  color: var(--ink);
  font-size: 15px; line-height: 1.4;
}
@media (min-width: 834px) { .mock-bubble { left: 40px; bottom: 40px; } }
.mock-from { font-size: 12px; font-weight: 600; color: var(--open-ink); margin-bottom: 4px; }
.mock-chips { position: absolute; left: 20px; right: 20px; bottom: 20px; display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
@media (min-width: 834px) { .mock-chips { left: 40px; bottom: 40px; } }
.mock-chips li { padding: 8px 14px; border-radius: var(--r-pill); background: rgba(255,255,255,.9); -webkit-backdrop-filter: saturate(1.8) blur(20px); backdrop-filter: saturate(1.8) blur(20px); font-size: 14px; font-weight: 600; color: var(--ink); }

/* =====================================================================
   RECENSIONI (carosello Apple TV)
   ===================================================================== */
.rv { overflow: hidden; }
.rv-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 32px; margin-bottom: clamp(32px, 4vw, 52px); }
.rv-head .eyebrow { margin-bottom: 8px; }
.rv-score { text-align: right; }
.rv-score-num { display: flex; align-items: center; justify-content: flex-end; gap: 12px; font-size: 40px; line-height: 1; font-weight: 600; letter-spacing: -.02em; }
.rv-score-num .stars { font-size: 20px; }
.rv-score .t-small { margin-top: 6px; }
@media (max-width: 560px) { .rv-score { text-align: left; } .rv-score-num { justify-content: flex-start; } }

.rv-car { position: relative; --slide-w: min(760px, 82vw); }
@media (max-width: 833px) { .rv-car { --slide-w: calc(100vw - 72px); --rv-gap: 12px; } }
.rv-viewport { position: relative; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-inline: calc((100% - var(--slide-w)) / 2); }
.rv-viewport::-webkit-scrollbar { display: none; }
.rv-track { display: flex; gap: var(--rv-gap, 20px); list-style: none; padding: 0; margin: 0; align-items: stretch; }
.rv-slide { flex: 0 0 var(--slide-w); scroll-snap-align: center; display: flex; }
.rv-card {
  display: flex; flex-direction: column; gap: 22px;
  width: 100%;
  min-height: 330px;
  padding: clamp(28px, 3.4vw, 48px);
  border-radius: var(--r-card);
  background: #fff;
}
.rv-stars { display: flex; gap: 3px; font-size: 17px; color: var(--ink); }
.rv-text { margin: 0; flex: 1; }
.rv-text p {
  font-size: clamp(19px, 17.5px + .4vw, 23px); line-height: 1.38; letter-spacing: -.012em; font-weight: 400;
  color: var(--ink);
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6; line-clamp: 6;
  overflow: hidden;
}
.rv-slide.is-expanded .rv-text p { -webkit-line-clamp: unset; line-clamp: none; display: block; }
.rv-more { margin-top: 8px; font-size: 14px; color: var(--link); min-height: 44px; padding: 0; display: inline-flex; align-items: center; }
.rv-more:hover { text-decoration: underline; }
.rv-author { display: flex; align-items: center; gap: 12px; }
.rv-ini {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--ctrl); color: var(--ink);
  font-size: 14px; font-weight: 600; letter-spacing: .02em; flex: none;
}
.rv-meta { display: flex; flex-direction: column; font-size: 14px; line-height: 1.3; }
.rv-name { font-weight: 600; color: var(--ink); }
.rv-date { color: var(--ink-2); }

/* versione animata (reviews.js mette .rv-live) */
.rv-car.rv-live .rv-viewport { overflow: hidden; scroll-snap-type: none; padding-inline: 0; touch-action: pan-y; cursor: grab; }
.rv-car.rv-live .rv-viewport.is-dragging { cursor: grabbing; }
.rv-car.rv-live .rv-track { will-change: transform; }
.rv-car.rv-live .rv-track.is-anim { transition: transform .9s var(--ease-slide); }
.rv-car.rv-live .rv-slide { transition: opacity .6s var(--ease-ui); }
.rv-car.rv-live .rv-slide:not(.is-active) { opacity: .45; cursor: pointer; }
.rv-car.rv-live .rv-slide:not(.is-active) .rv-more { visibility: hidden; }
/* slide laterali simmetriche: con il testo allineato a sinistra la laterale sinistra mostrava solo
   il margine vuoto (e le code delle righe) e la destra l'inizio del testo. Nel carosello il contenuto
   delle card è centrato: le due laterali tagliate mostrano la stessa porzione (i bordi delle righe). */
.rv-car.rv-live .rv-card { align-items: center; text-align: center; }
.rv-car.rv-live .rv-stars { justify-content: center; }
.rv-car.rv-live .rv-text { width: 100%; display: flex; flex-direction: column; align-items: center; }
.rv-car.rv-live .rv-text p { max-width: 36em; margin-inline: auto; }
.rv-car.rv-live .rv-author { justify-content: center; }
.rv-car.rv-live .rv-meta { text-align: left; }

.rv-controls { position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 28px; padding-inline: var(--gutter); }
.rv-dots { display: flex; align-items: center; height: 36px; padding: 0 10px; border-radius: var(--r-pill); background: rgba(0,0,0,.06); }
.rv-dot { position: relative; display: grid; place-items: center; width: 18px; height: 36px; }
.rv-dot::before { content: ""; width: 8px; height: 8px; border-radius: 10px; background: rgba(0,0,0,.36); transition: width .3s var(--ease-ui), background-color .2s var(--ease-ui); }
.rv-dot:hover::before { background: rgba(0,0,0,.56); }
.rv-dot.is-active { width: 42px; }
.rv-dot.is-active::before { width: 32px; background: rgba(0,0,0,.2); }
.rv-dot i { position: absolute; left: 5px; top: 14px; width: 32px; height: 8px; border-radius: 10px; background: var(--ink); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); opacity: 0; pointer-events: none; }
.rv-dot.is-active i { opacity: 1; }
.rv-car.is-paused .rv-dot.is-active i { transform: scaleX(1); }
.rv-play, .rv-arrow {
  display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(0,0,0,.06); color: rgba(0,0,0,.72);
  transition: background-color .1s var(--ease-ui);
  position: relative;
}
.rv-play::before, .rv-arrow::before { content: ""; position: absolute; inset: -4px; }
.rv-play:hover, .rv-arrow:hover { background: rgba(0,0,0,.1); }
.rv-play svg, .rv-arrow svg { width: 14px; height: 14px; fill: currentColor; }
.rv-arrow svg { fill: none; }
.rv-play .i-play { display: none; }
.rv-car.is-paused .rv-play .i-play { display: block; }
.rv-car.is-paused .rv-play .i-pause { display: none; }
.rv-arrows { display: flex; gap: 10px; }
@media (min-width: 834px) {
  .rv-arrows { position: absolute; right: max(var(--gutter), calc((100% - var(--container)) / 2)); top: 0; }
}
.rv-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; margin-top: 32px; }

/* =====================================================================
   FAQ
   ===================================================================== */
.faq-title { text-align: center; margin-bottom: clamp(32px, 4vw, 56px); }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-h { font-size: inherit; font-weight: inherit; }
.faq-btn {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  width: 100%; min-height: 64px; padding: 22px 0;
  text-align: left;
  font-size: clamp(19px, 17.5px + .4vw, 24px); line-height: 1.25; font-weight: 600; letter-spacing: -.01em;
  color: var(--ink);
}
.faq-btn:hover { color: #000; }
.faq-plus { position: relative; width: 18px; height: 18px; flex: none; }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; left: 0; top: 8px; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .35s var(--ease-out); }
.faq-plus::after { transform: rotate(90deg); }
.faq-item.is-open .faq-plus::after { transform: rotate(0deg); }
.faq-panel { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .45s var(--ease-out); }
.faq-panel-in { overflow: hidden; min-height: 0; }
.faq-panel p { padding: 0 0 26px; max-width: 64ch; font-size: 17px; color: var(--ink-2); }
html.js .faq-item:not(.is-open) .faq-panel { grid-template-rows: 0fr; }
html.js .faq-item:not(.is-open) .faq-panel-in { visibility: hidden; transition: visibility 0s .45s; }

/* =====================================================================
   ORARI E DOVE SIAMO
   ===================================================================== */
.visit-head { text-align: center; margin-bottom: clamp(32px, 4vw, 56px); }
.visit-head .eyebrow { margin-bottom: 10px; }
.visit-grid { display: grid; gap: 20px; }
/* 2 colonne solo da 1024: a 834 la card orari era troppo stretta e "Mercoledì" mandava a capo gli orari */
@media (min-width: 1024px) { .visit-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
.visit-card { display: flex; flex-direction: column; }
.visit-hours { padding: clamp(28px, 3vw, 44px); }
.visit-status { font-size: 17px; font-weight: 400; }
.visit-status .status-dot { width: 8px; height: 8px; }
.visit-today { margin: 8px 0 20px; font-size: clamp(24px, 21px + .8vw, 32px); }
.visit-today span { display: inline-block; white-space: nowrap; }
.visit-today span::first-letter { text-transform: lowercase; } /* "Oggi chiuso", non "Oggi Chiuso" */
@media (max-width: 400px) { .visit-today span { white-space: normal; } }
.visit-note { margin-top: auto; padding-top: 18px; } /* in fondo alla card quando è alta quanto la mappa */
.visit-where { padding: 0; }
.map { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #f3f1ec; }
.map:hover { text-decoration: none; }
.map-svg { width: 100%; height: 100%; }
.map-pulse { transform-box: fill-box; transform-origin: center; animation: hm-pulse 2.6s var(--ease-out) infinite; }
@keyframes hm-pulse { 0% { transform: scale(.6); opacity: .28; } 80%, 100% { transform: scale(1.6); opacity: 0; } }
.map-hint {
  position: absolute; left: 14px; bottom: 14px;
  padding: 6px 12px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.86);
  -webkit-backdrop-filter: saturate(1.8) blur(20px); backdrop-filter: saturate(1.8) blur(20px);
  font-size: 12px; line-height: 1.3; color: var(--ink-2);
}
.map:hover .map-hint { color: var(--ink); }
.visit-where-body { padding: clamp(24px, 3vw, 40px); }
.visit-where-body .t-muted { margin-top: 6px; }
.visit-facts { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; font-size: 17px; }
.visit-facts li { display: flex; gap: 12px; }
.visit-k { width: 76px; flex: none; font-size: 14px; line-height: 1.7; font-weight: 600; color: var(--ink-2); }
.visit-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
