/* Arjus Vahaj – Personal Trainer Ravenna
   Base comune alle varianti: struttura e componenti costruiti solo su token semantici.
   I valori dei token sono nei file theme-*.css. */
:root {
  /* Scala tipografica fluida */
  --step--1: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --step-1: clamp(1.25rem, 1.17rem + 0.4vw, 1.5rem);
  --step-2: clamp(1.5rem, 1.35rem + 0.75vw, 2rem);
  --step-3: clamp(1.9rem, 1.6rem + 1.5vw, 2.85rem);
  --step-4: clamp(2.4rem, 1.9rem + 2.6vw, 4rem);
  --step-5: clamp(2.9rem, 2.1rem + 4vw, 5.5rem);
  --lh-snug: 1.2;
  --lh-body: 1.6;
  --measure: 65ch;

  /* Spazio (scala 4/8pt) */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --s-9: 6rem;
  --gutter: clamp(var(--s-4), 3vw, var(--s-6));
  --container: 72rem;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur: 180ms;
  --header-h: 4.25rem;
}

/* Reset essenziale */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + var(--s-4)); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-style: var(--display-style);
  text-transform: var(--display-transform);
  line-height: var(--display-lh);
  letter-spacing: var(--display-tracking);
  color: var(--heading, inherit);
  text-wrap: balance;
  overflow-wrap: break-word;
  hyphens: auto;
}
h1 { font-size: var(--h1-size, var(--step-5)); }
h2 { font-size: var(--h2-size, var(--step-4)); }
h3 { font-size: var(--step-2); line-height: var(--lh-snug); }
p { text-wrap: pretty; }
strong { font-weight: 600; }

/* Accessibilità */
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: var(--radius-sm); }
.light :focus-visible { outline-color: var(--paper-focus); }
.skip-link {
  position: absolute; left: var(--s-4); top: -100%;
  background: var(--accent); color: var(--on-accent);
  padding: var(--s-3) var(--s-4); font-weight: 600; z-index: 100; border-radius: var(--radius-sm);
}
.skip-link:focus { top: var(--s-4); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Layout */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: var(--section-y); }
.light { background: var(--paper); color: var(--paper-text); --heading: var(--paper-heading); }
.light .muted, .light .lead { color: var(--paper-muted); }
.alt { background: var(--bg-alt); }
.muted { color: var(--muted); }
.lead { font-size: var(--step-1); line-height: 1.45; color: var(--muted); max-width: 52ch; }
.prose { max-width: var(--measure); }
.prose > * + * { margin-top: var(--s-4); }
.prose h2 { font-size: var(--step-3); margin-top: var(--s-7); }
.prose h3 { margin-top: var(--s-6); }
.prose ul { padding-left: 1.2em; }
.prose li + li { margin-top: var(--s-2); }
.prose li::marker { color: var(--accent-ink); }
.light .prose li::marker { color: var(--paper-accent-ink); }
.prose a { text-decoration-color: var(--accent-ink); text-underline-offset: 3px; text-decoration-thickness: 2px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-family: var(--eyebrow-font, var(--font-display)); font-weight: 700; font-style: var(--display-style);
  text-transform: uppercase; letter-spacing: 0.12em; font-size: var(--step--1);
  color: var(--accent-ink); margin-bottom: var(--s-4);
}
.eyebrow::before { content: ""; width: 2rem; height: var(--eyebrow-rule, 3px); background: currentColor; }
.light .eyebrow { color: var(--paper-accent-ink); }
.hl { color: var(--hl, var(--accent-ink)); }
.light .hl { color: var(--paper-hl, var(--paper-accent-ink)); }

.section-head { display: grid; gap: var(--s-4); margin-bottom: var(--s-7); }
.section-head p { max-width: 60ch; }

/* Bottoni – target ≥ 44px */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 3rem; padding: var(--s-3) var(--s-5);
  font-family: var(--btn-font); font-weight: var(--btn-weight, 700); font-style: var(--btn-style, normal);
  font-size: var(--btn-size, var(--step-1)); text-transform: var(--btn-transform, none); letter-spacing: var(--btn-tracking, 0.01em); line-height: 1;
  text-decoration: none; border-radius: var(--radius-btn); border: 2px solid transparent;
  cursor: pointer;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-primary:active { transform: translateY(1px); }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-ghost:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
.light .btn-ghost:hover { background: var(--paper-text); color: var(--paper); border-color: var(--paper-text); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.text-link { display: inline-flex; align-items: center; gap: var(--s-2); min-height: 44px; font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--accent-ink); }
.text-link:hover { color: var(--accent-ink); }
.text-link svg { width: 1.1em; height: 1.1em; flex: none; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.brand img { width: 150px; height: auto; }
.nav-toggle {
  display: inline-flex; align-items: center; gap: var(--s-2);
  min-height: 44px; min-width: 44px; padding: var(--s-2) var(--s-3);
  background: transparent; color: var(--text); border: 1px solid var(--line); border-radius: var(--radius-sm);
  font: 600 var(--step--1) / 1 var(--font-body); text-transform: uppercase; letter-spacing: 0.08em; cursor: pointer;
}
.nav-toggle-bars { width: 18px; height: 12px; position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after, .nav-toggle-bars span {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform var(--dur) var(--ease), opacity var(--dur);
}
.nav-toggle-bars::before { top: 0; }
.nav-toggle-bars span { top: 5px; }
.nav-toggle-bars::after { bottom: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-5px) rotate(-45deg); }

.site-nav { display: none; }
.site-nav.is-open {
  display: block; position: absolute; inset: var(--header-h) 0 auto 0;
  background: var(--bg); border-bottom: 1px solid var(--line);
  padding: var(--s-4) var(--gutter) var(--s-6); max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
}
.nav-list { display: grid; gap: var(--s-1); }
.nav-list a {
  display: flex; align-items: center; min-height: 44px; padding: var(--s-2) 0;
  text-decoration: none; font-family: var(--font-display); font-weight: var(--display-weight); font-style: var(--display-style);
  text-transform: var(--display-transform); font-size: var(--step-2); letter-spacing: var(--display-tracking);
}
.nav-list a:hover, .nav-list a[aria-current="page"] { color: var(--accent-ink); }
.nav-sub { padding-left: var(--s-4); border-left: 2px solid var(--line); }
.nav-sub a { font-size: var(--step-1); }
.nav-cta { margin-top: var(--s-5); }
.header-cta { display: none; }

@media (min-width: 64em) {
  .nav-toggle { display: none; }
  .site-nav, .site-nav.is-open { display: block; position: static; padding: 0; background: none; border: 0; max-height: none; overflow: visible; }
  .nav-list { display: flex; align-items: center; gap: var(--s-5); }
  .nav-list a { font-family: var(--font-body); font-style: normal; font-weight: 500; text-transform: none; font-size: var(--step--1); letter-spacing: 0.02em; position: relative; }
  .nav-list > li > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 2px; background: var(--accent-ink); transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease); }
  .nav-list > li > a:hover::after, .nav-list > li > a[aria-current="page"]::after { transform: scaleX(1); }
  .nav-list a:hover, .nav-list a[aria-current="page"] { color: var(--text); }
  .has-sub { position: relative; }
  .nav-sub { display: none; position: absolute; top: 100%; left: calc(-1 * var(--s-4)); min-width: 17rem; padding: var(--s-3) var(--s-4); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
  .has-sub:hover .nav-sub, .has-sub:focus-within .nav-sub { display: grid; }
  .nav-sub a { font-size: var(--step--1); }
  .nav-sub a:hover { color: var(--accent-ink); }
  .nav-cta { display: none; }
  .header-cta { display: inline-flex; min-height: 2.75rem; font-size: var(--step-0); padding-inline: var(--s-4); }
}

/* Hero */
.hero { position: relative; padding-block: var(--s-7) var(--section-y); overflow: hidden; }
.hero-grid { position: relative; z-index: 1; display: grid; gap: var(--s-7); align-items: center; }
.hero h1 { margin-bottom: var(--s-5); }
.hero .lead { margin-bottom: var(--s-6); }
.hero-media { position: relative; max-width: 28rem; width: 100%; }
.hero-media img { border-radius: var(--radius-lg); aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; width: 100%; }
.hero-badge {
  position: absolute; left: var(--s-3); bottom: var(--s-5);
  background: var(--accent); color: var(--on-accent); padding: var(--s-3) var(--s-4); border-radius: var(--radius-sm);
  font: var(--display-style) var(--display-weight) var(--step-1) / 1.05 var(--font-display); text-transform: var(--display-transform); box-shadow: var(--shadow);
}
.hero-badge small { display: block; font: 600 var(--step--1) / 1.3 var(--font-body); text-transform: none; font-style: normal; }
.hero-facts { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); margin-top: var(--s-6); color: var(--muted); font-size: var(--step--1); }
.hero-facts li { display: inline-flex; align-items: center; gap: var(--s-2); min-height: 44px; }
.hero-facts a { text-decoration: none; display: inline-flex; align-items: center; gap: var(--s-2); min-height: 44px; }
.hero-facts a:hover { color: var(--text); }
.hero-facts svg { width: 1.1rem; height: 1.1rem; color: var(--accent-ink); flex: none; }
@media (min-width: 56em) {
  .hero { padding-top: var(--s-8); }
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; }
  .hero-media { justify-self: end; }
  .hero-badge { left: calc(-1 * var(--s-5)); }
}

/* Page hero (pagine interne) */
.page-hero { padding-block: var(--s-6) var(--s-8); border-bottom: 1px solid var(--line); }
.page-hero-grid { display: grid; gap: var(--s-7); align-items: end; }
.page-hero h1 { font-size: var(--page-h1, var(--step-5)); margin-bottom: var(--s-5); }
.hero-grid > *, .page-hero-grid > *, .split > * { min-width: 0; }
.page-hero-media img { border-radius: var(--radius-lg); aspect-ratio: 4 / 5; object-fit: cover; max-height: 34rem; width: 100%; }
@media (min-width: 56em) { .page-hero-grid { grid-template-columns: 1.3fr 0.7fr; } }

/* Breadcrumb */
.breadcrumb { font-size: var(--step--1); color: var(--muted); margin-bottom: var(--s-4); }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; column-gap: var(--s-2); }
.breadcrumb li { display: inline-flex; align-items: center; min-height: 44px; }
.breadcrumb li + li::before { content: "/"; margin-right: var(--s-2); color: var(--line-strong, var(--line)); }
.breadcrumb a { text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.breadcrumb a:hover { color: var(--accent-ink); }

/* Cards servizi */
.cards { display: grid; gap: var(--s-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.card {
  position: relative; display: flex; flex-direction: column; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.card:hover { border-color: var(--accent-ink); }
@media (prefers-reduced-motion: no-preference) { .card:hover { transform: translateY(-4px); } }
.card img { aspect-ratio: 4 / 3; object-fit: cover; object-position: center 30%; width: 100%; }
.card-body { padding: var(--s-5); display: grid; gap: var(--s-3); flex: 1; align-content: start; }
.card h3 { font-size: var(--step-2); }
.card h3 a { text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card p { color: var(--muted); font-size: var(--step--1); line-height: 1.55; }
.card-more { margin-top: auto; padding-top: var(--s-2); font-weight: 600; font-size: var(--step--1); color: var(--accent-ink); display: inline-flex; align-items: center; gap: var(--s-2); }
.card-cta { background: var(--accent); color: var(--on-accent); border-color: var(--accent); justify-content: center; --heading: var(--on-accent); }
.card-cta .card-body { flex: 0; }
.card.card-cta p { color: var(--on-accent); font-size: var(--step-0); }
.card-cta .btn-primary { background: var(--on-accent); color: var(--accent-deep, var(--accent)); justify-self: start; margin-top: var(--s-3); font-size: var(--step-0); }
.card-cta .btn-primary:hover { background: var(--card-cta-btn-hover, #eee); }
.card-cta:hover { transform: none; }
.card-cta :focus-visible { outline-color: var(--on-accent); }

/* Elenco servizi compatto (righe) */
.rows { border-top: 1px solid var(--line); }
.rows li { border-bottom: 1px solid var(--line); }
.row-link { display: grid; grid-template-columns: 1fr auto; gap: var(--s-2) var(--s-5); align-items: center; padding-block: var(--s-5); text-decoration: none; }
.row-link h3 { font-size: var(--step-2); }
.row-link p { color: var(--muted); grid-column: 1; max-width: 56ch; }
.row-link .row-arrow { grid-column: 2; grid-row: 1 / span 2; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: inline-grid; place-items: center; transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.row-link:hover .row-arrow { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.row-link:hover h3 { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* Metodo / step */
.steps { display: grid; gap: var(--s-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); counter-reset: step; }
.step { padding-top: var(--s-5); border-top: 3px solid var(--paper-text); counter-increment: step; }
.step::before { content: "0" counter(step); display: block; font: var(--display-style) var(--display-weight) var(--step-4) / 1 var(--font-display); color: var(--paper-accent-ink); margin-bottom: var(--s-3); }
.step h3 { margin-bottom: var(--s-2); }
.step p { color: var(--paper-muted); }

/* Split */
.split { display: grid; gap: var(--s-7); align-items: center; }
.split-media img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (min-width: 56em) {
  .split { grid-template-columns: 1fr 1fr; }
  .split.reverse .split-media { order: 2; }
}

/* Liste con check */
.checks { display: grid; gap: var(--s-3); }
.checks li { display: grid; grid-template-columns: 1.5rem 1fr; gap: var(--s-3); align-items: start; }
.checks svg { width: 1.5rem; height: 1.5rem; color: var(--accent-ink); margin-top: 0.1em; }
.light .checks svg { color: var(--paper-accent-ink); }

/* Galleria */
.gallery { display: grid; gap: var(--s-3); grid-template-columns: repeat(2, 1fr); }
.gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); }
@media (min-width: 48em) { .gallery { grid-template-columns: repeat(4, 1fr); } }

/* Certificazioni */
.certs { display: grid; gap: var(--s-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); align-items: start; }
.cert { display: grid; gap: var(--s-4); }
.cert-thumb {
  display: block; position: relative; background: var(--cert-bg, #fff); border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--s-3); box-shadow: var(--shadow-soft, none); cursor: zoom-in;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.cert-thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; }
.cert-thumb:hover { border-color: var(--accent-ink); }
@media (prefers-reduced-motion: no-preference) { .cert-thumb:hover { transform: translateY(-3px); } }
.cert-zoom { position: absolute; right: var(--s-3); bottom: var(--s-3); width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; }
.cert-zoom svg { width: 18px; height: 18px; }
.cert h3 { font-size: var(--step-1); }
.cert-meta { color: var(--muted); font-size: var(--step--1); line-height: 1.5; }
.light .cert-meta { color: var(--paper-muted); }
.light .cert-tag { background: var(--paper-tag-bg, var(--tag-bg)); color: var(--paper-tag-text, var(--tag-text)); }
.cert-tag { display: inline-flex; align-self: start; justify-self: start; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; padding: 0.2rem 0.6rem; border-radius: 999px; background: var(--tag-bg); color: var(--tag-text); }

/* Lightbox */
.lightbox { margin: auto; padding: 0; border: 0; background: transparent; max-width: min(96vw, 70rem); max-height: 92dvh; }
.lightbox::backdrop { background: rgb(0 0 0 / 0.82); }
.lightbox img { max-width: 100%; max-height: 86dvh; width: auto; margin-inline: auto; border-radius: var(--radius-sm); background: #fff; }
.lightbox-cap { color: #fff; text-align: center; font-size: var(--step--1); margin-top: var(--s-2); }
.lightbox-close {
  position: fixed; top: var(--s-4); right: var(--s-4); width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: #fff; color: #111; font-size: 1.75rem; line-height: 1; cursor: pointer;
}
.lightbox-close:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

/* Barra prove (proof bar) */
.proof { display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.proof li { display: grid; grid-template-columns: 2.75rem 1fr; gap: var(--s-3); align-items: center; }
.proof-icon { width: 2.75rem; height: 2.75rem; border-radius: 50%; display: grid; place-items: center; background: var(--tag-bg); color: var(--accent-ink); }
.proof-icon svg { width: 1.3rem; height: 1.3rem; }
.proof strong { display: block; font-size: var(--step-0); line-height: 1.3; }
.proof span { color: var(--muted); font-size: var(--step--1); }
.proof a { text-decoration: none; }
.proof a:hover strong { text-decoration: underline; text-underline-offset: 3px; }

/* Info studio */
.info-grid { display: grid; gap: var(--s-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); }
.info-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s-5); }
.light .info-card { background: var(--paper-surface); border-color: var(--paper-line); }
.info-card h3 { font-size: var(--step-1); margin-bottom: var(--s-4); display: flex; align-items: center; gap: var(--s-2); }
.info-card h3 svg { width: 1.3rem; height: 1.3rem; color: var(--accent-ink); }
.light .info-card h3 svg { color: var(--paper-accent-ink); }
.hours { width: 100%; border-collapse: collapse; font-size: var(--step--1); }
.hours th, .hours td { padding: var(--s-2) 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.light .hours th, .light .hours td { border-color: var(--paper-line); }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 700; }
.info-card address { font-style: normal; }
.info-card .btn { margin-top: var(--s-4); font-size: var(--step-0); }

/* FAQ */
.faq { display: grid; gap: var(--s-3); max-width: 52rem; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.light .faq details { background: var(--paper-surface); border-color: var(--paper-line); }
.faq summary {
  list-style: none; cursor: pointer; padding: var(--s-4) var(--s-5); min-height: 44px;
  display: flex; justify-content: space-between; align-items: center; gap: var(--s-4);
  font-weight: 600; font-size: var(--step-0);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 700 var(--step-2) / 1 var(--font-display); color: var(--accent-ink); transition: transform var(--dur) var(--ease); flex: none; }
.light .faq summary::after { color: var(--paper-accent-ink); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-a { padding: 0 var(--s-5) var(--s-5); color: var(--muted); max-width: var(--measure); }
.light .faq .faq-a { color: var(--paper-muted); }

/* CTA band */
.cta-band { background: var(--cta-bg); color: var(--cta-text); --heading: var(--cta-text); }
.cta-band .container { display: grid; gap: var(--s-5); align-items: center; padding-block: var(--s-8); }
.cta-band h2 { font-size: var(--h2-size, var(--step-4)); }
.cta-band .container > * { min-width: 0; }
.cta-band p { font-size: var(--step-1); max-width: 48ch; }
.cta-band .btn-primary { background: var(--cta-btn-bg); color: var(--cta-btn-text); }
.cta-band .btn-primary:hover { background: var(--cta-btn-hover); }
.cta-band .btn-ghost:hover { background: var(--cta-text); color: var(--cta-bg); border-color: var(--cta-text); }
.cta-band :focus-visible { outline-color: var(--cta-text); }
@media (min-width: 56em) { .cta-band .container { grid-template-columns: 1.4fr 1fr; } .cta-band .btn-row { justify-content: flex-end; } }

/* Note / disclaimer */
.note { border-left: 3px solid var(--accent-ink); padding: var(--s-3) var(--s-4); background: var(--surface); font-size: var(--step--1); color: var(--muted); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; max-width: var(--measure); }
.light .note { background: var(--paper-surface); color: var(--paper-muted); }

/* Footer */
.site-footer { background: var(--footer-bg); color: var(--footer-muted); border-top: 1px solid var(--footer-line); padding-block: var(--s-8) var(--s-6); font-size: var(--step--1); }
.footer-grid { display: grid; gap: var(--s-7); grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
.footer-grid h2 { font-size: var(--step-1); color: var(--footer-text); margin-bottom: var(--s-4); }
.footer-grid ul { display: grid; gap: 0; }
.footer-grid a, .footer-bottom a { text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.footer-grid a:hover, .footer-bottom a:hover { color: var(--footer-text); text-decoration: underline; text-underline-offset: 3px; }
.footer-grid address { font-style: normal; line-height: 1.7; }
.footer-brand img { width: 170px; margin-bottom: var(--s-4); }
.social { display: flex; gap: var(--s-3); margin-top: var(--s-4); }
.social a { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--footer-line); border-radius: 50%; }
.social a:hover { border-color: var(--footer-text); }
.social svg { width: 20px; height: 20px; }
.site-footer .hours th, .site-footer .hours td { border-color: var(--footer-line); }
.site-footer :focus-visible { outline-color: var(--footer-text); }
.footer-bottom { margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid var(--footer-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3); }
.footer-bottom p:last-child { display: flex; flex-wrap: wrap; column-gap: var(--s-4); }

/* WhatsApp flottante (tondo) o barra prenotazione (mobile) */
.fab {
  position: fixed; right: var(--s-4); bottom: var(--s-4); z-index: 40;
  display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--accent); color: var(--on-accent); box-shadow: var(--shadow);
}
.fab svg { width: 28px; height: 28px; }
.fab-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: flex; gap: var(--s-2); padding: var(--s-2) var(--gutter) calc(var(--s-2) + env(safe-area-inset-bottom));
  background: var(--header-bg); border-top: 1px solid var(--line);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.fab-bar .btn { flex: 1; font-size: var(--step-0); min-height: 3rem; }
.fab-bar .btn-ghost { flex: 0 0 3rem; padding: 0; }
@media (min-width: 64em) { .fab, .fab-bar { display: none; } }

/* Utility */
.mt-6 { margin-top: var(--s-6); }
.mt-7 { margin-top: var(--s-7); }
.center { text-align: center; }
aside.info-card ul a { display: inline-flex; align-items: center; min-height: 44px; }
.prose p > a:only-child { display: inline-flex; align-items: center; min-height: 44px; }

@media (max-width: 63.99em) {
  .site-footer { padding-bottom: calc(56px + var(--s-7)); } /* spazio per il pulsante fisso */
  .site-nav.is-open { min-height: calc(100dvh - var(--header-h)); }
  body.nav-open { overflow: hidden; }
  body.nav-open .fab, body.nav-open .fab-bar { display: none; }
}
@media (max-width: 29.99em) {
  .hero .btn-row .btn, .page-hero .btn-row .btn, .cta-band .btn-row .btn { flex: 1 1 100%; }
}
@media (max-width: 55.99em) {
  .page-hero-media img { aspect-ratio: 16 / 10; object-position: center 30%; max-height: none; }
}
