/* =========================================================
   DIGITAL MARCHE — Agency creativa
   Palette: nero warm + panna + arancione + lime
   ========================================================= */

:root {
  /* Navy del biglietto da visita */
  --ink: #0A1128;
  --ink-2: #131c3d;
  --paper: #F5F2EC;
  --paper-2: #ECE7DC;
  --line: rgba(245, 242, 236, 0.14);
  --line-strong: rgba(245, 242, 236, 0.30);

  /* Accent azzurro/argento (richiama il champagne del biglietto in chiave fredda) */
  --accent: #5BA3FF;
  --accent-2: #B8D4FF;

  --font-display: 'Fraunces', 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --pad-x: clamp(20px, 4vw, 64px);
  --max: 1480px;

  --ease: cubic-bezier(0.65, 0, 0.35, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  background: var(--ink);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; }
em { font-style: italic; font-family: var(--font-display); font-weight: 400; }

.mono {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper);
  opacity: 0.55;
}

/* =========================================================
   NAV — minimale a 4 zone: brand | menu | clock | cta
   ========================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 18px var(--pad-x);
  background: linear-gradient(180deg, rgba(10, 17, 40, 0.95) 30%, rgba(10, 17, 40, 0));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  transition: opacity .25s ease;
}
.nav__brand:hover { opacity: 0.8; }
.nav__logo {
  height: 60px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
}
@media (max-width: 720px) {
  .nav__logo { height: 52px; }
}
@media (max-width: 460px) {
  .nav__logo { height: 44px; }
}
.nav__clock {
  justify-self: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.7;
  font-variant-numeric: tabular-nums;
  color: var(--paper);
}
.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: var(--accent);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  box-shadow:
    0 8px 24px -6px rgba(91, 163, 255, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transition: transform .2s var(--ease), box-shadow .25s ease, background .25s ease;
}
.nav__cta:hover {
  transform: translateY(-2px);
  background: var(--accent-2);
  box-shadow:
    0 14px 32px -8px rgba(91, 163, 255, 0.8),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

@media (max-width: 720px) {
  .nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    grid-template-columns: none;
    gap: 10px;
    padding: 10px var(--pad-x);
  }
  .nav__clock { display: none; }
  .nav__cta {
    padding: 9px 14px;
    font-size: 11px;
    gap: 6px;
    white-space: nowrap;
    flex-shrink: 0;
  }
}
@media (max-width: 460px) {
  .nav__cta {
    font-size: 10px;
    padding: 8px 12px;
    letter-spacing: 0.04em;
  }
}

/* =========================================================
   WHATSAPP CHIP — floating in basso a destra
   ========================================================= */
.wa-chip {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 40;
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  background: var(--paper);
  color: var(--ink);
  border-radius: 50%;
  transition: transform .25s var(--ease), background .25s ease;
  box-shadow: 0 12px 30px -10px rgba(0,0,0,0.55);
}
.wa-chip:hover {
  transform: translateY(-3px) scale(1.05);
  background: var(--accent);
  color: var(--paper);
}

/* =========================================================
   HERO ASIMMETRICO
   ========================================================= */
/* =========================================================
   STAGE — scroll-driven storytelling
   Immagine sempre FULL-SCREEN (cover), zoom-in progressivo
   ========================================================= */
.stage {
  position: relative;
  height: 1750vh;           /* scroll lento: 7 step × 250vh */
  border-bottom: 1px solid var(--line);
}
.stage__inner {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
}

/* immagine 3D che riempie sempre tutto lo schermo (cover) */
.stage__visual {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.stage__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform-origin: 50% 50%;
  will-change: transform, opacity, filter;
  /* immagine meno luminosa per dare contrasto al testo */
  filter: brightness(0.62) saturate(0.95) contrast(1.05);
}

/* overlay scuro che enfatizza il centro dove sta il testo */
.stage__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 60% 50% at center, rgba(14, 14, 16, 0.78) 0%, rgba(14, 14, 16, 0.55) 50%, rgba(14, 14, 16, 0.85) 100%);
  pointer-events: none;
}
/* secondo overlay verticale per uniformare leggibilità */
.stage__inner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(14, 14, 16, 0.5) 0%, rgba(14, 14, 16, 0) 25%, rgba(14, 14, 16, 0) 75%, rgba(14, 14, 16, 0.6) 100%);
  pointer-events: none;
}

/* meta — angolini fissi */
.stage__meta {
  position: absolute;
  display: flex;
  gap: 14px;
  z-index: 3;
}
.stage__meta--tl { top: 100px; left: var(--pad-x); }
.stage__meta--tr { top: 100px; right: var(--pad-x); }
.stage__meta--bl { bottom: 36px; left: var(--pad-x); font-variant-numeric: tabular-nums; }
.stage__meta--br { bottom: 36px; right: var(--pad-x); animation: scrollBlink 2.4s ease-in-out infinite; }
@keyframes scrollBlink {
  0%, 100% { opacity: .45; transform: translateY(0); }
  50%      { opacity: 1;   transform: translateY(4px); }
}

/* gli step si sovrappongono: solo l'attivo è visibile */
.stage__steps {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 0 var(--pad-x);
  z-index: 2;
  pointer-events: none;
}
.stage__step {
  grid-area: 1 / 1;
  width: 100%;
  max-width: 980px;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity .28s ease, transform .35s var(--ease), visibility 0s linear .28s;
  pointer-events: none;
}
.stage__step.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity .35s ease, transform .45s var(--ease), visibility 0s linear 0s;
}
.stage__step--social.is-active { pointer-events: auto; }
.stage__eyebrow {
  display: inline-block;
  margin-bottom: 22px;
  padding: 9px 16px;
  border: 1px solid rgba(245, 242, 236, 0.35);
  background: rgba(14, 14, 16, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 1;
  color: var(--paper);
}
.stage__h {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 6.5vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-variation-settings: "opsz" 144;
  color: var(--paper);
  /* alone scuro multi-layer per stacco netto sullo sfondo */
  text-shadow:
    0 2px 0 rgba(0, 0, 0, 0.6),
    0 0 32px rgba(14, 14, 16, 0.95),
    0 0 80px rgba(14, 14, 16, 0.85),
    0 0 120px rgba(14, 14, 16, 0.7);
}
.stage__h em {
  color: var(--accent);
  font-weight: 500;
}
.stage__h .muted {
  display: block;
  font-style: italic;
  font-weight: 400;
  font-size: 0.52em;
  margin-top: 0.5em;
  opacity: 0.7;
  letter-spacing: -0.02em;
}

@media (max-width: 720px) {
  .stage { height: 900vh; }
  .stage__meta--tl, .stage__meta--tr { top: 76px; font-size: 9px; }
  .stage__meta--bl, .stage__meta--br { bottom: 18px; }
  .stage__h { font-size: clamp(28px, 9vw, 44px); padding: 0 8px; }
  .stage__h .muted { font-size: 0.55em; }
  .tabs { gap: 8px; margin-top: 28px; padding: 0 12px; }
  .tab {
    padding: 10px 14px 10px 12px;
    font-size: 10.5px;
    letter-spacing: 0.04em;
  }
  .tab__num { width: 18px; height: 18px; font-size: 9px; }
}
@media (max-width: 460px) {
  .stage { height: 800vh; }    /* scroll un po' più corto su iPhone */
  .stage__h { font-size: clamp(24px, 8vw, 36px); }
  .tabs { gap: 6px; }
  .tab { padding: 9px 12px; font-size: 10px; }
  .stage__eyebrow { font-size: 10px; padding: 6px 10px; }
}

/* ===== Variante step SOCIAL: titolo + lead + form mini ===== */
.stage__step--social {
  pointer-events: auto;            /* il form deve essere interagibile */
  max-width: 720px;
}
.stage__h--mid {
  font-size: clamp(32px, 5.4vw, 72px);
  margin-bottom: 18px;
}
.stage__lead {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(16px, 1.8vw, 22px);
  opacity: 0.82;
  max-width: 540px;
  margin: 0 auto 28px;
  line-height: 1.4;
  text-shadow: 0 0 16px var(--ink);
}
.stage__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  max-width: 520px;
  margin: 0 auto;
  padding: 18px;
  background: rgba(14, 14, 16, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line-strong);
}
.stage__form input {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 10px 4px;
  color: var(--paper);
  font-family: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color .25s ease;
}
.stage__form input::placeholder { color: rgba(245, 242, 236, 0.45); }
.stage__form input:focus { border-color: var(--accent); }
.btn-mini {
  grid-column: 1 / -1;
  padding: 12px 18px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background .25s ease, color .25s ease;
}
.btn-mini:hover { background: var(--accent); color: var(--ink); }
.stage__feedback {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 11px;
  min-height: 1em;
  text-align: center;
  opacity: 0.7;
}
.stage__feedback.is-error { color: var(--accent); opacity: 1; }

@media (max-width: 600px) {
  .stage__form { grid-template-columns: 1fr; }
}

/* =========================================================
   CONTACT FORM — step finale "PRONTO?"
   ========================================================= */
.stage__step--final {
  pointer-events: auto;
  max-width: 640px;
}
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  width: 100%;
  max-width: 560px;
  margin: 36px auto 0;
  padding: 28px;
  background: rgba(10, 17, 40, 0.78);
  border: 1px solid rgba(245, 242, 236, 0.22);
  border-radius: 18px;
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 30px 60px -20px rgba(0, 0, 0, 0.6);
  text-align: left;
}
.contact-form__row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact-form__row:nth-child(3) { grid-column: 1 / -1; }   /* Telefono full width */
.contact-form__row > span {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.65;
}
.contact-form__row input {
  background: rgba(245, 242, 236, 0.06);
  border: 1px solid rgba(245, 242, 236, 0.25);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 15px;
  outline: none;
  transition: border-color .2s ease, background .2s ease;
}
.contact-form__row input::placeholder { color: rgba(245, 242, 236, 0.35); }
.contact-form__row input:focus {
  border-color: var(--accent);
  background: rgba(91, 163, 255, 0.08);
}

/* Bottone pieno */
.btn-solid {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 24px;
  margin-top: 6px;
  background: var(--accent);
  color: var(--ink);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow:
    0 10px 28px -8px rgba(91, 163, 255, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: transform .2s var(--ease), background .25s ease, box-shadow .25s ease;
}
.btn-solid:hover {
  transform: translateY(-2px);
  background: var(--accent-2);
  box-shadow:
    0 16px 36px -10px rgba(91, 163, 255, 0.75),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.contact-form__feedback {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  min-height: 1em;
  font-size: 11px;
  text-align: center;
  opacity: 0.75;
}
.contact-form__feedback.is-error { color: #ff8a8a; opacity: 1; }

.contact-form__alt {
  margin-top: 18px;
  font-size: 12px;
  opacity: 0.65;
  text-align: center;
}
.contact-form__alt a {
  color: var(--accent);
  border-bottom: 1px solid rgba(91, 163, 255, 0.4);
  padding-bottom: 1px;
  transition: border-color .2s ease;
}
.contact-form__alt a:hover { border-color: var(--accent); }

@media (max-width: 600px) {
  .contact-form { grid-template-columns: 1fr; padding: 22px; }
  .contact-form__row:nth-child(3) { grid-column: 1; }
}

/* =========================================================
   PACCHETTI — Light · Standard · Pro (senza prezzi pubblici)
   ========================================================= */
.packages {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  max-width: 760px;
  margin: 32px auto 18px;
  pointer-events: auto;
}
.pkg {
  position: relative;
  padding: 24px 14px 20px;
  background: rgba(10, 17, 40, 0.85);
  border: 1px solid rgba(245, 242, 236, 0.22);
  border-radius: 16px;
  text-align: center;
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.10),
    0 18px 40px -16px rgba(0, 0, 0, 0.55);
  transition: transform .3s var(--ease), border-color .25s ease, background .25s ease;
}
.pkg:hover {
  transform: translateY(-4px);
  border-color: rgba(91, 163, 255, 0.55);
}
.pkg--featured {
  border-color: rgba(91, 163, 255, 0.6);
  background: linear-gradient(180deg, rgba(91, 163, 255, 0.18), rgba(10, 17, 40, 0.85));
}
.pkg--featured::before {
  content: "POPOLARE";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  background: var(--accent);
  color: var(--ink);
  padding: 4px 12px;
  border-radius: 999px;
  font-weight: 700;
  white-space: nowrap;
}
.pkg__name {
  margin: 0 0 14px;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--accent);
  opacity: 0.95;
}
.pkg__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pkg__list li {
  font-family: var(--font-display);
  font-size: clamp(16px, 1.9vw, 20px);
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--paper);
}
.pkg__n {
  display: inline-block;
  font-size: 1.6em;
  font-weight: 700;
  color: var(--accent);
  min-width: 1.6em;
  text-align: right;
  margin-right: 4px;
}
.pkg__note {
  margin: 12px 0 0;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.55;
}
.pkg__included {
  margin: 22px auto 6px;
  max-width: 720px;
  font-size: 10px;
  text-align: center;
  letter-spacing: 0.14em;
  opacity: 0.78;
  line-height: 1.7;
}
.pkg__extra {
  margin: 0 auto;
  font-size: 10px;
  text-align: center;
  letter-spacing: 0.10em;
  opacity: 0.55;
}

@media (max-width: 500px) {
  .packages { grid-template-columns: 1fr; gap: 10px; max-width: 360px; }
  .pkg { padding: 22px 20px; }
  .pkg__list li { font-size: 17px; }
}

/* =========================================================
   CONTACT DIRECT — 2 WhatsApp button sotto il form
   ========================================================= */
.contact-direct {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 100%;
  max-width: 560px;
  margin: 18px auto 0;
}
.contact-direct__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 18px;
  width: 100%;
  background: rgba(37, 211, 102, 0.14);
  border: 1px solid rgba(37, 211, 102, 0.55);
  color: #5dd99a;
  border-radius: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-align: center;
  white-space: nowrap;
  transition: background .2s ease, transform .2s var(--ease), color .2s ease;
}
.contact-direct__btn:hover {
  background: rgba(37, 211, 102, 0.28);
  color: #7fe9b3;
  transform: translateY(-2px);
}
.contact-direct__btn svg { flex-shrink: 0; }

@media (max-width: 600px) {
  .contact-direct { grid-template-columns: 1fr; }
}

/* =========================================================
   FAQ — accordion semplice
   ========================================================= */
.faq {
  max-width: 880px;
  margin: 0 auto;
  padding: 120px var(--pad-x) 100px;
}
.faq__head { margin-bottom: 56px; }
.faq__eye {
  font-size: 11px;
  letter-spacing: 0.18em;
  opacity: 0.6;
  margin: 0 0 14px;
}
.faq__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 5vw, 56px);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0;
}
.faq__title em {
  color: var(--accent);
  font-weight: 500;
}
.faq__list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line-strong);
}
.faq__item {
  border-bottom: 1px solid var(--line-strong);
}
.faq__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(18px, 2vw, 22px);
  letter-spacing: -0.01em;
  color: var(--paper);
  cursor: pointer;
  transition: color .2s ease;
}
.faq__q:hover { color: var(--accent); }
.faq__plus {
  font-size: 22px;
  font-weight: 300;
  transition: transform .35s var(--ease), color .25s ease;
  flex-shrink: 0;
}
.faq__item[data-open="true"] .faq__plus {
  transform: rotate(45deg);
  color: var(--accent);
}
.faq__item[data-open="true"] .faq__q { color: var(--accent); }
.faq__a {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height .55s var(--ease), opacity .35s ease;
}
.faq__item[data-open="true"] .faq__a {
  max-height: 400px;
  opacity: 1;
}
.faq__a p {
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.65;
  opacity: 0.85;
  max-width: 700px;
}
.faq__a strong { color: var(--accent); font-weight: 600; }

/* =========================================================
   COOKIE BANNER
   ========================================================= */
.cookie-banner {
  position: fixed;
  bottom: 22px;
  left: 22px;
  right: 22px;
  max-width: 540px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(10, 17, 40, 0.92);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 14px;
  box-shadow: 0 20px 50px -10px rgba(0,0,0,0.5);
  transform: translateY(120%);
  transition: transform .5s var(--ease);
}
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-banner__text {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  opacity: 0.85;
  flex: 1;
}
.cookie-banner__text a {
  color: var(--accent);
  border-bottom: 1px solid rgba(91, 163, 255, 0.4);
}
.cookie-banner__btn {
  padding: 10px 16px;
  background: var(--accent);
  color: var(--ink);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background .25s ease;
}
.cookie-banner__btn:hover { background: var(--accent-2); }

@media (max-width: 600px) {
  .cookie-banner { flex-direction: column; align-items: stretch; text-align: center; }
  .cookie-banner__btn { width: 100%; }
}

/* =========================================================
   TABS LIQUID GLASS — chip glassmorphism che spawnano staggered
   ========================================================= */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 36px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  pointer-events: auto;
}
.tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px 13px 18px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--paper);
  /* base più opaca per contrasto su qualunque parte dell'immagine */
  background: rgba(14, 14, 16, 0.55);
  border: 1px solid rgba(245, 242, 236, 0.28);
  border-radius: 999px;
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(0, 0, 0, 0.35),
    0 14px 36px rgba(0, 0, 0, 0.45);
  /* highlight specular sottile */
  background-image:
    linear-gradient(180deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0) 60%);
  /* spawn animation default state */
  opacity: 0;
  transform: translateY(14px) scale(0.94);
  transition: background .3s ease, border-color .3s ease, transform .3s ease;
}
.tab__num {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
}

/* link variant */
.tab--link {
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--font-sans);
  font-size: 14px;
  padding: 14px 22px 14px 18px;
}
.tab--link:hover {
  background: rgba(245, 242, 236, 0.14);
  border-color: rgba(245, 242, 236, 0.32);
  transform: translateY(-2px) scale(1) !important;
}
.tabs--cta { gap: 16px; margin-top: 44px; }

/* SPAWN: quando lo step è attivo, le tab appaiono in sequenza */
.stage__step.is-active .tab {
  animation: tabSpawn .7s var(--ease) forwards;
}
.stage__step.is-active .tab:nth-child(1) { animation-delay: .25s; }
.stage__step.is-active .tab:nth-child(2) { animation-delay: .35s; }
.stage__step.is-active .tab:nth-child(3) { animation-delay: .45s; }
.stage__step.is-active .tab:nth-child(4) { animation-delay: .55s; }
.stage__step.is-active .tab:nth-child(5) { animation-delay: .65s; }

@keyframes tabSpawn {
  from { opacity: 0; transform: translateY(14px) scale(0.94); filter: blur(6px); }
  to   { opacity: 1; transform: translateY(0)    scale(1);    filter: blur(0); }
}

@media (prefers-reduced-motion: reduce) {
  .tab { opacity: 1; transform: none; animation: none !important; }
}

/* =========================================================
   LINK CTA
   ========================================================= */
.link-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 0 14px 0;
  border-top: 1px solid var(--paper);
  border-bottom: 1px solid var(--paper);
  min-width: 220px;
  position: relative;
  transition: color .2s ease;
}
.link-cta .arrow {
  margin-left: auto;
  font-family: var(--font-display);
  font-size: 22px;
  transition: transform .3s var(--ease);
}
.link-cta:hover { color: var(--accent); }
.link-cta:hover .arrow { transform: translate(4px, -4px); }

.link-cta--lg {
  font-size: clamp(16px, 2vw, 22px);
  padding: 22px 0;
  min-width: 360px;
}
.link-cta--lg .arrow { font-size: 32px; }

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 36px;
  width: max-content;
  font-family: var(--font-display);
  font-size: clamp(36px, 7vw, 86px);
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
  animation: marquee 38s linear infinite;
  font-variation-settings: "opsz" 144;
}
.marquee__track em {
  color: var(--accent);
  font-style: italic;
  font-weight: 400;
}
.marquee .dot {
  font-size: 0.32em;
  color: var(--paper);
  opacity: 0.5;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =========================================================
   STUDIO / MANIFESTO
   ========================================================= */
.studio {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding: 120px var(--pad-x);
  border-bottom: 1px solid var(--line);
}
.studio__col-left {
  align-self: start;
}
.studio__big {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 4.4vw, 56px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  max-width: 1000px;
}
.studio__big em {
  color: var(--accent);
  font-weight: 400;
}

@media (min-width: 900px) {
  .studio {
    grid-template-columns: 200px 1fr;
    padding-block: 160px;
  }
}

/* =========================================================
   WORK / CANALI (rows accordion)
   ========================================================= */
.work {
  padding: 0 var(--pad-x);
  border-bottom: 1px solid var(--line);
}
.work__head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 100px 0 60px;
}
.work__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 6vw, 72px);
  line-height: 1.0;
  letter-spacing: -0.035em;
}
.work__title em {
  color: var(--accent);
  font-weight: 400;
}

@media (min-width: 900px) {
  .work__head { grid-template-columns: 200px 1fr; }
}

.rows {
  border-top: 1px solid var(--line-strong);
}
.row {
  border-bottom: 1px solid var(--line-strong);
  transition: background .35s ease;
}
.row[data-open="true"] { background: var(--ink-2); }

.row__head {
  display: grid;
  grid-template-columns: 56px 1fr auto auto;
  align-items: baseline;
  gap: 18px;
  width: 100%;
  padding: 26px 0;
  text-align: left;
  transition: padding .35s ease, color .35s ease;
}
.row__head:hover .row__name { color: var(--accent); }
.row__num { font-size: 12px; }
.row__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 5vw, 56px);
  letter-spacing: -0.03em;
  line-height: 1.0;
  transition: color .25s ease;
}
.row__tag {
  display: none;
}
.row__plus {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(32px, 4vw, 44px);
  transition: transform .35s var(--ease), color .25s ease;
  line-height: 1;
}
.row[data-open="true"] .row__plus {
  transform: rotate(45deg);
  color: var(--accent);
}
.row[data-open="true"] .row__name { color: var(--accent); }

@media (min-width: 720px) {
  .row__tag { display: inline; }
}

.row__body {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height .55s var(--ease), opacity .35s ease;
}
.row[data-open="true"] .row__body {
  max-height: 1200px;
  opacity: 1;
}

.row__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 8px 0 50px;
}
.row__lead {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.25;
  margin-bottom: 24px;
  color: var(--paper);
  max-width: 24ch;
}
.row__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.row__list li {
  font-size: 15px;
  padding-left: 28px;
  position: relative;
  opacity: 0.92;
}
.row__list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-family: var(--font-mono);
}

.row__form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line-strong);
  background: var(--ink);
}
.row__form-head {
  display: flex;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.row__form input {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  color: var(--paper);
  font-family: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color .25s ease;
  cursor: none;
}
.row__form input::placeholder { color: rgba(245, 242, 236, 0.4); }
.row__form input:focus { border-color: var(--accent); }
.row__form .btn {
  margin-top: 6px;
  padding: 14px 18px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background .25s ease, color .25s ease;
}
.row__form .btn:hover {
  background: var(--accent);
  color: var(--ink);
}
.row__feedback { font-size: 11px; min-height: 1em; }
.row__feedback.is-error { color: var(--accent); opacity: 1; }

@media (min-width: 900px) {
  .row__grid { grid-template-columns: 1.3fr 1fr; gap: 60px; padding-bottom: 64px; }
}

/* =========================================================
   BIG CTA
   ========================================================= */
.big-cta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding: 140px var(--pad-x);
}
.big-cta__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(44px, 9vw, 140px);
  line-height: 0.95;
  letter-spacing: -0.04em;
}
.big-cta__title em {
  color: var(--accent);
  font-weight: 400;
}
.big-cta__row {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  border-top: 1px solid var(--line);
  padding: 60px var(--pad-x) 40px;
}
.footer__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}
.footer__col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer__col p {
  font-size: 14px;
  line-height: 1.4;
  opacity: 0.85;
}
.footer__col a:hover { color: var(--accent); }
.footer__col--meta { opacity: 0.7; }

.footer__cities {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__cities .mono { opacity: 0.55; }
.footer__cities p {
  font-size: 12px;
  line-height: 1.7;
  opacity: 0.45;
  max-width: 1100px;
  margin: 0;
}

@media (min-width: 720px) {
  .footer__row { grid-template-columns: repeat(4, 1fr); }
}

/* =========================================================
   REVEAL on scroll
   ========================================================= */
.row, .studio__big, .work__title, .big-cta__title {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.is-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* =========================================================
   ACCESSIBILITY
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .marquee__track { animation: none !important; }
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

/* selezione testo */
::selection {
  background: var(--accent);
  color: var(--ink);
}
