/* ═══════════════════════════════════════════════════════════════
   Las Cazuelitas El Cotillo — Premium Website
   Archetype 01: Editorial Light Cream (adapted with Burgundy)
   ═══════════════════════════════════════════════════════════════ */

/* ── Tokens ─────────────────────────────────────────────────── */
:root {
  --bg:         #F5EDD8;
  --bg-2:       #EDE0C4;
  --bg-dark:    #2a1f14;
  --paper:      #FFFDF8;
  --ink:        #1a1209;
  --ink-soft:   #3d2e1e;
  --ink-mute:   #7a6650;
  --accent:     #8B1A2F;
  --accent-2:   #a82035;
  --green:      #4A7C59;
  --gold:       #C49A5B;
  --line:       rgba(26,18,9,0.12);

  --nav-h:      72px;
  --r:          12px;
  --r-lg:       20px;

  --ease-out:   cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --font-display: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  --section-pad: clamp(5rem, 10vw, 9rem);
  --wrap:        1200px;
  --gutter:      clamp(1.25rem, 4vw, 2.5rem);
}

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

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(0.9375rem, 1.1vw, 1.0625rem);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body.menu-open { overflow: hidden; }

img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── Reveal ─────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.reveal[data-split] { opacity: 1; transform: none; }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), background 0.25s, color 0.25s;
  white-space: nowrap;
}
@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); }
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 20px rgba(139,26,47,0.3);
}
@media (hover: hover) {
  .btn-primary:hover {
    background: var(--accent-2);
    box-shadow: 0 8px 28px rgba(139,26,47,0.4);
  }
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.55);
}
@media (hover: hover) {
  .btn-ghost:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.85);
  }
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}
@media (hover: hover) {
  .btn-outline:hover {
    background: var(--accent);
    color: #fff;
  }
}

.btn-white {
  background: #fff;
  color: var(--accent);
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}
@media (hover: hover) {
  .btn-white:hover {
    background: var(--bg);
    box-shadow: 0 8px 28px rgba(0,0,0,0.18);
  }
}

.btn-full { width: 100%; justify-content: center; }

/* ── Section kicker ─────────────────────────────────────────── */
.section-kicker {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 1rem;
}

/* ═══════════════════════════════════════════════════ SPLASH */
.splash {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  animation: splashSafety .01s 4.5s forwards;
}
.splash.is-out {
  opacity: 0;
  transform: translateY(-20px);
  pointer-events: none;
}
@keyframes splashSafety {
  to { opacity: 0; pointer-events: none; transform: translateY(-20px); }
}

.splash-logo { width: min(240px, 70vw); }
.splash-svg { width: 100%; }

.splash-line {
  width: 1px;
  height: 0;
  background: var(--accent);
  margin-top: 2rem;
  animation: splashLineGrow 0.8s 0.3s var(--ease-out) forwards;
}
@keyframes splashLineGrow {
  to { height: 60px; }
}

/* ═══════════════════════════════════════════════════ NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
  height: var(--nav-h);
  transition: background 0.4s, box-shadow 0.4s, backdrop-filter 0.4s;
}
.nav.scrolled {
  background: rgba(245,237,216,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--line);
}
.nav.hero-zone { color: #fff; }
.nav.hero-zone .nav-logo-svg { color: #fff; }

.nav-logo-svg {
  width: 120px;
  height: 52px;
  color: var(--accent);
  transition: color 0.4s;
  flex-shrink: 0;
}
.nav.hero-zone .nav-logo-svg { color: #fff; }
.nav.scrolled .nav-logo-svg { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  position: relative;
  letter-spacing: 0.02em;
  transition: color 0.25s;
}
.nav-link::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -3px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}
@media (hover: hover) {
  .nav-link:hover::after { transform: scaleX(1); }
}
.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.8125rem;
  transition: background 0.25s, transform 0.25s;
}
.nav-cta::after { display: none; }
@media (hover: hover) {
  .nav-cta:hover { background: var(--accent-2); transform: translateY(-1px); }
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-hamburger span {
  display: block; width: 24px; height: 1.5px;
  background: currentColor;
  transition: transform 0.3s, opacity 0.3s;
}

/* Mobile nav */
.nav-mobile {
  position: fixed; top: 0; right: 0;
  width: min(360px, 85vw);
  height: 100vh;
  background: var(--paper);
  z-index: 950;
  padding: 5rem var(--gutter) 3rem;
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.45s var(--ease-out);
  box-shadow: -4px 0 40px rgba(0,0,0,0.12);
}
.nav-mobile.is-open { transform: none; }

.nav-mobile-close {
  position: absolute; top: 1.25rem; right: 1.25rem;
  font-size: 1.25rem; color: var(--ink-mute);
  padding: 0.5rem;
}

.nav-mobile-links {
  display: flex; flex-direction: column; gap: 0;
  flex: 1;
}
.nav-mobile-link {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 6vw, 2.5rem);
  font-style: italic;
  font-weight: 600;
  color: var(--ink);
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line);
  transition: color 0.2s, padding-left 0.3s;
}
@media (hover: hover) {
  .nav-mobile-link:hover { color: var(--accent); padding-left: 0.5rem; }
}

.nav-mobile-foot {
  font-size: 0.8125rem;
  color: var(--ink-mute);
  line-height: 1.6;
}

.nav-overlay {
  position: fixed; inset: 0; z-index: 940;
  background: rgba(26,18,9,0.5);
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s;
}
.nav-overlay.is-active { opacity: 1; pointer-events: auto; }

/* ═══════════════════════════════════════════════════ HERO */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.hero-img-wrap {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero-img {
  transform: scale(1.06);
  transition: transform 8s ease-out;
  will-change: transform;
}
.hero-img.is-zoomed { transform: scale(1); }

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26,12,6,0.72) 0%,
    rgba(26,12,6,0.45) 50%,
    rgba(26,12,6,0.62) 100%
  );
}

.hero-grain {
  position: absolute; inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.hero-content {
  position: relative; z-index: 2;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: calc(var(--nav-h) + 4rem) var(--gutter) 6rem;
  width: 100%;
}

.hero-kicker {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7.5vw, 6.5rem);
  font-weight: 600;
  line-height: 1.0;
  text-wrap: balance;
  max-width: 14ch;
  margin-bottom: 1.5rem;
}
.hero-title-em {
  font-style: italic;
  display: block;
  color: #fff;
}
.hero-title-line {
  display: block;
  font-style: normal;
  color: rgba(255,255,255,0.88);
}

.hero-sub {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: rgba(255,255,255,0.78);
  max-width: 52ch;
  line-height: 1.65;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 2;
  color: rgba(255,255,255,0.55);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.55), transparent);
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: scaleY(1) translateY(0); }
  50% { transform: scaleY(1.3) translateY(4px); }
}

/* ═══════════════════════════════════════════════════ TICKER */
.ticker {
  background: var(--accent);
  color: #fff;
  overflow: hidden;
  padding: 0.85rem 0;
  position: relative;
}
.ticker-track {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  white-space: nowrap;
  animation: tickerScroll 30s linear infinite;
  width: max-content;
}
.ticker-track span {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  flex-shrink: 0;
}
.ticker-dot {
  opacity: 0.6;
  font-size: 0.5rem !important;
}
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════════════════ NOSOTROS */
.nosotros {
  padding: var(--section-pad) var(--gutter);
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin: 0 auto;
}
.nosotros-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

.nosotros-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 600;
  line-height: 1.12;
  margin-bottom: 1.5rem;
  text-wrap: balance;
}
.nosotros-title em {
  font-style: italic;
  color: var(--accent);
}

.nosotros-body {
  color: var(--ink-soft);
  line-height: 1.75;
  margin-bottom: 1rem;
  max-width: 52ch;
}

.nosotros-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2.5rem 0;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat { text-align: left; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
  display: block;
}
.stat-pct {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--accent);
}
.stat-label {
  font-size: 0.75rem;
  color: var(--ink-mute);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 0.35rem;
  display: block;
}

.nosotros-img-col { position: relative; }
.nosotros-img-wrap {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(26,18,9,0.18);
}
.nosotros-img-wrap img {
  transition: transform 0.7s var(--ease-out);
}
@media (hover: hover) {
  .nosotros-img-wrap:hover img { transform: scale(1.04); }
}

.nosotros-img-badge {
  position: absolute;
  bottom: -1.5rem; right: -1.5rem;
  width: 110px; height: 110px;
  background: var(--paper);
  border-radius: 50%;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  display: flex; align-items: center; justify-content: center;
  padding: 8px;
  animation: badgeSpin 20s linear infinite;
}
@keyframes badgeSpin {
  to { transform: rotate(360deg); }
}
.nosotros-img-badge > svg { width: 100%; height: 100%; }

/* ═══════════════════════════════════════════════════ MENÚ */
.menu {
  background: var(--bg-2);
  padding: var(--section-pad) var(--gutter);
}
.menu-header {
  max-width: var(--wrap);
  margin: 0 auto 4rem;
  text-align: center;
}
.menu-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 600;
  line-height: 1.12;
  margin-bottom: 1rem;
}
.menu-title em { font-style: italic; color: var(--accent); }
.menu-sub {
  color: var(--ink-mute);
  max-width: 55ch;
  margin: 0 auto;
}

/* ── Menú layout ── */
.menu-featured {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
  max-width: var(--wrap);
  margin: 0 auto 3.5rem;
  padding: 0 2rem;
}

/* Row 1: 2 big cards (3 cols each) */
.menu-featured .dish-card:nth-child(1),
.menu-featured .dish-card:nth-child(2) {
  grid-column: span 3;
}
.menu-featured .dish-card:nth-child(1) .dish-img-wrap,
.menu-featured .dish-card:nth-child(2) .dish-img-wrap {
  aspect-ratio: 16/10;
}

/* Row 2: 3 smaller cards (2 cols each) */
.menu-featured .dish-card:nth-child(3),
.menu-featured .dish-card:nth-child(4),
.menu-featured .dish-card:nth-child(5) {
  grid-column: span 2;
}
.menu-featured .dish-card:nth-child(3) .dish-img-wrap,
.menu-featured .dish-card:nth-child(4) .dish-img-wrap,
.menu-featured .dish-card:nth-child(5) .dish-img-wrap {
  aspect-ratio: 4/3;
}

/* 6ª tarjeta — mismo tamaño que las de la fila 2, centrada */
.menu-featured .dish-card:nth-child(6) {
  grid-column: 3 / span 2;
}
.menu-featured .dish-card:nth-child(6) .dish-img-wrap {
  aspect-ratio: 4/3;
}

/* "También en carta" text list */
.menu-also {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 2rem;
}
.menu-also-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 1.5rem;
}
.menu-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem 1rem;
  list-style: none;
}
.menu-list-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  padding: 1rem 1.25rem;
  background: var(--paper);
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(26,18,9,0.06);
}
.menu-list-item::before {
  display: none;
}

@media (max-width: 1024px) {
  .menu-list { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .menu-featured { grid-template-columns: repeat(2, 1fr); }
  .menu-featured .dish-card:nth-child(1),
  .menu-featured .dish-card:nth-child(2),
  .menu-featured .dish-card:nth-child(3),
  .menu-featured .dish-card:nth-child(4),
  .menu-featured .dish-card:nth-child(5) { grid-column: span 1; }
  .menu-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .menu-featured { grid-template-columns: 1fr; padding: 0 1rem; }
  .menu-list { grid-template-columns: 1fr; }
  .menu-also { padding: 0 1rem; }
}

/* legacy – keep for fallback */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: var(--wrap);
  margin: 0 auto;
}

/* Dish card */
.dish-card {
  background: var(--paper);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(26,18,9,0.07);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
  will-change: transform;
  transform-style: preserve-3d;
}
@media (hover: hover) {
  .dish-card:hover {
    box-shadow: 0 16px 48px rgba(26,18,9,0.16);
  }
}

.dish-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.dish-img-wrap img {
  transition: transform 0.5s var(--ease-out);
}

/* Postres — se adapta al tamaño natural de la foto */
.dish-img-wrap--contain {
  aspect-ratio: unset;
  height: auto;
  background: #f5edd8;
}
.dish-img-wrap--contain img {
  width: 100%;
  height: auto;
  object-fit: unset;
}
/* Zanahoria — forzar tamaño grande igual que el resto */
.dish-img-wrap--contain-lg {
  aspect-ratio: unset;
  height: auto;
  min-height: 280px;
  background: #f5edd8;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dish-img-wrap--contain-lg img {
  width: 100%;
  height: auto;
  object-fit: unset;
}
@media (hover: hover) {
  .dish-card:hover .dish-img-wrap img {
    transform: scale(1.07);
  }
}
.dish-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,18,9,0.25) 0%, transparent 50%);
}
.dish-tag {
  position: absolute;
  top: 0.85rem; left: 0.85rem;
  background: var(--accent);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
}

/* No-photo / Gofio card – warm decorative gradient */
.dish-gofio-bg,
.dish-img-no-photo {
  position: relative;
  background: linear-gradient(135deg, #f0e6cc 0%, #dcc99a 40%, #c4a85e 100%);
}
.dish-gofio-bg::after {
  content: "✦";
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem;
  color: rgba(139,26,47,0.2);
}

.dish-body {
  padding: 1.5rem;
}
.dish-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  font-style: italic;
  margin-bottom: 0.6rem;
  line-height: 1.3;
  color: var(--ink);
}
.dish-desc {
  font-size: 0.875rem;
  color: var(--ink-mute);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.dish-ingredients {
  font-size: 0.8rem;
  color: var(--ink-mute);
  line-height: 1.55;
  margin-top: 0.4rem;
}

/* Lista "sin foto" con ingredientes */
.menu-list-item {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
}
.menu-list-item-name {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--ink);
  line-height: 1.3;
}
.menu-list-item-name::before {
  content: "";
  display: block;
  flex-shrink: 0;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.7;
}
.menu-list-item-ing {
  font-size: 0.775rem;
  color: var(--ink-mute);
  line-height: 1.5;
  padding-left: 1.4rem;
}
.dish-foot {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.dish-price {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent);
}
.dish-dot { color: var(--line); }
.dish-tag-small {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(74,124,89,0.1);
  padding: 0.2rem 0.55rem;
  border-radius: 50px;
}

/* ═══════════════════════════════════════════════════ GALERÍA */
.galeria {
  padding: var(--section-pad) var(--gutter);
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin: 0 auto;
}
.galeria-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.galeria-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 600;
  line-height: 1.12;
}
.galeria-title em { font-style: italic; color: var(--accent); }

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1rem;
}
.galeria-item {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
}
.galeria-item--tall { grid-row: span 2; aspect-ratio: auto; }
.galeria-item--wide { grid-column: span 2; }

.galeria-item img {
  transition: transform 0.5s var(--ease-out);
}
@media (hover: hover) {
  .galeria-item:hover img { transform: scale(1.05); }
}

.galeria-item-overlay {
  position: absolute; inset: 0;
  background: rgba(26,18,9,0.35);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}
.galeria-item-overlay span {
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.4);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
}
@media (hover: hover) {
  .galeria-item:hover .galeria-item-overlay { opacity: 1; }
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(10,6,3,0.94);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 2rem;
}
.lightbox[hidden] { display: none; }

.lightbox-img-wrap {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--r);
  overflow: hidden;
}
.lightbox-img {
  width: auto; height: auto;
  max-width: 90vw; max-height: 82vh;
  object-fit: contain;
}

.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  color: rgba(255,255,255,0.75);
  font-size: 1.5rem;
  transition: color 0.2s, transform 0.2s;
  padding: 0.75rem;
}
.lightbox-close { top: 1.5rem; right: 1.5rem; font-size: 1.25rem; }
.lightbox-prev { left: 1rem; top: 50%; transform: translateY(-50%); font-size: 2.5rem; }
.lightbox-next { right: 1rem; top: 50%; transform: translateY(-50%); font-size: 2.5rem; }
@media (hover: hover) {
  .lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover {
    color: #fff; transform: translateY(-50%) scale(1.1);
  }
  .lightbox-close:hover { transform: scale(1.1); }
}

/* ═══════════════════════════════════════════════════ CTA BAND */
.cta-band {
  background: var(--bg-dark);
  color: #fff;
  overflow: hidden;
  position: relative;
}
.cta-band-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 8rem) var(--gutter);
  text-align: center;
  position: relative; z-index: 1;
}
.cta-band-mesh {
  position: absolute; inset: -50%;
  background:
    radial-gradient(ellipse 60% 50% at 30% 50%, rgba(139,26,47,0.35) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 75% 40%, rgba(74,124,89,0.25) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}
.cta-band-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 1rem;
}
.cta-band-title em { font-style: italic; color: var(--gold); }
.cta-band-sub {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 2.5rem;
}
.cta-band .section-kicker { color: var(--gold); margin-bottom: 1.25rem; }

/* ═══════════════════════════════════════════════════ CONTACTO */
.contacto {
  background: var(--paper);
  padding: var(--section-pad) var(--gutter);
}
.contacto-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(3rem, 6vw, 6rem);
  max-width: var(--wrap);
  margin: 0 auto;
  align-items: start;
}
.contacto-inner--full {
  grid-template-columns: 1fr;
  max-width: 860px;
}
.contacto-info--full .contacto-title {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
}
.contacto-info--full .info-block {
  padding: 1.5rem;
  background: var(--bg);
  border-radius: var(--r);
  border: 1px solid var(--line);
}
.contacto-info--full .info-icon {
  width: 52px; height: 52px;
  font-size: 1.1rem;
}
.contacto-info--full .info-icon svg { width: 24px; height: 24px; }
.contacto-info--full .info-block strong { font-size: 0.9rem; }
.contacto-info--full .info-block p { font-size: 1.05rem; }
.contacto-info--full .horario-grid { font-size: 1rem; gap: 0.35rem 1.25rem; }
.contacto-info--full .mapa-wrap iframe { height: 320px; }
.contacto-info--full .info-social { margin-top: 1.5rem; gap: 1.25rem; }
.contacto-info--full .social-link { width: 52px; height: 52px; }
.contacto-info--full .social-link svg { width: 22px; height: 22px; }
.contacto-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 2.5rem;
}
.contacto-title em { font-style: italic; color: var(--accent); }

.info-block {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}
.info-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  background: rgba(139,26,47,0.08);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}
.info-icon svg { width: 20px; height: 20px; }

.info-block strong {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 0.3rem;
}
.info-block p {
  font-size: 0.9375rem;
  color: var(--ink-soft);
  line-height: 1.55;
}
.info-link { color: var(--accent); }
@media (hover: hover) {
  .info-link:hover { text-decoration: underline; }
}

.info-social {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}
.social-link {
  width: 44px; height: 44px;
  border: 1.5px solid var(--line);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-mute);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.social-link svg { width: 18px; height: 18px; }
@media (hover: hover) {
  .social-link:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: rgba(139,26,47,0.06);
  }
}

/* Form */
.reserva-form {
  background: var(--bg);
  border-radius: var(--r-lg);
  padding: clamp(2rem, 4vw, 3rem);
  box-shadow: 0 8px 40px rgba(26,18,9,0.08);
  border: 1px solid var(--line);
}
.form-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  font-style: italic;
  margin-bottom: 0.4rem;
}
.form-sub {
  font-size: 0.875rem;
  color: var(--ink-mute);
  margin-bottom: 2rem;
}
.form-row { margin-bottom: 1.25rem; }
.form-row--two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-field { display: flex; flex-direction: column; gap: 0.4rem; }
.form-field label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
}
.form-field input:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(139,26,47,0.1);
}
.form-field input::placeholder { color: var(--ink-mute); }

/* Form submit states */
.btn-loading, .btn-success { display: none; }
.reserva-form.is-sending .btn-text { display: none; }
.reserva-form.is-sending .btn-loading { display: inline; }
.reserva-form.is-sent .btn-text { display: none; }
.reserva-form.is-sent .btn-success {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-check { width: 16px; height: 16px; }

/* ═══════════════════════════════════════════════════ FOOTER */
.footer {
  background: var(--ink);
  color: rgba(245,237,216,0.8);
  padding: clamp(4rem, 8vw, 6rem) var(--gutter) 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(3rem, 6vw, 6rem);
  max-width: var(--wrap);
  margin: 0 auto;
  padding-bottom: clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid rgba(245,237,216,0.1);
}
.footer-logo { width: 140px; filter: none; }
.footer-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: rgba(245,237,216,0.55);
  margin-top: 1rem;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245,237,216,0.45);
  margin-bottom: 1rem;
}
.footer-col p {
  font-size: 0.9rem;
  line-height: 1.6;
}
.footer-hours {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: rgba(245,237,216,0.5);
}
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul a {
  font-size: 0.9rem;
  color: rgba(245,237,216,0.7);
  transition: color 0.2s;
}
@media (hover: hover) {
  .footer-col ul a:hover { color: #fff; }
}

.footer-social {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-social a {
  font-size: 0.9rem;
  color: rgba(245,237,216,0.7);
  transition: color 0.2s;
}
@media (hover: hover) {
  .footer-social a:hover { color: var(--gold); }
}

.footer-bottom {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(245,237,216,0.35);
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-credits a {
  color: rgba(245,237,216,0.45);
  transition: color 0.2s;
}
@media (hover: hover) {
  .footer-credits a:hover { color: rgba(245,237,216,0.75); }
}

/* ── Horario grid ───────────────────────────────────────────── */
.horario-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.25rem 1rem;
  margin-top: 0.4rem;
  font-size: 0.875rem;
  color: var(--ink-soft);
}
.h-day { font-weight: 500; color: var(--ink); white-space: nowrap; }
.h-time { color: var(--ink-mute); }
.h-closed { color: var(--ink-mute); opacity: 0.55; }

/* ── Mapa ───────────────────────────────────────────────────── */
.mapa-wrap { margin-top: 1.5rem; }
.mapa-wrap iframe { box-shadow: 0 4px 20px rgba(26,18,9,0.1); }

/* ── Info map link ──────────────────────────────────────────── */
.info-map-link {
  display: inline-block;
  margin-top: 0.4rem;
  font-size: 0.8125rem;
  color: var(--accent);
  font-weight: 500;
}
@media (hover: hover) {
  .info-map-link:hover { text-decoration: underline; }
}

/* ── Footer tel ─────────────────────────────────────────────── */
.footer-tel {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--gold);
  letter-spacing: 0.03em;
}
@media (hover: hover) {
  .footer-tel:hover { text-decoration: underline; }
}

/* ═══════════════════════════════════════════════════ RESPONSIVE */
@media (max-width: 960px) {
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
  .nosotros-inner { grid-template-columns: 1fr; }
  .nosotros-img-col { max-width: 440px; }
  .contacto-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

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

  .galeria-grid {
    grid-template-columns: 1fr 1fr;
  }
  .galeria-item--tall { grid-row: auto; }
  .galeria-item--wide { grid-column: span 2; }

  .form-row--two { grid-template-columns: 1fr; }

  .hero-title { font-size: clamp(2.5rem, 8vw, 4rem); }

  .nosotros-stats { grid-template-columns: 1fr; gap: 1rem; }
}

@media (max-width: 480px) {
  .galeria-grid { grid-template-columns: 1fr; }
  .galeria-item--wide { grid-column: span 1; }
  .galeria-item--tall { grid-row: auto; aspect-ratio: 4/3; }

  .footer-cols { grid-template-columns: 1fr; }

  .hero-actions { flex-direction: column; align-items: flex-start; }

  .nosotros-img-badge { width: 80px; height: 80px; bottom: -1rem; right: -0.5rem; }
}
