/* ── DESIGN SYSTEM TOKENS (Universal Learning Framework) ── */
:root {
  --surface:              #f7f9ff;
  --surface-low:          #f1f4fa;
  --surface-container:    #ebeef4;
  --surface-white:        #ffffff;
  --border:               #DADCE0;
  --on-surface:           #181c20;
  --on-surface-var:       #414754;
  --outline:              #727785;
  --primary:              #b54848;
  --primary-container:    #c96565;
  --primary-fixed:        #fbe0e0;
  --primary-fixed-dim:    #f0bcbc;
  --on-primary-fixed:     #3d0f15;
  --on-primary-fixed-var: #7a2424;
  --secondary-container:  #d97373;
  --tertiary:             #a23535;
  --tertiary-container:   #d97373;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--surface);
  color: var(--on-surface);
  overflow-x: hidden;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ── SCROLL REVEAL ── */
.reveal   { opacity: 0; transform: translateY(32px); transition: opacity 0.8s cubic-bezier(.16,1,.3,1), transform 0.8s cubic-bezier(.16,1,.3,1); }
.reveal-l { opacity: 0; transform: translateX(-32px); transition: opacity 0.8s cubic-bezier(.16,1,.3,1), transform 0.8s cubic-bezier(.16,1,.3,1); }
.reveal-r { opacity: 0; transform: translateX(32px);  transition: opacity 0.8s cubic-bezier(.16,1,.3,1), transform 0.8s cubic-bezier(.16,1,.3,1); }
.revealed { opacity: 1 !important; transform: translate(0) !important; }
.d1 { transition-delay: .10s; }
.d2 { transition-delay: .20s; }
.d3 { transition-delay: .30s; }
.d4 { transition-delay: .40s; }
.d5 { transition-delay: .52s; }
.d6 { transition-delay: .64s; }

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1002;
  padding: 1.75rem 4rem;
  display: flex; justify-content: space-between; align-items: center;
  transition: background .4s ease, padding .3s ease, box-shadow .4s ease;
}
.nav.scrolled {
  background: var(--surface-white);
  padding: 1rem 4rem;
  box-shadow: 0 1px 0 var(--border);
}
.nav-logo {
  font-weight: 700; font-size: 1.5rem;
  color: #ffffff; letter-spacing: -.01em;
  transition: color .3s ease;
}
.nav.scrolled .nav-logo { color: var(--primary); }
.nav-links { list-style: none; display: flex; gap: 2.5rem; align-items: center; }
.nav-links a {
  font-size: .8rem; font-weight: 500; letter-spacing: .03em;
  color: rgba(255,255,255,.72);
  transition: color .25s;
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -3px; left: 0;
  width: 0; height: 1.5px; background: currentColor;
  transition: width .25s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav.scrolled .nav-links a { color: var(--on-surface-var); }
.nav-links a:hover { color: #ffffff; }
.nav.scrolled .nav-links a:hover { color: var(--primary); }
.nav-links .nav-btn {
  padding: .5rem 1.25rem;
  border: 1.5px solid rgba(255,255,255,.32); border-radius: .5rem;
  color: #ffffff; font-size: .78rem; font-weight: 600;
  transition: all .25s ease;
}
.nav.scrolled .nav-links .nav-btn { border-color: var(--primary); color: var(--primary); }
.nav-links .nav-btn:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.6); }
.nav.scrolled .nav-links .nav-btn:hover { background: var(--primary); color: #fff; }
.nav-links .nav-btn::after { display: none; }

/* lang switcher */
.lang-switcher { display: flex; align-items: center; gap: .35rem; }
.lang-sep { font-size: .7rem; color: rgba(255,255,255,.3); }
.nav.scrolled .lang-sep { color: var(--border); }
.lang-btn {
  background: none; border: none; cursor: pointer; padding: .2rem .1rem;
  font-size: .72rem; font-weight: 600; letter-spacing: .06em;
  color: rgba(255,255,255,.5); transition: color .25s;
  font-family: inherit;
}
.lang-btn:hover { color: #fff; }
.lang-btn--active { color: rgba(255,255,255,.9); }
.nav.scrolled .lang-btn { color: var(--outline); }
.nav.scrolled .lang-btn:hover { color: var(--primary); }
.nav.scrolled .lang-btn--active { color: var(--primary); }

/* ── HAMBURGER BUTTON ── */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none; border: none;
  cursor: pointer; padding: 8px;
  z-index: 1001; flex-shrink: 0;
}
.nav-burger span {
  display: block;
  width: 22px; height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: transform .35s cubic-bezier(.16,1,.3,1), opacity .2s ease, background .3s ease;
  transform-origin: center;
}
.nav.scrolled .nav-burger span { background: var(--on-surface); }
.nav-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
/* When menu is open, always show white lines */
.nav-burger.is-open span { background: #ffffff !important; }
/* Nav appearance while mobile menu is visible */
.nav.menu-is-open { background: transparent !important; box-shadow: none !important; }
.nav.menu-is-open .nav-logo { color: #ffffff !important; }

/* ── MOBILE FULLSCREEN MENU ── */
.mobile-menu {
  display: none; /* shown only at ≤720px via media query below */
  position: fixed; inset: 0;
  z-index: 1000;
  background: #2a0a0e;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .38s ease, visibility .38s ease;
}
.mobile-menu::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 80%, rgba(107,33,38,.55) 0%, transparent 60%),
    radial-gradient(ellipse 40% 30% at 85% 10%, rgba(181,72,72,.15) 0%, transparent 55%);
  pointer-events: none;
}
.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}
.mobile-menu-nav {
  position: relative; z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  text-align: center;
  width: 100%;
  padding: 0 2rem;
}
.mobile-link {
  display: block;
  width: 100%;
  padding: .9rem 0;
  font-size: clamp(1.9rem, 9vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -.03em;
  color: rgba(251,224,224,.72);
  border-bottom: 1px solid rgba(240,188,188,.06);
  opacity: 0;
  transform: translateY(24px);
  transition:
    color .25s ease,
    opacity .45s ease,
    transform .45s cubic-bezier(.16,1,.3,1);
}
.mobile-link:first-child { border-top: 1px solid rgba(240,188,188,.06); }
.mobile-link:hover { color: #fbe0e0; }
.mobile-menu.is-open .mobile-link { opacity: 1; transform: translateY(0); }

/* Stagger via nth-child delay */
.mobile-menu.is-open .mobile-link:nth-child(1) { transition-delay: .05s; }
.mobile-menu.is-open .mobile-link:nth-child(2) { transition-delay: .10s; }
.mobile-menu.is-open .mobile-link:nth-child(3) { transition-delay: .15s; }
.mobile-menu.is-open .mobile-link:nth-child(4) { transition-delay: .20s; }

.mobile-link--cta {
  margin-top: 2rem;
  border: none;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary-fixed-dim) !important;
  width: auto;
  padding: .9rem 2.25rem;
  border: 1.5px solid rgba(240,188,188,.3);
  border-radius: .5rem;
}
.mobile-link--cta:hover { border-color: var(--primary-fixed-dim); background: rgba(240,188,188,.06); }
.mobile-menu.is-open .mobile-link--cta { transition-delay: .25s; }

.mobile-lang {
  display: flex; align-items: center; gap: .5rem;
  margin-top: 2.5rem;
  opacity: 0; transform: translateY(16px);
  transition: opacity .45s ease .30s, transform .45s cubic-bezier(.16,1,.3,1) .30s;
}
.mobile-menu.is-open .mobile-lang { opacity: 1; transform: translateY(0); }
.mobile-lang .lang-btn { color: rgba(240,188,188,.5); }
.mobile-lang .lang-btn--active { color: rgba(240,188,188,.9); }
.mobile-lang .lang-sep { color: rgba(240,188,188,.2); font-size: .7rem; }

/* ── HERO ── */
.hero {
  position: relative; height: 100vh; min-height: 780px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 50% at 50% 110%, rgba(217,115,115,.24) 0%, transparent 60%),
    radial-gradient(ellipse 40% 25% at 85% 10%, rgba(240,188,188,.1) 0%, transparent 50%),
    linear-gradient(160deg,
      #2a0a0e  0%,
      #3d0f15 30%,
      #6b2126 60%,
      #3d0f15 82%,
      #2a0a0e 100%
    );
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center; padding: 0 2rem;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 1rem;
  font-size: .7rem; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; color: var(--primary-fixed-dim);
  margin-bottom: 1.5rem;
  opacity: 0; transform: translateY(16px);
  animation: hIn .9s cubic-bezier(.16,1,.3,1) .35s forwards;
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: ''; display: block; width: 30px; height: 1px;
  background: rgba(240,188,188,.32);
}
.hero-name {
  font-size: clamp(5rem, 16vw, 13rem);
  font-weight: 700; line-height: .9; letter-spacing: -.04em;
  color: #ffffff;
  margin-bottom: 1.25rem;
  opacity: 0; transform: translateY(24px);
  animation: hIn 1.1s cubic-bezier(.16,1,.3,1) .55s forwards;
}
.hero-sub {
  font-size: clamp(.9rem, 2vw, 1.2rem);
  font-weight: 400;
  color: rgba(240,188,188,.7); letter-spacing: .01em;
  margin-bottom: 3rem;
  opacity: 0; transform: translateY(16px);
  animation: hIn .9s cubic-bezier(.16,1,.3,1) .85s forwards;
}
.hero-actions {
  display: flex; align-items: center; justify-content: center; gap: 1.25rem;
  opacity: 0; transform: translateY(16px);
  animation: hIn .9s cubic-bezier(.16,1,.3,1) 1.05s forwards;
}
.btn-solid {
  display: inline-flex; align-items: center;
  padding: .85rem 2.25rem;
  background: var(--primary-container); color: #ffffff;
  font-size: .82rem; font-weight: 600; letter-spacing: .01em;
  border-radius: .5rem; border: none; cursor: pointer;
  transition: all .25s ease;
  box-shadow: 0 2px 8px rgba(201,101,101,.35);
}
.btn-solid:hover {
  background: #a23535;
  box-shadow: 0 4px 16px rgba(201,101,101,.45);
  transform: translateY(-1px);
}
.btn-ghost {
  display: inline-flex; align-items: center;
  padding: .85rem 2.25rem;
  background: transparent; color: #ffffff;
  font-size: .82rem; font-weight: 500; letter-spacing: .01em;
  border-radius: .5rem;
  border: 1.5px solid rgba(255,255,255,.28); cursor: pointer;
  transition: all .25s ease;
}
.btn-ghost:hover { border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.07); }
.hero-loc {
  position: absolute; z-index: 2;
  bottom: 8.5rem; left: 50%; transform: translateX(-50%);
  font-size: .67rem; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(240,188,188,.38); white-space: nowrap;
  opacity: 0; animation: hIn .9s cubic-bezier(.16,1,.3,1) 1.35s forwards;
}
.hero-scroll-cue {
  position: absolute; z-index: 2;
  bottom: 2.8rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
  opacity: 0; animation: hIn .9s cubic-bezier(.16,1,.3,1) 1.6s forwards;
}
.hero-scroll-cue span {
  font-size: .6rem; letter-spacing: .24em; text-transform: uppercase;
  color: rgba(240,188,188,.38);
}
.scroll-line {
  width: 1px; height: 40px;
  background: rgba(240,188,188,.14);
  position: relative; overflow: hidden;
}
.scroll-line::after {
  content: ''; position: absolute; top: 0; left: 0;
  width: 1px; height: 100%;
  background: rgba(240,188,188,.5);
  transform: translateY(-100%);
  animation: scrollDrop 2s ease-in-out infinite;
}

/* ── HERO 3D SURFACE ── */
.hero-3d {
  position: absolute; bottom: 0; left: 0;
  width: 100%; height: 320px;
  z-index: 1; pointer-events: none;
  display: block;
}
@media (max-width: 720px) {
  .hero-3d { height: 240px; }
}

/* ── MARQUEE ── */
.marquee {
  background: var(--primary); padding: 1rem 0; overflow: hidden; display: flex;
}
.marquee-track {
  display: flex; white-space: nowrap;
  animation: marqueeScroll 28s linear infinite;
}
.marquee-item {
  display: inline-flex; align-items: center; gap: 1.5rem;
  padding: 0 2.5rem;
  font-size: .7rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: rgba(255,255,255,.8);
}
.marquee-dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: rgba(240,188,188,.55); flex-shrink: 0;
}

/* ── STORY ── */
.story {
  padding: 9rem 4rem;
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: 7rem; align-items: center;
}
.section-label {
  display: block; font-size: .68rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 1.5rem;
}
.section-title {
  font-weight: 700; line-height: 1.1;
  color: var(--on-surface); letter-spacing: -.02em;
}
.story-title { font-size: clamp(2.2rem, 4vw, 3.2rem); margin-bottom: 2rem; }
.story-body {
  font-size: 1rem; line-height: 1.78; color: var(--on-surface-var);
  margin-bottom: 1.25rem;
}
.story-body:last-of-type { margin-bottom: 0; }
.story-stats {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem; margin-top: 3rem; padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}
.stat-num {
  font-size: 2.5rem; font-weight: 700;
  color: var(--primary); line-height: 1; margin-bottom: .3rem;
  letter-spacing: -.02em;
}
.stat-lbl {
  font-size: .7rem; font-weight: 500; letter-spacing: .06em;
  text-transform: uppercase; color: var(--outline);
}
.story-visual { position: relative; }

/* ── STORY CARD STACK ── */
.story-stack {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  cursor: pointer;
  user-select: none;
}

.story-card {
  position: absolute;
  inset: 0;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(240,188,188,.10);
  background: linear-gradient(148deg, #7a2424 0%, #6b2126 38%, #3d0f15 75%, #2a0a0e 100%);
  will-change: transform, opacity;
  transition:
    transform  .65s cubic-bezier(.16,1,.3,1),
    opacity    .65s cubic-bezier(.16,1,.3,1),
    box-shadow .65s ease;
}

/* ── card positions ── */
.story-card[data-pos="0"] {
  transform: translateX(0) translateY(0) rotate(0deg) scale(1);
  opacity: 1;
  z-index: 4;
  box-shadow: 0 28px 72px rgba(42,10,14,.7), 0 4px 20px rgba(0,0,0,.35);
}
.story-card[data-pos="1"] {
  transform: translateX(22px) translateY(26px) rotate(5deg) scale(0.95);
  opacity: 1;
  z-index: 3;
  box-shadow: 0 14px 40px rgba(42,10,14,.4);
}
.story-card[data-pos="2"] {
  transform: translateX(42px) translateY(48px) rotate(-3deg) scale(0.90);
  opacity: 0.85;
  z-index: 2;
  box-shadow: 0 8px 24px rgba(42,10,14,.3);
}
.story-card[data-pos="3"] {
  transform: translateX(58px) translateY(64px) rotate(3.5deg) scale(0.85);
  opacity: 0;
  z-index: 1;
}

/* ── leaving animation ── */
.story-card.sc-leaving {
  transform: translateY(-90px) translateX(-50px) rotate(-14deg) scale(0.82) !important;
  opacity: 0 !important;
  transition: transform .46s cubic-bezier(.4,0,.6,1), opacity .34s ease !important;
  z-index: 5 !important;
}
.story-card.sc-no-transition { transition: none !important; }

/* ── photo cards ── */
.sc-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(42,10,14,.78) 0%, rgba(42,10,14,.08) 45%, transparent 65%);
  z-index: 1;
}
.story-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.story-card-label {
  position: absolute;
  bottom: 1.75rem;
  left: 1.75rem;
  font-size: .65rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(240,188,188,.7);
  z-index: 2;
}

/* ── brand / styled cards ── */
.sc-brand {
  background: linear-gradient(148deg, #9e3030 0%, #7a2424 30%, #3d0f15 70%, #2a0a0e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.sc-brand--alt {
  background: linear-gradient(148deg, #3d0f15 0%, #2a0a0e 55%, #1a0508 100%);
}
.sc-brand-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .65rem;
}
.sc-brand-eyebrow {
  font-size: .62rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(240,188,188,.5);
}
.sc-brand-title {
  font-size: clamp(1.75rem,3.4vw,2.75rem);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.15;
  color: #fbe0e0;
}

/* ── dot navigation ── */
.story-stack-nav {
  display: flex;
  justify-content: center;
  gap: .6rem;
  margin-top: 1.75rem;
}
.stack-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all .3s cubic-bezier(.16,1,.3,1);
}
.stack-dot.is-active {
  width: 22px;
  border-radius: 4px;
  background: var(--primary);
}

/* ornament decoration (behind the stack) */
.story-ornament {
  position: absolute; bottom: -1.25rem; right: -1.25rem;
  width: 42%; height: 42%;
  border: 2px solid var(--primary-fixed-dim);
  border-radius: .75rem;
  z-index: -1; opacity: .35;
}

/* ── MENU ── */
.menu-section {
  background: #2a0a0e;
  padding: 8rem 4rem;
  position: relative; overflow: hidden;
}
.menu-bg-word {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(10rem, 20vw, 18rem);
  font-weight: 700; letter-spacing: -.04em;
  color: rgba(181,72,72,.05); white-space: nowrap;
  pointer-events: none; user-select: none;
}
.menu-header {
  position: relative; z-index: 2;
  text-align: center; margin-bottom: 5rem;
}
.menu-header .section-label { color: var(--primary-fixed-dim); }
.menu-header .section-title { font-size: clamp(2.2rem, 4vw, 3.2rem); color: #ffffff; }
.menu-grid {
  position: relative; z-index: 2;
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 1rem; overflow: hidden;
}
.menu-card {
  padding: 3rem 2.5rem;
  background: rgba(61,15,21,.8);
  position: relative; overflow: hidden;
  transition: background .3s ease;
  cursor: default;
}
.menu-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--primary-container), var(--secondary-container));
  transition: width .5s cubic-bezier(.16,1,.3,1);
}
.menu-card:hover { background: rgba(107,33,38,.45); }
.menu-card:hover::before { width: 100%; }
.menu-num {
  font-size: .76rem; font-weight: 600; letter-spacing: .06em;
  color: var(--primary-fixed-dim); opacity: .55; margin-bottom: 1.5rem;
}
.menu-name {
  font-size: 1.35rem; font-weight: 700; letter-spacing: -.01em;
  color: #ffffff; line-height: 1.22; margin-bottom: .85rem;
}
.menu-desc {
  font-size: .875rem; line-height: 1.7;
  color: rgba(240,188,188,.5);
  margin-bottom: 1.75rem;
}
.menu-tag {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .25rem .7rem;
  background: rgba(181,72,72,.2);
  border: 1px solid rgba(217,115,115,.28);
  color: var(--primary-fixed-dim);
  font-size: .66rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; border-radius: 9999px;
}
.menu-card--wide { grid-column: span 2; }
.menu-card--wide .menu-name { font-size: 1.7rem; }

/* ── FEATURES ── */
.features {
  padding: 8rem 4rem;
  max-width: 1280px; margin: 0 auto;
}
.features-header { text-align: center; margin-bottom: 5.5rem; }
.features-title { font-size: clamp(2rem, 3.8vw, 3rem); }
.features-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
}
.feat {
  padding: 2.5rem 2rem;
  background: var(--surface-white);
  border: 1px solid var(--border);
  border-radius: 1rem;
  transition: box-shadow .3s ease, transform .3s ease, border-color .3s ease;
}
.feat:hover {
  box-shadow: 0px 4px 12px rgba(0,0,0,.08);
  transform: translateY(-2px);
  border-color: var(--primary-fixed-dim);
}
.feat-icon { font-size: 2rem; margin-bottom: 1.4rem; line-height: 1; }
.feat-title {
  font-size: 1.05rem; font-weight: 600; letter-spacing: -.01em;
  color: var(--on-surface); margin-bottom: .75rem; line-height: 1.3;
}
.feat-desc { font-size: .875rem; line-height: 1.65; color: var(--on-surface-var); }

/* ── REVIEWS ── */
.reviews-section {
  background: var(--surface-low);
  padding: 8rem 0;
  border-top: 1px solid var(--border);
  overflow: hidden;
}
.reviews-inner { max-width: 1280px; margin: 0 auto; padding: 0 4rem; }
.reviews-header { text-align: center; margin-bottom: 4.5rem; }
.reviews-title { font-size: clamp(2rem, 3.8vw, 3rem); margin-bottom: 2.5rem; }
.reviews-overall {
  display: inline-flex; flex-direction: column; align-items: center; gap: .5rem;
}
.reviews-score {
  font-size: 4.8rem; font-weight: 700; letter-spacing: -.03em;
  color: var(--primary); line-height: 1;
}
.reviews-stars-overall { font-size: 1.5rem; color: #f9ab00; letter-spacing: .06em; }
.reviews-count { font-size: .68rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--outline); }

/* Marquee viewport */
.reviews-grid {
  overflow: hidden;
  margin-bottom: 3rem;
  mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

/* Animated track — duplicated cards scroll infinitely */
.reviews-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  padding: 1.25rem 0;
  animation: reviews-marquee calc(var(--review-count, 5) * 10s) linear infinite;
}
.reviews-track:hover { animation-play-state: paused; }

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

.review-card {
  width: 360px;
  flex-shrink: 0;
  padding: 1.75rem 2rem;
  background: var(--surface-white);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  position: relative;
  overflow: hidden;
  transition: box-shadow .3s ease, transform .25s ease, border-color .3s ease;
  cursor: default;
}
.review-card::before {
  content: '\201C';
  position: absolute; top: -.5rem; right: 1.25rem;
  font-size: 7rem; font-weight: 700; line-height: 1;
  color: var(--primary); opacity: .06;
  pointer-events: none;
  font-family: Georgia, serif;
  user-select: none;
}
.review-card:hover {
  box-shadow: 0 12px 36px rgba(181, 72, 72, .1);
  transform: translateY(-5px);
  border-color: var(--primary-fixed-dim);
}
.review-header { display: flex; align-items: center; gap: .85rem; margin-bottom: 1rem; }
.review-avatar {
  width: 40px; height: 40px; border-radius: 50%; overflow: hidden;
  background: var(--primary-fixed); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.review-avatar img { width: 100%; height: 100%; object-fit: cover; }
.review-avatar span { font-weight: 700; font-size: .95rem; color: var(--primary); }
.review-meta { flex: 1; min-width: 0; }
.review-author { font-size: .875rem; font-weight: 600; color: var(--on-surface); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.review-time { font-size: .68rem; color: var(--outline); margin-top: .1rem; }
.review-google-icon { flex-shrink: 0; opacity: .6; }
.review-stars { color: #f9ab00; font-size: .9rem; letter-spacing: .04em; margin-bottom: .85rem; }
.review-text { font-size: .875rem; line-height: 1.7; color: var(--on-surface-var); }
.reviews-cta-link {
  display: flex; align-items: center; justify-content: center; gap: .6rem;
  width: fit-content; margin: 0 auto;
  padding: .8rem 2rem;
  border: 1.5px solid var(--primary);
  border-radius: .5rem;
  font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--primary);
  transition: all .25s ease;
}
.reviews-cta-link:hover { background: var(--primary); color: #fff; }
.reviews-notice {
  text-align: center; padding: 3rem 1rem;
  font-size: .9rem; color: var(--outline); font-style: italic;
}

/* ── GALLERY ── */
.gallery-section { padding: 0 4rem 9rem; max-width: 1440px; margin: 0 auto; }
.gallery-header { text-align: center; margin-bottom: 4rem; }
.gallery-title { font-size: clamp(2rem, 3.8vw, 3rem); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 285px;
  gap: 10px;
}
.g-item { overflow: hidden; position: relative; border-radius: .75rem; }
.g-item:nth-child(1) { grid-column: span 5; grid-row: span 2; }
.g-item:nth-child(2) { grid-column: span 4; }
.g-item:nth-child(3) { grid-column: span 3; }
.g-item:nth-child(4) { grid-column: span 3; }
.g-item:nth-child(5) { grid-column: span 4; }
.g-inner {
  width: 100%; height: 100%;
  transition: transform .6s cubic-bezier(.16,1,.3,1);
  display: flex; align-items: flex-end; padding: 1.4rem;
  border-radius: .75rem;
}
.g-item:hover .g-inner { transform: scale(1.04); }
.g-caption {
  font-size: .65rem; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.7);
  background: rgba(42,10,14,.5);
  padding: .28rem .55rem; border-radius: .375rem;
  backdrop-filter: blur(4px);
}
.gc-1 { background-image:  url('../img/second.webp'); background-size: cover; background-position: center; }
.gc-2  { background-image:  url('../img/cazuela.png'); background-size: cover; background-position: center; }
.gc-3 { background: linear-gradient(155deg, #3d0f15 0%, #1f0508 100%); }
.gc-4 { background: linear-gradient(130deg, #d97373 0%, #a23535 100%); }
.gc-5 { background: linear-gradient(148deg, #6b2126 0%, #3d0f15 100%); }

/* ── LOCATION ── */
.location-section { background: var(--surface-container); padding: 8rem 4rem; }
.location-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1.25fr 1fr;
  gap: 7rem; align-items: start;
}
.map-frame {
  width: 100%; aspect-ratio: 4/3;
  overflow: hidden; position: relative;
  border-radius: 1rem;
  border: 1px solid var(--border);
  box-shadow: 0px 4px 12px rgba(0,0,0,.08);
}
.map-frame iframe { width: 100%; height: 100%; border: none; }
.loc-title { font-size: clamp(1.85rem, 3.2vw, 2.75rem); margin-bottom: 2.5rem; }
.info-row {
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
}
.info-row:last-child { border-bottom: 1px solid var(--border); }
.info-row-label {
  font-size: .66rem; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--outline); margin-bottom: .5rem;
}
.info-row-val { font-size: .95rem; color: var(--on-surface); line-height: 1.6; }
.info-row-val a { color: var(--primary); transition: color .2s; }
.info-row-val a:hover { color: var(--primary-container); }

/* ── CTA ── */
.cta-section {
  background: var(--primary);
  padding: 8rem 4rem; text-align: center;
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 50% 50%, rgba(201,101,101,.38) 0%, transparent 65%),
    radial-gradient(ellipse 30% 20% at 10% 90%, rgba(217,115,115,.22) 0%, transparent 55%);
}
.cta-label { position: relative; z-index: 2; color: rgba(240,188,188,.72); margin-bottom: 1.25rem; }
.cta-title {
  position: relative; z-index: 2;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 700; letter-spacing: -.03em;
  color: #ffffff; line-height: 1.06;
  margin-bottom: 1.5rem;
}
.cta-body {
  position: relative; z-index: 2;
  font-size: 1.05rem; color: rgba(240,188,188,.8);
  max-width: 480px; margin: 0 auto 3rem;
  line-height: 1.65;
}
.cta-actions {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: center; gap: 1.25rem;
}
.btn-cta {
  display: inline-flex; align-items: center;
  padding: 1rem 2.75rem;
  background: #ffffff; color: var(--primary);
  font-size: .82rem; font-weight: 700; letter-spacing: .01em;
  border-radius: .5rem; border: none; cursor: pointer;
  transition: all .25s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.btn-cta:hover { background: var(--primary-fixed); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0,0,0,.2); }
.btn-cta-ghost {
  display: inline-flex; align-items: center;
  padding: 1rem 2.75rem;
  background: transparent; color: #ffffff;
  font-size: .82rem; font-weight: 500; letter-spacing: .01em;
  border-radius: .5rem;
  border: 1.5px solid rgba(255,255,255,.32); cursor: pointer;
  transition: all .25s ease;
}
.btn-cta-ghost:hover { border-color: rgba(255,255,255,.68); background: rgba(255,255,255,.1); }

/* ── FOOTER ── */
footer { background: #2a0a0e; padding: 5rem 4rem 3rem; }
.footer-top {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 4.5rem; padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-logo {
  font-weight: 700; font-size: 2rem; letter-spacing: -.02em;
  color: #ffffff; display: block; margin-bottom: 1rem;
}
.footer-tagline {
  font-size: .875rem; color: rgba(240,188,188,.42);
  line-height: 1.65; max-width: 240px; margin-bottom: 1.75rem;
}
.socials { display: flex; gap: .65rem; }
.social {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: .5rem;
  display: flex; align-items: center; justify-content: center;
  color: rgba(240,188,188,.38);
  transition: all .25s ease;
}
.social:hover { border-color: var(--primary-container); color: var(--primary-fixed-dim); }
.foot-col-title {
  font-size: .66rem; font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase; color: rgba(240,188,188,.38);
  margin-bottom: 1.5rem;
}
.foot-links { list-style: none; display: flex; flex-direction: column; gap: .75rem; }
.foot-links a { font-size: .875rem; color: rgba(240,188,188,.32); transition: color .2s; }
.foot-links a:hover { color: rgba(240,188,188,.72); }
.footer-bottom {
  max-width: 1280px; margin: 0 auto;
  padding-top: 2rem;
  display: flex; justify-content: space-between; align-items: center;
}
.foot-copy { font-size: .76rem; color: rgba(240,188,188,.22); }
.foot-legal { display: flex; gap: 2rem; }
.foot-legal a { font-size: .74rem; color: rgba(240,188,188,.22); transition: color .2s; }
.foot-legal a:hover { color: rgba(240,188,188,.5); }

/* ════════════════════════════════
   HABEAS DATA MODAL
   ════════════════════════════════ */

.hd-overlay {
  position: fixed; inset: 0; z-index: 3000;
  background: rgba(20, 6, 8, .6);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .3s ease, visibility .3s ease;
}
.hd-overlay.is-open {
  opacity: 1; visibility: visible; pointer-events: all;
}

.hd-modal {
  background: var(--surface-white);
  border-radius: 1.25rem;
  max-width: 660px; width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 24px 80px rgba(0,0,0,.28);
  transform: translateY(20px) scale(.98);
  transition: transform .35s cubic-bezier(.16,1,.3,1);
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.hd-modal::-webkit-scrollbar { width: 5px; }
.hd-modal::-webkit-scrollbar-track { background: transparent; }
.hd-modal::-webkit-scrollbar-thumb { background: var(--border); border-radius: 99px; }
.hd-overlay.is-open .hd-modal { transform: translateY(0) scale(1); }

.hd-close {
  position: sticky; top: 1rem; float: right;
  margin: 1rem 1rem -2.5rem auto;
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  background: var(--surface-container); border: none;
  border-radius: 50%; cursor: pointer; color: var(--on-surface-var);
  transition: background .2s, color .2s;
  z-index: 2;
}
.hd-close:hover { background: var(--primary-fixed); color: var(--primary); }

.hd-body {
  padding: 2.5rem 2.5rem 2rem;
}

.hd-eyebrow {
  font-size: .68rem; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--primary);
  margin-bottom: 1rem;
}
.hd-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700; line-height: 1.15; letter-spacing: -.03em;
  color: var(--on-surface); margin-bottom: 2rem;
}

.hd-content { display: flex; flex-direction: column; gap: 0; }

.hd-block {
  padding: 1.25rem 0;
  border-top: 1px solid var(--border);
}
.hd-block:first-child { border-top: none; padding-top: 0; }

.hd-block-title {
  font-size: .82rem; font-weight: 700;
  color: var(--on-surface); margin-bottom: .6rem;
  letter-spacing: .01em;
}
.hd-block p {
  font-size: .82rem; color: var(--on-surface-var);
  line-height: 1.65; margin-bottom: .5rem;
}
.hd-block p:last-child { margin-bottom: 0; }
.hd-block ul {
  font-size: .82rem; color: var(--on-surface-var);
  line-height: 1.65; padding-left: 1.25rem; margin: .4rem 0 .5rem;
  display: flex; flex-direction: column; gap: .2rem;
}
.hd-block a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
.hd-block strong { color: var(--on-surface); }

.hd-accept {
  display: block; width: 100%; margin-top: 2rem;
  padding: .9rem 2rem;
  background: var(--primary-container); color: #fff;
  font-family: inherit; font-size: .875rem; font-weight: 600;
  border: none; border-radius: .5rem; cursor: pointer;
  transition: background .25s, box-shadow .25s, transform .2s;
  box-shadow: 0 2px 8px rgba(201,101,101,.3);
}
.hd-accept:hover {
  background: var(--tertiary);
  box-shadow: 0 4px 16px rgba(201,101,101,.4);
  transform: translateY(-1px);
}

@media (max-width: 480px) {
  .hd-body { padding: 2rem 1.25rem 1.5rem; }
  .hd-close { margin: .75rem .75rem -2rem auto; }
}

/* ════════════════════════════════
   LAVA-LAMP BLOBS
   ════════════════════════════════ */

/* Base blob — shared by menu-section and rmo-panel */
.lava-blob {
  position: absolute;
  border-radius: 62% 38% 46% 54% / 60% 44% 56% 40%;
  filter: blur(55px);
  pointer-events: none;
  user-select: none;
  z-index: 1;
  will-change: transform, border-radius;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

/* Ensure all real content stays on top of blobs */
.menu-bg-word { z-index: 1; }          /* watermark stays above blobs */
.menu-header,
.menu-grid   { z-index: 2 !important; } /* already set, just reinforcing */

.rmo-panel {
  position: relative;   /* stacking context for blobs */
  overflow: hidden;     /* clip blobs to panel bounds */
}
/* rmo-panel direct children (logo, title, kiosk list…) above blobs */
.rmo-panel > *:not(.lava-blob) { position: relative; z-index: 1; }

/* ── 3 keyframe variations — different trajectories & morphing ── */

/* Variation 1: rises then drifts right, full morph cycle */
.lava-blob--1 { animation-name: lavaBlob1; }
@keyframes lavaBlob1 {
  0%, 100% {
    transform: translate(0%,   0%)   scale(1);
    border-radius: 62% 38% 46% 54% / 60% 44% 56% 40%;
  }
  20% {
    border-radius: 44% 56% 62% 38% / 48% 64% 36% 52%;
  }
  40% {
    transform: translate(5%,  -24%)  scale(1.07);
    border-radius: 38% 62% 54% 46% / 64% 36% 58% 42%;
  }
  60% {
    border-radius: 56% 44% 38% 62% / 42% 58% 44% 56%;
  }
  80% {
    transform: translate(-4%, -12%)  scale(0.93);
    border-radius: 48% 52% 60% 40% / 56% 40% 62% 38%;
  }
}

/* Variation 2: floats diagonally left-up, rounder shape */
.lava-blob--2 { animation-name: lavaBlob2; }
@keyframes lavaBlob2 {
  0%, 100% {
    transform: translate(0%,   0%)   scale(1);
    border-radius: 44% 56% 62% 38% / 52% 60% 40% 48%;
  }
  25% {
    border-radius: 60% 40% 44% 56% / 38% 62% 54% 46%;
    transform: translate(-6%, -18%)  scale(0.96);
  }
  50% {
    border-radius: 36% 64% 56% 44% / 62% 38% 46% 54%;
    transform: translate(3%,  -32%)  scale(1.09);
  }
  75% {
    border-radius: 54% 46% 38% 62% / 44% 56% 62% 38%;
    transform: translate(7%,  -20%)  scale(1.02);
  }
}

/* Variation 3: slowest, almost circular drift with deep morph */
.lava-blob--3 { animation-name: lavaBlob3; }
@keyframes lavaBlob3 {
  0%, 100% {
    transform: translate(0%,   0%)   scale(1);
    border-radius: 56% 44% 40% 60% / 48% 56% 44% 52%;
  }
  30% {
    transform: translate(4%,  -20%)  scale(1.04);
    border-radius: 40% 60% 58% 42% / 62% 38% 52% 48%;
  }
  55% {
    border-radius: 64% 36% 44% 56% / 36% 64% 40% 60%;
  }
  75% {
    transform: translate(-5%, -10%)  scale(0.95);
    border-radius: 48% 52% 62% 38% / 54% 42% 60% 40%;
  }
}

/* Reduce blobs on small screens for performance */
@media (max-width: 720px) {
  .lava-blob { filter: blur(40px); }
}
@media (prefers-reduced-motion: reduce) {
  .lava-blob { animation: none; }
}

/* ── KEYFRAMES ── */
@keyframes hIn {
  to { opacity: 1; transform: translate(0); }
}
@keyframes scrollDrop {
  0%   { transform: translateY(-100%); opacity: 1; }
  80%  { opacity: 1; }
  100% { transform: translateY(100%); opacity: 0; }
}
@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ════════════════════════════════
   RESPONSIVE
   ════════════════════════════════ */

/* ── Tablet / large tablet (≤1100px) ── */
@media (max-width: 1100px) {
  .story { grid-template-columns: 1fr; gap: 3.5rem; }
  .story-visual { order: -1; }
  .story-stack { aspect-ratio: 16/9; }
  .menu-grid { grid-template-columns: 1fr 1fr; }
  .menu-card--wide { grid-column: span 2; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 260px; }
  .g-item:nth-child(n) { grid-column: span 1; grid-row: span 1; }
  .location-inner { grid-template-columns: 1fr; gap: 3.5rem; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

/* ── Mobile (≤720px) — hamburger activates ── */
@media (max-width: 720px) {
  /* Nav & mobile menu */
  .nav { padding: 1.1rem 1.25rem; }
  .nav.scrolled { padding: .8rem 1.25rem; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .mobile-menu { display: flex; } /* enabled; hidden via opacity/visibility until .is-open */

  /* Clip card-stack overflow so offset cards don't bleed off-screen */
  .story-visual { overflow: hidden; padding-bottom: 1rem; }
  /* Tighter card offsets at mobile so depth effect still shows */
  .story-card[data-pos="1"] { transform: translateX(10px) translateY(12px) rotate(3deg) scale(0.96); }
  .story-card[data-pos="2"] { transform: translateX(18px) translateY(20px) rotate(-2deg) scale(0.92); }
  .story-card[data-pos="3"] { transform: translateX(24px) translateY(26px) rotate(2.5deg) scale(0.88); }

  /* Hero title — prevent overflow */
  .hero-name { font-size: clamp(3rem, 14vw, 6rem); }
  .hero-content { padding: 0 1.5rem; }
  .hero-eyebrow { font-size: .62rem; letter-spacing: .14em; }
  .hero-loc {
    white-space: normal;
    text-align: center;
    padding: 0 1.5rem;
    font-size: .6rem;
    line-height: 1.8;
    bottom: 9.5rem;
  }

  /* Sections padding */
  .story, .features, .gallery-section, .location-section {
    padding-left: 1.25rem; padding-right: 1.25rem;
  }
  .menu-section, .cta-section {
    padding-left: 1.25rem; padding-right: 1.25rem;
  }
  footer { padding-left: 1.25rem; padding-right: 1.25rem; }
  .reviews-inner { padding: 0 1.25rem; }
  .review-card { width: 280px; }

  /* Grids */
  .menu-grid { grid-template-columns: 1fr; }
  .menu-card--wide { grid-column: span 1; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .story-stats { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }

  /* CTA buttons stack */
  .cta-actions { flex-direction: column; align-items: center; gap: .75rem; }
  .btn-cta, .btn-cta-ghost { width: 100%; max-width: 300px; justify-content: center; }
}

/* ════════════════════════════════
   RESERVATION SECTION
   ════════════════════════════════ */

.res-section {
  padding: 7rem 4rem;
  background: var(--surface);
  position: relative;
  overflow: hidden;
}
.res-section::before {
  content: '';
  position: absolute; top: -180px; right: -180px;
  width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, rgba(181,72,72,.07) 0%, transparent 70%);
  pointer-events: none;
}

.res-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.5fr;
  gap: 5rem; align-items: start;
}

/* Left info column */
.res-options-info { display: flex; flex-direction: column; gap: 1rem; margin-top: 2.5rem; }
.res-option-card {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--surface-white);
  border: 1.5px solid var(--border); border-radius: .875rem;
  transition: border-color .25s;
}
.res-option-card:hover { border-color: var(--primary-fixed-dim); }
.res-option-icon { font-size: 1.6rem; line-height: 1; flex-shrink: 0; margin-top: .1rem; }
.res-option-name { font-size: .88rem; font-weight: 600; color: var(--on-surface); margin-bottom: .3rem; }
.res-option-desc { font-size: .78rem; color: var(--on-surface-var); line-height: 1.5; margin-bottom: .5rem; }
.res-option-badge {
  display: inline-block;
  font-size: .7rem; font-weight: 700; letter-spacing: .02em;
  padding: .2rem .65rem; border-radius: 99px;
}
.res-option-badge--free { background: #e8f5e9; color: #2e7d32; }
.res-option-badge--paid { background: var(--primary-fixed); color: var(--on-primary-fixed-var); }

/* Form card */
.res-form-wrap {}
.res-form {
  background: var(--surface-white);
  border: 1px solid var(--border); border-radius: 1.25rem;
  padding: 2.25rem 2.5rem;
  box-shadow: 0 4px 32px rgba(0,0,0,.06);
}

.res-form-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1.1rem; margin-bottom: 1.1rem;
}
.res-field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.1rem; }
.res-field:last-of-type { margin-bottom: 0; }

.res-field-label {
  font-size: .72rem; font-weight: 600;
  color: var(--on-surface-var); letter-spacing: .02em;
}

.res-input, .res-select {
  width: 100%;
  padding: .72rem 1rem;
  border: 1.5px solid var(--border); border-radius: .5rem;
  background: var(--surface);
  color: var(--on-surface);
  font-family: inherit; font-size: .875rem;
  transition: border-color .2s, box-shadow .2s;
  outline: none; appearance: none;
}
.res-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='%23727785' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
  padding-right: 2.5rem; cursor: pointer;
}
.res-input:focus, .res-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(181,72,72,.12);
  background: var(--surface-white);
}
.res-input--err, .res-select--err {
  border-color: #e53e3e;
  box-shadow: 0 0 0 3px rgba(229,62,62,.1);
}
.res-input::placeholder { color: var(--outline); }

/* Kiosk radio cards */
.res-kiosk-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: .75rem; border-radius: .75rem;
  transition: outline .2s;
}
.res-kiosk-grid--err { outline: 2px solid #e53e3e; outline-offset: 4px; border-radius: .75rem; }

.res-kiosk-card {
  position: relative; display: flex;
  border: 1.5px solid var(--border); border-radius: .75rem;
  overflow: hidden; cursor: pointer;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.res-kiosk-card input[type="radio"] {
  position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none;
}
.res-kiosk-card-body {
  display: flex; flex-direction: column; gap: .25rem;
  padding: 1rem 1.1rem; width: 100%;
}
.res-kiosk-icon { font-size: 1.4rem; line-height: 1; margin-bottom: .1rem; }
.res-kiosk-name { font-size: .82rem; font-weight: 600; color: var(--on-surface); }
.res-kiosk-note { font-size: .7rem; color: var(--on-surface-var); }
.res-kiosk-note--paid { color: var(--on-primary-fixed-var); font-weight: 600; }

.res-kiosk-card:hover { border-color: var(--primary-fixed-dim); background: var(--surface-low); }
.res-kiosk-card.is-checked {
  border-color: var(--primary);
  background: var(--primary-fixed);
  box-shadow: 0 0 0 3px rgba(181,72,72,.12);
}
.res-kiosk-card.is-checked .res-kiosk-name { color: var(--tertiary); }

/* Habeas data */
.res-habeas {
  display: flex; align-items: flex-start; gap: .75rem;
  padding: 1rem 1.15rem; margin: 1.25rem 0 1.5rem;
  border: 1.5px solid var(--border); border-radius: .75rem;
  background: var(--surface-low); cursor: pointer;
  transition: border-color .2s;
}
.res-habeas:hover { border-color: var(--outline); }
.res-habeas--err { border-color: #e53e3e; }
.res-habeas input[type="checkbox"] {
  flex-shrink: 0; width: 17px; height: 17px;
  margin-top: 2px; accent-color: var(--primary); cursor: pointer;
}
.res-habeas-text {
  font-size: .75rem; color: var(--on-surface-var); line-height: 1.55;
}
.res-habeas-text a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
.res-habeas-text strong { color: var(--on-surface); }

/* Status messages */
.res-msg {
  padding: .9rem 1.1rem; border-radius: .5rem;
  font-size: .82rem; font-weight: 500; margin-bottom: 1rem;
  display: none;
}
.res-msg--ok  { background: #f0fdf4; border: 1px solid #86efac; color: #166534; }
.res-msg--err { background: #fef2f2; border: 1px solid #fca5a5; color: #991b1b; }
.res-msg--err a { color: #991b1b; text-decoration: underline; }

/* Submit button */
.res-submit {
  width: 100%; padding: .95rem 2rem;
  background: var(--primary-container); color: #ffffff;
  font-family: inherit; font-size: .875rem; font-weight: 600;
  border: none; border-radius: .5rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  transition: background .25s, box-shadow .25s, transform .2s;
  box-shadow: 0 2px 8px rgba(201,101,101,.3);
}
.res-submit:hover:not(:disabled) {
  background: var(--tertiary);
  box-shadow: 0 4px 16px rgba(201,101,101,.4);
  transform: translateY(-1px);
}
.res-submit:disabled { opacity: .6; cursor: not-allowed; }

/* Spinner */
.res-btn-spinner {
  width: 15px; height: 15px;
  border: 2px solid rgba(255,255,255,.35);
  border-top-color: #fff; border-radius: 50%;
  display: none;
  animation: resSpin .65s linear infinite;
}
@keyframes resSpin { to { transform: rotate(360deg); } }

/* textarea */
.res-textarea {
  resize: vertical; min-height: 82px; line-height: 1.55;
  font-family: inherit;
}
.res-optional { font-weight: 400; color: var(--outline); }

/* ════════════════════════════════
   RESERVATION MODAL (split layout)
   ════════════════════════════════ */

.rmo-overlay {
  position: fixed; inset: 0; z-index: 2500;
  background: rgba(20,6,8,.65);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 1.25rem;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .35s ease, visibility .35s ease;
}
.rmo-overlay.is-open { opacity: 1; visibility: visible; pointer-events: all; }

.rmo-modal {
  display: grid; grid-template-columns: 260px 1fr;
  max-width: 860px; width: 100%; max-height: 92vh;
  border-radius: 1.25rem; overflow: hidden;
  box-shadow: 0 28px 90px rgba(0,0,0,.4);
  transform: translateY(28px) scale(.97);
  transition: transform .4s cubic-bezier(.16,1,.3,1);
}
.rmo-overlay.is-open .rmo-modal { transform: translateY(0) scale(1); }

/* Left brand panel */
.rmo-panel {
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(181,72,72,.35) 0%, transparent 65%),
    linear-gradient(160deg, #2a0a0e 0%, #3d0f15 45%, #5a1a20 100%);
  padding: 2.25rem 1.75rem 2rem;
  display: flex; flex-direction: column; gap: 0;
  overflow-y: auto;
}
.rmo-logo { width: 72px; height: auto; margin-bottom: 1.5rem; }
.rmo-title {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700; line-height: 1.1; letter-spacing: -.04em;
  color: #fff; margin-bottom: .6rem;
}
.rmo-subtitle {
  font-size: .72rem; font-weight: 500; letter-spacing: .12em;
  text-transform: uppercase; color: rgba(240,188,188,.5);
  margin-bottom: 2rem;
}

.rmo-kiosk-list { display: flex; flex-direction: column; gap: .75rem; margin-bottom: 2rem; }
.rmo-kiosk-item {
  display: flex; align-items: flex-start; gap: .75rem;
  padding: .9rem 1rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(240,188,188,.12); border-radius: .75rem;
}
.rmo-kiosk-item--paid { border-color: rgba(240,188,188,.22); }
.rmo-kiosk-emoji { font-size: 1.3rem; line-height: 1; flex-shrink: 0; margin-top: .05rem; }
.rmo-kiosk-item div { display: flex; flex-direction: column; gap: .15rem; }
.rmo-kiosk-item strong { font-size: .8rem; font-weight: 600; color: rgba(255,255,255,.9); }
.rmo-kiosk-item span { font-size: .72rem; color: rgba(240,188,188,.55); line-height: 1.4; }
.rmo-kiosk-item em {
  font-style: normal; font-size: .7rem; font-weight: 700;
  color: var(--primary-fixed-dim); margin-top: .1rem;
}

.rmo-contact {
  margin-top: auto;
  display: flex; flex-direction: column; gap: .5rem;
}
.rmo-contact a {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .75rem; color: rgba(240,188,188,.55);
  transition: color .2s;
}
.rmo-contact a:hover { color: rgba(240,188,188,.9); }

/* Right form side */
.rmo-form-side {
  background: var(--surface-white);
  overflow-y: auto; position: relative;
  padding: 1.75rem 2rem 2rem;
  display: flex; flex-direction: column;
  scrollbar-width: thin; scrollbar-color: var(--border) transparent;
}
.rmo-form-side::-webkit-scrollbar { width: 4px; }
.rmo-form-side::-webkit-scrollbar-thumb { background: var(--border); border-radius: 99px; }

.rmo-close {
  position: absolute; top: 1rem; right: 1rem;
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  background: var(--surface-container); border: none;
  border-radius: 50%; cursor: pointer; color: var(--on-surface-var);
  transition: background .2s, color .2s; z-index: 2; flex-shrink: 0;
}
.rmo-close:hover { background: var(--primary-fixed); color: var(--primary); }

.rmo-form-title {
  font-size: .68rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--primary);
  margin-bottom: 1.25rem; padding-right: 2.5rem;
}

/* Override res-form inside modal (no card shadow needed) */
.rmo-form { background: none; border: none; padding: 0; box-shadow: none; }

/* Responsive — modal */
@media (max-width: 720px) {
  .rmo-overlay { align-items: flex-end; padding: 0; }
  .rmo-modal {
    grid-template-columns: 1fr;
    border-radius: 1rem 1rem 0 0;
    /* sin max-height aquí — lo controla el hijo directamente */
    max-height: none;
  }
  .rmo-panel { display: none; }
  .rmo-form-side {
    padding: 1.5rem 1.25rem 2.5rem;
    border-radius: 1rem 1rem 0 0;
    /* altura máxima explícita en el hijo = scroll funciona siempre */
    max-height: 92vh;
    max-height: 92dvh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}
@media (max-width: 480px) {
  .res-kiosk-grid { grid-template-columns: 1fr; }
  .res-form-row { grid-template-columns: 1fr; }
}

/* ════════════════════════════════
   FLOATING RESERVE BUTTON
   ════════════════════════════════ */

.float-reserve {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 999;
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .85rem 1.5rem .85rem 1.2rem;
  background: var(--primary-container); color: #fff;
  font-family: inherit; font-size: .82rem; font-weight: 700;
  letter-spacing: .02em;
  border: none; border-radius: 3rem; cursor: pointer;
  box-shadow: 0 4px 20px rgba(181,72,72,.45), 0 1px 4px rgba(0,0,0,.15);
  transition: background .25s, box-shadow .25s, transform .2s;
  animation: floatPulse 3s ease-in-out 2s infinite;
}
.float-reserve:hover {
  background: var(--tertiary);
  box-shadow: 0 6px 28px rgba(181,72,72,.55), 0 2px 6px rgba(0,0,0,.18);
  transform: translateY(-2px);
  animation: none;
}
.float-reserve:active { transform: translateY(0); }
.float-reserve-icon { flex-shrink: 0; }
@keyframes floatPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(181,72,72,.45), 0 1px 4px rgba(0,0,0,.15); }
  50%       { box-shadow: 0 4px 28px rgba(181,72,72,.65), 0 0 0 8px rgba(181,72,72,.1); }
}

@media (max-width: 480px) {
  .float-reserve { bottom: 1.25rem; right: 1.25rem; padding: .8rem 1.25rem .8rem 1rem; font-size: .78rem; }
}

/* ── Small phones (≤480px) ── */
@media (max-width: 480px) {
  /* Hero */
  .hero { min-height: 100svh; }
  .hero-name { font-size: clamp(2.6rem, 12.5vw, 4rem); }
  .hero-content { padding: 0 1.25rem; }
  .hero-eyebrow::before, .hero-eyebrow::after { display: none; }
  .hero-eyebrow { font-size: .6rem; letter-spacing: .16em; }
  .hero-actions { flex-direction: column; align-items: center; gap: .65rem; }
  .btn-solid, .btn-ghost { width: 100%; max-width: 260px; justify-content: center; }
  .hero-loc { bottom: 10rem; }

  /* Section spacing */
  .story { padding-top: 5rem; padding-bottom: 5rem; }
  .story-title { font-size: clamp(1.9rem, 8vw, 2.6rem); }
  .story-stats { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .stat-num { font-size: 2rem; }

  .features { padding-top: 5rem; padding-bottom: 5rem; }
  .features-grid { grid-template-columns: 1fr; }
  .features-header { margin-bottom: 3rem; }

  .menu-section { padding-top: 5rem; padding-bottom: 5rem; }
  .menu-header { margin-bottom: 3rem; }
  .menu-card { padding: 2rem 1.5rem; }

  .gallery-section { padding-bottom: 5rem; }
  .gallery-header { margin-bottom: 2.5rem; }
  .gallery-grid { grid-auto-rows: 220px; }

  .location-section { padding-top: 5rem; padding-bottom: 5rem; }
  .cta-section { padding-top: 5rem; padding-bottom: 5rem; }
  .cta-title { font-size: clamp(2rem, 8vw, 3rem); }

  footer { padding-top: 3.5rem; padding-bottom: 2rem; }

  /* Reviews */
  .reviews-section { padding: 5rem 0; }
  .reviews-inner { padding: 0 1.25rem; }
  .review-card { width: 260px; }
  .reviews-score { font-size: 3.6rem; }
  .reviews-header { margin-bottom: 3rem; }

  /* Story card stack */
  .story-stack { aspect-ratio: 4/5; }

  /* Nav logo size */
  .nav-logo-img { width: 64px; height: 47px; }
}
