/* ==========================================================================
   Muoviti Asd — foglio di stile
   Due temi dallo stesso codice: data-theme="dark" (nero dominante) e
   data-theme="light" (bianco dominante). In entrambi la sezione Contatti
   è in negativo. Montserrat servito in locale: nessuna richiesta esterna.
   ========================================================================== */

@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 300; font-display: swap;
  src: url("../fonts/montserrat-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/montserrat-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/montserrat-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/montserrat-latin-600-normal.woff2") format("woff2"); }

/* ---------- Temi ---------- */
:root,
[data-theme="dark"] {
  --bg: #121111;
  --bg-2: #1a1918;
  --bg-3: #232120;
  --fg: #f2f0ed;
  --fg-2: #bab5b0;
  --fg-3: #99948f;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.6);
  --inv-bg: #e4e1dc;
  --inv-fg: #161515;
  --inv-fg-2: #4b4744;
  --inv-line: rgba(0, 0, 0, 0.14);
  --header-bg: rgba(18, 17, 17, 0.86);
  --mark: #1d1c1b;
  --media-bg: #232120;
  --img-filter: brightness(0.92) contrast(1.04);
  --img-filter-on: brightness(1) contrast(1.04);
}
[data-theme="light"] {
  --bg: #ffffff;
  --bg-2: #f4f3f1;
  --bg-3: #ebe9e5;
  --fg: #1a1818;
  --fg-2: #494545;
  --fg-3: #67625f;
  --line: rgba(0, 0, 0, 0.12);
  --line-strong: rgba(0, 0, 0, 0.72);
  --inv-bg: #161515;
  --inv-fg: #f2f0ed;
  --inv-fg-2: #b3aea9;
  --inv-line: rgba(255, 255, 255, 0.16);
  --header-bg: rgba(255, 255, 255, 0.9);
  --mark: #e9e9e9; /* nero al 10%, il colore del vettoriale di Ilaria */
  --media-bg: #ebe9e5;
  --img-filter: none;
  --img-filter-on: none;
}
:root {
  --max: 1200px;
  --gutter: clamp(20px, 5vw, 56px);
  --section: clamp(84px, 12vw, 168px);
  --bar: 72px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  background: var(--bg);
  scroll-behavior: smooth;
  scroll-padding-top: var(--bar);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 400;
  font-size: clamp(16px, 0.35vw + 14.6px, 18px);
  line-height: 1.7;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1.1em; text-wrap: pretty; }
h1, h2, h3, h4 { margin: 0; font-weight: 300; letter-spacing: -0.015em; text-wrap: balance; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--fg); color: var(--bg); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; border-radius: 2px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--fg); color: var(--bg); padding: 12px 18px; text-decoration: none; font-weight: 500;
}
.skip:focus { top: 12px; }

.tone-1 { background: var(--bg); }
.tone-2 { background: var(--bg-2); }
.tone-3 { background: var(--bg-3); }

/* ---------- Etichette di sezione ---------- */
.label {
  display: flex; align-items: center; gap: 14px;
  margin: 0 0 30px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--fg-3);
}
.label .n { color: var(--fg); font-variant-numeric: tabular-nums; letter-spacing: 0.08em; }
.label .n::after {
  content: ""; display: inline-block; width: 28px; height: 1px; margin-left: 14px;
  background: var(--fg-3); vertical-align: middle; transform: translateY(-1px);
}
.label--hero { text-wrap: balance; }
.label--hero::before { content: ""; flex: none; width: 28px; height: 1px; background: currentColor; }

.display { font-size: clamp(2.2rem, 5vw, 4.4rem); line-height: 1.04; letter-spacing: -0.025em; }

/* ---------- Pulsanti ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border: 1px solid var(--fg); border-radius: 999px;
  font: inherit; font-size: 14px; font-weight: 500; letter-spacing: 0.04em; line-height: 1;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}
.btn--solid { background: var(--fg); color: var(--bg); }
.btn--solid:hover { background: transparent; color: var(--fg); }
.btn--line { background: transparent; color: var(--fg); border-color: var(--line-strong); }
.btn--line:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 12px; letter-spacing: 0.08em; }

/* ---------- Testata ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(120%) blur(14px);
  backdrop-filter: saturate(120%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.bar { display: flex; align-items: center; gap: 24px; height: var(--bar); }
.brand { display: block; color: var(--fg); margin-right: auto; }
.brand .logo { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
.nav > a {
  font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  text-decoration: none; color: var(--fg-2); padding: 6px 0;
  background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat;
  transition: color .25s ease, background-size .35s var(--ease);
}
.nav > a:hover, .nav > a.is-current { color: var(--fg); background-size: 100% 1px; }
.nav-extra { display: none; }
.bar-actions { display: flex; align-items: center; gap: 10px; margin-left: clamp(8px, 2vw, 24px); }
.menu-toggle { display: none; }

/* ---------- Apertura ---------- */
.hero { position: relative; background: var(--bg); overflow: hidden; }
.hero-inner { position: relative; padding-top: clamp(64px, 11vw, 150px); }
.hero-mark {
  position: absolute; z-index: 0; pointer-events: none;
  right: calc(var(--gutter) - 2vw); top: clamp(40px, 6vw, 90px);
  width: clamp(240px, 34vw, 470px); height: auto;
  color: var(--mark);
  animation: mark-in 1.8s var(--ease) .15s both;
}
.hero-inner > :not(.hero-mark) { position: relative; z-index: 1; }
.hero-title {
  font-size: clamp(3.1rem, 10.5vw, 9.4rem);
  line-height: 0.94; letter-spacing: -0.035em;
  margin: 0 0 clamp(28px, 4vw, 48px);
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.hero-title .line > span { display: inline-block; animation: rise 1.2s var(--ease) both; }
.hero-title .line:nth-child(2) > span { animation-delay: .12s; }
.hero-title .eq { color: var(--fg-3); }
.hero-intro {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 64px; align-items: end;
  padding-bottom: clamp(48px, 7vw, 88px);
  animation: fade 1s ease .45s both;
}
.hero-intro p { max-width: 36ch; margin: 0; font-size: clamp(1.02rem, 0.5vw + 0.9rem, 1.2rem); color: var(--fg-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-figure { margin: 0; overflow: hidden; background: var(--media-bg); }
.hero-figure img {
  width: 100%; aspect-ratio: 21 / 9; object-fit: cover; object-position: 50% 70%;
  filter: var(--img-filter);
  animation: settle 2.4s var(--ease) both;
}

@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { transform: scale(1.07); } to { transform: none; } }
@keyframes mark-in { from { opacity: 0; transform: translateY(28px) rotate(-5deg); } to { opacity: 1; transform: none; } }

/* Comparsa allo scorrimento (solo con JavaScript attivo) */
.js [data-reveal] {
  opacity: 0; transform: translateY(22px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--d, 0ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }
/* rete di sicurezza: se lo script non parte, il contenuto resta visibile */
.reveal-all [data-reveal] { opacity: 1; transform: none; }

/* ---------- Sezioni ---------- */
.section { padding-block: var(--section); }

.about { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.about h2 { font-size: clamp(1.55rem, 2.4vw, 2.3rem); line-height: 1.3; }
.about .text { padding-top: 8px; color: var(--fg-2); }
.about .text p:last-child { margin-bottom: 0; }

.attivita { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.attivita .display { margin-bottom: 32px; }
.lead { max-width: 52ch; color: var(--fg-2); }
.lists { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px 40px; margin-top: clamp(40px, 5vw, 64px); }
.course { display: flex; flex-direction: column; align-items: flex-start; }
.course > * { width: 100%; }
.course h3 { font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--fg); margin-bottom: 4px; }
.course-where { margin: 0 0 16px; font-size: 14px; color: var(--fg-3); }
.course-note { margin: 18px 0 28px; font-size: 15px; line-height: 1.6; color: var(--fg-2); }
.course .btn { width: auto; max-width: 100%; margin-top: auto; padding: 0 22px; font-size: 13px; white-space: normal; text-align: center; line-height: 1.25; }
@media (max-width: 359px) { .course .btn { padding: 0 16px; font-size: 12px; letter-spacing: 0.02em; } }
/* computer piccolo: i due corsi uno sotto l'altro, così i pulsanti restano su una riga */
@media (min-width: 981px) and (max-width: 1180px) { .lists { grid-template-columns: minmax(0, 1fr); } }
.lists li { display: flex; gap: 16px; align-items: baseline; padding: 13px 0; border-top: 1px solid var(--line); text-wrap: balance; }
.lists li:last-child { border-bottom: 1px solid var(--line); }
.lists li span { font-size: 11px; font-weight: 500; color: var(--fg-3); letter-spacing: 0.08em; min-width: 20px; font-variant-numeric: tabular-nums; }
.side-photo { margin: 0; position: sticky; top: calc(var(--bar) + 32px); }
.side-photo picture { overflow: hidden; background: var(--media-bg); }
.side-photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; filter: var(--img-filter); }

/* ---------- Galleria ---------- */
.gallery { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.gallery figure { position: relative; margin: 0; overflow: hidden; background: var(--media-bg); }
/* filo sottile: le foto con fondo bianco (pannello CovaTech) non si perdono sullo sfondo */
.gallery figure::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px var(--line); pointer-events: none; }
.gallery picture { height: 100%; }
.gallery img {
  width: 100%; height: 100%; object-fit: cover; filter: var(--img-filter);
  transition: transform 1s var(--ease), filter .6s ease;
}
.gallery figure:hover img { transform: scale(1.035); filter: var(--img-filter-on); }
.g1 { grid-column: span 4; grid-row: span 2; }
.g2, .g3, .g4, .g5, .g6 { grid-column: span 2; aspect-ratio: 4 / 3; }

/* ---------- Sedi ---------- */
.sedi-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: clamp(40px, 6vw, 72px); }
.sedi-head p { max-width: 38ch; margin: 0; color: var(--fg-2); }
.sedi { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); }
.sede { padding: 36px 0 12px; }
.sede--main {
  grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px clamp(40px, 7vw, 120px); align-items: start;
  padding-bottom: clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line);
}
.sede--main + .sede { padding-right: clamp(24px, 3.5vw, 56px); }
.sede--main + .sede + .sede { padding-left: clamp(24px, 3.5vw, 56px); border-left: 1px solid var(--line); }
.sede .kind { margin-bottom: 14px; font-size: 12px; font-weight: 500; line-height: 1.45; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-3); text-wrap: balance; }
.sede h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.15; margin-bottom: 8px; }
.sede .where { color: var(--fg-2); margin-bottom: 22px; }
.sede h3 + .place { margin-top: 22px; }
.sede--main .hours { max-width: 440px; }
.hours { max-width: 520px; margin: 0 0 22px; font-size: 15px; }
.hours div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 9px 0; border-top: 1px solid var(--line); }
.hours div:last-child { border-bottom: 1px solid var(--line); }
.hours dt { color: var(--fg-2); }
.hours dd { margin: 0; font-weight: 500; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.place { margin-bottom: 24px; }
.place h4 { margin: 0 0 2px; font-size: 15px; font-weight: 600; letter-spacing: 0; }
.place p { margin: 0 0 10px; color: var(--fg-2); font-size: 15px; }
.place .hours { margin-bottom: 0; }
.sede-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 8px; font-size: 15px; }
.sede-links a { font-weight: 500; white-space: nowrap; text-decoration: none; border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; transition: color .25s ease, border-color .25s ease; }
.sede-links a:hover { color: var(--fg-2); border-bottom-color: var(--fg-3); }
.door { margin: 0; }
.door picture { overflow: hidden; background: var(--media-bg); }
.door img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: var(--img-filter); }

/* ---------- Contatti: la sezione in negativo ---------- */
.contatti { background: var(--inv-bg); color: var(--inv-fg); }
.contatti .label { color: var(--inv-fg-2); }
.contatti .label .n { color: var(--inv-fg); }
.contatti .label .n::after { background: var(--inv-fg-2); }
.contatti .display { max-width: 19ch; font-size: clamp(2rem, 4.6vw, 4rem); line-height: 1.08; margin-bottom: clamp(48px, 6vw, 80px); }
.contact-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--inv-line); }
.contact-list li { padding: 26px 24px 26px 0; border-bottom: 1px solid var(--inv-line); }
.contact-list li:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--inv-line); }
.contact-list small { display: block; font-size: 12px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--inv-fg-2); margin-bottom: 8px; }
.contact-list li > a { font-size: clamp(1.2rem, 2.3vw, 2rem); font-weight: 300; text-decoration: none; overflow-wrap: anywhere; transition: color .25s ease; }
.contact-list li > a:hover { color: var(--inv-fg-2); }

/* "Chiama o scrivi su WhatsApp": il numero non si vede, il pulsante apre la scelta */
.btn--inv { background: var(--inv-fg); color: var(--inv-bg); border-color: var(--inv-fg); }
.btn--inv:hover { background: transparent; color: var(--inv-fg); }
.btn--inv:focus-visible { outline-color: var(--inv-fg); }
.choice { margin-top: 6px; }
.choice > summary { list-style: none; max-width: 100%; padding: 0 24px; -webkit-user-select: none; user-select: none; white-space: normal; text-align: center; line-height: 1.25; }
.choice > summary::-webkit-details-marker { display: none; }
.choice > summary::after {
  content: ""; flex: none; width: 7px; height: 7px; margin-left: 2px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg); transition: transform .3s var(--ease);
}
/* aperto: il pulsante diventa a filo e sotto compaiono le due scelte */
.choice[open] > summary { background: transparent; color: var(--inv-fg); }
.choice[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
.choice-menu { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; animation: choice-in .35s var(--ease) both; }
.choice-menu .btn { min-height: 48px; padding: 0 22px; }
.choice-menu .out { margin-left: -2px; font-weight: 400; }
@keyframes choice-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
/* telefoni stretti: la scritta del pulsante resta su una riga */
@media (max-width: 359px) { .choice > summary { padding: 0 18px; font-size: 13px; letter-spacing: 0.02em; } }
.big-logo { margin-top: clamp(72px, 10vw, 140px); color: var(--inv-fg); }
.big-logo .logo { width: 100%; height: auto; }

/* ---------- Piede ---------- */
.site-footer { background: var(--bg); color: var(--fg-3); font-size: 13px; }
.footer-inner {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "id top" "note top";
  gap: 6px 40px; align-items: center; padding-block: 32px 40px;
}
.footer-inner p { margin: 0; }
.footer-inner span { white-space: nowrap; }
.footer-id { grid-area: id; color: var(--fg-2); }
.footer-note { grid-area: note; }
.to-top { grid-area: top; color: var(--fg-2); text-decoration: none; font-weight: 500; white-space: nowrap; }
.to-top:hover { color: var(--fg); }

/* ---------- Schermi grandi ---------- */
@media (min-width: 1800px) {
  :root { --max: 1400px; }
  body { font-size: 19px; }
  .hero-mark { width: 540px; }
}

/* ---------- Tablet ---------- */
@media (max-width: 980px) {
  .hero-intro { grid-template-columns: 1fr; align-items: start; gap: 32px; }
  .hero-intro p { max-width: 46ch; }
  .about, .attivita { grid-template-columns: 1fr; }
  .side-photo { position: static; max-width: 440px; }
  .sedi { grid-template-columns: 1fr; }
  .sede--main { grid-template-columns: 1fr; gap: 32px; }
  .sede, .sede--main + .sede, .sede--main + .sede + .sede { padding: 32px 0 36px; border-left: 0; }
  .sede + .sede { border-top: 1px solid var(--line-strong); }
  .sede--main { border-bottom: 0; }
  .sedi-head { flex-direction: column; align-items: start; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g1 { grid-column: span 2; grid-row: auto; aspect-ratio: 4 / 3; }
  .g2, .g3, .g4, .g5 { grid-column: span 1; }
  .g6 { grid-column: span 2; aspect-ratio: 16 / 10; }
  .door { max-width: 520px; }
}
@media (min-width: 721px) and (max-width: 980px) {
  /* la riga sopra il titolo va a capo prima di arrivare alla testa dell'omino */
  .label--hero { max-width: 56%; }
}

/* ---------- Menu a scomparsa e telefono ---------- */
@media (max-width: 860px) {
  /* niente sfocatura: un filtro sulla testata vincolerebbe il menu fisso alla sua altezza */
  .site-header { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .js .menu-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; padding: 0; border: 1px solid var(--line-strong); border-radius: 50%;
    background: transparent; color: var(--fg); cursor: pointer;
  }
  .menu-icon, .menu-icon::before { display: block; width: 16px; height: 1px; background: currentColor; transition: transform .35s var(--ease); }
  .menu-icon { position: relative; transform: translateY(-3px); }
  .menu-icon::before { content: ""; position: absolute; left: 0; top: 6px; }
  .menu-open .menu-icon { transform: translateY(0) rotate(45deg); }
  .menu-open .menu-icon::before { transform: translateY(-6px) rotate(-90deg); }

  .nav {
    position: fixed; inset: var(--bar) 0 auto 0; z-index: 55;
    height: calc(100vh - var(--bar)); height: calc(100dvh - var(--bar)); overflow-y: auto; overscroll-behavior: contain;
    flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 0;
    padding: 24px var(--gutter) 40px;
    background: var(--bg);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .35s ease, transform .45s var(--ease), visibility 0s linear .45s;
  }
  .nav > a {
    width: 100%; padding: 18px 0; border-bottom: 1px solid var(--line);
    font-size: clamp(1.7rem, 7vw, 2.3rem); font-weight: 300; letter-spacing: -0.01em; text-transform: none;
    color: var(--fg); background: none;
  }
  .nav-extra {
    display: block; margin-top: auto; padding-top: 32px;
    font-size: 15px; line-height: 1.6; color: var(--fg-2);
  }
  .nav-extra p { margin: 0 0 6px; }
  .nav-extra .nav-kind { margin-bottom: 10px; font-size: 12px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-3); }
  .nav-extra .nav-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 14px; }
  .nav-extra a { color: var(--fg); font-weight: 500; text-decoration: none; white-space: nowrap; border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; }
  .menu-open .nav { visibility: visible; opacity: 1; transform: none; transition: opacity .35s ease, transform .45s var(--ease); }
  .menu-open, .menu-open body { overflow: hidden; }
  html:not(.js) .nav { display: none; }
}
@media (max-width: 720px) {
  :root { --bar: 64px; }
  .brand .logo { height: 28px; }
  /* la testa dell'omino (con la scritta) sta sopra la riga dell'apertura, non sotto il testo */
  .hero-mark { width: min(62vw, 360px); right: -14vw; top: 14px; }
  .hero-inner { padding-top: calc(22px + min(19vw, 110px)); }
  .hero-intro { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-figure img { aspect-ratio: 4 / 3; }
  .lists { grid-template-columns: 1fr; }
  .contact-list { grid-template-columns: 1fr; }
  .contact-list li:nth-child(even) { padding-left: 0; border-left: 0; }
  .hours { font-size: 14px; }
  .footer-inner { grid-template-columns: 1fr; grid-template-areas: "id" "note" "top"; gap: 8px; }
  .to-top { margin-top: 10px; }
}

/* ---------- Movimento ridotto ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .gallery figure:hover img { transform: none; }
}
