/* ============================================================
   BARBER FEB - PURE BLACK & WHITE LUXURY MINIMALISM
   Ottimizzato Mobile-First per Smartphone
   Minerbio (BO) - Mattia Fabbri
============================================================ */

:root {
  --bg: #000000;
  --bg-subtle: #080808;
  --bg-card: #0f0f0f;
  --bg-card-hover: #161616;
  
  --border: #222222;
  --border-light: #333333;
  --border-focus: #ffffff;

  --text-primary: #ffffff;
  --text-secondary: #999999;
  --text-muted: #555555;

  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-full: 9999px;
  
  --container-max: 1120px;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  background-color: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

.underline-link {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: #ffffff;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 18px;
}

@media (min-width: 768px) {
  .container {
    padding: 0 32px;
  }
}

/* ------------------------------------------------------------
   TYPOGRAPHY
------------------------------------------------------------ */
.eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 12px;
  display: inline-block;
}

h1, h2, h3, h4 {
  color: var(--text-primary);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.section-title {
  font-size: clamp(1.85rem, 5vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 0.94rem;
  max-width: 540px;
  line-height: 1.6;
}

.section-header {
  margin-bottom: 32px;
}

.section-header-compact {
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .section-header {
    margin-bottom: 48px;
  }
}

/* ------------------------------------------------------------
   BUTTONS (B&W High Contrast)
------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
  border-radius: var(--radius-sm);
  font-family: inherit;
  text-align: center;
  box-sizing: border-box;
}

.btn-white {
  background: #ffffff;
  color: #000000;
  border: 1px solid #ffffff;
}

.btn-white:hover, .btn-white:active {
  background: #e6e6e6;
  border-color: #e6e6e6;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: #ffffff;
  border: 1px solid var(--border-light);
}

.btn-ghost:hover, .btn-ghost:active {
  background: rgba(255, 255, 255, 0.08);
  border-color: #ffffff;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
}

.btn-block {
  width: 100%;
}

/* ------------------------------------------------------------
   INTRO STILE NETFLIX: IL LOGO BF APPARE CON UN "TA-DUM" E FASCI
   DI LUCE, LA B VA A SINISTRA, LA F A DESTRA E IN MEZZO SI COMPONE
   "BARBER FEB"; CORNICE, POLVERE NELLA LUCE E TAGLINE ATTORNO
------------------------------------------------------------ */
.intro-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  cursor: pointer;
  background: #000000;
  transition: opacity 0.55s ease, visibility 0.55s;
}

/* "Riduci movimento" (o solo prima visita, se attivato): niente intro */
html.intro-skip .intro-screen {
  display: none;
}

.intro-screen.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Polvere/capelli che fluttuano nella luce (canvas disegnato via JS) */
.nf-dust {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.intro-screen.nf-in .nf-dust {
  opacity: 1;
}

/* Faro di luce dietro al logo */
.nf-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 150vmax;
  height: 150vmax;
  transform: translate(-50%, -50%) scale(0.4);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.13) 0%, rgba(255, 255, 255, 0.04) 22%, rgba(0, 0, 0, 0) 45%);
  opacity: 0;
  pointer-events: none;
}

.intro-screen.nf-in .nf-glow {
  animation: nf-glow-in 1.6s cubic-bezier(0.2, 0.7, 0.2, 1) 0.3s forwards;
}

@keyframes nf-glow-in {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.4); }
  45% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
  100% { opacity: 0.75; transform: translate(-50%, -50%) scale(1); }
}

/* Fasci di luce verticali stile Netflix (creati via JS) */
.nf-rays {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 0;
  pointer-events: none;
}

.nf-ray {
  position: absolute;
  top: -10vh;
  height: 120vh;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.9) 50%, rgba(255, 255, 255, 0));
  opacity: 0;
  filter: blur(1px);
  mix-blend-mode: screen;
}

/* Cornice: angoli e scritte piccole sui bordi */
.nf-corner {
  position: absolute;
  width: 26px;
  height: 26px;
  border: 0 solid rgba(255, 255, 255, 0.45);
  opacity: 0;
  transform: scale(0.3);
  transition: opacity 0.6s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.nf-corner.tl { top: 16px; left: 16px; border-top-width: 1px; border-left-width: 1px; transform-origin: top left; }
.nf-corner.tr { top: 16px; right: 16px; border-top-width: 1px; border-right-width: 1px; transform-origin: top right; }
.nf-corner.bl { bottom: 16px; left: 16px; border-bottom-width: 1px; border-left-width: 1px; transform-origin: bottom left; }
.nf-corner.br { bottom: 16px; right: 16px; border-bottom-width: 1px; border-right-width: 1px; transform-origin: bottom right; }

.nf-label {
  position: absolute;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.8s ease 0.25s;
}

.nf-label.tl { top: 25px; left: 26px; }
.nf-label.tr { top: 25px; right: 26px; }
.nf-label.bl { bottom: 25px; left: 26px; }
.nf-label.br { bottom: 25px; right: 26px; }

.intro-screen.nf-in .nf-corner {
  opacity: 1;
  transform: scale(1);
}

.intro-screen.nf-in .nf-label {
  opacity: 1;
}

/* Palco centrale */
.nf-stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
}

/* Fase 1: "ta-dum", il logo arriva dal buio con un lampo di luce */
.intro-screen.nf-in .nf-stage {
  animation: nf-tadum 1.3s cubic-bezier(0.2, 0.7, 0.2, 1) 0.25s forwards;
}

@keyframes nf-tadum {
  0% { opacity: 0; transform: scale(0.72); filter: brightness(0.4) drop-shadow(0 0 0 rgba(255, 255, 255, 0)); }
  35% { opacity: 1; }
  62% { transform: scale(1.04); filter: brightness(1.9) drop-shadow(0 0 28px rgba(255, 255, 255, 0.85)); }
  100% { opacity: 1; transform: scale(1); filter: brightness(1) drop-shadow(0 0 10px rgba(255, 255, 255, 0.25)); }
}

/* Logo intero: visibile finché B e F non si separano */
.nf-logo {
  position: absolute;
  height: auto;
}

.intro-screen.nf-split .nf-logo {
  visibility: hidden;
}

.nf-center {
  position: relative;
}

/* La scritta finale: [B]ARBER [F]EB, con B e F prese dal logo */
.nf-word {
  display: flex;
  align-items: flex-end;
  font-size: clamp(32px, 12.5vw, 84px);
  font-weight: 800;
  line-height: 1;
  color: #ffffff;
  white-space: nowrap;
}

.nf-glyph {
  display: block;
  height: 0.72em;
  width: auto;
  transform-origin: 0 0;
  visibility: hidden;
  will-change: transform;
}

.nf-f {
  margin-left: 0.32em;
}

.nf-text {
  display: block;
  letter-spacing: 0.02em;
  line-height: 0.72em;
  height: 0.72em;
  margin-left: 0.04em;
  opacity: 0;
  clip-path: inset(0 50% 0 50%);
  filter: blur(6px);
}

.nf-text-2 {
  clip-path: inset(0 100% 0 0);
}

/* Fase 2: B e F si separano, le lettere compaiono in mezzo */
.intro-screen.nf-split .nf-glyph {
  visibility: visible;
  transition: transform 0.95s cubic-bezier(0.75, 0, 0.2, 1);
  transform: none !important;
}

.intro-screen.nf-split .nf-text {
  opacity: 1;
  clip-path: inset(0 0 0 0);
  filter: blur(0);
  transition: clip-path 0.7s cubic-bezier(0.6, 0, 0.2, 1) 0.35s,
              opacity 0.5s ease 0.35s,
              filter 0.6s ease 0.35s;
}

/* Riga sottile che si disegna come un colpo di rasoio, e tagline */
.nf-line {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 0.32em);
  height: 1px;
  font-size: clamp(32px, 12.5vw, 84px);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), #ffffff 20%, #ffffff 80%, rgba(255, 255, 255, 0));
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.7);
  transform: scaleX(0);
}

.nf-tagline {
  position: absolute;
  left: 50%;
  top: calc(100% + 0.6em);
  font-size: clamp(32px, 12.5vw, 84px);
  transform: translateX(-50%);
  white-space: nowrap;
}

.nf-tagline span {
  display: block;
  font-size: clamp(0.56rem, 2.4vw, 0.78rem);
  font-weight: 600;
  letter-spacing: 0.32em;
  margin-right: -0.32em;
  color: rgba(255, 255, 255, 0.6);
  opacity: 0;
  transform: translateY(6px);
}

.intro-screen.nf-split .nf-line {
  transform: scaleX(1);
  transition: transform 0.7s cubic-bezier(0.7, 0, 0.2, 1) 0.9s;
}

.intro-screen.nf-split .nf-tagline span {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease 1.2s, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) 1.2s;
}

/* Fase 3: zoom dentro la scritta, come la fine della sigla Netflix */
.intro-screen.nf-exit .nf-stage {
  animation: nf-zoom-in 0.75s cubic-bezier(0.7, 0, 0.84, 0) forwards;
}

@keyframes nf-zoom-in {
  from { opacity: 1; transform: scale(1); filter: brightness(1) drop-shadow(0 0 10px rgba(255, 255, 255, 0.25)); }
  to { opacity: 0; transform: scale(7); filter: brightness(1.6) drop-shadow(0 0 30px rgba(255, 255, 255, 0.6)); }
}

.intro-screen.nf-exit .nf-corner,
.intro-screen.nf-exit .nf-label,
.intro-screen.nf-exit .nf-glow,
.intro-screen.nf-exit .nf-dust {
  opacity: 0;
  transition: opacity 0.4s ease;
  animation: none;
}

.intro-skip-btn {
  position: absolute;
  left: 50%;
  top: 14px;
  transform: translateX(-50%);
  z-index: 5;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.8);
  font-family: inherit;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  padding: 7px 14px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, opacity 0.2s;
}

.intro-skip-btn:hover {
  border-color: #ffffff;
  color: #ffffff;
}

.intro-screen.nf-exit .intro-skip-btn {
  opacity: 0;
}


/* ------------------------------------------------------------
   SITE HEADER & NAVIGATION
------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
}

.header-container {
  padding: 0 16px;
}

@media (min-width: 768px) {
  .header-container {
    padding: 0 32px;
  }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-monogram {
  width: auto;
  height: 30px;
}

.brand-name {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #ffffff;
}

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

.nav-menu a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.nav-menu a:hover {
  color: #ffffff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-book-btn {
  padding: 9px 18px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.mobile-toggle {
  background: none;
  border: 1px solid var(--border);
  color: #ffffff;
  padding: 6px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 960px) {
  .nav-menu {
    display: flex;
  }
  .mobile-toggle {
    display: none;
  }
}

/* Menu Mobile Dropdown */
.nav-menu.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 68px;
  left: 0;
  right: 0;
  background: #090909;
  border-bottom: 1px solid var(--border);
  padding: 24px 20px;
  gap: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.8);
}

.nav-menu.open a {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  padding: 6px 0;
  border-bottom: 1px solid #1a1a1a;
  display: block;
}

/* ------------------------------------------------------------
   SEZIONE HERO & CHI SIAMO
------------------------------------------------------------ */
.section-chi-siamo {
  padding: 20px 0 40px 0;
}

@media (min-width: 768px) {
  .section-chi-siamo {
    padding: 36px 0 65px 0;
  }
}

.salon-hero-frame {
  position: relative;
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #080808;
  margin-bottom: 26px;
  aspect-ratio: 16 / 10;
  max-height: 480px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.salon-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(106%);
}

.salon-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: #ffffff;
  z-index: 5;
}

.hero-slideshow-dots {
  position: absolute;
  bottom: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  padding: 6px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 5;
}

.hero-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #555555;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-dot.active {
  width: 18px;
  border-radius: 4px;
  background: #ffffff;
}

.chi-siamo-content {
  max-width: 720px;
}

.chi-siamo-title {
  font-size: clamp(2rem, 6vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: #ffffff;
}

.chi-siamo-lead {
  font-size: clamp(0.96rem, 3.4vw, 1.25rem);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 14px;
}

.chi-siamo-subtext {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 22px;
}

.live-status-bar {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  margin-bottom: 24px;
  font-size: 0.82rem;
}

.status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

.status-indicator.open {
  background: #ffffff;
  box-shadow: 0 0 8px #ffffff;
  animation: pulse-dot 2s infinite;
}

.status-indicator.closed {
  background: #555555;
  box-shadow: none;
}

@keyframes pulse-dot {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.5; }
  100% { transform: scale(1); opacity: 1; }
}

.status-label {
  font-weight: 600;
  color: #ffffff;
}

.status-sub {
  color: var(--text-secondary);
}

.chi-siamo-cta {
  width: 100%;
}

.chi-siamo-cta .btn {
  padding: 16px 28px;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

@media (min-width: 600px) {
  .chi-siamo-cta .btn {
    width: auto;
    display: inline-flex;
  }
}

/* ------------------------------------------------------------
   SEZIONE DEDICATA AL PARRUCCHIERE (CARD COMPATTA SU MOBILE)
------------------------------------------------------------ */
.section-barber {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
  padding: 36px 0;
}

@media (min-width: 768px) {
  .section-barber {
    padding: 60px 0;
  }
}

/* Card Compatta che non ruba spazio da telefono */
.barber-compact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  max-width: 640px;
}

.barber-compact-card:hover, .barber-compact-card:active {
  transform: translateY(-2px);
  border-color: #ffffff;
  background: var(--bg-card-hover);
}

.barber-compact-thumb-wrap {
  width: 74px;
  height: 74px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: #000000;
  border: 1px solid var(--border);
}

@media (min-width: 600px) {
  .barber-compact-thumb-wrap {
    width: 90px;
    height: 90px;
  }
}

.barber-compact-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(100%) contrast(108%);
}

.barber-compact-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  min-width: 0;
}

.barber-compact-tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.barber-compact-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.barber-compact-sub {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.barber-compact-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
}

.barber-compact-action .arrow-icon {
  transition: transform 0.2s;
}

.barber-compact-card:hover .arrow-icon {
  transform: translateX(4px);
}

/* ------------------------------------------------------------
   PREMIUM SIDE PANEL (SLIDE-IN DA DESTRA)
------------------------------------------------------------ */
.side-panel-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2400;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.side-panel-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.side-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 460px;
  height: 100vh;
  height: 100dvh;
  background: #0b0b0b;
  border-left: 1px solid var(--border-light);
  z-index: 2500;
  transform: translateX(100%);
  transition: transform 0.42s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.9);
}

.side-panel.open {
  transform: translateX(0);
}

.side-panel-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: transform 0.2s, background 0.2s;
}

.side-panel-close:hover {
  transform: scale(1.1);
  background: #ffffff;
  color: #000000;
}

.side-panel-header {
  position: relative;
  width: 100%;
  height: 260px;
  flex-shrink: 0;
  background: #000000;
}

.side-panel-image {
  width: 100%;
  height: 100%;
  background-image: url('../assets/barber-mattia.jpg');
  background-size: cover;
  background-position: center 38%;
  filter: grayscale(100%) contrast(108%);
}

.side-panel-body {
  padding: 28px 20px 40px 20px;
  display: flex;
  flex-direction: column;
}

.side-panel-subtitle {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.side-panel-title {
  font-size: 1.85rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
}

.side-panel-quote {
  border-left: 2px solid #ffffff;
  padding-left: 14px;
  font-style: italic;
  color: #e0e0e0;
  font-size: 0.95rem;
  margin-bottom: 20px;
  line-height: 1.55;
}

.side-panel-desc {
  font-size: 0.93rem;
  line-height: 1.7;
  color: #cccccc;
  margin-bottom: 26px;
}

.side-panel-desc p {
  margin-bottom: 14px;
}

.side-panel-feature-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 18px;
  padding: 16px;
  background: #121212;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.side-feature {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.side-feature strong {
  color: #ffffff;
  font-size: 0.9rem;
}

.side-feature span {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.side-panel-cta-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

/* ------------------------------------------------------------
   SEZIONE GENERALE
------------------------------------------------------------ */
.section {
  padding: 48px 0;
  border-top: 1px solid var(--border);
}

@media (min-width: 768px) {
  .section {
    padding: 70px 0;
  }
}

/* ------------------------------------------------------------
   CARTELLE FOTOGRAFICHE (Mobile Touch Scroll)
------------------------------------------------------------ */
.section-cartelle {
  background: var(--bg);
}

.folder-group {
  margin-bottom: 44px;
}

.folder-group:last-child {
  margin-bottom: 10px;
}

.folder-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.folder-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.folder-num {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: -0.02em;
}

.folder-title {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.folder-subtitle {
  display: block;
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

.scroll-hint {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.folder-scroll-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 14px;
  margin: 0 -18px;
  padding-left: 18px;
  padding-right: 18px;
  scrollbar-width: thin;
  scrollbar-color: var(--border-light) transparent;
}

.folder-scroll-track::-webkit-scrollbar {
  height: 4px;
}

.folder-scroll-track::-webkit-scrollbar-track {
  background: transparent;
}

.folder-scroll-track::-webkit-scrollbar-thumb {
  background: var(--border-light);
  border-radius: 2px;
}

@media (min-width: 768px) {
  .folder-scroll-track {
    margin: 0;
    padding-left: 0;
    padding-right: 0;
  }
}

.photo-card {
  flex: 0 0 230px;
  scroll-snap-align: start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
}

@media (max-width: 480px) {
  .photo-card {
    flex: 0 0 215px;
  }
}

.photo-card:hover, .photo-card:active {
  transform: translateY(-3px);
  border-color: #ffffff;
}

.photo-card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  background: #080808;
  overflow: hidden;
}

.photo-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.photo-card:hover .photo-card-img-wrap img {
  transform: scale(1.03);
}

.photo-card-info {
  padding: 12px 14px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: var(--bg-card);
}

.photo-card-cat {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.photo-card-name {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
}

.photo-card-detail {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* ------------------------------------------------------------
   LISTINO PREZZI
------------------------------------------------------------ */
.price-list-minimal {
  max-width: 780px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  overflow: hidden;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  gap: 16px;
  transition: background 0.2s;
}

.price-row:last-of-type {
  border-bottom: 1px solid var(--border);
}

.price-row:hover {
  background: rgba(255, 255, 255, 0.02);
}

.price-info {
  flex: 1;
}

.price-name {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 3px;
}

.price-sub {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.price-cost {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
}

/* Footer Listino Ottimizzato Mobile */
.price-footer-cta {
  padding: 22px 20px;
  background: #090909;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  width: 100%;
}

.price-footer-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  text-align: center;
  width: 100%;
}

.price-footer-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.price-footer-btns .btn {
  width: 100%;
  text-align: center;
  padding: 14px 18px;
  font-size: 0.84rem;
}

@media (min-width: 640px) {
  .price-footer-cta {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    padding: 24px 24px;
  }
  .price-footer-text {
    text-align: left;
    width: auto;
  }
  .price-footer-btns {
    flex-direction: row;
    width: auto;
  }
  .price-footer-btns .btn {
    width: auto;
  }
}

/* ------------------------------------------------------------
   SEZIONE RECENSIONI GOOGLE CON DISSOLVENZA AUTOMATICA
------------------------------------------------------------ */
.section-reviews {
  background: var(--bg-subtle);
}

.google-review-card-featured {
  background: #080808;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 34px 20px 26px 20px;
  text-align: center;
  margin-bottom: 24px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .google-review-card-featured {
    padding: 48px 44px 34px 44px;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 34px;
    min-height: 310px;
  }
}

.google-review-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 20px;
}

.badge-line {
  display: inline-block;
  width: 36px;
  height: 1px;
  background: #555555;
}

.badge-text {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #aaaaaa;
}

.review-fade-wrapper {
  transition: opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1), transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}

.review-fade-wrapper.fade-out {
  opacity: 0;
  transform: translateY(10px);
}

.google-review-quote {
  font-size: clamp(1.1rem, 3.8vw, 1.65rem);
  font-weight: 300;
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: #ffffff;
  margin-bottom: 20px;
  font-style: normal;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.google-review-author-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.google-review-stars {
  display: flex;
  gap: 4px;
  font-size: 1.15rem;
  color: #ffffff;
}

.google-review-author {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #cccccc;
}

.reviews-fade-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.review-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #333333;
  cursor: pointer;
  transition: all 0.3s ease;
}

.review-dot.active {
  width: 20px;
  border-radius: 4px;
  background: #ffffff;
}

/* Call to action recensioni Ottimizzato Mobile */
.reviews-cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
  padding: 22px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  width: 100%;
}

.google-rating-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
}

.score-top-line {
  display: flex;
  align-items: center;
  gap: 10px;
}

.score-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
}

.score-stars {
  color: #ffffff;
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.score-count {
  font-size: 0.82rem;
  color: var(--text-secondary);
  text-align: center;
}

.reviews-cta-wrap .btn {
  width: 100%;
  text-align: center;
  padding: 13px 18px;
  font-size: 0.82rem;
}

@media (min-width: 640px) {
  .reviews-cta-wrap {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    padding: 24px 26px;
  }
  .google-rating-score {
    align-items: flex-start;
    width: auto;
  }
  .reviews-cta-wrap .btn {
    width: auto;
  }
}

/* ------------------------------------------------------------
   ORARI & DOVE SIAMO
------------------------------------------------------------ */
.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 900px) {
  .info-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

.info-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
}

@media (min-width: 600px) {
  .info-box {
    padding: 26px 24px;
  }
}

.info-box-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.info-box-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--text-secondary);
}

.info-box-status {
  font-size: 0.76rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: #1a1a1a;
  border: 1px solid var(--border-light);
  color: #ffffff;
}

.info-box-city {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.timetable {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  margin-bottom: 22px;
}

.timetable tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.timetable td {
  padding: 10px 0;
  vertical-align: top;
}

.timetable .day {
  color: var(--text-secondary);
  font-weight: 600;
  width: 34%;
  padding-right: 6px;
}

.timetable .hours {
  color: #ffffff;
  font-weight: 600;
  text-align: right;
}

.time-slot {
  display: block;
  white-space: nowrap;
  line-height: 1.5;
}

.timetable tr.today {
  background: rgba(255, 255, 255, 0.05);
}

.timetable tr.today .day {
  color: #ffffff;
  font-weight: 700;
}

.info-box-takecare-cta {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.takecare-hint {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
  text-align: center;
}

@media (min-width: 600px) {
  .takecare-hint {
    text-align: left;
  }
}

.map-frame {
  width: 100%;
  height: 220px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 18px;
  background: #000000;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(100%) invert(92%) contrast(85%);
}

.map-consent {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 16px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-align: center;
  color: #ffffff;
  background:
    repeating-linear-gradient(0deg, transparent 0 27px, #161616 27px 28px),
    repeating-linear-gradient(90deg, transparent 0 27px, #161616 27px 28px),
    #070707;
  transition: background-color 0.2s;
}

.map-consent:hover svg {
  transform: translateY(-2px);
}

.map-consent svg {
  margin-bottom: 4px;
  transition: transform 0.2s;
}

.map-consent-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  background: #000000;
}

.map-consent:hover .map-consent-title {
  border-color: #ffffff;
}

.map-consent-note {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.address-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: auto;
}

.address-title {
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
}

.address-sub {
  color: var(--text-secondary);
  font-size: 0.82rem;
}

/* ------------------------------------------------------------
   SITE FOOTER
------------------------------------------------------------ */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0 28px 0;
  background: #000000;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 30px;
}

.footer-brand-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-logo {
  width: auto;
  height: 44px;
  opacity: 0.9;
}

.footer-brand {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #ffffff;
  margin-bottom: 4px;
}

.footer-sub {
  font-size: 0.84rem;
  color: var(--text-secondary);
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.cookie-link {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.78rem;
  cursor: pointer;
  text-decoration: underline;
}

.cookie-link:hover {
  color: #ffffff;
}

/* ------------------------------------------------------------
   FLOATING WHATSAPP BUTTON (Fedele allo Screenshot)
------------------------------------------------------------ */
.whatsapp-float-btn {
  position: fixed;
  bottom: 22px;
  right: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float-btn:hover, .whatsapp-float-btn:active {
  transform: scale(1.08);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.55);
}

/* ------------------------------------------------------------
   MODAL LIGHTBOX
------------------------------------------------------------ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-overlay.open {
  display: flex;
}

.modal-box {
  background: #0d0d0d;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  width: 100%;
  max-width: 480px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.9);
}

.modal-box-sm {
  max-width: 420px;
  padding: 24px;
}

.modal-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}

.modal-cat {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--text-secondary);
}

.modal-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: #ffffff;
}

.modal-close {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 4px 8px;
}

.modal-body {
  padding: 18px 20px;
}

.modal-image-container {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: #080808;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 14px;
  border: 1px solid var(--border);
}

.modal-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.modal-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  background: #080808;
  gap: 12px;
}

.modal-cta-text {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.modal-cta-buttons {
  display: flex;
  gap: 8px;
}

/* ------------------------------------------------------------
   COOKIE BANNER
------------------------------------------------------------ */
.cookie-banner-minimal {
  position: fixed;
  bottom: 20px;
  left: 20px;
  max-width: 380px;
  background: #0e0e0e;
  border: 1px solid var(--border-light);
  padding: 18px 20px;
  border-radius: var(--radius-md);
  z-index: 1500;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7);
  display: none;
}

.cookie-banner-minimal.show {
  display: block;
}

.cookie-banner-minimal p {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.cookie-btn-row {
  display: flex;
  gap: 10px;
}
