/* ===== css/style.css ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold:        #d4a017;
  --gold-bright: #f0c040;
  --gold-light:  #f7d76a;
  --gold-dark:   #8a6510;
  --red:         #ff2020;
  --red-bright:  #ff4444;
  --red-glow:    rgba(255,32,32,0.5);
  --red-soft:    rgba(255,32,32,0.15);
  --bg:          #0e0805;
  --bg-2:        #180f08;
  --bg-3:        #221408;
  --bg-4:        #2e1a0a;
  --bg-card:     #1c1108;
  --white:       #fdf5e6;
  --text-body:   #c4a882;
  --text-muted:  #7a5c3a;
  --border:      rgba(212,160,23,0.12);
  --border-gold: rgba(212,160,23,0.4);
  --radius:      12px;
  --radius-sm:   8px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ===== css/home.css ===== */
/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 140px 56px 100px;
  position: relative; overflow: hidden;
}

.hero-ambient-gold {
  position: absolute;
  bottom: -100px;
  left: 25%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(212,160,23,0.22) 0%, rgba(212,160,23,0.10) 40%, transparent 75%);
  filter: blur(40px);
  pointer-events: none;
}

@keyframes neon-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.neon-line-1, .neon-line-2, .neon-line-3 {
  animation: neon-pulse 3s ease-in-out infinite;
}
.neon-line-2 { animation-delay: 0.5s; }
.neon-line-3 { animation-delay: 1s; }

.neon-line-1 {
  position: absolute; top: 0; right: 12%;
  width: 3px; height: 100%;
  background: var(--red);
  box-shadow: 0 0 6px 2px var(--red), 0 0 24px 6px var(--red-glow), 0 0 60px 12px rgba(255,32,32,0.2);
}
.neon-line-2 {
  position: absolute; top: 0; right: calc(12% + 20px);
  width: 1px; height: 100%;
  background: var(--red-bright);
  box-shadow: 0 0 4px 1px var(--red-bright), 0 0 16px 4px var(--red-glow);
  opacity: 0.6;
}
.neon-line-3 {
  position: absolute; top: 0; right: calc(12% - 22px);
  width: 1px; height: 100%;
  background: var(--red);
  box-shadow: 0 0 4px 1px var(--red), 0 0 12px 3px var(--red-glow);
  opacity: 0.3;
}

.hero-ambient-red {
  position: absolute; top: 0; right: 0;
  width: 45%; height: 100%;
  background: linear-gradient(to left, rgba(120,10,10,0.28) 0%, rgba(120,10,10,0.12) 40%, transparent 85%);
  filter: blur(30px);
  pointer-events: none;
}

.hero-inner {
  max-width: 1140px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center; position: relative; z-index: 1;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--gold-bright);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  margin-bottom: 28px;
}
.hero-eyebrow::before {
  content: '';
  width: 30px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-bright));
}
.hero-eyebrow::after {
  content: '';
  width: 30px; height: 1px;
  background: linear-gradient(90deg, var(--gold-bright), transparent);
}
.hero-content {
  padding-right: 36px;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(42px, 5.5vw, 72px);
  font-weight: 800; line-height: 1.06;
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}
.hero h1 .gold {
  color: var(--gold-bright);
  text-shadow: 0 0 30px rgba(240,192,64,0.5), 0 0 60px rgba(212,160,23,0.25);
}
.hero h1 .red {
  color: var(--red-bright);
  text-shadow: 0 0 20px var(--red-glow), 0 0 40px rgba(255,32,32,0.2);
}

.hero-desc {
  font-size: 16px; color: var(--text-body);
  margin-bottom: 44px; line-height: 1.8; max-width: 420px;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  color: var(--bg);
  padding: 15px 34px;
  border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 0 20px rgba(212,160,23,0.4), 0 4px 16px rgba(0,0,0,0.4);
  transition: all 0.2s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-light));
  box-shadow: 0 0 50px rgba(212,160,23,0.7), 0 8px 30px rgba(0,0,0,0.5);
  transform: translateY(-3px) scale(1.03);
}

/* ── PHONE MOCKUP ── */
.hero-visual { display: flex; justify-content: center; align-items: center; position: relative; }

.phone-glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 320px; height: 500px;
  background: radial-gradient(ellipse, rgba(212,160,23,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.phone-frame {
  width: 272px;
  background: var(--bg-2);
  border-radius: 40px;
  border: 1.5px solid rgba(212,160,23,0.25);
  padding: 14px;
  box-shadow:
    0 40px 80px rgba(0,0,0,0.8),
    0 0 0 1px rgba(212,160,23,0.05),
    0 0 40px rgba(212,160,23,0.08);
  position: relative; z-index: 1;
}

.phone-notch {
  width: 70px; height: 9px;
  background: var(--bg-3); border-radius: 8px;
  margin: 0 auto 14px;
}

.phone-screen {
  background: var(--bg-3);
  border-radius: 26px;
  min-height: 488px;
  overflow: hidden;
}

.phone-screenshot {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* ── HERO TITLE CASCADE ANIMATION ── */
.hero-title-animated .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(-20px);
  animation: word-cascade 0.6s ease forwards;
}

.hero-title-animated .w1 { animation-delay: 0.1s; }
.hero-title-animated .w2 { animation-delay: 0.4s; }
.hero-title-animated .w3 { animation-delay: 0.7s; }
.hero-title-animated .w4 { animation-delay: 1.0s; }
.hero-title-animated .w5 { animation-delay: 1.3s; }
.hero-title-animated .w6 { animation-delay: 1.6s; }

@keyframes word-cascade {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .hero { padding: 100px 24px 60px; }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    grid-template-areas: "content" "phone";
  }
  .hero-content { grid-area: content; text-align: center; }
  .hero-visual { grid-area: phone; justify-content: center; }
  .hero-desc { max-width: 100%; margin: 0 auto 40px; }
}

@media (max-width: 600px) {
  .hero { padding: 110px 24px 70px; }
  .phone-frame { width: 240px; }
}

/* ── SECTIONS (generico) ── */
.section { padding: 100px 56px; }

.section-eyebrow {
  font-size: 10px; font-weight: 700; color: var(--gold-bright);
  text-transform: uppercase; letter-spacing: 0.22em;
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.section-eyebrow::before { content:''; width:20px; height:1px; background:var(--gold-bright); }

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800; line-height: 1.12;
  margin-bottom: 18px;
}

.section-sub {
  font-size: 16px; color: var(--text-body);
  max-width: 500px; line-height: 1.8; margin-bottom: 60px;
}

/* ── STEP CARDS ── */
.steps-grid {
  display: flex;
  gap: 24px;
  position: relative;
  max-width: 1140px;
  margin: 0 auto;
}

.step-card {
  flex: 1;
  padding: 24px;
  background-image: url('DrinkCodeImmagini/PatternDrinkCode.png');
  background-size: 300px;
  background-position: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.step-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--bg);
  opacity: 0.50;
  z-index: 0;
}
.step-card > * {
  position: relative;
  z-index: 1;
}
.step-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 30px rgba(212,160,23,0.15);
}

.step-top { display: flex; align-items: center; margin-bottom: 24px; }

.step-num-circle {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(212,160,23,0.1);
  border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700;
  color: var(--gold-bright);
  flex-shrink: 0;
  position: relative; z-index: 1;
}

.step-connector { flex: 1; height: 1px; background: var(--border-gold); margin: 0 4px; }

.step-icon {
  width: 48px; height: 48px;
  background: rgba(212,160,23,0.08);
  border: 1px solid rgba(212,160,23,0.2);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 16px;
}

.step-icon-img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.step-num {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.15em; color: var(--gold-dark);
  text-transform: uppercase; margin-bottom: 8px;
}

.step-title { font-size: 17px; font-weight: 700; margin-bottom: 10px; color: var(--white); }
.step-desc { font-size: 13px; color: var(--text-body); line-height: 1.75; }

@media (max-width: 600px) {
  .section { padding: 60px 24px; }
  .steps-grid { grid-template-columns: 1fr; flex-direction: column; }
}

/* ── FEATURES ── */
.features-section {
  padding: 80px 56px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.features-inner { max-width: 1140px; margin: 0 auto; }

.features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }

.features-grid-3col {
  grid-template-columns: 1fr 1.4fr 1fr;
  align-items: center;
  gap: 40px;
}

.feature-list { display: flex; flex-direction: column; gap: 14px; }

.feature-item {
  display: flex; gap: 16px;
  padding: 18px 20px;
  background: rgba(212,160,23,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s, background 0.2s;
}
.feature-item:hover {
  border-color: var(--border-gold);
  background: rgba(212,160,23,0.08);
  transform: translateX(4px);
}

.feature-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  background: rgba(212,160,23,0.1);
  border: 1px solid rgba(212,160,23,0.2);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.feature-icon-img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}
.feature-text h4 { font-size: 14px; font-weight: 600; margin-bottom: 4px; color: var(--white); }
.feature-text p  { font-size: 12px; color: var(--text-body); line-height: 1.65; }

/* ── MOCKUP BIG ── */
.mockup-big {
  background: var(--bg-3);
  border-radius: 18px;
  border: 1px solid var(--border);
  padding: 22px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.6), 0 0 30px rgba(212,160,23,0.06);
  max-width: 280px;
  margin: 0 auto;
}
.mockup-topbar { display: flex; gap: 6px; margin-bottom: 14px; }
.mockup-dot { width: 9px; height: 9px; border-radius: 50%; }
.mockup-content { background: var(--bg-2); border-radius: 10px; overflow: hidden; height: 460px; }
.mockup-screenshot {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

@media (max-width: 1100px) {
  .features-grid-3col { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .features-section { padding: 60px 24px; }
  .features-grid { grid-template-columns: 1fr; }
}

/* ── CHI SIAMO ── */
.about-section {
  padding: 100px 56px;
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.about-checklist {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 28px;
  margin-top: 30px;
}

.about-check-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}

.about-check-icon {
  width: 58px; height: 58px; flex-shrink: 0;
  background: rgba(212,160,23,0.1);
  border: 1px solid rgba(212,160,23,0.2);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}

.check-icon-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}

.about-check-item h4 { font-size: 14px; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.about-check-item p { font-size: 12px; color: var(--text-body); line-height: 1.5; }

.about-visual {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
}

.about-image-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}

.about-chart-img {
  width: 100%;
  max-width: 560px;
  height: auto;
  border-radius: var(--radius-sm);
  display: block;
  margin: 0 auto 24px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}

.about-stat-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 30px;
}

.about-stat-box {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
}

.about-stat-box .num {
  font-family: 'Playfair Display', serif;
  font-size: 26px; font-weight: 800;
  color: var(--gold-bright);
}
.about-stat-box .label { font-size: 11px; color: var(--text-muted); margin-top: 4px; }

@media (max-width: 768px) {
  .about-checklist {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .about-image-card {
    padding: 24px 20px;
  }
  .about-chart-img {
    max-width: 100%;
    margin-bottom: 20px;
  }
  .about-stat-row {
    margin-top: 20px;
    gap: 12px;
  }
  .about-stat-box {
    padding: 14px;
  }
}

/* ── FAQ ── */
.faq-section { padding: 100px 56px; position: relative; overflow: hidden; }

.faq-list { margin-top: 50px; display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item:hover { border-color: var(--border-gold); }

.faq-question {
  padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between;
  cursor: pointer;
  font-size: 15px; font-weight: 600; color: var(--white);
}

.faq-icon {
  font-size: 20px; color: var(--gold-bright);
  transition: transform 0.3s; flex-shrink: 0; margin-left: 16px;
}
.faq-item.active .faq-icon { transform: rotate(45deg); }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.active .faq-answer { max-height: 200px; }

.faq-answer p { padding: 0 24px 20px; font-size: 14px; color: var(--text-body); line-height: 1.7; }

/* ── NEON WRAPPER ── */
.neon-wrapper { position: relative; }
.neon-wrapper::before {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 45%; height: 100%;
  background: linear-gradient(to left, rgba(120,10,10,0.35) 0%, transparent 80%);
  pointer-events: none; z-index: 0;
}
.neon-wrapper .neon-line-1 { position: absolute; top: 0; height: 100%; right: 12%; z-index: 0; }
.neon-wrapper .neon-line-2 { position: absolute; top: 0; height: 100%; right: calc(12% + 20px); z-index: 0; }
.neon-wrapper .neon-line-3 { position: absolute; top: 0; height: 100%; right: calc(12% - 22px); z-index: 0; }

.neon-wrapper .faq-section,
.neon-wrapper .richiesta-section,
.neon-wrapper .map-section {
  position: relative;
  z-index: 1;
}

/* Linee neon sempre dietro (hero + resto del sito) */
.hero .neon-line-1,
.hero .neon-line-2,
.hero .neon-line-3 {
  z-index: 0;
}

/* ── COOKIE POPUP ── */
.cookie-box {
  position: fixed;
  bottom: 20px; right: 20px;
  width: 320px;
  background: rgba(28,17,8,0.95);
  border: 1px solid var(--border-gold);
  border-radius: 14px;
  padding: 16px;
  z-index: 9999;
  backdrop-filter: blur(10px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.5);
}

.cookie-header { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.cookie-header p { margin-bottom: 0; }

.cookie-icon { width: 40px; height: 40px; object-fit: contain; flex-shrink: 0; }

.cookie-box p { font-size: 13px; color: var(--text-body); margin-bottom: 12px; line-height: 1.5; }

.cookie-buttons { display: flex; gap: 8px; justify-content: center; }

.cookie-box button {
  padding: 10px; font-size: 12px; font-weight: 700;
  border-radius: 10px; cursor: pointer; border: none;
}
.cookie-box button:first-child {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold-bright));
  color: var(--bg);
}
.cookie-box button:last-child {
  background: transparent;
  border: 1px solid var(--text-muted);
  color: var(--text-body);
}

#cookie-reopen {
  position: fixed;
  bottom: 20px; left: 20px;
  width: 55px; height: 55px;
  border-radius: 50%;
  background: var(--bg-2);
  border: 1px solid var(--border-gold);
  color: var(--gold-bright);
  font-size: 24px; cursor: pointer;
  z-index: 9998;
  display: flex;
  transition: bottom 0.3s ease, all 0.2s;
  align-items: center; justify-content: center;
}
#cookie-reopen:hover {
  border-color: var(--gold-bright);
  box-shadow: 0 0 20px rgba(212,160,23,0.5);
}

/* ── FADE IN SCROLL ── */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── FIX MOBILE (sotto 600px) ── */
@media (max-width: 600px) {
  .hero .neon-line-1 {
    right: 4%;
    box-shadow: 0 0 3px 1px var(--red), 0 0 10px 3px var(--red-glow);
  }
  .hero .neon-line-2 {
    right: calc(4% + 12px);
    box-shadow: 0 0 2px 1px var(--red-bright), 0 0 6px 2px var(--red-glow);
  }
  .hero .neon-line-3 {
    right: calc(4% - 12px);
    box-shadow: 0 0 2px 1px var(--red), 0 0 6px 2px var(--red-glow);
  }

  .neon-wrapper .neon-line-1 {
    right: 4%;
    box-shadow: 0 0 3px 1px var(--red), 0 0 10px 3px var(--red-glow);
  }
  .neon-wrapper .neon-line-2 {
    right: calc(4% + 12px);
    box-shadow: 0 0 2px 1px var(--red-bright), 0 0 6px 2px var(--red-glow);
  }
  .neon-wrapper .neon-line-3 {
    right: calc(4% - 12px);
    box-shadow: 0 0 2px 1px var(--red), 0 0 6px 2px var(--red-glow);
  }
}

/* ── RICHIESTA ACCOUNT ── */
.richiesta-section {
  padding: 100px 56px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

.richiesta-inner {
  max-width: 600px;
  margin: 0 auto;
}

@media (max-width: 600px) {
  .richiesta-section { padding: 60px 24px; }
}

/* ── DOVE SIAMO / MAPPA ── */
.map-section {
  padding: 80px 24px;
}

.map-inner {
  max-width: 900px;
  margin: 0 auto;
}

.map-icon-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.map-icon-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.map-icon-img { width: 58px; height: 58px; object-fit: contain; }

.map-embed {
  display: none;
  margin-top: 40px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(212, 160, 23, 0.2);
}

.map-embed.visibile {
  display: block;
}

/* ── WHATSAPP FLOTTANTE ── */
#whatsapp-float {
  position: fixed;
  bottom: 20px; right: 20px;
  width: 55px; height: 55px;
  border-radius: 50%;
  background: var(--bg-2);
  border: 1px solid var(--border-gold);
  cursor: pointer;
  z-index: 9998;
  display: flex;
  transition: bottom 0.3s ease, all 0.2s;
  align-items: center; justify-content: center;
  text-decoration: none;
}
#whatsapp-float:hover {
  border-color: var(--gold-bright);
  box-shadow: 0 0 20px rgba(212,160,23,0.5);
}

.whatsapp-icon {
  width: 46px; height: 46px; object-fit: contain;
}

/* ===== css/barra-navigazione.css ===== */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center;
  padding: 20px 56px;
  background: rgba(14,8,5,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  flex: 1;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo-img {
  height: 60px;
  width: auto;
  display: block;
}

.nav-links {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  color: var(--text-body);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--gold-bright); }

.nav-cta-wrapper {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
}

.nav-login {
  color: var(--text-body);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}

.nav-login:hover {
  color: var(--gold-bright);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--gold-bright);
  font-size: 24px;
  cursor: pointer;
  padding: 8px;
  z-index: 101;
}

@media (max-width: 1400px) {
  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    flex-direction: column;
    background: rgba(14,8,5,0.98);
    border-bottom: 1px solid var(--border);
    gap: 0;
    list-style: none;
    display: none;
    padding: 0;
  }
  .nav-links.active { display: flex; }
  .nav-links li { border-bottom: 1px solid var(--border); }
  .nav-links a { display: block; padding: 16px 24px; color: var(--text-body); }
  .nav-toggle { display: block; order: 3; }
  .nav-cta-wrapper { order: 2; }
}

@media (max-width: 600px) {
  nav { padding: 16px 24px; }
}

.nav-lingue {
  display: flex;
  gap: 6px;
  margin-right: 12px;
  position: relative;
}
.nav-lingua-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 2px solid transparent;
  border-radius: 7px;
  padding: 2px;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.nav-lingua-btn:hover {
  border-color: var(--gold);
}

.nav-lingua-btn-attiva {
  border-color: var(--gold);
}

.nav-lingua-bandiera {
  display: block;
  width: 26px;
  height: 19.5px;
  object-fit: contain;
  border-radius: 4px;
}

#dcListaLingueTop {
  display: none;
  position: absolute;
  right: -15px;
  top: calc(100% + 8px);
  z-index: 9999;
  min-width: max-content;
  background: rgba(14,8,5,0.98);
  border: 1px solid var(--border-gold);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,.45);
  overflow: hidden;
}
#dcListaLingueTop button {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 0;
  text-align: left;
  white-space: nowrap;
  padding: 8px 12px;
  background: transparent;
}
#dcListaLingueTop button:hover { background: rgba(212,160,23,0.14); }
#dcListaLingueTop img {
  width: 26px;
  height: auto;
  vertical-align: middle;
  border-radius: 3px;
}

@media (max-width: 768px) {
  .nav-lingue {
    margin-right: 6px;
    gap: 4px;
  }
  .nav-lingua-bandiera {
    width: 22px;
    height: 16.5px;
  }
  .nav-cta-wrapper { gap: 12px; }
}

/* ===== css/footer.css ===== */
footer {
  border-top: 1px solid var(--border);
  padding: 36px 56px;
  display: flex;
  align-items: center;
  width: 100%;
  color: var(--text-muted);
  font-size: 12px;
  background: var(--bg-2);
}

.footer-left { flex: 1; display: flex; align-items: center; }
.footer-center { flex: 1; display: flex; justify-content: center; }
.footer-right { flex: 1; display: flex; justify-content: flex-end; align-items: center; gap: 12px; }

footer a { color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
footer a:hover { color: var(--gold-bright); }

.social-icon {
  width: 28px;
  height: 28px;
}

@media (max-width: 600px) {
  footer { padding: 28px 24px; flex-direction: column; gap: 14px; text-align: center; }
}

/* ===== css/modale-richiesta-account.css ===== */
.modale-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modale-box {
  background: var(--bg-2);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 40px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.modale-chiudi {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 20px;
  cursor: pointer;
}

.modale-box h2 {
  font-family: 'Playfair Display', serif;
  color: var(--white);
  font-size: 24px;
  margin-bottom: 8px;
}

.modale-sub {
  color: var(--text-body);
  font-size: 14px;
  margin-bottom: 24px;
}

.modale-sezione-titolo {
  color: var(--gold-bright);
  font-size: 15px;
  font-weight: 700;
  margin-top: 28px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 8px;
}

.modale-field {
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.modale-field label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-body);
}

.modale-field input,
.modale-field textarea {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--white);
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  outline: none;
}
.modale-field input:focus,
.modale-field textarea:focus { border-color: var(--gold); }

.modale-checkbox-field {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.modale-checkbox-field label {
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
}

.modale-invia-btn {
  width: 100%;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  margin-top: 20px;
}

.modale-successo {
  color: #4ade80;
  font-size: 13px;
  margin-top: 12px;
  text-align: center;
}

.modale-errore {
  color: var(--red-bright);
  font-size: 13px;
  margin-top: 12px;
  text-align: center;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

/* ===== correzioni consolidamento ===== */
body.modal-open { overflow: hidden; }

/* Login */
.login-modal {
  position: fixed; inset: 0; z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.login-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.72); }
.login-box {
  position: relative; z-index: 1; width: min(440px, 100%);
  background: var(--bg-2); border: 1px solid var(--border-gold);
  border-radius: var(--radius); padding: 38px;
  box-shadow: 0 28px 70px rgba(0,0,0,.65);
}
.login-close {
  position: absolute; top: 16px; right: 18px; border: 0;
  background: transparent; color: var(--text-muted); cursor: pointer;
  font-size: 18px;
}
.login-close:hover { color: var(--white); }
.login-header { text-align: center; margin-bottom: 24px; }
.login-logo { width: 70px; height: 70px; object-fit: contain; margin-bottom: 10px; }
.login-header h3 { font-family: 'Playfair Display', Georgia, serif; font-size: 24px; color: var(--white); margin-bottom: 6px; }
.login-header p { font-size: 13px; color: var(--text-body); }
.login-form { display: flex; flex-direction: column; gap: 15px; }
.login-field { display: flex; flex-direction: column; gap: 6px; }
.login-field label { font-size: 12px; font-weight: 600; color: var(--text-body); }
.login-field input {
  background: var(--bg-3); border: 1px solid var(--border); border-radius: 8px;
  padding: 12px 14px; color: var(--white); font-size: 14px;
  font-family: inherit; outline: none;
}
.login-field input:focus { border-color: var(--gold); }
.login-submit { width: 100%; border: 0; cursor: pointer; margin-top: 5px; }
.login-error { color: var(--red-bright); font-size: 13px; }
.login-footer { color: var(--text-muted); font-size: 12px; margin-top: 18px; text-align: center; }

/* Migliorie necessarie al file unico */
nav .nav-toggle[aria-expanded="true"] { color: var(--white); }
button, input, textarea { font: inherit; }
@media (max-width: 600px) { .login-box, .modale-box { padding: 30px 22px; } }

/* ── GALLERIA LOCALE (slideshow) ── */
.locale-photo-card {
  border-radius: 18px;
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.6), 0 0 30px rgba(212,160,23,0.06);
  width: 100%;
  height: 529px;
  position: relative;
}

.locale-photo-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  position: absolute;
  top: 0; left: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.locale-photo-img.attiva {
  opacity: 1;
}

.ai-disclosure {
  text-align: center;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 12px;
}

@media (max-width: 600px) {
  .locale-photo-card { max-width: 100%; }
}

.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 9999;
  background: #1a1008;
  border-top: 1px solid rgba(212,160,23,0.35);
  padding: 20px;
  animation: dcCookieSlideUp .4s ease-out;
}
@keyframes dcCookieSlideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-consent-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
}
.cookie-consent-testo {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex: 1 1 420px;
}
.cookie-consent-testo .cookie-icon {
  width: 28px; height: 28px; flex-shrink: 0; margin-top: 2px;
}
.cookie-consent-testo p {
  color: #f4ead9;
  font-size: 0.92em;
  line-height: 1.5;
  margin: 0;
}
.cookie-consent-azioni {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-btn-personalizza, .cookie-btn-rifiuta {
  background: transparent;
  border: 1px solid rgba(212,160,23,0.5);
  color: #f4ead9;
  padding: 10px 18px;
  border-radius: 6px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 0.9em;
  transition: border-color .2s, background .2s;
}
.cookie-btn-personalizza:hover, .cookie-btn-rifiuta:hover {
  border-color: #d4a017;
  background: rgba(212,160,23,0.08);
}
.cookie-consent-azioni .btn-gold,
.cookie-preferenze-azioni .btn-gold {
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  padding: 10px 20px;
}
.cookie-preferenze-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(10,6,3,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.cookie-preferenze-box {
  background: #1f140a;
  border: 1px solid rgba(212,160,23,0.3);
  border-radius: 12px;
  max-width: 560px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 32px;
  position: relative;
  color: #f4ead9;
}
.cookie-preferenze-box h2 { margin-top: 0; }
.cookie-categoria {
  border-top: 1px solid rgba(212,160,23,0.2);
  padding: 16px 0;
}
.cookie-categoria-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.cookie-categoria-header h4 { margin: 0; color: #d4a017; }
.cookie-categoria p {
  margin: 8px 0 0;
  font-size: 0.88em;
  line-height: 1.5;
  opacity: 0.85;
}
.cookie-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}
.cookie-switch input { opacity: 0; width: 0; height: 0; }
.cookie-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: rgba(255,255,255,0.15);
  border-radius: 24px;
  transition: .2s;
}
.cookie-slider:before {
  position: absolute;
  content: "";
  height: 18px; width: 18px;
  left: 3px; bottom: 3px;
  background-color: #f4ead9;
  border-radius: 50%;
  transition: .2s;
}
.cookie-switch input:checked + .cookie-slider { background-color: #d4a017; }
.cookie-switch input:checked + .cookie-slider:before { transform: translateX(20px); }
.cookie-switch-disabled .cookie-slider { cursor: not-allowed; opacity: 0.6; }
.cookie-preferenze-azioni {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 20px;
  border-top: 1px solid rgba(212,160,23,0.2);
  padding-top: 20px;
}
@media (max-width: 640px) {
  .cookie-consent-inner { flex-direction: column; align-items: stretch; gap: 16px; }
  .cookie-consent-testo { flex: 0 0 auto; }
  .cookie-consent-azioni { justify-content: stretch; }
  .cookie-consent-azioni button { flex: 1; }
}