/* =========================================================
   QUOTAZIONE ORO PALERMO — HOME v3 "cinema"
   Pagina CHIARA avorio come la v2 (scelta utente) + linguaggio
   Higgsfield: Playfair Display, accenti oro, card, hero-film
   scuro e bande scure d'accento (ticker/stats/foto/CTA/footer).
   Ristila le classi v2 esistenti + il nuovo hero scrub.
   ========================================================= */

:root {
  /* pagina chiara (dalla v2) */
  --v3-bg: #E7E3D6;
  --v3-surface: #FBF8F1;
  --v3-ink: #1B2620;
  --v3-body: #5C564A;
  --v3-soft: #7A6F5C;
  /* bande scure d'accento (dal brief Higgsfield) */
  --v3-dark: #0F2B22;
  --v3-dark-2: #0B211A;
  --v3-dark-surface: #16382C;
  --v3-cream: #F4EFE4;
  --v3-cream-dim: #E6DFCC;
  --v3-cream-mut: #B9A987;
  /* oro */
  --v3-gold: #C8A24B;
  --v3-gold-bright: #E6CD85;
  --v3-gold-deep: #9E7322;
  --v3-line: rgba(158, 115, 34, .22);
  --v3-line-strong: rgba(158, 115, 34, .42);
  --v3-line-dark: rgba(200, 162, 75, .22);
  --v3-gold-grad: linear-gradient(180deg, #E6CD85, #C8A24B);
  --v3-foil-grad: linear-gradient(105deg, #9A7B34 0%, #E6CD85 38%, #C8A24B 55%, #F4E3AE 72%, #9A7B34 100%);
  --v3-display: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --v3-body-font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --v3-ease: cubic-bezier(.22, .8, .26, .99);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--v3-bg); color: var(--v3-ink); font-family: var(--v3-body-font); -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
::selection { background: rgba(200, 162, 75, .35); color: var(--v3-ink); }
:focus-visible { outline: 2px solid var(--v3-gold-deep); outline-offset: 3px; border-radius: 4px; }

.v2-wrap { max-width: 78rem; margin: 0 auto; padding-inline: 1.5rem; }

/* ---- animazioni condivise (stessi contratti di v2/main.js) ---- */
@keyframes qop-marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes qop-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .25; transform: scale(.6); } }
@keyframes qop-flash { 0% { filter: brightness(1.7) saturate(1.2); } 100% { filter: brightness(1) saturate(1); } }

.livedot { display: inline-block; border-radius: 999px; animation: qop-pulse 1.5s ease-in-out infinite; }
.flash { animation: qop-flash .75s ease-out; }

.reveal { opacity: 0; transform: translateY(42px); transition: opacity .85s var(--v3-ease), transform .85s var(--v3-ease); }
.reveal.in { opacity: 1; transform: none; }
.stagger > * { transition-delay: 0s; }
.stagger > *:nth-child(2) { transition-delay: .07s; }
.stagger > *:nth-child(3) { transition-delay: .14s; }
.stagger > *:nth-child(4) { transition-delay: .21s; }
.stagger > *:nth-child(5) { transition-delay: .28s; }
.stagger > *:nth-child(6) { transition-delay: .35s; }
html:not(.js) .reveal { opacity: 1 !important; transform: none !important; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .qop-marq, .livedot, .foil { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* testo "foil" dorato */
.foil {
  background: var(--v3-foil-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---- skip link ---- */
.v2-skip { position: absolute; left: -9999px; top: 12px; z-index: 100; background: var(--v3-gold); color: #0F2B22; font-weight: 700; padding: 10px 16px; border-radius: 999px; }
.v2-skip:focus { left: 12px; }

/* ============ TICKER (banda scura) ============ */
.v2-tick { background: var(--v3-dark-2); border-bottom: 1px solid var(--v3-line-dark); }
.v2-tick__row { display: flex; align-items: center; gap: 18px; max-width: 78rem; margin: 0 auto; padding: 9px 1.5rem; }
.v2-tick__label { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--v3-cream-mut); }
.v2-tick__label .livedot { width: 8px; height: 8px; background: var(--v3-gold-bright); box-shadow: 0 0 10px 2px rgba(230, 205, 133, .55); }
.v2-tick__vp { overflow: hidden; flex: 1 1 auto; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.qop-marq { display: flex; width: max-content; gap: 38px; padding-left: 38px; animation: qop-marq 28s linear infinite; }
.v2-tick:hover .qop-marq { animation-play-state: paused; }
.v2-tick__item { display: inline-flex; align-items: baseline; gap: 8px; font-size: 12.5px; white-space: nowrap; }
.v2-tick__item .m { color: var(--v3-cream-mut); }
.v2-tick__item .p { color: var(--v3-cream); font-weight: 700; font-variant-numeric: tabular-nums; }
.v2-tick__item .d { font-weight: 700; }
.v2-tick__item .d.up { color: #9FD3A8; }
.v2-tick__item .d.dn { color: var(--v3-gold-bright); }
.v2-tick__item .d.eq { color: #7E947F; }

/* ============ NAV (sticky, chiara sfocata) ============ */
.v2-nav { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: none; padding: .85rem 1.5rem; background: rgba(231, 227, 214, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--v3-line); }
.v2-brand { display: inline-flex; align-items: center; gap: .7rem; }
.v2-brand__mk { width: 38px; height: 38px; border-radius: 50%; background: url('../img/logo-tondo-nav.png') center / contain no-repeat; box-shadow: 0 0 0 1px rgba(158, 115, 34, .3), 0 6px 16px -8px rgba(27, 38, 32, .5); }
.v2-brand__tx { font-family: var(--v3-display); font-stretch: 90%; font-size: 1.08rem; font-weight: 800; letter-spacing: .01em; color: var(--v3-ink); }
.v2-brand__tx span { color: var(--v3-gold-deep); }
.v2-nav__links { display: flex; align-items: center; gap: 1.4rem; }
.v2-nav__links a { color: var(--v3-body); font-size: .92rem; transition: color .2s ease; }
.v2-nav__links a:hover { color: var(--v3-gold-deep); }
.v2-nav__links a.v2-nav__cta { color: #0F2B22; background: var(--v3-gold-grad); font-weight: 700; font-size: .9rem; padding: .55rem 1.15rem; border: 0; border-radius: 999px; transition: transform .2s ease, box-shadow .2s ease; }
.v2-nav__links a.v2-nav__cta:hover { color: #0F2B22; transform: translateY(-1px); box-shadow: 0 6px 22px rgba(158, 115, 34, .35); }
.v2-burger { display: none; width: 44px; height: 44px; flex-direction: column; gap: 5px; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid var(--v3-line-strong); background: transparent; cursor: pointer; }
.v2-burger span { width: 22px; height: 2px; background: var(--v3-ink); border-radius: 2px; }

/* ============ HERO SCRUB (film, resta scuro per natura) ============ */
.v3-scrub { position: relative; background: var(--v3-dark-2); }
.v3-scrub__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.v3-scrub__media, .v3-scrub__layer { position: absolute; inset: 0; }
.v3-scrub__layer { margin: 0; overflow: hidden; } /* figure ha margini UA di default: senza azzerarli il film resta 40px dai bordi */
.v3-scrub__poster, .v3-scrub__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--scrub-pos, 50% 55%); }
.v3-scrub__layer[data-video-painted] .v3-scrub__poster { visibility: hidden; }
.v3-scrub__veil { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(11, 33, 26, .78) 0%, rgba(11, 33, 26, .5) 34%, rgba(11, 33, 26, .05) 62%),
  linear-gradient(180deg, rgba(11, 33, 26, .32) 0%, transparent 22%, transparent 72%, rgba(11, 33, 26, .72) 100%); }
.v3-scrub__progress { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: rgba(200, 162, 75, .18); z-index: 5; pointer-events: none; }
.v3-scrub__progress span { display: block; height: 100%; width: 100%; background: var(--v3-gold-grad); transform: scaleX(var(--ss-progress, 0)); transform-origin: left center; }
.v3-scrub__hint { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 5; color: var(--v3-cream-mut); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; opacity: calc(1 - var(--ss-progress, 0) * 6); pointer-events: none; }

.v3-scrub__story { position: relative; z-index: 3; margin-top: -100svh; pointer-events: none; }
.v3-scrub__chapter { position: relative; min-height: 280svh; }
.v3-scrub__pin { position: sticky; top: 0; min-height: 100svh; display: flex; align-items: center; }
.v3-scrub__grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: 48px; align-items: center; width: 100%; padding-block: 84px 96px; pointer-events: auto; }
.v3-scrub__copy { position: relative; }
.v3-scrub__copy::before { content: ""; position: absolute; z-index: -1; inset: -3rem -5rem; background: radial-gradient(ellipse at center, rgba(11, 33, 26, .8) 0%, rgba(11, 33, 26, .45) 52%, transparent 76%); pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
  .v3-scrub__chapter { min-height: 100svh !important; }
}

.v3-hero__eye { margin: 0 0 16px; font-stretch: 86%; font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--v3-gold-bright); }
.v3-hero__title { margin: 0; font-family: var(--v3-display); font-stretch: 68%; font-weight: 850; font-size: clamp(48px, 6.6vw, 92px); line-height: .92; letter-spacing: -.018em; text-transform: uppercase; color: var(--v3-cream); }
.v3-hero__lead { margin: 24px 0 0; max-width: 46ch; font-size: 17px; line-height: 1.6; color: var(--v3-cream-dim); }
.v3-hero__cta { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 30px; }

/* ============ BOTTONI ============ */
.v2-btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--v3-body-font); font-weight: 700; font-size: 15px; letter-spacing: .01em; border-radius: 999px; padding: 15px 28px; cursor: pointer; border: 0; transition: transform .22s ease, box-shadow .22s ease, background .22s ease, color .22s ease, border-color .22s ease; }
.v2-btn--gold { color: #0F2B22; background: var(--v3-gold-grad); box-shadow: 0 14px 30px -12px rgba(158, 115, 34, .5); }
.v2-btn--gold:hover { transform: translateY(-2px); box-shadow: 0 20px 42px -12px rgba(158, 115, 34, .65); }
/* ghost: nell'hero sta sul film scuro */
.v3-scrub .v2-btn--ghost { color: var(--v3-cream); background: transparent; border: 1.5px solid rgba(200, 162, 75, .45); }
.v3-scrub .v2-btn--ghost:hover { border-color: var(--v3-gold); color: var(--v3-gold-bright); background: rgba(200, 162, 75, .1); }
.v2-btn--ghost { color: var(--v3-ink); background: transparent; border: 1.5px solid var(--v3-line-strong); }
.v2-btn--ghost:hover { border-color: var(--v3-gold-deep); color: var(--v3-gold-deep); background: rgba(158, 115, 34, .06); }

/* ============ CARD PREZZO/CALCOLATORE (chiara, sul film) ============ */
.v2-card { background: var(--v3-surface); border: 1px solid var(--v3-line-strong); border-radius: 20px; padding: 24px; box-shadow: 0 34px 80px -30px rgba(0, 0, 0, .75); }
.v2-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.v2-card__lab { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--v3-gold-deep); }
.v2-card__live { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--v3-soft); }
.v2-card__live .livedot { width: 6px; height: 6px; background: var(--v3-gold); }
.v2-karat { display: flex; flex-wrap: wrap; gap: 7px; }
.v2-karat__b { font-family: var(--v3-body-font); font-weight: 700; font-size: 13px; color: var(--v3-body); background: #fff; border: 1px solid var(--v3-line); border-radius: 999px; padding: 8px 16px; min-height: 44px; cursor: pointer; transition: color .2s, background .2s, border-color .2s, box-shadow .2s; }
.v2-karat__b:hover { border-color: var(--v3-line-strong); color: var(--v3-ink); }
.v2-karat__b.is-active { color: #2A1E08; background: var(--v3-gold-grad); border-color: transparent; box-shadow: 0 8px 18px -8px rgba(158, 115, 34, .6); }
.v2-price { margin-top: 16px; display: flex; align-items: baseline; gap: 6px; }
.v2-price b { font-family: var(--v3-display); font-stretch: 76%; font-weight: 800; font-size: clamp(44px, 4.4vw, 58px); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.v2-price small { font-size: 15px; color: var(--v3-soft); font-weight: 600; }
.v2-card__note { margin-top: 6px; font-size: 12.5px; color: var(--v3-soft); }
.v2-card__rule { height: 1px; background: var(--v3-line); margin: 18px 0; }
.v2-calc__lab { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--v3-gold-deep); margin-bottom: 10px; }
.v2-calc__row { display: flex; align-items: center; gap: 14px; }
.v2-calc__field { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--v3-line); border-radius: 12px; padding: 11px 14px; flex: 1 1 auto; }
.v2-calc__field:focus-within { border-color: var(--v3-gold-deep); }
.v2-calc__field input { width: 100%; background: transparent; border: 0; outline: 0; color: var(--v3-ink); font-family: var(--v3-body-font); font-weight: 600; font-size: 16px; }
.v2-calc__field input::placeholder { color: rgba(122, 111, 92, .6); }
.v2-calc__field span { color: var(--v3-soft); font-weight: 700; font-size: 13px; }
.v2-calc__arrow { color: var(--v3-gold-deep); font-size: 18px; }
.v2-calc__out .k { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--v3-soft); }
.v2-calc__out .v { font-family: var(--v3-display); font-stretch: 80%; font-weight: 800; font-size: 26px; color: var(--v3-gold-deep); font-variant-numeric: tabular-nums; white-space: nowrap; }
.v2-calc__dis { margin-top: 12px; font-size: 12px; line-height: 1.5; color: var(--v3-soft); }

/* ============ SEZIONI (pagina chiara) ============ */
.v2-cmp, .v2-steps, .v2-why, .v2-guides, .v2-faq { padding-block: clamp(4rem, 9vw, 6.5rem); }

.v2-cmp__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.v2-cmp__eye { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--v3-gold-deep); margin-bottom: 8px; }
.v2-cmp__title { margin: 0; font-family: var(--v3-display); font-stretch: 78%; font-weight: 850; font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.02; letter-spacing: -.01em; color: var(--v3-ink); }
.v2-cmp__count { flex: 0 0 auto; font-size: 12.5px; font-weight: 600; color: var(--v3-soft); border: 1px solid var(--v3-line); border-radius: 999px; padding: 8px 14px; background: var(--v3-surface); }

/* comparatore: card chiare in griglia */
.v2-cmp__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(21rem, 1fr)); gap: 1.15rem; }
.v2-row { position: relative; display: flex; flex-direction: column; gap: 13px; background: var(--v3-surface); border: 1px solid var(--v3-line); border-radius: 16px; padding: 1.3rem; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.v2-row:hover { transform: translateY(-3px); border-color: var(--v3-line-strong); box-shadow: 0 20px 44px -26px rgba(27, 38, 32, .4); }
.v2-row--feat { border-color: rgba(158, 115, 34, .55); box-shadow: 0 18px 44px -22px rgba(158, 115, 34, .3); }
.v2-row__rank { position: absolute; top: 1.05rem; right: 1.15rem; font-family: var(--v3-display); font-stretch: 86%; font-weight: 800; font-size: 1rem; color: rgba(158, 115, 34, .55); }
.v2-row__logo { width: 58px; height: 54px; object-fit: contain; background: #fff; border: 1px solid var(--v3-line); border-radius: 12px; padding: 6px; }
.v2-row__name { min-width: 0; }
.v2-row__nm b { font-family: var(--v3-display); font-stretch: 86%; font-weight: 800; font-size: 1.18rem; letter-spacing: .002em; color: var(--v3-ink); }
.v2-row__loc { margin-top: 3px; color: var(--v3-soft); font-size: .87rem; }
.v2-row__valcol { border-top: 1px solid var(--v3-line); padding-top: 12px; }
.v2-row__vk { font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--v3-soft); }
.v2-row__vk-k { color: var(--v3-gold-deep); }
.v2-row__val { margin-top: 3px; display: flex; align-items: baseline; gap: 4px; }
.v2-row__val b { font-family: var(--v3-display); font-stretch: 80%; font-weight: 800; font-size: 1.7rem; color: var(--v3-gold-deep); font-variant-numeric: tabular-nums; }
.v2-row__val small { color: var(--v3-soft); font-weight: 600; }
.v2-row__chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.v2-row__chips span { font-size: .76rem; padding: .3rem .6rem; border: 1px solid var(--v3-line); border-radius: 999px; color: var(--v3-body); }
.v2-row__chips span.pietre { color: var(--v3-gold-deep); border-color: var(--v3-line-strong); }
.v2-row__go { margin-top: auto; align-self: flex-start; color: #0F2B22; background: var(--v3-gold-grad); font-weight: 700; font-size: .9rem; padding: .6rem 1.2rem; border-radius: 999px; transition: transform .2s ease, box-shadow .2s ease; }
.v2-row__go:hover { transform: translateY(-1px); box-shadow: 0 6px 22px rgba(158, 115, 34, .35); }
.v2-cmp__note { margin: 26px 0 0; max-width: 72ch; font-size: 13px; line-height: 1.65; color: var(--v3-soft); }
.v2-cmp__note a { color: var(--v3-gold-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(158, 115, 34, .4); }
.v2-cmp__note a:hover { text-decoration-color: var(--v3-gold-deep); }

/* ============ STATS (banda scura) ============ */
.v2-stats { background: var(--v3-dark-2); border-block: 1px solid var(--v3-line-dark); }
.v2-stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; padding-block: 46px; }
.v2-stat__v { font-family: var(--v3-display); font-stretch: 76%; font-weight: 800; font-size: clamp(34px, 4vw, 52px); line-height: 1; }
.v2-stat__v .s { font-size: .6em; margin-left: 2px; }
.v2-stat__lab { margin-top: 8px; font-size: 13px; color: var(--v3-cream-mut); }

/* ============ COME FUNZIONA (3 colonne, chiara) ============ */
.v2-steps__title, .v2-why__title, .v2-guides__title, .v2-faq__title { margin: 0 0 30px; font-family: var(--v3-display); font-stretch: 78%; font-weight: 850; font-size: clamp(1.9rem, 4vw, 2.9rem); line-height: 1.02; letter-spacing: -.01em; color: var(--v3-ink); }
.v2-steps__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.v2-step { border-left: 1px solid var(--v3-line-strong); padding-left: 20px; }
.v2-step__n { font-family: var(--v3-display); font-stretch: 86%; font-weight: 800; font-size: 1.05rem; color: var(--v3-gold-deep); }
.v2-step__t { margin-top: 8px; font-weight: 700; font-size: 1.08rem; color: var(--v3-ink); }
.v2-step__d { margin-top: 6px; font-size: .95rem; line-height: 1.6; color: var(--v3-body); }

/* ============ FEATURE (foto, scura per natura) ============ */
.v2-feature { position: relative; overflow: hidden; }
.v2-feature__bg { display: block; width: 100%; height: 460px; object-fit: cover; }
.v2-feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 33, 26, .88) 0%, rgba(11, 33, 26, .55) 45%, rgba(11, 33, 26, .2) 100%); }
.v2-feature__in { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: center; }
.v2-feature__eye { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--v3-gold-bright); }
.v2-feature__title { margin: 10px 0 0; font-family: var(--v3-display); font-stretch: 78%; font-weight: 850; font-size: clamp(1.8rem, 3.6vw, 2.7rem); line-height: 1.04; color: var(--v3-cream); max-width: 20ch; }
.v2-feature__lead { margin: 14px 0 0; max-width: 46ch; font-size: 15.5px; line-height: 1.6; color: var(--v3-cream-dim); }

/* ============ PERCHÉ (chiara) ============ */
.v2-why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.v2-why-card { background: var(--v3-surface); border: 1px solid var(--v3-line); border-radius: 16px; padding: 22px; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.v2-why-card:hover { transform: translateY(-3px); border-color: var(--v3-line-strong); box-shadow: 0 20px 44px -26px rgba(27, 38, 32, .35); }
.v2-why-card__ico { display: inline-flex; color: var(--v3-gold-deep); margin-bottom: 12px; }
.v2-why-card h3 { margin: 0 0 6px; font-size: 1.02rem; font-weight: 700; color: var(--v3-ink); }
.v2-why-card p { margin: 0; font-size: .92rem; line-height: 1.6; color: var(--v3-body); }

/* ============ GUIDE (chiara) ============ */
.v2-guides__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.v2-guide { display: flex; flex-direction: column; gap: 10px; background: var(--v3-surface); border: 1px solid var(--v3-line); border-radius: 16px; padding: 22px; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.v2-guide:hover { transform: translateY(-3px); border-color: rgba(158, 115, 34, .5); box-shadow: 0 20px 44px -26px rgba(27, 38, 32, .35); }
.v2-guide__tag { align-self: flex-start; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--v3-gold-deep); border: 1px solid var(--v3-line-strong); border-radius: 999px; padding: .28rem .6rem; }
.v2-guide__t { font-family: var(--v3-display); font-stretch: 84%; font-weight: 800; font-size: 1.18rem; line-height: 1.2; color: var(--v3-ink); }
.v2-guide__d { font-size: .92rem; line-height: 1.55; color: var(--v3-body); }
.v2-guide__more { margin-top: auto; font-weight: 600; font-size: .9rem; color: var(--v3-gold-deep); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(158, 115, 34, .35); }
.v2-guide:hover .v2-guide__more { text-decoration-color: var(--v3-gold-deep); }

/* ============ FAQ (chiara) ============ */
.v2-faq__list { display: grid; gap: 10px; max-width: 52rem; }
.v2-faq__item { background: var(--v3-surface); border: 1px solid var(--v3-line); border-radius: 12px; transition: border-color .2s ease; }
.v2-faq__item[open] { border-color: var(--v3-line-strong); }
.v2-faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 18px; font-weight: 600; font-size: .98rem; color: var(--v3-ink); }
.v2-faq__item summary::-webkit-details-marker { display: none; }
.v2-faq__item summary::after { content: "+"; flex: 0 0 auto; font-weight: 800; font-size: 1.25rem; color: var(--v3-gold-deep); transition: transform .25s ease; }
.v2-faq__item[open] summary::after { transform: rotate(45deg); }
.v2-faq__body { padding: 0 18px 16px; }
.v2-faq__body p { margin: 0; font-size: .93rem; line-height: 1.65; color: var(--v3-body); }

/* ============ CTA BAND (card scura d'accento) ============ */
.v2-ctaband { padding-block: clamp(3rem, 7vw, 5rem); }
.v2-ctaband__in { display: flex; align-items: center; justify-content: space-between; gap: 26px; background: linear-gradient(135deg, var(--v3-dark-surface) 0%, var(--v3-dark-2) 100%); border: 1px solid rgba(200, 162, 75, .3); border-radius: 24px; padding: clamp(28px, 5vw, 52px); }
.v2-ctaband__eye { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--v3-gold); }
.v2-ctaband__t { margin-top: 10px; font-family: var(--v3-display); font-stretch: 78%; font-weight: 850; font-size: clamp(1.7rem, 3.6vw, 2.6rem); line-height: 1.05; color: var(--v3-cream); }

/* ============ FOOTER (banda scura) ============ */
.v2-foot { background: var(--v3-dark-2); border-top: 1px solid var(--v3-line-dark); padding: 54px 0 26px; }
.v2-foot .v2-brand__tx { font-size: 1.05rem; }
.v2-foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.v2-foot__tag { margin: 14px 0 0; max-width: 40ch; font-size: .92rem; line-height: 1.6; color: var(--v3-cream-mut); }
.v2-foot__grid nav { display: grid; gap: 9px; align-content: start; }
.v2-foot__grid h4 { margin: 0 0 6px; font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--v3-gold); }
.v2-foot__grid nav a { font-size: .92rem; color: var(--v3-cream-dim); transition: color .2s ease; }
.v2-foot__grid nav a:hover { color: var(--v3-gold-bright); }
.v2-foot__bottom { display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: space-between; margin-top: 38px; padding-top: 20px; border-top: 1px solid var(--v3-line-dark); font-size: .82rem; color: var(--v3-cream-mut); }
.v2-foot__bottom a { color: var(--v3-cream-dim); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(200, 162, 75, .3); }
.v2-foot__bottom a:hover { color: var(--v3-gold-bright); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1020px) {
  .v3-scrub__grid { grid-template-columns: 1fr; gap: 26px; padding-block: 96px 40px; align-content: center; }
  /* la sfumatura dietro il testo non deve sporgere oltre il viewport */
  .v3-scrub__copy::before { inset: -2.5rem -1.1rem; }
  .v3-hero__title { font-size: clamp(40px, 8.4vw, 64px); }
  .v2-card { max-width: 560px; }
  .v2-why__grid { grid-template-columns: repeat(2, 1fr); }
  .v2-nav__links { position: absolute; left: 0; right: 0; top: 100%; display: none; background: rgba(238, 234, 222, .97); backdrop-filter: blur(14px); border-bottom: 1px solid var(--v3-line); padding: 0 1.5rem; }
  .v2-nav__links.open { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; width: 100%; padding: 18px 1.5rem 22px; }
  .v2-burger { display: flex; }
}

@media (max-width: 860px) {
  .v3-scrub__chapter { min-height: 250svh; }
  .v2-stats__grid { grid-template-columns: repeat(2, 1fr); }
  .v2-steps__grid { grid-template-columns: 1fr; gap: 20px; }
  .v2-guides__grid { grid-template-columns: 1fr; }
  .v2-feature__bg { height: 420px; }
  .v2-ctaband__in { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .v2-wrap { padding-inline: 1.1rem; }
  .v3-scrub__grid { padding-block: 84px 32px; }
  .v3-hero__lead { font-size: 15.5px; }
  .v2-card { padding: 18px; }
  .v2-calc__row { flex-wrap: wrap; }
  .v2-cmp__head { flex-direction: column; align-items: flex-start; }
  .v2-why__grid { grid-template-columns: 1fr; }
  .v2-foot__grid { grid-template-columns: 1fr; }
  .v2-row__rank { font-size: .95rem; }
}
