/* ============================================================
   MOS CONCEPT · Benidorm · style.css
   Street Food Fusion Restaurant
   ============================================================ */

/* ── VARIABLES ── */
:root {
  --ink:        #0f0d0b;
  --cream:      #f5f0e8;
  --sand:       #e8ddc8;
  --terracotta: #c9623f;
  --gold:       #c8973a;
  --olive:      #4a5240;
  --smoke:      #8c8070;
  --white:      #fdfaf4;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 3rem;
  background: rgba(15,13,11,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(200,151,58,0.2);
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.nav-links { display: flex; gap: 2.4rem; list-style: none; }
.nav-links a {
  color: var(--sand);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color 0.25s;
}
.nav-links a:hover { color: var(--gold); }
.nav-cta {
  background: var(--terracotta) !important;
  color: white !important;
  padding: 0.55rem 1.4rem;
  border-radius: 2px;
}
.nav-cta:hover { background: #b8562f !important; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  background: var(--ink);
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(201,98,63,0.18) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(200,151,58,0.12) 0%, transparent 55%);
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.35;
  pointer-events: none;
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center;
  padding: 0 2rem;
  animation: fadeUp 1.1s ease both;
}
.hero-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  font-weight: 500;
}
.hero-subtitle {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  color: var(--smoke);
  margin: 1.8rem 0 3rem;
  font-weight: 400;
}
.hero-cta {
  display: inline-flex; align-items: center; gap: 0.8rem;
  background: var(--terracotta);
  color: white;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 1.1rem 2.8rem;
  border-radius: 2px;
  transition: background 0.25s, transform 0.2s;
}
.hero-cta:hover { background: #b8562f; transform: translateY(-2px); }
.hero-scroll {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  color: var(--smoke);
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 0.7rem;
  animation: pulse 2.5s infinite;
}
.hero-scroll::after {
  content: '';
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--smoke), transparent);
}

/* ── ABOUT ── */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
}
.about-image {
  background: var(--ink);
  position: relative;
  overflow: hidden;
  min-height: 520px;
}
.about-image-inner {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #1a1208 0%, #2d1f0e 50%, #1a1208 100%);
  display: flex; align-items: center; justify-content: center;
}
.about-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.75;
  position: absolute; inset: 0;
}
.about-visual {
  width: 220px; height: 220px;
  border-radius: 50%;
  background: conic-gradient(from 0deg,
    var(--terracotta) 0%, var(--gold) 25%,
    var(--olive) 50%, var(--terracotta) 75%, var(--gold) 100%
  );
  opacity: 0.35;
  filter: blur(40px);
}
.about-label {
  position: absolute; bottom: 3rem; left: 3rem;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 8rem;
  color: rgba(245,240,232,0.06);
  line-height: 1;
  user-select: none;
  z-index: 2;
}
.about-text {
  background: var(--white);
  padding: 6rem 5rem;
  display: flex; flex-direction: column; justify-content: center;
}
.section-label {
  font-size: 0.68rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 500;
  margin-bottom: 1.4rem;
}
.about-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.2;
  margin-bottom: 1.8rem;
  font-weight: 700;
}
.about-text p {
  color: var(--smoke);
  line-height: 1.85;
  font-size: 1rem;
  margin-bottom: 1.2rem;
  font-weight: 300;
}
.about-stats {
  display: flex; gap: 3rem; margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--sand);
}
.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem;
  color: var(--terracotta);
  line-height: 1;
}
.stat-label {
  font-size: 0.72rem;
  color: var(--smoke);
  letter-spacing: 0.1em;
  margin-top: 0.3rem;
  text-transform: uppercase;
}

/* ── MENU SECTION ── */
.menu-section {
  background: var(--ink);
  padding: 8rem 4rem;
  position: relative;
  overflow: hidden;
}
.menu-section::before {
  content: 'CARTA';
  position: absolute; top: -2rem; right: -1rem;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18rem;
  color: rgba(255,255,255,0.02);
  user-select: none;
  pointer-events: none;
}
.menu-header { text-align: center; margin-bottom: 5rem; }
.menu-header h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 7vw, 6rem);
  color: var(--cream);
  letter-spacing: 0.06em;
}
.menu-header h2 em {
  color: var(--gold);
  font-style: italic;
  font-family: 'Playfair Display', serif;
}
.menu-tabs {
  display: flex; justify-content: center; gap: 0; margin-bottom: 4rem;
  border: 1px solid rgba(200,151,58,0.25);
  border-radius: 3px;
  width: fit-content; margin: 0 auto 4rem;
  overflow: hidden;
}
.tab-btn {
  background: transparent;
  border: none; cursor: pointer;
  padding: 0.85rem 2.2rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--smoke);
  transition: all 0.25s;
  border-right: 1px solid rgba(200,151,58,0.25);
}
.tab-btn:last-child { border-right: none; }
.tab-btn.active, .tab-btn:hover { background: var(--terracotta); color: white; }
.menu-panel { display: none; }
.menu-panel.active { display: block; animation: fadeIn 0.4s ease; }
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2px;
  max-width: 1200px; margin: 0 auto;
}
.menu-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 2rem 2.2rem;
  transition: background 0.25s, border-color 0.25s;
  position: relative;
}
.menu-card:hover {
  background: rgba(201,98,63,0.08);
  border-color: rgba(201,98,63,0.25);
}
.menu-card-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 0.8rem; gap: 1rem;
}
.menu-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--cream);
  font-weight: 700;
  line-height: 1.3;
}
.menu-card .price {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.3rem;
  color: var(--gold);
  white-space: nowrap;
}
.menu-card p {
  font-size: 0.85rem;
  color: var(--smoke);
  line-height: 1.7;
  font-weight: 300;
}
.menu-card .tag {
  display: inline-block;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terracotta);
  border: 1px solid rgba(201,98,63,0.4);
  padding: 0.2rem 0.6rem;
  border-radius: 1px;
  margin-bottom: 0.8rem;
}

/* ── DRINKS ── */
.drinks-section {
  background: var(--white);
  padding: 8rem 4rem;
}
.drinks-header { text-align: center; margin-bottom: 5rem; }
.drinks-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.15;
  color: var(--ink);
}
.drinks-header h2 strong {
  font-family: 'Bebas Neue', sans-serif;
  font-style: normal;
  color: var(--terracotta);
  font-size: clamp(3rem, 6vw, 5.5rem);
}
.drinks-cols {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 4rem;
  max-width: 1100px; margin: 0 auto;
}
.drinks-col h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.12em;
  color: var(--ink);
  margin-bottom: 0.3rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--terracotta);
}
.drink-item {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  gap: 1rem;
}
.drink-name {
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.4;
}
.drink-name small {
  display: block;
  font-size: 0.75rem;
  color: var(--smoke);
  font-weight: 300;
  margin-top: 0.15rem;
}
.drink-price {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  color: var(--gold);
  white-space: nowrap;
}

/* ── WINES ── */
.wines-section {
  background: var(--ink);
  padding: 8rem 4rem;
  position: relative; overflow: hidden;
}
.wines-section::after {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 40%; height: 100%;
  background: linear-gradient(to left, rgba(201,98,63,0.06), transparent);
  pointer-events: none;
}
.wines-inner { max-width: 1100px; margin: 0 auto; }
.wines-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 4rem; gap: 2rem;
}
.wines-header h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 6vw, 5rem);
  color: var(--cream);
  letter-spacing: 0.06em;
  line-height: 1;
}
.wines-header h2 span { color: var(--terracotta); }
.wines-header p {
  color: var(--smoke);
  font-size: 0.9rem;
  max-width: 320px;
  line-height: 1.7;
  text-align: right;
}
.wines-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
.wine-category h3 {
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.wine-item {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  gap: 1rem;
}
.wine-name {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  color: var(--cream);
  margin-bottom: 0.2rem;
}
.wine-region {
  font-size: 0.72rem;
  color: var(--smoke);
  letter-spacing: 0.06em;
}
.wine-price {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.15rem;
  color: var(--gold);
  white-space: nowrap;
}

/* ── INFO STRIP ── */
.info-strip {
  background: var(--terracotta);
  padding: 5rem 4rem;
}
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1000px; margin: 0 auto;
  text-align: center;
}
.info-block h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.65);
  margin-bottom: 0.6rem;
}
.info-block p { font-size: 1rem; color: white; line-height: 1.7; }
.info-block a { color: white; text-decoration: underline; text-underline-offset: 3px; }

/* ── GALLERY / INSTAGRAM / MAPS ── */
.gallery {
  background: var(--cream);
  padding: 8rem 4rem;
}
.gallery-header { text-align: center; margin-bottom: 3rem; }
.gallery-header h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  color: var(--ink);
  letter-spacing: 0.05em;
}
.insta-embed-wrap { max-width: 1100px; margin: 0 auto 5rem; }
.snapwidget-widget { display: block; }
.insta-posts-manual {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  margin-bottom: 2rem;
}
.insta-post-link { text-decoration: none; display: block; }
.insta-post-card {
  border-radius: 3px;
  overflow: hidden;
  background: var(--ink);
  transition: transform 0.2s, box-shadow 0.2s;
}
.insta-post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.insta-post-img {
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem;
}
.insta-post-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.insta-post-caption {
  padding: 0.6rem 0.8rem;
  font-size: 0.72rem;
  color: var(--smoke);
  letter-spacing: 0.03em;
  line-height: 1.4;
  background: rgba(15,13,11,0.95);
  border-top: 1px solid rgba(255,255,255,0.05);
}
.insta-cta-btn {
  display: inline-flex; align-items: center;
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
  color: white;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  border-radius: 3px;
  transition: opacity 0.2s, transform 0.2s;
  margin: 0 0.5rem 0.5rem;
}
.insta-cta-btn:hover { opacity: 0.88; transform: translateY(-2px); }
.maps-cta-btn {
  display: inline-flex; align-items: center;
  background: var(--ink);
  color: var(--cream);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  border-radius: 3px;
  border: 1px solid rgba(0,0,0,0.15);
  transition: background 0.2s, transform 0.2s;
  margin: 0 0.5rem 0.5rem;
}
.maps-cta-btn:hover { background: #2a2520; transform: translateY(-2px); }
.maps-section { max-width: 1100px; margin: 0 auto; }
.maps-header { text-align: center; margin-bottom: 1.8rem; }
.maps-header h3 {
  font-size: 1rem;
  font-weight: 400;
  color: var(--smoke);
  letter-spacing: 0.06em;
  margin-top: 0.4rem;
}
.maps-embed-wrap {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.12);
}
.maps-actions { text-align: center; margin-top: 1.5rem; }
.maps-dir-btn {
  display: inline-block;
  background: var(--terracotta);
  color: white;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.9rem 2.5rem;
  border-radius: 2px;
  transition: background 0.2s, transform 0.2s;
}
.maps-dir-btn:hover { background: #b8562f; transform: translateY(-2px); }

/* ── FOOTER ── */
footer {
  background: #080604;
  padding: 5rem 4rem 2.5rem;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem; padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-brand .logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3.5rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  line-height: 1;
  margin-bottom: 1rem;
}
.footer-brand p {
  color: var(--smoke);
  font-size: 0.88rem;
  line-height: 1.75;
  font-style: italic;
  font-family: 'Playfair Display', serif;
  font-weight: 400;
}
.footer-col h4 {
  font-size: 0.65rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.4rem;
}
.footer-col ul { list-style: none; }
.footer-col li {
  font-size: 0.88rem;
  color: var(--smoke);
  padding: 0.35rem 0;
  line-height: 1.6;
}
.footer-col a { color: var(--smoke); text-decoration: none; }
.footer-col a:hover { color: var(--cream); }
.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 2rem;
  font-size: 0.75rem;
  color: rgba(140,128,112,0.5);
  letter-spacing: 0.08em;
}
.social-links { display: flex; gap: 1.5rem; }
.social-links a {
  color: var(--smoke);
  text-decoration: none;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.social-links a:hover { color: var(--gold); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .about { grid-template-columns: 1fr; }
  .about-image { min-height: 300px; }
  .about-text { padding: 4rem 2rem; }
  .drinks-cols { grid-template-columns: 1fr; }
  .wines-grid { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; text-align: left; }
  .footer-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .insta-posts-manual { grid-template-columns: repeat(3, 1fr); }
  .gallery { padding: 5rem 1.5rem; }
  .wines-header { flex-direction: column; align-items: flex-start; }
  .wines-header p { text-align: left; }
  .menu-section, .drinks-section, .wines-section { padding: 5rem 1.5rem; }
  .menu-tabs { flex-wrap: wrap; }
}
@media (max-width: 500px) {
  .hero-content { padding: 0 1rem; }
  .hero-eyebrow { font-size: 0.62rem; letter-spacing: 0.24em; }
  .insta-posts-manual { grid-template-columns: repeat(2, 1fr); }
  .about-stats { flex-direction: column; gap: 1.5rem; }
}

/* MOS dynamic menu and CSP-safe utility classes */
.section-label-gold { color: var(--gold); }
.footer-spaced { margin-top: 1rem; }
.gallery-subtitle { color: var(--smoke); font-size: 0.9rem; margin-top: 0.8rem; font-weight: 300; }
.gallery-actions { text-align: center; margin-top: 2.5rem; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.empty-menu { color: var(--smoke); padding: 2rem; text-align: center; grid-column: 1 / -1; }
.fallback-bg-1 { background: linear-gradient(135deg,#1a120a,#3a1f10); }
.fallback-bg-2 { background: linear-gradient(135deg,#0f1a0a,#1e2d10); }
.fallback-bg-3 { background: linear-gradient(135deg,#1a0e0e,#2d1a10); }
.fallback-bg-4 { background: linear-gradient(135deg,#150f1a,#2a1530); }
.fallback-bg-5 { background: linear-gradient(135deg,#1a1208,#2d1f0e); }
.fallback-bg-6 { background: linear-gradient(135deg,#0a1015,#101e28); }
.maps-embed-wrap iframe { border: 0; filter: grayscale(20%) contrast(1.05); display: block; }
.legal-page { min-height: 70vh; padding: 10rem 1.5rem 5rem; background: var(--ink); color: var(--cream); }
.legal-card { max-width: 900px; margin: 0 auto; padding: 2.5rem; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.035); }
.legal-card h1 { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 5vw, 4rem); margin: .5rem 0 2rem; }
.legal-card p { line-height: 1.8; margin: 0 0 1rem; color: var(--smoke); }
.legal-card a { color: var(--gold); }
@media (max-width: 700px) {
  .gallery-actions { align-items: stretch; }
  .gallery-actions a { width: 100%; text-align: center; }
}
.menu-card-image {
  display: block;
  width: calc(100% + 3rem);
  max-width: none;
  height: 190px;
  margin: -1.5rem -1.5rem 1.25rem;
  object-fit: cover;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.menu-card-featured { border-color: rgba(200,155,60,.5); }



/* ============================================================
   MOS · Identidad tipográfica y carta continua
   ============================================================ */
.brand-wordmark {
  font-family: 'Shrikhand', 'Cooper Black', 'Bookman Old Style', serif;
  font-weight: 400;
  text-transform: lowercase;
  line-height: 0.9;
  letter-spacing: -0.055em;
  color: #170d07;
  text-shadow:
    0 0 7px rgba(247, 229, 198, 0.95),
    0 0 15px rgba(220, 184, 128, 0.7),
    0 0 28px rgba(191, 139, 75, 0.3);
}

.brand-wordmark-nav {
  display: block;
  font-size: 2.75rem;
  color: #120a06;
  white-space: nowrap;
}

.brand-wordmark-hero {
  margin: 0 auto;
  font-size: clamp(7rem, 18vw, 14rem);
  color: #160c07;
}

.food-categories-list {
  display: grid;
  gap: clamp(4.5rem, 8vw, 7.5rem);
  max-width: 1200px;
  margin: 0 auto;
}

.food-category-block {
  scroll-margin-top: 7rem;
}

.food-category-header {
  display: grid;
  gap: 0.65rem;
  max-width: 760px;
  margin: 0 0 2rem;
  padding-left: 1.25rem;
  border-left: 3px solid var(--terracotta);
}

.food-category-kicker {
  color: var(--gold);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.food-category-header h3 {
  color: var(--cream);
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.05;
}

.food-category-header p:last-child {
  color: var(--smoke);
  font-size: 0.92rem;
  line-height: 1.65;
}

.food-category-block .menu-grid {
  margin: 0;
}

.menu-card h4 {
  color: var(--cream);
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
}

/* Los controles de pestañas ya no se utilizan. */
.menu-tabs,
.menu-panel {
  display: none !important;
}

@media (max-width: 900px) {
  .brand-wordmark-nav {
    font-size: 2.25rem;
  }

  .brand-wordmark-hero {
    font-size: clamp(6rem, 22vw, 10rem);
  }

  .food-categories-list {
    gap: 5rem;
  }
}

@media (max-width: 640px) {
  .menu-section {
    padding: 4.25rem 1rem;
  }

  .menu-header {
    margin-bottom: 3.25rem;
  }

  .brand-wordmark-nav {
    font-size: 2rem;
  }

  .brand-wordmark-hero {
    font-size: clamp(4.8rem, 26vw, 7rem);
  }

  .food-categories-list {
    gap: 4.25rem;
  }

  .food-category-header {
    margin-bottom: 1.35rem;
    padding-left: 0.9rem;
  }

  .food-category-header h3 {
    font-size: clamp(1.85rem, 10vw, 2.55rem);
  }

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

  .menu-card {
    padding: 1.25rem 1.15rem;
    border-radius: 8px;
  }

  .menu-card-header {
    gap: 0.75rem;
  }

  .menu-card h4 {
    font-size: 1.02rem;
  }

  .menu-card .price {
    font-size: 1.15rem;
  }

  .menu-card p {
    font-size: 0.82rem;
    line-height: 1.6;
  }

  .menu-card-image {
    width: calc(100% + 2.3rem);
    height: 170px;
    margin: -1.25rem -1.15rem 1rem;
    border-radius: 8px 8px 0 0;
  }
}


/* ============================================================
   CARTA DE ALÉRGENOS
   ============================================================ */
.allergen-controls {
  display: flex;
  justify-content: center;
  margin: 2rem auto 1.5rem;
}

.allergen-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 42px;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(200, 151, 58, 0.48);
  border-radius: 999px;
  color: var(--sand);
  background: rgba(255, 255, 255, 0.04);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.allergen-toggle:hover {
  transform: translateY(-1px);
  border-color: var(--gold);
  background: rgba(200, 151, 58, 0.12);
}

.allergen-toggle-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--smoke);
  box-shadow: 0 0 0 4px rgba(140, 128, 112, 0.12);
}

.allergen-toggle[aria-pressed="true"] .allergen-toggle-dot {
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(200, 151, 58, 0.18);
}

.allergen-legend {
  max-width: 1180px;
  margin: 0 auto 3rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid rgba(200, 151, 58, 0.22);
  background: rgba(255, 255, 255, 0.035);
}

.allergen-legend[hidden] {
  display: none;
}

.allergen-legend-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.allergen-legend-heading h3 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--cream);
}

.allergen-legend-heading > p {
  max-width: 34rem;
  color: var(--smoke);
  line-height: 1.6;
}

.allergen-legend-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.8rem;
}

.allergen-legend-item {
  min-width: 0;
  padding: 0.85rem 0.65rem;
  text-align: center;
  border: 1px solid rgba(245, 240, 232, 0.1);
  background: rgba(15, 13, 11, 0.35);
}

.allergen-legend-icon {
  display: block;
  width: 62px;
  height: 62px;
  margin: 0 auto 0.65rem;
  object-fit: contain;
}

.allergen-legend-item strong {
  display: block;
  color: var(--cream);
  font-size: 0.78rem;
  line-height: 1.2;
}

.allergen-legend-item span {
  display: none;
}

.allergen-note {
  margin-top: 1.25rem;
  color: var(--smoke);
  font-size: 0.78rem;
  line-height: 1.6;
  text-align: center;
}

.product-allergens {
  display: none;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.75rem;
}

.allergens-visible .product-allergens {
  display: flex;
}

.product-allergen-icon {
  display: block;
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.22));
}

.drink-name .product-allergens,
.wine-info .product-allergens {
  margin-top: 0.45rem;
}

@media (max-width: 980px) {
  .allergen-legend-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .allergen-legend-heading {
    display: block;
  }

  .allergen-legend-heading > p {
    margin-top: 0.75rem;
  }

  .allergen-legend-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .allergen-legend-icon {
    width: 54px;
    height: 54px;
  }

  .product-allergen-icon {
    width: 28px;
    height: 28px;
  }
}


/* ============================================================
   FIX DEFINITIVO PRECIO DOBLE EN TOSTAS
   ============================================================ */

.menu-card-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: start;
  gap: 1rem;
}

.menu-card-header h3,
.menu-card-header h4 {
  min-width: 0;
  max-width: 100%;
}

.menu-card-header .price {
  display: inline-block;
  min-width: max-content;
  max-width: none;
  text-align: right;
  line-height: 1.15;
  white-space: nowrap;
}

.menu-card-header .price-stack {
  display: inline-flex !important;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 0.18rem;
  min-width: max-content;
  max-width: none;
  white-space: nowrap !important;
}

.menu-card-header .price-stack span {
  display: block;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .menu-card-header {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .menu-card-header .price,
  .menu-card-header .price-stack {
    align-items: flex-start;
    text-align: left;
  }
}


/* ============================================================
   VIDEO DE FONDO EN PORTADA
   ============================================================ */

.hero {
  isolation: isolate;
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--ink);
  filter: saturate(0.92) contrast(1.05);
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 48% at 50% 42%, rgba(15, 13, 11, 0.28), rgba(15, 13, 11, 0.68) 72%, rgba(15, 13, 11, 0.9)),
    linear-gradient(to bottom, rgba(15, 13, 11, 0.58), rgba(15, 13, 11, 0.42), rgba(15, 13, 11, 0.88));
}

.hero-bg {
  z-index: 1;
}

.hero-content,
.hero-scroll {
  z-index: 2;
}

.hero-has-video .hero-bg {
  opacity: 0.42;
}

@media (prefers-reduced-motion: reduce) {
  .hero-video-bg {
    display: none;
  }

  .hero-has-video .hero-bg {
    opacity: 1;
  }
}

@media (max-width: 640px) {
  .hero-video-overlay {
    background:
      radial-gradient(ellipse 90% 45% at 50% 42%, rgba(15, 13, 11, 0.2), rgba(15, 13, 11, 0.74) 72%, rgba(15, 13, 11, 0.94)),
      linear-gradient(to bottom, rgba(15, 13, 11, 0.66), rgba(15, 13, 11, 0.48), rgba(15, 13, 11, 0.92));
  }
}


/* ============================================================
   RESERVAS PÚBLICAS
   ============================================================ */
.info-reservation-link {
  display: inline-block;
  margin-bottom: 0.35rem;
  font-weight: 700;
}

.reservation-page {
  min-height: 100vh;
  background: var(--cream);
}

.reservation-hero {
  padding: 10rem 1.5rem 5rem;
  color: var(--cream);
  background:
    radial-gradient(circle at 75% 20%, rgba(201, 98, 63, 0.22), transparent 40%),
    radial-gradient(circle at 20% 80%, rgba(200, 151, 58, 0.14), transparent 42%),
    var(--ink);
}

.reservation-hero-inner {
  width: min(1100px, 100%);
  margin: 0 auto;
  text-align: center;
}

.reservation-hero h1 {
  margin: 0;
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 7vw, 6rem);
  line-height: 1;
}

.reservation-brand {
  display: inline-block;
  margin-left: 0.18em;
  font-size: 1.25em;
  vertical-align: -0.08em;
}

.reservation-hero p:last-child {
  max-width: 700px;
  margin: 1.5rem auto 0;
  color: var(--sand);
  line-height: 1.75;
}

.reservation-content {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 4rem 0 7rem;
}

.reservation-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.75fr);
  gap: 2rem;
  align-items: start;
}

.reservation-form-card,
.reservation-info-card,
.reservation-success-card {
  border: 1px solid rgba(15, 13, 11, 0.1);
  background: var(--white);
  box-shadow: 0 22px 60px rgba(15, 13, 11, 0.1);
}

.reservation-form-card {
  padding: clamp(1.3rem, 4vw, 2.7rem);
}

.reservation-info-card {
  position: sticky;
  top: 6.5rem;
  padding: 2rem;
  color: var(--cream);
  background: var(--ink);
}

.reservation-card-heading h2,
.reservation-info-card h2,
.reservation-success-card h2 {
  margin: 0 0 1.5rem;
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.reservation-form {
  display: grid;
  gap: 1.4rem;
}

.reservation-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.reservation-form label {
  display: grid;
  gap: 0.45rem;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
}

.reservation-form input,
.reservation-form select,
.reservation-form textarea {
  width: 100%;
  border: 1px solid rgba(15, 13, 11, 0.2);
  border-radius: 3px;
  padding: 0.9rem 0.95rem;
  color: var(--ink);
  background: #fff;
  outline: none;
}

.reservation-form input:focus,
.reservation-form select:focus,
.reservation-form textarea:focus {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(201, 98, 63, 0.12);
}

.reservation-form textarea {
  resize: vertical;
}

.reservation-span-2 {
  grid-column: 1 / -1;
}

.reservation-optional {
  color: var(--smoke);
  font-weight: 400;
}

.reservation-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.reservation-availability {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 48px;
  padding: 0.85rem 1rem;
  border: 1px solid var(--sand);
  background: rgba(232, 221, 200, 0.35);
  color: var(--smoke);
  font-size: 0.84rem;
}

.reservation-availability a {
  color: inherit;
  font-weight: 800;
}

.reservation-availability-available {
  color: #246b4a;
  border-color: rgba(36, 107, 74, 0.3);
  background: rgba(69, 196, 134, 0.1);
}

.reservation-availability-full,
.reservation-availability-error {
  color: #8a3030;
  border-color: rgba(138, 48, 48, 0.28);
  background: rgba(227, 107, 107, 0.1);
}

.reservation-availability-loading {
  color: #75601f;
  border-color: rgba(200, 151, 58, 0.32);
  background: rgba(200, 151, 58, 0.1);
}

.reservation-privacy-check {
  display: grid !important;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.75rem !important;
  color: var(--smoke) !important;
  font-weight: 400 !important;
  line-height: 1.6;
}

.reservation-privacy-check input {
  width: 18px;
  height: 18px;
  margin-top: 0.2rem;
  accent-color: var(--terracotta);
}

.reservation-privacy-check a {
  color: var(--terracotta);
}

.reservation-submit,
.reservation-primary-button,
.reservation-secondary-button,
.reservation-whatsapp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border: 0;
  border-radius: 2px;
  padding: 0.9rem 1.4rem;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.reservation-submit,
.reservation-primary-button {
  color: white;
  background: var(--terracotta);
}

.reservation-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.reservation-secondary-button {
  color: var(--ink);
  border: 1px solid var(--ink);
  background: transparent;
}

.reservation-whatsapp-button {
  width: 100%;
  margin-top: 1.2rem;
  color: white;
  background: #1f9d5a;
}

.reservation-info-card ul {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding-left: 1.2rem;
  color: var(--sand);
  line-height: 1.55;
}

.reservation-alert {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
  padding: 1rem 1.1rem;
  border: 1px solid;
  line-height: 1.55;
}

.reservation-alert-error {
  color: #7d2d2d;
  border-color: rgba(227, 107, 107, 0.45);
  background: rgba(227, 107, 107, 0.1);
}

.reservation-alert-info {
  color: #67551d;
  border-color: rgba(200, 151, 58, 0.45);
  background: rgba(200, 151, 58, 0.1);
}

.reservation-alert a {
  color: inherit;
  font-weight: 800;
}

.reservation-success-card {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(1.5rem, 5vw, 3rem);
  text-align: center;
}

.reservation-success-mark {
  display: grid;
  width: 68px;
  height: 68px;
  margin: 0 auto 1.2rem;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: #2f9668;
  font-size: 2rem;
  font-weight: 900;
}

.reservation-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 2rem 0;
  background: var(--sand);
}

.reservation-summary div {
  padding: 1rem;
  background: var(--white);
}

.reservation-summary dt {
  color: var(--smoke);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.reservation-summary dd {
  margin: 0.35rem 0 0;
  font-weight: 800;
}

.reservation-public-status {
  display: inline-block;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
}

.reservation-public-status.status-pending {
  color: #7a5d0e;
  background: rgba(200, 151, 58, 0.16);
}

.reservation-success-actions {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

@media (max-width: 850px) {
  .reservation-layout {
    grid-template-columns: 1fr;
  }

  .reservation-info-card {
    position: static;
  }
}

@media (max-width: 600px) {
  .reservation-hero {
    padding-top: 8rem;
  }

  .reservation-content {
    width: min(100% - 1rem, 1180px);
    padding-top: 1.5rem;
  }

  .reservation-form-grid,
  .reservation-summary {
    grid-template-columns: 1fr;
  }

  .reservation-span-2 {
    grid-column: auto;
  }

  .reservation-availability {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Accesos rápidos a reservas. */
.nav-mobile-reserve {
  display: none;
  color: white;
  background: var(--terracotta);
  padding: 0.55rem 0.9rem;
  border-radius: 2px;
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hero-cta-secondary {
  color: var(--cream);
  border: 1px solid rgba(245,240,232,.45);
  background: rgba(15,13,11,.35);
}

.hero-cta-secondary:hover {
  background: rgba(245,240,232,.12);
}

@media (max-width: 900px) {
  .nav-mobile-reserve { display: inline-flex; }
}

@media (max-width: 500px) {
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .hero-cta { width: min(100%, 300px); margin: 0 auto; }
}
