/* ═══════════════════════════════════════════════════════════════
   LA NONNA DI LUIGI E NELLA — Premium Restaurant CSS
   Inspired by Magic UI blur-fade, shimmer-button & shiny-text patterns
   ═══════════════════════════════════════════════════════════════ */

/* ── RESET ─────────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: 'Lato', sans-serif;
  background-color: #241C12;
  color: rgba(255, 248, 240, 0.82);
  line-height: 1.75;
  overflow-x: hidden;
}
img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── DESIGN TOKENS ──────────────────────────────────────────────── */
:root {
  --bg:           #241C12;
  --bg-alt:       #1C1508;
  --gold:         #C8973A;
  --gold-hover:   #B8872A;
  --gold-light:   #E8B85A;
  --cream:        #FFF8F0;
  --text:         rgba(255, 248, 240, 0.82);
  --text-muted:   rgba(255, 248, 240, 0.45);
  --border:       rgba(200, 151, 58, 0.18);
  --border-hover: rgba(200, 151, 58, 0.45);
  --ease-spring:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out:     cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── TYPOGRAPHY ─────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--cream);
  line-height: 1.15;
  font-weight: 500;
}
h2 { font-size: clamp(2.2rem, 4vw, 3.2rem); }

.section-label {
  display: inline-block;
  font-family: 'Lato', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ── Magic UI: Animated Shiny Text ───────────────────────────────
   Adapts the shiny-text shimmer pattern for section labels        */
.shiny-label {
  background: linear-gradient(
    110deg,
    var(--gold) 0%,
    var(--gold) 30%,
    var(--gold-light) 47%,
    #fff8e7 50%,
    var(--gold-light) 53%,
    var(--gold) 70%,
    var(--gold) 100%
  );
  background-size: 300% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine-sweep 5s linear infinite;
}
@keyframes shine-sweep {
  0%   { background-position: 0% center; }
  100% { background-position: 300% center; }
}

.gold-divider {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin: 0.6rem 0 1.2rem;
}
.gold-divider::before,
.gold-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.5;
}

/* ── LAYOUT ─────────────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
section { padding: 7rem 0; }

/* ── BUTTONS ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2.2rem;
  font-family: 'Lato', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 3px;
  cursor: pointer;
  border: none;
  transition: transform 0.25s var(--ease-spring),
              box-shadow 0.25s var(--ease-spring),
              background 0.2s ease;
}
.btn:hover {
  transform: translateY(-2px) scale(1.02);
}

.btn-primary {
  background: var(--gold);
  color: #1A1209;
}
.btn-primary:hover {
  background: var(--gold-hover);
  box-shadow: 0 8px 32px rgba(200, 151, 58, 0.35);
}

.btn-outline {
  background: transparent;
  color: rgba(255, 248, 240, 0.9);
  border: 1.5px solid rgba(255, 248, 240, 0.45);
}
.btn-outline:hover {
  border-color: rgba(255, 248, 240, 0.8);
  background: rgba(255, 248, 240, 0.07);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* ── Magic UI: Shimmer Button ────────────────────────────────────
   CTA primary button with travelling shimmer sweep               */
.btn-shimmer {
  position: relative;
  overflow: hidden;
  background: var(--gold);
  color: #1A1209;
  z-index: 0;
}
.btn-shimmer::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgba(255, 255, 255, 0.38) 50%,
    transparent 65%
  );
  background-size: 200% 100%;
  animation: shimmer-sweep 3.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes shimmer-sweep {
  0%   { background-position: -200% center; }
  60%  { background-position: 200% center; }
  100% { background-position: 200% center; }
}
.btn-shimmer:hover {
  background: var(--gold-hover);
  box-shadow: 0 8px 32px rgba(200, 151, 58, 0.45);
}

/* ═══════════════════════════════════════════════════════════════
   GLOVO BANNER
   ═══════════════════════════════════════════════════════════════ */
#glovo-banner {
  background: var(--gold);
  color: #1A1209;
  padding: 0.6rem 2rem;
  text-align: center;
  animation: slide-down 0.6s var(--ease-out) 0.2s both;
  position: relative;
  z-index: 200;
}
@keyframes slide-down {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}
.glovo-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  font-size: 0.85rem;
  font-weight: 400;
  flex-wrap: wrap;
}
.glovo-inner strong { font-weight: 700; }
.glovo-icon { font-size: 1rem; }
.glovo-btn {
  background: #180F06;
  color: var(--cream);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 100px;
  transition: background 0.2s ease, transform 0.2s var(--ease-spring);
}
.glovo-btn:hover {
  background: #2A2010;
  transform: translateY(-1px);
}

/* ═══════════════════════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════════════════════ */
#navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  transition: background 0.4s ease,
              backdrop-filter 0.4s ease,
              border-color 0.4s ease,
              box-shadow 0.4s ease;
}
#navbar.scrolled {
  background: rgba(26, 18, 9, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: rgba(200, 151, 58, 0.12);
  box-shadow: 0 1px 40px rgba(0, 0, 0, 0.6);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  padding: 0 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  letter-spacing: 0.02em;
}
.nav-logo span {
  display: block;
  font-family: 'Lato', sans-serif;
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 0.2rem;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  position: relative;
  padding-bottom: 2px;
  transition: color 0.25s ease;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease-spring);
}
.nav-links a:hover {
  color: var(--gold);
}
.nav-links a:hover::after { width: 100%; }
.nav-cta { margin-left: 1rem; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--cream);
  transition: all 0.3s var(--ease-spring);
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ═══════════════════════════════════════════════════════════════
   MOBILE MENU
   ═══════════════════════════════════════════════════════════════ */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 300;
  display: flex;
  flex-direction: column;
  padding: 4rem 2.5rem 3rem;
  gap: 0;
  transform: translateX(100%);
  transition: transform 0.45s var(--ease-spring);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.3rem;
  cursor: pointer;
  padding: 0.5rem;
  line-height: 1;
  transition: color 0.2s;
}
.mobile-close:hover { color: var(--cream); }
.mobile-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 2.5rem;
  font-weight: 500;
}
.mobile-logo em { font-style: italic; font-weight: 300; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 2.5rem;
  flex: 1;
}
.mobile-nav a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-style: italic;
  color: rgba(255, 248, 240, 0.7);
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s ease, padding-left 0.3s var(--ease-spring);
}
.mobile-nav a:hover {
  color: var(--gold);
  padding-left: 0.5rem;
}

/* ═══════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════ */
#hero {
  position: relative;
  min-height: 95vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  will-change: transform;
}
.hero-bg img {
  object-position: center 60%;
  transform: scale(1.08);
  transition: transform 0.1s linear;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26, 18, 9, 0.55) 0%,
    rgba(26, 18, 9, 0.62) 50%,
    rgba(26, 18, 9, 0.85) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 860px;
  padding: 0 2rem;
}
.hero-label {
  font-family: 'Lato', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.6rem;
  display: block;
  opacity: 0;
  animation: fade-in-up 0.7s var(--ease-spring) 0.1s forwards;
}
.hero-label em {
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  font-weight: 400;
}
.hero-title {
  font-size: clamp(2.8rem, 6.5vw, 5rem);
  font-weight: 400;
  color: var(--cream);
  line-height: 1.08;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}
.hero-line { display: block; }
.hero-line-em { font-style: italic; font-weight: 300; }

/* Hero word animation — each word is a span.hero-word */
.hero-word {
  display: inline-block;
  opacity: 0;
  filter: blur(8px);
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease-spring),
              filter 0.7s var(--ease-spring),
              transform 0.7s var(--ease-spring);
}
.hero-word.visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}
.hero-sub {
  font-size: 1.05rem;
  color: rgba(255, 248, 240, 0.7);
  font-weight: 300;
  max-width: 520px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s var(--ease-spring), transform 0.7s var(--ease-spring);
}
.hero-sub.visible {
  opacity: 1;
  transform: translateY(0);
}
.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s var(--ease-spring), transform 0.7s var(--ease-spring);
}
.hero-btns.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Reviews strip — social proof below CTA */
.hero-reviews {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 2rem;
  font-size: 0.78rem;
  color: rgba(255, 248, 240, 0.55);
  opacity: 0;
  transition: opacity 0.7s var(--ease-spring);
}
.hero-reviews.visible { opacity: 1; }
.hero-reviews-stars {
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
}
.hero-reviews-score {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--cream);
}
.hero-reviews-sep { opacity: 0.4; }
.hero-reviews-count { font-weight: 300; }
.hero-reviews-platforms {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.platform-tag {
  padding: 0.12rem 0.55rem;
  border: 1px solid rgba(200, 151, 58, 0.28);
  border-radius: 3px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(200, 151, 58, 0.75);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255, 248, 240, 0.4);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0;
  animation: fade-in-up 0.8s var(--ease-spring) 2.5s forwards;
}
.scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, rgba(255,248,240,0.4), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%, 100% { opacity: 0.4; transform: scaleY(0.6); transform-origin: top; }
  50%       { opacity: 1;   transform: scaleY(1);   transform-origin: top; }
}
@keyframes fade-in-up {
  from { opacity: 0; transform: translateX(-50%) translateY(8px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ═══════════════════════════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
   Inspired by Magic UI blur-fade component pattern
   ═══════════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  filter: blur(6px);
  transform: translateY(28px);
  transition:
    opacity   0.75s var(--ease-spring),
    filter    0.75s var(--ease-spring),
    transform 0.75s var(--ease-spring);
}
.reveal.visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}
.reveal-from-left {
  transform: translateX(-48px) translateY(0);
  filter: blur(6px);
  opacity: 0;
}
.reveal-from-left.visible {
  transform: translateX(0);
  filter: blur(0);
  opacity: 1;
}
.reveal-from-right {
  transform: translateX(48px) translateY(0);
  filter: blur(6px);
  opacity: 0;
}
.reveal-from-right.visible {
  transform: translateX(0);
  filter: blur(0);
  opacity: 1;
}

/* ═══════════════════════════════════════════════════════════════
   HISTORIA
   ═══════════════════════════════════════════════════════════════ */
#historia {
  background: var(--bg);
  overflow: hidden;
}
.historia-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
.historia-image {
  position: relative;
  height: 560px;
  border-radius: 2px;
  overflow: visible;
}
.historia-image img {
  border-radius: 2px;
}
/* Decorative corner frame — architectural detail */
.historia-frame {
  position: absolute;
  inset: -14px -14px auto auto;
  width: 55%;
  height: 55%;
  border-top: 1.5px solid var(--gold);
  border-right: 1.5px solid var(--gold);
  opacity: 0.35;
  pointer-events: none;
  border-radius: 1px;
}
.historia-text .section-label { margin-bottom: 0.2rem; }
.historia-text h2 {
  margin-bottom: 1.6rem;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
}
.historia-text p {
  color: var(--text);
  font-size: 0.97rem;
  margin-bottom: 1.3rem;
  font-weight: 300;
  line-height: 1.85;
}
.historia-stats {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.stat-item {
  flex: 1;
  text-align: center;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}
.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.6rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}
.stat-plus {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--gold);
}
.stat-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════
   LA CARTA
   ═══════════════════════════════════════════════════════════════ */
#carta {
  background: var(--bg-alt);
}
.carta-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.carta-header h2 { margin-bottom: 0.5rem; }
.carta-tagline {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  margin-top: 0.5rem;
}

/* Tabs */
.carta-tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}
.tab-btn {
  padding: 0.8rem 2rem;
  font-family: 'Lato', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  color: var(--text-muted);
  transition: color 0.25s ease, border-color 0.25s ease;
}
.tab-btn:hover { color: rgba(255, 248, 240, 0.7); }
.tab-btn.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* Tab panels */
.tab-panel {
  display: none;
  animation: tab-fade-in 0.4s var(--ease-out) both;
}
.tab-panel.active { display: block; }
@keyframes tab-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Menu items */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0.9rem 1.2rem;
  border-bottom: 1px solid rgba(200, 151, 58, 0.1);
  gap: 1.2rem;
  transition: background 0.2s ease;
}
.menu-item:hover {
  background: rgba(200, 151, 58, 0.04);
}
.menu-item:nth-child(odd) {
  border-right: 1px solid rgba(200, 151, 58, 0.1);
}
.menu-item-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  flex: 1;
  min-width: 0;
}
.menu-item-name {
  font-size: 0.88rem;
  color: rgba(255, 248, 240, 0.85);
  font-weight: 400;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.3rem;
  line-height: 1.4;
}
.menu-item-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 300;
  font-style: italic;
  line-height: 1.45;
}
.menu-item-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--gold);
  white-space: nowrap;
  flex-shrink: 0;
}
.delivery-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #E07830;
  background: rgba(224, 120, 48, 0.1);
  border: 1px solid rgba(224, 120, 48, 0.2);
  border-radius: 2px;
  padding: 0.1rem 0.4rem;
  white-space: nowrap;
}
.carta-note {
  text-align: center;
  margin-top: 2.5rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-style: italic;
  font-weight: 300;
  letter-spacing: 0.03em;
}
.nota-glovo { color: var(--gold); }

/* Stagger animation for menu items */
.menu-item {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s var(--ease-spring),
              background 0.2s ease;
}
.tab-panel.active .menu-item {
  opacity: 1;
  transform: translateY(0);
}
.tab-panel.active .menu-item:nth-child(1)  { transition-delay: 0ms; }
.tab-panel.active .menu-item:nth-child(2)  { transition-delay: 25ms; }
.tab-panel.active .menu-item:nth-child(3)  { transition-delay: 50ms; }
.tab-panel.active .menu-item:nth-child(4)  { transition-delay: 75ms; }
.tab-panel.active .menu-item:nth-child(5)  { transition-delay: 100ms; }
.tab-panel.active .menu-item:nth-child(6)  { transition-delay: 125ms; }
.tab-panel.active .menu-item:nth-child(7)  { transition-delay: 150ms; }
.tab-panel.active .menu-item:nth-child(8)  { transition-delay: 175ms; }
.tab-panel.active .menu-item:nth-child(9)  { transition-delay: 200ms; }
.tab-panel.active .menu-item:nth-child(10) { transition-delay: 225ms; }
.tab-panel.active .menu-item:nth-child(n+11) { transition-delay: 250ms; }

/* ═══════════════════════════════════════════════════════════════
   GALERÍA
   ═══════════════════════════════════════════════════════════════ */
#galeria {
  background: var(--bg);
}
.galeria-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.galeria-header h2 { margin-bottom: 0; }

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 260px 260px;
  gap: 10px;
}
.galeria-item {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  cursor: pointer;
}
.galeria-item.large {
  grid-column: span 2;
}
.galeria-item img {
  transition: transform 0.7s var(--ease-spring);
}
.galeria-item:hover img {
  transform: scale(1.07);
}
/* Gallery overlay */
.galeria-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(26, 18, 9, 0.88) 0%,
    rgba(26, 18, 9, 0.3) 50%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: flex-end;
  padding: 1.4rem 1.4rem;
}
.galeria-item:hover .galeria-overlay {
  opacity: 1;
}
.galeria-overlay span {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-style: italic;
  font-weight: 400;
  color: var(--cream);
  transform: translateY(6px);
  transition: transform 0.35s var(--ease-spring);
}
.galeria-item:hover .galeria-overlay span {
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════════
   RESERVAS
   ═══════════════════════════════════════════════════════════════ */
#reservas {
  background: var(--bg-alt);
}
.reservas-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 6rem;
  align-items: start;
}
.reservas-form h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}
.reservas-intro {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 300;
  margin-bottom: 2.2rem;
  line-height: 1.7;
}

/* Form */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.45rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--cream);
  background: rgba(255, 248, 240, 0.04);
  border: 1px solid var(--border);
  border-radius: 2px;
  outline: none;
  transition: border-color 0.25s ease, background 0.25s ease;
  appearance: none;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C8973A' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.form-group select option {
  background: #241C12;
  color: var(--cream);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 248, 240, 0.25);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: rgba(200, 151, 58, 0.05);
}
.form-group textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.6;
}
.form-submit {
  width: 100%;
  font-size: 0.85rem;
  padding: 1rem;
  margin-top: 0.5rem;
  letter-spacing: 0.12em;
}
/* Success state */
.form-submit.success {
  background: #3A6B3A;
  cursor: default;
  transform: none !important;
  box-shadow: none !important;
}
.form-submit.success::after { display: none; }

/* Aside */
.reservas-aside {
  padding-top: 4rem;
}
.reservas-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.65rem;
  font-style: italic;
  font-weight: 300;
  color: var(--cream);
  line-height: 1.5;
  position: relative;
  padding-left: 0;
  margin-bottom: 2rem;
  quotes: '\201C' '\201D';
}
.reservas-quote::before {
  content: '\201C';
  font-size: 5rem;
  line-height: 0;
  vertical-align: -0.5em;
  color: var(--gold);
  opacity: 0.25;
  font-family: 'Cormorant Garamond', serif;
  margin-right: 0.1em;
}
.gold-line {
  width: 44px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 1.75rem 0;
  opacity: 0.7;
}
.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.contact-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.contact-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  color: var(--gold);
  font-weight: 500;
  transition: color 0.2s;
}
.contact-value:hover { color: var(--gold-light); }

/* ═══════════════════════════════════════════════════════════════
   HORARIOS Y UBICACIÓN
   ═══════════════════════════════════════════════════════════════ */
#horarios {
  background: var(--bg);
}
.horarios-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: start;
}
.horarios-info h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 0.75rem;
}
.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.75rem 0 2.5rem;
}
.hours-table tr {
  border-bottom: 1px solid var(--border);
}
.hours-table td {
  padding: 0.9rem 0;
  font-size: 0.875rem;
  font-weight: 300;
}
.hours-table td:first-child {
  color: rgba(255, 248, 240, 0.75);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  width: 42%;
}
.hours-table td:last-child { color: var(--text-muted); }
.hours-table .closed { color: var(--gold); font-weight: 400; }

.contact-block {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}
.contact-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: rgba(200, 151, 58, 0.08);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  margin-top: 0.1rem;
}
.contact-item-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.contact-item-text > span {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.contact-item-text a,
.contact-item-text p {
  font-size: 0.9rem;
  color: rgba(255, 248, 240, 0.8);
  font-weight: 300;
  line-height: 1.6;
}
.contact-item-text a:hover { color: var(--gold); }
.metro-pills {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin-top: 0.45rem;
}
.metro-pill {
  padding: 0.22rem 0.75rem;
  background: rgba(200, 151, 58, 0.1);
  border: 1px solid rgba(200, 151, 58, 0.2);
  color: rgba(255, 248, 240, 0.65);
  font-size: 0.7rem;
  font-weight: 400;
  border-radius: 100px;
  letter-spacing: 0.02em;
}

/* Map */
.map-container {
  border-radius: 2px;
  overflow: hidden;
  height: 460px;
  border: 1px solid var(--border);
}
.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(20%) contrast(1.05);
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
#footer {
  background: #160D05;
  color: rgba(255, 248, 240, 0.55);
  padding: 5rem 0 0;
  border-top: 1px solid rgba(200, 151, 58, 0.12);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
}
.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 1.2rem;
  line-height: 1;
}
.footer-logo span {
  display: block;
  font-family: 'Lato', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 0.3rem;
  font-weight: 400;
}
.footer-col p {
  font-size: 0.85rem;
  line-height: 1.85;
  font-weight: 300;
}
.footer-address { margin-top: 1.25rem; }
.footer-col a {
  color: rgba(255, 248, 240, 0.55);
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--gold); }
.footer-col h4 {
  font-family: 'Lato', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 248, 240, 0.35);
  margin-bottom: 1.4rem;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.footer-links li a,
.footer-links li {
  font-size: 0.875rem;
  font-weight: 300;
  position: relative;
  display: inline-block;
}
/* Animated underline on footer links */
.footer-links li a {
  padding-bottom: 1px;
}
.footer-links li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease-spring);
}
.footer-links li a:hover::after { width: 100%; }

.footer-payments {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  margin-top: 1.75rem;
}
.payment-badge {
  padding: 0.18rem 0.6rem;
  background: rgba(255, 248, 240, 0.05);
  border: 1px solid rgba(255, 248, 240, 0.08);
  border-radius: 2px;
  font-size: 0.65rem;
  color: rgba(255, 248, 240, 0.35);
  letter-spacing: 0.04em;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 248, 240, 0.06);
  padding: 1.25rem 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: rgba(255, 248, 240, 0.28);
  letter-spacing: 0.04em;
}
.footer-bottom-inner a {
  color: rgba(200, 151, 58, 0.7);
}
.footer-bottom-inner a:hover { color: var(--gold); }

/* ═══════════════════════════════════════════════════════════════
   SCROLL PROGRESS BAR
   ═══════════════════════════════════════════════════════════════ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  width: 0%;
  z-index: 500;
  transition: width 0.1s linear;
  box-shadow: 0 0 8px rgba(200, 151, 58, 0.5);
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .historia-grid { gap: 4rem; }
  .reservas-grid { gap: 4rem; }
  .horarios-grid { gap: 3.5rem; }
}

@media (max-width: 860px) {
  section { padding: 5rem 0; }
  .historia-grid,
  .reservas-grid,
  .horarios-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .historia-image { height: 340px; order: -1; }
  .historia-stats { gap: 0; }
  .reservas-aside { padding-top: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .menu-grid { grid-template-columns: 1fr; }
  .menu-item:nth-child(odd) { border-right: none; }
  .galeria-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 220px;
  }
  .galeria-item.large { grid-column: span 2; }
  .reveal-from-left,
  .reveal-from-right { transform: translateY(28px) translateX(0); }
  .reveal-from-left.visible,
  .reveal-from-right.visible { transform: translateY(0); }
}

@media (max-width: 640px) {
  section { padding: 4rem 0; }
  .container { padding: 0 1.25rem; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero-title { font-size: 2.4rem; }
  .hero-sub br.br-desktop { display: none; }
  .hero-btns { flex-direction: column; align-items: center; }
  .hero-btns .btn { width: 100%; max-width: 280px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-col:last-child { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .tab-btn { padding: 0.75rem 1.1rem; font-size: 0.72rem; }
  .footer-bottom-inner { flex-direction: column; gap: 0.4rem; text-align: center; }
  .galeria-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }
  .galeria-item, .galeria-item.large { grid-column: span 1; height: 220px; }
  .historia-stats { flex-direction: column; gap: 1.5rem; }
  .stat-divider { width: 44px; height: 1px; }
}
