/* ===== VARIABLES (TEMA MARINO) ===== */
:root {
  --bg: #f5faff;
  --paper: #ffffff;
  --ink: #0a2f44;
  --muted: #4a6a7a;
  --red: #b03a2e;
  --red2: #c74724;
  --orange: #f2a128;
  --cream: #ffe2b0;
  --wood: #6d321d;
  --green: #1a6b8a;
  --line: rgba(10, 47, 68, 0.12);
  --shadow: 0 24px 70px rgba(10, 47, 68, 0.18);
  --radius: 28px;
  --font-title: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
}

/* ===== RESET Y BASE ===== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
.container {
  width: min(1180px, 92%);
  margin-inline: auto;
}
.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  background: #fff;
  padding: 10px 14px;
  border-radius: 12px;
  z-index: 999;
}
.skip-link:focus { left: 10px; }

/* ===== TOPBAR ===== */
.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: rgba(10, 47, 68, 0.9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.nav {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
}
.brand-icon svg {
  width: 48px;
  height: 48px;
}
.brand strong {
  display: block;
  line-height: 1;
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  font-family: var(--font-title);
  font-weight: 700;
}
.brand small {
  display: block;
  color: #b8d4e6;
  font-size: clamp(0.6rem, 1.5vw, 0.75rem);
  margin-top: 3px;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  font-weight: 850;
}
.nav-menu a { opacity: 0.92; transition: color 0.2s; }
.nav-menu a:hover { color: #ffd38a; }
.mini-cta {
  background: #fff;
  color: var(--ink) !important;
  border-radius: 999px;
  padding: 10px 16px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s;
}
.mini-cta:hover { transform: scale(1.05); }
.nav-toggle {
  display: none;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 12px;
  padding: 7px 11px;
  font-size: 1.4rem;
  cursor: pointer;
}

/* ===== HERO CON OLAS Y BURBUJAS ===== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0a2f44;
}
.hero-waves {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.hero-waves svg {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 60%;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 47, 68, 0.95), rgba(10, 47, 68, 0.72) 45%, rgba(10, 47, 68, 0.16)),
              radial-gradient(circle at 82% 28%, rgba(242, 161, 40, 0.28), transparent 32%);
  z-index: 1;
}
.bubbles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.bubbles span {
  position: absolute;
  bottom: -50px;
  width: 20px;
  height: 20px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  animation: rise 12s infinite ease-in-out;
}
.bubbles span:nth-child(1) { left: 5%; animation-duration: 14s; width: 30px; height: 30px; }
.bubbles span:nth-child(2) { left: 15%; animation-duration: 18s; width: 15px; height: 15px; }
.bubbles span:nth-child(3) { left: 25%; animation-duration: 11s; width: 25px; height: 25px; }
.bubbles span:nth-child(4) { left: 35%; animation-duration: 16s; width: 18px; height: 18px; }
.bubbles span:nth-child(5) { left: 45%; animation-duration: 13s; width: 28px; height: 28px; }
.bubbles span:nth-child(6) { left: 55%; animation-duration: 19s; width: 12px; height: 12px; }
.bubbles span:nth-child(7) { left: 65%; animation-duration: 15s; width: 22px; height: 22px; }
.bubbles span:nth-child(8) { left: 75%; animation-duration: 17s; width: 16px; height: 16px; }
.bubbles span:nth-child(9) { left: 85%; animation-duration: 12s; width: 26px; height: 26px; }
.bubbles span:nth-child(10) { left: 95%; animation-duration: 20s; width: 20px; height: 20px; }

@keyframes rise {
  0% { transform: translateY(0) scale(1); opacity: 0.6; }
  100% { transform: translateY(-120vh) scale(0.3); opacity: 0; }
}
/* Ocultar burbujas en móvil para mejorar rendimiento */
@media (max-width: 768px) {
  .bubbles { display: none; }
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.08fr 0.72fr;
  gap: 42px;
  align-items: center;
  padding-top: 90px;
  color: #fff;
}
.eyebrow {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: clamp(0.65rem, 1.5vw, 0.78rem);
  font-weight: 950;
  color: #ffd18b;
}
.eyebrow.dark {
  display: inline-block;
  padding: 16px 40px 14px 40px;
  border-radius: 50px;
  background: #eaf4fa;
  color: #0a2f44;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: clamp(0.8rem, 2vw, 0.95rem);
  border: 2px solid #1a6b8a;
  border-bottom: 6px solid #1a6b8a;
  box-shadow: 0 8px 24px rgba(26, 107, 138, 0.12);
  margin-bottom: 24px;
  position: relative;
  transition: all 0.3s ease;
}
.eyebrow.dark::before {
  content: '✦ ';
  font-size: 1.3rem;
  color: #c74724;
  opacity: 0.8;
}
.eyebrow.dark::after {
  content: '';
  position: absolute;
  bottom: -14px;
  left: 15%;
  width: 70%;
  height: 4px;
  background: repeating-linear-gradient(90deg, #c74724, #c74724 10px, transparent 10px, transparent 16px);
  border-radius: 4px;
  opacity: 0.6;
}
.eyebrow.dark:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(26, 107, 138, 0.2);
  border-bottom-width: 8px;
  border-color: #c74724;
}

h1, h2, h3 {
  line-height: 1.04;
  margin: 0 0 16px;
  font-family: var(--font-title);
}
h1 {
  font-size: clamp(2.8rem, 7.4vw, 6.8rem);
  letter-spacing: -0.07em;
  max-width: 900px;
}
h2 {
  font-size: clamp(2rem, 4.7vw, 4rem);
  letter-spacing: -0.055em;
}
.lead {
  font-size: clamp(1rem, 2vw, 1.28rem);
  max-width: 720px;
  color: #d6e6f0;
  margin: 0 0 30px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 14px 23px;
  font-weight: 950;
  transition: all 0.22s ease;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  min-height: 48px;
}
.btn:hover { transform: translateY(-2px); }
.primary {
  background: linear-gradient(135deg, #ffce7c, var(--orange));
  color: #251006;
  box-shadow: 0 18px 44px rgba(242, 161, 40, 0.32);
}
.primary:hover {
  box-shadow: 0 24px 60px rgba(242, 161, 40, 0.5);
}
.secondary {
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.secondary:hover { background: rgba(255, 255, 255, 0.2); }

.hero-card {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 34px;
  padding: 16px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  transform: rotate(1deg);
  transition: transform 0.3s;
}
.hero-card:hover { transform: rotate(0deg) scale(1.02); }
.hero-card img {
  height: 470px;
  width: 100%;
  object-fit: cover;
  border-radius: 24px;
}
.hero-card-body {
  padding: 18px 10px 6px;
  position: relative;
}
.hero-card-body p { margin: 0; color: #d6e6f0; }
.hero-card-body strong { font-size: clamp(1.5rem, 3vw, 1.9rem); font-family: var(--font-title); }
.hero-card-body small { display: block; color: #c8dce8; }
.live-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #5bff87;
  position: absolute;
  right: 14px;
  top: 22px;
  box-shadow: 0 0 0 8px rgba(91, 255, 135, 0.13);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(91, 255, 135, 0.3); }
  50% { box-shadow: 0 0 0 12px rgba(91, 255, 135, 0); }
  100% { box-shadow: 0 0 0 0 rgba(91, 255, 135, 0); }
}

/* ===== SECCIONES ===== */
.section { padding: clamp(60px, 8vh, 94px) 0; }

/* ===== PLATILLOS DESTACADOS ===== */
.dishes { background: linear-gradient(180deg, #f5faff, #d6e8f2); }
.dish-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-auto-rows: 245px;
  gap: 18px;
}
.dish-card {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: #111;
  box-shadow: 0 20px 52px rgba(10, 47, 68, 0.2);
  min-height: 220px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.dish-card:hover { transform: translateY(-6px); box-shadow: 0 30px 70px rgba(10, 47, 68, 0.3); }
.dish-card.big { grid-row: span 2; }
.dish-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.28s ease;
}
.dish-card:hover img { transform: scale(1.045); }
.dish-card:after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10, 47, 68, 0.88), transparent 55%);
}
.dish-card div {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  z-index: 2;
  color: #fff;
}
.dish-card p {
  margin: 0 0 3px;
  color: #ffd595;
  text-transform: uppercase;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  font-weight: 950;
}
.dish-card h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); margin-bottom: 6px; }
.dish-card .btn-order {
  display: inline-block;
  padding: 8px 20px;
  background: var(--orange);
  color: #251006;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(242, 161, 40, 0.25);
  text-decoration: none;
}
.dish-card .btn-order:hover {
  transform: translateY(-2px);
  background: #1a6b8a;
  color: #fff;
  box-shadow: 0 8px 20px rgba(26, 107, 138, 0.3);
}

/* ===== VISTA PREVIA DEL MENÚ ===== */
.menu-section { background: var(--ink); padding: clamp(60px, 10vh, 120px) 0; }
.menu-preview-card {
  width: min(760px, 100%);
  margin: auto;
  background: #eaf4fa;
  border-radius: 34px;
  padding: clamp(30px, 5vw, 60px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
  text-align: center;
}
.menu-label {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  background: #fff2dc;
  color: #1a6b8a;
  font-weight: 900;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  margin-bottom: 22px;
}
.menu-preview-card h2 { color: var(--ink); font-size: clamp(2rem, 4vw, 2.6rem); margin-bottom: 16px; }
.menu-description {
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 46px;
  line-height: 1.7;
}
.preview-items { display: flex; flex-direction: column; gap: 18px; }
.preview-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.preview-info { text-align: left; }
.preview-info h3 { margin: 0; color: var(--ink); font-size: clamp(1rem, 2vw, 1.15rem); }
.preview-info span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.95rem;
}
.preview-price {
  flex-shrink: 0;
  background: #fff2dc;
  color: #1a6b8a;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 900;
  font-size: clamp(0.8rem, 1.5vw, 0.95rem);
}
.menu-more { margin: 55px 0 42px; }
.menu-more-number {
  font-size: clamp(3rem, 6vw, 4rem);
  font-weight: 900;
  color: #1a6b8a;
  line-height: 1;
}
.menu-more-text strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--ink);
}
.menu-more-text p {
  max-width: 470px;
  margin: 18px auto 0;
  color: var(--muted);
  line-height: 1.8;
}
.menu-preview-button {
  width: 100%;
  max-width: 340px;
  margin: auto;
  justify-content: center;
  font-size: 1.08rem;
}

/* ===== GALERÍA ===== */
.gallery { background: #eaf4fa; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-grid button {
  border: 0;
  background: #111;
  padding: 0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(10, 47, 68, 0.17);
  cursor: pointer;
  transition: transform 0.3s;
}
.gallery-grid button:hover { transform: scale(1.02); }
.gallery-grid img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: 0.25s ease;
}
.gallery-grid button:hover img { transform: scale(1.06); opacity: 0.86; }

/* ===== UBICACIÓN ===== */
.location { background: var(--paper); }
.location-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 42px;
  align-items: center;
}
.address { font-size: 1.12rem !important; color: var(--ink) !important; }
.muted { font-size: 0.95rem !important; }
.contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0;
}
.contact-row a {
  background: #eaf4fa;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 15px;
  font-weight: 900;
  transition: background 0.2s, transform 0.2s;
  font-size: clamp(0.8rem, 1.2vw, 0.95rem);
}
.contact-row a:hover { background: #d6e8f2; transform: translateY(-2px); }
.qr-box {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 14px;
  max-width: 430px;
}
.qr-box img { width: 105px; height: 105px; border-radius: 14px; }
.qr-box b { display: block; }
.qr-box span { display: block; color: var(--muted); }
.map-card {
  height: 440px;
  border-radius: 32px;
  overflow: hidden;
  border: 9px solid #fff;
  box-shadow: var(--shadow);
}
.map-card iframe { width: 100%; height: 100%; border: 0; }

/* ===== PROMOCIONES ===== */
#promociones { background: #f0f7fa; padding: 60px 0; }

/* ===== CTA FINAL ===== */
.final-cta {
  padding: clamp(50px, 8vh, 78px) 0;
  background: linear-gradient(135deg, #0a2f44, #1a6b8a);
  color: #fff;
}
.cta-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 34px;
  padding: clamp(24px, 4vw, 40px);
}
.cta-panel p { color: #d6e6f0; }

/* ===== FOOTER ===== */
.footer {
  background: #06212e;
  color: #fff;
  padding: 32px 0;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
.footer-grid span { display: block; color: #b8d4e6; }
.footer-grid div:last-child {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  color: #d6e6f0;
}
.footer-grid a { transition: color 0.2s; }
.footer-grid a:hover { color: #ffd38a; }

/* ===== WHATSAPP FLOTANTE ===== */
.floating-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  color: #fff;
  font-size: 1.65rem;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
  z-index: 60;
  transition: transform 0.2s;
}
.floating-whatsapp:hover { transform: scale(1.1); }

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 100;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: min(94vw, 1220px);
  max-height: 86vh;
  border-radius: 22px;
  background: #fff;
  object-fit: contain;
}
.lightbox button {
  position: absolute;
  right: 20px;
  top: 20px;
  border: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 2rem;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  transition: background 0.2s;
}
.lightbox button:hover { background: rgba(255, 255, 255, 0.4); }

/* ===== MENÚ COMPLETO (página) ===== */
.full-menu { background: var(--bg); padding-bottom: 40px; }
.full-menu-top { padding: 118px 0 36px; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 900;
  color: #1a6b8a;
  margin-bottom: 26px;
  transition: color 0.2s;
}
.back-link:hover { text-decoration: underline; color: #0a2f44; }
.full-menu-head { max-width: 680px; margin-bottom: 30px; }
.full-menu-head h1 { font-size: clamp(2.4rem, 5.5vw, 3.6rem); }
.full-menu-head .subhead { color: var(--muted); font-size: 1.1rem; margin: 0; }

.full-menu-banner {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow);
  height: clamp(180px, 30vh, 260px);
}
.full-menu-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.full-menu-banner-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(10, 47, 68, 0.78), rgba(10, 47, 68, 0.18) 60%, transparent);
}
.full-menu-banner-text {
  position: absolute;
  left: 32px;
  bottom: 26px;
  color: #fff;
  max-width: 60%;
}
.full-menu-banner-text span {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  font-weight: 950;
  color: #ffd18b;
}
.full-menu-banner-text h3 { margin: 0; }

.quick-nav-wrap {
  position: sticky;
  top: 76px;
  z-index: 30;
  background: rgba(245, 250, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
}
.quick-nav {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 14px 0;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.quick-nav::-webkit-scrollbar { display: none; }
.quick-nav a {
  flex: 0 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 16px;
  font-weight: 900;
  font-size: 0.88rem;
  color: var(--ink);
  white-space: nowrap;
  transition: all 0.2s;
}
.quick-nav a:hover { border-color: var(--orange); color: #1a6b8a; }

.full-menu-body { padding-top: 48px; }
.menu-category {
  margin-bottom: 54px;
  scroll-margin-top: 130px;
}
.category-banner {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  margin-bottom: 22px;
  min-height: 128px;
  display: flex;
  align-items: center;
}
.category-banner.photo-banner { box-shadow: 0 18px 46px rgba(10, 47, 68, 0.2); }
.category-banner.photo-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.category-banner-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(10, 47, 68, 0.86), rgba(10, 47, 68, 0.5) 55%, rgba(10, 47, 68, 0.18));
  z-index: 1;
}
.category-banner.icon-banner {
  background: linear-gradient(135deg, #eaf4fa, #c8dce8);
  border: 1px solid var(--line);
}
.category-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin: 20px 0 20px 24px;
  z-index: 2;
}
.category-icon svg { width: 48px; height: 48px; }
.category-banner.photo-banner .category-icon { display: none; }
.category-head {
  position: relative;
  z-index: 2;
  padding: 22px 26px;
  flex: 1;
}
.category-banner.icon-banner .category-head { padding: 20px 24px; }
.category-banner.photo-banner .category-head h2,
.category-banner.photo-banner .category-head p { color: #fff; }
.category-head h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  margin: 0 0 4px;
  color: var(--ink);
  font-family: var(--font-title);
}
.category-head p { margin: 0; color: var(--muted); font-size: 0.94rem; }

.subcategory { margin: 0 0 26px; }
.subcategory h3 {
  font-size: 1.18rem;
  color: #1a6b8a;
  margin: 0 0 14px;
  padding-left: 2px;
  border-left: 4px solid var(--orange);
  padding-left: 12px;
  font-family: var(--font-title);
}
.menu-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.menu-item-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px 18px;
  transition: all 0.2s ease;
}
.menu-item-card:hover {
  border-color: var(--orange);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(10, 47, 68, 0.08);
}
.item-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}
.item-top h4 { margin: 0; font-size: clamp(0.9rem, 1.5vw, 1.02rem); line-height: 1.3; }
.item-tag {
  display: inline-block;
  background: rgba(158, 47, 28, 0.1);
  color: var(--red);
  font-size: 0.66rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 999px;
  padding: 3px 9px;
  margin-left: 7px;
  vertical-align: middle;
}
.price-pill {
  flex-shrink: 0;
  background: var(--ink);
  color: #fff;
  font-weight: 900;
  font-size: clamp(0.75rem, 1.2vw, 0.88rem);
  border-radius: 999px;
  padding: 5px 13px;
  white-space: nowrap;
}
.price-pill.empty {
  background: transparent;
  border: 1px dashed var(--muted);
  color: var(--muted);
  font-weight: 700;
}
.item-desc { margin: 8px 0 0; font-size: 0.88rem; color: var(--muted); line-height: 1.5; }
.menu-footnote {
  background: #eaf4fa;
  border-radius: 20px;
  padding: 18px 22px;
  color: #1a6b8a;
  text-align: center;
  margin: 10px 0 36px;
  font-size: 0.95rem;
}
.full-menu-bottom-cta { text-align: center; }

/* ===== CARRITO FLOTANTE Y PANEL ===== */
.cart-floating-btn {
  position: fixed;
  bottom: clamp(20px, 3vh, 30px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 150;
  background: var(--orange);
  color: #251006;
  border: none;
  border-radius: 60px;
  padding: clamp(10px, 1.5vw, 14px) clamp(16px, 2.5vw, 28px);
  font-weight: 800;
  font-size: clamp(0.8rem, 1.2vw, 1rem);
  box-shadow: 0 8px 30px rgba(242, 161, 40, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  font-family: var(--font-body);
}
.cart-floating-btn:hover {
  transform: translateX(-50%) translateY(-4px);
  box-shadow: 0 14px 40px rgba(242, 161, 40, 0.5);
  background: #1a6b8a;
  color: #fff;
}
.cart-floating-btn .badge {
  background: #251006;
  color: #fff;
  border-radius: 999px;
  padding: 2px 12px;
  font-size: 0.85rem;
  font-weight: 700;
}
.cart-floating-btn .total-badge {
  background: rgba(255, 255, 255, 0.2);
  padding: 2px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
}
.cart-floating-btn .icon { font-size: 1.4rem; }

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.cart-overlay.open { opacity: 1; visibility: visible; }
.cart-panel {
  position: fixed;
  top: 0;
  right: -420px;
  width: 400px;
  max-width: 92vw;
  height: 100vh;
  background: var(--paper);
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.15);
  z-index: 210;
  transition: right 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  padding: 24px 20px;
  border-radius: 28px 0 0 28px;
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: right, transform;
}
.cart-panel.open { right: 0; }
.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--line);
  padding-bottom: 16px;
  margin-bottom: 16px;
  flex-shrink: 0;
}
.cart-header h3 {
  margin: 0;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cart-close {
  background: transparent;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--muted);
  transition: color 0.2s;
  padding: 0 8px;
}
.cart-close:hover { color: var(--red); }
.cart-body {
  flex: 1;
  overflow-y: auto;
  padding-right: 4px;
  -webkit-overflow-scrolling: touch;
}
.cart-item {
  display: flex;
  flex-direction: column;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.cart-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.cart-item-info { flex: 1; }
.cart-item-name {
  font-weight: 700;
  font-size: 0.98rem;
}
.cart-item-price {
  font-size: 0.85rem;
  color: var(--muted);
}
.cart-item-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 4px;
  padding-left: 4px;
  border-left: 3px solid var(--orange);
  padding-left: 8px;
  font-style: italic;
}
.cart-item-remove {
  background: transparent;
  border: none;
  color: var(--red);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0 6px;
  transition: transform 0.2s;
  font-weight: 700;
  flex-shrink: 0;
}
.cart-item-remove:hover { transform: scale(1.3); }
.cart-footer {
  border-top: 2px solid var(--line);
  padding-top: 18px;
  flex-shrink: 0;
}
.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 8px;
}
.cart-total-row .total-note {
  font-size: 0.8rem;
  color: var(--muted);
  flex: 1;
  text-align: left;
}
.cart-total-row .total-amount {
  font-weight: 800;
  font-size: 1.1rem;
  color: #1a6b8a;
  white-space: nowrap;
}
.btn-cart-order {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-shrink: 0;
}
.btn-cart-clear {
  width: 100%;
  padding: 10px;
  font-size: 0.9rem;
  background: transparent;
  color: var(--red);
  border: 2px solid var(--red);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  transition: all 0.2s;
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-cart-clear:hover { background: var(--red); color: #fff; }
.cart-empty-msg {
  text-align: center;
  color: var(--muted);
  padding: 40px 0;
  font-size: 1.1rem;
}

/* ===== MODAL CANTIDAD ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.modal-overlay.open { display: flex; }
.modal-content {
  background: var(--paper);
  border-radius: 32px;
  padding: 32px 28px;
  max-width: 440px;
  width: 100%;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
  position: relative;
  animation: modalFade 0.25s ease;
}
@keyframes modalFade {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 20px;
  background: transparent;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--muted);
  transition: color 0.2s;
  padding: 0 4px;
}
.modal-close-btn:hover { color: var(--red); }
.modal-content h3 {
  font-size: 1.6rem;
  margin: 0 0 4px;
  color: var(--ink);
}
.modal-price {
  font-size: 1.1rem;
  color: var(--muted);
  margin: 0 0 20px;
}
.modal-quantity-section { margin: 16px 0 12px; }
.modal-quantity-section label {
  font-weight: 700;
  display: block;
  margin-bottom: 8px;
  font-size: 0.95rem;
}
.modal-qty-control {
  display: flex;
  align-items: center;
  gap: 12px;
}
.modal-qty-control button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: var(--bg);
  font-size: 1.4rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}
.modal-qty-control button:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}
.modal-qty-control input {
  width: 70px;
  text-align: center;
  font-size: 1.4rem;
  font-weight: 700;
  border: 2px solid var(--line);
  border-radius: 12px;
  padding: 8px 4px;
  background: var(--bg);
  color: var(--ink);
  outline: none;
}
.modal-qty-control input:focus { border-color: var(--orange); }
.modal-subtotal {
  font-size: 1.2rem;
  font-weight: 800;
  color: #1a6b8a;
  margin: 12px 0 16px;
  text-align: right;
}
.modal-note-section { margin: 12px 0 20px; }
.modal-note-section label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}
.modal-note-section textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 16px;
  border: 2px solid var(--line);
  background: var(--bg);
  font-family: inherit;
  font-size: 0.95rem;
  resize: vertical;
  min-height: 60px;
  transition: border 0.2s;
  color: var(--ink);
}
.modal-note-section textarea:focus {
  border-color: var(--orange);
  outline: none;
}
.modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.modal-actions button {
  flex: 1;
  padding: 14px;
  border-radius: 999px;
  font-weight: 800;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 1rem;
}
.modal-actions .btn-cancel {
  background: var(--bg);
  color: var(--muted);
  border: 2px solid var(--line);
}
.modal-actions .btn-cancel:hover {
  background: var(--line);
  color: var(--ink);
}
.modal-actions .btn-confirm {
  background: var(--orange);
  color: #251006;
  box-shadow: 0 8px 24px rgba(242, 161, 40, 0.3);
}
.modal-actions .btn-confirm:hover {
  background: #1a6b8a;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(26, 107, 138, 0.35);
}

/* ===== CAROUSEL MODAL ===== */
.carousel-modal .modal-content {
  max-width: 700px;
  padding: 20px;
  background: #1a1a1a;
  border-radius: 28px;
}
.carousel-modal .modal-close-btn { color: #fff; z-index: 10; }
.carousel-modal .modal-close-btn:hover { color: var(--orange); }
.carousel-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}
.carousel-image {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 16px;
  background: #111;
}
.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 2rem;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}
.carousel-control:hover { background: rgba(0, 0, 0, 0.8); }
.carousel-control.prev { left: 10px; }
.carousel-control.next { right: 10px; }
.carousel-indicator {
  text-align: center;
  color: #aaa;
  font-size: 0.9rem;
  margin-top: 12px;
  font-weight: 600;
}
.carousel-modal .modal-content h3 {
  color: #fff;
  text-align: center;
  margin-bottom: 10px;
}

/* ===== TUTORIAL ===== */
.tutorial-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.tutorial-overlay.open { display: flex; }
.tutorial-card {
  background: var(--paper);
  border-radius: 32px;
  max-width: 480px;
  width: 100%;
  padding: 32px 28px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
  position: relative;
  animation: modalFade 0.3s ease;
  text-align: center;
}
.tutorial-card .step-indicator {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0.06em;
}
.tutorial-card h3 {
  font-size: 1.6rem;
  margin: 0 0 12px;
  color: var(--ink);
}
.tutorial-card p {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 24px;
}
.tutorial-card .tutorial-icon {
  font-size: 3rem;
  margin-bottom: 8px;
  display: block;
}
.tutorial-card .tutorial-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.tutorial-card .tutorial-actions button {
  padding: 10px 24px;
  border-radius: 999px;
  font-weight: 800;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.95rem;
}
.tutorial-card .btn-skip {
  background: transparent;
  color: var(--muted);
  border: 2px solid var(--line);
}
.tutorial-card .btn-skip:hover {
  background: var(--line);
  color: var(--ink);
}
.tutorial-card .btn-next {
  background: var(--orange);
  color: #251006;
  box-shadow: 0 8px 24px rgba(242, 161, 40, 0.3);
}
.tutorial-card .btn-next:hover {
  background: #1a6b8a;
  color: #fff;
  transform: translateY(-2px);
}
.tutorial-card .btn-done {
  background: #1a6b8a;
  color: #fff;
  box-shadow: 0 8px 24px rgba(26, 107, 138, 0.3);
}
.tutorial-card .btn-done:hover {
  background: var(--orange);
  color: #251006;
  transform: translateY(-2px);
}

/* ===== RESPONSIVE ===== */
/* Tablets y móviles grandes */
@media (max-width: 1024px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: absolute;
    top: 76px;
    left: 4%;
    right: 4%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: #0a2f44;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 22px;
    padding: 18px;
    z-index: 55;
    gap: 12px;
  }
  .nav-menu.open { display: flex; }
  .hero-grid,
  .location-grid { grid-template-columns: 1fr; }
  .hero { min-height: 980px; }
  .hero-card { max-width: 470px; margin: 0 auto; }
  .dish-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 220px; }
  .dish-card.big { grid-row: auto; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .menu-items { grid-template-columns: 1fr; }
  .full-menu-banner-text { max-width: 80%; }
  .cart-panel { width: 100%; max-width: 100%; border-radius: 0; right: -110%; }
}

/* Móviles pequeños y medianos */
@media (max-width: 768px) {
  .hero { min-height: 100vh; }
  .hero-grid { padding-top: 80px; gap: 30px; }
  .hero-card img { height: 300px; }
  .dish-grid { grid-template-columns: 1fr; grid-auto-rows: 250px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid img { height: 220px; }
  .location-grid { gap: 20px; }
  .map-card { height: 280px; }
  .qr-box { flex-direction: column; align-items: flex-start; }
  .floating-whatsapp { right: 14px; bottom: 14px; width: 56px; height: 56px; font-size: 1.4rem; }
  .full-menu-top { padding: 96px 0 26px; }
  .quick-nav-wrap { top: 70px; }
  .full-menu-banner { height: 180px; }
  .full-menu-banner-text { left: 20px; bottom: 18px; max-width: 84%; }
  .category-head { padding: 18px 20px; }
  .category-icon { width: 52px; height: 52px; margin: 16px 0 16px 18px; }
  .category-icon svg { width: 40px; height: 40px; }
  .cart-floating-btn { bottom: 20px; padding: 12px 20px; font-size: 0.85rem; gap: 8px; }
  .cart-floating-btn .badge, .cart-floating-btn .total-badge { font-size: 0.7rem; padding: 2px 8px; }
  .cta-panel { flex-direction: column; text-align: center; }
  .footer-grid { flex-direction: column; align-items: center; text-align: center; }
  .footer-grid div:last-child { justify-content: center; }
}

/* Móviles muy pequeños (320px - 480px) */
@media (max-width: 480px) {
  .nav { height: 64px; }
  .brand-icon { width: 36px; height: 36px; }
  .brand-icon svg { width: 36px; height: 36px; }
  .brand strong { font-size: 0.95rem; }
  .brand small { font-size: 0.6rem; }
  .hero-grid { padding-top: 70px; gap: 20px; }
  .hero-card img { height: 220px; }
  .hero-card-body strong { font-size: 1.4rem; }
  .btn { padding: 10px 16px; font-size: 0.8rem; min-height: 40px; }
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.6rem; }
  .section { padding: 40px 0; }
  .menu-preview-card { padding: 20px; }
  .preview-item { flex-direction: column; align-items: flex-start; gap: 8px; }
  .preview-price { align-self: flex-start; }
  .full-menu-banner { height: 140px; }
  .menu-item-card { padding: 12px 14px; }
  .item-top { flex-wrap: wrap; }
  .price-pill { font-size: 0.7rem; padding: 3px 10px; }
  .modal-content { padding: 20px 16px; }
  .modal-content h3 { font-size: 1.3rem; }
  .modal-qty-control button { width: 32px; height: 32px; font-size: 1.2rem; }
  .modal-qty-control input { width: 50px; font-size: 1.2rem; padding: 4px; }
  .cart-floating-btn { padding: 8px 14px; font-size: 0.75rem; gap: 6px; }
  .cart-floating-btn .icon { font-size: 1rem; }
  .cart-floating-btn .badge, .cart-floating-btn .total-badge { font-size: 0.6rem; padding: 2px 6px; }
}

/* ===== TEMA OSCURO (forzado a claro) ===== */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #f5faff !important;
    --paper: #ffffff !important;
    --ink: #0a2f44 !important;
    --muted: #4a6a7a !important;
    --line: rgba(10, 47, 68, 0.12) !important;
  }
  body { background: var(--bg) !important; color: var(--ink) !important; }
  .topbar { background: rgba(10, 47, 68, 0.86) !important; }
  .cart-panel { background: var(--paper) !important; }
  .modal-content { background: var(--paper) !important; }
  .menu-item-card { background: var(--paper) !important; }
  .menu-preview-card { background: #eaf4fa !important; }
  .full-menu { background: var(--bg) !important; }
  .cart-floating-btn { background: var(--orange) !important; color: #251006 !important; }
  .cart-floating-btn:hover { background: #1a6b8a !important; color: #fff !important; }
}