/* =========================================================================
   IL PERCORSO DEL GUERRIERO — style.css
   Moodboard: "Forgiati un giorno alla volta" — forgia cinematografica,
   braci calde, epico ma accogliente. Dark, ember-warm.
   Display: Big Shoulders Display · Body: Hanken Grotesk
   ========================================================================= */

/* ---------------------------------------------------------------- tokens */
:root {
  /* superfici forgiate (nero caldo, non puro) */
  --bg:          oklch(0.165 0.013 58);   /* #16120e  fondo base */
  --bg-deep:     oklch(0.115 0.010 58);   /* #0d0a07  header/footer, sotto-fondi */
  --surface:     oklch(0.205 0.015 58);   /* #201a14  card */
  --surface-2:   oklch(0.245 0.016 56);   /* #2a2219  card rialzata */
  --line:        oklch(0.315 0.022 56);   /* #3a2f23  bordi caldi */
  --line-soft:   oklch(0.255 0.016 56);   /* divisori tenui */

  /* inchiostri */
  --fg:          oklch(0.955 0.010 78);   /* #f5efe6  bianco cenere caldo */
  --fg-muted:    oklch(0.735 0.025 72);   /* #b6a892  testo secondario */
  --fg-dim:      oklch(0.610 0.022 68);   /* didascalie tenui */

  /* braci */
  --ember:       oklch(0.700 0.180 50);   /* #f57a2b  arancio brace (accent) */
  --ember-hot:   oklch(0.635 0.205 36);   /* #ea531c  rosso-fuoco */
  --amber:       oklch(0.800 0.135 70);   /* #f6a94b  ambra (highlight/glow) */
  --ember-ink:   oklch(0.165 0.030 45);   /* #1a1009  testo su pulsante brace */

  /* pure black per il blend del logo */
  --pure:        #000000;

  --font-display: "Big Shoulders Display", "Arial Narrow", system-ui, sans-serif;
  --font-body:    "Hanken Grotesk", system-ui, -apple-system, sans-serif;

  /* misure */
  --wrap: 1200px;
  --gut: clamp(1.25rem, 5vw, 4rem);
  --radius: 14px;
  --radius-sm: 9px;
  --header-h: 72px;

  /* ombre / glow */
  --shadow: 0 18px 50px -22px rgba(0,0,0,0.85);
  --glow-ember: 0 0 0 1px oklch(0.700 0.180 50 / 0.35), 0 14px 40px -12px oklch(0.635 0.205 36 / 0.45);
}

/* ---------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;          /* 17px base — >16px */
  line-height: 1.62;
  color: var(--fg);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
}

/* grana / atmosfera forgia su tutto il fondo */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

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

::selection { background: oklch(0.635 0.205 36 / 0.85); color: #fff; }

/* ---------------------------------------------------------------- layout */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }

main, header, footer { position: relative; z-index: 1; }

.section { padding-block: clamp(4.5rem, 10vw, 8rem); }
.section--tight { padding-block: clamp(3rem, 7vw, 5rem); }

section[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

/* divisore forgiato — usato con parsimonia, non come decoro ripetuto */
.forge-rule {
  height: 1px; border: 0;
  background: linear-gradient(90deg, transparent, var(--line) 18%, var(--ember-hot) 50%, var(--line) 82%, transparent);
  opacity: 0.55;
}

/* ---------------------------------------------------------------- type */
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: 0.005em;
  text-transform: uppercase;
}

h1 { font-size: clamp(2.7rem, 8.5vw, 6rem); font-weight: 900; }
h2 { font-size: clamp(2.1rem, 5.5vw, 3.7rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); letter-spacing: 0.01em; }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  color: var(--ember);
  margin-bottom: 1rem;
}

.lead { font-size: clamp(1.1rem, 1.7vw, 1.32rem); color: var(--fg-muted); line-height: 1.55; }
.muted { color: var(--fg-muted); }
.ember-text { color: var(--ember); }

p + p { margin-top: 0.9rem; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 1.02rem;
  min-height: 52px;
  padding: 0 1.7rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .25s ease, background .2s ease, border-color .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn--primary {
  background: linear-gradient(135deg, var(--amber), var(--ember) 45%, var(--ember-hot));
  color: var(--ember-ink);
  box-shadow: var(--glow-ember);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px oklch(0.700 0.180 50 / 0.5), 0 20px 46px -12px oklch(0.635 0.205 36 / 0.6); }
.btn--ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--ember); color: var(--ember); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: var(--pure);
  border-bottom: 1px solid var(--line-soft);
}
.site-header .wrap {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand { display: inline-flex; align-items: center; height: 100%; }
.brand img { height: 50px; width: auto; }

.nav-desktop { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.2rem); }
.nav-desktop a.nav-link {
  font-weight: 600; font-size: 0.96rem; color: var(--fg-muted);
  letter-spacing: 0.01em;
  position: relative; padding: 0.4rem 0;
  transition: color .18s ease;
}
.nav-desktop a.nav-link:hover { color: var(--fg); }
.nav-desktop a.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--ember); transition: width .22s ease;
}
.nav-desktop a.nav-link:hover::after { width: 100%; }
.nav-desktop .btn { min-height: 44px; padding: 0 1.25rem; font-size: 0.92rem; }

/* hamburger */
.nav-toggle {
  display: none;
  width: 48px; height: 48px;
  align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line); border-radius: 10px;
  cursor: pointer;
}
.nav-toggle .bars { display: block; width: 22px; height: 14px; position: relative; }
.nav-toggle .bars span {
  position: absolute; left: 0; height: 2px; width: 100%; background: var(--fg); border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease, top .25s ease;
}
.nav-toggle .bars span:nth-child(1) { top: 0; }
.nav-toggle .bars span:nth-child(2) { top: 6px; }
.nav-toggle .bars span:nth-child(3) { top: 12px; }
.nav-toggle[aria-expanded="true"] .bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* drawer mobile: overlay full-viewport (no translateY, no backdrop-filter sull'header) */
.nav-drawer {
  position: fixed; inset: 0; z-index: 99;
  background: var(--bg-deep);
  display: flex; flex-direction: column; justify-content: center; gap: 0.4rem;
  padding: calc(var(--header-h) + 2rem) var(--gut) 2rem;
  opacity: 0; visibility: hidden;
  transition: opacity .26s ease, visibility .26s ease;
}
.nav-drawer.is-open { opacity: 1; visibility: visible; }
.nav-drawer a.nav-link {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.8rem, 8vw, 2.6rem); color: var(--fg); letter-spacing: 0.02em;
  padding: 0.55rem 0; border-bottom: 1px solid var(--line-soft);
  display: flex; align-items: center; gap: 0.8rem;
}
.nav-drawer a.nav-link:hover, .nav-drawer a.nav-link:focus-visible { color: var(--ember); }
.nav-drawer a.nav-link .idx { font-size: 0.85rem; color: var(--ember); font-family: var(--font-body); letter-spacing: 0.1em; }
.nav-drawer .btn { margin-top: 1.6rem; align-self: flex-start; }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; isolation: isolate; min-height: clamp(560px, 92vh, 880px); display: flex; align-items: flex-end; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.hero__media::after {
  /* leggibilità + braci */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(80% 60% at 18% 12%, oklch(0.635 0.205 36 / 0.34), transparent 60%),
    linear-gradient(180deg, oklch(0.115 0.010 58 / 0.55) 0%, oklch(0.115 0.010 58 / 0.15) 32%, oklch(0.115 0.010 58 / 0.78) 78%, var(--bg) 100%);
}
.hero__inner { padding-block: clamp(2.5rem, 6vw, 5rem); width: 100%; }
.hero__content { max-width: 50ch; }

.live-badge {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-body); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.18em; font-size: 0.74rem; color: var(--fg);
  background: oklch(0.115 0.010 58 / 0.6); border: 1px solid var(--line);
  padding: 0.45rem 0.85rem; border-radius: 100px; margin-bottom: 1.4rem;
  backdrop-filter: blur(6px);
}
.live-badge .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ember-hot); box-shadow: 0 0 0 0 oklch(0.635 0.205 36 / 0.7); animation: livePulse 2s infinite; }
@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 oklch(0.635 0.205 36 / 0.7); }
  70% { box-shadow: 0 0 0 10px oklch(0.635 0.205 36 / 0); }
  100% { box-shadow: 0 0 0 0 oklch(0.635 0.205 36 / 0); }
}

.hero h1 { margin-bottom: 1.1rem; text-shadow: 0 2px 30px rgba(0,0,0,0.6); }
.hero h1 .hot { color: var(--ember); }
.hero__sub { font-size: clamp(1.05rem, 1.7vw, 1.28rem); color: var(--fg); max-width: 46ch; margin-bottom: 0.7rem; }
.hero__quote { font-size: clamp(1rem, 1.5vw, 1.15rem); color: var(--amber); font-weight: 500; max-width: 44ch; margin-bottom: 1.9rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* ---------------------------------------------------------------- live strip */
.livestrip { background: var(--bg-deep); border-block: 1px solid var(--line-soft); }
.livestrip .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.livestrip__claim h2 { margin-bottom: 1rem; }
.livestrip__claim h2 .hot { color: var(--ember); }
.live-proofs { display: grid; gap: 1rem; }
.live-proof {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.15rem 1.25rem; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius);
}
.live-proof .ic {
  flex: none; width: 44px; height: 44px; border-radius: 11px;
  display: grid; place-items: center; color: var(--ember);
  background: oklch(0.700 0.180 50 / 0.12); border: 1px solid oklch(0.700 0.180 50 / 0.3);
}
.live-proof .ic svg { width: 22px; height: 22px; }
.live-proof h3 { font-size: 1.12rem; margin-bottom: 0.15rem; }
.live-proof p { font-size: 0.96rem; color: var(--fg-muted); line-height: 1.45; }

/* ---------------------------------------------------------------- section head */
.section-head { max-width: 60ch; margin-bottom: clamp(2.2rem, 4vw, 3.4rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-bottom: 1rem; }
.section-head h2 .hot { color: var(--ember); }

/* ---------------------------------------------------------------- percorso (metodo) */
.percorso { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 1.6rem); counter-reset: step; }
.stage {
  position: relative; padding: 2rem 1.6rem 1.9rem;
  background: linear-gradient(180deg, var(--surface), var(--bg-deep));
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
}
.stage::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--ember-hot), var(--amber));
  transform: scaleX(0); transform-origin: left; transition: transform .5s ease;
}
.stage.in-view::before { transform: scaleX(1); }
.stage .spark { display: grid; place-items: center; width: 48px; height: 48px; color: var(--ember); margin-bottom: 1.2rem; }
.stage .spark svg { width: 100%; height: 100%; }
.stage h3 { margin-bottom: 0.7rem; }
.stage p { color: var(--fg-muted); font-size: 0.99rem; }
.percorso-note { margin-top: 1.8rem; color: var(--fg-muted); }

/* ---------------------------------------------------------------- servizi */
.servizi { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1rem, 2vw, 1.4rem); }
.svc {
  display: flex; gap: 1.15rem; align-items: flex-start;
  padding: 1.7rem 1.6rem; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); transition: border-color .2s ease, transform .2s ease;
}
.svc:hover { border-color: oklch(0.700 0.180 50 / 0.55); transform: translateY(-3px); }
.svc .ic { flex: none; width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; color: var(--ember); background: oklch(0.700 0.180 50 / 0.12); border: 1px solid oklch(0.700 0.180 50 / 0.28); }
.svc .ic svg { width: 24px; height: 24px; }
.svc h3 { font-size: 1.18rem; margin-bottom: 0.35rem; }
.svc p { font-size: 0.97rem; color: var(--fg-muted); line-height: 1.45; }

/* ---------------------------------------------------------------- la palestra viene da te */
.flex-band { background: var(--bg-deep); border-block: 1px solid var(--line-soft); }
.choose { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(0.8rem, 2vw, 1.2rem); margin: 2rem 0 1.4rem; }
.choose .pick {
  padding: 1.5rem 1.4rem; text-align: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
.choose .pick .k { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; color: var(--ember); font-size: 0.82rem; letter-spacing: 0.14em; margin-bottom: 0.5rem; }
.choose .pick .v { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: clamp(1.4rem, 3vw, 1.9rem); line-height: 1; }
.forwho { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(0.9rem, 2vw, 1.3rem); margin-top: 2.4rem; }
.forwho li { list-style: none; padding: 1.4rem 1.4rem; background: transparent; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--fg-muted); }
.forwho li strong { display: block; color: var(--fg); font-weight: 700; margin-bottom: 0.25rem; font-size: 1.04rem; }

/* ---------------------------------------------------------------- chi sono */
.chisono { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.chisono__media { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.chisono__media img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; object-position: 50% 22%; }
.chisono__media::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 60% at 20% 10%, oklch(0.635 0.205 36 / 0.22), transparent 55%); }
.chisono__media figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1rem 1.2rem;
  background: linear-gradient(180deg, transparent, oklch(0.115 0.010 58 / 0.92));
  font-size: 0.86rem; color: var(--fg-muted);
}
.chisono__body h2 { margin-bottom: 1.2rem; }
.pullquote {
  border-left: 0;
  margin: 1.6rem 0;
  padding: 1.4rem 1.6rem;
  background: oklch(0.700 0.180 50 / 0.08);
  border: 1px solid oklch(0.700 0.180 50 / 0.25);
  border-radius: var(--radius);
  font-family: var(--font-display); font-weight: 700; text-transform: none;
  font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.2; color: var(--fg);
}
.creds { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.4rem; }
.cred { font-size: 0.86rem; font-weight: 600; color: var(--fg-muted); padding: 0.4rem 0.85rem; border: 1px solid var(--line); border-radius: 100px; }

/* ---------------------------------------------------------------- comunità */
.comunita { background: var(--bg-deep); border-block: 1px solid var(--line-soft); }
.comunita .wrap { max-width: 900px; text-align: center; }
.comunita .eyebrow { display: block; }
.comunita h2 { margin-bottom: 1.4rem; }
.comunita h2 .hot { color: var(--ember); }
.comunita p { font-size: clamp(1.1rem, 1.9vw, 1.4rem); color: var(--fg-muted); line-height: 1.5; }
.comunita .signoff { margin-top: 1.4rem; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; color: var(--amber); letter-spacing: 0.04em; font-size: clamp(1.2rem,2.4vw,1.7rem); }

/* ---------------------------------------------------------------- trust band */
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.7rem 0.9rem; }
.trust .chip {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 600; font-size: 0.92rem; color: var(--fg);
  padding: 0.6rem 1.05rem; background: var(--surface); border: 1px solid var(--line); border-radius: 100px;
}
.trust .chip svg { width: 17px; height: 17px; color: var(--ember); flex: none; }

/* ---------------------------------------------------------------- prova / contatti */
.prova { position: relative; overflow: hidden; }
.prova::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(60% 80% at 50% 0%, oklch(0.635 0.205 36 / 0.22), transparent 60%);
}
.prova .wrap { max-width: 820px; text-align: center; }
.prova h2 { margin-bottom: 1.1rem; }
.prova h2 .hot { color: var(--ember); }
.prova p.lead { margin-inline: auto; margin-bottom: 2.2rem; max-width: 52ch; }
.contact-card {
  display: inline-block; margin-top: 0.5rem;
  padding: 2rem 2.4rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.contact-card .ctitle { font-family: var(--font-body); font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; color: var(--ember); margin-bottom: 0.7rem; }
.contact-card .phone { font-family: var(--font-display); font-weight: 900; font-size: clamp(2rem, 6vw, 3.1rem); line-height: 1; color: var(--fg); letter-spacing: 0.01em; }
.contact-card .note { margin-top: 0.85rem; font-size: 0.92rem; color: var(--fg-muted); }
.contact-card .note strong { color: var(--amber); font-weight: 700; }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--pure); border-top: 1px solid var(--line-soft); padding-block: clamp(2.6rem, 5vw, 3.6rem); }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: start; }
.foot-brand img { height: 64px; width: auto; margin-bottom: 1rem; }
.foot-brand p { color: var(--fg-muted); font-size: 0.95rem; max-width: 36ch; }
.foot-right { display: flex; flex-direction: column; gap: 0.5rem; align-items: flex-start; }
.foot-right .label { font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.74rem; color: var(--ember); }
.foot-right .fphone { font-family: var(--font-display); font-weight: 800; font-size: 1.45rem; color: var(--fg); }
.foot-social { display: flex; gap: 0.6rem; margin-top: 0.6rem; }
.foot-social .social-icon {
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 10px; color: var(--fg-muted);
}
.foot-social .social-icon svg { width: 19px; height: 19px; }
.foot-bottom {
  margin-top: 2.4rem; padding-top: 1.5rem; border-top: 1px solid var(--line-soft);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.6rem;
  font-size: 0.85rem; color: var(--fg-dim);
}
.footer-credit { color: var(--fg-muted); }
.footer-credit a { color: var(--ember); font-weight: 600; }
.footer-credit a:hover { text-decoration: underline; }

/* ---------------------------------------------------------------- reveal */
/* gate su .js: senza JavaScript il contenuto resta visibile (no opacity:0) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in-view { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }

/* hero entrance */
.hero .anim { opacity: 0; transform: translateY(22px); animation: heroIn .8s cubic-bezier(.2,.7,.2,1) forwards; }
.hero .anim[data-d="0"] { animation-delay: .05s; }
.hero .anim[data-d="1"] { animation-delay: .18s; }
.hero .anim[data-d="2"] { animation-delay: .31s; }
.hero .anim[data-d="3"] { animation-delay: .44s; }
.hero .anim[data-d="4"] { animation-delay: .57s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 980px) {
  .livestrip .wrap { grid-template-columns: 1fr; }
  .chisono { grid-template-columns: 1fr; }
  .chisono__media { order: -1; max-width: 520px; }
  .servizi { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }
  .nav-desktop { display: none; }
  .nav-toggle { display: inline-flex; }
  .percorso { grid-template-columns: 1fr; }
  .choose { grid-template-columns: 1fr; }
  .forwho { grid-template-columns: 1fr; }
  .site-footer .wrap { grid-template-columns: 1fr; }
  .hero { min-height: 88vh; }
  .hero__content { max-width: 100%; }
  .hero__media img { object-position: 50% 30%; }
}

@media (min-width: 769px) {
  /* blur sull'header solo dove la nav è inline (no drawer fixed discendente) */
  .site-header { background: oklch(0 0 0 / 0.82); backdrop-filter: blur(12px) saturate(1.1); }
}

@media (max-width: 420px) {
  .brand img { height: 42px; }
  .contact-card { padding: 1.6rem 1.4rem; width: 100%; }
  .btn { width: 100%; }
  .hero__cta { width: 100%; }
}

/* ---------------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .hero .anim { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
  .stage::before { transform: scaleX(1); }
  .live-badge .dot { animation: none; }
}
