/* =========================================================
   Rexta Barber — nero, oro, bianco
   Display: Ultra (slab come il logo REXTA)
   Testo:   Archivo
   L'oro segna ciò che si tocca e ciò che conta: prezzi, scelte, azioni.
   Su fondo bianco si usa l'oro scuro (--gold-deep) per restare leggibile.
   ========================================================= */

/* Font ospitati sul tuo dominio (nessuna chiamata a Google: più veloce e conforme al GDPR) */
@font-face { font-family: "Ultra"; src: url("../fonts/ultra.woff") format("woff"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo.woff") format("woff"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }

:root {
  --black: #000;
  --white: #fff;
  --grey-on-black: #9A9A9A;
  --grey-on-white: #5E5E5E;
  --line-on-black: #2A2A2A;
  --line-on-white: #DCDCDC;
  --smoke: #F5F2EA;
  --gold: #CDA349;
  --gold-hi: #E7C878;
  --gold-deep: #8A6720;
  --line-gold: #3A2F17;

  --f-display: "Ultra", "Rockwell Extra Bold", "Rockwell", "Clarendon", Georgia, serif;
  --f-text: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --t-base: 1.0625rem;
  --t-xl: clamp(2.3rem, 5vw, 4.3rem);
  --t-hero: clamp(4.4rem, 11vw, 11.5rem);

  --ease: cubic-bezier(.2, .8, .2, 1);
  --gutter: clamp(16px, 4vw, 48px);
  --r: 3px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--f-text);
  font-size: var(--t-base);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
::selection { background: var(--gold); color: var(--black); }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--gold); color: var(--black); padding: 10px 14px; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 1040px; }

.display {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: var(--t-xl);
  line-height: 1.02;
  margin: 0;
}
.lede { font-size: 1.2rem; line-height: 1.5; max-width: 36ch; margin: 0; color: var(--grey-on-black); }

.section { padding: clamp(80px, 12vw, 160px) 0; position: relative; }
.section__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 48px; margin-bottom: clamp(40px, 6vw, 72px); }
.section__head--center { flex-direction: column; align-items: center; text-align: center; }
.prenota__logo { height: 64px; width: auto; display: block; margin-bottom: 8px; }

/* ---------- Pulsanti: oro pieno o filo d'oro ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 24px;
  border: 2px solid currentColor; border-radius: var(--r);
  font-family: var(--f-text); font-weight: 700; font-size: 1rem; font-stretch: 112%; letter-spacing: .01em;
  text-decoration: none; cursor: pointer; background: transparent;
  transition: background .2s, color .2s, transform .2s var(--ease);
}
.btn--gold { background: var(--gold); color: var(--black); border-color: var(--gold); }
.btn--gold:hover { background: var(--black); color: var(--gold-hi); border-color: var(--gold); }
.btn--line { color: var(--white); border-color: rgba(255,255,255,.55); }
.btn--line:hover { border-color: var(--gold); color: var(--gold-hi); }
.btn--dark { background: var(--black); color: var(--white); border-color: var(--black); }
.btn--dark:hover { background: var(--gold); color: var(--black); border-color: var(--gold); }
.btn--lg { padding: 17px 30px; font-size: 1.1rem; }
.btn--block { width: 100%; }
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .5; cursor: progress; }

/* ---------- Loader: una lama taglia il nome ---------- */
.loader { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: var(--black); overflow: hidden; }
.loader__name { display: grid; justify-items: center; gap: 18px; font-family: var(--f-display); font-size: clamp(1.6rem, 5vw, 2.6rem); letter-spacing: .08em; text-transform: uppercase; line-height: 1; padding: 0 20px; text-align: center; }
.loader__name img { height: clamp(180px, 34vh, 300px); width: auto; display: block; }
.loader__blade { position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; animation: blade 1s .15s var(--ease) forwards; }
@keyframes blade { to { transform: scaleX(1); } }

/* ---------- Navigazione ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; gap: 32px;
  padding: 18px var(--gutter);
  transition: background .4s, padding .4s var(--ease), transform .5s var(--ease);
}
.nav.is-solid { background: rgba(0, 0, 0, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding-top: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line-on-black); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__brand { display: block; line-height: 0; text-decoration: none; flex: none; }
.nav__brand img { height: 46px; width: auto; display: block; }
.nav__links { display: flex; gap: 30px; margin-left: auto; }
.nav__links a { text-decoration: none; font-size: .98rem; color: var(--grey-on-black); transition: color .2s; position: relative; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav__links a:hover { color: var(--white); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__cta { padding: 9px 18px; font-size: .95rem; }
@media (max-width: 860px) { .nav__links { display: none; } .nav__cta { margin-left: auto; } }
@media (max-width: 480px) { .nav { gap: 12px; } .nav__brand img { height: 38px; } .nav__cta { flex: none; } }

/* ---------- Hero: la barba ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  padding: 120px var(--gutter) clamp(48px, 8vh, 96px);
  background: var(--black);
  overflow: hidden; isolation: isolate;
  touch-action: pan-y;
}
.hero__beard { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
@media (pointer: fine) { .hero { cursor: none; } .hero a, .hero button { cursor: pointer; } }

/* il logo originale, su una zona di barba già rasata: mai deformato, solo ridimensionato */
.hero__inner { position: relative; z-index: 2; width: 100%; max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: clamp(40px, 6vw, 96px); pointer-events: none; }
.hero__logo { margin: 0; line-height: 0; }
.hero__logo img { display: block; height: min(70vh, 640px); width: auto; max-width: 100%; filter: drop-shadow(0 20px 40px rgba(0,0,0,.6)); }
.hero__copy { position: relative; pointer-events: none; }
.hero__copy a, .hero__copy button { pointer-events: auto; }
.hero__kicker { margin: 0; font-family: var(--f-display); font-size: clamp(2.2rem, 4.4vw, 4rem); line-height: 1; text-transform: uppercase; text-shadow: 0 0 24px #000, 0 0 6px #000; }
.hero__tagline { font-size: clamp(1.15rem, 1.8vw, 1.45rem); max-width: 36ch; margin: 26px 0 30px; text-shadow: 0 0 14px #000, 0 0 4px #000, 0 0 2px #000; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__next { margin: 22px 0 0; font-size: .98rem; color: #C8C8C8; min-height: 1.5em; text-shadow: 0 0 12px #000, 0 0 4px #000, 0 0 2px #000; }
.hero__next strong { color: var(--gold-hi); font-weight: 600; }

.hero__hint {
  position: absolute; z-index: 2; right: var(--gutter); top: 50%; margin: 0;
  writing-mode: vertical-rl; font-size: .9rem; font-stretch: 125%; color: #C8C8C8; text-shadow: 0 0 10px #000, 0 0 3px #000;
  transition: opacity .6s;
}
.hero__hint.is-gone { opacity: 0; }
.hint-touch { display: none; }
@media (pointer: coarse) { .hint-touch { display: inline; } .hint-mouse { display: none; } }

.razor {
  position: absolute; z-index: 3; left: 0; top: 0; width: 64px; height: 18px; margin: -9px 0 0 -32px;
  border: 2px solid var(--gold); border-radius: 2px; background: var(--black);
  pointer-events: none; opacity: 0; transition: opacity .25s;
}
.razor::after { content: ""; position: absolute; left: 4px; right: 4px; bottom: -6px; height: 2px; background: var(--gold-hi); }
.razor.is-on { opacity: 1; }
@media (pointer: coarse) { .razor { display: none; } }

@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 28px; }
  .hero__logo img { height: min(40vh, 340px); }
  .hero__copy { display: flex; flex-direction: column; align-items: center; }
  .hero__tagline { margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }
}
@media (max-width: 720px) {
  .hero { padding-top: 92px; padding-bottom: 64px; }
  .hero__logo img { height: min(36vh, 300px); }
  .hero__actions { flex-direction: column; align-items: stretch; width: 100%; max-width: 320px; }
  .hero__hint { top: auto; bottom: 18px; writing-mode: horizontal-tb; }
}

/* ---------- Listino: la riga toccata diventa oro ---------- */
.listino { background: var(--black); border-top: 1px solid var(--line-gold); }
.board { border-top: 2px solid var(--gold); }
.board__loading { padding: 32px 0; color: var(--grey-on-black); }
.board__cat { font-size: .95rem; font-stretch: 125%; color: var(--grey-on-black); padding: 36px 0 8px; }
.svc { border-bottom: 1px solid var(--line-on-black); transition: background .25s, color .25s; }
.svc:hover, .svc.is-open { background: var(--gold); color: var(--black); }
.svc__row {
  width: 100%; display: grid; grid-template-columns: auto 1fr auto auto; align-items: baseline; gap: 18px;
  padding: 18px 14px; background: none; border: 0; text-align: left; cursor: pointer; color: inherit;
}
.svc__name { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.45rem, 3.2vw, 2.4rem); line-height: 1.1; }
.svc__dots { border-bottom: 2px dotted currentColor; opacity: .35; transform: translateY(-8px); }
.svc__dur { font-size: .95rem; font-stretch: 112%; opacity: .7; white-space: nowrap; }
.svc__price { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.45rem, 3.2vw, 2.4rem); min-width: 3ch; text-align: right; line-height: 1; color: var(--gold); }
.svc:hover .svc__price, .svc.is-open .svc__price { color: var(--black); }
.svc__more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.svc__more > div { overflow: hidden; }
.svc.is-open .svc__more { grid-template-rows: 1fr; }
.svc__body { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; padding: 0 14px 24px; }
.svc__body p { margin: 0; max-width: 56ch; color: #2B2310; }
.svc__body .btn { padding: 10px 20px; }
@media (max-width: 600px) {
  .svc__row { grid-template-columns: 1fr auto; gap: 2px 12px; padding: 16px 10px; }
  .svc__dots { display: none; }
  .svc__dur { grid-row: 2; grid-column: 1; }
  .svc__price { grid-row: 1 / span 2; grid-column: 2; align-self: center; }
  .svc__body { padding: 0 10px 20px; }
}

/* ---------- Barbieri: medaglioni neri con anello d'oro ---------- */
.barbieri { background: var(--white); color: var(--black); }
.barbieri .lede { color: var(--grey-on-white); }
.chairs { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(32px, 4vw, 56px); }
.chair { text-align: center; }
.medal {
  position: relative; width: min(240px, 70vw); aspect-ratio: 1; margin: 0 auto 24px; border-radius: 50%;
  background: var(--black); color: var(--gold);
  box-shadow: 0 0 0 6px var(--white), 0 0 0 9px var(--gold);
  display: grid; place-items: center; overflow: hidden;
  transition: background .3s, color .3s;
}
.medal::before {
  content: ""; position: absolute; inset: 10px; border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(205,163,73,.35) 0 2deg, transparent 2deg 10deg);
  -webkit-mask: radial-gradient(circle, transparent 58%, #000 59%); mask: radial-gradient(circle, transparent 58%, #000 59%);
}
.medal img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.15); }
.medal__initial { font-family: var(--f-display); font-weight: 400; font-size: clamp(4.6rem, 8.5vw, 6.6rem); line-height: 1; position: relative; }
.chair:hover .medal { background: var(--gold); color: var(--black); }
.chair:hover .medal::before { background: repeating-conic-gradient(from 0deg, rgba(0,0,0,.25) 0 2deg, transparent 2deg 10deg); }
.chair h3 { font-family: var(--f-display); font-weight: 400; font-size: 1.9rem; margin: 0; line-height: 1; }
.chair__role { color: var(--gold-deep); font-weight: 600; margin: 6px 0 12px; font-size: .95rem; font-stretch: 112%; }
.chair__bio { margin: 0 auto 18px; max-width: 32ch; }
.chair .btn { padding: 10px 20px; font-size: .95rem; color: var(--black); }
.chair .btn:hover { background: var(--black); color: var(--gold-hi); border-color: var(--black); }

/* ---------- Rituale: scorrimento orizzontale ---------- */
.rituale { background: var(--black); position: relative; overflow: hidden; }
.rituale__pin { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: clamp(80px, 10vw, 120px) 0; }
.rituale__title { padding: 0 var(--gutter); margin-bottom: clamp(32px, 5vw, 56px); }
.rituale__track { list-style: none; margin: 0; padding: 0 var(--gutter); display: flex; width: max-content; will-change: transform; }
.panel {
  width: min(72vw, 560px); padding: 8px clamp(24px, 4vw, 56px) 8px clamp(20px, 3vw, 36px);
  border-left: 2px solid var(--gold);
}
.panel__n {
  display: block; font-family: var(--f-display); font-weight: 400; font-size: clamp(5.5rem, 12vw, 9.5rem); line-height: .85;
  color: transparent; -webkit-text-stroke: 2px var(--gold); margin-bottom: 18px;
}
.panel h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.1; margin: 0 0 12px; }
.panel p { margin: 0; max-width: 40ch; color: var(--grey-on-black); font-size: 1.08rem; }
.rituale__progress { margin: clamp(32px, 5vw, 56px) var(--gutter) 0; height: 2px; background: var(--line-on-black); max-width: 360px; }
.rituale__progress span { display: block; height: 100%; width: 0; background: var(--gold); }
.rituale.is-native .rituale__pin { min-height: 0; }
.rituale.is-native .rituale__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.rituale.is-native .rituale__track::-webkit-scrollbar { display: none; }
.rituale.is-native .panel { flex: none; scroll-snap-align: start; }
.rituale.is-native .rituale__progress { display: none; }

/* ---------- Recensioni: l'unica sezione in oro pieno ---------- */
.recensioni { background: var(--gold); color: var(--black); }
.score { display: grid; grid-template-columns: 1fr auto; gap: 24px 48px; align-items: end; margin-bottom: clamp(36px, 5vw, 60px); }
.score .display { grid-column: 1; }
.score__card { grid-column: 2; grid-row: 1 / span 2; display: grid; justify-items: end; text-align: right; }
.score__value { font-family: var(--f-display); font-weight: 400; font-size: clamp(4.4rem, 9.5vw, 7.6rem); line-height: .9; }
.stars { letter-spacing: .12em; font-size: 1.5rem; line-height: 1; margin-top: 26px; }
.score__count { margin-top: 8px; font-weight: 600; }
.score__actions { grid-column: 1; display: flex; flex-wrap: wrap; gap: 10px; }
.btn--ink { color: var(--black); border-color: var(--black); }
.btn--ink:hover { background: var(--black); color: var(--gold-hi); }
@media (max-width: 760px) {
  .score { grid-template-columns: 1fr; }
  .score__card { grid-column: 1; grid-row: auto; justify-items: start; text-align: left; }
  .score__actions .btn { flex: 1 1 220px; }
}
.reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.review { background: var(--black); color: var(--white); border-radius: var(--r); padding: 26px 24px 22px; display: flex; flex-direction: column; gap: 14px; position: relative; }
.review::before { content: "\201C"; position: absolute; right: 18px; top: 2px; font-family: var(--f-display); font-size: 5rem; line-height: 1; color: var(--line-gold); }
.review .stars { color: var(--gold); font-size: 1.05rem; margin: 0; }
.review__text { margin: 0; font-size: 1.06rem; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.review__who { margin-top: auto; display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line-gold); }
.review__avatar { width: 38px; height: 38px; border-radius: 50%; flex: none; display: grid; place-items: center; overflow: hidden; background: var(--gold); color: var(--black); font-family: var(--f-display); font-weight: 400; font-size: 1.05rem; }
.review__avatar img { width: 100%; height: 100%; object-fit: cover; }
.review__name { font-weight: 700; line-height: 1.2; }
.review__when { font-size: .88rem; color: var(--grey-on-black); }
.reviews__empty { grid-column: 1 / -1; margin: 0; padding: 28px; border: 2px dashed rgba(0,0,0,.35); border-radius: var(--r); font-size: 1.1rem; }
.reviews__source { margin: 22px 0 0; font-size: .9rem; color: #3B2E10; }

/* ---------- Prenotazione ---------- */
.prenota { background: var(--white); color: var(--black); }
.prenota .lede { color: var(--grey-on-white); }
.booker { border: 2px solid var(--black); border-radius: var(--r); background: var(--white); overflow: hidden; }
.booker__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--black); }
.booker__steps button {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 8px; background: none; border: 0; color: var(--grey-on-black); cursor: pointer;
  font-weight: 600; font-size: .98rem; font-stretch: 112%;
  transition: color .2s, background .2s;
}
.booker__steps button span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid currentColor; font-size: .9rem; font-weight: 700; line-height: 1; }
.booker__steps button.is-current { color: var(--black); background: var(--white); }
.booker__steps button.is-current span { background: var(--gold); border-color: var(--gold); }
.booker__steps button.is-done { color: var(--gold-hi); }
.booker__steps button.is-done span { background: var(--gold); color: var(--black); border-color: var(--gold); }
.booker__steps button:disabled { cursor: default; opacity: .5; }
@media (max-width: 640px) { .booker__steps button { font-size: 0; gap: 0; } .booker__steps button span { font-size: .9rem; } }

.booker__summary { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 clamp(18px, 4vw, 40px); }
.booker__summary:not(:empty) { padding-top: 20px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; border: 1.5px solid var(--gold); background: var(--smoke); font-size: .92rem; }
.chip b { font-weight: 700; }

.booker__viewport { position: relative; padding: clamp(20px, 4vw, 40px); }
.pane { display: none; }
.pane.is-active { display: block; animation: paneIn .5s var(--ease); }
@keyframes paneIn { from { opacity: 0; transform: translateX(24px); } }
.pane.is-back.is-active { animation-name: paneBack; }
@keyframes paneBack { from { opacity: 0; transform: translateX(-24px); } }

.choices { display: grid; gap: 8px; }
.choice {
  display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; align-items: center;
  width: 100%; padding: 16px 20px; text-align: left; cursor: pointer;
  background: var(--white); color: var(--black); border: 1.5px solid var(--line-on-white); border-radius: var(--r);
  transition: border-color .2s, background .2s, color .2s;
}
.choice:hover { border-color: var(--gold); }
.choice[aria-checked="true"] { background: var(--black); color: var(--white); border-color: var(--black); box-shadow: inset 5px 0 0 var(--gold); }
.choice__title { font-family: var(--f-display); font-weight: 400; font-size: 1.4rem; line-height: 1.15; }
.choice__meta { grid-column: 1; font-size: .95rem; opacity: .7; }
.choice__price { grid-row: 1 / span 2; grid-column: 2; font-family: var(--f-display); font-weight: 400; font-size: 1.6rem; line-height: 1; color: var(--gold-deep); }
.choice[aria-checked="true"] .choice__price { color: var(--gold); }
.choices--barbers { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.choices--barbers .choice { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 22px 14px; }
.choice__face {
  width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 10px; overflow: hidden;
  background: var(--black); color: var(--gold); box-shadow: 0 0 0 3px var(--white), 0 0 0 5px var(--gold);
  font-family: var(--f-display); font-weight: 400; font-size: 1.9rem; line-height: 1;
}
.choice[aria-checked="true"] .choice__face { background: var(--gold); color: var(--black); box-shadow: 0 0 0 3px var(--black), 0 0 0 5px var(--gold); }
.choice__face img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.choice__face--any { font-family: var(--f-text); font-size: 1.5rem; }

/* calendario + orari */
.when { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 40px); }
@media (max-width: 760px) { .when { grid-template-columns: 1fr; } }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cal__head strong { font-family: var(--f-display); font-weight: 400; font-size: 1.45rem; line-height: 1; }
.cal__nav { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--black); background: var(--white); cursor: pointer; font-size: 1.4rem; line-height: 1; color: var(--black); transition: background .2s, color .2s; }
.cal__nav:hover:not(:disabled) { background: var(--gold); border-color: var(--gold); color: var(--black); }
.cal__nav:disabled { opacity: .2; cursor: default; }
.cal__dow, .cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal__dow span { text-align: center; font-size: .82rem; font-stretch: 112%; color: var(--grey-on-white); padding-bottom: 6px; }
.day {
  aspect-ratio: 1; border: 0; border-radius: 50%; background: none; cursor: pointer; position: relative;
  font-family: var(--f-text); font-weight: 700; font-size: 1.05rem; color: var(--black);
  transition: background .2s, color .2s, transform .25s var(--ease);
}
.day:disabled { color: #BDBDBD; cursor: default; font-weight: 400; }
.day.has-slots::after { content: ""; position: absolute; left: 50%; bottom: 14%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--gold-deep); }
.day.has-slots:hover { background: var(--smoke); }
.day.is-today { box-shadow: inset 0 0 0 1.5px var(--black); }
.day[aria-selected="true"] { background: var(--black); color: var(--gold-hi); transform: scale(1.06); }
.day[aria-selected="true"]::after { background: var(--gold); }
.cal.is-busy .cal__grid { opacity: .35; pointer-events: none; }

.slots__title { font-family: var(--f-display); font-weight: 400; font-size: 1.45rem; margin: 0 0 14px; line-height: 42px; }
.slots__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 6px; }
.slots__group { grid-column: 1 / -1; font-size: .88rem; font-stretch: 112%; color: var(--grey-on-white); margin-top: 8px; }
.slot {
  padding: 11px 0; border-radius: var(--r); border: 1.5px solid var(--line-on-white); background: var(--white); cursor: pointer;
  font-weight: 700; font-size: 1rem; font-variant-numeric: tabular-nums; color: var(--black);
  transition: border-color .2s, background .2s, color .2s;
}
.slot:hover { border-color: var(--gold); }
.slot[aria-checked="true"] { background: var(--gold); border-color: var(--gold); color: var(--black); }
.slots__empty { grid-column: 1 / -1; color: var(--grey-on-white); margin: 0; }

/* modulo */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field--full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }
.field label { display: block; font-size: .95rem; font-weight: 600; margin-bottom: 6px; }
.opt { color: var(--grey-on-white); font-weight: 400; }
.field input, .field textarea {
  width: 100%; padding: 14px 16px; border: 1.5px solid var(--line-on-white); border-radius: var(--r);
  background: var(--white); font: 1.05rem var(--f-text); color: var(--black); transition: border-color .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold-deep); box-shadow: 0 0 0 1px var(--gold-deep); }
.field.has-error input { border: 2px dashed var(--black); }
.field__err { display: block; font-size: .92rem; font-weight: 700; margin-top: 6px; }
.field__err::before, .form__error::before { content: "✕ "; }
.field__err:empty { display: none; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; color: var(--grey-on-white); cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--gold-deep); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__error { font-weight: 700; }
.form__error:empty { display: none; }

/* biglietto */
.pane--done { text-align: center; }
.ticket { max-width: 460px; margin: 0 auto; position: relative; background: var(--black); color: var(--white); border-radius: var(--r); padding: 36px 30px 28px; box-shadow: inset 0 0 0 1px var(--line-gold); }
.ticket::before, .ticket::after { content: ""; position: absolute; top: 60%; width: 28px; height: 28px; border-radius: 50%; background: var(--white); }
.ticket::before { left: -14px; } .ticket::after { right: -14px; }
.ticket__check { width: 60px; height: 60px; margin: 0 auto 14px; }
.ticket__check circle { stroke: var(--gold); }
.ticket__check path { stroke: var(--gold-hi); stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .7s .3s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.ticket h3 { font-family: var(--f-display); font-weight: 400; font-size: 2.2rem; margin: 0 0 8px; line-height: 1.05; }
.ticket__when { font-size: 1.1rem; margin: 0 0 20px; }
.ticket__row { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line-on-black); text-align: left; }
.ticket__row span { color: var(--grey-on-black); }
.ticket__perf { border-top: 2px dashed var(--line-gold); margin: 22px -30px 20px; }
.ticket__code { font-family: var(--f-text); font-weight: 800; font-stretch: 125%; font-size: 2rem; letter-spacing: .12em; margin-top: 4px; color: var(--gold); }
.ticket__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 20px; }
.ticket__actions .btn { font-size: .95rem; padding: 10px 18px; }
.ticket__note { font-size: .92rem; color: var(--grey-on-black); margin: 18px 0 0; }

.booker__closed { padding: 40px; text-align: center; }

/* ---------- Dove ---------- */
.dove { background: var(--black); }
.dove__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 760px) { .dove__grid { grid-template-columns: 1fr; } }
.dove__addr { font-style: normal; font-size: 1.5rem; line-height: 1.35; margin: 28px 0 24px; }
.dove__links { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; margin: 0; }
.dove__links a { text-decoration-thickness: 1px; text-underline-offset: 5px; font-size: 1.08rem; }
.dove__links a:hover { color: var(--gold-hi); }
.dove__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.dove__links a { color: var(--grey-on-black); }

/* mappa: si carica solo su richiesta (privacy), virata in nero e oro */
.map { position: relative; margin-top: clamp(40px, 6vw, 72px); height: clamp(320px, 45vw, 480px); border-radius: var(--r); overflow: hidden; background: #0B0A08; box-shadow: inset 0 0 0 1px var(--line-gold); }
.map__placeholder { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 16px; text-align: center; padding: 24px;
  background:
    linear-gradient(rgba(205,163,73,.08) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, rgba(205,163,73,.08) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(28deg, transparent 47%, rgba(205,163,73,.18) 47% 49%, transparent 49%),
    linear-gradient(-62deg, transparent 58%, rgba(205,163,73,.14) 58% 59.5%, transparent 59.5%),
    #0B0A08; }
.map__pin { width: 40px; color: var(--gold); filter: drop-shadow(0 6px 10px rgba(0,0,0,.6)); }
.map__addr { margin: 0; font-size: 1.1rem; }
.map__addr strong { font-family: var(--f-display); font-weight: 400; font-size: 1.4rem; color: var(--gold); }
.map__note { margin: 0; font-size: .85rem; color: var(--grey-on-black); max-width: 36ch; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(1.05) brightness(.95); }
.map.is-live::after { /* puntatore oro sopra il centro della mappa */
  content: ""; position: absolute; left: 50%; top: 50%; width: 34px; height: 44px; margin: -44px 0 0 -17px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 52'%3E%3Cpath d='M20 1C9.5 1 1 9.3 1 19.6 1 33.5 20 51 20 51s19-17.5 19-31.4C39 9.3 30.5 1 20 1z' fill='%23CDA349'/%3E%3Ccircle cx='20' cy='19.5' r='7' fill='%23000'/%3E%3C/svg%3E") center / contain no-repeat;
  filter: drop-shadow(0 6px 8px rgba(0,0,0,.5)); }
.hours { width: 100%; border-collapse: collapse; font-size: 1.05rem; }
.hours th, .hours td { padding: 14px 10px; border-bottom: 1px solid var(--line-on-black); text-align: left; font-weight: 400; }
.hours th { font-family: var(--f-display); font-weight: 400; font-size: 1.25rem; line-height: 1.1; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours td.closed { color: var(--grey-on-black); }
.hours tr.is-today { background: var(--gold); color: var(--black); }
.hours tr.is-today td.closed { color: #3B2E10; }

/* ---------- Footer ---------- */
.footer { background: var(--black); border-top: 1px solid var(--line-on-black); padding: 28px 0 calc(28px + env(safe-area-inset-bottom)); color: var(--grey-on-black); font-size: .95rem; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center; }
.footer__name { line-height: 0; }
.footer__name img { height: 52px; width: auto; display: block; }

/* ---------- Grana ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(4) infinite;
}
@keyframes grain { 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .grain { display: none; }
}
.hours td span { display: block; white-space: nowrap; }
