/* ==========================================================================
   CEVICHERÍA LA YAPLA
   Hero Parallax en Capas 3D • Tipografía Plus Jakarta Sans • Mobile First
   ========================================================================== */

:root {
  --bg-page: #f8fafc;
  --bg-white: #ffffff;
  --bg-dark: #08131e;
  --bg-subtle: #f1f5f9;
  
  --primary: #0284c7;
  --primary-dark: #0369a1;
  --dark-slate: #08192b;
  --accent-amber: #d97706;
  --accent-green: #16a34a;
  
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-light: #f8fafc;
  
  --border-light: #e2e8f0;
  --border-subtle: rgba(15, 23, 42, 0.06);
  
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 9999px;
  
  --transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-primary);
  background-color: var(--bg-page);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* ==========================================================================
   BARRA SUPERIOR INFORMATIVA
   ========================================================================== */
.top-announcement {
  background: #08131e;
  color: #cbd5e1;
  font-size: 0.82rem;
  padding: 0.6rem 1rem;
}

.announcement-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.announcement-pill {
  background: rgba(2, 132, 199, 0.2);
  color: #38bdf8;
  font-weight: 700;
  font-size: 0.72rem;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-pill);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.announcement-text strong {
  color: #ffffff;
}

/* ==========================================================================
   NAVEGACIÓN
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  padding-block: 0.85rem;
  transition: var(--transition);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-link {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}

.brand-logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(2, 132, 199, 0.25));
  transition: transform 0.25s ease;
}

.brand-link:hover .brand-logo-img {
  transform: rotate(-6deg) scale(1.08);
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
}

.brand-wordmark {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--dark-slate);
}

.brand-submark {
  font-size: 0.7rem;
  color: var(--accent-amber);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-menu a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition);
  position: relative;
  padding-block: 0.25rem;
}

.nav-menu a:hover, .nav-menu a.active {
  color: var(--primary);
}

.nav-menu a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
  border-radius: var(--radius-pill);
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.75rem 1.45rem;
  border-radius: var(--radius-pill);
  transition: var(--transition);
  white-space: nowrap;
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.82rem;
}

.btn-dark {
  background: var(--dark-slate);
  color: #ffffff;
}

.btn-dark:hover {
  background: var(--primary);
  transform: translateY(-1px);
}

.btn-ghost {
  background: #ffffff;
  color: var(--dark-slate);
  border: 1px solid var(--border-light);
}

.btn-ghost:hover {
  background: var(--bg-subtle);
  border-color: #cbd5e1;
}

.btn-ar-action {
  background: var(--primary);
  color: #ffffff;
}

.btn-ar-action:hover {
  background: var(--primary-dark);
}

.btn-whatsapp {
  background: var(--accent-green);
  color: #ffffff;
}

.btn-whatsapp:hover {
  background: #15803d;
}

.cart-trigger-btn {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-pill);
  background: #ffffff;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-slate);
  transition: var(--transition);
}

.cart-trigger-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.cart-badge-dot {
  position: absolute;
  top: -3px;
  right: -3px;
  background: #ef4444;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
}

/* ==========================================================================
   HERO SECTION CON PARALLAX EN CAPAS 3D (CEVICHE COMPLETO & ELEMENTOS FLOTANTES)
   ========================================================================== */
.hero-section {
  padding-block: 5.5rem 4.5rem;
  background: radial-gradient(circle at 80% 20%, rgba(224, 242, 254, 0.7) 0%, #f8fafc 60%);
  border-bottom: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 4rem;
}

.hero-kicker {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1rem;
}

.hero-brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(2, 132, 199, 0.08);
  border: 1px solid rgba(2, 132, 199, 0.2);
  padding: 0.35rem 0.95rem 0.35rem 0.45rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.25rem;
}

.hero-badge-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(2, 132, 199, 0.3));
}

.hero-heading {
  font-size: clamp(2.4rem, 4.8vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: var(--dark-slate);
  margin-bottom: 1.25rem;
}

.hero-heading .highlight-text {
  color: var(--primary);
}

.hero-subheading {
  font-size: 1.08rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 540px;
}

.hero-cta-group {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.btn-delivery-highlight {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 15px rgba(22, 163, 74, 0.35);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.25s ease;
}

.btn-delivery-highlight:hover {
  background: linear-gradient(135deg, #15803d 0%, #166534 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(22, 163, 74, 0.5);
  color: #ffffff;
}

/* Lienzo Parallax Multicapa del Ceviche */
.hero-parallax-canvas {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

.parallax-layer {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: transform 0.1s ease-out;
  will-change: transform;
}

/* Capa 1: Plato Recreado Completo */
.layer-plate {
  z-index: 10;
  width: 90%;
  height: 90%;
  margin: auto;
}

.plate-full-art {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px -15px rgba(2, 132, 199, 0.25), 0 15px 30px -10px rgba(8, 25, 43, 0.2);
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.15));
}

/* Capas Flotantes de Ingredientes */
.layer-lime {
  z-index: 20;
  width: 140px;
  height: 140px;
  top: -15px;
  right: -10px;
  animation: float-soft 4s ease-in-out infinite alternate;
}

.layer-aji {
  z-index: 25;
  width: 110px;
  height: 110px;
  bottom: 20px;
  left: -15px;
  animation: float-soft 4.5s ease-in-out infinite alternate-reverse;
}

.layer-onion {
  z-index: 22;
  width: 125px;
  height: 125px;
  top: 15px;
  left: -10px;
  animation: float-soft 5s ease-in-out infinite alternate;
}

@keyframes float-soft {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-12px) rotate(4deg); }
}

.ar-floating-pill-hero {
  position: absolute;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 30;
  pointer-events: auto;
  background: var(--dark-slate);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 8px 24px rgba(8, 25, 43, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: var(--transition);
}

.ar-floating-pill-hero:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

/* ==========================================================================
   SECCIÓN PARALLAX PLAYERO: CHELAS EN LA ARENA PERUANA
   ========================================================================== */
.parallax-strip {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #060e17;
  color: #ffffff;
}

.parallax-image-bg {
  position: absolute;
  top: -15%;
  left: 0;
  width: 100%;
  height: 130%;
  background-image: url('playa-chelas.jpg');
  background-size: cover;
  background-position: center;
  will-change: transform;
  z-index: 1;
}

.parallax-dimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 25, 43, 0.9) 0%, rgba(8, 25, 43, 0.65) 50%, rgba(8, 25, 43, 0.88) 100%);
  z-index: 2;
}

.parallax-container {
  position: relative;
  z-index: 3;
  padding-block: 4.5rem;
}

.parallax-glass-card {
  max-width: 680px;
  background: rgba(8, 25, 43, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.parallax-label {
  display: inline-block;
  background: rgba(2, 132, 199, 0.3);
  color: #38bdf8;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.25rem;
}

.parallax-heading {
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.parallax-body {
  font-size: 1.05rem;
  color: #e2e8f0;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.beer-options-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.beer-mini-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1rem;
  border-radius: var(--radius-md);
}

.beer-mini-name {
  font-weight: 700;
  font-size: 0.92rem;
  color: #ffffff;
  margin-bottom: 0.2rem;
}

.beer-mini-detail {
  font-size: 0.78rem;
  color: #94a3b8;
  margin-bottom: 0.5rem;
}

.beer-mini-price {
  font-size: 1.1rem;
  font-weight: 800;
  color: #38bdf8;
}

/* ==========================================================================
   SECCIÓN HISTORIA (Tratamiento Fotográfico Orgánico)
   ========================================================================== */
.story-section {
  padding-block: 5.5rem;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
}

.story-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 5rem;
}

.story-image-duo {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.story-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
  aspect-ratio: 16 / 10;
}

.story-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.story-img-main:hover img {
  transform: scale(1.03);
}

.story-img-secondary {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
  aspect-ratio: 16 / 10;
  margin-left: 2rem;
}

.story-img-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.story-img-secondary:hover img {
  transform: scale(1.03);
}

.section-title-clean {
  font-size: 2.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--dark-slate);
  margin-bottom: 1.35rem;
  line-height: 1.2;
}

.story-paragraph {
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.story-quote-card {
  background: #f8fafc;
  border-left: 3px solid var(--primary);
  padding: 1.35rem 1.6rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-top: 1.75rem;
}

.quote-header {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--dark-slate);
}

.quote-sub {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.quote-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   SECCIÓN CARTA DIGITAL INTERACTIVA
   ========================================================================== */
.menu-section {
  padding-block: 5.5rem;
  background: #f8fafc;
  border-bottom: 1px solid var(--border-light);
}

.section-title-wrap {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 3.5rem;
}

.section-subtitle-clean {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* ==========================================================================
   BANNER NOTORIO DE DELIVERY
   ========================================================================== */
.delivery-highlight-banner {
  background: linear-gradient(135deg, #091a2b 0%, #0d2843 100%);
  border: 1px solid rgba(34, 197, 94, 0.35);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  margin-bottom: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem;
  flex-wrap: wrap;
  box-shadow: 0 10px 30px rgba(9, 26, 43, 0.15), 0 0 20px rgba(34, 197, 94, 0.08);
}

.delivery-highlight-left {
  flex: 1;
  min-width: 280px;
}

.delivery-pill-tag {
  display: inline-block;
  background: rgba(34, 197, 94, 0.18);
  color: #4ade80;
  border: 1px solid rgba(74, 222, 128, 0.4);
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.delivery-highlight-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.delivery-highlight-desc {
  font-size: 0.95rem;
  color: #cbd5e1;
  line-height: 1.6;
  max-width: 620px;
}

.delivery-highlight-right {
  display: flex;
  align-items: center;
}

.btn-delivery-cta {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: #ffffff;
  padding: 0.9rem 1.6rem;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  box-shadow: 0 4px 18px rgba(34, 197, 94, 0.45);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-delivery-cta:hover {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(34, 197, 94, 0.6);
  color: #ffffff;
}

.delivery-inline-badge {
  display: inline-block;
  background: #dcfce7;
  color: #15803d;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-pill);
  margin-top: 0.35rem;
}

.menu-control-bar {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.6rem;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  margin-bottom: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.control-row-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.table-selector-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.table-selector-box label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.modern-select {
  padding: 0.6rem 1.15rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  background: #f8fafc;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark-slate);
  outline: none;
  cursor: pointer;
  transition: var(--transition);
}

.modern-select:focus {
  border-color: var(--primary);
  background: #ffffff;
}

.search-box-wrap {
  position: relative;
  flex: 1;
  max-width: 360px;
}

.search-box-wrap input {
  width: 100%;
  padding: 0.6rem 1rem 0.6rem 2.3rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  outline: none;
  background: #f8fafc;
  transition: var(--transition);
}

.search-box-wrap input:focus {
  border-color: var(--primary);
  background: #ffffff;
}

.search-icon-svg {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: #94a3b8;
}

.category-tabs-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  border-top: 1px solid #f1f5f9;
  padding-top: 1rem;
}

.category-tab-btn {
  padding: 0.55rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-muted);
  border-radius: var(--radius-pill);
  background: transparent;
  transition: var(--transition);
}

.category-tab-btn:hover {
  background: #f1f5f9;
  color: var(--dark-slate);
}

.category-tab-btn.active {
  background: var(--dark-slate);
  color: #ffffff;
}

/* Grilla de Platos Limpia */
.dishes-cards-flow {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.menu-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.menu-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
}

.menu-card-visual {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f1f5f9;
}

.menu-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.menu-card:hover .menu-card-visual img {
  transform: scale(1.04);
}

.menu-card-tag {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: rgba(255, 255, 255, 0.95);
  color: var(--dark-slate);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.menu-card-ar-btn {
  position: absolute;
  bottom: 0.85rem;
  right: 0.85rem;
  background: var(--dark-slate);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  transition: var(--transition);
}

.menu-card-ar-btn:hover {
  background: var(--primary);
}

.menu-card-content {
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-title-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.4rem;
}

.card-title-row h3 {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--dark-slate);
}

.card-price {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
}

.card-description {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.35rem;
  flex: 1;
}

.card-actions-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid #f1f5f9;
}

.spice-rating {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
}

.btn-card-add {
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--dark-slate);
  background: #f1f5f9;
  border-radius: var(--radius-pill);
  transition: var(--transition);
}

.btn-card-add:hover {
  background: var(--dark-slate);
  color: #ffffff;
}

/* ==========================================================================
   SECCIÓN REALIDAD AUMENTADA EXPLICATIVA
   ========================================================================== */
.ar-feature-section {
  padding-block: 5.5rem;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
}

.ar-feature-intro {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 3.5rem;
}

.ar-steps-flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.ar-step-item {
  background: #f8fafc;
  padding: 2rem 1.6rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
}

.step-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.ar-step-item h3 {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--dark-slate);
  margin-bottom: 0.5rem;
}

.ar-step-item p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   SECCIÓN CÓDIGO QR
   ========================================================================== */
.qr-section-clean {
  padding-block: 5.5rem;
  background: #f8fafc;
  border-bottom: 1px solid var(--border-light);
}

.qr-grid-clean {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 4.5rem;
}

.qr-buttons-row {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.qr-stand-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.qr-stand-logo {
  width: 68px;
  height: 68px;
  object-fit: contain;
  margin-bottom: 0.85rem;
  filter: drop-shadow(0 4px 10px rgba(2, 132, 199, 0.2));
}

.qr-table-badge {
  background: #f1f5f9;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.35rem 1.25rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.qr-stand-brand {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--dark-slate);
  margin-bottom: 0.2rem;
}

.qr-stand-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.qr-code-box {
  padding: 1.25rem;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
}

.qr-scan-guide {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ==========================================================================
   UBICACIÓN
   ========================================================================== */
.location-section-clean {
  padding-block: 5.5rem;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
}

.location-grid-clean {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.maps-clarification {
  background: #f8fafc;
  border-left: 3px solid var(--primary);
  padding: 1.15rem 1.35rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 2rem;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.maps-clarification strong {
  color: var(--dark-slate);
}

.info-details-clean {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.info-row-clean {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.info-label-clean {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.info-val-clean {
  font-size: 0.95rem;
  color: var(--dark-slate);
  line-height: 1.6;
}

.map-clean-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  aspect-ratio: 4 / 3;
  background: #f1f5f9;
}

.map-clean-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer-clean {
  background: var(--bg-dark);
  color: #94a3b8;
  padding-block: 4.5rem 2.5rem;
}

.footer-content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3.5rem;
}

.footer-brand-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.footer-logo-img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.45));
}

.footer-brand-title {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.footer-brand-sub {
  color: #38bdf8;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-brand-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  max-width: 420px;
}

.footer-nav-col h4 {
  color: #ffffff;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
  font-weight: 700;
}

.footer-nav-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.9rem;
}

.footer-nav-col a:hover {
  color: #ffffff;
}

.footer-bottom-clean {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  color: #64748b;
  text-align: center;
}

/* ==========================================================================
   MODALES NATIVOS <dialog> CONFORME A MODERN-WEB-GUIDANCE
   (dialog:modal, dialog::backdrop, overscroll-behavior: contain)
   ========================================================================== */
dialog:modal {
  overscroll-behavior: contain;
  border: none;
  border-radius: var(--radius-lg);
  background: #ffffff;
  padding: 0;
  max-width: 90vw;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

dialog::backdrop {
  overflow: hidden;
  overscroll-behavior: contain;
  background: rgba(8, 19, 30, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

#cartModal:modal {
  width: 500px;
}

.modal-header-clean {
  padding: 1.35rem 1.6rem;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header-clean h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--dark-slate);
}

.modal-close-icon {
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  transition: var(--transition);
}

.modal-close-icon:hover {
  background: #f1f5f9;
  color: var(--dark-slate);
}

.cart-items-flow {
  padding: 1.5rem;
  max-height: 350px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-empty-message {
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--text-muted);
}

.cart-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid #f1f5f9;
}

.cart-item-info h4 {
  font-size: 0.98rem;
  color: var(--dark-slate);
  font-weight: 700;
}

.cart-item-info p {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 700;
}

.qty-counter-group {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.qty-counter-btn {
  width: 28px;
  height: 28px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  background: #ffffff;
  color: var(--dark-slate);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-counter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.modal-footer-clean {
  padding: 1.5rem;
  background: #f8fafc;
  border-top: 1px solid var(--border-light);
}

.cart-total-row-clean {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--dark-slate);
}

/* ==========================================================================
   MODAL DE REALIDAD AUMENTADA NATIVA (WebAR con ARCore & ARKit)
   Optimizado para dispositivos móviles y escritorio
   ========================================================================== */
#arModal:modal {
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  max-height: 100vh;
  border: none;
  border-radius: 0;
  background: #060e17;
  color: #ffffff;
  position: fixed;
  inset: 0;
  overflow: hidden;
  padding: 0;
}

.ar-viewport {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: radial-gradient(circle at 50% 45%, #152538 0%, #070e17 100%);
}

#arModelViewer {
  width: 100%;
  height: 100%;
  --poster-color: transparent;
  outline: none;
  touch-action: pan-y;
  position: relative;
  z-index: 1;
}

/* Botón Nativo de Lanzamiento AR (ARCore / ARKit) */
.btn-native-ar-launch {
  position: absolute;
  bottom: 5.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(2, 132, 199, 0.45), 0 0 25px rgba(56, 189, 248, 0.3);
  z-index: 25;
  transition: all 0.25s ease;
  white-space: nowrap;
  animation: pulseArButton 2.2s infinite ease-in-out;
}

@keyframes pulseArButton {
  0%, 100% {
    transform: translateX(-50%) scale(1);
    box-shadow: 0 10px 25px rgba(2, 132, 199, 0.45), 0 0 20px rgba(56, 189, 248, 0.25);
  }
  50% {
    transform: translateX(-50%) scale(1.03);
    box-shadow: 0 14px 32px rgba(2, 132, 199, 0.65), 0 0 35px rgba(56, 189, 248, 0.5);
  }
}

.btn-native-ar-launch:active {
  transform: translateX(-50%) scale(0.96);
}

.ar-loading-state {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: #94a3b8;
  font-size: 0.9rem;
  font-weight: 600;
  background: rgba(6, 14, 23, 0.7);
  backdrop-filter: blur(8px);
}

.ar-spinner {
  width: 38px;
  height: 38px;
  border: 3px solid rgba(56, 189, 248, 0.2);
  border-top-color: #38bdf8;
  border-radius: 50%;
  animation: spinLoading 0.8s linear infinite;
}

@keyframes spinLoading {
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   AR HUD MINIMALISTA & CINEMÁTICO (100% Pantalla Despejada)
   ========================================================================== */
.ar-minimal-hud {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.25rem;
  padding-bottom: max(1.25rem, env(safe-area-inset-bottom));
}

.ar-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: auto;
  gap: 1rem;
}

.ar-dish-pills {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0.3rem 0.4rem;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.ar-pill-btn {
  background: transparent;
  border: none;
  color: #cbd5e1;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.2s ease;
}

.ar-pill-btn.active {
  background: #0284c7;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.5);
}

.ar-btn-icon-close {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.2s ease, background 0.2s ease;
}

.ar-btn-icon-close:hover {
  background: rgba(239, 68, 68, 0.85);
  transform: scale(1.05);
}

/* Indicador Sutil Flotante */
.ar-surface-prompt {
  align-self: center;
  margin-top: auto;
  margin-bottom: 5.5rem;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #f1f5f9;
  font-size: 0.82rem;
  font-weight: 600;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

.surface-scan-icon {
  color: #38bdf8;
  display: flex;
  align-items: center;
}

/* Barra Inferior Flotante Mínima */
.ar-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: auto;
  max-width: 420px;
  width: 100%;
  margin-inline: auto;
  gap: 0.75rem;
}

.ar-action-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.2s ease;
}

.ar-action-pill:hover {
  background: rgba(30, 41, 59, 0.95);
  border-color: rgba(255, 255, 255, 0.4);
}

.ar-order-pill {
  background: #0284c7;
  border-color: #38bdf8;
  color: #ffffff;
}

.ar-order-pill:hover {
  background: #0369a1;
}

.toast-msg {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--dark-slate);
  color: #ffffff;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 9999;
  transition: transform 0.25s ease-out;
  pointer-events: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.toast-msg.show {
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   OPTIMIZACIÓN RESPONSIVE AVANZADA (MÓVIL Y TABLET)
   ========================================================================== */
@media (max-width: 992px) {
  .hero-container, .story-wrapper, .location-grid-clean, .qr-grid-clean {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-parallax-canvas {
    max-width: 420px;
  }

  .story-image-duo {
    margin-left: 0;
  }

  .story-img-secondary {
    margin-left: 0;
  }

  .footer-content-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .nav-menu {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero-section {
    padding-block: 3.5rem 3rem;
  }

  .hero-heading {
    font-size: 2.2rem;
  }

  .hero-subheading {
    font-size: 0.98rem;
  }

  .hero-parallax-canvas {
    max-width: 320px;
    aspect-ratio: 1 / 1;
  }

  .layer-lime {
    width: 95px;
    height: 95px;
    top: -5px;
    right: -5px;
  }

  .layer-aji {
    width: 75px;
    height: 75px;
    bottom: 10px;
    left: -10px;
  }

  .layer-onion {
    width: 85px;
    height: 85px;
    top: 5px;
    left: -5px;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .control-row-main {
    flex-direction: column;
    align-items: stretch;
  }

  .search-box-wrap {
    max-width: 100%;
  }

  .parallax-glass-card {
    padding: 1.5rem;
  }

  .parallax-heading {
    font-size: 1.85rem;
  }

  .ar-minimal-hud {
    padding: 0.75rem 1rem;
    padding-bottom: max(1rem, env(safe-area-inset-bottom));
  }

  .ar-dish-opt {
    padding: 0.35rem 0.65rem;
    font-size: 0.75rem;
  }

  .delivery-highlight-banner {
    padding: 1.35rem;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .delivery-highlight-left {
    min-width: 100%;
  }

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

/* ==========================================================================
   BOTÓN FLOTANTE Y ENLACES DE WHATSAPP DELIVERY (+51 901 105 402)
   ========================================================================== */
.whatsapp-header-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.12);
  color: #15803d;
  border: 1px solid rgba(37, 211, 102, 0.3);
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.whatsapp-header-btn:hover {
  background: #25d366;
  color: #ffffff;
  border-color: #25d366;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  transform: translateY(-1px);
}

.whatsapp-header-btn svg {
  flex-shrink: 0;
}

.floating-whatsapp-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background: #25d366;
  color: #ffffff;
  padding: 0.85rem 1.25rem;
  border-radius: 9999px;
  box-shadow: 0 10px 25px -4px rgba(37, 211, 102, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.floating-whatsapp-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 28px -2px rgba(37, 211, 102, 0.6);
  color: #ffffff;
}

.floating-whatsapp-btn svg {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

@media (max-width: 768px) {
  .whatsapp-header-btn {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 640px) {
  .floating-whatsapp-btn {
    bottom: max(1rem, env(safe-area-inset-bottom));
    right: 1rem;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
  }
  .floating-whatsapp-btn span {
    display: inline;
  }
}


