/* Spotivo — landing pubblica.
   Palette e tipografia allineate ai design token della console
   (frontend/src/styles/_tokens.scss): stesso navy, stesso azzurro accento,
   stessi neutri slate. Chi passa dalla landing all'app non cambia mondo.

   Nessun font esterno di proposito: incorporare Google Fonts significa
   spedire l'IP di ogni visitatore a un terzo paese, e questo prodotto vende
   anche conformità (vedi docs/legal/). Lo stack di sistema costa zero
   richieste e zero informativa. */

:root {
  --navy:        #205590;
  --navy-shade:  #143b66;
  --navy-deep:   #0f2d4e;
  --sky:         #5bc4f5;

  --ink:         #1e293b;
  --ink-muted:   #475569;
  --ink-subtle:  #64748b;
  --ink-faint:   #94a3b8;

  --surface:       #ffffff;
  --surface-soft:  #f8fafc;
  --surface-muted: #f1f5f9;
  --border:        #e2e8f0;
  --border-strong: #cbd5e1;

  --green:  #16a34a;
  --green-bg: #dcfce7;
  --amber:  #f59e0b;
  --amber-bg: #fef3c7;

  --radius:    14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgb(15 45 78 / .06), 0 1px 3px rgb(15 45 78 / .08);
  --shadow-md: 0 4px 6px -1px rgb(15 45 78 / .07), 0 12px 24px -8px rgb(15 45 78 / .12);
  --shadow-lg: 0 24px 60px -20px rgb(15 45 78 / .35);

  --container: 1120px;
  --font: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* ── Reset essenziale ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 2px; }
h1, h2, h3 { line-height: 1.15; text-wrap: balance; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute; left: -9999px;
  background: var(--navy); color: #fff; padding: .75rem 1.25rem; z-index: 100;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip:focus { left: 0; top: 0; }

/* ── Impalcatura ──────────────────────────────────────────────────── */
.wrap {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
.section { padding-block: clamp(64px, 9vw, 112px); }
.section--soft { background: var(--surface-soft); border-block: 1px solid var(--border); }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 14px;
}
.section-head { max-width: 46rem; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 800; }
.section-head p {
  margin-top: 16px;
  font-size: 1.1rem;
  color: var(--ink-muted);
  max-width: 40rem;
}

/* ── Pulsanti ─────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.5rem;
  font: inherit; font-weight: 650; font-size: 1rem;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--navy); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--navy-shade); box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--border-strong); }
.btn--ghost:hover { background: var(--surface-muted); border-color: var(--ink-faint); }
.btn--onDark { background: #fff; color: var(--navy-deep); }
.btn--onDark:hover { background: #eaf3fb; }
.btn--onDarkGhost { background: transparent; color: #fff; border-color: rgb(255 255 255 / .35); }
.btn--onDarkGhost:hover { background: rgb(255 255 255 / .1); border-color: rgb(255 255 255 / .6); }
.btn--sm { padding: .55rem 1.1rem; font-size: .93rem; }

/* ── Header ───────────────────────────────────────────────────────── */
.hdr {
  position: sticky; top: 0; z-index: 50;
  background: rgb(255 255 255 / .88);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.hdr[data-stuck='true'] { border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }
.hdr__in { display: flex; align-items: center; gap: 20px; min-height: 74px; }
.hdr__logo { color: var(--navy); display: flex; align-items: center; flex: 0 0 auto; }
.hdr__logo svg { height: 42px; width: auto; display: block; }
.hdr__nav { display: flex; align-items: center; gap: 6px; margin-inline-start: auto; }
.hdr__nav a {
  padding: .5rem .8rem; border-radius: var(--radius-sm);
  color: var(--ink-muted); font-weight: 550; font-size: .96rem; text-decoration: none;
}
.hdr__nav a:hover { color: var(--ink); background: var(--surface-muted); }
.hdr__cta { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.hdr__burger {
  display: none; background: none; border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm); padding: .45rem .6rem; cursor: pointer; color: var(--ink);
}

@media (max-width: 900px) {
  .hdr__nav {
    display: none;
    position: absolute; inset-inline: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border-bottom: 1px solid var(--border);
    padding: 10px 16px 18px; box-shadow: var(--shadow-md);
  }
  .hdr__nav[data-open='true'] { display: flex; }
  .hdr__nav a { padding: .8rem .6rem; font-size: 1.05rem; }
  .hdr__burger { display: inline-flex; margin-inline-start: auto; }
  .hdr__cta .btn--ghost { display: none; }
}

/* ── Hero ─────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 520px at 78% -12%, rgb(91 196 245 / .22), transparent 62%),
    linear-gradient(168deg, var(--navy-deep) 0%, #163f6b 52%, var(--navy) 100%);
  color: #fff;
  overflow: hidden;
}
/* Trama di griglia: è il calendario, l'oggetto attorno a cui ruota il prodotto. */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgb(255 255 255 / .05) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / .05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 78%);
  pointer-events: none;
}
.hero__in {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
  padding-block: clamp(60px, 8vw, 104px) clamp(72px, 9vw, 116px);
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgb(255 255 255 / .1);
  border: 1px solid rgb(255 255 255 / .18);
  color: #d6e9f8;
  padding: .4rem .9rem; border-radius: 999px;
  font-size: .84rem; font-weight: 600; letter-spacing: .01em;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(2.3rem, 5.4vw, 3.65rem);
  font-weight: 800;
  letter-spacing: -.033em;
}
.hero h1 em { font-style: normal; color: var(--sky); }
.hero__lead {
  margin-top: 20px;
  font-size: clamp(1.06rem, 1.6vw, 1.22rem);
  color: #cfe1f1;
  max-width: 33rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__note {
  margin-top: 20px; font-size: .93rem; color: #a9c6de;
  display: flex; align-items: center; gap: .5rem; flex-wrap: wrap;
}
.hero__note { align-items: flex-start; }
.hero__note svg { flex: 0 0 auto; margin-top: .3em; }
.hero__note span { flex: 1 1 0; min-width: 0; }

/* Mockup del calendario */
.mock {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  color: var(--ink);
  transform: perspective(1400px) rotateY(-6deg) rotateX(1.5deg);
}
.mock__bar {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 16px; background: var(--surface-soft); border-bottom: 1px solid var(--border);
}
.mock__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); }
.mock__title { margin-inline-start: 8px; font-size: .82rem; font-weight: 600; color: var(--ink-subtle); }
.mock__grid { display: grid; grid-template-columns: 54px repeat(3, minmax(0, 1fr)); }
.mock__cell { border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 7px 8px; min-height: 46px; font-size: .74rem; }
.mock__cell:nth-child(4n) { border-right: 0; }
.mock__head { background: var(--surface-soft); font-weight: 700; color: var(--ink-muted); min-height: 38px; display: flex; align-items: center; font-size: .76rem; }
.mock__time { color: var(--ink-faint); font-variant-numeric: tabular-nums; font-weight: 600; display: flex; align-items: center; }
.mock__ev { border-radius: 7px; padding: 5px 7px; height: 100%; font-weight: 600; line-height: 1.25; }
.mock__ev small { display: block; font-weight: 500; opacity: .8; font-size: .68rem; }
.mock__ev--booked { background: #e8f2fb; color: var(--navy-shade); border-left: 3px solid var(--navy); }
.mock__ev--paid   { background: var(--green-bg); color: #14532d; border-left: 3px solid var(--green); }
.mock__ev--course { background: #f0edfe; color: #4c1d95; border-left: 3px solid #7c3aed; }
.mock__ev--due    { background: var(--amber-bg); color: #92400e; border-left: 3px solid var(--amber); }
.mock__ev--free   { background: transparent; color: var(--ink-faint); font-weight: 500; display: flex; align-items: center; justify-content: center; border: 1px dashed var(--border-strong); }
.mock__foot {
  display: flex; gap: 18px; flex-wrap: wrap;
  padding: 12px 16px; background: var(--surface-soft); border-top: 1px solid var(--border);
  font-size: .76rem; color: var(--ink-muted);
}
.mock__legend { display: inline-flex; align-items: center; gap: .4rem; }
.mock__swatch { width: 11px; height: 11px; border-radius: 3px; }

@media (max-width: 920px) {
  .hero__in { grid-template-columns: 1fr; }
  .mock { transform: none; }
  .hero__lead { max-width: none; }
}
@media (max-width: 520px) {
  .mock__grid { grid-template-columns: 46px repeat(2, minmax(0, 1fr)); }
  .mock__grid > :nth-child(4n) { display: none; }
}

/* ── Fascia numeri / prove ────────────────────────────────────────── */
.strip { background: var(--navy-deep); color: #cfe1f1; padding-block: 26px; }
.strip__in { display: flex; flex-wrap: wrap; gap: 12px 40px; align-items: center; justify-content: center; font-size: .95rem; }
.strip__item { display: inline-flex; align-items: center; gap: .6rem; }
.strip__item b { color: #fff; font-weight: 700; }

/* ── Le tre app ───────────────────────────────────────────────────── */
.apps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.app {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 26px 28px;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.app__badge {
  display: inline-flex; align-items: center; gap: .4rem;
  align-self: flex-start;
  font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: .3rem .7rem; border-radius: 999px;
  background: var(--surface-muted); color: var(--ink-subtle);
  margin-bottom: 18px;
}
.app--lead { border-color: var(--navy); box-shadow: var(--shadow-md); }
.app--lead .app__badge { background: var(--navy); color: #fff; }
.app__name { font-size: 1.35rem; font-weight: 800; }
.app__who { margin-top: 4px; font-size: .92rem; font-weight: 600; color: var(--navy); }
.app__body { margin-top: 14px; color: var(--ink-muted); font-size: .99rem; }
.app__list { margin-top: 18px; display: grid; gap: 9px; }
.app__list li { display: flex; gap: .6rem; font-size: .94rem; color: var(--ink-muted); }
.app__list svg { flex: 0 0 auto; margin-top: .28em; color: var(--green); }
.app__url {
  margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--border);
  font-size: .86rem; color: var(--ink-faint); font-weight: 600;
}
@media (max-width: 880px) { .apps { grid-template-columns: 1fr; } }

/* ── Funzionalità ─────────────────────────────────────────────────── */
.feats { display: grid; grid-template-columns: repeat(auto-fit, minmax(272px, 1fr)); gap: 20px; }
.feat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 22px;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.feat:hover { border-color: var(--border-strong); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.feat__ico {
  width: 42px; height: 42px; border-radius: 11px;
  display: grid; place-items: center;
  background: #e8f2fb; color: var(--navy);
  margin-bottom: 16px;
}
.feat h3 { font-size: 1.06rem; font-weight: 700; }
.feat p { margin-top: 8px; color: var(--ink-muted); font-size: .95rem; }

/* ── Settori ──────────────────────────────────────────────────────── */
.sectors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.sector {
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--surface); padding: 28px 26px; display: flex; flex-direction: column;
}
.sector__sports { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.sector__sports img { width: 34px; height: 34px; border-radius: 9px; display: block; }
.sector h3 { font-size: 1.22rem; font-weight: 800; }
.sector__tag { font-size: .87rem; font-weight: 600; color: var(--ink-subtle); margin-top: 3px; }
.sector p { margin-top: 14px; color: var(--ink-muted); font-size: .97rem; }
.sector__list { margin-top: 18px; display: grid; gap: 8px; font-size: .93rem; color: var(--ink-muted); }
.sector__list li { display: flex; gap: .55rem; }
.sector__list svg { flex: 0 0 auto; margin-top: .3em; color: var(--navy); }
@media (max-width: 900px) { .sectors { grid-template-columns: 1fr; } }

/* ── Come si parte ────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; counter-reset: step; }
.step { position: relative; padding-top: 54px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 0; inset-inline-start: 0;
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--navy); color: #fff; font-weight: 800; font-size: 1rem;
}
.step h3 { font-size: 1.1rem; font-weight: 700; }
.step p { margin-top: 8px; color: var(--ink-muted); font-size: .96rem; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; gap: 30px; } }

/* ── Prezzi ───────────────────────────────────────────────────────── */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: start; }
.plan {
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--surface); padding: 30px 26px;
  display: flex; flex-direction: column; height: 100%;
}
.plan--hot { border: 2px solid var(--navy); box-shadow: var(--shadow-md); position: relative; }
.plan__flag {
  position: absolute; top: -13px; inset-inline-start: 26px;
  background: var(--navy); color: #fff; font-size: .73rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; padding: .3rem .8rem; border-radius: 999px;
}
.plan__name { font-size: 1.25rem; font-weight: 800; }
/* Altezze fisse su sottotitolo e tetto: senza, un testo che va a capo in una
   sola card sfalsa prezzo ed elenco delle altre due, e il confronto fra i
   piani — l'unica cosa che questa sezione deve rendere facile — si rompe. */
.plan__for { margin-top: 4px; font-size: .9rem; color: var(--ink-subtle); min-height: 2.7em; }
.plan__price { margin-top: 20px; display: flex; align-items: baseline; gap: .4rem; }
.plan__price b { font-size: 2.5rem; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.plan__price span { font-size: .93rem; color: var(--ink-subtle); font-weight: 550; }
.plan__cap {
  margin-top: 10px; font-size: .88rem; font-weight: 650; color: var(--navy);
  background: #e8f2fb; border-radius: var(--radius-sm); padding: .5rem .75rem;
  text-align: center;
}
.plan__list { margin-top: 22px; display: grid; gap: 10px; flex: 1; }
.plan__list li { display: flex; gap: .6rem; font-size: .94rem; color: var(--ink-muted); }
.plan__list svg { flex: 0 0 auto; margin-top: .3em; color: var(--green); }
.plan__list li b { color: var(--ink); font-weight: 650; }
.plan .btn { margin-top: 26px; width: 100%; }
@media (max-width: 940px) { .plans { grid-template-columns: 1fr; } .plan--hot { order: -1; } }

.promo { margin: 0 0 22px; padding: .9rem 1.1rem; border-radius: var(--radius); background: var(--green-bg); color: #14532d; border: 1px solid #bbf7d0; font-size: 1rem; }
.promo b { color: #14532d; }

.price-note {
  margin-top: 34px; padding: 22px 24px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); color: var(--ink-muted); font-size: .96rem;
}
.price-note b { color: var(--ink); }

/* Tabella di confronto */
.tbl-scroll { overflow-x: auto; margin-top: 26px; -webkit-overflow-scrolling: touch; }
table.cmp { border-collapse: collapse; width: 100%; min-width: 460px; font-size: .95rem; background: var(--surface); }
table.cmp th, table.cmp td { padding: .8rem 1rem; text-align: start; border-bottom: 1px solid var(--border); }
table.cmp thead th { background: var(--surface-muted); font-weight: 700; font-size: .87rem; color: var(--ink-muted); }
table.cmp td { font-variant-numeric: tabular-nums; }
table.cmp tbody th { font-weight: 650; }
table.cmp tr:last-child td, table.cmp tr:last-child th { border-bottom: 0; }

/* ── FAQ ──────────────────────────────────────────────────────────── */
.faq { display: grid; gap: 12px; max-width: 52rem; }
.faq details {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
}
.faq details[open] { border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer; list-style: none;
  padding: 18px 22px; font-weight: 650; font-size: 1.03rem;
  display: flex; align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; margin-inline-start: auto; flex: 0 0 auto;
  width: 10px; height: 10px;
  border-right: 2px solid var(--ink-subtle); border-bottom: 2px solid var(--ink-subtle);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
.faq summary:hover { background: var(--surface-soft); }
.faq__a { padding: 0 22px 20px; color: var(--ink-muted); font-size: .98rem; }
.faq__a p + p { margin-top: 10px; }

/* ── CTA finale ───────────────────────────────────────────────────── */
.cta {
  background: linear-gradient(150deg, var(--navy-deep), var(--navy));
  color: #fff; border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 68px) clamp(26px, 5vw, 60px);
  text-align: center;
}
.cta h2 { font-size: clamp(1.8rem, 3.8vw, 2.5rem); font-weight: 800; }
.cta p { margin-top: 16px; color: #cfe1f1; font-size: 1.08rem; max-width: 38rem; margin-inline: auto; }
.cta__actions { margin-top: 30px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta__note { margin-top: 20px; font-size: .9rem; color: #a9c6de; }

/* ── Footer ───────────────────────────────────────────────────────── */
.ftr { background: var(--surface-soft); border-top: 1px solid var(--border); padding-block: 48px 34px; margin-top: clamp(64px, 9vw, 100px); }
.ftr__grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 34px; }
.ftr__logo { color: var(--navy); display: block; }
.ftr__logo svg { height: 42px; width: auto; }
.ftr__blurb { margin-top: 14px; color: var(--ink-muted); font-size: .93rem; max-width: 22rem; }
.ftr h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-subtle); margin: 0 0 12px; }
.ftr ul { display: grid; gap: 9px; }
.ftr ul a { color: var(--ink-muted); text-decoration: none; font-size: .94rem; }
.ftr ul a:hover { color: var(--navy); text-decoration: underline; }
.ftr__bottom {
  margin-top: 38px; padding-top: 22px; border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between;
  font-size: .87rem; color: var(--ink-faint);
}
@media (max-width: 820px) { .ftr__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .ftr__grid { grid-template-columns: 1fr; } }

/* ── Rivelazione allo scroll ──────────────────────────────────────── */
/* La rivelazione allo scroll si attiva SOLO se il JS gira davvero
   (data-js su <html>, scritto da uno script inline in <head>). Senza quella
   guardia, un JS bloccato o disattivato lascerebbe 34 sezioni a opacity 0:
   un effetto decorativo non deve mai poter nascondere il contenuto. */
@media (prefers-reduced-motion: no-preference) {
  html[data-js='on'] .reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
  html[data-js='on'] .reveal[data-shown='true'] { opacity: 1; transform: none; }
}

/* Testo per i soli lettori di schermo (caption della tabella prezzi). */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip-path: inset(50%);
  overflow: hidden; white-space: nowrap;
}

/* Schermi stretti: logo + hamburger + CTA non ci stavano in 390px e la pagina
   scorreva di lato di 5px. Si stringe il contenitore e si rimpicciolisce il
   marchio, invece di nascondere la chiamata all'azione. */
@media (max-width: 560px) {
  .wrap { padding-inline: 18px; }
  .hdr__logo svg { height: 34px; }
  .hdr__in { gap: 12px; min-height: 66px; }
  .hdr__cta .btn--sm { padding: .5rem .9rem; font-size: .88rem; }
  .strip__in { justify-content: flex-start; gap: 10px 24px; }
}
