/* ============================================================
   LONGEVITY CLINIC — Il futuro è salute.
   Struttura: riferimento Superpower (nav a pillola flottante,
   hero full-bleed scuro, CTA a pillola, card 16px, hairline,
   colore razionato). Pelle: verde oliva su avorio caldo,
   serif whisper-weight per i display.
   Font self-hostati (fonts.css) — nessuna richiesta esterna.
   ============================================================ */

:root {
  /* --- inchiostri (neutri caldi con base verde) --- */
  --ink:        #31331A;  /* testo primario (campionato dalla brochure) */
  --ink-2:      #63645A;  /* testo secondario */
  --ink-3:      #676860;  /* terziario, metadati — AA (≥4.99) su tutte le superfici */
  --hairline:   #E3DCCB;  /* bordi hairline */
  --hairline-2: #EDE6D9;  /* divisori più tenui */

  /* --- superfici (mai bianco puro) --- */
  --paper:      #FAF6F1;  /* avorio della brochure */
  --paper-2:    #F3EEE6;  /* superficie alternata */
  --card:       #FFFDF9;  /* card sopra il canvas */

  /* --- accento: verde oliva, razionato --- */
  --olive:      #4A5A2B;  /* CTA piene, marchio, punteggiatura funzionale */
  --olive-deep: #36421F;  /* hover, footer */
  --olive-soft: #8B9868;  /* dettagli decorativi */
  --olive-mist: #E9EBDC;  /* wash tenue per icone/chip */

  /* --- hero scuro --- */
  --night:      #14170F;
  --night-2:    #232B19;
  --night-olive:  #2B3016;  /* pannello metodo (campionato dalla brochure) */
  --disc:         #F0ECE5;  /* dischi panna sul pannello scuro */

  /* --- ORO: l'accento della brochure --- */
  --gold:       #7B642D;  /* numeri, occhielli, testo oro — AA (≥4.9) su tutti i fondi */
  --gold-ring:  #B69E71;  /* anelli sottili attorno alle icone */
  --gold-soft:  #D8C9A8;  /* filetti decorativi */
  --gold-light: #C9A961;  /* oro su fondo scuro */
  --on-night:   #F4F2E8;
  --on-night-2: rgba(244, 242, 232, 0.64);

  /* --- tipografia --- */
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* scala (compressione del leading al crescere del corpo) */
  --text-caption:  0.72rem;   /* 11.5px */
  --text-body:     0.9575rem; /* 15.3px */
  --text-body-lg:  1.0625rem; /* 17px */
  --text-sub:      1.1875rem; /* 19px */
  --text-h-sm:     1.375rem;  /* 22px */
  --text-h:        1.875rem;  /* 30px */
  --text-h-lg:     clamp(2.25rem, 4vw, 3.1rem);
  --text-display:  clamp(2.9rem, 6.4vw, 5.1rem);

  /* --- misure --- */
  --wrap: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section: clamp(5rem, 10vw, 7.5rem);
  --r-card: 16px;
  --r-sm: 10px;
  --r-pill: 999px;
  --shadow-soft: 0 2px 2px rgba(20, 23, 15, 0.05);
  --shadow-float: 0 14px 40px -18px rgba(20, 23, 15, 0.35);

  --ease: cubic-bezier(0.22, 0.68, 0.28, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 6.5rem; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--text-body-lg);
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: 0.002em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; padding: 0; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
hr { border: 0; height: 1px; background: var(--hairline); margin: 0; }

::selection { background: var(--olive-mist); color: var(--ink); }

/* ---------- tipografia ---------- */
.display, .h-lg, .display {
  font-family: var(--serif);
  font-weight: 400;               /* whisper-weight: mai bold sui display */
  font-size: var(--text-display);
  line-height: 1.02;
  letter-spacing: -0.015em;
}
.h-lg {
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--text-h-lg);
  line-height: 1.08;
  letter-spacing: -0.012em;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-size: var(--text-caption);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.4rem;
}
.eyebrow::before { content: ""; width: 1.6rem; height: 1px; background: currentColor; opacity: 0.5; }
.lead { font-size: var(--text-sub); line-height: 1.42; color: var(--ink-2); }
.caption { font-size: var(--text-caption); letter-spacing: 0.01em; color: var(--ink-3); }

/* ---------- layout ---------- */
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--alt { background: var(--paper-2); }
.section--night { background: var(--night-olive); color: var(--on-night); }
.section-head { max-width: 620px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head .lead { margin-top: 1.1rem; max-width: 52ch; }

/* ---------- bottoni: sistema a pillola ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  border-radius: var(--r-pill);
  padding: 0.9rem 1.7rem;
  font-size: var(--text-body);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1;
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
              border-color 0.35s var(--ease), transform 0.12s ease-out;
}
.btn:active { transform: scale(0.98); }
.btn--solid { background: var(--olive); color: #FDFDF8; }
.btn--solid:hover { background: var(--olive-deep); }
.btn--ghost { border: 1px solid var(--hairline); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink-3); }
.btn--night-ghost { border: 1px solid rgba(244,242,232,0.28); color: var(--on-night); }
.btn--night-ghost:hover { border-color: rgba(244,242,232,0.6); }
.btn--sm { padding: 0.62rem 1.15rem; font-size: 0.85rem; }
.btn .arrow { transition: transform 0.35s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

.textlink {
  font-size: inherit; font-weight: 400; color: var(--ink);
  border-bottom: 1px solid var(--gold-ring); transition: color 0.3s, border-color 0.3s;
}
.textlink:hover { color: var(--gold); border-color: var(--gold); }
.footer a:not(.btn):hover { text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   NAV — pillola scura flottante (mai attaccata ai bordi)
   ============================================================ */
.nav-shell {
  position: fixed; top: 1rem; left: 0; right: 0; z-index: 100;
  padding-inline: var(--gutter);
  display: flex; justify-content: center;
  pointer-events: none;
}
.nav {
  pointer-events: auto;
  width: 100%; max-width: var(--wrap);
  background: rgba(30, 33, 23, 0.92);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-float);
  display: flex; align-items: center; gap: 1.5rem;
  padding: 0.7rem 0.7rem 0.7rem 1.5rem;
  color: var(--on-night);
  transition: box-shadow 0.4s var(--ease);
}
.nav__brand { display: flex; align-items: center; gap: 0.7rem; margin-right: auto; }
.nav__brand svg { width: 30px; height: 30px; flex: none; }
.nav__wordmark { display: flex; flex-direction: column; line-height: 1; }
.nav__wordmark b {
  font-family: var(--serif); font-weight: 500; font-size: 1.02rem;
  letter-spacing: 0.13em; color: var(--on-night);
}
.nav__wordmark span {
  font-size: 0.5rem; font-weight: 400; letter-spacing: 0.4em;
  color: var(--on-night-2); margin-top: 0.25rem;
}
.nav__links { display: flex; gap: 1.4rem; }
.nav__links a {
  font-size: 0.85rem; font-weight: 400; color: rgba(244,242,232,0.62);
  transition: color 0.3s var(--ease);
}
.nav__links a:hover { color: var(--on-night); }
.nav__lang { display: flex; align-items: center; gap: 0.5rem; margin-inline: 0.25rem; }
.nav__lang span, .nav__lang a {
  font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(244,242,232,0.4);
}
.nav__lang a:hover { color: var(--on-night); }
.nav__lang span[aria-current="true"] { color: var(--on-night); }
.nav__lang i { width: 1px; height: 10px; background: rgba(244,242,232,0.2); }
.nav__cta { background: var(--paper); color: var(--ink); }
.nav__cta:hover { background: #fff; }

.nav__toggle { display: none; padding: 0.6rem; margin-left: auto; }
.nav__toggle span { display: block; width: 20px; height: 1.5px; background: var(--on-night); transition: transform 0.3s var(--ease), opacity 0.3s; }
.nav__toggle span + span { margin-top: 5px; }
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* menu mobile a tendina dentro la pillola */
.nav__drawer { display: none; }

/* ============================================================
   HERO — campagna fotografica editoriale
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; flex-direction: column;
  justify-content: center; align-items: flex-start;
  text-align: left;
  background:
    linear-gradient(90deg, rgba(22,27,10,0.98) 0%, rgba(25,31,13,0.93) 32%, rgba(28,34,15,0.69) 54%, rgba(24,28,13,0.16) 78%, rgba(19,22,11,0.04) 100%),
    linear-gradient(180deg, rgba(20,24,10,0.34) 0%, transparent 34%, rgba(17,20,9,0.34) 100%),
    url("media/hero-longevity-v3.jpg") center center / cover no-repeat,
    #20250F;
  color: var(--on-night);
  padding: 8.5rem var(--gutter) 6rem;
  overflow: hidden;
}
.hero::after {                       /* grana finissima, dà materia al fondo */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.045'/%3E%3C/svg%3E");
}
.hero__aura {                        /* alone caldo dietro al marchio */
  position: absolute; left: 24%; top: 44%; transform: translate(-50%, -50%);
  width: min(900px, 105vw); aspect-ratio: 1; pointer-events: none;
  background: radial-gradient(circle, rgba(201,169,97,0.13) 0%, rgba(201,169,97,0.05) 38%, transparent 66%);
}
.hero__science-scan {
  position: absolute; z-index: 0; inset: 0; pointer-events: none;
  width: 36%; left: 39%;
  background: linear-gradient(105deg, transparent 10%, rgba(242,221,165,0.08) 48%, rgba(255,247,220,0.18) 51%, transparent 56%);
  mix-blend-mode: screen; opacity: 0;
  animation: scienceSweep 12s cubic-bezier(0.45,0,0.25,1) 5.2s infinite;
}
.hero > *:not(.hero__aura):not(.hero__science-scan):not(.hero__scroll) { position: relative; z-index: 1; }
@keyframes scienceSweep {
  0%, 58% { opacity: 0; transform: translateX(-32vw); }
  64% { opacity: 0.4; }
  82% { opacity: 0.12; }
  100% { opacity: 0; transform: translateX(46vw); }
}

.hero__eyebrow.chip { margin-bottom: clamp(2rem, 4.5vh, 3.2rem); }

/* ---------- il lockup: marchio + LONGEVITY + CLINIC + payoff ---------- */
.lockup { display: flex; flex-direction: column; align-items: flex-start; margin: 0; max-width: min(720px, 57vw); }
.lockup__mark {
  width: clamp(66px, 10vh, 124px); height: auto;
  color: var(--gold-light);
  margin-bottom: clamp(1.1rem, 2.4vh, 1.9rem);
}
.lockup__name {
  font-family: var(--serif);
  font-weight: 400;                                  /* whisper-weight anche in grande */
  font-size: clamp(2.55rem, 6.6vw, 5.8rem);
  line-height: 0.94;
  letter-spacing: 0.145em;
  margin-right: -0.145em;                            /* compensa lo spazio finale */
  color: #F6F3E7;
  text-transform: uppercase;
  white-space: nowrap;
}
.lockup__clinic {
  display: flex; align-items: center; justify-content: flex-start;
  gap: clamp(0.7rem, 1.6vw, 1.3rem);
  width: 100%; max-width: 42em;
  margin-top: clamp(0.75rem, 1.6vh, 1.15rem);
}
.lockup__clinic > span {
  font-family: var(--sans); font-weight: 300;
  font-size: clamp(0.68rem, 1.55vw, 1.06rem);
  letter-spacing: 0.52em; margin-right: -0.52em;
  text-transform: uppercase; color: #EDE9DA; white-space: nowrap;
}
.lockup__clinic i { flex: 1 1 0; height: 1px; background: var(--gold-light); opacity: 0.75; max-width: 8.5rem; }
.lockup__payoff {
  font-family: var(--sans); font-weight: 400;
  font-size: clamp(0.74rem, 1.25vw, 0.96rem);
  letter-spacing: 0.32em; margin-right: -0.32em;
  text-transform: uppercase; color: var(--gold-light);
  margin-top: clamp(0.95rem, 2vh, 1.5rem);
}

.hero__lead {
  margin-top: clamp(2rem, 4.5vh, 3.2rem); max-width: 47ch;
  font-size: clamp(1.02rem, 1.28vw, 1.19rem); font-weight: 300; line-height: 1.62;
  color: rgba(240,236,229,0.74);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; justify-content: flex-start; margin-top: clamp(1.9rem, 3.6vh, 2.6rem); }
.hero__trust {
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.9rem; justify-content: flex-start;
  margin-top: clamp(1.9rem, 3.6vh, 2.6rem);
  font-size: var(--text-caption); color: rgba(240,236,229,0.62);
}
.hero__trust li { display: flex; align-items: center; gap: 0.5rem; }
.hero__trust svg { width: 11px; height: 11px; flex: none; color: var(--gold-light); }

.hero__scroll {
  position: absolute; z-index: 2; bottom: 1.9rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.7rem;
  font-size: 0.6rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: rgba(240,236,229,0.66);
  transition: color 0.35s var(--ease);
}
.hero__scroll:hover { color: var(--gold-light); }
.hero__scroll i { width: 1px; height: 2.6rem; background: rgba(240,236,229,0.18); display: block; position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; inset: 0; background: var(--gold-light); animation: drip 2.6s var(--ease) infinite; }
@keyframes drip { 0% { transform: translateY(-100%); } 60% { transform: translateY(0); } 100% { transform: translateY(100%); } }

/* entrata in scena: parte quando la splash sparisce (html perde .splash-pending) */
.js.splash-pending .hero__eyebrow.chip,
.js.splash-pending .lockup__mark,
.js.splash-pending .lockup__name,
.js.splash-pending .lockup__clinic,
.js.splash-pending .lockup__payoff,
.js.splash-pending .hero__lead,
.js.splash-pending .hero__actions,
.js.splash-pending .hero__trust { opacity: 0; }

.js:not(.splash-pending) .hero__eyebrow.chip { opacity: 0; animation: heroIn 1.1s var(--ease) 0.05s forwards; }
.js:not(.splash-pending) .lockup__mark       { opacity: 0; animation: heroIn 1.3s var(--ease) 0.18s forwards; }
.js:not(.splash-pending) .lockup__name       { opacity: 0; animation: heroIn 1.3s var(--ease) 0.34s forwards; }
.js:not(.splash-pending) .lockup__clinic     { opacity: 0; animation: heroIn 1.3s var(--ease) 0.50s forwards; }
.js:not(.splash-pending) .lockup__payoff     { opacity: 0; animation: heroIn 1.3s var(--ease) 0.64s forwards; }
.js:not(.splash-pending) .hero__lead         { opacity: 0; animation: heroIn 1.3s var(--ease) 0.78s forwards; }
.js:not(.splash-pending) .hero__actions      { opacity: 0; animation: heroIn 1.3s var(--ease) 0.90s forwards; }
.js:not(.splash-pending) .hero__trust        { opacity: 0; animation: heroIn 1.3s var(--ease) 1.02s forwards; }
@keyframes heroIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ============================================================
   INTERMEZZO — claim tipografico su avorio
   ============================================================ */
.claim { background: var(--paper); padding-block: clamp(5rem, 11vw, 9rem); }
.claim .wrap { display: flex; flex-direction: column; align-items: center; text-align: center; }
.ornament--center { margin-inline: auto; }
.claim__eyebrow {
  font-size: var(--text-caption); font-weight: 500; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--gold); margin: 1.9rem 0 1.4rem;
}
.claim__text {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.1rem, 5.4vw, 4.2rem); line-height: 1.06;
  letter-spacing: -0.012em; color: var(--ink); margin-bottom: 1.9rem;
}

/* ============================================================
   FASCIA CREDENZIALI (subito sotto l'hero)
   ============================================================ */
.cred { border-bottom: 1px solid var(--hairline); }
.cred__row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; padding-block: 1.5rem; flex-wrap: wrap;
}
.cred__claim { font-family: var(--serif); font-size: var(--text-h-sm); letter-spacing: 0.01em; color: var(--ink); }
.cred__meta { display: flex; align-items: center; gap: 1.75rem; flex-wrap: wrap; }
.cred__meta li { font-size: var(--text-caption); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); display: flex; align-items: center; gap: 0.55rem; }
.cred__meta b { font-weight: 500; color: var(--ink-2); }

/* ============================================================
   MANIFESTO + NUMERI
   ============================================================ */
.manifesto { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: start; }
.manifesto__copy p { max-width: 54ch; color: var(--ink-2); }
.manifesto__copy p + p { margin-top: 1.15rem; }
.editorial-media {
  position: relative; margin-top: clamp(2.8rem, 6vw, 5.2rem); padding: 0.38rem;
  aspect-ratio: 16 / 7; overflow: hidden; border-radius: calc(var(--r-card) + 0.4rem);
  background: rgba(70,76,42,0.08); border: 1px solid rgba(70,76,42,0.12);
  box-shadow: 0 26px 70px rgba(43,48,22,0.10);
}
.editorial-media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-card); }
.editorial-media figcaption {
  position: absolute; right: clamp(1.1rem, 3vw, 2.2rem); bottom: clamp(1.1rem, 3vw, 2.2rem);
  width: min(350px, 38%); padding: 1.2rem 1.35rem; border-radius: var(--r-card);
  background: rgba(250,248,241,0.93); color: var(--ink); box-shadow: var(--shadow-soft);
}
.editorial-media figcaption span,
.method-media figcaption span,
.team-editorial figcaption span {
  display: block; margin-bottom: 0.45rem; font-size: var(--text-caption); font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold);
}
.editorial-media figcaption p { font-family: var(--serif); font-size: var(--text-h-sm); line-height: 1.24; }
figure.editorial-media--squadra { aspect-ratio: 1672 / 836; width: 100%; left: auto; margin-left: 0; }

/* Le fotografie diventano capitoli: interrompono la griglia e danno respiro al racconto. */
.media-break {
  width: 100vw;
  left: 50%;
  margin-left: -50vw;
  border-inline: 0;
  border-radius: 0;
}
.media-break > img { border-radius: 0; }
.editorial-media--botanical {
  aspect-ratio: 21 / 7.6;
  min-height: 390px;
  padding: 0;
  margin-top: clamp(3.5rem, 7vw, 6rem);
  box-shadow: 0 32px 90px rgba(43,48,22,0.13);
}
.editorial-media--botanical figcaption {
  right: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
}
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); border-radius: var(--r-card); overflow: hidden; margin-top: clamp(2.5rem, 5vw, 4rem); }
.stat { background: var(--card); padding: 1.6rem 1.4rem; }
.stat b { display: block; font-family: var(--serif); font-weight: 400; font-size: 2.6rem; line-height: 1; color: var(--olive); }
.stat span { display: block; margin-top: 0.55rem; font-size: var(--text-caption); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }

/* ============================================================
   HEALTHSPAN
   ============================================================ */
.spans { max-width: 760px; margin-top: clamp(2rem, 4vw, 3rem); }
.span-row + .span-row { margin-top: 2rem; }
.span-row__label {
  display: flex; justify-content: space-between; gap: 1rem; align-items: baseline;
  font-size: var(--text-caption); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-2); margin-bottom: 0.7rem;
}
.span-track { height: 4px; border-radius: 2px; background: var(--hairline); overflow: hidden; }
.span-fill { height: 100%; width: 0; border-radius: 2px; background: var(--ink-3); transition: width 1.5s var(--ease) 0.2s; }
.span-row--health .span-fill { background: var(--olive); transition-delay: 0.45s; }
.is-visible .span-row--life .span-fill { width: 100%; }
.is-visible .span-row--health .span-fill { width: 62%; }
.span-note {
  margin-top: 1.6rem; display: flex; gap: 0.8rem; align-items: flex-start;
  font-size: var(--text-body); color: var(--ink-2); max-width: 46ch;
}
.span-note::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--olive-mist); border: 3px solid var(--olive-soft); flex: none; margin-top: 0.2rem; }
.section--night .eyebrow { color: var(--gold-light); }



/* ============================================================
   ICONE DELLA BROCHURE — anello sottile oro + glifo
   ============================================================ */
.ico {
  flex: none; display: grid; place-items: center;
  width: 3.4rem; height: 3.4rem; border-radius: 50%;
  border: 1px solid var(--gold-ring);
  transition: border-color 0.45s var(--ease), background 0.45s var(--ease);
}
.ico svg { width: 62%; height: 62%; color: var(--ink); }
/* disco pieno color panna, come sul pannello scuro della brochure */
.ico--disc { background: var(--disc); border-color: transparent; }
.ico--disc svg { color: #2B3016; }

/* filetto ornamentale oro con rombo centrale */
.ornament { display: block; width: 100%; max-width: 210px; height: 9px; margin-top: 1.5rem; position: relative; }
.ornament::before { content: ""; position: absolute; top: 4px; left: 0; right: 0; height: 1px; background: var(--gold-soft); }
.ornament::after {
  content: ""; position: absolute; top: 1px; left: 50%; width: 7px; height: 7px;
  margin-left: -3.5px; background: var(--gold-ring); transform: rotate(45deg);
}
.ornament--light::before { background: rgba(201,169,97,0.45); }
.ornament--light::after { background: var(--gold-light); }

/* ============================================================
   METODO — 5 passi (pannello scuro)
   ============================================================ */
.section--night { position: relative; overflow: hidden; }
.dna-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(620px 900px at 76% 52%, rgba(201,169,97,0.20), transparent 66%),
    radial-gradient(420px 620px at 86% 24%, rgba(233,214,150,0.13), transparent 70%);
}
.section--night .wrap { position: relative; z-index: 1; }
/* la doppia elica della brochure, di fianco ai 5 passi */
.method-body {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0,1fr) clamp(160px, 16vw, 210px);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: stretch;
}
.dna-steps {
  pointer-events: none;
  opacity: 0.6;
  filter: drop-shadow(0 0 14px rgba(201,169,97,0.35));
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
}
.dna-steps svg {
  width: 100%; height: 100%; overflow: visible;
  animation: dnaBreathe 10s cubic-bezier(0.45,0,0.25,1) infinite alternate;
  transform-origin: 50% 50%;
}
html.motion-off .dna-steps svg { animation: none; }
.helix-deco > g > g { opacity: 0.82; stroke-width: 1.25px; }
@keyframes dnaBreathe {
  from { transform: translate3d(0,-10px,0) scale(0.985); opacity: 0.78; }
  to { transform: translate3d(0,12px,0) scale(1.015); opacity: 1; }
}
@media (max-width: 900px) {
  .method-body { grid-template-columns: minmax(0,1fr); }
  .dna-steps {
    position: absolute; top: 0; bottom: 0; right: -1.4rem;
    width: 120px; opacity: 0.16;
    filter: drop-shadow(0 0 9px rgba(201,169,97,0.28));
  }
}
.method-head {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(250px,330px);
  gap: 2rem;
  align-items: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.method-head .lead { color: rgba(244,242,232,0.6); }
.method-media {
  position: relative; margin: 0 0 clamp(2.8rem, 5vw, 4.2rem); padding: 0.36rem;
  aspect-ratio: 16 / 5.7; min-height: 270px; overflow: hidden;
  border: 1px solid rgba(244,242,232,0.12); border-radius: calc(var(--r-card) + 0.35rem);
  background: rgba(244,242,232,0.05);
}
.method-media--divider {
  min-height: clamp(340px, 37vw, 570px);
  aspect-ratio: 21 / 7.8;
  padding: 0;
  margin-left: -50vw;
  border-inline: 0;
  border-radius: 0;
  box-shadow: 0 30px 90px rgba(8,10,4,0.28);
}
.method-media.method-media--divider::after { inset: 0; border-radius: 0; }
.method-media.method-media--divider > img { border-radius: 0; }
.method-media.method-media--divider figcaption {
  left: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
}
.method-media::after { content: ""; position: absolute; inset: 0.36rem; border-radius: var(--r-card); background: linear-gradient(90deg, rgba(22,27,10,0.86), transparent 55%); pointer-events: none; }
.method-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 52%; border-radius: var(--r-card); }
.method-media figcaption { position: absolute; z-index: 1; left: clamp(1.3rem, 3vw, 2.4rem); bottom: clamp(1.3rem, 3vw, 2.2rem); max-width: 340px; }
.method-media figcaption span { color: var(--gold-light); }
.method-media figcaption p { font-family: var(--serif); font-size: var(--text-h-sm); line-height: 1.24; color: var(--on-night); }
.steps { border-top: 1px solid rgba(240,236,229,0.14); }
.step {
  display: grid;
  grid-template-columns: 4.4rem 2.4rem 1fr;
  grid-template-areas: "ico num nome" "ico num testo";
  gap: 0.5rem clamp(1rem, 2.5vw, 2rem);
  align-items: start;
  padding-block: clamp(1.6rem, 3vw, 2.2rem);
  border-bottom: 1px solid rgba(240,236,229,0.14);
}
.step .ico { grid-area: ico; align-self: center; }
.step__num { grid-area: num; font-family: var(--serif); font-variant-numeric: lining-nums; font-size: 1.3rem; color: var(--gold-light); align-self: center; }
.step__name {
  grid-area: nome; font-family: var(--sans); font-size: 0.9rem; font-weight: 500; letter-spacing: 0.2em;
  text-transform: uppercase; color: #F2F0E4;
}
.step__body { grid-area: testo; font-size: var(--text-body); line-height: 1.6; color: rgba(240,236,229,0.66); max-width: 62ch; }

/* ============================================================
   AREE — 8 card con numero oro
   ============================================================ */
.areas { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; }
.area {
  display: grid; grid-template-columns: auto 1fr; gap: 1.4rem; align-items: start;
  padding: clamp(1.7rem, 3vw, 2.3rem) clamp(1.2rem, 2.5vw, 2.4rem);
  border-top: 1px solid var(--hairline);
}
.areas .area:nth-child(odd) { border-right: 1px solid var(--hairline); padding-left: 0; }
.areas .area:nth-child(even) { padding-right: 0; }
.area:hover .ico { border-color: var(--gold); background: var(--card); }
.area__body { min-width: 0; }
.area__num { font-family: var(--serif); font-variant-numeric: lining-nums; font-size: 1.05rem; color: var(--gold); line-height: 1; margin-bottom: 0.5rem; }
.area h3 { font-size: var(--text-body-lg); font-weight: 500; letter-spacing: 0.01em; line-height: 1.35; margin-bottom: 0.55rem; }
.area__desc { font-size: var(--text-body); color: var(--ink-2); line-height: 1.55; }

/* ============================================================
   SERVIZI — griglia di icone come nella brochure
   ============================================================ */
.svc-block + .svc-block { margin-top: clamp(2.5rem, 5vw, 4rem); }
.svc-block__title {
  display: flex; align-items: baseline; gap: 0.8rem;
  font-size: var(--text-caption); font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); padding-bottom: 1.1rem; margin-bottom: 2rem;
  border-bottom: 1px solid var(--hairline);
}
.svc-block__title span { font-family: var(--sans); font-variant-numeric: lining-nums tabular-nums; font-size: 0.82rem; letter-spacing: 0.04em; color: var(--ink-3); text-transform: none; }
.svc-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(1.2rem, 2.5vw, 2rem) 1rem; }
.svc-item { display: flex; flex-direction: column; align-items: center; gap: 0.8rem; text-align: center; }
.svc-item span { font-size: var(--text-body); color: var(--ink-2); line-height: 1.35; }
.svc-item:hover .ico { border-color: var(--gold); background: var(--card); }


/* ── schede del team con la fotografia ── */
.tcard { overflow: hidden; }
.tcard__foto {
  width: 100%; height: auto; aspect-ratio: 4 / 5;
  object-fit: cover; object-position: center center;
  display: block; background: var(--olive-mist);
}
.tcard figcaption { padding: 1.05rem 1.15rem 1.25rem; }
.tcard figcaption b { display: block; font-weight: 500; font-size: var(--text-body-lg); line-height: 1.3; color: var(--ink); }
.tcard figcaption span {
  display: block; margin-top: 0.28rem; font-size: var(--text-caption);
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold);
}
.tcard figcaption p { margin-top: 0.6rem; font-size: var(--text-body); line-height: 1.5; color: var(--ink-2); }


/* ── link "Leggi la biografia" nelle card ── */
.tcard__more {
  margin: 0.75rem 1.15rem 0 0; padding: 0 0 2px;
  font-size: var(--text-caption); font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); border-bottom: 1px solid var(--gold-ring);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.tcard__more:hover { color: var(--olive-deep); border-color: var(--olive-deep); }
.tcard figcaption .tcard__more { margin-left: 0; }

/* ── finestra biografia ── */
.biodialog {
  width: min(680px, calc(100vw - 2.5rem));
  max-height: min(82vh, 82svh);
  border: 1px solid var(--gold-ring); border-radius: var(--r-card);
  padding: 0; background: var(--paper); color: var(--ink);
  box-shadow: 0 30px 90px rgba(23, 27, 10, 0.35);
}
.biodialog::backdrop { background: rgba(23, 27, 10, 0.55); }
.biodialog__testa {
  position: sticky; top: 0; z-index: 1;
  display: flex; gap: 1.25rem; align-items: center;
  padding: clamp(1.25rem, 3vw, 1.75rem) clamp(1.25rem, 3vw, 2rem) 1.1rem;
  background: var(--paper); border-bottom: 1px solid var(--hairline);
}
.biodialog__testa img {
  width: 76px; height: 95px; object-fit: cover; border-radius: var(--r-sm);
  border: 1px solid var(--gold-ring); flex: none;
}
.biodialog__ruolo {
  font-size: var(--text-caption); font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 0.3rem;
}
.biodialog__nome { font-family: var(--serif); font-weight: 400; font-size: clamp(1.4rem, 3vw, 1.8rem); line-height: 1.1; }
.biodialog__testa .ornament { max-width: 120px; margin-top: 0.7rem; }
.biodialog__chiudi {
  margin-left: auto; align-self: flex-start; flex: none;
  width: 2.4rem; height: 2.4rem; border-radius: 50%;
  border: 1px solid var(--hairline); color: var(--ink-2);
  font-size: 1.25rem; line-height: 1; display: grid; place-items: center;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.biodialog__chiudi:hover { border-color: var(--gold); color: var(--gold); }
.biodialog__corpo { padding: 1.4rem clamp(1.25rem, 3vw, 2rem) clamp(1.5rem, 3vw, 2rem); }
.biodialog__corpo p { font-size: var(--text-body); line-height: 1.7; color: var(--ink-2); }
.biodialog__corpo p + p { margin-top: 0.9rem; }
.js .biodialog[open] { animation: bioIn 0.35s var(--ease); }
@keyframes bioIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
html.motion-off .biodialog[open] { animation: none; }

/* ── nome del referente sotto ogni specialita' ── */
.svc-item em {
  display: block; margin-top: 0.28rem; font-style: normal;
  font-size: var(--text-caption); line-height: 1.35; color: var(--ink-3);
}

/* ============================================================
   VISION / MISSION — su avorio, come nella brochure
   ============================================================ */
.vm-section { background: var(--paper-2); }
.vm-section .vm__block h3 { color: var(--ink); }
.vm-section .vm__block p:not(.eyebrow) { color: var(--ink-2); }
.vm-section .eyebrow { color: var(--gold); }

/* ============================================================
   BARRA DI AVANZAMENTO LETTURA
   ============================================================ */
.progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 200;
  background: linear-gradient(90deg, var(--gold-ring), var(--gold));
  transform: scaleX(0); transform-origin: 0 50%; will-change: transform;
}

/* voce di nav attiva */
.nav__links a.is-active { color: var(--on-night); }
.nav__links a.is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px;
  height: 1px; background: var(--gold-light);
}
.nav__links a { position: relative; }

/* marchio */
.mark { color: var(--olive); }
.nav .mark, .footer .mark { color: var(--gold-light); }

/* ============================================================
   VALORI
   ============================================================ */
.values { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--hairline); }
.value { padding: 2rem 1.4rem 0.4rem 0; }
.value + .value { border-left: 1px solid var(--hairline); padding-left: 1.4rem; }
.value h3 { font-family: var(--serif); font-size: var(--text-h-sm); margin-bottom: 0.7rem; }
.value p { font-size: var(--text-body); color: var(--ink-2); }

/* ============================================================
   LA CLINICA
   ============================================================ */
.about { display: grid; grid-template-columns: 0.88fr 1.12fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: start; }
.about__copy p { max-width: 52ch; color: var(--ink-2); }
.about__copy p + p { margin-top: 1.15rem; }
.about__quote {
  margin-top: 2rem; padding: 1.4rem 1.6rem; border-radius: var(--r-card);
  background: var(--olive-mist); color: var(--olive-deep);
  font-family: var(--serif); font-size: var(--text-h-sm); line-height: 1.3;
}
.about__visual { min-width: 0; }
.about__media {
  padding: 0.34rem; aspect-ratio: 16 / 10; overflow: hidden; margin-bottom: 1rem;
  border: 1px solid var(--hairline); border-radius: calc(var(--r-card) + 0.35rem); background: var(--paper);
  box-shadow: 0 24px 60px rgba(43,48,22,0.09);
}
.about__media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-card); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; }
.fact h3 { hyphens: auto; overflow-wrap: break-word; }
.fact {
  background: var(--card); border: 1px solid var(--hairline); border-radius: var(--r-card);
  padding: 1.5rem 1.6rem; box-shadow: var(--shadow-soft);
}
.fact h3 { font-size: var(--text-caption); font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--olive); margin-bottom: 0.5rem; }
.fact p { font-size: var(--text-body); color: var(--ink-2); }


/* ── schede del team con la fotografia ── */
.tcard { overflow: hidden; }
.tcard__foto {
  width: 100%; height: auto; aspect-ratio: 4 / 5;
  object-fit: cover; object-position: center center;
  display: block; background: var(--olive-mist);
}
.tcard figcaption { padding: 1.05rem 1.15rem 1.25rem; }
.tcard figcaption b { display: block; font-weight: 500; font-size: var(--text-body-lg); line-height: 1.3; color: var(--ink); }
.tcard figcaption span {
  display: block; margin-top: 0.28rem; font-size: var(--text-caption);
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold);
}
.tcard figcaption p { margin-top: 0.6rem; font-size: var(--text-body); line-height: 1.5; color: var(--ink-2); }


/* ── link "Leggi la biografia" nelle card ── */
.tcard__more {
  margin: 0.75rem 1.15rem 0 0; padding: 0 0 2px;
  font-size: var(--text-caption); font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); border-bottom: 1px solid var(--gold-ring);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.tcard__more:hover { color: var(--olive-deep); border-color: var(--olive-deep); }
.tcard figcaption .tcard__more { margin-left: 0; }

/* ── finestra biografia ── */
.biodialog {
  width: min(680px, calc(100vw - 2.5rem));
  max-height: min(82vh, 82svh);
  border: 1px solid var(--gold-ring); border-radius: var(--r-card);
  padding: 0; background: var(--paper); color: var(--ink);
  box-shadow: 0 30px 90px rgba(23, 27, 10, 0.35);
}
.biodialog::backdrop { background: rgba(23, 27, 10, 0.55); }
.biodialog__testa {
  position: sticky; top: 0; z-index: 1;
  display: flex; gap: 1.25rem; align-items: center;
  padding: clamp(1.25rem, 3vw, 1.75rem) clamp(1.25rem, 3vw, 2rem) 1.1rem;
  background: var(--paper); border-bottom: 1px solid var(--hairline);
}
.biodialog__testa img {
  width: 76px; height: 95px; object-fit: cover; border-radius: var(--r-sm);
  border: 1px solid var(--gold-ring); flex: none;
}
.biodialog__ruolo {
  font-size: var(--text-caption); font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 0.3rem;
}
.biodialog__nome { font-family: var(--serif); font-weight: 400; font-size: clamp(1.4rem, 3vw, 1.8rem); line-height: 1.1; }
.biodialog__testa .ornament { max-width: 120px; margin-top: 0.7rem; }
.biodialog__chiudi {
  margin-left: auto; align-self: flex-start; flex: none;
  width: 2.4rem; height: 2.4rem; border-radius: 50%;
  border: 1px solid var(--hairline); color: var(--ink-2);
  font-size: 1.25rem; line-height: 1; display: grid; place-items: center;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.biodialog__chiudi:hover { border-color: var(--gold); color: var(--gold); }
.biodialog__corpo { padding: 1.4rem clamp(1.25rem, 3vw, 2rem) clamp(1.5rem, 3vw, 2rem); }
.biodialog__corpo p { font-size: var(--text-body); line-height: 1.7; color: var(--ink-2); }
.biodialog__corpo p + p { margin-top: 0.9rem; }
.js .biodialog[open] { animation: bioIn 0.35s var(--ease); }
@keyframes bioIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
html.motion-off .biodialog[open] { animation: none; }

/* ── nome del referente sotto ogni specialita' ── */
.svc-item em {
  display: block; margin-top: 0.28rem; font-style: normal;
  font-size: var(--text-caption); line-height: 1.35; color: var(--ink-3);
}

/* ============================================================
   VISION / MISSION
   ============================================================ */
.vm { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5.5rem); }
.vm__block .eyebrow { color: var(--gold); }
.vm__block h3 { font-family: var(--serif); font-size: var(--text-h-lg); line-height: 1.08; color: var(--on-night); margin-bottom: 1.2rem; }
.vm__block p:not(.eyebrow) { color: rgba(244,242,232,0.62); max-width: 46ch; }

/* ============================================================
   FAQ — pattern Superpower: titoli grandi, niente scatole
   ============================================================ */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--hairline); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: baseline; gap: 2rem;
  padding-block: 1.5rem;
  font-family: var(--serif); font-size: var(--text-h-sm); line-height: 1.25;
  transition: color 0.3s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--olive-deep); }
.faq summary .faq__x {
  flex: none; font-family: var(--sans); font-size: 1.1rem; font-weight: 300;
  color: var(--ink-3); transition: transform 0.35s var(--ease);
}
.faq details[open] summary .faq__x { transform: rotate(45deg); }
.faq__a { padding: 0 0 1.6rem; max-width: 60ch; font-size: var(--text-body); line-height: 1.6; color: var(--ink-2); }

/* ============================================================
   CTA FINALE + FORM
   ============================================================ */
.cta { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2.5rem, 7vw, 6rem); align-items: start; }
.cta__copy .lead { margin-top: 1.2rem; max-width: 40ch; }
.cta__aside { margin-top: 2.2rem; display: grid; gap: 0.7rem; font-size: var(--text-body); color: var(--ink-2); }
.cta__aside li { display: flex; gap: 0.7rem; align-items: flex-start; }
.cta__aside svg { width: 15px; height: 15px; flex: none; margin-top: 0.24rem; stroke: var(--olive); fill: none; stroke-width: 1.6; stroke-linecap: round; }

.form-card {
  background: var(--card); border: 1px solid var(--hairline); border-radius: var(--r-card);
  box-shadow: var(--shadow-soft); padding: clamp(1.5rem, 3.5vw, 2.4rem);
}
.form { display: grid; gap: 1.15rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
.field label {
  display: block; font-size: 0.82rem; font-weight: 400; color: var(--ink-2);
  margin-bottom: 0.45rem;
}
.field input, .field select, .field textarea {
  width: 100%; height: 3.4rem;
  background: var(--paper); border: 1px solid var(--hairline); border-radius: var(--r-sm);
  padding: 0 1rem; font-family: var(--sans); font-size: 1.05rem; font-weight: 300;
  color: var(--ink);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.field textarea { height: auto; min-height: 5.5rem; padding-block: 0.85rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--gold-ring); background: var(--card);
}
.field input:focus:not(:focus-visible),
.field select:focus:not(:focus-visible),
.field textarea:focus:not(:focus-visible) { outline: none; box-shadow: none; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field select { appearance: none; padding-right: 2.6rem; text-overflow: ellipsis; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2362665A' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; }
.check { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.82rem; line-height: 1.5; color: var(--ink-2); }
.check input { width: 15px; height: 15px; margin-top: 0.22rem; accent-color: var(--olive); flex: none; }
.form .btn { justify-self: start; margin-top: 0.4rem; }
.form__note { font-size: var(--text-caption); color: var(--ink-3); line-height: 1.5; }
.form__status { display: none; font-size: var(--text-body); padding: 0.9rem 1.1rem; border-radius: var(--r-sm); background: var(--olive-mist); color: var(--olive-deep); }
.form__status.is-on { display: block; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--olive-deep); color: rgba(244, 242, 232, 0.72); padding-block: clamp(3.5rem, 7vw, 5.5rem) 2rem; }
.footer p.footer__claim { font-family: var(--serif); font-weight: 400; font-size: clamp(1.9rem, 4.5vw, 3rem); line-height: 1.05; letter-spacing: -0.01em; color: #F4F2E8; max-width: 14ch; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid rgba(244,242,232,0.16); }
.footer h3 { font-size: 0.64rem; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(244,242,232,0.62); margin-bottom: 1rem; }
.footer p, .footer a, .footer li { font-size: var(--text-body); line-height: 1.6; }
.footer a:hover { color: #F4F2E8; }
.footer__brand { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1.1rem; }
.footer__brand svg { width: 34px; height: 34px; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; gap: 1.6rem; } }
.footer__legal { margin-top: 2.75rem; padding-top: 1.5rem; border-top: 1px solid rgba(244,242,232,0.16); display: grid; gap: 0.9rem; }
.footer__legal p { font-size: var(--text-caption); color: rgba(244,242,232,0.66); line-height: 1.6; max-width: 90ch; }
.footer__bottom { display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-top: 1.4rem; font-size: var(--text-caption); color: rgba(244,242,232,0.66); }

/* ============================================================
   BARRA MOBILE FISSA
   ============================================================ */
.mobile-bar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: rgba(30, 33, 23, 0.985);
  padding: 0.65rem var(--gutter) calc(0.65rem + env(safe-area-inset-bottom));
}
.mobile-bar .btn { width: 100%; }

/* ============================================================
   REVEAL
   ============================================================ */
.js.animations-ready .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js.animations-ready .reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }

/* Reveal cinematografico delle fotografie, solo al primo ingresso in viewport. */
.js.animations-ready .media-reveal {
  clip-path: inset(9% 0 9% 0);
  opacity: 0;
  transform: translateY(34px);
  transition: clip-path 1.25s var(--ease), opacity 0.85s var(--ease), transform 1.15s var(--ease);
}
.js.animations-ready .media-reveal.is-visible { clip-path: inset(0 0 0 0); opacity: 1; transform: none; }
.media-reveal > img { transform: scale(1.075); transition: transform 1.8s cubic-bezier(0.2,0.7,0.2,1); }
.media-reveal.is-visible > img { transform: scale(1); }

/* elica hero: disegno progressivo */
@keyframes fadein { to { opacity: 1; } }


/* ============================================================
   SPLASH — logo 4s prima del sito
   ============================================================ */
.splash {
  position: fixed; inset: 0; z-index: 400;
  display: none;
  background:
    radial-gradient(900px 600px at 50% 42%, rgba(139,152,104,0.12), transparent 62%),
    linear-gradient(178deg, var(--night-2) 0%, var(--night) 70%);
  align-items: center; justify-content: center;
  cursor: pointer;
}
.js.splash-pending .splash { display: flex; }
.js .splash { animation: splashFail 0s linear 9s forwards; }
@keyframes splashFail { to { opacity: 0; visibility: hidden; pointer-events: none; } }
.splash.is-done { opacity: 0; visibility: hidden; transition: opacity 0.9s var(--ease), visibility 0s 0.9s; }
.splash__inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.splash__mark { width: min(38vh, 230px); height: auto; color: var(--gold-light);
  opacity: 0; transform: scale(0.94); animation: markIn 1.5s var(--ease) 0.15s forwards; }
@keyframes markIn { to { opacity: 1; transform: none; } }
.splash__word { margin-top: 1.8rem; display: flex; flex-direction: column; line-height: 1; opacity: 0; animation: fadein 1.4s var(--ease) 1.4s forwards; }
.splash__word b { font-family: var(--serif); font-weight: 500; font-size: 1.7rem; letter-spacing: 0.2em; color: var(--on-night); }
.splash__word span { font-size: 0.72rem; font-weight: 400; letter-spacing: 0.55em; color: var(--on-night-2); margin-top: 0.6rem; padding-left: 0.25em; }
.splash__claim { margin-top: 1.4rem; font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: rgba(244,242,232,0.55); opacity: 0; animation: fadein 1.4s var(--ease) 2.2s forwards; }
body.splash-lock { overflow: hidden; }

/* chip eyebrow (pattern Superpower) */
.hero__eyebrow.chip {
  display: inline-flex; align-items: center; gap: 0.55rem;
  border: 1px solid rgba(244,242,232,0.22); border-radius: var(--r-pill);
  padding: 0.5rem 1.1rem; margin-bottom: 2.2rem;
  font-size: 0.68rem; letter-spacing: 0.22em;
  background: rgba(20,23,15,0.25);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.hero__eyebrow.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--olive-soft); }

/* ============================================================
   NASTRO CLAIM — marquee lento, editoriale
   ============================================================ */
.ribbon { overflow: hidden; border-bottom: 1px solid var(--hairline); padding-block: 1.1rem; background: var(--paper); }
.ribbon__track { display: flex; width: max-content; animation: ribbon 46s linear infinite; }
.ribbon__set { display: flex; align-items: center; flex: none; }
.ribbon__set span {
  font-family: var(--serif); font-size: 1.05rem; font-style: italic;
  color: var(--ink-2); white-space: nowrap; padding-inline: 1.6rem;
}
.ribbon__set i { color: var(--olive-soft); font-style: normal; font-size: 0.7rem; }
@keyframes ribbon { to { transform: translateX(-50%); } }
.ribbon:hover .ribbon__track { animation-play-state: paused; }

/* ============================================================
   TEAM — slideshow orizzontale
   ============================================================ */
.team { margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.team-editorial {
  position: relative; padding: 0.36rem; aspect-ratio: 16 / 7.2; min-height: 330px;
  overflow: hidden; margin-bottom: clamp(2rem, 4vw, 3.2rem);
  border: 1px solid var(--hairline); border-radius: calc(var(--r-card) + 0.35rem);
  background: var(--paper); box-shadow: 0 24px 70px rgba(43,48,22,0.10);
}
.team-editorial img { width: 100%; height: 100%; object-fit: cover; object-position: center 44%; border-radius: var(--r-card); }
.team-editorial figcaption {
  position: absolute; left: clamp(1.1rem, 3vw, 2.2rem); bottom: clamp(1.1rem, 3vw, 2.2rem);
  width: min(390px, 42%); padding: 1.2rem 1.35rem; border-radius: var(--r-card);
  background: rgba(250,248,241,0.94); color: var(--ink); box-shadow: var(--shadow-soft);
}
.team-editorial figcaption p { font-family: var(--serif); font-size: var(--text-h-sm); line-height: 1.24; }
.team-editorial.media-break {
  aspect-ratio: 21 / 8;
  min-height: 420px;
  padding: 0;
  margin-block: 0 clamp(2.5rem, 5vw, 4rem);
  box-shadow: 0 30px 90px rgba(43,48,22,0.13);
}
.team-editorial.media-break figcaption {
  left: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
}
.team__rail {
  display: flex; gap: 1rem;
  overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; -ms-overflow-style: none;
  margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
  padding-bottom: 0.5rem;
}
.team__rail::-webkit-scrollbar { display: none; }
.tcard {
  flex: 0 0 clamp(230px, 26vw, 300px); scroll-snap-align: start;
  margin: 0; background: var(--card); border: 1px solid var(--hairline);
  border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-soft);
}
.tcard__icon {
  aspect-ratio: 4 / 2.35; position: relative; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--olive-mist) 0%, #E7E8DA 100%);
}
.tcard__icon svg { width: 4.2rem; height: 4.2rem; color: var(--olive-deep); }
.tcard__icon::after {
  content: attr(data-i); position: absolute; top: 0.9rem; left: 1.1rem;
  font-family: var(--serif); font-size: 1rem; color: var(--olive-deep); opacity: 0.55;
}
.tcard figcaption { padding: 1.1rem 1.2rem 1.3rem; }
.tcard b { display: block; font-weight: 500; font-size: var(--text-body); }
.tcard span { display: block; margin-top: 0.2rem; font-size: var(--text-caption); letter-spacing: 0.16em; text-transform: uppercase; color: var(--olive); }
.tcard p { margin-top: 0.55rem; font-size: var(--text-body); color: var(--ink-2); line-height: 1.5; }
.team__nav { display: flex; align-items: center; gap: 0.6rem; margin-top: 1.1rem; }
.team__btn {
  width: 2.6rem; height: 2.6rem; border-radius: 50%;
  border: 1px solid var(--hairline); color: var(--ink);
  display: grid; place-items: center; font-size: 1rem;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.team__btn:hover { border-color: var(--ink-3); background: var(--card); }
.team__nav .caption { margin-left: auto; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1020px) {
  .nav { gap: 1rem; }
  .nav__links { gap: 1rem; }
  .nav__lang { display: none; }
}
@media (max-width: 1060px) {
  .svc-grid { grid-template-columns: repeat(4, 1fr); }
  .areas { grid-template-columns: repeat(2, 1fr); }
  .values { grid-template-columns: repeat(2, 1fr); }
  .value, .value + .value { border-left: 0; padding-left: 0; border-top: 1px solid var(--hairline); margin-top: -1px; }
}
@media (max-width: 900px) {
  html { scroll-padding-top: 5.5rem; }
  .areas { grid-template-columns: 1fr; }
  .areas .area:nth-child(odd) { border-right: 0; }
  .areas .area { padding-inline: 0; }
  .nav__links, .nav__lang, .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .nav-shell.is-open .nav { border-radius: var(--r-card); }
  .nav__drawer { display: none; width: 100%; }
  .nav.is-open { flex-wrap: wrap; border-radius: var(--r-card); }
  .nav.is-open .nav__drawer { display: grid; gap: 0.2rem; padding: 0.9rem 0.55rem 0.75rem; border-top: 1px solid rgba(244,242,232,0.14); margin-top: 0.6rem; }
  .nav__drawer a { padding: 0.65rem 0.7rem; font-size: 1rem; color: rgba(244,242,232,0.8); border-radius: var(--r-sm); }
  .nav__drawer a:hover { background: rgba(244,242,232,0.07); color: #fff; }
  .nav__drawer .nav__lang-m { display: flex; gap: 1rem; padding: 0.8rem 0.7rem 0.2rem; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(244,242,232,0.4); }
  .nav__drawer .nav__lang-m [aria-current="true"] { color: #fff; }

  .manifesto, .about, .vm, .cta { grid-template-columns: 1fr; }
  .method-head { grid-template-columns: minmax(0,1fr); align-items: start; padding-right: 0; }
  .method-head > div:first-child { grid-column: 1; grid-row: 1; }
  .method-head > .lead { grid-column: 1; grid-row: 2; }
  @media (max-width: 600px) {
  h1 br, h2 br, .h-lg br { display: none; }
  .svc-grid { grid-template-columns: repeat(3, 1fr); gap: 1.4rem 0.5rem; }
  .ico { width: 2.9rem; height: 2.9rem; }
  .area { grid-template-columns: auto 1fr; gap: 1rem; padding-inline: 0 !important; }
  .areas .area:nth-child(odd) { border-right: 0; } /* niente a-capo forzati sui titoli stretti */
  .values { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .hero {
    padding: 7.5rem 1.2rem 5.6rem; min-height: 100svh;
    background-position: center, center, 72% center, center;
    background-image:
      linear-gradient(90deg, rgba(22,27,10,0.96) 0%, rgba(25,31,13,0.88) 55%, rgba(24,28,13,0.42) 100%),
      linear-gradient(180deg, rgba(20,24,10,0.28) 0%, transparent 34%, rgba(17,20,9,0.48) 100%),
      url("media/hero-longevity-v3.jpg"),
      linear-gradient(178deg, #2B3016, #171B0A);
  }
  .lockup { max-width: 100%; }
  .lockup__name { font-size: clamp(2.15rem, 11vw, 3.1rem); letter-spacing: 0.105em; margin-right: -0.105em; }
  .lockup__clinic { max-width: 22rem; }
  .hero__lead { max-width: 34ch; }
  .hero__trust { flex-direction: column; gap: 0.55rem; }
  .editorial-media,
  .team-editorial { aspect-ratio: auto; min-height: 0; }
  .editorial-media img,
  .team-editorial img { height: 270px; }
  .editorial-media figcaption,
  .team-editorial figcaption {
    position: static; width: auto; margin-top: 0.38rem; padding: 1.15rem 1.1rem;
    box-shadow: none; background: rgba(250,248,241,0.98);
  }
  .method-media { aspect-ratio: auto; min-height: 420px; }
  .method-media img { min-height: 420px; }
  .method-media::after { background: linear-gradient(0deg, rgba(22,27,10,0.92) 0%, rgba(22,27,10,0.32) 56%, transparent 100%); }
  .method-media figcaption { right: 1.3rem; }
  
}
}
/* schermi stretti: niente colonne affiancate dove le parole si spezzano */
@media (max-width: 480px) {
  .facts { grid-template-columns: minmax(0, 1fr); }
  .form-row { display: grid; grid-template-columns: minmax(0, 1fr); }
  .hero__actions { flex-direction: column; align-items: stretch; gap: 0.7rem; }
  .hero__actions .btn { justify-content: center; }
}
main:focus { outline: none; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
/* comando per fermare le animazioni (WCAG 2.2.2) */
.motion-toggle {
  font-size: var(--text-caption); letter-spacing: 0.08em; color: rgba(244,242,232,0.66);
  border-bottom: 1px solid rgba(244,242,232,0.28); padding-bottom: 2px;
}
.motion-toggle:hover { color: #F4F2E8; border-color: #F4F2E8; }
html.motion-off .ribbon__track { animation: none; }
html.motion-off *, html.motion-off *::before, html.motion-off *::after {
  animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
}
html.motion-off .reveal { opacity: 1 !important; transform: none !important; }
html.motion-off .media-reveal { clip-path: none !important; opacity: 1 !important; transform: none !important; }
html.motion-off .media-reveal > img { transform: none !important; }
html.motion-off .hero > *, html.motion-off .lockup > * { opacity: 1 !important; transform: none !important; animation: none !important; }
html.motion-off .splash { display: none !important; }

/* ---------- accessibilità ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .media-reveal { clip-path: none !important; opacity: 1 !important; transform: none !important; }
  .media-reveal > img { transform: none !important; }
  .js .hero > *, .js .lockup > *, .splash__mark { opacity: 1 !important; transform: none !important; animation: none !important; }
  .js .splash { display: none !important; }
  .ribbon__track { animation: none; }
  .js .splash { display: none; }
  html { scroll-behavior: auto; }
}
:focus-visible {
  outline: 2px solid #F4F2E8;          /* si vede sui fondi scuri */
  outline-offset: 2px;
  box-shadow: 0 0 0 4px #31331A;       /* si vede sui fondi chiari */
  border-radius: 3px;
}
.skip { position: absolute; left: -9999px; top: 0.5rem; z-index: 300; background: var(--ink); color: #fff; padding: 0.7rem 1.2rem; border-radius: var(--r-pill); }
.skip:focus { left: 0.5rem; }

/* mail principale in evidenza */
.cta__mail { margin-top: 1rem; font-size: var(--text-body); color: var(--ink-2); }
.cta__mail a { color: var(--gold); font-weight: 500; text-decoration: underline; text-underline-offset: 0.2em; }
.cta__mail a:hover { color: var(--ink); }
.footer__mail { color: #F4F2E8; font-weight: 500; }

/* nastro team continuo: scorrimento nativo + avanzamento automatico */
.team__rail.is-marquee {
  overflow: hidden; scroll-snap-type: none;
  touch-action: pan-y;
  user-select: none; -webkit-user-select: none;
}
.team__rail.is-marquee::-webkit-scrollbar { display: none; }
.team__rail.is-marquee.is-dragging { cursor: grabbing; }
.team__rail.is-marquee.is-dragging .tcard__more { pointer-events: none; }
.team__rail.is-marquee .team__track { display: flex; gap: 1rem; width: max-content; will-change: transform; }
.team__set { display: flex; gap: 1rem; padding-right: 1rem; flex: 0 0 auto; }
.team__nav { flex-wrap: wrap; }

/* comandi del nastro: grandi e chiari (pubblico 60+) — freccia · barra · freccia, didascalia sotto */
.team__nav { flex-wrap: wrap; align-items: center; gap: 0.9rem; margin-top: 1.4rem; }
.team__nav #teamprev { order: 1; }
.team__nav #teamnext { order: 2; }
.team__nav .caption { order: 3; flex: 1 1 100%; margin-left: 0; margin-top: 0.2rem; }
.team__btn {
  width: 3rem; height: 3rem; min-width: 3rem; border-radius: 999px;
  font-size: 1.35rem; line-height: 1; display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--ink-3); color: var(--ink); background: var(--card);
  box-shadow: var(--shadow-soft); cursor: pointer; transition: transform 0.15s, background 0.15s, border-color 0.15s;
}
.team__btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); transform: translateY(-1px); }
.team__btn:active { transform: translateY(0); }
.team__btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
@media (max-width: 480px) {
  .team__btn { width: 3.25rem; height: 3.25rem; min-width: 3.25rem; }
}
