/* ============================================================
   G STYLE – Premium Barber & Hair | Portici (NA)
   style.css – Complete stylesheet
   ============================================================ */

/* ── VARIABLES ───────────────────────────────────────────── */
:root {
  --black:        #0a0a0a;
  --dark:         #111111;
  --dark-2:       #181818;
  --dark-3:       #222222;
  --charcoal:     #2c2c2c;
  --grey-dark:    #3a3a3a;
  --grey:         #666666;
  --grey-light:   #999999;
  --silver:       #c8c8c8;
  --white:        #f5f2ee;
  --white-pure:   #ffffff;
  --green:        #2d5a27;
  --green-light:  #3a7232;
  --green-bright: #4a8f3f;
  --green-muted:  #1e3d1a;
  --gold:         #b8960c;
  --gold-light:   #d4ac0d;
  --gold-pale:    #f0c040;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Montserrat', sans-serif;
  --font-elegant: 'Cormorant Garamond', Georgia, serif;

  --radius:       4px;
  --radius-lg:    8px;
  --transition:   0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow:       0 4px 24px rgba(0,0,0,0.4);
  --shadow-lg:    0 16px 48px rgba(0,0,0,0.6);
  --header-h:     80px;
}

/* ── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── SCROLLBAR ───────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--green); border-radius: 3px; }

/* ── SELECTION ───────────────────────────────────────────── */
::selection { background: var(--green); color: var(--white-pure); }

/* ── CONTAINER ───────────────────────────────────────────── */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── SECTION SPACING ─────────────────────────────────────── */
.section { padding: 100px 0; position: relative; }

/* ── SECTION HEADERS ─────────────────────────────────────── */
.section-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--green-bright);
  margin-bottom: 12px;
}
.section-label.light { color: var(--gold-pale); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}
.section-title em {
  font-style: italic;
  color: var(--gold-light);
}
.section-title.light { color: var(--white-pure); }

.section-intro {
  font-family: var(--font-elegant);
  font-size: 1.15rem;
  color: var(--grey-light);
  max-width: 600px;
  margin: 0 auto;
  font-style: italic;
}
.section-intro.light { color: var(--silver); }

.section-header { text-align: center; margin-bottom: 60px; }

.gold-line {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-pale));
  margin: 0 0 28px;
  border-radius: 1px;
}
.gold-line.centered { margin: 0 auto 28px; }

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--green);
  color: var(--white-pure);
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 2px solid var(--green);
  border-radius: var(--radius);
  transition: background var(--transition), border-color var(--transition), transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.06);
  opacity: 0;
  transition: opacity var(--transition);
}
.btn-primary:hover {
  background: var(--green-light);
  border-color: var(--green-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(45, 90, 39, 0.45);
}
.btn-primary:hover::after { opacity: 1; }
.btn-primary.large { padding: 18px 44px; font-size: 0.85rem; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--white);
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid rgba(245,242,238,0.35);
  border-radius: var(--radius);
  transition: border-color var(--transition), background var(--transition), transform 0.2s;
}
.btn-secondary:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
  transform: translateY(-2px);
  background: rgba(180,150,10,0.06);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--white-pure);
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 2px solid rgba(245,242,238,0.5);
  border-radius: var(--radius);
  transition: border-color var(--transition), color var(--transition), transform 0.2s;
}
.btn-outline:hover {
  border-color: var(--white-pure);
  color: var(--white-pure);
  transform: translateY(-2px);
}
.btn-outline.large { padding: 18px 44px; font-size: 0.85rem; }

.btn-icon { display: flex; align-items: center; }

/* ── HEADER ──────────────────────────────────────────────── */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: transparent;
  transition: background var(--transition), height var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}
#header.scrolled {
  background: rgba(10,10,10,0.96);
  backdrop-filter: blur(12px);
  height: 64px;
  box-shadow: 0 2px 24px rgba(0,0,0,0.6);
  border-bottom: 1px solid rgba(45,90,39,0.2);
}

.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo-link { display: flex; align-items: center; flex-shrink: 0; }
.header-logo {
  height: 54px;
  width: auto;
  transition: height var(--transition), filter var(--transition);
  filter: brightness(1);
  mix-blend-mode: screen;
}
#header.scrolled .header-logo { height: 42px; }

.main-nav { margin-left: auto; }
.main-nav ul {
  display: flex;
  gap: 32px;
  align-items: center;
}
.main-nav a {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245,242,238,0.8);
  transition: color var(--transition);
  position: relative;
  padding-bottom: 4px;
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--green-bright);
  transition: width var(--transition);
}
.main-nav a:hover { color: var(--white-pure); }
.main-nav a:hover::after { width: 100%; }

.btn-header-cta {
  flex-shrink: 0;
  background: var(--green);
  color: var(--white-pure);
  padding: 10px 22px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 2px solid var(--green);
  border-radius: var(--radius);
  transition: background var(--transition), transform 0.2s;
}
.btn-header-cta:hover { background: var(--green-light); transform: translateY(-1px); }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── BARBER POLE (kept for non-hero sections only) ───────── */
/* .barber-pole-hero is removed from the hero section */

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 60% 40%, rgba(45,90,39,0.15) 0%, transparent 60%),
    linear-gradient(160deg, #0a0a0a 0%, #111111 40%, #0d1a0b 100%);
}

/* Texture grain overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
  z-index: 1;
}

/* Geometric line decoration */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(180,150,10,0.4), transparent);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 60%, rgba(45,90,39,0.08) 0%, transparent 50%);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 700px;
  padding: calc(var(--header-h) + 40px) 24px 60px;
  margin: 0 auto 0 10vw;
}

.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 30px;
  height: 1px;
  background: var(--gold-light);
}

.hero-title {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.hero-logo {
  height: clamp(80px, 14vw, 160px);
  width: auto;
  /* Remove any white/grey background from PNG using multiply on dark bg */
  mix-blend-mode: screen;
  /* Additional filter to boost the logo visibility and add golden glow */
  filter:
    brightness(1.1)
    contrast(1.05)
    drop-shadow(0 0 22px rgba(212,172,13,0.18))
    drop-shadow(0 4px 18px rgba(0,0,0,0.6));
}

.hero-subtitle-line {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.2vw, 1.45rem);
  font-weight: 400;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--silver);
  font-style: normal;
}

.hero-tagline {
  font-family: var(--font-elegant);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-style: italic;
  color: var(--gold-pale);
  margin-bottom: 44px;
  line-height: 1.4;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}
.hero-scroll-indicator span {
  display: block;
  width: 22px;
  height: 36px;
  border: 1px solid rgba(245,242,238,0.3);
  border-radius: 11px;
  position: relative;
}
.hero-scroll-indicator span::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--gold-light);
  border-radius: 2px;
  animation: scrollDot 2s ease-in-out infinite;
}
@keyframes scrollDot {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  80% { transform: translateX(-50%) translateY(12px); opacity: 0; }
}

/* ── SCISSORS DECO — Forbici realistiche da parrucchiere ── */
.hero-scissors {
  position: absolute;
  right: 0;
  top: 0;
  width: 46%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  /* sfuma verso sinistra: le forbici emergono dal lato destro */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0,0,0,0.08) 15%,
    rgba(0,0,0,0.45) 40%,
    rgba(0,0,0,0.82) 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0,0,0,0.08) 15%,
    rgba(0,0,0,0.45) 40%,
    rgba(0,0,0,0.82) 100%
  );
}

.scissors-main {
  position: absolute;
  right: -2vw;
  top: 50%;
  transform: translateY(-50%) rotate(-15deg);
  width: min(520px, 52vw);
  height: auto;
  opacity: 0.17;
  /* sfuma il bianco del PNG sullo sfondo scuro */
  mix-blend-mode: screen;
  filter: drop-shadow(0 8px 32px rgba(0,0,0,0.8));
  animation: scissorsFloatMain 10s ease-in-out infinite;
}

/* La classe scissors-secondary non è più usata nel nuovo SVG — nascosta */
.scissors-secondary {
  display: none;
}

@keyframes scissorsFloatMain {
  0%, 100% { transform: translateY(-50%) rotate(-12deg); }
  50%       { transform: translateY(-47%) rotate(-10deg); }
}

/* Nascondi su mobile piccolo */
@media (max-width: 600px) {
  .hero-scissors { display: none; }
}

/* ── STRIP MARQUEE INFINITA ─────────────────────────────── */
.strip-deco {
  background: var(--green-muted);
  border-top: 1px solid rgba(74,143,63,0.2);
  border-bottom: 1px solid rgba(74,143,63,0.2);
  padding: 14px 0;
  overflow: hidden;          /* nasconde ciò che esce dai bordi */
  width: 100%;
  position: relative;
}

/* Track: contiene 2 copie identiche affiancate, si sposta di esattamente il 50% */
.strip-track {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  width: max-content;        /* si allarga quanto serve */
  animation: marqueeScroll 28s linear infinite;
  will-change: transform;
}

/* Pause on hover — opzionale, per accessibilità */
.strip-deco:hover .strip-track {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.strip-item {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(245,242,238,0.6);
  flex-shrink: 0;
  padding: 0 16px;
  display: inline-block;
}

.strip-deco .dot {
  color: var(--gold-light);
  font-size: 0.9rem;
  flex-shrink: 0;
  padding: 0 2px;
  display: inline-block;
}

/* ── STORIA ──────────────────────────────────────────────── */
.storia-section {
  background: var(--dark-2);
  border-top: 1px solid rgba(255,255,255,0.04);
}

.storia-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.storia-image-col { position: relative; }

.storia-image-wrapper {
  position: relative;
  border: 1px solid rgba(180,150,10,0.15);
  padding: 12px;
  background: rgba(0,0,0,0.3);
}
.storia-image-wrapper::before {
  content: '';
  position: absolute;
  top: -8px; left: -8px; right: -8px; bottom: -8px;
  border: 1px solid rgba(180,150,10,0.06);
  pointer-events: none;
}
.storia-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: top center;
  display: block;
  filter: sepia(15%) contrast(1.05) brightness(0.95);
}

.storia-image-label {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(8px);
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(180,150,10,0.3);
}
.storia-image-label span:first-child {
  font-family: var(--font-elegant);
  font-style: italic;
  font-size: 1rem;
  color: var(--silver);
}
.storia-image-year {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold-light);
}

.storia-text-col { padding: 20px 0; }

.storia-year-big {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 900;
  color: rgba(180,150,10,0.12);
  line-height: 1;
  margin-bottom: -20px;
  pointer-events: none;
  user-select: none;
}

.storia-text {
  font-size: 0.97rem;
  color: rgba(245,242,238,0.75);
  line-height: 1.8;
  margin-bottom: 18px;
}
.storia-text strong { color: var(--white); font-weight: 600; }

.storia-quote {
  font-family: var(--font-elegant);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--gold-light);
  line-height: 1.6;
  border-left: 3px solid var(--gold);
  padding: 16px 0 16px 24px;
  margin-top: 28px;
  background: rgba(180,150,10,0.04);
}

/* ── FILOSOFIA ───────────────────────────────────────────── */
.filosofia-section {
  background: var(--dark);
  position: relative;
  overflow: hidden;
}
.filosofia-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(45,90,39,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.filosofia-bg {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.015'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.filosofia-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  position: relative;
  z-index: 2;
}

.filosofia-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  padding: 36px 28px;
  text-align: center;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
  position: relative;
  overflow: hidden;
}
.filosofia-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--green-bright), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.filosofia-card:hover {
  background: rgba(45,90,39,0.08);
  border-color: rgba(45,90,39,0.25);
  transform: translateY(-6px);
}
.filosofia-card:hover::before { opacity: 1; }

.filo-icon {
  width: 60px;
  height: 60px;
  border: 1px solid rgba(180,150,10,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--gold-light);
  background: rgba(180,150,10,0.05);
  transition: border-color var(--transition), background var(--transition);
}
.filosofia-card:hover .filo-icon {
  border-color: var(--green-bright);
  background: rgba(45,90,39,0.15);
  color: var(--green-bright);
}

.filosofia-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
}
.filosofia-card p {
  font-size: 0.88rem;
  color: rgba(245,242,238,0.6);
  line-height: 1.75;
}

/* ── SERVIZI ─────────────────────────────────────────────── */
.servizi-section {
  background: var(--dark-2);
}

.servizi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}

.servizio-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  padding: 28px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: background var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.servizio-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--gold));
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}
.servizio-card:hover {
  background: rgba(45,90,39,0.06);
  border-color: rgba(45,90,39,0.2);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.servizio-card:hover::after { transform: scaleX(1); }

.servizio-card.featured {
  background: rgba(45,90,39,0.08);
  border-color: rgba(45,90,39,0.3);
  grid-column: span 1;
}
.servizio-featured-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--green);
  color: var(--white-pure);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
}

.servizio-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(180,150,10,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  background: rgba(180,150,10,0.04);
  transition: border-color var(--transition), color var(--transition);
}
.servizio-card:hover .servizio-icon {
  border-color: var(--green-bright);
  color: var(--green-bright);
}

.servizio-info { flex: 1; min-width: 0; }
.servizio-info h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
}
.servizio-info p {
  font-size: 0.82rem;
  color: rgba(245,242,238,0.55);
  line-height: 1.6;
}

.servizio-price {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}

.servizi-cta { text-align: center; }

/* ── SECTION DIVIDER ─────────────────────────────────────── */
.section-divider {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 32px 80px;
  background: var(--dark);
}
.divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08));
}
.section-divider .divider-line:last-child {
  background: linear-gradient(90deg, rgba(255,255,255,0.08), transparent);
}
.divider-icon {
  color: var(--gold-light);
  flex-shrink: 0;
  opacity: 0.6;
}

/* ── PRODOTTI ────────────────────────────────────────────── */
.prodotti-section {
  background: var(--dark-2);
}

.prodotti-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.prodotto-card {
  background: var(--dark-3);
  border: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
  border-radius: var(--radius);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
}
.prodotto-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.5);
  border-color: rgba(45,90,39,0.25);
}

.prodotto-img-wrap {
  height: 200px;
  background: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 20px;
  position: relative;
}
.prodotto-img-wrap::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40px;
  background: linear-gradient(0deg, var(--dark-3), transparent);
}
.prodotto-img-wrap img {
  max-height: 160px;
  max-width: 100%;
  object-fit: contain;
  transition: transform var(--transition);
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4));
}
.prodotto-card:hover .prodotto-img-wrap img { transform: scale(1.06); }

.prodotto-info {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.prodotto-info h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
}
.prodotto-info p {
  font-size: 0.8rem;
  color: rgba(245,242,238,0.5);
  line-height: 1.65;
  flex: 1;
}

/* ── GALLERY ─────────────────────────────────────────────── */
.gallery-section {
  background: var(--black);
}

.gallery-grid {
  columns: 3;
  column-gap: 16px;
}
.gallery-item {
  break-inside: avoid;
  margin-bottom: 16px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: var(--dark-2);
}
.gallery-item::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,0.04);
  z-index: 1;
  pointer-events: none;
}
.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1), filter 0.4s;
  filter: brightness(0.9) contrast(1.05);
}
.gallery-item:hover img {
  transform: scale(1.06);
  filter: brightness(1) contrast(1.05);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
  z-index: 2;
}
.gallery-overlay span {
  background: rgba(10,10,10,0.8);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 10px 22px;
  border: 1px solid rgba(255,255,255,0.3);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--transition), transform var(--transition);
}
.gallery-item:hover .gallery-overlay { background: rgba(0,0,0,0.3); }
.gallery-item:hover .gallery-overlay span { opacity: 1; transform: translateY(0); }

/* LIGHTBOX */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.96);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.lightbox.active { display: flex; }

.lightbox-inner {
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-inner img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 0 80px rgba(0,0,0,0.8);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
  font-size: 1.5rem;
  line-height: 1;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255,255,255,0.16); }

.lightbox-close {
  top: 24px; right: 24px;
  width: 44px; height: 44px;
  border-radius: 50%;
  font-size: 1.6rem;
}
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; }

/* ── CTA SECTION ─────────────────────────────────────────── */
.cta-section {
  background: var(--green-muted);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(74,143,63,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.cta-bg {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3z' fill='%23ffffff' fill-opacity='0.02'/%3E%3C/svg%3E");
}

.cta-content { position: relative; z-index: 2; }
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--white-pure);
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}
.cta-subtitle {
  font-family: var(--font-elegant);
  font-size: 1.2rem;
  font-style: italic;
  color: rgba(245,242,238,0.75);
  margin-bottom: 44px;
}
.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── CONTATTI ────────────────────────────────────────────── */
.contatti-section {
  background: var(--dark-2);
}

.contatti-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}

.contatti-info { display: flex; flex-direction: column; gap: 28px; }

.contatto-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.contatto-item:last-of-type { border-bottom: none; }

.contatto-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  margin-top: 2px;
}

.contatto-item strong {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-light);
  margin-bottom: 6px;
}
.contatto-item p { font-size: 0.95rem; color: var(--silver); line-height: 1.6; }
.contatto-item a { color: var(--silver); transition: color var(--transition); }
.contatto-item a:hover { color: var(--green-bright); }

.whatsapp-big { margin-top: 8px; justify-content: center; }

.contatti-map {
  border: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
}
.contatti-map iframe { display: block; filter: grayscale(80%) invert(10%); }

/* ── FOOTER ──────────────────────────────────────────────── */
.footer {
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 72px;
  padding-bottom: 32px;
  position: relative;
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 60px;
  padding-bottom: 56px;
}

.footer-logo {
  height: 60px;
  width: auto;
  margin-bottom: 16px;
  filter: brightness(0.9);
}
.footer-tagline {
  font-family: var(--font-elegant);
  font-style: italic;
  font-size: 0.98rem;
  color: rgba(245,242,238,0.5);
  line-height: 1.7;
  margin-bottom: 8px;
}
.footer-city {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
}

.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.88rem;
  color: rgba(245,242,238,0.5);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--white); }

.footer-contact p {
  font-size: 0.88rem;
  color: rgba(245,242,238,0.5);
  line-height: 1.7;
  margin-bottom: 8px;
}
.footer-contact a { color: rgba(245,242,238,0.5); transition: color var(--transition); }
.footer-contact a:hover { color: var(--white); }

.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.footer-socials a {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(245,242,238,0.5);
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}
.footer-socials a:hover {
  border-color: var(--green-bright);
  color: var(--green-bright);
  background: rgba(45,90,39,0.1);
}

.footer-divider {
  height: 1px;
  background: rgba(255,255,255,0.06);
  margin-bottom: 24px;
}
.footer-bottom {
  text-align: center;
}
.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(245,242,238,0.3);
  line-height: 1.8;
}
.footer-bottom-tag {
  font-family: var(--font-elegant);
  font-style: italic;
  color: rgba(180,150,10,0.4) !important;
}

/* ── WHATSAPP FLOAT ──────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  width: 58px;
  height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37,211,102,0.4);
  color: white;
  transition: transform var(--transition), box-shadow var(--transition);
}
.whatsapp-float:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 10px 30px rgba(37,211,102,0.5);
}
.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.3);
  animation: whatsappPulse 2.5s ease-in-out infinite;
}
@keyframes whatsappPulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 0; }
}

/* ── AOS ANIMATIONS ──────────────────────────────────────── */
[data-aos] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}
[data-aos][data-aos-delay="60"].aos-animate  { transition-delay: 60ms; }
[data-aos][data-aos-delay="80"].aos-animate  { transition-delay: 80ms; }
[data-aos][data-aos-delay="100"].aos-animate { transition-delay: 100ms; }
[data-aos][data-aos-delay="120"].aos-animate { transition-delay: 120ms; }
[data-aos][data-aos-delay="160"].aos-animate { transition-delay: 160ms; }
[data-aos][data-aos-delay="200"].aos-animate { transition-delay: 200ms; }
[data-aos][data-aos-delay="240"].aos-animate { transition-delay: 240ms; }
[data-aos][data-aos-delay="300"].aos-animate { transition-delay: 300ms; }

[data-aos="fade-right"] { transform: translateX(-30px); }
[data-aos="fade-right"].aos-animate { transform: translateX(0); }
[data-aos="fade-left"]  { transform: translateX(30px); }
[data-aos="fade-left"].aos-animate  { transform: translateX(0); }

/* ── MOBILE NAV OVERLAY ──────────────────────────────────── */
@media (max-width: 900px) {
  .main-nav {
    position: fixed;
    top: 0; right: 0;
    width: min(320px, 100vw);
    height: 100vh;
    background: rgba(10,10,10,0.98);
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(255,255,255,0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
    z-index: 999;
    margin-left: 0;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav ul {
    flex-direction: column;
    gap: 0;
    width: 100%;
    padding: 40px;
  }
  .main-nav li { width: 100%; }
  .main-nav a {
    display: block;
    padding: 18px 0;
    font-size: 1rem;
    letter-spacing: 0.15em;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .hamburger { display: flex; }
  .btn-header-cta { display: none; }
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1100px) {
  .filosofia-grid { grid-template-columns: repeat(2, 1fr); }
  .prodotti-grid  { grid-template-columns: repeat(3, 1fr); }
  .storia-grid    { grid-template-columns: 1fr 1fr; gap: 48px; }
}

@media (max-width: 900px) {
  .section { padding: 72px 0; }
  .storia-grid    { grid-template-columns: 1fr; }
  .storia-image-col { order: -1; }
  .storia-year-big { font-size: 3.5rem; }
  .servizi-grid   { grid-template-columns: 1fr; }
  .contatti-grid  { grid-template-columns: 1fr; }
  .gallery-grid   { columns: 2; }
  .footer-grid    { grid-template-columns: 1fr 1fr; gap: 40px; }
  .barber-pole-hero { right: 16px; height: 160px; width: 24px; }
  .hero-content   { margin-left: 5vw; }
  .filosofia-grid { gap: 16px; }
}

@media (max-width: 640px) {
  :root { --header-h: 70px; }
  .section { padding: 56px 0; }
  .filosofia-grid { grid-template-columns: 1fr; }
  .prodotti-grid  { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid   { columns: 1; }
  .footer-grid    { grid-template-columns: 1fr; gap: 36px; }
  .hero-content   { margin-left: 0; padding: calc(var(--header-h) + 24px) 20px 48px; }
  .hero-logo      { height: clamp(60px, 25vw, 100px); }
  .cta-buttons    { flex-direction: column; align-items: center; }
  .hero-ctas      { flex-direction: column; }
  .btn-primary, .btn-secondary, .btn-outline { width: 100%; justify-content: center; }
  .storia-img     { height: 320px; }
  .servizio-card  { flex-wrap: wrap; }
  .section-divider { padding: 24px 24px; }
  .barber-pole-hero { display: none; }
  .barber-pole-cta  { display: none; }
  .strip-deco       { padding: 12px 16px; gap: 14px; }
}

@media (max-width: 420px) {
  .prodotti-grid { grid-template-columns: 1fr; }
  .servizio-price { font-size: 1.3rem; }
}
