/* caratteri ospitati sul sito (niente richieste a Google: più veloce e senza problemi GDPR) */
@font-face {
  font-family: "Italiana"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/italiana-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Jost"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("../fonts/jost-latin.woff2") format("woff2");
}

:root {
  --bg: #F4E9DF;          /* crema: identico al fondale dei fotogrammi */
  --ink: #141012;         /* nero profondo */
  --muted: #5C4B46;
  --cipria: #D9A19C;      /* colore firma: bottoni */
  --field: #ECA5A6;       /* rosa della pozza finale: sfondo dell'intro */
  --silver: #B8B4B2;

  --serif: "Italiana", "Didot", Georgia, serif;
  --sans: "Jost", "Futura", system-ui, sans-serif;

  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-display: clamp(3.75rem, 8.8vw, 10.5rem);

  --pad: clamp(16px, 2.2vw, 32px);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 var(--step-body)/1.6 var(--sans);
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
img, canvas, svg { display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
::selection { background: var(--cipria); color: var(--ink); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }   /* anche sugli elementi con un display proprio (bottoni, griglie) */

/* ---------- barra ---------- */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  display: flex; align-items: center; gap: 24px;
  padding: var(--pad);
  pointer-events: none;
}
.bar > * { pointer-events: auto; }
.wordmark { display: block; line-height: 0; }
.wordmark img { height: 46px; width: auto; }
.status { margin: 0 0 0 auto; font-size: var(--step-small); color: var(--ink); }
.status::before {
  content: ""; display: inline-block; width: 0.55em; height: 0.55em; margin-right: 0.55em;
  border-radius: 50%; background: var(--muted); vertical-align: 0.06em;
}
.status.is-open::before { background: #3F7A55; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 48px; padding: 0 1.6em;
  border: 0; border-radius: 999px;
  background: var(--cipria); color: var(--ink);
  font: 500 var(--step-body)/1 var(--sans); letter-spacing: 0.02em; text-decoration: none;
  cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s var(--ease);
}
.btn:hover { background: #CF928C; }
.btn:active { transform: scale(.97); }
.btn--ink, .bar.on-field .btn { background: var(--ink); color: var(--bg); }
.btn--ink:hover, .bar.on-field .btn:hover { background: #2A2225; }

/* ---------- barra: telefono fisso e menu a tre gocce di smalto ---------- */
.bar-tel .i { width: 1.05em; height: 1.05em; }
.menu-btn { flex: none; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; }
.menu-btn svg { width: 100%; height: 100%; overflow: visible; }
.menu-btn .md { transform-box: fill-box; transform-origin: center; transition: transform .45s var(--ease), opacity .35s var(--ease), fill .3s; }
.menu-btn .md1 { fill: var(--cipria); }
.menu-btn .md2 { fill: var(--ink); }
.menu-btn .md3 { fill: #B8B4B2; }
.menu-btn:hover .md { transform: translateY(-2px); }
.menu-btn:hover .md2 { transition-delay: .05s; }
.menu-btn:hover .md3 { transition-delay: .1s; }
.menu-btn .mx { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 20; stroke-dashoffset: 20; transition: stroke-dashoffset .35s var(--ease); }
/* aperto: le tre gocce scivolano al centro e diventano una X */
.menu-btn[aria-expanded="true"] .md1 { transform: translateX(12px) scale(.3); opacity: 0; }
.menu-btn[aria-expanded="true"] .md2 { transform: scale(.3); opacity: 0; }
.menu-btn[aria-expanded="true"] .md3 { transform: translateX(-12px) scale(.3); opacity: 0; }
.menu-btn[aria-expanded="true"] .mx { stroke-dashoffset: 0; transition-delay: .2s; }
.bar.on-photo .menu-btn .md2 { fill: #FBF6F1; }

/* menu a tutto schermo: si apre come una goccia che si allarga dal bottone */
.menu {
  position: fixed; inset: 0; z-index: 19; overflow-y: auto;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 22rem); align-items: end; gap: 40px 64px;
  padding: calc(var(--pad) + 110px) var(--pad) calc(var(--pad) + 16px);
  background: var(--bg); visibility: hidden;
  --from: calc(100% - var(--pad) - 24px) calc(var(--pad) + 24px);   /* centro del bottone del menu */
  clip-path: circle(0 at var(--from));
  transition: clip-path .7s var(--ease), visibility 0s .7s;
}
.menu.is-open { visibility: visible; clip-path: circle(150% at var(--from)); transition: clip-path .7s var(--ease); }
.menu-list { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(2px, 1vh, 10px); }
.menu-list li { opacity: 0; transform: translateY(24px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.menu.is-open .menu-list li { opacity: 1; transform: none; transition-duration: .6s; transition-delay: calc(.2s + var(--i, 0) * 55ms); }
.menu-list a { display: inline-flex; align-items: center; gap: .4em; font: 400 clamp(2.25rem, 1.3rem + 3.4vw, 4.75rem)/1.08 var(--serif); letter-spacing: -0.01em; text-decoration: none; }
.menu-nail { width: .4em; height: .62em; flex: none; fill: transparent; stroke: var(--ink); stroke-width: 1.5; vector-effect: non-scaling-stroke; transition: fill .3s var(--ease), stroke .3s, transform .3s var(--ease); }
.menu-list a:hover .menu-nail, .menu-list a:focus-visible .menu-nail, .menu-list a[aria-current] .menu-nail { fill: var(--cipria); stroke: var(--cipria); transform: rotate(-12deg); }
.menu-foot { display: grid; gap: 14px; justify-items: start; opacity: 0; transition: opacity .4s var(--ease); }
.menu.is-open .menu-foot { opacity: 1; transition-delay: .55s; }
.menu-foot .status { margin: 0; }
@media (min-width: 768px) { .menu-foot .status { display: none; } }   /* su computer l'orario è già nella barra */
.menu-addr { margin: 0; color: var(--muted); }
.menu-tel { font: 400 var(--step-lead)/1.2 var(--sans); text-decoration: none; }
/* con il menu aperto la barra è sempre quella chiara, qualunque sezione ci sia sotto */
html.menu-open { overflow: hidden; }
html.menu-open .bar .wordmark { opacity: 1 !important; }
html.menu-open .bar .wordmark img { filter: none; }
html.menu-open .bar .status { color: var(--ink); }
html.menu-open .bar .btn { background: var(--cipria); color: var(--ink); }
html.menu-open .menu-btn .md2 { fill: var(--ink); }
html.menu-open .wa-float { opacity: 0; pointer-events: none; }

/* ---------- recensioni: "Lascia la tua recensione", le stelle si accendono una alla volta ---------- */
.rc-side { display: grid; gap: 18px; justify-items: end; }
.rc-write {
  display: inline-flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 22px;
  border: 1px solid var(--ink); border-radius: 999px; color: var(--ink); font-weight: 500; text-decoration: none;
  transition: background-color .3s, color .3s;
}
.rc-write:hover, .rc-write:focus-visible { background: var(--ink); color: #FBF6F1; }
.rc-write-stars { display: inline-flex; gap: 3px; }
.rc-write-stars svg { width: 16px; height: 16px; fill: transparent; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; transition: fill .25s var(--ease), stroke .25s; transition-delay: calc(var(--n) * 80ms); }
.rc-write:hover .rc-write-stars svg, .rc-write:focus-visible .rc-write-stars svg { fill: #E7CC88; stroke: #E7CC88; }
.rc-write.is-lit:not(:hover) .rc-write-stars svg { fill: var(--accent); stroke: var(--accent); }

/* ---------- hero ---------- */
.hero { position: relative; height: 520lvh; }
.stage {
  position: sticky; top: 0;
  height: 100lvh; overflow: hidden;
  background: var(--bg);
}
.hero-poster, .frames, .drop { position: absolute; top: 0; height: 100%; }
.hero-poster { left: 50%; width: auto; max-width: none; transform: translateX(-50%); }
.frames, .drop { left: 0; width: 100%; }
.drop { pointer-events: none; }
.js .hero-poster.is-hidden { visibility: hidden; }


.hero-title {
  position: absolute; left: 0; right: 0; top: 41%; z-index: 2;
  display: grid; grid-template-columns: 1fr calc(26lvh + 72px) 1fr; align-items: baseline;
  margin: 0; padding: 0 var(--pad);
  font: 400 var(--step-display)/0.95 var(--serif); letter-spacing: -0.01em;
}
.hero-title .w1 { grid-column: 1; justify-self: end; }
.hero-title .w2 { grid-column: 3; justify-self: start; }
.hero-title span { display: block; will-change: transform, opacity; }

.hero-lede, .hero-hint { position: absolute; bottom: var(--pad); margin: 0; z-index: 2; }
.hero-lede { left: var(--pad); max-width: 30ch; }
.hero-hint { left: 50%; transform: translateX(-50%); font-size: var(--step-small); color: var(--muted); white-space: nowrap; }
.hero-status { display: none; }

/* ---------- intro (sfondo = colore finale della macchia) ---------- */
.intro {
  position: relative; z-index: 1;
  min-height: 100svh;
  display: grid; align-content: center; justify-items: start; justify-content: center; gap: 48px;
  grid-template-columns: minmax(0, 44rem);
  padding: 20vh var(--pad);
  background: var(--field);
}
.intro p {
  margin: 0; max-width: 24ch;
  font: 400 clamp(1.5rem, 1rem + 1.6vw, 2.25rem)/1.3 var(--sans);
  letter-spacing: 0;
}

/* ---------- WhatsApp sempre visibile ---------- */
.wa-float {
  position: fixed; right: var(--pad); bottom: calc(var(--pad) + env(safe-area-inset-bottom)); z-index: 30;
  display: inline-flex; align-items: center; gap: 0.6em;
  min-height: 52px; padding: 0 1.3em 0 1.1em; border-radius: 999px;
  background: var(--ink); color: var(--bg);
  font: 500 var(--step-small)/1 var(--sans); letter-spacing: 0.02em; text-decoration: none;
  transition: transform .25s var(--ease);
}
.wa-float:hover { transform: translateY(-2px); }
.wa-float:active { transform: scale(.96); }
.wa-float svg { width: 22px; height: 22px; fill: currentColor; }

/* ---------- schermi verticali: il titolo sta sopra la boccetta, non ai lati ---------- */
@media (max-aspect-ratio: 1/1) {
  .hero-title {
    top: calc(var(--pad) + 64px);
    display: block; text-align: center;
    font-size: 12.4vw;
  }
  .hero-title span { display: inline-block; }
  .hero-hint { display: none; }
}

/* ---------- telefono ---------- */
@media (max-width: 767px) {
  .bar { gap: 12px; }
  .wordmark img { height: 34px; }
  .bar .status { display: none; }
  /* sul telefono il fisso è una cornetta tonda */
  .bar .bar-tel { width: 44px; min-height: 44px; padding: 0; margin-left: auto; }
  .bar-tel span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .menu-btn { width: 44px; height: 44px; }
  .menu { grid-template-columns: 1fr; align-items: start; align-content: space-between; padding-top: calc(var(--pad) + 84px); --from: calc(100% - var(--pad) - 22px) calc(var(--pad) + 22px); }
  .rc-side { justify-items: start; }
  .hero-lede {
    bottom: calc(100lvh - 100svh + var(--pad) + 26px + env(safe-area-inset-bottom));
    right: 84px; font-size: 1rem; line-height: 1.45;
  }
  .hero-status {
    display: block; position: absolute; z-index: 2; margin: 0;
    left: var(--pad); bottom: calc(100lvh - 100svh + var(--pad) + env(safe-area-inset-bottom));
  }
  .wa-float { width: 56px; min-height: 56px; padding: 0; justify-content: center; }
  .wa-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

/* ---------- movimento ridotto: niente scrub, boccetta ferma ---------- */
.hero.is-static { height: 100lvh; }
@media (prefers-reduced-motion: reduce) {
  .btn, .wa-float { transition: none; }
}

/* ---------- piano sequenza del salone ---------- */
.sequenza { position: relative; height: 780lvh; background: var(--ink); color: #FBF6F1; }
.seq-stage { position: sticky; top: 0; height: 100lvh; overflow: hidden; }
.seq-poster, .seq-frames { position: absolute; inset: 0; width: 100%; height: 100%; }
.seq-poster { object-fit: cover; }
.js .seq-poster.is-hidden { visibility: hidden; }
/* scrim neutro sotto la barra e sotto il testo, solo dove serve a leggere sopra le foto */
.seq-stage::before, .seq-stage::after { content: ""; position: absolute; left: 0; right: 0; pointer-events: none; }
.seq-stage::before { top: 0; height: 140px; background: linear-gradient(rgba(20, 16, 18, .42), rgba(20, 16, 18, 0)); } /* taste-skill-ignore */
.seq-stage::after { bottom: 0; height: 66%; background: linear-gradient(rgba(20, 16, 18, 0), rgba(20, 16, 18, .45) 45%, rgba(20, 16, 18, .72)); } /* taste-skill-ignore */

.seq-chapters { list-style: none; margin: 0; padding: 0; position: absolute; z-index: 2; left: var(--pad); right: var(--pad); bottom: calc(var(--pad) + 76px); }
.seq-chapters li {
  /* testo bianco direttamente sul video (niente scheda): titolo, cosa si fa e perché, il dettaglio in cipria */
  position: absolute; left: 0; bottom: 0; max-width: min(48rem, 100%);
  opacity: 0; transform: translateY(20px);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.seq-chapters li.is-active { opacity: 1; transform: none; }
.seq-n { font: 500 var(--step-body)/1 var(--sans); }
.seq-chapters h3 { margin: .25em 0 .2em; font: 400 clamp(2.75rem, 6.6vw, 6.75rem)/0.95 var(--serif); letter-spacing: -0.01em; }
.seq-chapters p { margin: 0; max-width: 40ch; font-size: var(--step-body); line-height: 1.5; }
.seq-chapters .seq-detail { display: inline-block; margin-top: 16px; padding-top: 12px; border-top: 1px solid rgba(251, 246, 241, .35); font-size: var(--step-small); font-weight: 500; color: var(--cipria); }

.seq-ui { position: absolute; z-index: 2; left: var(--pad); bottom: var(--pad); display: flex; align-items: center; gap: 28px; }
.seq-nails { display: flex; gap: 10px; }
.seq-nail { width: 22px; height: 34px; padding: 0; border: 0; background: none; cursor: pointer; transition: transform .2s var(--ease); }
.seq-nail:hover { transform: translateY(-3px); }
.seq-nail svg { width: 100%; height: 100%; }
.seq-nail .base { fill: rgba(251, 246, 241, .3); }
.seq-nail .fill { fill: var(--cipria); }
.seq-skip {
  min-height: 44px; padding: 0 1.2em; border: 0; border-radius: 999px; cursor: pointer;
  background: #FBF6F1; color: var(--ink); font: 500 var(--step-small)/1 var(--sans);
  transition: transform .2s var(--ease);
}
.seq-skip:active { transform: scale(.97); }

.bar.on-photo .wordmark img { filter: brightness(0) invert(1); }
.bar.on-photo .status { color: #FBF6F1; }
.bar.on-photo .btn { background: var(--cipria); color: var(--ink); }
.bar.on-photo .btn:hover { background: #CF928C; }

.next-stub { min-height: 60svh; display: grid; place-items: center; padding: 10vh var(--pad); background: var(--bg); text-align: center; }
.next-stub p { margin: 0; color: var(--muted); }

/* movimento ridotto: niente scrub, capitoli in elenco sopra la prima immagine */
.sequenza.is-static { height: auto; }
.sequenza.is-static .seq-stage { position: relative; height: auto; min-height: 100lvh; }
.sequenza.is-static .seq-chapters { position: relative; inset: auto; padding: 40vh var(--pad) var(--pad); display: grid; gap: 32px; }
.sequenza.is-static .seq-chapters li { position: relative; opacity: 1; transform: none; }
.sequenza.is-static .seq-ui { display: none; }

@media (max-width: 767px) {
  /* unghie e "salta" su due righe sopra il bottone WhatsApp, il testo del capitolo sopra di loro */
  .seq-chapters { bottom: calc(100lvh - 100svh + var(--pad) + 176px); }
  .seq-chapters h3 { font-size: 11vw; }
  .seq-chapters p { font-size: 0.9375rem; line-height: 1.5; }
  .seq-chapters .seq-detail { margin-top: 12px; padding-top: 10px; }
  .seq-ui { bottom: calc(100lvh - 100svh + var(--pad) + 64px); flex-direction: column; align-items: flex-start; gap: 14px; right: 84px; }
}

/* ---------- titoli di sezione (un passo sotto il display della hero) ---------- */
:root { --step-head-l: clamp(2.75rem, 1.6rem + 4.2vw, 5.5rem); }
.trattamenti h2, .salone h2, .recensioni h2, .academy h2, .buoni h2, .contatti h2 {
  margin: 0; font: 400 var(--step-head-l)/0.98 var(--serif); letter-spacing: -0.01em;
}

/* ---------- intro: la frase appare lucida e si asciuga opaca ---------- */
.intro .wet .w {
  display: inline-block; opacity: 0; transform: translateY(.35em);
  color: transparent; -webkit-background-clip: text; background-clip: text; /* taste-skill-ignore: testo bagnato richiesto */
  background-image: linear-gradient(105deg, var(--ink) 0 40%, #FFF4EF 47%, #F6D9D4 50%, var(--ink) 57% 100%); /* taste-skill-ignore: riflesso dello smalto bagnato richiesto */
  background-size: 320% 100%; background-position: 100% 0;
}
.intro .wet .w.in {
  opacity: 1; transform: none; background-position: 0 0;
  /* niente filter qui: in Chrome un filtro su testo con background-clip lo rende invisibile */
  transition: opacity .7s var(--ease), transform .7s var(--ease), background-position 2.2s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms), calc(var(--i, 0) * 90ms), calc(var(--i, 0) * 90ms + 150ms);
}

/* ---------- elementi comuni delle sezioni riprese dal vecchio sito ---------- */
:root { --accent: #8F4D48; }   /* rosa profondo per le parole in evidenza: leggibile anche piccolo sul crema */
.i { width: 1.1em; height: 1.1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.eyebrow { margin: 0 0 20px; font: 500 var(--step-small)/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.trattamenti h2 em, .salone h2 em, .recensioni h2 em, .academy h2 em { font-style: normal; color: var(--accent); }
.sec-lead { margin: 24px 0 0; max-width: 44ch; font-size: var(--step-lead); line-height: 1.45; }
.link { display: inline-flex; align-items: center; gap: .5em; font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link .i { transition: transform .3s var(--ease); }
.link:hover .i { transform: translateX(4px); }

/* ---------- trattamenti d'eccellenza: card che si girano ---------- */
.trattamenti { padding: 170px var(--pad) 180px; background: var(--bg); }
.sec-head, .svc-grid, .svc-more, .svc-all { max-width: 1280px; margin-left: auto; margin-right: auto; }
.sec-head { margin-bottom: 64px; }
.svc-grid, .svc-more { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.svc-more { margin-top: 22px; }
.svc-more[hidden] { display: none; }
.svc-more:not([hidden]) { animation: svc-open .6s var(--ease); }
@keyframes svc-open { from { opacity: 0; transform: translateY(16px); } }
.svc { perspective: 1400px; }
.svc-in { display: grid; height: 100%; transform-style: preserve-3d; transition: transform .9s var(--ease); }
.svc-face {
  grid-area: 1 / 1; display: flex; flex-direction: column; gap: 14px; min-height: 300px; padding: 30px;
  border-radius: 10px; backface-visibility: hidden; -webkit-backface-visibility: hidden;
}
.svc-front { background: #FBF6F1; border: 1px solid #E6D7CA; }
.svc-back { transform: rotateY(180deg); background: var(--ink); color: #FBF6F1; }
.svc.is-flipped .svc-in, .svc:has(.svc-back :focus-visible) .svc-in { transform: rotateY(180deg); }
@media (hover: hover) and (pointer: fine) { .svc:hover .svc-in { transform: rotateY(180deg); } }
.svc-tag { align-self: flex-start; margin: 0; padding: 6px 12px; border: 1px solid currentColor; border-radius: 999px; font: 500 0.75rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.svc h3 { margin: 6px 0 0; font: 400 clamp(1.75rem, 1.3rem + 1vw, 2.25rem)/1.08 var(--serif); }
.svc-back p { margin: 0; }
.svc-for { font-size: var(--step-small); color: #D9CFC8; }
.svc-for b { color: #FBF6F1; font-weight: 500; }
.svc-meta { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-top: auto; padding-top: 20px; border-top: 1px solid #E6D7CA; }
.svc-back .svc-meta { align-items: center; border-top-color: rgba(251, 246, 241, .18); }
.svc-meta p { margin: 0; }
.svc-price { font: 400 clamp(2.5rem, 2rem + 1.2vw, 3.25rem)/1 var(--serif); }
.svc-dur { display: flex; align-items: center; gap: 6px; margin-top: 8px !important; font-size: var(--step-small); color: var(--muted); }
.svc-flip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px;
  border: 1px solid currentColor; border-radius: 999px; background: none; color: inherit; cursor: pointer;
  font: 500 var(--step-small)/1 var(--sans); transition: background-color .25s, color .25s;
}
.svc-front .svc-flip:hover { background: var(--ink); color: #FBF6F1; }
.svc-back .svc-flip:hover { background: #FBF6F1; color: var(--ink); }
.svc-back .btn { min-height: 44px; }
.svc-incl { grid-column: span 2; padding: 30px; border-radius: 10px; background: #EFE3D8; }
.svc-incl h3 { margin: 0 0 20px; font: 400 clamp(1.75rem, 1.3rem + 1vw, 2.25rem)/1.08 var(--serif); }
.svc-incl ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; }
.svc-incl-note { margin: 22px 0 0; max-width: 62ch; font-size: var(--step-small); color: var(--muted); }
.svc-incl b { display: block; font-weight: 500; }
.svc-all {
  display: flex; align-items: center; gap: .5em; margin-top: 40px; padding: 0 0 2px; border: 0; border-bottom: 1px solid currentColor;
  background: none; color: var(--ink); font: 500 var(--step-body)/1.4 var(--sans); cursor: pointer; width: fit-content;
}
.svc-all .i { transition: transform .3s var(--ease); }
.svc-all[aria-expanded="true"] .i { transform: rotate(-90deg); }

/* ---------- il salone: un rituale di bellezza, con i numeri che salgono ---------- */
.salone {
  --accent: #6E3330; padding: 180px max(var(--pad), calc((100% - 1280px) / 2)); background: var(--field);
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 110px); align-items: center;
}
.salone h2 { max-width: 14ch; }
.salone .glow { margin-top: 40px; margin-bottom: 0; font: 400 clamp(1.375rem, 1rem + 1.4vw, 2.25rem)/1.35 var(--sans); }
/* le parole si accendono mentre scorri (opacità scritta da sezioni.js) */
.js .glow .gw { opacity: .22; }
.stats { list-style: none; padding: 0; margin-top: 80px; margin-bottom: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.stats li { padding-top: 26px; border-top: 1px solid rgba(20, 16, 18, .3); }
/* i numeri in Jost sottile: in Italiana l'1 sembra una I e "10+" si legge "IO+" */
.stats b { display: block; font: 300 clamp(3.25rem, 2rem + 4vw, 6rem)/1 var(--sans); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stats span { display: block; margin-top: 10px; }

/* ---------- recensioni: due file che scorrono in direzioni opposte ---------- */
.recensioni { padding: 170px 0 150px; background: var(--bg); }
.rc-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px; max-width: 1280px; margin: 0 auto 64px; padding: 0 var(--pad); }
.rc-score { display: flex; align-items: center; gap: 18px; }
.rc-score b { font: 400 clamp(3.5rem, 2.5rem + 3vw, 5rem)/1 var(--serif); }
.rc-score div { display: grid; gap: 4px; font-size: var(--step-small); }
.rev-stars { color: var(--accent); letter-spacing: 3px; }
.rails { display: grid; gap: 22px; }
.rail { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.track { list-style: none; margin: 0; padding: 0; display: flex; width: max-content; animation: rail 75s linear infinite; }
.rail--back .track { animation-direction: reverse; animation-duration: 85s; }
.rails:hover .track, .rails:focus-within .track, .rails.is-paused .track { animation-play-state: paused; }
@keyframes rail { to { transform: translateX(-50%); } }
.rev {
  flex: none; display: flex; flex-direction: column; gap: 14px; width: min(380px, 78vw); margin-right: 22px; padding: 28px;
  border: 1px solid #E6D7CA; border-radius: 10px; background: #FBF6F1;
}
.rev-stars { font-size: .8rem; }
.rev blockquote { margin: 0; font: 400 1.0625rem/1.55 var(--sans); }
.rev p { display: flex; justify-content: space-between; margin: auto 0 0; font-size: var(--step-small); color: var(--muted); }
.rev p span:first-child { color: var(--ink); font-weight: 500; }
.rc-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; max-width: 1280px; margin: 48px auto 0; padding: 0 var(--pad); }
.rc-pause { min-height: 44px; padding: 0 20px; border: 1px solid var(--ink); border-radius: 999px; background: none; color: var(--ink); font: 500 var(--step-small)/1 var(--sans); cursor: pointer; }
.rc-pause:hover { background: var(--ink); color: #FBF6F1; }

/* ---------- academy: sezione grande, nera ---------- */
.academy { --accent: var(--cipria); padding: 180px var(--pad); background: var(--ink); color: #FBF6F1; }
.academy > * { max-width: 1280px; margin-left: auto; margin-right: auto; }
.ac-top { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 48px; align-items: end; }
.academy h2 { max-width: 14ch; }
.ac-count { margin: 0; justify-self: end; text-align: right; }
.ac-count b { display: block; font: 300 clamp(5rem, 3rem + 7vw, 10rem)/.9 var(--sans); letter-spacing: -0.04em; color: var(--cipria); font-variant-numeric: tabular-nums; }
.ac-count span { display: block; margin-top: 10px; font-size: var(--step-lead); }
.ac-corsi { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 88px; }
.ac-corso { display: flex; flex-direction: column; padding: 36px; border: 1px solid rgba(251, 246, 241, .14); border-radius: 10px; background: #1D1719; }
.ac-corso h3 { margin: 18px 0 0; font: 400 clamp(1.875rem, 1.3rem + 1.3vw, 2.625rem)/1.08 var(--serif); }
.ac-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; }
.ac-chips li { padding: 6px 14px; border: 1px solid rgba(251, 246, 241, .3); border-radius: 999px; font-size: var(--step-small); }
.ac-prog { display: grid; gap: 10px; margin: 26px 0 0; padding-left: 1.1em; color: #E2D8D1; }
.ac-prog li::marker { color: var(--cipria); }
.ac-cert { display: flex; align-items: center; gap: 10px; margin: 26px 0 0; padding-top: 22px; border-top: 1px solid rgba(251, 246, 241, .14); color: #E7CC88; font-weight: 500; }
.ac-incl { margin: 10px 0 28px; font-size: var(--step-small); color: #CFC4BD; }
.ac-corso .btn { margin-top: auto; align-self: flex-start; }
.ac-ticks { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 88px; margin-bottom: 0; padding: 0; }
.ac-ticks li { padding-top: 22px; border-top: 1px solid rgba(251, 246, 241, .22); color: #E2D8D1; font-size: var(--step-small); line-height: 1.55; }
.ac-ticks b { display: block; margin-bottom: 6px; color: #FBF6F1; font: 400 1.625rem/1.1 var(--serif); }
.ac-voci { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 64px; margin-top: 88px; }
.ac-voci figure { margin: 0; }
.ac-voci blockquote { margin: 0; font: 400 clamp(1.375rem, 1.1rem + .8vw, 1.875rem)/1.3 var(--serif); }
.ac-voci figcaption { margin-top: 16px; font-size: var(--step-small); color: #CFC4BD; }
.ac-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; margin-top: 96px; padding-top: 40px; border-top: 1px solid rgba(251, 246, 241, .22); }
.ac-cta p { margin: 0 auto 0 0; max-width: 40ch; font-size: var(--step-lead); line-height: 1.4; }
.ac-tel { font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; }

/* ---------- academy: fascia corta in home, tutti i dettagli nella pagina academy.html ---------- */
.btn--ghost { background: none; color: inherit; box-shadow: inset 0 0 0 1px currentColor; }
.btn--ghost:hover { background: rgba(251, 246, 241, .1); }
.ac-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.academy--band { padding-top: 150px; padding-bottom: 150px; }

.ap-hero h1, .ap-why h2, .ap-faq h2 { margin: 0; font: 400 var(--step-head-l)/0.98 var(--serif); letter-spacing: -0.01em; }
.ap-hero h1 { font-size: clamp(3.25rem, 2rem + 5vw, 7rem); max-width: 12ch; }
.ap-hero h1 em, .ap-why h2 em, .ap-faq h2 em { font-style: normal; color: var(--accent); }
.ap-hero, .ap-why, .ap-faq { padding: 160px var(--pad); }
.ap-hero > *, .ap-why > *, .ap-faq > * { max-width: 1280px; margin-left: auto; margin-right: auto; }
.ap-hero { padding-top: 190px; padding-bottom: 120px; background: var(--bg); }
.ap-crumbs { margin-top: 0; margin-bottom: 40px; font-size: var(--step-small); color: var(--muted); }
.ap-crumbs a { color: var(--ink); }
.ap-hero-row { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 48px; align-items: end; }
.ap-hero .ac-count b { color: var(--accent); }
.ap-corsi { padding-top: 140px; padding-bottom: 140px; }
.ap-corsi .ac-corsi { margin-top: 0; }
/* perché sceglierci su crema: stesse righe dell'academy, colori chiari */
.ap-why { background: #EFE3D8; }
.ap-why .ac-ticks li { border-top-color: rgba(20, 16, 18, .2); color: var(--muted); }
.ap-why .ac-ticks b { color: var(--ink); }
.ap-why .ac-voci figcaption { color: var(--muted); }
.faq { margin-top: 56px; border-bottom: 1px solid #E3D3C6; }
.faq details { border-top: 1px solid #E3D3C6; }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 0;
  list-style: none; cursor: pointer; font: 400 clamp(1.5rem, 1.2rem + .9vw, 2.125rem)/1.15 var(--serif);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font: 300 1.75rem/1 var(--sans); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 28px; max-width: 60ch; }
.ap-cta { padding-top: 150px; padding-bottom: 150px; }

/* ---------- galleria ad anello: le foto girano sul fondo di un grande cerchio ---------- */
.galleria { --accent: var(--cipria); padding: 150px var(--pad) 120px; background: var(--ink); color: #FBF6F1; overflow: hidden; }
.ga-head, .ga-grid, .ga-foot { max-width: 1280px; margin-left: auto; margin-right: auto; }
.ga-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 32px 64px; }
.galleria h2 { margin: 0; font: 400 var(--step-head-l)/0.98 var(--serif); letter-spacing: -0.01em; }
.galleria h2 em { font-style: normal; color: var(--cipria); }
/* elenco dei lavori, come l'indice di un catalogo */
.ga-index { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, auto)); gap: 4px 28px; }
.ga-index button {
  display: grid; grid-template-columns: 2.2em auto auto; gap: 10px; align-items: baseline; width: 100%; padding: 4px 0;
  border: 0; background: none; color: #A99C96; text-align: left; cursor: pointer;
  font: 500 0.75rem/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; transition: color .25s;
}
.ga-index .s { color: #9A8C86; justify-self: end; padding-left: 12px; }
.ga-index button:hover, .ga-index button.is-current { color: #FBF6F1; }
.ga-index button.is-current .n { color: var(--cipria); }
/* senza JavaScript: griglia semplice */
.ga-grid { list-style: none; margin-top: 56px; margin-bottom: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 20px; }
.ga-item figure { margin: 0; }
.ga-item img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 4px; }
.ga-item figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; margin-top: 12px; font-size: var(--step-small); }
.ga-look { color: var(--cipria); font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; }
.ga-stage { display: none; }
.galleria.is-ring .ga-grid { display: none; }
.galleria.is-ring .ga-stage {
  display: block; position: relative; overflow: hidden; height: 460px; margin: 24px calc(-1 * var(--pad)) 0;
  cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.ga-stage.is-drag { cursor: grabbing; }
.ga-card { position: absolute; left: 0; top: 0; border-radius: 4px; overflow: hidden; background: #1E181A; will-change: transform; box-shadow: 0 24px 40px -24px rgba(0, 0, 0, .8); } /* taste-skill-ignore: le foto sono oggetti sospesi sull'anello */
.ga-card img { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; transition: transform .6s var(--ease); }
.ga-card:hover img { transform: scale(1.05); }
.ga-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; margin-top: 28px; }
.ga-hint { margin: 0; font-size: var(--step-small); color: #A99C96; }
.galleria:not(.is-ring) .ga-hint { display: none; }
.ga-ig { color: #FBF6F1; }
/* foto aperta: grande a sinistra, testo accanto, miniature sotto */
.ga-detail {
  position: fixed; inset: 0; z-index: 40; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 24px;
  padding: max(28px, env(safe-area-inset-top)) var(--pad) max(20px, env(safe-area-inset-bottom)); background: var(--ink); color: #FBF6F1;
}
.ga-d-main { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: end; min-height: 0; }
.ga-d-img { margin: 0; height: min(100%, 78vh); aspect-ratio: 3 / 4; max-width: 56vw; }
.ga-d-img img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 4px; transform-origin: 50% 50%; }
.ga-d-text { padding-bottom: 8px; }
.ga-d-meta { display: flex; justify-content: space-between; gap: 24px; max-width: 420px; margin: 0 0 14px; font: 500 0.75rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.ga-d-num { color: var(--cipria); }
.ga-d-shape { color: #A99C96; }
.ga-detail h3 { margin: 0; font: 400 clamp(2.5rem, 1.6rem + 3vw, 4.75rem)/1 var(--serif); letter-spacing: -0.01em; }
.ga-d-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 28px; }
.ga-d-close { min-height: 44px; padding: 0 2px; border: 0; border-bottom: 1px solid currentColor; background: none; color: #FBF6F1; font: 500 0.8125rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
.ga-d-thumbs { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 6px; scrollbar-width: none; }
.ga-d-thumbs::-webkit-scrollbar { display: none; }
.ga-d-thumbs button { flex: none; width: 64px; aspect-ratio: 3 / 4; padding: 0; border: 1px solid transparent; border-radius: 3px; overflow: hidden; background: #1E181A; cursor: pointer; opacity: .55; transition: opacity .25s, border-color .25s; }
.ga-d-thumbs button img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ga-d-thumbs button:hover, .ga-d-thumbs button[aria-current="true"] { opacity: 1; }
.ga-d-thumbs button[aria-current="true"] { border-color: var(--cipria); }
html.ga-lock { overflow: hidden; }

/* ---------- il salone: ritratto della titolare accanto a titolo e numeri ---------- */
.sa-ritratto { margin: 0; }
.sa-ritratto img { display: block; width: 100%; height: auto; border-radius: 6px; }
.sa-ritratto figcaption { display: grid; gap: 4px; margin-top: 16px; font-size: var(--step-small); }
.sa-ritratto b { font: 400 1.625rem/1.1 var(--serif); }
.sa-bio { margin: 24px 0 0; max-width: 44ch; font-size: var(--step-lead); line-height: 1.45; }
.salone .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; margin-top: 48px; }

/* ---------- fascia academy: la foto del corso accanto al testo ---------- */
.ac-band { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 110px); align-items: center; max-width: 1280px; margin: 0 auto; }
.ac-foto { margin: 0; }
.ac-foto img { display: block; width: 100%; height: auto; border-radius: 6px; }
.ac-band .ac-count { margin-top: 56px; justify-self: start; text-align: left; }
.ac-band .ac-count b { font-size: clamp(4rem, 2.5rem + 4vw, 7rem); }

/* ---------- pagine informative: privacy, cookie, 404 ---------- */
.legal { padding: 190px var(--pad) 140px; }
.legal > * { max-width: 760px; margin-left: auto; margin-right: auto; }
.legal h1 { margin-top: 0; margin-bottom: 0; font: 400 clamp(2.75rem, 1.8rem + 3.4vw, 5rem)/1 var(--serif); letter-spacing: -0.01em; }
.legal h2 { margin-top: 56px; margin-bottom: 14px; font: 400 clamp(1.6rem, 1.3rem + 1vw, 2.1rem)/1.15 var(--serif); }
.legal p { margin-top: 0; margin-bottom: 14px; }
.legal a:not(.btn) { color: var(--accent); }
.legal .sec-lead { margin-top: 20px; margin-bottom: 18px; }
.legal-upd { color: var(--muted); font-size: var(--step-small); }
.legal .tbl { overflow-x: auto; margin-top: 16px; margin-bottom: 16px; }
.legal table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: var(--step-small); }
.legal th, .legal td { padding: 12px 14px 12px 0; border-top: 1px solid #E3D3C6; text-align: left; vertical-align: top; }
.legal th { font-weight: 500; }
.legal .ac-actions { margin-top: 32px; }
.ft-legal a { color: inherit; }

/* ---------- buono regalo: la card nera con lamina oro ---------- */
.buoni { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: start; max-width: 1280px; margin: 0 auto; padding: 190px var(--pad); overflow-x: clip; }   /* la card inclinata non deve far scorrere la pagina di lato */
/* la card resta in vista mentre si compila il modulo */
.bu-stage { position: sticky; top: 130px; display: grid; gap: 36px; justify-items: center; padding-top: 40px; }
.bu-stage .bu-card { width: 100%; }
.bu-card {
  position: relative; aspect-ratio: 1.586; border-radius: 18px; padding: 7% 8%;
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: 1fr auto; align-items: end;
  background: #141012; color: #E7CC88;
  /* inclinazione 3D e riflesso seguono il puntatore (variabili scritte da sezioni.js) */
  --rx: 0deg; --ry: 0deg; --gx: 30%; --gy: 20%; --lit: 0;
  transform: perspective(1100px) rotate(-5deg) rotateX(var(--rx)) rotateY(var(--ry));
  box-shadow: 0 40px 70px -30px rgba(20, 16, 18, .55); /* taste-skill-ignore: la card è un oggetto che galleggia */
  transition: transform .7s var(--ease);
  touch-action: pan-y;
}
.bu-card.is-tracking { transition: transform .12s linear; }
/* lucido: un punto di luce morbido e una banda diagonale, come la plastica laccata della card vera */
.bu-glare {
  position: absolute; inset: 0; z-index: 1; border-radius: inherit; pointer-events: none;
  opacity: var(--lit); transition: opacity .5s var(--ease); mix-blend-mode: screen;
  background:
    radial-gradient(circle at var(--gx) var(--gy), rgba(255, 255, 255, .42), rgba(255, 255, 255, 0) 44%),
    linear-gradient(115deg, rgba(255, 255, 255, 0) calc(var(--gx) - 30%), rgba(255, 244, 222, .2) var(--gx), rgba(255, 255, 255, 0) calc(var(--gx) + 30%)); /* taste-skill-ignore: riflesso richiesto dalla cliente */
}
.bu-logo {
  grid-row: 1 / span 2; align-self: center; width: clamp(90px, 13vw, 170px); aspect-ratio: 1836 / 1793;
  -webkit-mask: url(../assets/logo/logo.svg) center / contain no-repeat; mask: url(../assets/logo/logo.svg) center / contain no-repeat;
  /* la lamina oro scorre con la luce */
  background: linear-gradient(135deg, #A9822F, #F3DC9E 30%, #B48A38 48%, #FFF1C9 58%, #B48A38 70%, #EDD291) var(--gx) var(--gy) / 260% 260%; /* taste-skill-ignore: lamina oro */
}
.bu-info { grid-column: 2; grid-row: 1 / span 2; align-self: end; justify-self: end; display: grid; justify-items: end; gap: 8px; text-align: right; }
.bu-kind { font: 500 var(--step-small)/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.bu-what { max-width: 15ch; font: 500 var(--step-small)/1.3 var(--sans); color: #F3DC9E; }
.bu-value { font: 400 clamp(2rem, 1.2rem + 2vw, 3.25rem)/1 var(--serif); }
.bu-per { min-height: 1.2em; font: 400 clamp(1.125rem, 1rem + .4vw, 1.375rem)/1.2 var(--serif); }
.bu-dedica { margin: 0; max-width: 28ch; text-align: center; font: 400 clamp(1.25rem, 1rem + .8vw, 1.75rem)/1.35 var(--serif); }
.bu-lead { margin: 24px 0 0; max-width: 40ch; }

/* modulo del buono online */
.bu-form { display: grid; gap: 24px; margin-top: 36px; }
.bu-pick { margin: 0; padding: 0; border: 0; min-width: 0; }
.bu-pick legend, .bu-field > span { padding: 0; margin-bottom: 10px; font: 500 var(--step-small)/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.bu-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.bu-pills label { position: relative; }
.bu-pills input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.bu-pills span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid #D9C6B8; border-radius: 999px;
  background: #FBF6F1; font-size: var(--step-small); font-weight: 500; transition: background-color .2s, color .2s, border-color .2s;
}
.bu-pills input:checked + span { background: var(--ink); border-color: var(--ink); color: #FBF6F1; }
.bu-pills input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }
.bu-amount { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; font-weight: 500; }
.bu-amount[hidden] { display: none; }
.bu-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bu-field { display: grid; }
.bu-field > span { display: flex; justify-content: space-between; align-items: baseline; }
.bu-field small { font-size: .75rem; letter-spacing: 0; text-transform: none; color: var(--muted); }
.bu-form input:not([type="radio"]), .bu-form textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #D9C6B8; border-radius: 8px;
  background: #FBF6F1; color: var(--ink); font: 400 var(--step-body)/1.4 var(--sans);
}
.bu-amount input { width: 7rem; }
.bu-form textarea { min-height: 100px; resize: vertical; }
.bu-form input::placeholder, .bu-form textarea::placeholder { color: #73635D; }
.bu-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn:disabled:active { transform: none; }
.bu-nota { margin: 0; max-width: 46ch; font-size: var(--step-small); color: var(--muted); }
.bu-nota a { color: var(--ink); font-weight: 500; }

/* ---------- pagina "Apri il tuo regalo" ---------- */
.regalo-page { min-height: 100svh; background: radial-gradient(ellipse 70% 55% at 50% 42%, #F8E4E0, var(--bg) 70%); } /* taste-skill-ignore: luce rosa dietro al regalo */
.rg-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: var(--pad); }
.rg-demo { margin: 0; padding: 8px 14px; border-radius: 999px; background: var(--ink); color: #FBF6F1; font-size: var(--step-small); }
.rg { display: grid; justify-items: center; gap: 40px; padding: 24px var(--pad) 110px; text-align: center; }
.rg h1 { margin: 0; font: 400 clamp(2.75rem, 1.6rem + 4vw, 5.5rem)/1 var(--serif); letter-spacing: -0.01em; }
.rg-intro .eyebrow { margin-bottom: 14px; }
.rg-from { margin: 14px 0 0; font-size: var(--step-lead); }
.gift { --gx: 30%; --gy: 20%; position: relative; width: min(560px, 88vw); }
.gift-wrap {
  position: relative; aspect-ratio: 1.586; border-radius: 18px; overflow: hidden; perspective: 1400px;
  box-shadow: 0 40px 70px -30px rgba(20, 16, 18, .55); /* taste-skill-ignore: la card è un oggetto che galleggia */
  animation: gift-float 4s ease-in-out infinite;
}
@keyframes gift-float { 50% { transform: translateY(-8px) rotate(-1deg); } }
.gift-card { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform 1.1s var(--ease); }
.gift-face {
  position: absolute; inset: 0; border-radius: 18px; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  background: #141012; color: #E7CC88;
}
.gift-back { display: grid; place-items: center; align-content: center; gap: 14px; }
.gift-back .bu-logo { width: 30%; }
.gift-front { transform: rotateY(180deg); display: grid; grid-template-columns: auto 1fr; grid-template-rows: 1fr auto; gap: 12px 20px; padding: 7% 8%; text-align: left; }
.gift-front .bu-logo { grid-row: 1; width: clamp(70px, 12vw, 120px); align-self: start; }
.gift-info { grid-column: 2; grid-row: 1; justify-self: end; display: grid; justify-items: end; gap: 6px; text-align: right; }
.gift-kind { font: 500 var(--step-small)/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.gift-what { max-width: 16ch; font: 500 var(--step-small)/1.3 var(--sans); color: #F3DC9E; }
.gift-value { font: 400 clamp(2rem, 1.2rem + 2.4vw, 3.5rem)/1 var(--serif); }
.gift-per { font: 400 clamp(1.125rem, 1rem + .5vw, 1.5rem)/1.2 var(--serif); }
.gift-code { grid-column: 1; grid-row: 2; align-self: end; display: grid; gap: 4px; }
.gift-code small { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: #B9A16A; }
.gift-code b { font: 500 clamp(.9rem, .8rem + .4vw, 1.125rem)/1 var(--sans); letter-spacing: .12em; color: #F3DC9E; }
.gift-qr { grid-column: 2; grid-row: 2; justify-self: end; width: clamp(64px, 13vw, 92px); padding: 4px; border-radius: 6px; background: #FBF6F1; }
.gift-qr svg { display: block; width: 100%; height: auto; }
/* nastro di raso incrociato, fuori asse come su un pacchetto vero */
.gift-ribbon { position: absolute; z-index: 2; transition: transform .8s var(--ease); }
.gift-ribbon--h { left: -2%; right: -2%; top: 50%; height: 15%; transform: translateY(-50%); background: linear-gradient(180deg, #F2D2CD, #D9A19C 40%, #C4847E 62%, #EBC2BC); }
.gift-ribbon--v { top: -2%; bottom: -2%; left: 74%; width: 10%; background: linear-gradient(90deg, #F2D2CD, #D9A19C 40%, #C4847E 62%, #EBC2BC); }
.gift-bow { position: absolute; z-index: 3; left: 79%; top: 50%; width: 30%; transform: translate(-50%, -62%); transition: transform .8s var(--ease), opacity .6s var(--ease); filter: drop-shadow(0 8px 10px rgba(20, 16, 18, .25)); }
.gift:not([data-state="closed"]) .gift-ribbon--h { transform: translate(105%, -50%); }
.gift:not([data-state="closed"]) .gift-ribbon--v { transform: translateY(105%); }
.gift:not([data-state="closed"]) .gift-bow { transform: translate(-30%, -220%) rotate(-14deg) scale(1.1); opacity: 0; }
.gift[data-state="open"] .gift-wrap { overflow: visible; animation: none; }
.gift[data-state="open"] .gift-ribbon, .gift[data-state="open"] .gift-bow { display: none; }
.gift[data-state="open"] .gift-card { transform: rotateY(180deg); }
.rg-note { margin: 0; max-width: 30ch; font: 400 clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem)/1.35 var(--serif); }
.rg-note cite { display: block; margin-top: 12px; font: 500 var(--step-body)/1 var(--sans); font-style: normal; }
.rg-after { display: grid; justify-items: center; gap: 48px; animation: svc-open .8s var(--ease); }
.rg-after[hidden] { display: none; }
.rg-use { display: grid; justify-items: center; max-width: 40rem; }
.rg-use h2 { margin: 0; font: 400 clamp(2rem, 1.4rem + 2vw, 3rem)/1 var(--serif); }
.rg-use p { margin: 16px 0 0; }
.rg-use .ac-actions { justify-content: center; align-items: center; }
.rg-print { min-height: 44px; padding: 0 4px; border: 0; border-bottom: 1px solid currentColor; background: none; color: var(--ink); font: 500 var(--step-body)/1 var(--sans); cursor: pointer; }
@media print {
  .rg-top, .rg-open, .rg-use .ac-actions, .gift-ribbon, .gift-bow { display: none !important; }
  .regalo-page { background: #FFF; }
  .gift-wrap { box-shadow: none; animation: none; }
}

/* ---------- contatti: mappa, scheda, insegna Aperto/Chiuso ---------- */
.contatti { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 60px var(--pad); }
/* .contatti davanti: il CSS di MapLibre rimette il contenitore in position: relative */
.contatti .ct-map { position: absolute; inset: 0; z-index: 0; background: #EFE3D8; }
.ct-map .maplibregl-canvas { filter: sepia(.32) saturate(.8) hue-rotate(-14deg) brightness(1.02); }
.ct-map .maplibregl-ctrl-attrib { font-size: 11px; }
.ct-pin { width: 34px; height: 52px; }
.ct-card { position: relative; z-index: 1; margin-left: auto; width: min(420px, 100%); padding: 32px; border-radius: 8px; background: var(--bg); }
.ct-sign {
  display: grid; place-items: center; width: 150px; height: 112px; margin-bottom: 28px;
  border-radius: 75px 75px 8px 8px; background: #141012; color: #8E8885;
  font: 400 2rem/1 var(--serif); transition: color .4s, box-shadow .4s;
}
.ct-sign.is-open {
  color: #FBF6F1;
  box-shadow: 0 0 0 2px rgba(190, 150, 255, .9), 0 0 34px rgba(150, 90, 255, .55); /* taste-skill-ignore: il viola dei led della vetrina */
}
.ct-addr { margin: 16px 0 20px; }
.ct-hours { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.ct-hours th, .ct-hours td { padding: 10px 0; border-top: 1px solid #E3D3C6; text-align: left; font-weight: 400; }
.ct-hours td { text-align: right; font-variant-numeric: tabular-nums; }
.ct-hours tr.is-today th, .ct-hours tr.is-today td { font-weight: 500; }
.ct-hours tr.is-today th::before { content: ""; display: inline-block; width: .5em; height: .5em; margin-right: .5em; border-radius: 50%; background: var(--cipria); }
.ct-phone { margin: 0 0 24px; font-size: var(--step-lead); }
.ct-phone a { text-decoration: none; }
.ct-actions { display: flex; align-items: center; gap: 24px; }

/* ---------- footer: il logo vero, nero pieno ---------- */
.footer { padding: 110px var(--pad) 36px; background: var(--field); }
.ft-mark { width: clamp(220px, 24vw, 340px); height: auto; margin: 0 auto; }
.ft-cols { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 64px; margin: 56px 0 48px; }
.ft-cols p { margin: 0; }
.footer .btn { background: var(--ink); color: var(--bg); }
.ft-links { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 0 0 18px; }
.ft-links a { font-weight: 500; text-underline-offset: 3px; }
.ft-legal { margin: 0; font-size: var(--step-small); }
/* in fondo alla pagina il bottone WhatsApp fisso non deve coprire l'ultima riga */
.footer { padding-bottom: calc(36px + 72px + env(safe-area-inset-bottom)); }
.menu-legal { margin: 0; font-size: var(--step-small); color: var(--muted); }
.menu-legal a { color: inherit; }

/* ---------- cursore a pennellino ---------- */
html.has-brush, html.has-brush * { cursor: none !important; }
.brush-trail { position: fixed; inset: 0; z-index: 98; pointer-events: none; }
.brush-cursor { position: fixed; left: 0; top: 0; z-index: 99; width: 40px; height: 40px; pointer-events: none; transform: translate(-200px, -200px); }

@media (max-width: 767px) {
  .trattamenti, .salone, .academy { padding-top: 120px; padding-bottom: 120px; }
  .sec-head { margin-bottom: 40px; }
  .svc-grid, .svc-more { grid-template-columns: 1fr; gap: 16px; }
  .svc-more { margin-top: 16px; }
  .svc-incl { grid-column: auto; }
  .svc-incl ul { grid-template-columns: 1fr; }
  .svc-face { min-height: 260px; padding: 24px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; margin-top: 56px; }
  .recensioni { padding: 120px 0 110px; }
  .rc-head { margin-bottom: 40px; }
  /* sul telefono le recensioni si sfogliano col dito, senza scorrere da sole */
  .rail { -webkit-mask-image: none; mask-image: none; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--pad); scrollbar-width: none; }
  .rail::-webkit-scrollbar { display: none; }
  .track { animation: none; }
  .track .rev { scroll-snap-align: center; }
  .track [aria-hidden="true"] { display: none; }
  .rc-pause { display: none; }
  .ac-top, .ac-corsi, .ac-voci { grid-template-columns: 1fr; }
  .ac-count { justify-self: start; text-align: left; }
  .ac-corsi, .ac-ticks, .ac-voci { margin-top: 56px; }
  .ac-corso { padding: 26px; }
  .ac-ticks { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .ac-cta { margin-top: 64px; }
  .buoni { grid-template-columns: 1fr; padding-top: 120px; padding-bottom: 120px; }
  .bu-stage { position: static; padding-top: 0; }
  .salone { grid-template-columns: 1fr; }
  .sa-ritratto { max-width: 420px; }
  .ac-band { grid-template-columns: 1fr; }
  .galleria { padding-top: 110px; padding-bottom: 90px; }
  .ga-index { display: none; }
  .ga-grid { grid-template-columns: 1fr 1fr; gap: 24px 12px; }
  .ga-d-main { grid-template-columns: 1fr; align-items: start; align-content: start; }
  .ga-d-img { height: auto; width: min(100%, calc(52vh * .75)); max-width: none; justify-self: center; }
  .ga-detail h3 { font-size: 2.25rem; }
  .ga-d-actions { margin-top: 18px; }
  .ga-d-thumbs button { width: 52px; }
  .bu-row { grid-template-columns: 1fr; }
  .gift-front { padding: 6% 6%; gap: 8px 12px; }
  .academy--band, .ap-corsi, .ap-cta, .ap-why, .ap-faq { padding-top: 110px; padding-bottom: 110px; }
  .ap-hero { padding-top: 140px; padding-bottom: 90px; }
  .ap-hero-row { grid-template-columns: 1fr; }
  .ap-hero .ac-count { justify-self: start; text-align: left; }
  .contatti { display: block; padding: 0 0 40px; }
  .contatti .ct-map { position: relative; height: 62svh; }
  .ct-card { margin: -80px var(--pad) 0; width: auto; }
  .ft-cols { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .intro .wet .w { opacity: 1; transform: none; background-position: 0 0; }
  .svc-in, .bu-card, .gift-card, .gift-ribbon, .gift-bow { transition: none; }
  .gift-wrap { animation: none; }
  .menu, .menu.is-open, .menu-list li, .menu.is-open .menu-list li, .menu-foot { transition: none; }
  .svc-more:not([hidden]) { animation: none; }
  .rail { -webkit-mask-image: none; mask-image: none; overflow-x: auto; }
  .track { animation: none; }
  .track [aria-hidden="true"] { display: none; }
  .rc-pause { display: none; }
}

/* ---------- ingressi delle sezioni (solo con JavaScript: senza, il contenuto resta visibile) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
