/* ==========================================================================
   Gabriele Monaco Osteopata — bozza sito
   Font self-hosted (nessuna chiamata a Google Fonts): Newsreader + Hanken Grotesk
   ========================================================================== */

@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-opsz-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-opsz-italic.woff2") format("woff2");
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("../fonts/hanken-grotesk-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* palette dal profilo Instagram @osteopatagabrielemonaco */
  --paper: #fbf8ef;      /* crema dei post */
  --paper-2: #f2ede0;
  --white: #fffefa;
  --ink: #0f1d36;        /* testo: blu notte */
  --ink-soft: #414c62;
  --muted: #5e6779;
  --pine: #014cd1;       /* blu cobalto: fasce, bottoni, link */
  --pine-2: #024aa5;     /* blu profondo */
  --pine-ink: #eef3ff;
  --clay: #ec6516;       /* arancio: corsivi dei titoli, accenti (>= 3:1 sul crema) */
  --clay-text: #b54a08;  /* arancio scuro per le etichette piccole (AA) */
  --clay-soft: #ffd2b3;  /* pesca: accenti sulle fasce blu */
  --line: #ddd7c8;

  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(80px, 11vw, 150px);
  --radius: 18px;
  --ease: cubic-bezier(.22, .8, .24, 1);
}

/* ---------- base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(16px, 1.05vw + 10px, 18px);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; }
ul, ol { padding: 0; margin: 0; list-style: none; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0 0 1em; }

::selection { background: var(--clay-soft); color: var(--ink); }

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

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--pine); color: var(--white); padding: 10px 16px; border-radius: 8px; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- tipografia ---------- */
h1, h2 {
  font-family: var(--serif);
  font-optical-sizing: auto;
  letter-spacing: -0.015em;
  line-height: 1.04;
  text-wrap: balance;
}
h1 { font-size: clamp(46px, 7.2vw, 96px); font-weight: 380; }
h2 { font-size: clamp(36px, 4.8vw, 62px); font-weight: 380; }
h1 em, h2 em { font-style: italic; font-weight: 340; color: var(--clay); }

h3 {
  font-family: var(--serif);
  font-size: clamp(22px, 1.8vw, 27px);
  line-height: 1.2;
  font-weight: 450;
  letter-spacing: -0.005em;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 22px;
  font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--pine-2);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow-light { color: var(--clay-soft); }

.lead { font-size: clamp(18px, 1.3vw + 10px, 21px); color: var(--ink-soft); max-width: 34em; }

/* ---------- lettering (al posto del logo) ---------- */
.lettering {
  display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1;
}
.lettering-name {
  font-family: var(--serif);
  font-size: 25px; font-weight: 420; letter-spacing: -0.01em;
}
.lettering-role {
  display: flex; align-items: center; gap: 8px;
  margin-top: 6px;
  font-family: var(--sans);
  font-size: 10.5px; font-weight: 600; letter-spacing: .42em; text-transform: uppercase;
  color: var(--clay);
}
.lettering-role::before { content: ""; width: 18px; height: 1px; background: currentColor; }

/* ---------- bottoni ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px;
  border-radius: 999px; border: 1px solid var(--pine);
  background: var(--pine); color: var(--white);
  font-size: 16px; font-weight: 600; letter-spacing: .01em; text-decoration: none;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn:hover { background: var(--ink); border-color: var(--ink); transform: translateY(-1px); }
.btn-small { min-height: 42px; padding: 0 20px; font-size: 15px; }
.btn-ghost { background: transparent; color: var(--pine); }
.btn-ghost:hover { background: var(--pine); color: var(--white); border-color: var(--pine); }
.btn-light { background: var(--paper); color: var(--pine); border-color: var(--paper); }
.btn-light:hover { background: var(--white); border-color: var(--white); color: var(--ink); }
.btn-outline-light { background: transparent; color: var(--paper); border-color: rgba(251, 248, 239, .45); }
.btn-outline-light:hover { background: var(--paper); color: var(--pine); border-color: var(--paper); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 239, .86);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 80px; }

.nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 34px); }
.nav a:not(.btn) {
  position: relative; text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink-soft);
  transition: color .25s var(--ease);
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px;
  background: var(--clay); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav a:not(.btn):hover { color: var(--ink); }
.nav a:not(.btn):hover::after,
.nav a.is-active::after { transform: scaleX(1); }
.nav a.is-active { color: var(--ink); }

.menu-toggle {
  display: none; width: 48px; height: 48px; border: 0; background: transparent; cursor: pointer; padding: 0;
  position: relative;
}
.menu-toggle-bars,
.menu-toggle-bars::before,
.menu-toggle-bars::after {
  position: absolute; left: 12px; width: 24px; height: 1.5px; background: var(--ink); content: "";
  transition: transform .35s var(--ease), opacity .2s;
}
.menu-toggle-bars { top: 50%; }
.menu-toggle-bars::before { left: 0; top: -7px; }
.menu-toggle-bars::after { left: 0; top: 7px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(70px, 9vw, 120px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.hero-text h1 { margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 36px 0 52px; }

.hero-facts {
  display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0;
  margin: 0; border-top: 1px solid var(--line); padding-top: 22px;
}
.hero-facts div { padding-right: clamp(18px, 3vw, 40px); margin-right: clamp(18px, 3vw, 40px); border-right: 1px solid var(--line); }
.hero-facts div:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.hero-facts dt { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.hero-facts dd { margin: 0; font-family: var(--serif); font-size: 19px; white-space: nowrap; }

.hero-media { position: relative; }
.arch {
  aspect-ratio: 4 / 5;
  border-radius: 999px 999px var(--radius) var(--radius);
  overflow: hidden;
  background: var(--paper-2);
}
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 50%; animation: settle 1.6s var(--ease) both; }
@keyframes settle { from { transform: scale(1.08); } to { transform: scale(1); } }

.hero-card {
  position: absolute; left: clamp(-40px, -3vw, -16px); bottom: 40px;
  display: flex; align-items: center; gap: 16px;
  max-width: 300px; padding: 18px 22px;
  background: var(--white); border-radius: 14px;
  box-shadow: 0 24px 50px -24px rgba(15, 29, 54, .35);
}
.hero-card-num { font-family: var(--serif); font-size: 34px; line-height: 1; color: var(--pine); white-space: nowrap; }
.hero-card-txt { font-size: 14px; line-height: 1.4; color: var(--ink-soft); }

/* ---------- sezioni ---------- */
.section { padding: var(--section) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(48px, 6vw, 80px); }
.section-head h2 { margin-bottom: 24px; }
.section-lead { font-size: clamp(17px, 1vw + 10px, 20px); color: var(--ink-soft); max-width: 36em; }

/* chi sono */
.about { background: var(--white); }
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.about-visual { position: relative; display: flex; justify-content: center; }
.about-visual::before {
  content: ""; position: absolute; inset: 8% 4%; border-radius: 999px; background: var(--paper);
}
.about-visual img { position: relative; width: min(100%, 380px); mix-blend-mode: multiply; opacity: .9; }
.about-text h2 { margin-bottom: 30px; }
.about-text > p { color: var(--ink-soft); max-width: 36em; }

.quote {
  margin: 38px 0; padding: 4px 0 4px 28px; border-left: 2px solid var(--clay);
}
.quote p { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(22px, 1.8vw, 28px); line-height: 1.35; color: var(--ink); }

.cv { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; border-top: 1px solid var(--line); padding-top: 30px; }
.cv h3 { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.cv li { display: flex; flex-direction: column; padding: 10px 0; border-bottom: 1px solid var(--paper-2); }
.cv li:last-child { border-bottom: 0; }
.cv strong { font-family: var(--serif); font-size: 19px; font-weight: 450; }
.cv span { font-size: 15px; color: var(--ink-soft); }

/* approccio */
.approach { background: var(--pine); color: var(--pine-ink); }
.approach h2 { color: var(--paper); }
.approach h2 em { color: var(--clay-soft); }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid rgba(238, 243, 255, .2); }
.pillar { padding: 34px 34px 36px 0; }
.pillar + .pillar { padding-left: 34px; border-left: 1px solid rgba(238, 243, 255, .2); }
.pillar-num { display: block; font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--clay-soft); margin-bottom: 30px; }
.pillar h3 { color: var(--paper); font-size: clamp(28px, 2.6vw, 38px); margin-bottom: 14px; }
.pillar p { color: rgba(238, 243, 255, .78); margin: 0; }

.approach-media { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-auto-rows: clamp(200px, 22vw, 300px); gap: 16px; margin-top: clamp(50px, 6vw, 80px); }
.approach-media figure { border-radius: var(--radius); overflow: hidden; }
.approach-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.approach-media figure:hover img { transform: scale(1.04); }
.approach-note { margin: 30px 0 0; max-width: 40em; font-family: var(--serif); font-style: italic; font-size: clamp(19px, 1.4vw, 22px); color: var(--paper); }

/* sport */
.sport { background: var(--paper); }
.sport-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 36px); }
.sport-card { background: var(--white); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.sport-card img { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; }
.sport-card-body { padding: clamp(26px, 3vw, 40px); }
.sport-tag { font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--clay); margin-bottom: 12px; }
.sport-card h3 { margin-bottom: 14px; }
.sport-card p:last-child { color: var(--ink-soft); margin: 0; }

/* seduta */
.session { background: var(--white); }
.session-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.session-intro { position: sticky; top: 120px; }
.session-intro h2 { margin-bottom: 26px; }
.session-intro > p { color: var(--ink-soft); }
.session-img { margin-top: 36px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 5 / 4; }
.session-img img { width: 100%; height: 100%; object-fit: cover; }

.steps { counter-reset: step; }
.step {
  counter-increment: step;
  position: relative; display: grid; grid-template-columns: 74px 1fr; column-gap: 26px;
  padding: 34px 0; border-bottom: 1px solid var(--line);
}
.step:first-child { padding-top: 0; }
.step::before {
  content: counter(step, decimal-leading-zero);
  grid-row: span 3;
  font-family: var(--serif); font-size: 50px; line-height: .9; color: var(--clay); font-weight: 300;
}
.step-time { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--pine-2); margin-bottom: 8px; }
.step h3 { margin-bottom: 10px; }
.step p { margin: 0; color: var(--ink-soft); }

.after {
  margin-top: clamp(50px, 6vw, 80px);
  display: grid; grid-template-columns: .9fr 2.1fr; gap: 30px;
  padding: clamp(28px, 4vw, 44px); border-radius: var(--radius);
  background: var(--paper);
}
.after ul { display: grid; gap: 14px; }
.after li { position: relative; padding-left: 26px; color: var(--ink-soft); }
.after li::before { content: ""; position: absolute; left: 0; top: .82em; width: 12px; height: 1px; background: var(--clay); }

/* rete */
.network { background: var(--paper-2); padding: clamp(46px, 6vw, 70px) 0; }
.network-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.network-title { margin: 0; max-width: 22em; font-family: var(--serif); font-size: clamp(21px, 1.7vw, 26px); line-height: 1.3; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 9px 18px; border: 1px solid rgba(1, 76, 209, .28); border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--pine); background: rgba(255, 254, 250, .5); }

/* faq */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.faq-head { position: sticky; top: 120px; }
.faq-head h2 { margin-bottom: 26px; }
.faq-head p { color: var(--ink-soft); }
.faq-head a { color: var(--pine); text-underline-offset: 3px; text-decoration-color: var(--clay); }

.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  position: relative; list-style: none; cursor: pointer;
  padding: 26px 56px 26px 0;
  font-family: var(--serif); font-size: clamp(20px, 1.5vw, 23px); line-height: 1.3;
  transition: color .25s var(--ease);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before,
.faq-list summary::after {
  content: ""; position: absolute; right: 10px; top: 50%; width: 16px; height: 1.5px; background: var(--clay);
  transition: transform .35s var(--ease);
}
.faq-list summary::after { transform: rotate(90deg); }
.faq-list details[open] summary::after { transform: rotate(0deg); }
.faq-list summary:hover { color: var(--pine); }
.faq-list details p { margin: 0; padding: 0 56px 28px 0; color: var(--ink-soft); max-width: 40em; }
.faq-list details[open] p { animation: drop .45s var(--ease); }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* contatti */
.contact { background: var(--pine); color: var(--pine-ink); }
.contact h2 { color: var(--paper); margin-bottom: 24px; }
.contact h2 em { color: var(--clay-soft); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: stretch; }
.contact-text > p { color: rgba(238, 243, 255, .8); max-width: 30em; }

.contact-phone {
  display: inline-block; margin-top: 18px;
  font-family: var(--serif); font-size: clamp(40px, 5vw, 64px); line-height: 1.1; color: var(--paper);
  text-decoration: none; letter-spacing: -0.01em;
  transition: color .25s var(--ease);
}
.contact-phone:hover { color: var(--clay-soft); }
.contact-mail { display: block; margin-top: 6px; font-size: clamp(16px, 1.2vw, 19px); color: var(--paper); text-underline-offset: 4px; text-decoration-color: rgba(255, 210, 179, .6); overflow-wrap: anywhere; }

.contact-info { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 40px 0 34px; padding-top: 28px; border-top: 1px solid rgba(238, 243, 255, .2); }
.contact-info dt { font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--clay-soft); margin-bottom: 8px; }
.contact-info dd { margin: 0; color: var(--paper); }

.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.contact-links { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-top: 30px; }
.contact-links a { font-size: 15px; color: rgba(238, 243, 255, .85); text-underline-offset: 4px; text-decoration-color: rgba(255, 210, 179, .5); }
.contact-links a:hover { color: var(--paper); }

.contact-map { border-radius: var(--radius); overflow: hidden; min-height: 420px; background: var(--pine-2); }
.contact-map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; filter: grayscale(.35) contrast(.95); }

/* footer */
.site-footer { background: var(--ink); color: rgba(251, 248, 239, .7); padding: 54px 0 46px; }
.footer-inner { display: grid; gap: 18px; }
.lettering-footer .lettering-name { color: var(--paper); }
.lettering-footer .lettering-role { color: var(--clay-soft); }
.footer-meta, .footer-legal { margin: 0; font-size: 14px; }
.footer-meta a, .footer-legal a { color: inherit; text-underline-offset: 3px; }
.footer-legal { color: rgba(251, 248, 239, .5); }

/* barra mobile */
.mobile-bar { display: none; }

/* ---------- reveal (attivo solo con JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .arch img { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 1040px) {
  .nav { gap: 18px; }
  .nav a:not(.btn) { font-size: 14px; }
}

@media (max-width: 920px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: 80px 0 auto 0; z-index: 49;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px var(--gutter) 28px;
    background: var(--paper); border-bottom: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: transform .35s var(--ease), opacity .35s var(--ease), visibility .35s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { padding: 16px 0; font-family: var(--serif); font-size: 24px; color: var(--ink); border-bottom: 1px solid var(--line); }
  .nav a:not(.btn)::after { display: none; }
  .nav-cta { margin-top: 20px; min-height: 52px; }

  .hero-grid,
  .about-grid,
  .session-grid,
  .faq-grid,
  .contact-grid { grid-template-columns: 1fr; }

  .hero-media { max-width: 520px; width: 100%; justify-self: center; }
  .hero-card { left: 0; }

  .about-visual { order: 2; max-width: 260px; justify-self: center; }
  .session-intro, .faq-head { position: static; }

  .pillars { grid-template-columns: 1fr; }
  .pillar, .pillar + .pillar { padding: 28px 0; border-left: 0; border-bottom: 1px solid rgba(238, 243, 255, .2); }
  .pillar-num { margin-bottom: 12px; }

  .approach-media { grid-template-columns: 1fr 1fr; }
  .approach-media { grid-auto-rows: clamp(160px, 34vw, 300px); }
  .approach-media figure:first-child { grid-column: span 2; }

  .sport-grid { grid-template-columns: 1fr; }
  .after { grid-template-columns: 1fr; gap: 18px; }
  .contact-map, .contact-map iframe { min-height: 340px; }
}

@media (max-width: 640px) {
  body { padding-bottom: 64px; }
  .header-inner { min-height: 68px; }
  .nav { inset: 68px 0 auto 0; }
  .lettering-name { font-size: 22px; }
  .lettering-role { font-size: 9.5px; }

  .hero-actions .btn { flex: 1 1 100%; }
  .hero-facts { grid-template-columns: 1fr; gap: 14px; }
  .hero-facts div { border-right: 0; margin: 0; padding: 0; }
  .hero-card { position: relative; left: auto; bottom: auto; margin: -36px 16px 0; }

  .cv { grid-template-columns: 1fr; gap: 20px; }
  .step { grid-template-columns: 52px 1fr; column-gap: 16px; }
  .step::before { font-size: 38px; }
  .contact-info { grid-template-columns: 1fr; }
  .contact-actions .btn { flex: 1 1 100%; }
  .faq-list summary { padding-right: 44px; }
  .faq-list details p { padding-right: 0; }

  .mobile-bar {
    display: grid; grid-template-columns: repeat(3, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: var(--pine); border-top: 1px solid rgba(255, 255, 255, .08);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-bar a {
    display: flex; align-items: center; justify-content: center; min-height: 58px;
    color: var(--paper); text-decoration: none; font-weight: 600; font-size: 15px;
  }
  .mobile-bar a + a { border-left: 1px solid rgba(251, 248, 239, .15); }
}

/* ==========================================================================
   Versione multipagina: componenti aggiuntivi
   ========================================================================== */

/* voce di menu della pagina corrente */
.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }

/* H1 home: parola chiave sopra il titolo */
.h1-kicker {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 22px;
  font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--pine-2); line-height: 1.4;
}
.h1-kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.hero-facts dd a { text-decoration: none; border-bottom: 1px solid var(--clay-soft); }
.hero-facts dd a:hover { border-color: var(--clay); }

.text-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; color: var(--pine); text-decoration: none;
  border-bottom: 1px solid var(--clay); padding-bottom: 4px;
}
.text-link span { transition: transform .3s var(--ease); }
.text-link:hover span { transform: translateX(4px); }

/* intestazione pagine interne */
.page-hero { padding: clamp(28px, 4vw, 48px) 0 clamp(56px, 7vw, 96px); border-bottom: 1px solid var(--line); }
.page-hero-grid { display: grid; grid-template-columns: 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.page-hero-img .page-hero-grid { grid-template-columns: 1.15fr .85fr; }
.page-hero h1 { font-size: clamp(42px, 6vw, 82px); margin-bottom: 26px; }
.page-hero .lead { margin: 0; }
.page-hero .lead a { color: var(--pine); text-underline-offset: 3px; text-decoration-color: var(--clay); }
.arch-short { aspect-ratio: 5 / 6; }
.arch-short img { object-position: 50% 50%; }

.crumbs { margin-bottom: clamp(30px, 5vw, 60px); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { color: var(--clay); }

/* testo lungo */
.prose h2 { margin-bottom: 22px; }
.prose h2:not(:first-child) { margin-top: 48px; }
.prose p { color: var(--ink-soft); max-width: 38em; }
.prose a { color: var(--pine); text-underline-offset: 3px; text-decoration-color: var(--clay); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }

.check-list { display: grid; gap: 12px; margin-top: 8px; }
.check-list li { position: relative; padding: 14px 0 14px 34px; border-bottom: 1px solid var(--line); }
.check-list li::before {
  content: ""; position: absolute; left: 4px; top: 22px; width: 12px; height: 7px;
  border-left: 1.5px solid var(--clay); border-bottom: 1.5px solid var(--clay); transform: rotate(-45deg);
}

/* card servizi (home) */
.services { background: var(--paper); }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 30px); }
.card {
  display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); overflow: hidden;
  text-decoration: none; transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -36px rgba(15, 29, 54, .4); }
.card img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; }
.card-body { display: flex; flex-direction: column; gap: 10px; padding: 28px 28px 30px; flex: 1; }
.card-tag { font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--clay); }
.card-title { font-family: var(--serif); font-size: 26px; line-height: 1.15; }
.card-text { color: var(--ink-soft); font-size: 16px; }
.card-more { margin-top: auto; padding-top: 10px; font-weight: 600; color: var(--pine); }

/* per chi è indicata */
.audience { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.audience article { padding: 32px 32px 8px 0; }
.audience article + article { padding-left: 32px; border-left: 1px solid var(--line); }
.audience h3 { margin-bottom: 12px; }
.audience p { color: var(--ink-soft); }
.audience a { color: var(--pine); text-underline-offset: 3px; text-decoration-color: var(--clay); }

/* aspettative chiare */
.truth { background: var(--white); }
.truth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2.4vw, 30px); }
.truth-card { background: var(--paper); border-radius: var(--radius); padding: clamp(28px, 3.4vw, 44px); }
.truth-card h3 { margin-bottom: 14px; }
.truth-card p { margin: 0; color: var(--ink-soft); }

/* chi sono: formazione e collaborazioni */
.cv-section { background: var(--paper); }
.cv-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 7vw, 110px); }
.cv-grid + .cv-grid { margin-top: clamp(60px, 8vw, 110px); }
.timeline { border-top: 1px solid var(--line); }
.timeline li { padding: 26px 0; border-bottom: 1px solid var(--line); }
.timeline-kicker { display: block; font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--clay); margin-bottom: 8px; }
.timeline h3 { margin-bottom: 6px; }
.timeline p { margin: 0; color: var(--ink-soft); }

/* sport: righe immagine + testo */
.sport-row { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.sport-row + .sport-row { margin-top: clamp(70px, 9vw, 130px); }
.sport-row img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.sport-row-rev img { order: 2; }

/* seduta: riquadro "dopo" impilato */
.after-stack { grid-template-columns: 1fr; margin-top: 0; gap: 18px; }

/* FAQ pagina completa */
.faq-page .faq-grid + .faq-grid { margin-top: clamp(56px, 7vw, 90px); }
.faq-group { font-size: clamp(30px, 3vw, 40px); }

/* contatti */
.hours { border-collapse: collapse; margin-bottom: 6px; }
.hours th, .hours td { padding: 2px 0; text-align: left; font-weight: 400; }
.hours th { padding-right: 18px; }

/* continua a leggere */
.related { padding: clamp(60px, 8vw, 100px) 0; background: var(--paper); border-top: 1px solid var(--line); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related-card {
  position: relative; display: flex; flex-direction: column; gap: 8px;
  padding: 26px 56px 26px 26px; border: 1px solid var(--line); border-radius: 14px; background: var(--white);
  text-decoration: none; transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.related-card:hover { border-color: var(--clay); transform: translateY(-2px); }
.related-kicker { font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--clay); }
.related-title { font-family: var(--serif); font-size: 22px; line-height: 1.25; }
.related-arrow { position: absolute; right: 24px; top: 50%; transform: translateY(-50%); color: var(--pine); font-size: 20px; transition: transform .3s var(--ease); }
.related-card:hover .related-arrow { transform: translate(4px, -50%); }

/* fascia prenotazione */
.cta-band { background: var(--pine); color: var(--pine-ink); padding: clamp(64px, 8vw, 110px) 0; }
.cta-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-band h2 { color: var(--paper); }
.cta-band h2 em { color: var(--clay-soft); }
.cta-actions { display: grid; gap: 18px; justify-items: start; }
.cta-phone { font-family: var(--serif); font-size: clamp(36px, 4.4vw, 58px); line-height: 1; color: var(--paper); text-decoration: none; }
.cta-phone:hover { color: var(--clay-soft); }
.cta-buttons { display: flex; flex-wrap: wrap; gap: 12px; }

/* footer a colonne */
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(251, 248, 239, .12); }
.footer-nap { margin-top: 22px; font-style: normal; font-size: 15px; line-height: 1.8; }
.footer-nap a, .footer-col a { color: inherit; text-decoration: none; }
.footer-nap a:hover, .footer-col a:hover { color: var(--paper); }
.footer-title { margin: 0 0 12px; font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--clay-soft); }
.footer-col p { font-size: 15px; }
.footer-col p + .footer-title { margin-top: 22px; }
.footer-col ul { display: grid; gap: 6px; font-size: 15px; }
.site-footer .footer-legal { padding-top: 24px; margin-inline: auto; }
.site-footer .footer-legal p { margin: 0; font-size: 13px; }

/* privacy e 404 */
.legal { max-width: 820px; }
.legal h2 { font-size: clamp(26px, 2.4vw, 32px); }
.page-404 { padding: clamp(80px, 12vw, 160px) 0; border-bottom: 0; }

@media (max-width: 920px) {
  .page-hero-img .page-hero-grid,
  .split,
  .cv-grid,
  .sport-row { grid-template-columns: 1fr; }
  .page-hero-media { max-width: 420px; }
  .sport-row-rev img { order: 0; }
  .card-grid, .related-grid { grid-template-columns: 1fr; }
  .card { flex-direction: row; }
  .card img { width: 38%; aspect-ratio: auto; }
  .audience, .truth-grid { grid-template-columns: 1fr; }
  .audience article, .audience article + article { padding: 26px 0 6px; border-left: 0; border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 640px) {
  .card { flex-direction: column; }
  .card img { width: 100%; aspect-ratio: 16 / 10; }
  .page-hero-media { display: none; }
  .cta-buttons .btn { flex: 1 1 100%; }
  .cta-actions { justify-items: stretch; width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
}

/* ===== versione monopagina ===== */
/* etichette piccole: arancio più scuro per il contrasto AA (--clay-text in :root) */
.sport-tag, .card-tag, .timeline-kicker, .related-kicker, .step-time { color: var(--clay-text); }

.bg-white { background: var(--white); }
section[id] { scroll-margin-top: 88px; }

/* sottotitoli h3 dentro i blocchi di testo */
.prose h3 { margin-bottom: 16px; }
.prose h3:not(:first-child) { margin-top: 40px; }
.prose .eyebrow + h3 { margin-top: 0; }
.section-head + .split { margin-top: clamp(16px, 2vw, 28px); }
.sport-title { font-size: clamp(28px, 3vw, 42px); line-height: 1.1; margin-bottom: 20px; }
.sport-title em { font-style: italic; font-weight: 340; color: var(--clay); }
.sport .section-head { margin-bottom: clamp(40px, 5vw, 70px); }
.sport-notes { margin-top: clamp(70px, 9vw, 130px); padding-top: clamp(40px, 5vw, 60px); border-top: 1px solid var(--line); }
.visit-notes { margin-top: clamp(70px, 9vw, 120px); padding-top: clamp(40px, 5vw, 60px); border-top: 1px solid var(--line); }

/* FAQ in una sola colonna di domande, con titoli di gruppo */
.faq-list .faq-group { font-size: clamp(24px, 2.2vw, 30px); padding: 34px 0 10px; color: var(--pine); }
.faq-list .faq-group:first-child { padding-top: 18px; }
.faq-note a { color: var(--pine); }

/* nav: sezione attiva durante lo scroll */
.nav a[aria-current="true"] { color: var(--ink); }
.nav a[aria-current="true"]::after { transform: scaleX(1); }
