/* ==========================================================================
   PlayGameRadar — foglio di stile (tema "Rainbow": candy-bright, rounded, pill)
   Vanilla CSS, mobile-first, nessun font esterno.
   ========================================================================== */

:root {
  /* Colori — palette Rainbow */
  --color-ink: #0f101a;
  --color-white: #ffffff;
  --color-cloud: #f1f3f6;
  --color-mist: #c7c7c7;
  --color-stone: #777885;
  --color-muted: #55566a;          /* testo secondario piccolo — AA su bianco */
  --color-tangerine: #ff8a00;
  --color-hot-pink: #ff54bb;
  --color-sky-tint: #99eeff;
  --color-coral: #ff8465;
  --color-lavender: #a1cbfd;
  --color-gold: #ffb300;           /* stelle rating */

  /* Gradienti firma */
  --grad-coral: linear-gradient(270deg, #ff8465 0%, #ff62a3 100%);
  --grad-cotton: radial-gradient(94.9% 94.9% at 50% 100%, #94ffe8 0%, #e9e2f6 35%, #f1f3f6 100%);
  --grad-lavender: radial-gradient(100% 100% at 50% 100%, #a1cbfd 0%, #e0e5ff 33%, #f1f3f6 100%);
  --grad-prism: linear-gradient(180deg, #75e6ff 0%, #fff0f0 8%, #fef0ff 14%, #fff7f0 21%, #eeebff 29%, #f6ebff 37%, #ffffff 47%, #e5f1ff 67%, #ffffff 100%);
  --grad-sky: radial-gradient(120% 120% at 50% 0%, #cfe6ff 0%, #e6e1f7 40%, #ffffff 78%);

  /* Tipografia — stack di sistema (nessun font esterno) */
  --font-base: ui-rounded, "SF Pro Rounded", "Hiragino Maru Gothic ProN", "Quicksand", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-logo: "Avenir Next", "Futura", "Trebuchet MS", "Century Gothic", var(--font-base);

  /* Spaziatura */
  --sp-4: 4px;  --sp-8: 8px;  --sp-12: 12px; --sp-16: 16px; --sp-20: 20px;
  --sp-24: 24px; --sp-32: 32px; --sp-40: 40px; --sp-48: 48px; --sp-60: 60px;
  --sp-64: 64px; --sp-80: 80px; --sp-100: 100px;

  /* Raggi */
  --r-icon: 14px;
  --r-card: 32px;
  --r-pill: 50px;
  --r-btn: 40px;

  /* Ombre morbide (il tema evita ombre dure: usa wash e highlight) */
  --shadow-soft: 0 18px 50px -24px rgba(15, 16, 26, 0.25);
  --shadow-inset: rgba(255, 255, 255, 0.5) 0 1px 4px 0 inset;

  --container: 1200px;
  --section-gap: 96px;
}

/* ------- Reset leggero (in aggiunta al reset del wrapper) ------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-base);
  font-size: 17px;
  line-height: 1.6;
  color: var(--color-ink);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
[id] { scroll-margin-top: 90px; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -0.03em; line-height: 1.05; font-weight: 800; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ------- Container / utility ------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
.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;
}
:focus-visible {
  outline: 3px solid var(--color-hot-pink);
  outline-offset: 3px;
  border-radius: 6px;
}
.skip-link {
  position: absolute; left: 12px; top: -60px;
  background: var(--color-ink); color: #fff;
  padding: 12px 18px; border-radius: 12px; z-index: 200;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

/* ------- Sezioni ------- */
.section { padding: var(--section-gap) 0; }
.section--tint { background: var(--color-cloud); }
.section__head {
  max-width: 720px;
  margin: 0 auto var(--sp-48);
  text-align: center;
}
.section__eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-hot-pink);
  margin-bottom: var(--sp-16);
}
.section__title {
  font-size: clamp(30px, 5.2vw, 46px);
}
.section__lead {
  margin-top: var(--sp-16);
  font-size: clamp(16px, 2.4vw, 20px);
  color: var(--color-muted);
}

/* ------- Bottoni ------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border: 0;
  border-radius: var(--r-btn);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--color-ink);
  background: var(--color-cloud);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn__tile {
  display: inline-grid;
  place-items: center;
  width: 26px; height: 26px;
  background: var(--color-white);
  border-radius: 9px;
  flex: 0 0 auto;
}
.btn__tile svg { width: 16px; height: 16px; display: block; }
.btn--primary { background: var(--color-tangerine); color: var(--color-ink); box-shadow: var(--shadow-inset); }
.btn--secondary { background: var(--color-hot-pink); color: var(--color-ink); box-shadow: var(--shadow-inset); }
.btn--dark { background: var(--color-ink); color: var(--color-white); }
.btn--dark .btn__tile { background: rgba(255,255,255,.16); }
.btn--ghost { background: var(--color-white); color: var(--color-ink); box-shadow: inset 0 0 0 2px var(--color-cloud); }
.btn--block { width: 100%; justify-content: center; }
.btn--lg { padding: 17px 30px; font-size: 17px; }

/* ==========================================================================
   1) HEADER
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(15,16,26,0.06);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-16);
  height: 72px;
}
.logo {
  font-family: var(--font-logo);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-ink);
  white-space: nowrap;
}
.logo__accent {
  background: var(--grad-coral);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.header__nav {
  display: flex;
  align-items: center;
  gap: var(--sp-24);
}
.header__links {
  display: flex;
  align-items: center;
  gap: var(--sp-20);
}
.header__link {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-ink);
  padding: 8px 4px;
  transition: color .15s ease;
}
.header__link:hover { color: var(--color-hot-pink); }
.header__cta { padding: 11px 22px; font-size: 15px; }
.burger {
  display: none;
  width: 46px; height: 46px;
  border: 0; border-radius: 14px;
  background: var(--color-cloud);
  color: var(--color-ink);
  align-items: center; justify-content: center;
}
.burger svg { width: 24px; height: 24px; }

@media (max-width: 900px) {
  .burger { display: inline-flex; }
  .header__nav {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: var(--sp-12);
    padding: var(--sp-24) 20px var(--sp-32);
    background: var(--color-white);
    border-bottom: 1px solid rgba(15,16,26,0.08);
    box-shadow: var(--shadow-soft);
    transform: translateY(-120%);
    transition: transform .28s ease;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
  }
  .header__nav.is-open { transform: translateY(0); }
  .header__links { flex-direction: column; align-items: stretch; gap: 4px; }
  .header__link { padding: 12px 8px; border-radius: 12px; font-size: 17px; }
  .header__link:hover { background: var(--color-cloud); color: var(--color-ink); }
  .header__cta { justify-content: center; margin-top: var(--sp-8); }
}

/* ==========================================================================
   2) HERO
   ========================================================================== */
.hero {
  position: relative;
  padding: clamp(48px, 8vw, 88px) 0 var(--section-gap);
  background: var(--grad-sky);
  overflow: hidden;
}
.hero::before {
  /* alone atmosferico lavanda/menta */
  content: "";
  position: absolute;
  left: 50%; bottom: -40%;
  width: 140vw; height: 120vh;
  transform: translateX(-50%);
  background: radial-gradient(50% 50% at 50% 50%, rgba(148,255,232,0.55) 0%, rgba(233,226,246,0.35) 45%, rgba(255,255,255,0) 72%);
  pointer-events: none;
  z-index: 0;
}
.hero__inner { position: relative; z-index: 1; text-align: center; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.75);
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-ink);
  box-shadow: var(--shadow-inset);
  margin-bottom: var(--sp-24);
}
.hero__badge .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--grad-coral); }
.hero__title {
  font-size: clamp(38px, 8.2vw, 84px);
  letter-spacing: -0.035em;
  line-height: 0.98;
  max-width: 14ch;
  margin: 0 auto;
}
.hero__title .accent {
  background: linear-gradient(92deg, #ff8a00 0%, #ff54bb 60%, #a1cbfd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__lead {
  max-width: 60ch;
  margin: var(--sp-24) auto 0;
  font-size: clamp(17px, 2.6vw, 21px);
  color: var(--color-muted);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-16);
  justify-content: center;
  margin-top: var(--sp-32);
}
.hero__note {
  margin-top: var(--sp-16);
  font-size: 14px;
  color: var(--color-stone);
}
/* Vetrina 6 icone */
.hero__showcase {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--sp-16);
  max-width: 760px;
  margin: var(--sp-48) auto 0;
}
.showcase__tile {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--color-white);
  border-radius: 22px;
  padding: 10px;
  box-shadow: var(--shadow-soft), var(--shadow-inset);
  display: grid;
  place-items: center;
  transition: transform .2s ease;
}
.showcase__tile:nth-child(even) { transform: translateY(10px); }
.showcase__tile:hover { transform: translateY(-4px); }
.showcase__tile img { width: 100%; height: 100%; border-radius: var(--r-icon); object-fit: cover; }
.hero__sparkle {
  position: absolute;
  color: var(--color-gold);
  filter: drop-shadow(0 4px 10px rgba(255,179,0,0.35));
  z-index: 1;
}
.hero__sparkle--a { top: 12%; left: 8%; width: 40px; }
.hero__sparkle--b { top: 24%; right: 10%; width: 28px; }
.hero__sparkle--c { bottom: 26%; left: 14%; width: 22px; }

@media (max-width: 720px) {
  .hero__showcase { grid-template-columns: repeat(3, 1fr); max-width: 420px; }
  .hero__sparkle--a, .hero__sparkle--b, .hero__sparkle--c { display: none; }
}

/* ==========================================================================
   Rating (stelle frazionarie inline-SVG)
   ========================================================================== */
.rating { display: inline-flex; align-items: center; gap: 10px; }
.stars {
  position: relative;
  display: inline-block;
  line-height: 0;
  white-space: nowrap;
}
.stars__row { display: inline-flex; }
.stars .star { width: 19px; height: 19px; }
.stars__base .star { color: #dfe1ea; }
.stars__fill {
  position: absolute;
  top: 0; left: 0;
  overflow: hidden;
  width: var(--pct, 0%);
}
.stars__fill .star { color: var(--color-gold); }
.rating__num { font-weight: 800; font-size: 16px; letter-spacing: -0.02em; }

/* ==========================================================================
   3) GIOCHI
   ========================================================================== */
.games__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--sp-32);
}
.game {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border-radius: var(--r-card);
  padding: var(--sp-24);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(15,16,26,0.04);
}
.game__top { display: flex; gap: var(--sp-16); align-items: center; }
.game__icon {
  width: 72px; height: 72px;
  border-radius: 18px;
  flex: 0 0 auto;
  object-fit: cover;
  box-shadow: 0 8px 20px -10px rgba(15,16,26,0.4);
}
.game__head { min-width: 0; }
.game__name { font-size: 21px; letter-spacing: -0.02em; }
.game__dev { font-size: 14px; color: var(--color-stone); margin-top: 2px; }
.game__tag {
  display: inline-block;
  margin-top: var(--sp-16);
  align-self: flex-start;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: var(--color-cloud);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-muted);
}
.game__rating { margin-top: var(--sp-16); }
.game__desc { margin-top: var(--sp-16); color: var(--color-muted); font-size: 15.5px; }
.game__monet {
  margin-top: var(--sp-16);
  padding: 12px 16px;
  background: var(--color-cloud);
  border-radius: 16px;
  font-size: 13.5px;
  color: var(--color-muted);
  line-height: 1.5;
}
.game__monet b { color: var(--color-ink); }
.game__cta { margin-top: var(--sp-24); }

/* ==========================================================================
   4) STATISTICHE
   ========================================================================== */
.stats {
  position: relative;
  color: var(--color-ink);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--sp-24);
}
.stat {
  text-align: center;
  padding: var(--sp-32) var(--sp-24);
  background: var(--color-white);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-soft);
}
.stat__num {
  font-size: clamp(40px, 7vw, 60px);
  letter-spacing: -0.04em;
  background: linear-gradient(120deg, #ff8a00, #ff54bb);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat__label { margin-top: var(--sp-8); font-weight: 600; color: var(--color-muted); font-size: 15px; }

/* ==========================================================================
   5) COME GUADAGNIAMO / 10) ABOUT — blocchi split
   ========================================================================== */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--sp-48);
  align-items: center;
}
.split__title { font-size: clamp(28px, 4.6vw, 42px); }
.split__text { margin-top: var(--sp-20); color: var(--color-muted); font-size: 17px; }
.split__text + .split__text { margin-top: var(--sp-16); }
.split__actions { margin-top: var(--sp-32); }
.split__panel {
  border-radius: var(--r-card);
  padding: var(--sp-40);
  background: var(--grad-prism);
  box-shadow: var(--shadow-soft), var(--shadow-inset);
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--sp-16);
}
.money-row {
  display: flex;
  align-items: center;
  gap: var(--sp-16);
  background: rgba(255,255,255,0.86);
  border-radius: 18px;
  padding: 16px 18px;
  box-shadow: var(--shadow-inset);
}
.money-row__ic {
  width: 44px; height: 44px; flex: 0 0 auto;
  display: grid; place-items: center;
  border-radius: 13px;
  background: var(--color-ink);
  color: #fff;
}
.money-row__ic svg { width: 22px; height: 22px; }
.money-row b { display: block; font-size: 16px; }
.money-row span { font-size: 14px; color: var(--color-muted); }

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: var(--sp-32); }
  .split--reverse .split__panel { order: -1; }
}

/* ==========================================================================
   6) DEMO / SCREENSHOT
   ========================================================================== */
.demo__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--sp-24);
}
.shot {
  background: var(--color-white);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(15,16,26,0.04);
}
.shot img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.shot__cap {
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-muted);
}
.shot__cap b { color: var(--color-ink); font-weight: 700; }

/* ==========================================================================
   7) PERCHÉ FIDARSI
   ========================================================================== */
.trust__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--sp-24);
}
.trust-card {
  background: var(--color-white);
  border-radius: var(--r-card);
  padding: var(--sp-32) var(--sp-24);
  box-shadow: var(--shadow-soft);
  text-align: left;
}
.trust-card__ic {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 16px;
  background: var(--grad-coral);
  color: #fff;
  margin-bottom: var(--sp-20);
  box-shadow: var(--shadow-inset);
}
.trust-card__ic svg { width: 28px; height: 28px; }
.trust-card:nth-child(2) .trust-card__ic { background: linear-gradient(135deg,#75e6ff,#a1cbfd); color: var(--color-ink); }
.trust-card:nth-child(3) .trust-card__ic { background: linear-gradient(135deg,#ff8a00,#ffb300); color: var(--color-ink); }
.trust-card:nth-child(4) .trust-card__ic { background: linear-gradient(135deg,#94ffe8,#3ddc84); color: var(--color-ink); }
.trust-card__title { font-size: 20px; }
.trust-card__text { margin-top: var(--sp-12); color: var(--color-muted); font-size: 15.5px; }

/* ==========================================================================
   8) COME INIZIARE
   ========================================================================== */
.steps__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--sp-24);
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--color-white);
  border-radius: var(--r-card);
  padding: var(--sp-40) var(--sp-24) var(--sp-24);
  box-shadow: var(--shadow-soft);
}
.step__num {
  position: absolute;
  top: -22px; left: var(--sp-24);
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 16px;
  background: var(--color-ink);
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  box-shadow: var(--shadow-soft);
}
.step:nth-child(1) .step__num { background: var(--color-tangerine); color: var(--color-ink); }
.step:nth-child(2) .step__num { background: var(--color-hot-pink); color: var(--color-ink); }
.step:nth-child(3) .step__num { background: var(--color-lavender); color: var(--color-ink); }
.step__title { margin-top: var(--sp-12); font-size: 20px; }
.step__text { margin-top: var(--sp-12); color: var(--color-muted); font-size: 15.5px; }

/* ==========================================================================
   9) RECENSIONI
   ========================================================================== */
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--sp-24);
}
.review {
  background: var(--color-white);
  border-radius: var(--r-card);
  padding: var(--sp-32);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: var(--sp-16);
}
.review__text { font-size: 16.5px; color: var(--color-ink); }
.review__foot { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.review__avatar {
  width: 44px; height: 44px; flex: 0 0 auto;
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 800; color: var(--color-ink);
}
.review:nth-child(1) .review__avatar { background: #ffd9a1; }
.review:nth-child(2) .review__avatar { background: #ffc2e6; }
.review:nth-child(3) .review__avatar { background: #bfe3ff; }
.review__name { font-weight: 700; font-size: 15px; }
.review__meta { font-size: 13px; color: var(--color-stone); }

/* ==========================================================================
   11) FORM ISCRIZIONE
   ========================================================================== */
.subscribe { position: relative; }
.subscribe__card {
  position: relative;
  background: var(--grad-lavender);
  border-radius: 40px;
  padding: clamp(28px, 5vw, 60px);
  box-shadow: var(--shadow-soft), var(--shadow-inset);
  overflow: hidden;
}
.subscribe__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-48);
  align-items: center;
}
.subscribe__title { font-size: clamp(28px, 4.6vw, 42px); }
.subscribe__text { margin-top: var(--sp-16); color: var(--color-muted); font-size: 17px; }
.subscribe__list { margin-top: var(--sp-20); display: grid; gap: 10px; }
.subscribe__list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.subscribe__list svg { width: 20px; height: 20px; flex: 0 0 auto; color: var(--color-hot-pink); margin-top: 2px; }
.form {
  background: rgba(255,255,255,0.92);
  border-radius: 28px;
  padding: var(--sp-32);
  box-shadow: var(--shadow-inset);
}
.field { margin-bottom: var(--sp-16); }
.field__label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.field__input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #e6e8f0;
  border-radius: 16px;
  font-family: inherit;
  font-size: 16px;
  color: var(--color-ink);
  background: #fff;
  transition: border-color .15s ease;
}
.field__input:focus { outline: none; border-color: var(--color-hot-pink); }
.field__input::placeholder { color: #a6a8b8; }
.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: var(--sp-16) 0 var(--sp-24);
  font-size: 14px;
  color: var(--color-muted);
}
.consent input {
  width: 22px; height: 22px; flex: 0 0 auto;
  margin-top: 1px;
  accent-color: var(--color-hot-pink);
}
.consent a { color: var(--color-ink); font-weight: 700; text-decoration: underline; }
.form__success {
  display: none;
  margin-top: var(--sp-16);
  padding: 14px 18px;
  border-radius: 16px;
  background: #e7fbef;
  color: #12603a;
  font-weight: 700;
  font-size: 15px;
}
.form__success.is-visible { display: block; }
.form__hint { margin-top: var(--sp-12); font-size: 12.5px; color: var(--color-stone); }

@media (max-width: 820px) {
  .subscribe__inner { grid-template-columns: 1fr; gap: var(--sp-32); }
}

/* ==========================================================================
   12) FAQ
   ========================================================================== */
.faq__list { max-width: 820px; margin: 0 auto; display: grid; gap: var(--sp-16); }
.faq__item {
  background: var(--color-white);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-16);
  padding: 22px 24px;
  border: 0;
  background: transparent;
  text-align: left;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--color-ink);
}
.faq__q .chev {
  flex: 0 0 auto;
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--color-cloud);
  transition: transform .25s ease, background .2s ease;
}
.faq__q .chev svg { width: 16px; height: 16px; }
.faq__item.is-open .chev { transform: rotate(180deg); background: var(--color-hot-pink); color: #fff; }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.faq__a-inner { padding: 0 24px 22px; color: var(--color-muted); font-size: 15.5px; }
.faq__item.is-open .faq__a { max-height: 420px; }

/* ==========================================================================
   13) FOOTER + cookie + torna su
   ========================================================================== */
.footer {
  background: var(--color-ink);
  color: #d7d8e0;
  padding: var(--sp-64) 0 var(--sp-32);
}
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--sp-40);
}
.footer__brand .logo { color: #fff; }
.footer__tag { margin-top: var(--sp-16); font-size: 15px; color: #9a9bab; max-width: 34ch; }
.footer__col h3 {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #838496;
  margin-bottom: var(--sp-16);
  font-weight: 700;
}
.footer__col li { margin-bottom: 10px; }
.footer__col a { font-size: 15px; color: #d7d8e0; transition: color .15s ease; }
.footer__col a:hover { color: #fff; }
.footer__contact { color: #fff; font-weight: 700; }
.footer__bottom {
  margin-top: var(--sp-48);
  padding-top: var(--sp-24);
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-16);
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
  color: #838496;
}
.footer__disclaimer { max-width: 62ch; line-height: 1.6; }

@media (max-width: 820px) {
  .footer__top { grid-template-columns: 1fr 1fr; gap: var(--sp-32); }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer__top { grid-template-columns: 1fr; }
}

/* Cookie banner */
.cookie {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 150;
  max-width: 560px;
  margin: 0 auto;
  background: var(--color-white);
  border-radius: 22px;
  padding: var(--sp-24);
  box-shadow: 0 20px 60px -20px rgba(15,16,26,0.45);
  border: 1px solid rgba(15,16,26,0.06);
  transform: translateY(160%);
  transition: transform .35s ease;
}
.cookie.is-visible { transform: translateY(0); }
.cookie__text { font-size: 14px; color: var(--color-muted); }
.cookie__text a { color: var(--color-ink); font-weight: 700; text-decoration: underline; }
.cookie__actions { display: flex; gap: var(--sp-12); margin-top: var(--sp-16); flex-wrap: wrap; }
.cookie__actions .btn { padding: 11px 20px; font-size: 14px; }

/* Torna su */
.totop {
  position: fixed;
  right: 20px; bottom: 20px;
  z-index: 140;
  width: 52px; height: 52px;
  border: 0; border-radius: 50%;
  background: var(--color-ink);
  color: #fff;
  display: grid; place-items: center;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.totop.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.totop svg { width: 22px; height: 22px; }

/* ==========================================================================
   Pagine legali
   ========================================================================== */
.legal { padding: clamp(40px, 6vw, 72px) 0 var(--section-gap); }
.legal__wrap { max-width: 820px; margin: 0 auto; }
.legal__title { font-size: clamp(30px, 5vw, 44px); }
.legal__updated { margin-top: var(--sp-12); color: var(--color-stone); font-size: 14px; }
.legal__wrap h2 {
  font-size: clamp(22px, 3.4vw, 28px);
  margin-top: var(--sp-48);
  margin-bottom: var(--sp-16);
}
.legal__wrap h3 { font-size: 19px; margin-top: var(--sp-32); margin-bottom: var(--sp-8); }
.legal__wrap p { margin-top: var(--sp-16); color: var(--color-muted); }
.legal__wrap ul { margin-top: var(--sp-16); padding-left: 22px; list-style: disc; color: var(--color-muted); }
.legal__wrap li { margin-bottom: 8px; }
.legal__wrap a { color: var(--color-hot-pink); font-weight: 600; text-decoration: underline; }
.legal__note {
  margin-top: var(--sp-24);
  padding: 16px 20px;
  background: var(--color-cloud);
  border-radius: 16px;
  font-size: 14px;
  color: var(--color-muted);
}
