/* =========================================================
   DÖNKEBABON — Hoja de estilos principal
   Restaurante de kebab halal en Benalmádena
   ========================================================= */

/* ---------- 1. VARIABLES DE MARCA ---------- */
:root {
  /* Paleta: azul marino premium + azul celeste vivo */
  --color-bg: #0a1520;
  --color-bg-soft: #0f1e2b;
  --color-surface: #14283a;
  --color-surface-2: #1a3446;
  --color-cream: #f5f8fb;
  --color-cream-dim: #d9e6ef;
  --color-muted: #8fa3b3;

  --color-primary: #0ea5e9;      /* azul celeste */
  --color-primary-dark: #0369a1;
  --color-primary-light: #7dd3fc;
  --color-accent: #38bdf8;       /* azul celeste claro, para textos/iconos de marca */
  --color-accent-dark: #0284c7;
  --color-amber: #f0b429;        /* uso semántico: valoraciones y avisos "por confirmar" */

  --color-success: #4caf72;
  --color-border: rgba(245, 248, 251, 0.1);
  --color-border-strong: rgba(245, 248, 251, 0.18);

  --grad-brand: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  --grad-dark: linear-gradient(180deg, rgba(10, 21, 32, 0) 0%, rgba(10, 21, 32, 0.95) 100%);
  --grad-radial-glow: radial-gradient(circle at 30% 20%, rgba(14, 165, 233, 0.35), transparent 60%),
                       radial-gradient(circle at 80% 70%, rgba(125, 211, 252, 0.28), transparent 55%);

  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-full: 999px;

  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-strong: 0 20px 60px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 0 1px rgba(14, 165, 233, 0.3), 0 20px 50px rgba(14, 165, 233, 0.22);

  --container: 1180px;
  --header-h: 76px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- 2. BASE ---------- */
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  background: var(--color-bg);
  color: var(--color-cream);
  font-family: var(--font-body);
  font-size: 16px;
  overflow-x: hidden;
}

body.nav-open,
body.modal-open-lock {
  overflow: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--color-cream);
}

p {
  color: var(--color-cream-dim);
}

img, svg {
  max-width: 100%;
}

/* Red de seguridad: cualquier icono sin regla contextual específica
   se muestra a un tamaño razonable en vez de al tamaño por defecto del SVG */
svg.icon {
  width: 24px;
  height: 24px;
  display: inline-block;
  vertical-align: -0.15em;
  fill: none;
  flex-shrink: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

@media (min-width: 640px) {
  .container { padding-inline: 32px; }
}

/* Enlace de accesibilidad "saltar al contenido" */
.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 1000;
  background: var(--color-primary);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 16px;
}

/* Foco visible accesible en toda la web */
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection {
  background: var(--color-primary);
  color: #fff;
}

/* ---------- 3. UTILIDADES ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 14px;
}

.eyebrow svg {
  width: 16px;
  height: 16px;
  color: var(--color-accent);
  fill: var(--color-accent);
  stroke: var(--color-accent);
}

.section-head {
  max-width: 640px;
  margin-bottom: 44px;
}

.section-head h2 {
  font-size: clamp(1.9rem, 4.5vw, 2.75rem);
  margin-bottom: 14px;
}

.section-head p {
  font-size: 1.05rem;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

section {
  position: relative;
  padding-block: clamp(64px, 10vw, 120px);
}

.section-alt {
  background: var(--color-bg-soft);
}

/* Marcador de imagen de muestra / placeholder — se retira al sustituir por fotos reales */
.placeholder-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  background: rgba(18, 15, 13, 0.72);
  border: 1px dashed rgba(250, 245, 236, 0.55);
  backdrop-filter: blur(4px);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-cream);
  text-transform: uppercase;
}

.placeholder-tag svg {
  width: 13px;
  height: 13px;
  color: var(--color-cream);
  stroke: var(--color-cream);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-cream-dim);
}

.chip.chip-halal {
  background: rgba(76, 175, 114, 0.14);
  border-color: rgba(76, 175, 114, 0.35);
  color: #8fdcaa;
}

.chip.chip-warn {
  background: rgba(240, 180, 41, 0.12);
  border-color: rgba(240, 180, 41, 0.4);
  color: var(--color-amber);
}

.tag-por-confirmar {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-amber);
  border: 1px solid rgba(240, 180, 41, 0.4);
  background: rgba(240, 180, 41, 0.08);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

/* ---------- 4. BOTONES ---------- */
.btn {
  --btn-pad-y: 15px;
  --btn-pad-x: 26px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  min-height: 52px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
  will-change: transform;
}

.btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--grad-brand);
  /* Texto oscuro: el blanco no cumple el contraste mínimo AA sobre el extremo dorado del degradado */
  color: var(--color-bg);
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 46px rgba(14, 165, 233, 0.35);
}

.btn-outline {
  background: rgba(250, 245, 236, 0.04);
  color: var(--color-cream);
  border: 1.5px solid var(--color-border-strong);
  backdrop-filter: blur(6px);
}

.btn-outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-3px);
}

.btn-ghost {
  background: transparent;
  color: var(--color-cream);
  border: 1.5px solid var(--color-border-strong);
}

.btn-ghost:hover {
  border-color: var(--color-primary-light);
  color: var(--color-primary-light);
}

.btn-block {
  width: 100%;
}

.btn-sm {
  min-height: 42px;
  padding: 10px 18px;
  font-size: 0.85rem;
}

/* ---------- 5. HEADER / NAVBAR ---------- */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 900;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), height 0.35s var(--ease);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(18, 15, 13, 0.6);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.35s var(--ease), background 0.35s var(--ease);
  z-index: -1;
}

.site-header.scrolled {
  height: 66px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.site-header.scrolled::before {
  background: rgba(18, 15, 13, 0.86);
  border-bottom-color: var(--color-border);
}

.nav-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-cream);
  letter-spacing: 0.01em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--grad-brand);
  box-shadow: var(--shadow-glow);
  flex-shrink: 0;
}

.brand-mark svg {
  width: 22px;
  height: 22px;
  color: var(--color-bg);
  stroke: var(--color-bg);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.brand small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  position: relative;
  padding: 10px 16px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-cream-dim);
  border-radius: var(--radius-full);
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-cream);
  background: rgba(250, 245, 236, 0.06);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-call {
  display: none;
}

.nav-toggle {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border-strong);
  background: rgba(250, 245, 236, 0.04);
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
  color: var(--color-cream);
  stroke: var(--color-cream);
}

.nav-toggle .icon-close { display: none; }
body.nav-open .nav-toggle .icon-menu { display: none; }
body.nav-open .nav-toggle .icon-close { display: block; }

/* Menú móvil a pantalla completa */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 800;
  background: var(--color-bg);
  padding: calc(var(--header-h) + 20px) 24px 40px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}

body.nav-open .mobile-nav {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  padding: 14px 4px;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-cream);
}

.mobile-nav .btn {
  margin-top: 24px;
}

.mobile-nav-footer {
  margin-top: auto;
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.mobile-nav-footer a {
  color: var(--color-accent);
  font-weight: 600;
}

@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-call {
    display: inline-flex;
  }
  .nav-toggle { display: none; }
  .mobile-nav { display: none; }
}

/* ---------- 6. HERO ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + 28px);
  padding-bottom: 64px;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-radial-glow);
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(250, 245, 236, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(250, 245, 236, 0.055) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 20%, transparent 75%);
  z-index: -1;
}

.hero-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 24px;
  }
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(2.6rem, 8vw, 4.6rem);
  margin-bottom: 18px;
}

.hero h1 span {
  display: block;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lede {
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  max-width: 46ch;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--color-cream-dim);
}

.hero-meta-item svg {
  width: 19px;
  height: 19px;
  color: var(--color-accent);
  stroke: var(--color-accent);
  flex-shrink: 0;
}

.hero-meta-item a {
  font-weight: 700;
  color: var(--color-cream);
}

.hero-meta-item a:hover {
  color: var(--color-accent);
}

/* Visual del hero: composición gráfica en lugar de fotografía (ver nota placeholder) */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
}

.hero-plate {
  position: relative;
  width: min(420px, 82vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--color-surface-2), var(--color-bg) 72%);
  border: 1px solid var(--color-border-strong);
  box-shadow: var(--shadow-strong);
  display: grid;
  place-items: center;
  animation: float 7s ease-in-out infinite;
}

.hero-plate svg {
  width: 58%;
  height: 58%;
}

.hero-plate img {
  width: 74%;
  height: 74%;
  object-fit: contain;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.45));
}

.hero-plate .plate-glow {
  position: absolute;
  inset: -18%;
  border-radius: 50%;
  background: var(--grad-radial-glow);
  filter: blur(10px);
  z-index: -1;
}

.hero-orbit {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed var(--color-border-strong);
  animation: spin 26s linear infinite;
}

.hero-orbit .orbit-dot {
  position: absolute;
  top: -8px;
  left: 50%;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--grad-brand);
  transform: translateX(-50%);
  box-shadow: 0 0 18px rgba(14, 165, 233, 0.7);
}

.hero-float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(34, 28, 24, 0.9);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-soft);
  font-size: 0.85rem;
  font-weight: 700;
  animation: float 6s ease-in-out infinite;
}

.hero-float-card svg {
  width: 20px;
  height: 20px;
  color: var(--color-accent);
  stroke: var(--color-accent);
}

.hero-float-card.card-rating {
  top: 4%;
  right: 2%;
  animation-delay: 0.4s;
}

.hero-float-card.card-halal {
  bottom: 8%;
  left: -2%;
  animation-delay: 1.1s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

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

.hero-scroll-cue {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
}

@media (min-width: 700px) {
  .hero-scroll-cue { display: flex; }
}

.hero-scroll-cue svg {
  width: 18px;
  height: 18px;
  color: var(--color-muted);
  stroke: var(--color-muted);
  animation: bob 1.8s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ---------- 7. TARJETAS DE PRODUCTO (destacados y carta) ---------- */
.card-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .card-grid.cols-2,
  .card-grid.cols-3,
  .card-grid.cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
}

.dish-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.dish-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-border-strong);
  box-shadow: var(--shadow-strong);
}

.dish-media {
  position: relative;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  background: var(--grad-radial-glow), var(--color-bg-soft);
  border-bottom: 1px solid var(--color-border);
}

.dish-media svg {
  width: 34%;
  height: 34%;
  color: var(--color-accent);
  stroke: var(--color-accent);
  opacity: 0.9;
}

.dish-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s var(--ease);
}

.dish-card:hover .dish-media img {
  transform: scale(1.06);
}

.dish-media.is-placeholder {
  background: repeating-linear-gradient(
      135deg,
      var(--color-bg-soft),
      var(--color-bg-soft) 10px,
      var(--color-surface-2) 10px,
      var(--color-surface-2) 20px
    );
}

.dish-media.is-placeholder svg {
  width: 26%;
  height: 26%;
  opacity: 0.55;
}

.dish-placeholder-tag {
  position: absolute;
  bottom: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(10, 21, 32, 0.72);
  border: 1px dashed var(--color-border-strong);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--color-cream-dim);
}

.dish-card.is-clickable {
  cursor: pointer;
}

.dish-card.is-clickable:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
}

.dish-card.is-clickable .dish-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10, 21, 32, 0.35), transparent 45%);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.dish-card.is-clickable:hover .dish-media::after,
.dish-card.is-clickable:focus-visible .dish-media::after {
  opacity: 1;
}

.dish-zoom-hint {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(10, 21, 32, 0.68);
  border: 1px solid var(--color-border-strong);
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.dish-card.is-clickable:hover .dish-zoom-hint,
.dish-card.is-clickable:focus-visible .dish-zoom-hint {
  opacity: 1;
  transform: scale(1);
}

.dish-zoom-hint svg {
  width: 16px;
  height: 16px;
  color: var(--color-cream);
  stroke: var(--color-cream);
}

/* ---------- Modales (producto y pedir) ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(6, 12, 19, 0.78);
  backdrop-filter: blur(6px);
  z-index: 200;
}

.modal-overlay.is-open {
  display: flex;
}

.modal-panel {
  position: relative;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--color-surface);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-strong);
  animation: modalIn 0.3s var(--ease);
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(10, 21, 32, 0.75);
  border: 1px solid var(--color-border-strong);
  color: var(--color-cream);
  cursor: pointer;
}

.modal-close:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.modal-close svg {
  width: 18px;
  height: 18px;
}

#productModal .modal-panel {
  max-width: 480px;
}

.modal-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.modal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-media.is-placeholder {
  display: grid;
  place-items: center;
  background: repeating-linear-gradient(
      135deg,
      var(--color-bg-soft),
      var(--color-bg-soft) 10px,
      var(--color-surface-2) 10px,
      var(--color-surface-2) 20px
    );
}

.modal-media.is-placeholder svg {
  width: 22%;
  height: 22%;
  color: var(--color-accent);
  stroke: var(--color-accent);
  opacity: 0.6;
}

.modal-body {
  padding: 26px 28px 30px;
}

.modal-body .dish-tags {
  margin-bottom: 10px;
}

.modal-body h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.modal-price-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
}

.modal-price-solo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--color-accent);
}

.modal-price-menu {
  font-size: 0.88rem;
  color: var(--color-cream-dim);
}

.modal-price-menu strong {
  color: var(--color-cream);
}

.modal-note {
  font-size: 0.86rem;
  color: var(--color-muted);
}

#orderModal .modal-panel {
  max-width: 420px;
}

.order-modal-body {
  padding: 30px 28px 28px;
}

.order-modal-body h3 {
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.order-modal-body > p {
  font-size: 0.9rem;
  color: var(--color-cream-dim);
  margin-bottom: 22px;
}

.order-modal-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.order-modal-options .btn {
  width: 100%;
}

.dish-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.dish-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.dish-top h3 {
  font-size: 1.15rem;
}

.dish-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--color-accent);
  white-space: nowrap;
}

.dish-desc {
  font-size: 0.92rem;
  line-height: 1.55;
  flex: 1;
}

.dish-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

/* Tarjeta de "categoría" cuando no hay precios individuales confirmados */
.cat-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px 22px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

.cat-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-border-strong);
}

.cat-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.cat-icon svg {
  width: 26px;
  height: 26px;
  color: var(--color-accent);
  stroke: var(--color-accent);
}

.cat-card h3 {
  font-size: 1.05rem;
}

.cat-card p {
  font-size: 0.88rem;
  flex: 1;
}

.cat-card .btn {
  align-self: flex-start;
}

/* ---------- 8. CARTA: notas / avisos ---------- */
.menu-note {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: rgba(240, 180, 41, 0.07);
  border: 1px solid rgba(240, 180, 41, 0.28);
  margin-bottom: 40px;
}

.menu-note svg {
  width: 22px;
  height: 22px;
  color: var(--color-amber);
  stroke: var(--color-amber);
  flex-shrink: 0;
  margin-top: 2px;
}

.menu-note p {
  font-size: 0.9rem;
  color: var(--color-cream-dim);
}

.menu-note strong {
  color: var(--color-cream);
}

.menu-subhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 22px;
  margin-top: 56px;
}

.menu-subhead:first-of-type {
  margin-top: 0;
}

.menu-subhead h3 {
  font-size: 1.4rem;
}

/* ---------- 8b. CARTA: filtros de categoría ---------- */
.menu-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--radius-full);
  background: var(--color-surface-2);
  border: 1.5px solid var(--color-border);
  color: var(--color-cream-dim);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}

.filter-btn:hover {
  border-color: var(--color-border-strong);
  color: var(--color-cream);
}

.filter-btn.is-active {
  background: var(--grad-brand);
  border-color: transparent;
  color: var(--color-bg);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.menu-items {
  margin-bottom: 20px;
}

.dish-card.is-hidden {
  display: none;
}

.menu-empty {
  display: none;
  text-align: center;
  padding: 60px 20px;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.menu-empty.is-visible {
  display: block;
}

.price-lines {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: flex-end;
  flex-shrink: 0;
}

.price-solo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--color-accent);
  white-space: nowrap;
}

.price-menu {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--color-muted);
  white-space: nowrap;
}

.price-menu strong {
  color: var(--color-cream-dim);
}

.menu-source-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--color-accent);
}

.menu-source-link svg {
  width: 16px;
  height: 16px;
}

/* ---------- 9. SOBRE NOSOTROS ---------- */
.about-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }
}

.about-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 5 / 4;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  display: grid;
  place-items: center;
}

.about-visual svg {
  width: 42%;
  height: 42%;
  opacity: 0.9;
}

.about-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.fact {
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}

.fact strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--color-accent);
  margin-bottom: 4px;
}

.fact span {
  font-size: 0.82rem;
  color: var(--color-muted);
}

/* ---------- 10. RESEÑAS ---------- */
.reviews-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  margin-bottom: 30px;
}

@media (min-width: 720px) {
  .reviews-grid { grid-template-columns: repeat(3, 1fr); }
}

.review-card {
  padding: 26px 24px;
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  text-align: center;
}

.review-score {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--color-amber);
  line-height: 1;
}

.review-stars {
  display: flex;
  justify-content: center;
  gap: 3px;
  margin: 12px 0 8px;
}

.review-stars svg {
  width: 18px;
  height: 18px;
  fill: var(--color-amber);
  color: var(--color-amber);
  stroke: var(--color-amber);
}

.review-source {
  font-weight: 700;
  color: var(--color-cream);
  margin-bottom: 2px;
}

.review-count {
  font-size: 0.82rem;
  color: var(--color-muted);
  margin-bottom: 14px;
}

.review-themes {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: center;
  padding-top: 8px;
}

.review-theme {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  color: var(--color-cream-dim);
}

.review-theme svg {
  width: 18px;
  height: 18px;
  color: var(--color-success);
  stroke: var(--color-success);
  flex-shrink: 0;
}

.review-disclaimer {
  font-size: 0.78rem;
  color: var(--color-muted);
  text-align: center;
  max-width: 62ch;
  margin-inline: auto;
}

/* ---------- 11. UBICACIÓN ---------- */
.location-grid {
  display: grid;
  gap: 26px;
}

@media (min-width: 900px) {
  .location-grid {
    grid-template-columns: 1fr 1.15fr;
    align-items: stretch;
  }
}

.location-card {
  padding: 30px;
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.location-line {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.location-line svg {
  width: 22px;
  height: 22px;
  color: var(--color-accent);
  stroke: var(--color-accent);
  flex-shrink: 0;
  margin-top: 3px;
}

.location-line h4 {
  font-size: 1rem;
  margin-bottom: 3px;
}

.location-line p {
  font-size: 0.92rem;
}

.map-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  min-height: 320px;
  filter: grayscale(0.35) contrast(1.05);
}

.map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- 12. CONTACTO ---------- */
.contact-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .contact-grid { grid-template-columns: repeat(3, 1fr); }
}

.contact-card {
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-card .cat-icon { margin-bottom: 4px; }

.contact-card h3 {
  font-size: 1.1rem;
}

.contact-card p {
  font-size: 0.92rem;
}

.contact-card .btn { margin-top: auto; }

/* ---------- 13. CTA PEDIR (franja de pedido) ---------- */
.order-strip {
  background: var(--grad-brand);
  /* Texto oscuro por contraste AA sobre el degradado (ver .btn-primary) */
  color: var(--color-bg);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 6vw, 56px);
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
}

.order-strip::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.18) 1.5px, transparent 1.5px);
  background-size: 20px 20px;
  opacity: 0.5;
  pointer-events: none;
}

.order-strip h2 {
  color: var(--color-bg);
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  max-width: 20ch;
}

.order-strip p {
  color: rgba(18, 15, 13, 0.82);
  max-width: 50ch;
}

.order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  position: relative;
  z-index: 1;
}

.order-actions .btn-outline {
  background: rgba(18, 15, 13, 0.1);
  border-color: rgba(18, 15, 13, 0.45);
  color: var(--color-bg);
}

.order-actions .btn-outline:hover {
  background: var(--color-bg);
  color: var(--color-accent);
  border-color: var(--color-bg);
}

/* ---------- 14. FOOTER ---------- */
.site-footer {
  background: var(--color-bg-soft);
  border-top: 1px solid var(--color-border);
  padding-block: 56px 28px;
}

.footer-grid {
  display: grid;
  gap: 36px;
  grid-template-columns: 1fr;
  margin-bottom: 40px;
}

@media (min-width: 720px) {
  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr;
  }
}

.footer-brand .brand { margin-bottom: 14px; }

.footer-brand p {
  font-size: 0.9rem;
  max-width: 34ch;
}

.footer-col h5 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 0.92rem;
  color: var(--color-cream-dim);
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
  font-size: 0.8rem;
  color: var(--color-muted);
}

/* ---------- 15. ANIMACIONES DE APARICIÓN AL HACER SCROLL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Grupos con aparición escalonada tarjeta a tarjeta: el contenedor se
   muestra de inmediato (sin doble animación) y son sus hijos directos
   los que aparecen uno a uno con un pequeño retraso creciente. */
.reveal-stagger {
  opacity: 1;
  transform: none;
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal-stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
  transition-delay: calc(var(--stagger-i, 0) * 80ms);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .reveal-stagger > * { opacity: 1; transform: none; }
  .hero-plate, .hero-orbit, .hero-float-card, .hero-scroll-cue svg { animation: none !important; }
}
