/* =====================================================================
   EQUIPE OREAL PARRUCCHIERI · stile comune a tutte le pagine
   v3 · 30/09/2026 · restyling completo
   Motivo grafico: l'arco delle vetrine del salone (foto e video con la cima tonda).
   Colori: avorio e sabbia della facciata, antracite delle pareti interne, bronzo come accento.
   Lo stile di ogni pagina è in css/pagine/ · gli effetti del kit in css/effetti.css
   ===================================================================== */
:root {
  --avorio: #f5f1ea;
  --sabbia: #e9dfd1;
  --sabbia-scura: #d8c9b4;
  --antracite: #22201e;
  --antracite-2: #2e2b28;
  --testo: #1f1d1b;
  --testo-2: #5f5850;
  --bronzo: #9b7a4c;
  --bronzo-testo: #7a5b32;        /* bronzo per il testo piccolo su fondo chiaro (contrasto sufficiente) */
  --bronzo-chiaro: #cfae7e;       /* bronzo su fondo antracite */
  --bianco: #fff;
  --linea: rgba(31, 29, 27, .14);
  --linea-chiara: rgba(245, 241, 234, .16);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Poppins", "Segoe UI", Arial, sans-serif;
  --maxw: 1240px;
  --margine: clamp(20px, 5vw, 48px);
  --sezione: clamp(72px, 10vw, 136px);
  --arco: 999px 999px 0 0;
  --raggio: 3px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --freccia: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 10'%3E%3Cpath d='M0 5h16M12 1l4 4-4 4' fill='none' stroke='%23000' stroke-width='1.4'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--testo);
  background: var(--avorio);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 1.4rem + 5vw, 5.4rem); line-height: 1.02; letter-spacing: -.02em; }
h2 { font-size: clamp(2rem, 1.2rem + 3vw, 3.5rem); letter-spacing: -.015em; }
h3 { font-size: clamp(1.25rem, 1rem + .8vw, 1.6rem); line-height: 1.2; }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }
::selection { background: var(--bronzo-chiaro); color: var(--antracite); }
:focus-visible { outline: 2px solid var(--bronzo); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--margine); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- Etichetta (occhiello sopra i titoli) ---------- */
.etichetta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  font: 600 .72rem/1.4 var(--sans);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--bronzo-testo);
}
.etichetta::before { content: ""; width: 28px; height: 1px; background: currentColor; flex: 0 0 auto; }
.etichetta--chiara, .sezione--scura .etichetta { color: var(--bronzo-chiaro); }
.oro { color: var(--bronzo); }

/* ---------- Bottoni e link ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 30px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 600 .76rem/1.2 var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn .icon-svg { width: 1.15em; height: 1.15em; }
.btn .fx-rotola { vertical-align: top; }
.btn-primary { background: var(--antracite); color: var(--avorio); }
.btn-primary:hover { background: var(--bronzo); }
.btn-outline { border-color: currentColor; color: var(--testo); background: transparent; }
.btn-outline:hover { background: var(--antracite); border-color: var(--antracite); color: var(--avorio); }
.btn-chiaro { background: var(--avorio); color: var(--antracite); }
.btn-chiaro:hover { background: var(--bronzo-chiaro); }
.btn-outline--light { color: var(--avorio); }
.btn-outline--light:hover { background: var(--avorio); border-color: var(--avorio); color: var(--antracite); }

.link-freccia {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0 6px;
  border-bottom: 1px solid currentColor;
  font: 600 .74rem/1.4 var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
}
.link-freccia::after {
  content: "";
  width: 18px; height: 10px;
  background: currentColor;
  -webkit-mask: var(--freccia) center / contain no-repeat;
  mask: var(--freccia) center / contain no-repeat;
  transition: transform .35s var(--ease);
}
.link-freccia:hover::after { transform: translateX(5px); }
.addr-link { border-bottom: 1px dotted currentColor; }
.addr-link:hover { opacity: .75; }

/* ---------- Icone ---------- */
.icon-svg { width: 1em; height: 1em; vertical-align: -.15em; flex-shrink: 0; }
.menu-toggle .icon-svg { width: 28px; height: 28px; }
.float-call .icon-svg { width: 24px; height: 24px; }
.review-stars { display: flex; gap: 3px; color: var(--bronzo); }
.review-stars .icon-star { width: 15px; height: 15px; }

/* =====================================================================
   Barra in alto, intestazione e menu
   ===================================================================== */
.topbar { background: var(--antracite); color: var(--avorio); font-size: .8rem; letter-spacing: .02em; }
.topbar .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 20px;
  padding-top: 9px;
  padding-bottom: 9px;
}
.topbar .phone-group { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 2px 12px; }
.topbar .phone-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; white-space: nowrap; }
.topbar .phone-link:hover { color: var(--bronzo-chiaro); }
.topbar .divider { opacity: .4; }
.topbar .summer-note { display: inline-flex; align-items: center; gap: 6px; color: var(--bronzo-chiaro); white-space: nowrap; }
.topbar .address-note { opacity: .75; }

header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--linea);
  transition: box-shadow .3s var(--ease);
}
/* fondo sfocato su uno strato a parte: sull'intestazione stessa renderebbe il menu a tutto schermo
   prigioniero dell'intestazione (backdrop-filter crea un contenitore per gli elementi fixed) */
header.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(245, 241, 234, .9);
  -webkit-backdrop-filter: saturate(1.2) blur(12px);
  backdrop-filter: saturate(1.2) blur(12px);
}
header.site-header.scrolled { box-shadow: 0 10px 30px rgba(34, 32, 30, .08); }
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 18px;
  padding-bottom: 18px;
  transition: padding .3s var(--ease);
}
header.site-header.scrolled .nav-wrap { padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand-logo { height: 42px; width: auto; transition: height .3s var(--ease); }
header.site-header.scrolled .brand-logo { height: 34px; }
nav.main-nav ul { list-style: none; display: flex; gap: clamp(18px, 2.4vw, 36px); margin: 0; padding: 0; }
nav.main-nav a {
  position: relative;
  display: inline-block;
  padding: 8px 0;
  font: 500 .74rem/1 var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
}
nav.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--ease);
}
nav.main-nav a:hover::after, nav.main-nav a.active::after { transform: scaleX(1); transform-origin: left; }
nav.main-nav a.active { color: var(--bronzo-testo); }
.mobile-nav-head, .nav-backdrop { display: none; }
.header-cta { display: flex; align-items: center; gap: 10px; }
.header-cta .btn { min-height: 44px; padding: 10px 22px; }
.menu-toggle { display: none; background: none; border: 0; padding: 6px; cursor: pointer; color: var(--testo); }

/* =====================================================================
   Sezioni e titoli
   ===================================================================== */
section { padding: var(--sezione) 0; }
.sezione--sabbia { background: var(--sabbia); }
.sezione--scura { background: var(--antracite); color: var(--avorio); }
.sezione--scura p { color: rgba(245, 241, 234, .78); }

.testa {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 48px;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.testa h2 { margin: 0; max-width: 17ch; }
.testa__nota { max-width: 44ch; margin: 0; color: var(--testo-2); }
.sezione--scura .testa__nota { color: rgba(245, 241, 234, .72); }

/* ---------- Testata delle pagine interne ---------- */
.testata { padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 8vw, 112px); }
.testata__griglia {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.testata h1 { margin-bottom: 24px; }
.testata__intro { font-size: clamp(1.05rem, .95rem + .4vw, 1.25rem); color: var(--testo-2); max-width: 44ch; margin: 0; }
.testata__foto { margin: 0; width: 100%; aspect-ratio: 4 / 5; max-height: 540px; overflow: hidden; background: var(--sabbia-scura); }
.testata__foto img { width: 100%; height: 100%; object-fit: cover; }
.testata--semplice .testata__griglia { align-items: end; }
.testata--semplice h1 { margin-bottom: 0; }

/* ---------- Arco: la cima tonda delle vetrine del salone ---------- */
.arco { border-radius: var(--arco); overflow: hidden; }

/* ---------- Striscia che scorre con i marchi ---------- */
.striscia-marchi { background: var(--antracite); color: var(--avorio); padding: 24px 0; --striscia-spazio: 44px; }
.striscia-marchi span { font-family: var(--serif); font-size: clamp(1.4rem, 1rem + 2vw, 2.5rem); white-space: nowrap; }
.striscia-marchi .sep { font-size: 1rem; color: var(--bronzo-chiaro); }

/* ---------- Testo e foto affiancati (home e chi siamo) ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 104px); align-items: center; }
.duo__foto { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--sabbia-scura); }
.duo__foto img { width: 100%; height: 100%; object-fit: cover; }
.duo__testo p { color: var(--testo-2); max-width: 52ch; }
.duo__testo .btn, .duo__testo .link-freccia { margin-top: 12px; }
.didascalia { margin: 14px 0 0; font-size: .8rem; color: var(--testo-2); letter-spacing: .02em; }

/* =====================================================================
   Video
   ===================================================================== */
.video-box { position: relative; overflow: hidden; background: var(--antracite); border-radius: var(--raggio); }
.video-box.arco { border-radius: var(--arco); }
.video-box--vertical { aspect-ratio: 9 / 16; }
.video-box--horizontal { aspect-ratio: 16 / 9; }
.video-box--square { aspect-ratio: 1 / 1; }
.video-box .site-video { width: 100%; height: 100%; object-fit: cover; display: block; cursor: pointer; }
.video-sound-btn {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .35);
  background: rgba(34, 32, 30, .55);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s ease;
}
.video-sound-btn:hover { background: rgba(34, 32, 30, .85); }
.video-sound-btn .icon-svg { width: 18px; height: 18px; }
.video-sound-btn .icon-sound-on { display: none; }
.video-sound-btn.is-unmuted .icon-sound-off { display: none; }
.video-sound-btn.is-unmuted .icon-sound-on { display: block; }
.video-caption {
  margin-top: 12px;
  font: 500 .7rem/1.4 var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--testo-2);
}

/* ---------- Nastro di video che si scorre di lato (home e servizi) ----------
   Struttura del kit: [data-slider] > .slider__traccia + bottoni data-slider-prec / data-slider-succ.
   Col dito si scorre direttamente; senza JS la striscia si scorre lo stesso e le frecce spariscono. */
.nastro + .nastro { margin-top: clamp(44px, 6vw, 80px); }
.nastro__testa {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--linea);
}
.nastro__testa h3 { margin: 0; }
.nastro__conta {
  margin-left: 12px;
  font: 500 .7rem/1 var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--testo-2);
  vertical-align: middle;
  white-space: nowrap;
}
.nastro__frecce { display: flex; gap: 8px; flex: 0 0 auto; }
html:not(.js) .nastro__frecce { display: none; }
.nastro.is-fermo .nastro__frecce { visibility: hidden; }
.freccia {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--testo);
  background: transparent;
  color: var(--testo);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .25s, color .25s, opacity .25s;
}
.freccia:hover:not(:disabled) { background: var(--antracite); color: var(--avorio); }
.freccia:disabled { opacity: .28; cursor: default; }
.freccia .icon-svg { width: 18px; height: 18px; }
.nastro__traccia { --slider-spazio: clamp(12px, 1.8vw, 24px); padding-bottom: 6px; }
.nastro__voce { width: clamp(190px, 56vw, 270px); margin: 0; }
.nastro__voce .video-box { aspect-ratio: 3 / 4; }

/* ---------- I tre marchi (home e servizi) ---------- */
.marchi { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 2.4vw, 32px); }
.marchio { margin: 0; }
.marchio__foto { aspect-ratio: 3 / 4; border-radius: var(--arco); overflow: hidden; background: var(--sabbia-scura); }
.marchio__foto img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.marchio:hover .marchio__foto img { transform: scale(1.05); }
.marchio figcaption {
  margin-top: 16px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(.95rem, .7rem + 1.1vw, 1.6rem);
  line-height: 1.2;
  text-align: center;
}
.pos-alto { object-position: center 30%; }
.pos-basso { object-position: center 70%; }

/* ---------- Schede dei servizi con foto (home) ---------- */
.schede { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.6vw, 36px); }
.scheda { display: block; }
.scheda__foto { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--raggio); background: var(--sabbia-scura); }
.scheda__foto img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.scheda:hover .scheda__foto img { transform: scale(1.04); }
.scheda__testo { padding-top: 22px; }
.scheda__num { display: block; margin-bottom: 10px; font: 500 .72rem/1 var(--sans); letter-spacing: .16em; color: var(--bronzo-testo); }
.scheda h3 { margin-bottom: 8px; }
.scheda p { margin: 0; font-size: .95rem; color: var(--testo-2); }

/* ---------- Elenco numerato (servizi e chi siamo) ---------- */
.elenco { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--linea); }
.elenco > li {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 32px);
  padding: clamp(16px, 2vw, 24px) 0;
  border-bottom: 1px solid var(--linea);
  transition: padding .5s var(--ease);
}
.elenco__num { flex: 0 0 auto; min-width: 2.2em; font: 500 .72rem/1 var(--sans); letter-spacing: .16em; color: var(--bronzo-testo); }
.elenco__testo { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.elenco__nome { font-family: var(--serif); font-weight: 600; font-size: clamp(1.2rem, 1rem + 1vw, 1.85rem); line-height: 1.2; transition: color .3s, opacity .3s; }
.elenco__desc { max-width: 40ch; font-size: .92rem; color: var(--testo-2); }

/* =====================================================================
   Galleria e foto ingrandita
   ===================================================================== */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(8px, 1.4vw, 18px); }
.gallery-grid figure { margin: 0; overflow: hidden; border-radius: var(--raggio); background: var(--sabbia-scura); }
.gallery-grid img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform 1.2s var(--ease); }
.gallery-grid figure:hover img { transform: scale(1.04); }
.gallery-grid figure:not(:has(a)) img { cursor: zoom-in; }

.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: rgba(24, 22, 20, .94);
}
.lightbox-overlay.open { display: flex; }
.lightbox-overlay img { max-width: 88vw; max-height: 85vh; border-radius: var(--raggio); box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .3);
  background: transparent;
  color: #fff;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s ease;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255, 255, 255, .15); }
.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* =====================================================================
   Piè di pagina con invito a prenotare (uguale in tutte le pagine)
   ===================================================================== */
footer.site-footer { background: var(--antracite); color: var(--avorio); padding: clamp(72px, 10vw, 128px) 0 28px; }
.footer-cta {
  padding-bottom: clamp(56px, 8vw, 96px);
  margin-bottom: clamp(40px, 6vw, 64px);
  border-bottom: 1px solid var(--linea-chiara);
}
.footer-cta__titolo { font-size: clamp(2rem, 1.2rem + 3.2vw, 3.8rem); max-width: 17ch; margin-bottom: clamp(24px, 4vw, 40px); }
.footer-cta__numero {
  display: inline-block;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(207, 174, 126, .45);
  font: 600 clamp(2.3rem, 1.3rem + 5vw, 5.4rem)/1.05 var(--serif);
  letter-spacing: -.02em;
  color: var(--bronzo-chiaro);
  white-space: nowrap;
  transition: color .3s, border-color .3s;
}
.footer-cta__numero:hover { color: var(--avorio); border-color: var(--avorio); }
.footer-cta__nota { margin: 24px 0 0; font-size: .95rem; color: rgba(245, 241, 234, .72); }
footer.site-footer .footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 48px; }
footer.site-footer h4 {
  margin: 0 0 18px;
  font: 600 .7rem/1 var(--sans);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--bronzo-chiaro);
}
footer.site-footer p { margin: 0 0 8px; font-size: .92rem; color: rgba(245, 241, 234, .78); }
footer.site-footer a:hover { color: var(--bronzo-chiaro); }
.footer-logo { height: 40px; width: auto; margin-bottom: 20px; }
footer.site-footer .bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  padding-top: 22px;
  border-top: 1px solid var(--linea-chiara);
  font-size: .8rem;
  color: rgba(245, 241, 234, .55);
}

/* ---------- Bottone tondo di chiamata ---------- */
.float-call {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 70;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--bronzo);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(34, 32, 30, .3);
  transition: transform .2s ease, background .2s ease;
}
.float-call:hover { background: var(--antracite); transform: translateY(-2px); }

/* ---------- Vecchia comparsa del sito (resta per sicurezza: senza JS tutto visibile) ---------- */
.reveal { transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal:not(.is-visible) { opacity: 0; transform: translateY(24px); }

/* ---------- Piccole classi di servizio ---------- */
.centrato { text-align: center; }
.nowrap { white-space: nowrap; }
.mt-grande { margin-top: clamp(48px, 7vw, 88px); }
.pt-0 { padding-top: 0; }
.duo__figura { margin: 0; }

/* =====================================================================
   Schermi medi e piccoli
   1180: sparisce il numero nell'intestazione · 1000: menu a tutto schermo
   760: colonne una sopra l'altra, schede che si scorrono col dito · 560: telefono
   ===================================================================== */
@media (max-width: 1180px) {
  .header-cta .btn-outline { display: none; }
}

@media (max-width: 1000px) {
  .menu-toggle { display: block; }
  nav.main-nav {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: flex;
    flex-direction: column;
    padding: 18px var(--margine) 32px;
    overflow-y: auto;
    background: var(--avorio);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s linear .35s;
  }
  nav.main-nav.open { opacity: 1; visibility: visible; transform: none; transition: opacity .35s var(--ease), transform .35s var(--ease); }
  .mobile-nav-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--linea);
  }
  .mobile-nav-logo { height: 34px; width: auto; }
  .menu-close { background: none; border: 0; padding: 4px 8px; font-size: 2.4rem; line-height: 1; cursor: pointer; color: var(--testo); }
  nav.main-nav ul { flex-direction: column; gap: 0; margin: auto 0; padding: 28px 0; counter-reset: voce; }
  nav.main-nav li { border-bottom: 1px solid var(--linea); }
  nav.main-nav a {
    display: flex;
    align-items: baseline;
    gap: 18px;
    padding: 14px 0;
    font: 600 clamp(1.9rem, 7vw, 2.8rem)/1.2 var(--serif);
    letter-spacing: -.01em;
    text-transform: none;
  }
  nav.main-nav a::before {
    counter-increment: voce;
    content: "0" counter(voce);
    font: 500 .72rem/1 var(--sans);
    letter-spacing: .16em;
    color: var(--bronzo-testo);
  }
  nav.main-nav a::after { display: none; }

  footer.site-footer .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .testata__griglia, .duo { grid-template-columns: 1fr; }
  .testata__foto { aspect-ratio: 1 / 1; max-height: none; }
  .duo__foto { aspect-ratio: 4 / 3; }
  .testa { align-items: flex-start; flex-direction: column; }
  .nastro__traccia { margin: 0 calc(-1 * var(--margine)); padding: 0 var(--margine) 6px; scroll-padding: 0 var(--margine); }
  .nastro__testa h3 .nastro__conta { display: block; margin: 6px 0 0; }

  /* schede in fila che si scorrono col dito (la successiva si intravede) */
  .scorri-telefono {
    display: flex;
    gap: 14px;
    margin: 0 calc(-1 * var(--margine));
    padding: 0 var(--margine) 6px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 var(--margine);
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }
  .scorri-telefono::-webkit-scrollbar { display: none; }
  .scorri-telefono > * { flex: 0 0 78%; scroll-snap-align: start; }
}

@media (max-width: 560px) {
  .topbar { font-size: .74rem; }
  .topbar .container { justify-content: center; text-align: center; padding-top: 8px; padding-bottom: 8px; }
  .topbar .phone-group { justify-content: center; gap: 2px 14px; }
  .topbar .divider, .topbar .address-note { display: none; }
  .brand-logo { height: 36px; }
  .header-cta .btn { padding: 10px 18px; }
  footer.site-footer .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .float-call { width: 52px; height: 52px; right: 14px; bottom: 14px; }
  .lightbox-overlay { padding: 16px; }
  .lightbox-close, .lightbox-prev, .lightbox-next { width: 42px; height: 42px; font-size: 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal:not(.is-visible) { opacity: 1; transform: none; }
  nav.main-nav { transition: none !important; }
}
