/* ==========================================================================
   COACH FITNESS GIRL — style.css
   Sistema di design: editoriale, tipografia forte, navy + rosso come accento.
   Indice
   01 Variabili e reset        08 Hero
   02 Tipografia               09 Home: metodo, percorsi, corsi, target, eventi, FAQ
   03 Layout e sezioni         10 Chi sono
   04 Bottoni e link           11 Personal Training
   05 Placeholder foto         12 Corsi / Nutrizione / Risultati
   06 Header e menu mobile     13 Eventi & Promozioni
   07 Footer e WhatsApp        14 Contatti e form
   15 Animazioni e accessibilità
   ========================================================================== */

/* 01 — VARIABILI E RESET ------------------------------------------------- */
:root {
  --color-navy: #202935;
  --color-navy-deep: #161c25;
  --color-red: #f22a2a;          /* accento: forme, numeri grandi, titoli grandi */
  --color-red-strong: #d41f1f;   /* rosso per testo piccolo e bottoni (contrasto AA su bianco) */
  --color-red-light: #ff6b6b;    /* rosso per testo su fondo scuro (contrasto AA) */
  --color-white: #ffffff;
  --color-offwhite: #f7f7f5;
  --color-soft: #efeeea;
  --color-text: #202935;
  --color-muted: #566070;
  --color-line: #e1e1dc;
  --color-wa: #25d366;

  --font-head: "Barlow Condensed", "Oswald", "Arial Narrow", Impact, sans-serif;
  --font-body: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-script: "Caveat", "Segoe Script", "Brush Script MT", cursive;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;

  --container: 1280px;
  --pad-x: clamp(20px, 4vw, 64px);
  --section-space: clamp(72px, 10vw, 150px);
  --header-h: 84px;

  --mobile: 480px;
  --tablet: 768px;
  --desktop: 1024px;
  --wide: 1440px;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.7;
  color: var(--color-text); background: var(--color-white); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img, svg { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, p, figure, blockquote, dl, dd { margin: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
main:focus { outline: none; }

:focus-visible { outline: 3px solid var(--color-red); outline-offset: 3px; border-radius: 4px; }
.section-dark :focus-visible, .site-footer :focus-visible, .cta-final :focus-visible { outline-color: #fff; }

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 2000; background: var(--color-navy); color: #fff;
  padding: 14px 22px; border-radius: 999px; font-weight: 800; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 16px; }

/* 02 — TIPOGRAFIA --------------------------------------------------------- */
.display {
  font-family: var(--font-head); font-weight: 700; text-transform: uppercase;
  line-height: 0.96; letter-spacing: 0.005em; font-size: clamp(2.3rem, 5vw, 4rem); color: var(--color-navy);
  text-wrap: balance;
}
.display--xl { font-size: clamp(2.9rem, 7.4vw, 6rem); line-height: 0.92; }
.display--lg { font-size: clamp(2.4rem, 5.4vw, 4.4rem); }
.display--md { font-size: clamp(2rem, 4vw, 3.25rem); }
.display--sober { font-weight: 600; letter-spacing: 0.01em; }
.display .line { display: block; }
.line--red, .text-red { color: var(--color-red); }
.text-red-light { color: var(--color-red-light); }
.h3-display { font-family: var(--font-head); text-transform: uppercase; font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.05; font-weight: 700; margin-bottom: 14px; }
h3 { font-family: var(--font-head); text-transform: uppercase; font-weight: 700; font-size: 1.6rem; line-height: 1.1; letter-spacing: .01em; }
.lead { font-size: clamp(1.125rem, 1.6vw, 1.3rem); line-height: 1.6; font-weight: 600; }
p + p, p + .btn-row, .lead + p { margin-top: 1.1em; }
.btn-row { margin-top: 32px; }
.lead-light { font-size: clamp(1.0625rem, 1.5vw, 1.2rem); line-height: 1.65; color: rgba(255, 255, 255, .86); max-width: 62ch; }
.lead-light + .lead-light { margin-top: 1em; }
.section-dark .display, .cta-final .display { color: #fff; }
.section-dark p, .cta-final p { color: rgba(255, 255, 255, .86); }
.section-dark h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin: 0 0 22px; font-weight: 800; font-size: .75rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--color-navy);
}
.eyebrow::before { content: ""; width: 30px; height: 4px; background: var(--color-red); transform: skewX(-25deg); flex: none; }
.eyebrow--light { color: #fff; }
.tick { display: inline-block; width: 10px; height: 10px; background: var(--color-red); transform: skewX(-20deg); margin-right: 12px; flex: none; }
.microcopy { display: flex; align-items: flex-start; margin-top: 26px; font-size: .95rem; line-height: 1.55; color: var(--color-muted); max-width: 52ch; }
.microcopy .tick { margin-top: 7px; }

.statement { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.05; color: var(--color-navy); margin-top: 1.2em; text-wrap: balance; }
.statement--sm { font-size: clamp(1.4rem, 2.2vw, 1.85rem); }
.section-dark .statement { color: #fff; }
.pullquote { margin-top: clamp(40px, 6vw, 88px); padding-left: clamp(20px, 3vw, 36px); border-left: 6px solid var(--color-red); }
.pullquote p { font-family: var(--font-head); font-weight: 600; text-transform: uppercase; font-size: clamp(2rem, 4.6vw, 3.8rem); line-height: 1; color: var(--color-navy); max-width: 22ch; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chips li { border: 1.5px solid var(--color-navy); border-radius: 999px; padding: 5px 14px; font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.text-muted { color: var(--color-muted); }

/* 03 — LAYOUT E SEZIONI --------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--pad-x); }
.container--narrow { max-width: 860px; }
.section { padding-block: var(--section-space); }
.section-tight { padding-block: clamp(40px, 6vw, 80px); }
.section-dark { background: var(--color-navy); color: #fff; }
.section-soft { background: var(--color-offwhite); }
.split { display: grid; gap: clamp(28px, 5vw, 80px); }
@media (min-width: 900px) {
  .split { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .split--intro { grid-template-columns: 6fr 5fr; }
  .split--audience { grid-template-columns: 5fr 6fr; }
  .split--faq { grid-template-columns: 4fr 7fr; }
  .split--events { grid-template-columns: 5fr 6fr; align-items: center; }
  .split--approach, .split--vision { grid-template-columns: 6fr 5fr; }
  .split--why { grid-template-columns: 5fr 6fr; align-items: center; }
  .split--people { grid-template-columns: 4fr 6fr; }
  .split--where { grid-template-columns: 5fr 6fr; align-items: center; }
  .split--real, .split--faqpt, .split--pers { grid-template-columns: 5fr 6fr; }
  .split--how { grid-template-columns: 4fr 7fr; }
  .split--oto { grid-template-columns: 4fr 7fr; align-items: center; }
  .split--online { grid-template-columns: 6fr 5fr; }
  .split--post { grid-template-columns: 5fr 6fr; align-items: center; }
  .split--course { grid-template-columns: 5fr 6fr; align-items: start; }
  .split--find, .split--week { grid-template-columns: 5fr 6fr; }
  .split--form { grid-template-columns: 4fr 7fr; }
  .split--beyond, .split--follow { grid-template-columns: 6fr 5fr; align-items: center; }
  .split--train-text, .split--edu { grid-template-columns: 1fr 1fr; }
  .split--useful { grid-template-columns: 4fr 7fr; }
  .split--event { grid-template-columns: 2fr 1fr; }
}
.split--course .course-media { position: sticky; top: calc(var(--header-h) + 24px); }
@media (min-width: 900px) { .course-block--rev .split--course { grid-template-columns: 6fr 5fr; } }
@media (max-width: 899px) { .split--course .course-media { position: static; } .course-block--rev .course-media { order: -1; } }

/* 04 — BOTTONI E LINK ----------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 54px; padding: 0 30px;
  border: 2px solid transparent; border-radius: 999px; font-weight: 800; font-size: .8rem; letter-spacing: .1em;
  text-transform: uppercase; text-decoration: none; text-align: center; line-height: 1.25; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn::after {
  content: ""; flex: none; width: 20px; height: 11px; background: currentColor; transition: transform .3s var(--ease);
  -webkit-mask: var(--arrow) center / contain no-repeat; mask: var(--arrow) center / contain no-repeat;
}
:root { --arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 12'%3E%3Cpath d='M0 6h20M15 1l5 5-5 5' fill='none' stroke='black' stroke-width='1.8'/%3E%3C/svg%3E"); }
.btn:hover::after { transform: translateX(5px); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--color-red-strong); color: #fff; }
.btn--primary:hover { background: var(--color-navy); box-shadow: 0 10px 24px rgba(32, 41, 53, .22); }
.section-dark .btn--primary:hover, .cta-final .btn--primary:hover { background: #fff; color: var(--color-navy); }
.btn--secondary { border-color: var(--color-navy); color: var(--color-navy); background: transparent; }
.btn--secondary:hover { background: var(--color-navy); color: #fff; }
.btn--secondary-light { border-color: rgba(255, 255, 255, .85); color: #fff; background: transparent; }
.btn--secondary-light:hover { background: #fff; color: var(--color-navy); }
.btn--wa { background: var(--color-wa); color: var(--color-navy); }
.btn--wa:hover { background: #fff; box-shadow: 0 10px 24px rgba(0, 0, 0, .2); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: .72rem; }
.btn--sm::after { display: none; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
@media (max-width: 559px) { .btn-row .btn { width: 100%; } }

.link-arrow {
  display: inline-flex; align-items: center; gap: 12px; padding: 6px 0; margin-top: 20px; font-weight: 800; font-size: .8125rem;
  letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: var(--color-navy);
  border-bottom: 2px solid var(--color-red); line-height: 1.3;
}
.link-arrow::after {
  content: ""; flex: none; width: 22px; height: 12px; background: currentColor; transition: transform .3s var(--ease);
  -webkit-mask: var(--arrow) center / contain no-repeat; mask: var(--arrow) center / contain no-repeat;
}
.link-arrow:hover::after, .hover-group:hover .link-arrow::after { transform: translateX(7px); }
.section-dark .link-arrow, .cta-final .link-arrow { color: #fff; border-color: var(--color-red-light); }
.stretched::before { content: ""; position: absolute; inset: 0; z-index: 1; }
.hover-group { position: relative; }

/* 05 — PLACEHOLDER FOTOGRAFICI --------------------------------------------- */
.image-placeholder {
  position: relative; isolation: isolate; overflow: hidden; width: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 12px;
  padding: clamp(14px, 2vw, 22px); background: var(--color-soft); border: 1px solid #d6d5cf; border-radius: var(--radius-md); color: var(--color-navy);
  transition: transform .9s var(--ease);
}
.image-placeholder::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    repeating-linear-gradient(-45deg, rgba(32, 41, 53, .04) 0 1px, transparent 1px 16px),
    radial-gradient(circle at 78% 20%, rgba(242, 42, 42, .11), transparent 42%);
}
.image-placeholder::after {
  content: ""; position: absolute; z-index: -1; right: -20%; bottom: -22%; width: 78%; aspect-ratio: 1; border-radius: 50%;
  border: 1px solid rgba(32, 41, 53, .16);
  box-shadow: 0 0 0 26px transparent, 0 0 0 27px rgba(32, 41, 53, .09), 0 0 0 54px transparent, 0 0 0 55px rgba(32, 41, 53, .05);
}
.image-placeholder span {
  align-self: flex-start; background: var(--color-red-strong); color: #fff; padding: 7px 11px; border-radius: 3px;
  font-weight: 800; font-size: .6875rem; letter-spacing: .14em; line-height: 1.2; text-transform: uppercase;
}
.image-placeholder small { align-self: flex-end; text-align: right; font-weight: 600; font-size: .75rem; color: var(--color-muted); letter-spacing: .02em; }
.ratio-4-5 { aspect-ratio: 4 / 5; }
.ratio-3-4 { aspect-ratio: 3 / 4; }
.ratio-16-9 { aspect-ratio: 16 / 9; }
.ratio-square { aspect-ratio: 1 / 1; }

/* 06 — HEADER E MENU MOBILE ------------------------------------------------ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 900; height: var(--header-h); background: transparent;
  transition: height .3s var(--ease), background-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled, .site-header.menu-open { background: rgba(255, 255, 255, .97); box-shadow: 0 1px 0 rgba(32, 41, 53, .08), 0 6px 20px rgba(32, 41, 53, .04); }
.site-header.is-scrolled { height: 68px; }
@supports (backdrop-filter: blur(10px)) { .site-header.is-scrolled { backdrop-filter: blur(12px); background: rgba(255, 255, 255, .92); } }
.header-inner { height: 100%; width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: clamp(20px, 3vw, 48px); display: flex; align-items: center; gap: clamp(14px, 2vw, 32px); }
.logo { display: inline-flex; flex: none; text-decoration: none; line-height: 1; }
.logo-img { display: block; height: 66px; width: auto; transition: height .3s var(--ease); }
.site-header.is-scrolled .logo-img { height: 52px; }
.site-footer .logo-img { height: 84px; }
@media (max-width: 479px) { .logo-img { height: 54px; } .site-header.is-scrolled .logo-img { height: 46px; } }
.photo { display: block; object-fit: cover; width: 100%; height: auto; padding: 0; background: var(--color-soft); }
.photo--wide { aspect-ratio: 4 / 3; border-radius: var(--radius-md); margin-bottom: 28px; }
.logo-placeholder { display: inline-flex; align-items: baseline; gap: 6px; color: var(--color-navy); }
.logo-word { font-family: var(--font-head); font-weight: 800; font-size: 1.9rem; letter-spacing: .04em; }
.logo-script { font-family: var(--font-script); font-weight: 600; font-size: 1.7rem; color: var(--color-red); transform: rotate(-4deg); }
.logo-placeholder--light { color: #fff; }
.logo-placeholder--light .logo-script { color: var(--color-red-light); }
.main-nav { margin-left: auto; display: none; }
.main-nav ul { list-style: none; display: flex; gap: clamp(14px, 1.5vw, 26px); }
.main-nav a { position: relative; display: inline-block; padding: 8px 0; font-weight: 700; font-size: .875rem; text-decoration: none; color: var(--color-navy); white-space: nowrap; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 2px; height: 3px; background: var(--color-red); transition: right .3s var(--ease); }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { right: 0; }
.header-cta { margin-left: auto; display: none; white-space: nowrap; }
.nav-toggle { position: relative; width: 48px; height: 48px; margin-left: auto; border: 0; background: transparent; border-radius: 50%; flex: none; }
.header-cta + .nav-toggle { margin-left: 0; }
.nav-toggle-bars, .nav-toggle-bars::before { content: ""; position: absolute; left: 12px; right: 12px; height: 2px; background: var(--color-navy); transition: transform .3s var(--ease), top .3s var(--ease); }
.nav-toggle-bars { top: 18px; }
.nav-toggle-bars::before { top: 10px; left: 0; right: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { top: 23px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 0; transform: rotate(-90deg); }
@media (min-width: 640px) { .header-cta { display: inline-flex; } .header-cta + .nav-toggle { margin-left: 0; } }
@media (min-width: 1240px) {
  /* Menu centrato rispetto alla pagina: logo | menu | CTA su tre colonne (1fr auto 1fr) */
  .header-inner { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; }
  .main-nav { display: block; margin-left: 0; justify-self: center; }
  .main-nav ul { gap: clamp(12px, 1.2vw, 24px); }
  .header-cta { margin-left: 0; justify-self: end; padding: 0 18px; font-size: .68rem; }
  .nav-toggle { display: none; } .drawer { display: none !important; }
}
@media (min-width: 1240px) and (max-width: 1365px) { .main-nav ul { gap: 10px; } .main-nav a { font-size: .8rem; } .header-cta { padding: 0 14px; font-size: .62rem; letter-spacing: .06em; } }
@media (min-width: 1400px) { .header-cta { padding: 0 24px; font-size: .72rem; } }
.drawer {
  position: fixed; inset: 0; z-index: 890; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; overflow-y: auto;
  padding: calc(var(--header-h) + 16px) var(--pad-x) 32px; background: #fff; visibility: hidden; opacity: 0; transform: translateY(-10px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
}
.drawer.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.drawer-nav ul { list-style: none; }
.drawer-nav a { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--color-line); font-family: var(--font-head); font-weight: 700; font-size: 2rem; text-transform: uppercase; text-decoration: none; color: var(--color-navy); line-height: 1.1; }
.drawer-nav a::after { content: ""; width: 22px; height: 12px; background: var(--color-red); -webkit-mask: var(--arrow) center / contain no-repeat; mask: var(--arrow) center / contain no-repeat; }
.drawer-nav a[aria-current="page"] { color: var(--color-red-strong); }
.drawer-foot { display: grid; gap: 12px; }

/* 07 — FOOTER E WHATSAPP --------------------------------------------------- */
.site-footer { background: var(--color-navy-deep); color: rgba(255, 255, 255, .8); padding-top: clamp(56px, 7vw, 96px); font-size: .95rem; }
.footer-grid { display: grid; gap: 40px; padding-bottom: clamp(40px, 5vw, 64px); }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.4fr; } }
.footer-brand p { margin-top: 18px; max-width: 28ch; font-family: var(--font-head); text-transform: uppercase; font-size: 1.5rem; line-height: 1.1; color: #fff; }
.footer-title { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer-title::after { content: ""; display: block; width: 28px; height: 3px; background: var(--color-red); margin-top: 10px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: rgba(255, 255, 255, .82); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--color-red-light); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; padding-block: 24px; border-top: 1px solid rgba(255, 255, 255, .12); }
.legal { font-size: .8125rem; color: rgba(255, 255, 255, .7); line-height: 1.6; margin: 0; }
@media (max-width: 899px) { .hero-frame::after { left: -8px; } }
@media (max-width: 767px) { .footer-bottom { padding-bottom: 96px; } }

.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 999; display: flex; align-items: center; gap: 10px; text-decoration: none;
  transition: transform .3s var(--ease), opacity .25s;
}
.wa-float picture { position: relative; display: block; flex: none; width: 108px; height: 108px; }
.wa-avatar { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 8px 14px rgba(22, 28, 37, .32)); transition: transform .35s var(--ease); }
.wa-float:hover .wa-avatar, .wa-float:focus-visible .wa-avatar { transform: scale(1.07) rotate(-3deg); }
.wa-float:focus-visible { outline-color: var(--color-navy); outline-offset: 6px; border-radius: 999px; }
body.menu-open .wa-float, .wa-float.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.wa-label {
  order: -1; background: var(--color-navy); color: #fff; padding: 11px 18px; border-radius: 999px 999px 4px 999px; white-space: nowrap;
  font-weight: 800; font-size: .95rem; letter-spacing: .01em; box-shadow: 0 8px 20px rgba(22, 28, 37, .25); transition: background-color .25s;
}
.wa-float:hover .wa-label { background: var(--color-red-strong); }
@media (max-width: 767px) {
  .wa-float { right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); }
  .wa-float picture { width: 88px; height: 88px; }
  .wa-label { display: none; }
}

/* 08 — HERO ---------------------------------------------------------------- */
.hero, .page-hero { position: relative; background: var(--color-offwhite); overflow: hidden; }
.hero { padding: calc(var(--header-h) + clamp(28px, 5vw, 72px)) 0 clamp(56px, 8vw, 120px); }
.page-hero { padding: calc(var(--header-h) + clamp(20px, 3vw, 44px)) 0 clamp(44px, 6vw, 96px); }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg::before {
  content: ""; position: absolute; inset: 0 0 0 auto; width: 52%;
  background: repeating-linear-gradient(115deg, rgba(32, 41, 53, .05) 0 1px, transparent 1px 24px);
  -webkit-mask-image: linear-gradient(to left, #000 30%, transparent); mask-image: linear-gradient(to left, #000 30%, transparent);
}
.hero-bg::after { content: ""; position: absolute; right: -14vw; top: -10vw; width: min(52vw, 760px); aspect-ratio: 1; border: 2px solid rgba(242, 42, 42, .55); border-radius: 50%; }
.hero-grid { position: relative; display: grid; gap: clamp(36px, 5vw, 72px); align-items: center; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
  .hero-grid--about, .hero-grid--pt { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
}
.hero-copy .lead { margin-top: 26px; max-width: 34ch; }
.hero-copy p { max-width: 54ch; }
.hero-copy .display + p { margin-top: 26px; }
.hero-visual { position: relative; max-width: 520px; width: 100%; justify-self: center; }
.hero-frame { position: relative; }
.hero-frame::before { content: ""; position: absolute; inset: 0; border: 1.5px solid var(--color-navy); border-radius: var(--radius-lg); transform: translate(16px, 16px); z-index: 0; }
.hero-frame::after { content: ""; position: absolute; left: -18px; bottom: 26%; width: 54px; height: 54px; background: var(--color-red); transform: skewY(-12deg); z-index: 2; }
.hero-frame .image-placeholder { position: relative; z-index: 1; border-radius: var(--radius-lg); background-color: var(--color-soft); }
.hero-script { position: absolute; z-index: 3; left: -4%; bottom: 7%; font-family: var(--font-script); font-weight: 600; font-size: clamp(2.4rem, 4vw, 3.4rem); color: var(--color-red-strong); transform: rotate(-7deg); line-height: 1; text-shadow: 0 2px 0 #fff; }
.breadcrumb { margin-bottom: 28px; font-size: .8125rem; font-weight: 600; color: var(--color-muted); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: #9aa1ab; }
.breadcrumb a { text-decoration: none; } .breadcrumb a:hover { text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--color-navy); }

/* 09 — HOME ---------------------------------------------------------------- */
.intro-text p { max-width: 54ch; }
.intro-text .lead { margin-bottom: 1em; }

/* Metodo */
.method-head { max-width: 760px; }
.method-head .display { margin-bottom: 24px; }
.method-steps { list-style: none; position: relative; margin-top: clamp(48px, 6vw, 96px); padding-left: clamp(20px, 3vw, 44px); }
.method-steps::before, .method-steps::after, .steps-v::before, .steps-v::after { content: ""; position: absolute; left: 0; top: 0; width: 2px; }
.method-steps::before { bottom: 0; background: rgba(255, 255, 255, .16); }
.method-steps::after { height: calc(var(--progress, 0) * 100%); background: var(--color-red); transition: height .15s linear; }
.method-step { display: grid; grid-template-columns: auto 1fr; gap: 16px clamp(20px, 4vw, 72px); align-items: center; padding-block: clamp(28px, 4vw, 48px); border-top: 1px solid rgba(255, 255, 255, .12); }
.method-step:first-child { border-top: 0; }
@media (min-width: 900px) { .method-step { grid-template-columns: minmax(220px, .8fr) 1.2fr; } }
.method-num { font-family: var(--font-head); font-weight: 700; line-height: .85; font-size: clamp(5rem, 14vw, 11rem); color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .4); transition: color .5s var(--ease), -webkit-text-stroke-color .5s var(--ease); }
.method-step.is-active .method-num { color: var(--color-red); -webkit-text-stroke-color: var(--color-red); }
.method-body h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 12px; }
.method-body p { max-width: 52ch; }
.method-foot { margin-top: clamp(40px, 6vw, 80px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.method-foot .statement { margin: 0; max-width: 22ch; }
@media (max-width: 899px) { .method-step { grid-template-columns: 1fr; } .method-num { font-size: 4.5rem; } }

/* I percorsi */
.paths-head { max-width: 900px; }
.paths-head .lead { margin-top: 24px; max-width: 58ch; }
.path { display: grid; gap: 28px; margin-top: clamp(56px, 8vw, 120px); align-items: center; }
@media (min-width: 900px) {
  .path { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); }
  .path--a .path-media { grid-column: 1 / 7; } .path--a .path-text { grid-column: 8 / 13; }
  .path--b .path-text { grid-column: 1 / 6; } .path--b .path-media { grid-column: 6 / 13; }
  .path--c .path-media { grid-column: 2 / 6; } .path--c .path-text { grid-column: 7 / 13; }
  .path--b .path-media, .path--b .path-text { grid-row: 1; }
}
@media (max-width: 899px) { .path--b .path-media { order: -1; } }
.path-media { overflow: hidden; border-radius: var(--radius-md); }
.path:hover .path-media .image-placeholder { transform: scale(1.035); }
.path-num { display: block; font-family: var(--font-head); font-weight: 700; font-size: clamp(4rem, 8vw, 7rem); line-height: .85; color: transparent; -webkit-text-stroke: 1.5px var(--color-red); margin-bottom: 14px; }
.path-text h3 { font-size: clamp(2.2rem, 4.2vw, 3.6rem); line-height: .98; transition: color .3s; }
.path:hover .path-text h3 { color: var(--color-red-strong); }
.path-tag { margin-top: 14px; font-weight: 800; font-size: 1.05rem; }
.path-text p { max-width: 46ch; }

/* I tre corsi */
.courses-head { max-width: 860px; }
.courses-head .display { margin-bottom: 24px; }
.course-panels { display: grid; gap: clamp(48px, 6vw, 72px) clamp(20px, 2.4vw, 40px); margin-top: clamp(48px, 6vw, 90px); }
@media (min-width: 900px) {
  .course-panels { grid-template-columns: 1.12fr 1fr 1fr; align-items: start; }
  .course-panel:nth-child(2) { margin-top: clamp(40px, 6vw, 96px); }
  .course-panel:nth-child(3) { margin-top: clamp(80px, 12vw, 192px); }
}
.course-visual { position: relative; display: block; overflow: hidden; border-radius: var(--radius-lg); border: 2px solid transparent; text-decoration: none; transition: border-color .3s var(--ease); }
.course-visual .image-placeholder { border: 0; border-radius: 0; }
.course-visual .image-placeholder small { display: none; }
.course-panel:hover .course-visual, .course-visual:focus-visible { border-color: var(--color-red); }
.course-panel:hover .image-placeholder { transform: scale(1.04); }
.course-chip { position: absolute; z-index: 2; right: 14px; top: 14px; background: var(--color-navy); color: #fff; padding: 8px 14px; border-radius: 999px; font-weight: 800; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.course-title {
  position: absolute; z-index: 2; inset: auto 0 0 0; display: flex; align-items: flex-end; gap: 12px; padding: 56px 18px 18px;
  background: linear-gradient(to top, rgba(22, 28, 37, .94) 25%, rgba(22, 28, 37, 0)); color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: clamp(1.8rem, 2.6vw, 2.4rem); line-height: 1; text-transform: uppercase; transition: padding .35s var(--ease);
}
.course-panel:hover .course-title { padding-bottom: 24px; }
.course-num { font-size: .95rem; color: var(--color-red-light); letter-spacing: .1em; align-self: flex-start; margin-top: 4px; }
.course-arrow { margin-left: auto; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--color-red-strong); display: grid; place-items: center; }
.course-arrow::after { content: ""; width: 18px; height: 10px; background: #fff; transition: transform .3s var(--ease); -webkit-mask: var(--arrow) center / contain no-repeat; mask: var(--arrow) center / contain no-repeat; }
.course-panel:hover .course-arrow::after { transform: translateX(5px); }
.course-copy { padding-top: 24px; }
.course-copy h3 { font-size: 1.55rem; margin-bottom: 14px; }
.course-copy h3 span { display: block; font-size: 1.05rem; font-family: var(--font-body); text-transform: none; font-weight: 700; color: var(--color-red-light); margin-top: 6px; }
.course-copy p { font-size: .98rem; }
.course-ideal { margin-top: 14px; font-size: .92rem !important; }
.courses-foot { margin-top: clamp(56px, 8vw, 120px); padding-top: 40px; border-top: 1px solid rgba(255, 255, 255, .16); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.courses-foot .h3-display { color: #fff; font-size: clamp(2rem, 3.4vw, 2.8rem); margin-bottom: 6px; }

/* A chi mi rivolgo */
.audience-intro .display { margin-bottom: 22px; }
.audience-intro .lead { max-width: 40ch; }
.audience-list { list-style: none; }
.audience-list li { display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: baseline; padding: 22px 0; border-top: 1px solid var(--color-line); font-size: 1.05rem; font-weight: 500; }
.audience-list li:last-child { border-bottom: 1px solid var(--color-line); }
.al-n { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; color: var(--color-red-strong); }

/* Eventi teaser */
.events-teaser { background: var(--color-offwhite); }
.events-stack { position: relative; padding-bottom: 14%; max-width: 560px; }
.events-ph-a { width: 74%; }
.events-stack .events-ph-b { position: absolute; right: 0; bottom: 0; width: 46%; border: 6px solid var(--color-offwhite); border-radius: var(--radius-md); }
.events-teaser .display { margin-bottom: 22px; }
.events-teaser .chips { margin-bottom: 8px; }

/* FAQ */
.faq-head .display { margin-bottom: 18px; } .faq-head .btn { margin-top: 26px; }
.faq-item { border-top: 1px solid var(--color-line); }
.faq-item:last-child { border-bottom: 1px solid var(--color-line); }
.faq-item h3 { font: inherit; text-transform: none; letter-spacing: 0; }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; background: none; border: 0; text-align: left; font-weight: 800; font-size: 1.08rem; line-height: 1.4; color: var(--color-navy); }
.faq-q:hover { color: var(--color-red-strong); }
.faq-icon { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--color-navy); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 2px; background: var(--color-navy); transform: translate(-50%, -50%); transition: transform .3s var(--ease); }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-q[aria-expanded="true"] .faq-icon { background: var(--color-red-strong); border-color: var(--color-red-strong); }
.faq-q[aria-expanded="true"] .faq-icon::before, .faq-q[aria-expanded="true"] .faq-icon::after { background: #fff; }
.faq-q[aria-expanded="true"] .faq-icon::after { transform: translate(-50%, -50%) rotate(0); }
.faq-a { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .4s var(--ease), visibility 0s linear .4s; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 48px 26px 0; max-width: 62ch; color: var(--color-text); }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; visibility: visible; transition-delay: 0s; }
.faq-a a { color: var(--color-red-strong); font-weight: 700; }

/* CTA finale */
.cta-final { position: relative; overflow: hidden; padding-block: var(--section-space); background: var(--color-navy); }
.cta-final::before { content: ""; position: absolute; right: -12vw; bottom: -22vw; width: min(60vw, 820px); aspect-ratio: 1; border: 2px solid rgba(242, 42, 42, .6); border-radius: 50%; }
.cta-final::after { content: ""; position: absolute; right: -4vw; bottom: -14vw; width: min(40vw, 560px); aspect-ratio: 1; border: 1px solid rgba(255, 255, 255, .14); border-radius: 50%; }
.cta-final-inner { position: relative; z-index: 1; }
.cta-final-inner > div { max-width: 820px; }
.cta-final .display { font-size: clamp(2.6rem, 6.4vw, 5.2rem); margin-bottom: 26px; }
.cta-final .lead-light { margin-top: 0; font-size: clamp(1.1rem, 1.7vw, 1.3rem); }
.cta-final .lead-light + .lead-light { margin-top: 14px; }
.cta-final .btn-row { margin-top: 36px; }
.cta-tagline { margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .16); font-weight: 700; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .78) !important; }
.cta-tagline a { text-decoration: none; } .cta-tagline a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--color-red-light); }

/* 10 — CHI SONO ------------------------------------------------------------- */
.hero-script { pointer-events: none; }
.approach .display { max-width: 16ch; }
.approach p, .why p { max-width: 54ch; }
.why .display { margin-bottom: 22px; }
.why-media { max-width: 520px; }
.principles-grid { display: grid; margin-top: clamp(40px, 6vw, 72px); border-top: 2px solid var(--color-navy); }
@media (min-width: 800px) { .principles-grid { grid-template-columns: repeat(2, 1fr); } .principle:nth-child(odd) { border-right: 1px solid var(--color-line); } }
.principle { padding: clamp(28px, 4vw, 52px) clamp(0px, 3vw, 44px) clamp(28px, 4vw, 52px) 0; border-bottom: 1px solid var(--color-line); }
@media (min-width: 800px) { .principle:nth-child(even) { padding-left: clamp(24px, 4vw, 52px); } }
.pr-n { display: block; font-family: var(--font-head); font-weight: 700; font-size: 3.4rem; line-height: 1; color: var(--color-red); margin-bottom: 8px; }
.principle h3 { font-size: 1.9rem; margin-bottom: 12px; }
.principle p { max-width: 44ch; }
.people .display { margin-bottom: 22px; }
.tag-list { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; }
.tag-list li { border: 1.5px solid rgba(255, 255, 255, .28); border-radius: 999px; padding: 11px 20px; font-weight: 600; font-size: .98rem; color: #fff; transition: background-color .25s, border-color .25s; }
.tag-list li:hover { border-color: var(--color-red-light); background: rgba(255, 255, 255, .05); }
.edu-head { max-width: 780px; } .edu-head .display { margin-bottom: 24px; }
.timeline { list-style: none; position: relative; margin: clamp(48px, 6vw, 88px) 0; display: grid; gap: 40px; padding-left: 36px; border-left: 2px solid var(--color-navy); }
@media (min-width: 900px) { .timeline { grid-template-columns: repeat(3, 1fr); gap: 0 clamp(24px, 3vw, 48px); padding: 0; border-left: 0; border-top: 2px solid var(--color-navy); } }
.tl-item { position: relative; padding-top: 4px; }
@media (min-width: 900px) { .tl-item { padding-top: 36px; } }
.tl-dot { position: absolute; left: -45px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--color-navy); }
@media (min-width: 900px) { .tl-dot { left: 0; top: -9px; } }
.tl-item--highlight .tl-dot { border-color: var(--color-red); background: var(--color-red); }
.tl-kicker { font-weight: 800; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--color-red-strong); margin-bottom: 8px; }
.tl-item h3 { font-size: clamp(1.4rem, 2vw, 1.75rem); text-transform: none; font-family: var(--font-body); font-weight: 800; line-height: 1.25; }
.tl-class { margin-top: 10px !important; font-weight: 700; color: var(--color-muted); }
.tl-figures { margin-top: 14px !important; font-family: var(--font-head); font-size: 2rem; text-transform: uppercase; color: var(--color-navy); }
.tl-figures strong { font-weight: 700; }
.edu-text p { max-width: 54ch; }
.vision .display { max-width: 15ch; }
.triad { margin-top: 28px !important; display: flex; flex-wrap: wrap; gap: 8px 22px; font-family: var(--font-head); font-size: clamp(1.8rem, 3vw, 2.5rem); text-transform: uppercase; font-weight: 700; line-height: 1; }
.triad span:nth-child(2) { color: var(--color-red); }
.more-list { margin-top: 36px; }
.more-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 8px 24px; align-items: center; padding: 30px 0; border-top: 1px solid var(--color-line); text-decoration: none; transition: padding-left .35s var(--ease); }
.more-item:last-child { border-bottom: 1px solid var(--color-line); }
.more-item:hover { padding-left: 14px; }
.more-n { font-family: var(--font-head); font-weight: 700; font-size: 1.6rem; color: var(--color-red-strong); }
.more-body strong { display: block; font-family: var(--font-head); text-transform: uppercase; font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.05; }
.more-body span { display: block; margin-top: 4px; color: var(--color-muted); max-width: 52ch; }
.more-item .link-arrow { margin: 0; }
@media (max-width: 719px) { .more-item { grid-template-columns: 40px 1fr; } .more-item .link-arrow { grid-column: 2; justify-self: start; margin-top: 8px; } }

/* 11 — PERSONAL TRAINING ---------------------------------------------------- */
.address-big { font-style: normal; font-family: var(--font-head); text-transform: uppercase; font-weight: 700; font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1.05; margin: 18px 0 22px; }
.address-big span { display: block; margin-top: 8px; font-family: var(--font-body); font-size: .9rem; letter-spacing: .12em; font-weight: 800; color: var(--color-red-strong); }
.where p { max-width: 50ch; }
.real-path .display { max-width: 16ch; }
.who-grid { display: grid; margin-top: clamp(36px, 5vw, 64px); border-top: 2px solid var(--color-navy); }
@media (min-width: 800px) { .who-grid { grid-template-columns: repeat(2, 1fr); column-gap: clamp(32px, 6vw, 96px); } }
.who { display: grid; grid-template-columns: 52px 1fr; gap: 4px 14px; padding: 28px 0; border-bottom: 1px solid var(--color-line); }
.who-n { grid-row: span 2; font-family: var(--font-head); font-weight: 700; font-size: 1.6rem; color: var(--color-red-strong); line-height: 1.2; }
.who h3 { font-family: var(--font-body); text-transform: none; font-weight: 800; font-size: 1.1rem; line-height: 1.35; }
.who p { color: var(--color-muted); font-size: .98rem; margin-top: 6px; }
.how-head .display { margin-bottom: 8px; }
.steps-v { list-style: none; position: relative; padding-left: clamp(24px, 4vw, 48px); }
.steps-v::before { bottom: 0; background: var(--color-line); }
.steps-v::after { height: calc(var(--progress, 0) * 100%); background: var(--color-red); transition: height .15s linear; }
.step-v { display: grid; grid-template-columns: 72px 1fr; gap: 16px; padding: 0 0 clamp(28px, 4vw, 44px); }
.step-n { font-family: var(--font-head); font-weight: 700; font-size: 3.4rem; line-height: .9; color: transparent; -webkit-text-stroke: 1.5px var(--color-navy); transition: color .4s, -webkit-text-stroke-color .4s; }
.step-v.is-active .step-n { color: var(--color-red); -webkit-text-stroke-color: var(--color-red); }
.step-v h3 { font-size: 1.7rem; margin-bottom: 8px; }
.step-v p { max-width: 54ch; }
.feature-grid { display: grid; gap: 36px clamp(24px, 3vw, 48px); margin-top: clamp(36px, 5vw, 64px); }
@media (min-width: 700px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } .feature-grid--4 { grid-template-columns: repeat(4, 1fr); } }
.feature { position: relative; padding-top: 28px; border-top: 2px solid var(--color-navy); }
.feature::before { content: ""; position: absolute; left: 0; top: -2px; width: 44px; height: 4px; background: var(--color-red); }
.feature h3 { font-size: 1.55rem; margin-bottom: 10px; }
.feature p { color: var(--color-muted); font-size: .98rem; }
.one-to-one { overflow: hidden; }
.oto-num { font-family: var(--font-head); font-weight: 700; font-size: clamp(8rem, 24vw, 20rem); line-height: .8; color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, .35); }
.one-to-one .display { margin-bottom: 22px; }
.online .display { margin-bottom: 22px; }
.online p { max-width: 54ch; }
.online-list { list-style: none; counter-reset: x; border-top: 2px solid var(--color-navy); }
.online-list li { display: flex; align-items: baseline; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--color-line); font-weight: 700; font-size: 1.1rem; text-transform: capitalize; }
.online-list li span { font-family: var(--font-head); font-size: 1.4rem; color: var(--color-red-strong); min-width: 30px; }
.postpartum .display { margin-bottom: 22px; }
.post-media { max-width: 480px; }
.offer-rows { list-style: none; margin-top: clamp(32px, 4vw, 56px); }
.offer { display: grid; grid-template-columns: 60px 1fr; gap: 16px 24px; align-items: center; padding: 32px 0; border-top: 1px solid var(--color-line); }
.offer:last-child { border-bottom: 1px solid var(--color-line); }
@media (min-width: 900px) { .offer { grid-template-columns: 70px 1fr auto; } }
.offer .btn { grid-column: 1 / -1; justify-self: start; }
@media (min-width: 900px) { .offer .btn { grid-column: auto; } }
.offer-n { font-family: var(--font-head); font-weight: 700; font-size: 2.4rem; color: var(--color-red); line-height: 1; }
.offer h3 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); }
.offer-tag { font-weight: 800; color: var(--color-red-strong); margin-top: 4px; }
.offer-body p:last-child { max-width: 58ch; color: var(--color-muted); margin-top: 8px; }
.combo { margin-top: clamp(48px, 6vw, 88px); padding: clamp(28px, 4vw, 56px); background: var(--color-soft); border-radius: var(--radius-lg); display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .combo { grid-template-columns: 1fr auto; } }
.combo p { max-width: 62ch; }
.faq-pt .display { max-width: 16ch; }
.contrast-list { list-style: none; border-top: 2px solid var(--color-navy); }
.contrast-list li { padding: 22px 0; border-bottom: 1px solid var(--color-line); font-size: clamp(1.3rem, 2.4vw, 1.8rem); line-height: 1.25; color: var(--color-muted); font-weight: 500; }
.contrast-list strong { color: var(--color-navy); font-family: var(--font-head); text-transform: uppercase; font-size: 1.15em; }

/* 12 — CORSI / NUTRIZIONE / RISULTATI -------------------------------------- */
.hero-courses-grid { display: grid; gap: 32px clamp(32px, 6vw, 96px); align-items: end; }
@media (min-width: 900px) { .hero-courses-grid { grid-template-columns: 1.1fr 1fr; } }
.hero-courses-text .lead { max-width: 36ch; }
.course-trio { margin-top: clamp(36px, 5vw, 72px); display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 2vw, 28px); align-items: start; }
.trio-item { display: block; text-decoration: none; }
.trio-item:nth-child(2) { margin-top: clamp(16px, 4vw, 56px); } .trio-item:nth-child(3) { margin-top: clamp(32px, 8vw, 112px); }
.trio-item .image-placeholder { overflow: hidden; } .trio-item .image-placeholder small { display: none; }
.trio-item:hover .image-placeholder { border-color: var(--color-red); }
.trio-item .image-placeholder span { font-size: .55rem; padding: 5px 7px; }
@media (min-width: 700px) { .trio-item .image-placeholder span { font-size: .6875rem; padding: 7px 11px; } }
.trio-label { display: block; margin-top: 12px; font-family: var(--font-head); font-weight: 700; text-transform: uppercase; font-size: clamp(1rem, 2vw, 1.6rem); line-height: 1.05; }
.trio-label b { color: var(--color-red-strong); margin-right: 6px; }
.find .display { max-width: 12ch; } .find p { max-width: 54ch; }
.table-wrap { margin-top: 24px; }
.schedule { width: 100%; border-collapse: collapse; }
.schedule th { text-align: left; padding: 14px 16px; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; border-bottom: 2px solid var(--color-navy); }
.schedule td { padding: 24px 16px; border-bottom: 1px solid var(--color-line); vertical-align: top; }
.schedule td strong { font-family: var(--font-head); font-size: 1.9rem; color: var(--color-red-strong); line-height: 1; }
.schedule a { font-family: var(--font-head); font-size: 1.6rem; text-transform: uppercase; font-weight: 700; text-decoration: none; }
.schedule a:hover { color: var(--color-red-strong); }
@media (max-width: 699px) {
  .schedule thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .schedule, .schedule tbody, .schedule tr, .schedule td { display: block; width: 100%; }
  .schedule tr { padding: 14px 0; border-bottom: 1px solid var(--color-line); }
  .schedule td { display: grid; grid-template-columns: 88px 1fr; gap: 10px; padding: 8px 4px; border: 0; }
  .schedule td::before { content: attr(data-label); font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--color-muted); padding-top: 4px; }
}
.course-index { font-family: var(--font-head); font-weight: 700; font-size: 5rem; line-height: .85; color: transparent; -webkit-text-stroke: 1.5px rgba(32, 41, 53, .35); margin-bottom: 4px; }
.course-index--light { -webkit-text-stroke-color: rgba(255, 255, 255, .4); }
.course-block .display { margin-bottom: 8px; }
.tagline { font-family: var(--font-head); text-transform: uppercase; font-weight: 600; font-size: 1.6rem; color: var(--color-red-strong); margin-bottom: 20px; line-height: 1.1; }
.tagline--light { color: var(--color-red-light); }
.check-list { list-style: none; display: grid; gap: 4px; margin: 14px 0 6px; }
.check-list li { position: relative; padding: 8px 0 8px 30px; border-bottom: 1px solid var(--color-line); font-weight: 500; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 18px; width: 14px; height: 4px; background: var(--color-red); transform: skewX(-25deg); }
.check-list--light li { border-color: rgba(255, 255, 255, .16); color: #fff; }
.check-list--light li::before { background: var(--color-red-light); }
.when { margin-top: 26px !important; padding: 6px 0 6px 18px; border-left: 4px solid var(--color-red); font-size: 1rem; }
.when--light { color: #fff !important; }
.age-badge { display: inline-block; margin-bottom: 20px; padding: 7px 16px; border-radius: 999px; background: var(--color-red-strong); color: #fff; font-weight: 800; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.course-media { max-width: 520px; width: 100%; }
.choose .display { margin-bottom: 8px; }
.compare { display: grid; gap: 20px; margin-top: clamp(32px, 4vw, 56px); }
@media (min-width: 800px) { .compare { grid-template-columns: 1fr 1fr; } }
.compare-col { padding: clamp(28px, 4vw, 52px); border-radius: var(--radius-lg); background: var(--color-soft); }
.compare-col--dark { background: var(--color-navy); color: #fff; }
.compare-col h3 { font-size: clamp(2.4rem, 4.6vw, 4rem); line-height: .95; margin-bottom: 14px; }
.compare-col p { font-weight: 700; letter-spacing: .02em; }
.compare-col--dark p { color: rgba(255, 255, 255, .9); }
.compare-col--dark h3 { color: #fff; }
.compare-time { margin-top: 22px !important; font-family: var(--font-head); font-size: 2rem; text-transform: uppercase; color: var(--color-red-strong); }
.compare-col--dark .compare-time { color: var(--color-red-light); }
.choose-foot { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.choose-foot .lead { max-width: 52ch; margin: 0; }
.group .display { max-width: 18ch; }
.week .display { margin-bottom: 8px; }
.week-list { list-style: none; margin-bottom: 28px; }
.week-list li { display: grid; grid-template-columns: auto 1fr; gap: 4px 24px; align-items: baseline; padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, .18); }
.week-list li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .18); }
.wk-time { font-family: var(--font-head); font-weight: 700; font-size: 1.9rem; text-transform: uppercase; color: var(--color-red-light); }
.wk-name { font-family: var(--font-head); font-weight: 700; font-size: 1.9rem; text-transform: uppercase; color: #fff; }
.wk-place { grid-column: 1 / -1; font-size: .92rem; color: rgba(255, 255, 255, .78); }
.week-list--sm li { padding: 12px 0; } .week-list--sm .wk-time, .week-list--sm .wk-name { font-size: 1.4rem; }

/* Nutrizione */
.hero-nutrition-grid { display: grid; gap: 40px clamp(32px, 6vw, 96px); align-items: end; position: relative; }
@media (min-width: 900px) { .hero-nutrition-grid { grid-template-columns: 1.15fr 1fr; } }
.hero-nutrition-text .btn-row { margin-top: 28px; }
.training-n .display { max-width: 22ch; }
.cred-row { display: grid; gap: 24px; margin: clamp(36px, 5vw, 64px) 0; }
@media (min-width: 900px) { .cred-row { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.cred { padding-top: 22px; border-top: 2px solid rgba(255, 255, 255, .28); }
.cred--hl { border-top-color: var(--color-red); }
.cred-code { display: block; font-family: var(--font-head); font-weight: 700; text-transform: uppercase; font-size: clamp(2.6rem, 4.4vw, 3.6rem); line-height: 1; color: var(--color-red-light); margin-bottom: 12px; }
.cred p { font-size: .98rem; }
.cred-figures { margin-top: 14px !important; font-family: var(--font-head); font-size: 1.8rem; text-transform: uppercase; color: #fff !important; }
.useful .display { margin-bottom: 0; }
.together .display { max-width: 13ch; }
.together p a { font-weight: 700; color: var(--color-red-strong); }

/* Risultati */
.hero-results-grid { display: grid; gap: 40px clamp(32px, 6vw, 96px); align-items: center; position: relative; }
@media (min-width: 900px) { .hero-results-grid { grid-template-columns: 1.1fr 1fr; } }
.hero-ba-pair { display: grid; grid-template-columns: 1fr 6px 1fr; gap: 12px; align-items: stretch; max-width: 560px; margin-inline: auto; }
.hero-ba-bar { background: var(--color-red); border-radius: 3px; }
.hero-ba-pair .image-placeholder small { display: none; }
.ba-intro { max-width: 760px; margin-bottom: clamp(24px, 4vw, 56px); }
.ba-intro .display { margin-bottom: 22px; }
.result { padding: clamp(40px, 6vw, 80px) 0; border-top: 1px solid var(--color-line); }
.result-head { display: grid; grid-template-columns: auto 1fr; gap: 12px clamp(20px, 3vw, 44px); align-items: start; margin-bottom: 32px; }
.result-n { font-family: var(--font-head); font-weight: 700; font-size: clamp(4rem, 9vw, 7rem); line-height: .85; color: transparent; -webkit-text-stroke: 1.5px var(--color-red); }
.result-head h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 10px; }
.result-head p { max-width: 60ch; }
.before-after { display: grid; gap: 20px; max-width: 920px; }
@media (min-width: 640px) { .before-after { grid-template-columns: 1fr 1fr; } }
.ba-item figcaption { display: inline-block; margin-bottom: 12px; font-weight: 800; letter-spacing: .2em; font-size: .78rem; padding-bottom: 6px; border-bottom: 3px solid var(--color-navy); }
.ba-item:last-child figcaption { border-bottom-color: var(--color-red); color: var(--color-red-strong); }
.beyond .display { max-width: 14ch; }

/* 13 — EVENTI & PROMOZIONI -------------------------------------------------- */
.hero-events-grid { display: grid; gap: 32px clamp(32px, 6vw, 96px); align-items: end; }
@media (min-width: 900px) { .hero-events-grid { grid-template-columns: 1.1fr 1fr; } }
.hero-events-text .lead { max-width: 34ch; }
.news-intro { max-width: 820px; margin-bottom: 36px; } .news-intro .display { margin-bottom: 18px; }
.news-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; padding-bottom: 24px; border-bottom: 2px solid var(--color-navy); }
.filter { min-height: 44px; padding: 0 22px; border: 1.5px solid var(--color-navy); border-radius: 999px; background: transparent; font-weight: 800; font-size: .75rem; letter-spacing: .12em; transition: background-color .25s, color .25s; }
.filter:hover { background: var(--color-soft); }
.filter.is-active { background: var(--color-navy); color: #fff; }
.news-featured { display: grid; gap: 24px; margin-bottom: clamp(32px, 4vw, 56px); border-bottom: 1px solid var(--color-line); padding-bottom: clamp(32px, 4vw, 56px); }
@media (min-width: 900px) { .news-featured { grid-template-columns: 7fr 5fr; gap: 48px; align-items: center; } }
.news-featured-media, .news-media { overflow: hidden; border-radius: var(--radius-md); }
.news-featured:hover .image-placeholder, .news-card:hover .image-placeholder { transform: scale(1.04); }
.featured-label { display: inline-block; background: var(--color-red-strong); color: #fff; padding: 6px 12px; font-weight: 800; font-size: .7rem; letter-spacing: .16em; margin-bottom: 18px; border-radius: 3px; }
.news-featured h3 { font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: .98; margin: 8px 0 14px; }
.news-meta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; font-weight: 800; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 8px; }
.news-meta .cat { color: var(--color-red-strong); } .news-meta .news-date { color: var(--color-muted); }
.news-grid { display: grid; gap: 28px; }
@media (min-width: 700px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .news-grid { grid-template-columns: repeat(3, 1fr); } }
.news-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--color-line); border-radius: var(--radius-md); overflow: hidden; transition: border-color .3s var(--ease), box-shadow .3s var(--ease); }
.news-card:hover, .news-card:focus-within { border-color: var(--color-red); box-shadow: 0 18px 40px rgba(32, 41, 53, .1); }
.news-card .news-media { border-radius: 0; } .news-card .image-placeholder { border: 0; border-radius: 0; }
.news-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.news-body h3 { font-size: 1.8rem; margin-bottom: 10px; }
.news-body p:not(.news-meta) { color: var(--color-muted); font-size: .98rem; }
.news-body .link-arrow { margin-top: auto; align-self: flex-start; }
.news-body p + .link-arrow { margin-top: 22px; }
.news-empty { padding: 32px; text-align: center; background: var(--color-soft); border-radius: var(--radius-md); font-weight: 600; }
.follow .display { margin-bottom: 14px; }
.hero-event .display { margin-bottom: 32px; } .event-hero-media { margin-top: 12px; }
.event-main .h3-display { margin-top: 36px; }
.event-aside { padding: 28px; background: var(--color-soft); border-radius: var(--radius-md); align-self: start; }

/* 14 — CONTATTI E FORM ------------------------------------------------------ */
.hero-contacts-grid { display: grid; gap: 40px clamp(32px, 6vw, 96px); align-items: start; position: relative; }
@media (min-width: 900px) { .hero-contacts-grid { grid-template-columns: 1.1fr 1fr; } }
.hero-contacts .hero-copy p { max-width: 46ch; }
.contact-panel { background: var(--color-navy); color: #fff; padding: clamp(28px, 4vw, 52px); border-radius: var(--radius-lg); }
.contact-name { font-weight: 800; font-size: .72rem; letter-spacing: .16em; color: var(--color-red-light) !important; margin-bottom: 14px; }
.contact-panel .display { margin-bottom: 26px; }
.contact-list { display: grid; margin-bottom: 30px; }
.contact-list div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, .16); align-items: baseline; }
.contact-list dt { font-weight: 800; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .72); }
.contact-list dd a { font-weight: 700; font-size: clamp(1rem, 1.5vw, 1.2rem); text-decoration: none; overflow-wrap: anywhere; }
.contact-list dd a:hover { color: var(--color-red-light); text-decoration: underline; }
.ig-url { font-size: .85rem; color: rgba(255, 255, 255, .72); }
@media (max-width: 479px) { .contact-list div { grid-template-columns: 1fr; gap: 2px; } }
.form-section { background: var(--color-offwhite); }
.form-intro .display { max-width: 12ch; }
.form { display: grid; gap: 22px; background: #fff; padding: clamp(24px, 4vw, 48px); border-radius: var(--radius-lg); border: 1px solid var(--color-line); }
.field-row { display: grid; gap: 22px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; margin-bottom: 8px; font-weight: 800; font-size: .875rem; }
.req { color: var(--color-red-strong); }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field select, .field textarea {
  width: 100%; min-height: 54px; padding: 12px 16px; background: #fff; border: 1.5px solid #7d8693; border-radius: 12px; font-size: 1rem; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23202935' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; background-size: 12px; padding-right: 44px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--color-navy); box-shadow: 0 0 0 4px rgba(242, 42, 42, .22); }
.field [aria-invalid="true"] { border-color: var(--color-red-strong); }
.field-error { margin-top: 6px; color: var(--color-red-strong); font-weight: 700; font-size: .85rem; }
.field--check { display: grid; grid-template-columns: 24px 1fr; gap: 4px 14px; align-items: start; }
.field--check input { width: 22px; height: 22px; margin-top: 3px; accent-color: var(--color-red-strong); }
.field--check label { margin: 0; font-weight: 500; font-size: .92rem; line-height: 1.55; }
.field--check label a { font-weight: 700; color: var(--color-red-strong); }
.field--check .field-error { grid-column: 2; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-actions .microcopy { margin-top: 18px; }
.form-status { font-weight: 700; min-height: 1.4em; }
.form-status.is-ok { color: #1d6b3a; } .form-status.is-error { color: var(--color-red-strong); }
.find-grid { display: grid; gap: 24px; margin-top: clamp(28px, 4vw, 48px); }
@media (min-width: 900px) { .find-grid { grid-template-columns: 1fr 1fr; } }
.find-card { padding: clamp(28px, 4vw, 48px); background: #fff; border: 1px solid var(--color-line); border-radius: var(--radius-lg); }
.find-card--dark { background: var(--color-navy); color: #fff; border-color: var(--color-navy); }
.find-card--dark p, .find-card--dark address { color: rgba(255, 255, 255, .88); }
.find-kicker { font-weight: 800; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--color-red-strong); margin-bottom: 10px; }
.find-card--dark .find-kicker { color: var(--color-red-light); }
.find-card h3 { font-size: clamp(2rem, 3.4vw, 2.8rem); margin-bottom: 12px; }
.find-card--dark h3 { color: #fff; }
.find-card address { font-style: normal; font-weight: 700; line-height: 1.5; margin-bottom: 14px; }
.find-card address span { color: var(--color-red-strong); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; }
.page-legal .lead { margin: 20px 0 32px; } .hero-legal .h3-display { margin-top: 28px; }

/* 15 — ANIMAZIONI E ACCESSIBILITÀ ------------------------------------------ */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease) var(--d, 0s), transform .8s var(--ease) var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .image-placeholder, .course-panel:hover .image-placeholder, .path:hover .image-placeholder { transform: none !important; }
}
@media print { .wa-float, .site-header, .drawer { display: none; } }

/* Badge "Anche online" */
.badge-online { display: inline-flex; align-items: center; gap: 7px; margin-left: 10px; padding: 4px 11px; border: 1.5px solid var(--color-red-strong); border-radius: 999px; color: var(--color-red-strong); background: transparent;
  font-family: var(--font-body); font-weight: 800; font-size: .66rem; line-height: 1.2; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; vertical-align: middle; }
.badge-online::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.badge-row { margin: 4px 0 16px; } .badge-row .badge-online { margin-left: 0; }
.section-dark .badge-online, .compare-col--dark .badge-online, .find-card--dark .badge-online { color: var(--color-red-light); border-color: var(--color-red-light); }
.compare-col .badge-online { margin: 0 0 14px; }
.course-chip--online { top: 58px; background: var(--color-red-strong); }
.trio-label .badge-online { margin: 6px 0 0; display: flex; width: fit-content; }
.schedule td .badge-online { margin-left: 8px; }
.more-body strong .badge-online { margin-left: 12px; }
.path-text h3 .badge-online { margin-left: 14px; }
.wk-name .badge-online { margin-left: 10px; }
.online-note { margin-top: 14px !important; font-size: .95rem; font-weight: 600; }
.online-note .badge-online { margin: 0 8px 0 0; }
.online-note a { color: var(--color-red-strong); font-weight: 800; }
.online-note--light, .online-note--light a { color: #fff; } .online-note--light .badge-online { color: var(--color-red-light); border-color: var(--color-red-light); }
.online-note--table { margin-top: 18px !important; }
.photo--group { aspect-ratio: 16 / 9; border-radius: var(--radius-lg); margin-top: clamp(32px, 4vw, 56px); }

/* Home: eventi in evidenza (griglia scalabile) */
.events-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.events-sub { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .06em; font-size: 1.1rem; margin-bottom: 18px; color: var(--color-navy); }
.events-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.events-grid .news-card .photo { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
@media (min-width: 900px) {
  .events-grid .news-card:only-child { flex-direction: row; grid-column: 1 / -1; }
  .events-grid .news-card:only-child .news-media { flex: 1.3; }
  .events-grid .news-card:only-child .news-media .photo { height: 100%; aspect-ratio: auto; }
  .events-grid .news-card:only-child .news-body { flex: 1; justify-content: center; padding: clamp(28px, 3vw, 48px); }
  .events-grid .news-card:only-child h3 { font-size: clamp(2.2rem, 3.4vw, 3rem); line-height: .98; }
}
.events-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; margin-top: clamp(28px, 4vw, 44px); }
.events-foot .chips { margin: 0; }
@media (min-width: 640px) { .microcopy--oneline { white-space: nowrap; } }
@media (min-width: 640px) and (max-width: 1100px) { .microcopy--oneline { font-size: .92rem; } }
.badge-online--light { color: #FF6B6B; border-color: #FF6B6B; }

.course-media--duo { position: relative; padding-bottom: 12%; }
.course-media--duo .duo-b { position: absolute; right: -8%; bottom: 0; width: 46%; border: 6px solid var(--color-offwhite); border-radius: var(--radius-md); box-shadow: 0 18px 40px rgba(32,41,53,.18); }
@media (max-width: 899px) { .course-media--duo .duo-b { right: 0; } }

/* Nutrizione: A chi può essere utile */
.split--useful { align-items: start; }
.useful-head { position: sticky; top: calc(var(--header-h) + 32px); }
.useful-head .btn-row { margin-top: 28px; }
.useful-grid { list-style: none; display: grid; gap: 16px; grid-template-columns: 1fr; }
.useful-card { position: relative; background: #fff; border: 1px solid var(--color-line); border-top: 3px solid var(--color-red-strong); border-radius: var(--radius-md); padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 14px; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.useful-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(32, 41, 53, .1); }
.uc-n { font-family: var(--font-head); font-weight: 800; font-size: 3.2rem; line-height: .9; color: transparent; -webkit-text-stroke: 1.5px var(--color-red-strong); }
.useful-card p { font-size: 1.05rem; font-weight: 600; line-height: 1.45; color: var(--color-navy); margin: 0; }
@media (min-width: 640px) { .useful-grid { grid-template-columns: 1fr 1fr; } .useful-card:last-child { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 24px; } }
@media (max-width: 899px) { .useful-head { position: static; } }
@media (prefers-reduced-motion: reduce) { .useful-card { transition: none; } .useful-card:hover { transform: none; } }

/* Risultati: grafiche prima/dopo uniche */
.before-after--single { display: block; }
.ba-single { max-width: 640px; margin: 0 auto; border-radius: var(--radius-md); overflow: hidden; box-shadow: 0 18px 50px rgba(32,41,53,.12); border: 1px solid var(--color-line); }
.ba-single--narrow { max-width: 440px; }
.ba-single img { display: block; width: 100%; height: auto; }
.hero-ba-img { display: block; width: 100%; max-width: 480px; height: auto; margin-inline: auto; border-radius: var(--radius-md); box-shadow: 0 24px 60px rgba(32,41,53,.18); }

/* ==========================================================================
   RIFINITURA RESPONSIVE (mobile · tablet · iPad)
   ========================================================================== */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
img, video { max-width: 100%; }
.course-trio { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.trio-label { overflow-wrap: anywhere; hyphens: auto; }
.badge-online { font-size: .6875rem; }
@media (max-width: 479px) {
  .trio-label { font-size: .95rem; }
  .trio-label b { display: block; margin: 0 0 2px; }
  .trio-label .badge-online { font-size: .6rem; padding: 3px 8px; letter-spacing: .06em; }
}
/* Bersagli touch comodi (>= 44px) sotto i 1024px */
@media (max-width: 1023px) {
  .link-arrow { padding: 13px 0; min-height: 44px; }
  .breadcrumb a { display: inline-block; padding: 12px 2px; }
  .breadcrumb { margin-bottom: 12px; }
  .site-footer a { display: inline-block; padding: 9px 0; }
  .site-footer .footer-bottom a { padding: 12px 4px; }
  .contact-list a { display: inline-block; padding: 8px 0; }
  .schedule a { padding: 8px 0; display: inline-block; }
}
/* CTA header: testo >= 11px anche tra 1240 e 1365px */
@media (min-width: 1240px) and (max-width: 1365px) {
  .main-nav ul { gap: 6px; } .main-nav a { font-size: .78rem; padding-inline: 6px; }
  .header-cta { padding: 0 12px; font-size: .6875rem; letter-spacing: .03em; }
}
/* Tablet (iPad portrait / landscape stretti) */
@media (min-width: 700px) and (max-width: 1023px) {
  .container { padding-inline: clamp(24px, 4vw, 40px); }
}
/* Safe area iPhone / iPad con notch */
.wa-float { bottom: max(16px, env(safe-area-inset-bottom)); right: max(16px, env(safe-area-inset-right)); }
.footer-bottom { padding-bottom: max(24px, env(safe-area-inset-bottom)); }

/* Trio corsi: carosello orizzontale su mobile */
@media (max-width: 599px) {
  .course-trio { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; margin-inline: calc(var(--pad-x) * -1); padding: 0 var(--pad-x) 6px; scrollbar-width: none; }
  .course-trio::-webkit-scrollbar { display: none; }
  .trio-item, .trio-item:nth-child(2), .trio-item:nth-child(3) { scroll-snap-align: start; margin-top: 0; }
  .trio-label { font-size: 1.15rem; }
  .trio-label .badge-online { font-size: .65rem; }
}
@media (max-width: 599px) { .course-trio { scroll-padding-inline: var(--pad-x); } }
@media (max-width: 699px) { .schedule td .badge-online { grid-column: 2; justify-self: start; margin: 2px 0 0; } }
@media (max-width: 899px) { .course-media, .post-media, .why-media, .online-side { margin-inline: auto; } .course-media--duo { max-width: 460px; } }
@media (max-width: 599px) { .trio-label .badge-online { font-size: .6875rem; } }
.form-check a, .consent a { display: inline; padding: 0; }

/* Home: percorso 04 + sezione Schede personalizzate */
@media (min-width: 900px) {
  .path--d .path-text { grid-column: 1 / 6; grid-row: 1; } .path--d .path-media { grid-column: 7 / 12; grid-row: 1; }
  .split--schede { grid-template-columns: 6fr 5fr; align-items: center; }
}
@media (max-width: 899px) { .path--d .path-media { order: -1; } }
#schede-personalizzate { scroll-margin-top: calc(var(--header-h) + 16px); }

.ratio-3-2 { aspect-ratio: 3 / 2; }
@media (min-width: 900px) { .path--d .path-text { grid-column: 1 / 6; } .path--d .path-media { grid-column: 6 / 13; } }

.footer-ai { padding-block: 18px 0; border-top: 1px solid rgba(255,255,255,.12); }
.footer-ai .legal { max-width: 90ch; font-size: .78rem; line-height: 1.6; opacity: .85; }
.footer-ai + .footer-bottom { border-top: 0; }

.footer-ai { padding-block: 12px 0; }
.footer-ai .legal { max-width: none; font-size: .68rem; line-height: 1.4; opacity: .75; }
@media (min-width: 900px) { .footer-ai .legal { white-space: nowrap; } }

/* Logo header ingrandito */
:root { --header-h: 92px; }
.logo-img { height: 78px; }
.site-header.is-scrolled .logo-img { height: 60px; }
.header-inner { max-width: 1680px; padding-inline: clamp(20px, 2.2vw, 40px); }
@media (max-width: 1239px) { :root { --header-h: 88px; } .logo-img { height: 68px; } .site-header.is-scrolled .logo-img { height: 54px; } }
@media (max-width: 479px) { :root { --header-h: 80px; } .logo-img { height: 62px; } .site-header.is-scrolled .logo-img { height: 50px; } }
@media (min-width: 1240px) and (max-width: 1365px) { .logo-img { height: 66px; } .site-header.is-scrolled .logo-img { height: 54px; } }
.path > *, .split > *, .hero-courses-grid > *, .hero-grid > * { min-width: 0; }
@media (max-width: 359px) { .display, h1, h2, h3 { overflow-wrap: anywhere; hyphens: auto; } }
html, body { overflow-x: clip; } main { overflow-x: clip; }

/* Menu desktop più grande */
@media (min-width: 1366px) { .main-nav a { font-size: .95rem; } .main-nav ul { gap: clamp(14px, 1.3vw, 26px); } }
@media (min-width: 1600px) { .main-nav a { font-size: 1.0625rem; } .header-cta { font-size: .75rem; } }
@media (min-width: 1240px) and (max-width: 1365px) { .main-nav a { font-size: .82rem; } }
