* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

:root {
  --bg: #0b0b0b;
  --bg2: #0b0b0b;
  --card: #111;
  --line: #222;
  --white: #ffffff;
  --red: #c40000;
  --red2: #e10000;
  --red-text: #ff4a4a; /* rosso per TESTO su fondo scuro: contrasto >5:1 (il --red resta per sfondi e bordi) */
  --text: rgba(255, 255, 255, 0.82);
  --max: 1300px;
  /* easing "premium" per reveal/hover: partenza rapida, arrivo morbidissimo */
  --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.65, 0, 0.35, 1);
}

body {
  font-family: "Oswald", sans-serif;
  background: var(--bg);
  color: var(--white);
  overflow-x: hidden;
}

/* menu aperto su mobile: blocca lo scroll del body */
body.menu-open {
  overflow: hidden;
}

body.booking-drawer-open {
  overflow: hidden;
}

.fixed-booking-btn {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 9997;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid var(--red2);
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  font: 600 14px "Oswald", sans-serif;
  letter-spacing: 1.4px;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.38);
  transition: transform 0.3s var(--ease-premium), background 0.3s ease;
}

.fixed-booking-btn__icon {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.fixed-booking-btn:hover {
  background: var(--red2);
  transform: translateY(-3px);
}

.booking-drawer {
  position: fixed;
  inset: 0;
  z-index: 10004;
  display: flex;
  align-items: flex-end;
  background: rgba(0, 0, 0, 0.72);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.booking-drawer.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.booking-drawer__panel {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: min(92vh, 900px);
  height: min(92dvh, 900px);
  background: var(--card);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  transform: translateY(100%);
  transition: transform 0.5s var(--ease-premium);
}

.booking-drawer.is-open .booking-drawer__panel {
  transform: translateY(0);
}

.booking-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 68px;
  padding: 12px 28px;
  background: #111;
}

.booking-drawer__header h2 {
  font-size: 20px;
}

.booking-drawer__close {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.booking-drawer__close:hover {
  border-color: var(--red);
  background: var(--red);
}

.booking-drawer__frame {
  flex: 1;
  width: 100%;
  min-height: 0;
  border: 0;
  background: var(--white);
}

.booking-drawer__frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 640px) {
  .fixed-booking-btn {
    left: 16px;
    bottom: 16px;
    min-height: 46px;
    padding: 0 16px;
    font-size: 13px;
  }

  .booking-drawer__panel {
    height: 94vh;
    height: 94dvh;
  }

  .booking-drawer__header {
    min-height: 58px;
    padding: 10px 16px;
  }

  .booking-drawer__header h2 {
    font-size: 15px;
  }
}

img {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3 {
  font-family: "Cinzel", serif;
  letter-spacing: 2px;
  font-weight: 700;
}

a {
  color: inherit;
  text-decoration: none;
}

/* =========================
   GENERALI
========================= */
.section {
  padding: 95px 30px;
  max-width: var(--max);
  margin: auto;
}

.black {
  background: transparent;
}

.section h2 {
  text-align: center;
  font-size: 42px;
  margin-bottom: 18px;
  position: relative;
}

.section h2::after,
footer h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -12px;
  width: 64px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  transform: translateX(-50%);
}

html.js .section h2::after,
html.js footer h2::after {
  transform: translateX(-50%) scaleX(0);
  transition: transform 0.7s var(--ease-premium);
  transition-delay: 0.45s;
}

html.js .reveal.is-inview h2::after {
  transform: translateX(-50%) scaleX(1);
}

.section-subtitle {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px;
  font-size: 18px;
  opacity: 0.8;
  line-height: 1.6;
}

/* =========================
   TORNAN SU
========================= */
.scroll-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 9999;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(17, 17, 17, 0.9);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(0.96);
  transition: opacity 0.28s ease, visibility 0.28s ease, transform 0.28s var(--ease-premium), border-color 0.28s ease, background 0.28s ease;
}

.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.scroll-top:hover {
  background: var(--red);
  border-color: var(--red);
  transform: translateY(-3px) scale(1.03);
}

.scroll-top__icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

@media (max-width: 640px) {
  .scroll-top {
    right: 16px;
    bottom: 16px;
    width: 44px;
    height: 44px;
  }
}

/* =========================
   HEADER
========================= */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
  transition: transform 0.5s var(--ease-premium), background 0.35s ease;
}

/* piccola compattazione della navbar dopo i primi scroll */
header.scrolled {
  background: rgba(0, 0, 0, 0.94);
}

/* la navbar si nasconde scendendo e ricompare risalendo */
header.nav-hidden {
  transform: translateY(-110%);
}

/* mai nascondere la navbar mentre il menu mobile è aperto */
body.menu-open header.nav-hidden {
  transform: none;
}

.navbar {
  max-width: var(--max);
  margin: auto;
  padding: 14px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-link {
  display: block;
  flex-shrink: 0;
  border-radius: 6px;
}

.logo {
  height: 56px;
  width: auto;
}

.menu {
  display: flex;
  gap: 26px;
  list-style: none;
}

.menu a {
  font-size: 15px;
  letter-spacing: 1px;
  position: relative;
  transition: 0.25s;
}

.menu a:hover {
  color: var(--red-text);
}

.menu a.is-current {
  color: var(--red-text);
}

.menu a.is-current::after {
  width: 100%;
}

.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: 0.3s;
}

.menu a:hover::after {
  width: 100%;
}

/* hamburger button, visibile solo da mobile */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  transition: 0.3s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =========================
   HERO
========================= */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px 20px;
}

/* livello di sfondo separato: leggermente sovradimensionato per
   lasciare margine al parallax verticale senza mostrare bordi vuoti.
   E' diviso in due strati: il wrapper (.hero-bg) riceve lo spostamento
   da scroll via JS, il livello interno (.hero-bg__image) ha invece un
   lentissimo respiro continuo ("Ken Burns") gestito solo via CSS, così
   i due movimenti non competono sulla stessa proprietà transform. */
.hero-bg {
  position: absolute;
  inset: -10% -5%;
  z-index: 0;
  overflow: hidden;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.hero-bg__image {
  position: absolute;
  inset: 0;
  transform: scale(1.08);
}

/* l'hero non e' piu' un background CSS ma una vera <img> con srcset:
   il browser puo' sceglierne la risoluzione, il preload scanner la
   trova subito ed e' un elemento LCP legittimo (prima era un'immagine
   da 800px ingrandita a tutto schermo, quindi visibilmente sfocata) */
.hero-bg__image picture,
.hero-bg__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

html.js .hero-bg__image {
  animation: heroKenBurns 24s ease-in-out infinite;
}

html.js .hero-bg__image.is-parallax {
  animation: none;
  transform: scale(1.04);
  transition: transform 0.2s linear;
}

@keyframes heroKenBurns {
  0%, 100% {
    transform: scale(1.08) translate3d(0, 0, 0);
  }
  50% {
    transform: scale(1.16) translate3d(0, -14px, 0);
  }
}

/* leggerissima grana filmica, sotto al testo (z-index 1 < 2) */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.9) 0.6px, transparent 0.6px);
  background-size: 3px 3px;
}

@media (pointer: fine) {
  html.js .hero::after {
    animation: heroGrain 0.6s steps(4) infinite;
  }
}

@keyframes heroGrain {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-1px, 1px); }
  50% { transform: translate(1px, -1px); }
  75% { transform: translate(-1px, -1px); }
  100% { transform: translate(1px, 1px); }
}

/* vignettatura che "respira" molto lentamente, per un tocco cinematico */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 42%, rgba(0, 0, 0, 0.55) 100%);
}

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.58),
    rgba(0, 0, 0, 0.75)
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.hero-logo {
  width: 440px;
  max-width: 92%;
  height: auto;
  margin: 0 auto 25px;
}

.mini-title {
  font-size: 18px;
  letter-spacing: 4px;
  color: var(--red-text); /* fallback se background-clip:text non è supportato */
  margin-bottom: 18px;
}

@supports (background-clip: text) or (-webkit-background-clip: text) {
  .mini-title {
    background: linear-gradient(100deg, var(--red-text) 0%, #ffb3b3 30%, var(--red-text) 60%, var(--red-text) 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }

  html.js .mini-title {
    animation: miniTitleShimmer 5s ease-in-out infinite;
  }
}

@keyframes miniTitleShimmer {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero h1 {
  font-size: 72px;
  margin-bottom: 14px;
  line-height: 1.1;
}

.hero p {
  font-size: 20px;
  opacity: 0.9;
  line-height: 1.5;
}

/* =========================
   BUTTONS
========================= */
.buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 34px;
}

.buttons.center {
  margin-top: 0;
}

.btn {
  padding: 14px 28px;
  border: 1px solid var(--white);
  color: var(--white);
  display: inline-block;
  position: relative;
  overflow: hidden;
  transition: 0.35s;
  transition-property: transform, box-shadow, background, border-color, color;
  transition-timing-function: var(--ease-premium);
  letter-spacing: 1px;
  cursor: pointer;
  /* --mx/--my sono impostate via JS per il micro-movimento "magnetico"
     verso il puntatore; di default restano a 0 */
  transform: translate(var(--mx, 0px), var(--my, 0px));
}

.btn:hover {
  transform: translate(var(--mx, 0px), calc(var(--my, 0px) - 4px));
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -130%;
  width: 70%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.25),
    transparent
  );
  transform: skewX(-25deg);
  transition: 0.7s;
}

.btn:hover::before {
  left: 150%;
}

.btn:active {
  transform: scale(0.97);
}

.red {
  background: var(--red);
  border: none;
}

.red:hover {
  background: var(--red2);
  box-shadow: 0 12px 30px rgba(196, 0, 0, 0.35);
}

/* =========================
   CHI SIAMO
========================= */
.about-grid {
  max-width: 980px;
  margin: 0 auto;
}

/* L'intervista e' un video verticale 9:16. A larghezza piena
   occuperebbe due schermate in altezza: lo teniamo in una colonna
   centrata con un tetto in altezza legato alla viewport, cosi' su
   mobile resta comodo da guardare senza mai uscire dai bordi. */
.about-video {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.video-shell {
  position: relative;
  width: min(100%, 360px);
  aspect-ratio: 544 / 968;
  max-height: min(72vh, 620px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: #000;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.35);
}

.about-video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}

.about-video figcaption {
  max-width: 420px;
  text-align: center;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.62);
}

.about-video figcaption em {
  color: rgba(255, 255, 255, 0.82);
  font-style: normal;
}

/* Overlay di avvio: finche' non si preme play il browser scarica
   solo il poster (preload="none"), non i 3,7 MB del video. */
.video-play {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  border: 0;
  cursor: pointer;
  color: var(--white);
  font-family: "Oswald", sans-serif;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.55));
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.video-shell.is-playing .video-play {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.video-play__icon {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(196, 0, 0, 0.92);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.45);
  transition: transform 0.35s var(--ease-premium), background 0.35s ease;
}

.video-play__icon svg {
  width: 24px;
  height: 24px;
  margin-left: 4px;
  fill: currentColor;
}

.video-play:hover .video-play__icon {
  transform: scale(1.07);
  background: var(--red2);
}

.video-play__label {
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* =========================
   TEAM
========================= */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.team-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.24);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.team-card::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 70%;
  background: linear-gradient(to top, rgba(196, 0, 0, 0.18), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.team-card:hover {
  transform: translateY(-6px);
  border-color: var(--red);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.32);
}

.team-card:hover::before {
  opacity: 1;
}

.team-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  height: auto;
  object-fit: cover;
  object-position: center 20%;
  filter: grayscale(35%) contrast(1.05) saturate(0.9);
  transition: transform 0.5s var(--ease-premium), filter 0.6s ease;
  background: #0b0b0b;
}

.team-card:hover img {
  transform: scale(1.05);
  filter: grayscale(0%) contrast(1.08) saturate(1.05);
}

/* sweep di luce in diagonale al passaggio del mouse */
.team-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: skewX(-20deg);
  transition: left 0.9s var(--ease-premium);
  pointer-events: none;
}

.team-card:hover::after {
  left: 140%;
}

.team-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 24px 22px;
}

.team-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.team-card__header h3 {
  font-size: 25px;
  margin-bottom: 4px;
}

.team-card__header span {
  display: block;
  color: var(--red-text);
  font-size: 14px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.team-badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  white-space: nowrap;
}

.team-quote {
  font-size: 15px;
  line-height: 1.6;
  color: #f4f4f4;
  font-style: italic;
  padding-left: 12px;
  border-left: 2px solid var(--red);
}

/* pulsante che apre la modale con la storia completa, al posto
   del vecchio accordion "leggi di più / mostra meno" */
.team-story-btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
  background: none;
  border: none;
  color: var(--red-text);
  font-family: "Oswald", sans-serif;
  font-size: 13px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0;
  transition: gap 0.3s var(--ease-premium), color 0.3s ease;
}

.team-story-btn span {
  display: inline-block;
  transition: transform 0.3s var(--ease-premium);
}

.team-story-btn:hover {
  color: #fff;
  gap: 14px;
}

.team-story-btn:hover span {
  transform: translateX(4px);
}

/* =========================
   BOOKING / SERVIZI
========================= */
#services {
  scroll-margin-top: 84px;
}

.booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 28px;
  margin-top: 45px;
  align-items: start;
}

.booking-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-card {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 28px;
  transition: 0.3s;
}

.services-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012) 62%), var(--card);
}

.services-card::before {
  content: "SERVIZI\A SU MISURA";
  position: absolute;
  top: 24px;
  right: 26px;
  color: rgba(255, 255, 255, 0.5);
  font-family: "Cinzel", serif;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 1.8px;
  text-align: right;
  white-space: pre;
}

.info-card:hover {
  border-color: var(--red);
  transform: translateY(-6px);
}

.info-card h3 {
  font-size: 28px;
  margin-bottom: 12px;
}

.services-card h3 {
  max-width: 55%;
  margin-bottom: 22px;
}

.services-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.services-heading h3 {
  margin-bottom: 0;
}

.services-eyebrow,
.booking-cta__eyebrow {
  margin-bottom: 8px;
  color: var(--red-text);
  font-size: 12px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.services-featured {
  flex-shrink: 0;
  padding: 7px 10px;
  border: 1px solid rgba(196, 0, 0, 0.55);
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.info-card p {
  color: var(--text);
  line-height: 1.7;
}

.service-list {
  list-style: none;
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.service-menus {
  counter-reset: service-category;
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.service-menu {
  counter-increment: service-category;
  position: relative;
  max-height: 62px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
  overflow: hidden;
  transition: max-height 0.48s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s var(--ease-premium), background 0.3s ease;
}

.service-menu:hover {
  transform: translateX(4px);
  background: rgba(255, 255, 255, 0.045);
}

.service-menu[open] {
  border-color: rgba(196, 0, 0, 0.6);
  box-shadow: inset 0 0 0 1px rgba(196, 0, 0, 0.12);
}

.service-menu summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 62px;
  padding: 17px 54px 17px 54px;
  color: #fff;
  cursor: pointer;
  list-style: none;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.4px;
  transition: color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.service-menu summary::before {
  content: "0" counter(service-category);
  position: absolute;
  left: 18px;
  color: var(--red-text);
  font-family: "Cinzel", serif;
  font-size: 13px;
  letter-spacing: 1px;
}

.service-menu summary::-webkit-details-marker {
  display: none;
}

.service-menu summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  color: var(--red-text);
  font-size: 24px;
  line-height: 1;
  transition: transform 0.3s var(--ease-premium);
}

.service-menu[open] summary {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(196, 0, 0, 0.07);
}

.service-menu[open] summary::after {
  transform: rotate(45deg);
}

.service-menu--featured {
  border-color: rgba(196, 0, 0, 0.42);
  background: rgba(196, 0, 0, 0.045);
}

.service-menu .service-list {
  margin: 10px;
  display: grid;
  gap: 10px;
  transform-origin: top center;
  animation: accordionOpen 0.48s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.service-menu.is-closing .service-list {
  animation: accordionClose 0.48s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes accordionOpen {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes accordionClose {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-10px);
  }
}

@keyframes servicesFadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes servicesListIn {
  from {
    opacity: 0;
    transform: translateX(-8px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.service-menu,
.booking-cta,
.booking-layout .info-card {
  animation: servicesFadeUp 0.7s var(--ease-premium) both;
}

.service-menu:nth-child(2) {
  animation-delay: 0.08s;
}

.service-menu:nth-child(3) {
  animation-delay: 0.12s;
}

.service-menu:nth-child(4) {
  animation-delay: 0.16s;
}

.service-list li {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 16px 14px 28px;
  border-left: 2px solid var(--red);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  transition: transform 0.3s var(--ease-premium), background 0.3s ease, border-color 0.3s ease;
  animation: servicesListIn 0.45s var(--ease-premium) both;
}

.service-list li:nth-child(2) {
  animation-delay: 0.08s;
}

.service-list li:nth-child(3) {
  animation-delay: 0.12s;
}

.service-list li:nth-child(4) {
  animation-delay: 0.16s;
}

.service-list li:hover {
  transform: translateX(5px);
  background: rgba(255, 255, 255, 0.05);
  border-left-color: #ff6b6b;
}

.service-menu summary {
  transition: color 0.25s ease, transform 0.25s ease;
}

.service-menu summary:hover {
  color: var(--red-text);
}

.service-list li strong {
  flex-shrink: 0;
  color: var(--red-text);
  font-size: 14px;
  font-weight: 600;
  text-align: right;
}

.service-list li::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 21px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
}

.booking-cta {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border-color: rgba(196, 0, 0, 0.34);
  background: linear-gradient(145deg, rgba(196, 0, 0, 0.18), rgba(17, 17, 17, 0.96) 48%), var(--card);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: 42px;
  isolation: isolate;
}

.booking-cta::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -80px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 0, 0, 0.28), transparent 68%);
  pointer-events: none;
  z-index: -1;
}

.booking-cta::after {
  content: "";
  position: absolute;
  left: 42px;
  bottom: 24px;
  width: 58px;
  height: 3px;
  background: var(--red);
  box-shadow: 22px 0 0 rgba(196, 0, 0, 0.3), 44px 0 0 rgba(196, 0, 0, 0.12);
  pointer-events: none;
}

.booking-cta h3 {
  font-size: 32px;
}

.booking-cta__eyebrow {
  margin-bottom: -8px;
}

.booking-cta p {
  color: var(--text);
  line-height: 1.7;
  max-width: 460px;
}

.booking-cta .btn {
  align-self: flex-start;
  min-width: 210px;
  margin-top: 8px;
}

/* ======================
   SALON GALLERY
====================== */

.salon-slider {
  position: relative;
  margin-top: 45px;
}

.salon-pin-wrapper {
  position: relative;
}

.slider-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* dimensioni fisse e uniformi per ogni slide, indipendentemente
   dalle dimensioni reali dell'immagine originale */
.slide {
  position: relative;
  width: auto;
  height: auto;
  aspect-ratio: 4 / 3;
  min-width: 0;
  border: 0;
  overflow: hidden;
  background: #111;
  border-radius: 8px;
  display: flex;
  padding: 0;
  list-style: none;
  transition: transform 0.4s var(--ease-premium), box-shadow 0.4s ease;
  will-change: transform;
}

.slide:hover {
  transform: translateY(-7px);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
}

.slide-btn {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  overflow: hidden;
  border-radius: 4px;
}

.slide-btn:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 4px;
}

.slide-btn picture {
  display: block;
  width: 100%;
  height: 100%;
}

.salon-hint {
  margin-top: 22px;
  text-align: center;
  font-size: 13px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(30%) contrast(1.05);
  transition: transform 0.45s var(--ease-premium), filter 0.5s ease;
}

.slide:hover img,
.slide-btn:focus-visible img {
  transform: scale(1.08);
  filter: grayscale(0%) contrast(1.08);
}

@media (max-width: 900px) {
  .slider-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .salon-slider {
    margin-top: 34px;
  }

  .slider-track {
    display: flex;
    gap: 14px;
    margin-inline: -4px;
    padding: 4px 8vw 18px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
  }

  .slider-track::-webkit-scrollbar {
    display: none;
  }

  .slide {
    flex: 0 0 min(82vw, 360px);
    aspect-ratio: 4 / 3;
    border-radius: 10px;
    scroll-snap-align: center;
    transform: none;
  }

  .slide:hover {
    transform: none;
    box-shadow: none;
  }

  .slide:hover img {
    transform: none;
    filter: grayscale(30%) contrast(1.05);
  }
}

/* =========================
   RECENSIONI
========================= */
.shapo-review-widget {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.shapo-review-form-section {
  margin: 48px auto 0;
}

.shapo-review-form-section h3 {
  text-align: center;
}

.shapo-review-form {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
}

.shapo-review-empty {
  max-width: 520px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
}

/* =====================
   DISTRICT TABS
===================== */

.district-tabs {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 30px;
  margin-top: 45px;
}

.district-menu {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.district-btn {
  background: #111;
  border: 1px solid #222;
  color: #fff;
  padding: 20px;
  font-family: Oswald, sans-serif;
  font-size: 18px;
  text-align: left;
  cursor: pointer;
  transition: 0.3s;
}

.district-btn:hover {
  border-color: #c40000;
}

.district-btn.active {
  background: #c40000;
}

.district-content {
  background: #111;
  border: 1px solid #222;
  padding: 30px;
  min-height: 420px;
}

.district-panel {
  display: none;
  animation: fadeDistrict 0.6s var(--ease-premium);
}

.district-panel.active {
  display: block;
}

@keyframes fadeDistrict {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.list-card {
  padding: 24px;
  border: 1px solid #222;
  margin-bottom: 18px;
  background: #0d0d0d;
}

.list-card--with-media {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  padding: 0;
  overflow: hidden;
}

.list-card-media {
  min-height: 180px;
  background: #161616;
}

.list-card-media img,
.event-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.list-card-content {
  padding: 24px 24px 24px 0;
}

.list-card-link {
  display: inline-flex;
  gap: 8px;
  margin-top: 18px;
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.5px;
}

.list-card-link:hover {
  color: var(--red-text);
}

.list-card h3 {
  font-size: 28px;
  margin-bottom: 12px;
}

.list-card p {
  opacity: 0.8;
  line-height: 1.7;
}

/* =====================
   STORIA E ARTICOLI
===================== */
.story-section { background: #0d0d0d; }
.story-heading { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.story-heading h2 { margin-bottom: 14px; }
.story-layout { display: grid; grid-template-columns: minmax(0, 760px); justify-content: center; }
.story-layout--media { grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr); gap: 34px; align-items: center; }
.story-media { min-height: 360px; overflow: hidden; border: 1px solid var(--line); background: #151515; }
.story-media img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; }
.story-copy { color: var(--text); font-size: 18px; line-height: 1.85; }
.story-copy p + p { margin-top: 22px; }
.articles-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 42px; }
.article-card { overflow: hidden; border: 1px solid var(--line); background: var(--card); }
.article-card.is-featured { grid-column: 1 / -1; border-color: rgba(196, 0, 0, .65); }
.article-card-media { height: 230px; background: #151515; }
.article-card.is-featured .article-card-media { height: 310px; }
.article-card-media img { width: 100%; height: 100%; object-fit: cover; }
.article-card-body { padding: 28px; }
.article-featured-label { display: inline-block; margin-bottom: 14px; color: var(--red-text); font-size: 12px; letter-spacing: 1.8px; text-transform: uppercase; }
.article-card h3 { margin-bottom: 12px; font-size: 26px; }
.article-summary { color: #fff; font-size: 17px; line-height: 1.6; }
.article-text { margin-top: 20px; color: var(--text); line-height: 1.75; white-space: pre-line; }
.article-read-more { display: inline-flex; gap: 9px; margin-top: 20px; color: #fff; font-size: 14px; letter-spacing: .5px; }
.article-card:hover, .article-card:focus-visible { border-color: var(--red); transform: translateY(-4px); }
.article-card { cursor: pointer; transition: transform .3s var(--ease-premium), border-color .3s ease; }
.article-card:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.articles-empty { max-width: 640px; margin: 36px auto 0; padding: 38px; border: 1px dashed #333; color: var(--text); text-align: center; }

body.article-modal-open { overflow: hidden; }
.article-modal-overlay { position: fixed; inset: 0; z-index: 10003; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(0, 0, 0, .88); opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease; }
.article-modal-overlay.is-open { opacity: 1; visibility: visible; }
.article-modal { position: relative; width: min(760px, 100%); max-height: 88vh; overflow-y: auto; border: 1px solid var(--line); border-top: 3px solid var(--red); background: var(--card); transform: translateY(14px) scale(.97); opacity: 0; transition: transform .4s var(--ease-premium), opacity .4s var(--ease-premium); }
.article-modal-overlay.is-open .article-modal { transform: none; opacity: 1; }
.article-modal-media { height: min(380px, 48vh); background: #151515; }
.article-modal-media[hidden] { display: none; }
.article-modal-image { width: 100%; height: 100%; object-fit: cover; }
.article-modal-body { padding: 42px 46px 48px; }
.article-modal-featured { display: inline-block; margin-bottom: 12px; color: var(--red-text); font-size: 12px; letter-spacing: 1.8px; text-transform: uppercase; }
.article-modal-featured[hidden] { display: none; }
.article-modal-kicker { margin-bottom: 12px; color: var(--red-text); font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; }
.article-modal-title { margin-bottom: 14px; font-size: 34px; }
.article-modal-summary { color: #fff; font-size: 18px; line-height: 1.65; }
.article-modal-text { margin-top: 24px; color: var(--text); line-height: 1.8; }
.article-modal-text p + p { margin-top: 18px; }
.article-modal-close { position: absolute; top: 12px; right: 12px; z-index: 1; width: 38px; height: 38px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%; background: rgba(0, 0, 0, .48); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.article-modal-close:hover { border-color: var(--red); background: var(--red); }

/* mobile */
@media (max-width: 950px) {
  .district-tabs {
    grid-template-columns: 1fr;
  }

  .story-layout--media,
  .articles-grid {
    grid-template-columns: 1fr;
  }

  .article-card.is-featured {
    grid-column: auto;
  }

  .article-modal-body {
    padding: 34px 22px 30px;
  }

  .article-modal-title {
    font-size: 26px;
  }
}

/* =====================
   EVENT CARD CLICKABLE
===================== */

.event-card {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 22px;
  border: 1px solid #222;
  background: #0d0d0d;
  margin-bottom: 18px;
  transition: 0.35s;
  text-decoration: none;
  color: #fff;
}

.event-media {
  width: 120px;
  height: 92px;
  flex: 0 0 120px;
  overflow: hidden;
  background: #161616;
}

.event-card:hover {
  transform: translateY(-6px);
  border-color: #c40000;
  background: #111;
}

.event-card:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

.event-date {
  min-width: 82px;
  height: 82px;
  background: #c40000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.event-date span {
  font-size: 30px;
  font-weight: bold;
  line-height: 1;
}

.event-date small {
  font-size: 13px;
  letter-spacing: 2px;
  margin-top: 6px;
}

.event-info {
  flex: 1;
}

.event-info h3 {
  font-size: 28px;
  margin-bottom: 8px;
}

.event-info p {
  opacity: 0.78;
  line-height: 1.6;
}

.event-arrow {
  font-size: 34px;
  transition: 0.3s;
}

.event-card:hover .event-arrow {
  transform: translateX(8px);
  color: var(--red-text);
}

body.event-modal-open {
  overflow: hidden;
}

.event-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10003;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.88);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.event-modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.event-modal {
  position: relative;
  display: block;
  width: min(680px, 100%);
  max-height: 88vh;
  overflow-y: auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
  transform: translateY(14px) scale(0.97);
  opacity: 0;
  transition: transform 0.4s var(--ease-premium), opacity 0.4s var(--ease-premium);
}

.event-modal-overlay.is-open .event-modal {
  transform: none;
  opacity: 1;
}

.event-modal-media {
  width: 100%;
  height: min(360px, 48vh);
  background: #161616;
}

.event-modal-media[hidden] {
  display: none;
}

.event-modal-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.event-modal-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 86px;
  min-height: 86px;
  flex: 0 0 86px;
  background: var(--red);
}

.event-modal-day {
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
}

.event-modal-month {
  margin-top: 8px;
  font-size: 15px;
  letter-spacing: 2px;
}

.event-modal-body {
  display: flex;
  align-items: stretch;
  gap: 26px;
  padding: 48px 42px;
}

.event-modal-copy {
  flex: 1;
  padding-top: 2px;
}

.event-modal-kicker {
  margin-bottom: 12px;
  color: var(--red-text);
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.event-modal-title {
  margin-bottom: 16px;
  font-size: 31px;
}

.event-modal-description {
  color: var(--text);
  line-height: 1.7;
}

.event-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  color: var(--white);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.event-modal-close:hover {
  border-color: var(--red);
  background: var(--red);
}

@media (max-width: 650px) {
  .event-modal-media {
    height: 230px;
  }

  .event-modal-date {
    width: 70px;
    min-height: 70px;
    flex-basis: 70px;
  }

  .event-modal-day {
    font-size: 36px;
  }

  .event-modal-body {
    gap: 16px;
    padding: 28px 18px 24px;
  }

  .event-modal-title {
    font-size: 23px;
  }
}

/* mobile */
@media (max-width: 650px) {
  .event-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .event-media {
    width: 100%;
    height: 180px;
    flex-basis: 180px;
  }

  .list-card--with-media {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .list-card-media {
    min-height: 180px;
  }

  .list-card-content {
    padding: 24px;
  }

  .event-date {
    width: 72px;
    height: 72px;
  }

  .event-info h3 {
    font-size: 24px;
  }

  .event-arrow {
    display: none;
  }
}

/* newsletter */
.newsletter-box h3 {
  font-size: 30px;
  margin-bottom: 14px;
}

.newsletter-box p {
  opacity: 0.82;
  line-height: 1.7;
  margin-bottom: 22px;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.newsletter-form input {
  height: 54px;
  padding: 0 18px;
  background: #0b0b0b;
  border: 1px solid #222;
  color: #fff;
  font-size: 16px;
  outline: none;
}

.newsletter-form input:focus {
  border-color: #c40000;
}

.newsletter-form input[hidden] {
  display: none;
}

.newsletter-form input.is-required {
  border-color: rgba(196, 0, 0, 0.7);
}

.newsletter-channels { display: flex; flex-wrap: wrap; gap: 14px; width: 100%; margin: 4px 0 0; padding: 0; border: 0; }
.newsletter-channels legend { width: 100%; margin-bottom: 3px; color: var(--text); font-size: 14px; }
.newsletter-channels label, .newsletter-consent { display: flex; align-items: center; gap: 8px; color: var(--text); font-size: 13px; }
.newsletter-channels input, .newsletter-consent input { width: auto; accent-color: var(--red); }
.newsletter-consent { width: 100%; line-height: 1.5; }

.newsletter-form button {
  width: 100%;
  font-family: Oswald, sans-serif;
}

/* =========================
   LOCATION
========================= */
.location-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 30px;
  margin-top: 45px;
  align-items: start;
}

.map-box {
  border: 1px solid var(--line);
  overflow: hidden;
  min-height: 520px;
}

.map-box iframe {
  width: 100%;
  height: 100%;
  min-height: 520px;
  border: none;
}

.info-box {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.place-card,
.hours-card {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 28px;
}

.place-card h3,
.hours-card h3 {
  font-size: 28px;
  margin-bottom: 16px;
}

.place-card p {
  color: var(--text);
  margin-bottom: 8px;
  font-size: 18px;
}

.hour-row {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 12px 0;
  border-bottom: 1px solid #1a1a1a;
}

.hour-row:last-child {
  border-bottom: none;
}

.hour-row span:last-child {
  color: var(--red-text);
  font-weight: 600;
}

#location .btn {
  width: 100%;
  text-align: center;
}

/* =========================
   CONTATTI
========================= */
#contact {
  padding-top: 95px;
  padding-bottom: 95px;
}

.contact-grid {
  max-width: var(--max);
  margin: 0 auto 36px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.contact-brand {
  display: flex;
  align-items: center;
  gap: 18px;
  text-align: left;
}

.contact-brand__text {
  max-width: 360px;
}

.footer-logo {
  width: 150px;
  max-width: 100%;
  height: auto;
  display: block;
  flex-shrink: 0;
}

.contact-brand h3,
.contact-col h3 {
  margin: 0 0 14px;
  font-size: 20px;
  letter-spacing: 1px;
  color: #fff;
}

.contact-brand p,
.contact-col li {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
  font-size: 15px;
}

.contact-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.contact-col a {
  color: rgba(255, 255, 255, 0.86);
  transition: color 0.2s ease;
}

.contact-col a:hover {
  color: var(--red-text);
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-brand {
    grid-column: 1 / -1;
    margin-bottom: 8px;
  }
}

@media (max-width: 640px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }

  .contact-brand {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .contact-brand__text {
    max-width: none;
  }

  .contact-col ul {
    justify-items: center;
  }
}

/* =========================
   BADGE "APERTO ORA / CHIUSO"
========================= */
.opening-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: 10px;
  padding: 5px 12px;
  font-family: "Oswald", sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  vertical-align: middle;
  color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  white-space: nowrap;
}

.opening-status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #666;
  flex-shrink: 0;
}

.opening-status.is-open {
  color: #38d67a;
  background: rgba(56, 214, 122, 0.08);
  border-color: rgba(56, 214, 122, 0.4);
}

.opening-status.is-open::before {
  background: #38d67a;
  box-shadow: 0 0 8px rgba(56, 214, 122, 0.7);
}

html.js .opening-status.is-open::before {
  animation: statusPulse 1.8s ease-in-out infinite;
}

@keyframes statusPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.35); }
}

@media (max-width: 650px) {
  .opening-status {
    display: block;
    margin: 10px 0 0;
    width: fit-content;
  }
}

/* =========================
   LIGHTBOX GALLERIA SALONE
========================= */
body.lightbox-open {
  overflow: hidden;
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 10002;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 40px;
  background: rgba(0, 0, 0, 0.92);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.lightbox-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox-figure {
  position: relative;
  max-width: min(1100px, 92vw);
  max-height: 82vh;
  margin: 0;
  transform: scale(0.92);
  opacity: 0;
  transition: transform 0.5s var(--ease-premium), opacity 0.5s var(--ease-premium);
}

.lightbox-overlay.is-open .lightbox-figure {
  transform: scale(1);
  opacity: 1;
}

.lightbox-figure img {
  display: block;
  max-width: 100%;
  max-height: 82vh;
  border-radius: 6px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: -48px;
  right: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.3s ease, transform 0.3s var(--ease-premium);
}

.lightbox-close:hover {
  background: rgba(196, 0, 0, 0.25);
  transform: rotate(90deg);
}

.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s var(--ease-premium);
}

.lightbox-nav:hover {
  background: rgba(196, 0, 0, 0.25);
}

.lightbox-nav.prev {
  left: 24px;
}

.lightbox-nav.next {
  right: 24px;
}

.lightbox-counter {
  position: absolute;
  bottom: -36px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 13px;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
}

@media (max-width: 650px) {
  .lightbox-overlay {
    padding: 40px 16px;
  }

  .lightbox-nav {
    width: 42px;
    height: 42px;
    font-size: 20px;
  }

  .lightbox-nav.prev { left: 6px; }
  .lightbox-nav.next { right: 6px; }
}

/* =========================
   TABLET
========================= */
@media (max-width: 1100px) {
  .booking-layout {
    grid-template-columns: 1fr;
  }

  .location-grid {
    grid-template-columns: 1fr;
  }

  .map-box,
  .map-box iframe {
    min-height: 420px;
  }
}

/* =========================
   MOBILE LARGE
========================= */
@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .menu {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    height: 100dvh;
    width: min(78vw, 320px);
    background: #0a0a0a;
    border-left: 1px solid #1c1c1c;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    padding: 40px;
    transform: translateX(100%);
    transition: transform 0.4s ease;
    z-index: 1000;
  }

  .menu.is-open {
    transform: translateX(0);
  }

  .menu a {
    font-size: 20px;
  }

  .hero h1 {
    font-size: 52px;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   CONTACT BUTTONS
========================= */

.contact-buttons{
    gap:14px;
}

.contact-btn{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:11px;
    min-width:180px;
}

.contact-btn__icon{
    width:19px;
    height:19px;
    flex-shrink:0;
    fill:currentColor;
    transition:transform .3s var(--ease-premium);
}

.contact-btn:hover .contact-btn__icon{
    transform:scale(1.12);
}

/* WhatsApp */

.contact-btn.whatsapp:hover{
    border-color:#25D366;
    color:#25D366;
}

/* Instagram */

.contact-btn.instagram:hover{
    border-color:#E1306C;
    color:#E1306C;
}

/* Google Maps */

.contact-btn.maps:hover{
    border-color:#4285F4;
    color:#4285F4;
}

/* telefono */

.contact-btn.red:hover{
    color:white;
}

/* mobile */

@media(max-width:650px){

    .contact-buttons{
        gap:12px;
    }

    .contact-btn{
        width:100%;
    }

}

/* =========================
   MOBILE
========================= */
@media (max-width: 650px) {
  .section {
    padding: 32px 20px;
    background: var(--bg);
  }

  .section + .section,
  .section + footer {
    padding-top: 32px;
  }

  footer {
    padding: 32px 20px;
    background: var(--bg);
  }

  .district-content {
    min-height: 0;
    padding: 0;
    background: transparent;
    border: 0;
  }

  #services {
    scroll-margin-top: 72px;
  }

  .booking-layout {
    gap: 18px;
    margin-top: 30px;
  }

  .services-card {
    padding: 22px;
    border-radius: 16px;
  }

  .services-card::before {
    top: 21px;
    right: 20px;
    font-size: 9px;
  }

  .services-card h3 {
    max-width: 58%;
    font-size: 25px;
  }

  .service-menus {
    margin-top: 14px;
  }

  .service-menu summary {
    min-height: 58px;
    padding-left: 48px;
    font-size: 16px;
  }

  .service-menu {
    max-height: 58px;
  }

  .service-menu summary::before {
    left: 16px;
  }

  .service-menu summary::after {
    right: 16px;
  }

  .booking-cta {
    min-height: 260px;
    padding: 30px 22px 42px;
    border-radius: 18px;
  }

  .booking-cta h3 {
    max-width: 290px;
  }

  .booking-cta .btn {
    align-self: stretch;
    min-width: 0;
  }

  .booking-cta::after {
    left: 22px;
    bottom: 20px;
  }

  .section h2 {
    font-size: 34px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero p {
    font-size: 18px;
  }

  .hero-logo {
    width: 320px;
  }

  .mini-title {
    font-size: 15px;
    letter-spacing: 3px;
  }

  .buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .team-card img {
    align-self: stretch;
    height: 100%;
    min-height: 100%;
    aspect-ratio: auto;
    object-position: center 12%;
  }

  .team-grid {
    gap: 0;
  }

  .team-card {
    display: grid;
    grid-template-columns: minmax(0, 43%) minmax(0, 57%);
    min-height: 100svh;
    border-radius: 16px;
    cursor: pointer;
    scroll-margin-top: 78px;
  }

  .team-card .team-info > * {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.55s var(--ease-premium), transform 0.55s var(--ease-premium);
  }

  .team-card.is-team-active .team-info > * {
    opacity: 1;
    transform: translateY(0);
  }

  .team-card.is-team-active .team-info > :nth-child(1) { transition-delay: 0.08s; }
  .team-card.is-team-active .team-info > :nth-child(2) { transition-delay: 0.2s; }
  .team-card.is-team-active .team-info > :nth-child(3) { transition-delay: 0.34s; }

  .team-card img {
    transform: scale(1.06);
    transition: transform 0.8s var(--ease-premium), filter 0.6s ease;
  }

  .team-card.is-team-active img {
    transform: scale(1);
  }

  .team-info {
    justify-content: center;
    min-width: 0;
    padding: 20px 16px;
  }

  .team-card__header {
    display: block;
  }

  .team-card__header h3 {
    font-size: 22px;
  }

  .team-card__header span {
    font-size: 12px;
    letter-spacing: 1px;
  }

  .team-badge {
    margin-top: 10px;
    font-size: 12px;
    padding: 6px 8px;
  }

  .team-quote {
    font-size: 14px;
    line-height: 1.5;
    padding-left: 9px;
    min-height: 4.5em;
  }

  .team-quote.is-typing::after {
    content: "";
    display: inline-block;
    width: 2px;
    height: 1em;
    margin-left: 3px;
    vertical-align: -0.12em;
    background: var(--red);
    animation: typingCursor 0.75s steps(1, end) infinite;
  }

  .team-story-btn {
    font-size: 12px;
    letter-spacing: 1px;
  }

  .place-card,
  .hours-card,
  .info-card {
    padding: 22px;
  }

  .hour-row {
    flex-direction: column;
    gap: 5px;
    font-size: 15px;
  }

  .logo {
    height: 46px;
  }

  .team-info {
    padding: 20px;
  }

  .booking-cta {
    padding: 28px 22px;
  }

  .booking-cta h3 {
    font-size: 26px;
  }

  .service-list li {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .service-list li strong {
    text-align: left;
  }
}

@keyframes typingCursor {
  50% { opacity: 0; }
}

/* =========================================================
   DINAMICITA' / MOTION DESIGN
   Tutto ciò che segue è "progressive enhancement": è attivo
   solo con html.js (impostata da un piccolo script inline in
   testa al <head>) così, se per qualsiasi motivo JS non parte,
   il sito resta comunque leggibile e nulla rimane invisibile.
   La media query finale (prefers-reduced-motion) azzera durate
   di transizioni/animazioni per chi ha richiesto meno movimento,
   quindi si applica automaticamente anche a tutto questo blocco.
========================================================= */

/* -------- reveal a scomparsa delle intere sezioni -------- */
html.js .reveal {
  opacity: 0;
  transform: perspective(1400px) translate3d(0, 46px, -90px) rotateX(8deg);
  transform-origin: 50% 0;
  transition: opacity 0.9s var(--ease-premium), transform 0.9s var(--ease-premium);
}

html.js .reveal.is-inview {
  opacity: 1;
  transform: none;
}

/* -------- reveal a cascata delle card dentro le sezioni -------- */
html.js .team-card,
html.js .list-card,
html.js .event-card,
html.js .info-card,
html.js .place-card,
html.js .hours-card,
html.js .newsletter-box {
  opacity: 0;
  transform: perspective(1000px) translate3d(0, 34px, -60px) rotateX(10deg);
  transform-origin: 50% 0;
  transition: opacity 0.75s var(--ease-premium), transform 0.75s var(--ease-premium);
  transition-delay: calc(var(--i, 0) * 80ms);
}

html.js .team-card.is-inview,
html.js .list-card.is-inview,
html.js .event-card.is-inview,
html.js .info-card.is-inview,
html.js .place-card.is-inview,
html.js .hours-card.is-inview,
html.js .newsletter-box.is-inview {
  opacity: 1;
  transform: none;
}

/* -------- titoli: reveal parola per parola -------- */
.split-word {
  display: inline-block;
  perspective: 600px;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.08em; /* evita che le code di lettere come "g" vengano tagliate */
}

.split-word-inner {
  display: inline-block;
  will-change: transform;
}

html.js .split-word-inner {
  transform-origin: 50% 100%;
  transform: translateY(115%) rotateX(-75deg);
  transition: transform 0.85s var(--ease-premium);
  transition-delay: calc(var(--i, 0) * 45ms);
}

html.js .is-inview .split-word-inner {
  transform: none;
}

/* -------- hero: ingresso a cascata del contenuto -------- */
html.js .hero-content > *:not(h1) {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.85s var(--ease-premium), transform 0.85s var(--ease-premium);
}

html.js .hero.is-inview .hero-content > *:not(h1) {
  opacity: 1;
  transform: none;
}

html.js .hero-content > *:nth-child(1) { transition-delay: 0.05s; }
html.js .hero-content > *:nth-child(2) { transition-delay: 0.18s; }
html.js .hero-content > *:nth-child(4) { transition-delay: 0.4s; }
html.js .hero-content > *:nth-child(5) { transition-delay: 0.5s; }

/* -------- menu mobile: voci a cascata -------- */
@media (max-width: 900px) {
  html.js .menu li {
    opacity: 0;
    transform: translateX(24px);
    transition: opacity 0.5s var(--ease-premium), transform 0.5s var(--ease-premium);
  }

  html.js .menu.is-open li {
    opacity: 1;
    transform: none;
  }

  html.js .menu.is-open li:nth-child(1) { transition-delay: 0.06s; }
  html.js .menu.is-open li:nth-child(2) { transition-delay: 0.11s; }
  html.js .menu.is-open li:nth-child(3) { transition-delay: 0.16s; }
  html.js .menu.is-open li:nth-child(4) { transition-delay: 0.21s; }
  html.js .menu.is-open li:nth-child(5) { transition-delay: 0.26s; }
  html.js .menu.is-open li:nth-child(6) { transition-delay: 0.31s; }
  html.js .menu.is-open li:nth-child(7) { transition-delay: 0.36s; }
}

/* =========================================================
   MODALE "STORIA COMPLETA" DELLO STAFF
   Sostituisce il vecchio accordion: la card resta compatta,
   il click su "Leggi la storia" apre qui il racconto per intero,
   con le frecce per passare da un barbiere all'altro.
========================================================= */
body.team-modal-open {
  overflow: hidden;
}

.team-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10003;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: rgba(0, 0, 0, 0.92);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.team-modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.team-modal {
  position: relative;
  display: grid;
  grid-template-columns: 340px 1fr;
  max-width: min(980px, 92vw);
  max-height: 86vh;
  width: 100%;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  transform: scale(0.94) translateY(12px);
  opacity: 0;
  transition: transform 0.5s var(--ease-premium), opacity 0.5s var(--ease-premium);
}

.team-modal-overlay.is-open .team-modal {
  transform: none;
  opacity: 1;
}

.team-modal-media {
  position: relative;
  overflow: hidden;
  background: #0b0b0b;
}

.team-modal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.team-modal-body {
  padding: 44px 40px;
  overflow-y: auto;
  max-height: 86vh;
}

.team-modal-badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--red-text);
  margin-bottom: 16px;
}

.team-modal-name {
  font-size: 30px;
  margin-bottom: 6px;
}

.team-modal-role {
  color: var(--red-text);
  font-size: 14px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.team-modal-quote {
  font-style: italic;
  color: #f4f4f4;
  border-left: 2px solid var(--red);
  padding-left: 12px;
  margin-bottom: 22px;
}

.team-modal-bio {
  color: var(--text);
  line-height: 1.75;
  white-space: pre-line;
}

.team-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s var(--ease-premium);
}

.team-modal-close:hover {
  background: rgba(196, 0, 0, 0.35);
  transform: rotate(90deg);
}

.team-modal-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s var(--ease-premium);
}

.team-modal-nav:hover {
  background: rgba(196, 0, 0, 0.25);
}

.team-modal-nav.prev { left: 24px; }
.team-modal-nav.next { right: 24px; }

@media (max-width: 800px) {
  .team-modal {
    grid-template-columns: 1fr;
    max-height: 88vh;
  }

  .team-modal-media {
    height: 220px;
  }

  .team-modal-body {
    max-height: 60vh;
    padding: 30px 24px;
  }

  /* su mobile niente frecce fisse ai bordi: si chiude e si
     riapre dalla card successiva, meno ingombro */
  .team-modal-nav {
    display: none;
  }
}

/* riduzione animazioni per chi lo richiede */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* =========================================================
   REVISIONE SERVIZI
========================================================= */
.services-card {
  padding: 34px;
  border-color: rgba(255, 255, 255, 0.11);
  background:
    linear-gradient(135deg, rgba(196, 0, 0, 0.09), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.018), transparent 45%);
}

.services-heading {
  display: block;
  max-width: 620px;
  margin-bottom: 30px;
}

.services-heading h3 {
  max-width: none;
  margin-bottom: 12px;
  font-size: clamp(28px, 3vw, 38px);
}

.services-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.services-eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--red);
}

.services-intro {
  max-width: 500px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.7;
}

.service-menus {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 0;
}

.service-menu {
  max-height: 66px;
  border-radius: 0;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.16);
  transition: max-height 0.48s var(--ease-premium), border-color 0.3s ease, background 0.3s ease, transform 0.3s var(--ease-premium);
}

.service-menu::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: var(--red);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-menu:hover,
.service-menu.is-active {
  border-color: rgba(196, 0, 0, 0.7);
  background: rgba(196, 0, 0, 0.07);
  transform: translateY(-2px);
}

.service-menu.is-active::before {
  opacity: 1;
}

.service-menu--featured {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.16);
}

.service-menu summary {
  min-height: 66px;
  padding-left: 58px;
  font-size: 16px;
}

.service-menu summary::before {
  left: 19px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
}

.service-menu[open] summary {
  background: rgba(196, 0, 0, 0.1);
}

.booking-cta {
  justify-content: flex-end;
  min-height: 360px;
  padding: 42px;
  border-radius: 14px;
  background:
    linear-gradient(160deg, rgba(196, 0, 0, 0.28), rgba(17, 17, 17, 0.96) 58%),
    var(--card);
}

.booking-cta h3 {
  max-width: 380px;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.15;
}

.booking-cta p {
  max-width: 360px;
}

@media (max-width: 800px) {
  .services-card {
    padding: 24px;
  }

  .service-menus {
    grid-template-columns: 1fr;
  }

  .booking-cta {
    min-height: 300px;
    padding: 32px 26px;
  }
}

/* =========================================================
   CONTINUITA' VISIVA DELLA PAGINA
   Le sezioni condividono lo stesso ritmo e la stessa famiglia
   di superfici: i contenuti restano distinti senza stacchi bruschi.
========================================================= */
:root {
  --section-bg: #0b0b0b;
  --surface-soft: #111111;
  --surface-raised: #151515;
  --section-border: rgba(255, 255, 255, 0.08);
  --section-radius: 14px;
}

main > .section,
main > footer.section {
  position: relative;
  max-width: none;
  padding-right: max(30px, calc((100% - var(--max)) / 2 + 30px));
  padding-left: max(30px, calc((100% - var(--max)) / 2 + 30px));
  background: var(--section-bg);
}

main > .section + .section,
main > .section + footer.section {
  border-top: 1px solid var(--section-border);
}

main > .section::before,
main > footer.section::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  width: min(120px, 22vw);
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  transform: translateX(-50%);
  opacity: 0.7;
}

main > .section h2,
main > footer.section h2 {
  font-size: clamp(32px, 4vw, 42px);
  line-height: 1.15;
}

main > .section .section-subtitle,
main > footer.section .section-subtitle {
  margin-bottom: 42px;
}

.info-card,
.booking-widget,
.list-card,
.article-card,
.newsletter-box,
.district-content,
.story-media,
.map-box {
  border-color: var(--section-border);
  border-radius: var(--section-radius);
}

.info-card,
.booking-widget,
.district-content,
.newsletter-box {
  background: var(--surface-soft);
}

.list-card,
.article-card {
  background: var(--surface-raised);
}

.team-card,
.services-card,
.booking-cta,
.article-card,
.list-card,
.info-card {
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.18);
}

.team-card:hover,
.article-card:hover,
.list-card:hover,
.info-card:hover {
  border-color: rgba(196, 0, 0, 0.72);
}

.team-card,
.article-card,
.list-card {
  transition: transform 0.35s var(--ease-premium), border-color 0.35s ease, box-shadow 0.35s ease;
}

@media (max-width: 650px) {
  main > .section,
  main > footer.section {
    padding-right: 20px;
    padding-left: 20px;
  }

  main > .section .section-subtitle,
  main > footer.section .section-subtitle {
    margin-bottom: 32px;
  }
}

/* =========================================================
   COMPONENTI AGGIUNTI IN REVISIONE
   Tutto quello che segue e' nuovo markup introdotto durante
   l'ottimizzazione: icone SVG inline al posto di Font Awesome,
   accessibilita', overlay del video e rifiniture dell'hero.
========================================================= */

/* lo sprite delle icone non deve occupare spazio in pagina */
.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* testo per i soli screen reader */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* salta la navigazione: compare solo alla prima tabulazione */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 10001;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  font-size: 13px;
  letter-spacing: 1.5px;
  transform: translateY(-160%);
  transition: transform 0.25s var(--ease-premium);
}

.skip-link:focus-visible {
  transform: translateY(0);
}

/* =========================
   FOCUS VISIBILE
   Prima il focus da tastiera era quello di default del browser
   (spesso invisibile su fondo nero): ora e' coerente ovunque.
========================= */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--red2);
  outline-offset: 3px;
  border-radius: 4px;
}

/* le sezioni ricevono il focus via JS dopo la navigazione interna:
   il contorno li' sarebbe rumore visivo, il focus resta comunque attivo */
section:focus,
footer:focus,
section:focus-visible,
footer:focus-visible {
  outline: none;
}

/* =========================
   HERO: INFORMAZIONI DI SERVIZIO
   Chi arriva sul sito deve capire subito dove siamo e quando
   siamo aperti, senza dover scorrere fino a fondo pagina.
========================= */
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
  font-size: 14px;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.62);
}

.hero-meta__sep {
  color: var(--red-text);
}

.hero-meta a {
  color: inherit;
  text-decoration-color: var(--red);
  text-underline-offset: 4px;
}

/* indicatore di scorrimento in fondo all'hero */
.hero-scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 26px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 26px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  transform: translateX(-50%);
  transition: border-color 0.3s ease, opacity 0.3s ease;
}

.hero-scroll-hint span {
  display: block;
  width: 3px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
}

html.js .hero-scroll-hint span {
  animation: scrollHint 1.9s var(--ease-smooth) infinite;
}

.hero-scroll-hint:hover {
  border-color: var(--red2);
}

@keyframes scrollHint {
  0% { transform: translateY(-7px); opacity: 0; }
  35% { opacity: 1; }
  100% { transform: translateY(8px); opacity: 0; }
}

@media (max-width: 650px), (max-height: 680px) {
  .hero-scroll-hint {
    display: none;
  }
}

/* =========================
   TAB QUARTIERE
   L'attributo hidden deve vincere sul display dei pannelli.
========================= */
.district-panel[hidden] {
  display: none;
}

/* =========================
   NEWSLETTER: RISCONTRO ALL'INVIO
   Prima il form ricaricava la pagina e non diceva nulla.
========================= */
.newsletter-feedback {
  min-height: 1.4em;
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.5;
}

.newsletter-feedback.is-ok {
  color: #6fd08c;
}

.newsletter-feedback.is-error {
  color: #ff7b7b;
}

/* =========================
   CTA SECONDARIA NEL BLOCCO PRENOTAZIONE
========================= */
.booking-cta__alt {
  margin-top: 16px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.62);
}

.booking-cta__alt a {
  color: var(--white);
  text-decoration: none;
}

.booking-cta__alt a:hover {
  color: var(--red-text);
}

/* =========================
   RIGA LEGALE IN FONDO
========================= */
.footer-legal {
  margin-top: 46px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.6px;
  color: rgba(255, 255, 255, 0.65);
}

/* =========================
   SCHEDA STAFF: BIOGRAFIA IN PARAGRAFI
   Il testo arrivava come blocco unico, ora e' impaginato.
========================= */
.team-modal-bio p + p {
  margin-top: 14px;
}

/* =========================================================
   RIFINITURE RESPONSIVE
========================================================= */

/* Il titolo dell'hero era fisso a 72px e scendeva a 40px solo
   sotto i 650px: nella fascia tablet restava sproporzionato.
   Con clamp() la scala e' continua su tutte le larghezze. */
.hero h1 {
  font-size: clamp(38px, 7vw, 72px);
}

.section h2 {
  font-size: clamp(28px, 4.4vw, 42px);
}

.section-subtitle {
  font-size: clamp(16px, 1.6vw, 18px);
}

/* Su schermi molto grandi il contenuto si fermava a 1300px
   lasciando l'hero sproporzionato rispetto alle sezioni. */
@media (min-width: 1700px) {
  :root {
    --max: 1480px;
  }

  .hero-content {
    max-width: 880px;
  }
}

/* Schermi bassi (laptop 13", telefoni in orizzontale):
   l'hero a 100vh tagliava i pulsanti. */
@media (max-height: 700px) and (min-width: 651px) {
  .hero {
    min-height: 640px;
    padding: 90px 20px 50px;
  }

  .hero-logo {
    width: 320px;
    margin-bottom: 16px;
  }
}

/* Telefoni piccoli (iPhone SE e simili): i due pulsanti dell'hero
   uno sotto l'altro occupavano troppo spazio verticale. */
@media (max-width: 380px) {
  .section,
  footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-logo {
    width: 250px;
  }

  .hero-meta {
    font-size: 13px;
    gap: 7px;
  }

  .fixed-booking-btn span {
    display: none;
  }

  .fixed-booking-btn {
    padding: 0 14px;
  }
}

/* La barra fissa di prenotazione copriva il pulsante "torna su"
   e, sul footer, i pulsanti di contatto. */
@media (max-width: 650px) {
  footer {
    padding-bottom: 110px;
  }

  .hero-meta {
    margin-top: 20px;
  }

  .menu-cta a {
    display: inline-block;
    margin-top: 6px;
  }
}

/* =========================================================
   RIDUZIONE DEL MOVIMENTO
   Blocco finale: azzera ogni animazione decorativa e lascia
   comunque tutti i contenuti visibili e utilizzabili.
========================================================= */
@media (prefers-reduced-motion: reduce) {
  html.js .hero::after,
  html.js .hero::before,
  html.js .hero-bg__image,
  html.js .mini-title,
  html.js .hero-scroll-hint span,
  html.js .opening-status.is-open::before {
    animation: none !important;
  }

  .hero-bg__image {
    transform: none;
  }

  html.js .reveal,
  html.js .reveal.is-inview,
  html.js .split-word-inner,
  html.js .hero-content > *:not(h1) {
    opacity: 1 !important;
    transform: none !important;
  }

  .team-card .team-info > * {
    opacity: 1 !important;
    transform: none !important;
  }

}

/* =========================================================
   REVISIONE FRONT END
   - safe area (notch / barra home) per elementi fissi
   - link di ripiego nel drawer di prenotazione
========================================================= */
.fixed-booking-btn {
  left: max(24px, env(safe-area-inset-left));
  bottom: max(24px, calc(env(safe-area-inset-bottom) + 12px));
}

.scroll-top {
  right: max(22px, env(safe-area-inset-right));
  bottom: max(22px, calc(env(safe-area-inset-bottom) + 10px));
}

@media (max-width: 640px) {
  .fixed-booking-btn {
    left: max(16px, env(safe-area-inset-left));
    bottom: max(16px, calc(env(safe-area-inset-bottom) + 8px));
  }
}

.booking-drawer__panel {
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.booking-drawer__fallback {
  padding: 10px 28px;
  background: #111;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

.booking-drawer__fallback a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.booking-drawer__fallback a:hover {
  color: var(--red-text);
}

/* =========================
   COOKIE CONSENT
========================= */
.cookie-settings-link {
  margin-top: 8px;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, 0.72);
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.cookie-settings-link:hover { color: var(--white); }

.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 10040;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 980px;
  margin: 0 auto;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(17, 17, 17, 0.98);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
}

.cookie-banner[hidden],
.cookie-modal[hidden] { display: none; }

.cookie-banner__content h2,
.cookie-modal h2 {
  margin-bottom: 5px;
  font-family: "Cinzel", serif;
  font-size: 16px;
}

.cookie-banner__content p {
  color: var(--text);
  font-size: 13px;
}

.cookie-banner__actions,
.cookie-modal__footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.cookie-btn {
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: transparent;
  color: var(--white);
  font: 600 12px "Oswald", sans-serif;
  letter-spacing: 0.5px;
  cursor: pointer;
}

.cookie-btn--accept { border-color: var(--red); background: var(--red); }
.cookie-btn--accept:hover { background: var(--red2); }
.cookie-btn--ghost:hover,
.cookie-btn--settings:hover { background: rgba(255, 255, 255, 0.07); }

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 10045;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.78);
}

.cookie-modal__panel {
  width: min(560px, 100%);
  border: 1px solid var(--line);
  background: #111;
}

.cookie-modal__header,
.cookie-modal__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

.cookie-modal__footer { justify-content: flex-end; border-top: 1px solid var(--line); border-bottom: 0; }
.cookie-modal__header h2 { margin: 0; }

.cookie-modal__close {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: var(--white);
  font-size: 26px;
  cursor: pointer;
}

.cookie-modal__body { display: grid; }

.cookie-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.cookie-option span { display: grid; gap: 4px; }
.cookie-option small { color: var(--text); }
.cookie-option input { width: 18px; height: 18px; accent-color: var(--red); }

@media (max-width: 700px) {
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    align-items: stretch;
    flex-direction: column;
  }
  .cookie-banner__actions { display: grid; grid-template-columns: 1fr 1fr; }
  .cookie-btn--accept { grid-column: 1 / -1; }
}

/* =========================
   CARICAMENTO INIZIALE FAKE
========================= */
body.fake-loader-active {
  overflow: hidden;
}

.fake-loader {
  position: fixed;
  inset: 0;
  z-index: 10060;
  display: grid;
  place-items: center;
  background: #0b0b0b;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.48s var(--ease-smooth), visibility 0.48s;
}

.fake-loader.is-leaving {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.fake-loader__inner {
  display: grid;
  justify-items: center;
  width: min(190px, 56vw);
}

.fake-loader__logo {
  width: 108px;
  height: auto;
  margin-bottom: 30px;
  opacity: 0;
  animation: fakeLoaderLogo 0.7s var(--ease-premium) 0.08s forwards;
}

.fake-loader__track {
  width: 100%;
  height: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.14);
}

.fake-loader__bar {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: left center;
}

@keyframes fakeLoaderLogo {
  from { opacity: 0; transform: translateY(8px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .fake-loader,
  .fake-loader__logo {
    animation: none;
  }

  .fake-loader__logo { opacity: 1; }
}

