/* ============================================================
 * Punto Estrella 24h — styles.css v5 (DARK · brand-aligned)
 * Mobile-first. Custom properties. Museo + Montserrat self-hosted.
 *
 * Paleta corporativa (Manual ID Punto):
 *   blanco     #FFFFFF + crema cálida #F5F1E8 (texto)
 *   negro      #0d0d0d (base) + #161616 (alt) + #1a1a1a (cards)
 *   Pantone 7408  #F9BE00 (acento corporativo)
 *   Pantone Cyan  #00A6D6 (solo AutoPunto)
 * ============================================================ */

/* ---------- Tipografías corporativas (self-hosted) ---------- */
@font-face {
  font-family: "Museo";
  src: url("/assets/fonts/Museo300-Regular.otf") format("opentype");
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Museo";
  src: url("/assets/fonts/Museo500-Regular.otf") format("opentype");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Museo";
  src: url("/assets/fonts/Museo700-Regular.otf") format("opentype");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Museo";
  src: url("/assets/fonts/Museo900-Regular.otf") format("opentype");
  font-weight: 900; font-style: normal; font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/Montserrat-Regular.ttf") format("truetype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/Montserrat-Medium.ttf") format("truetype");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/Montserrat-Bold.ttf") format("truetype");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/Montserrat-BoldItalic.ttf") format("truetype");
  font-weight: 700; font-style: italic; font-display: swap;
}

:root {
  --color-bg:        #0d0d0d;
  --color-bg-alt:    #161616;
  --color-bg-card:   #1a1a1a;
  --color-bg-elev:   #222;

  --color-fg:        #f5f1e8;
  --color-fg-muted:  #a8a399;
  --color-fg-dim:    #6e6a62;

  --color-accent:        #F9BE00;
  --color-accent-hover:  #FFD33F;
  --color-accent-strong: #FFD33F;
  --color-accent-fg:     #0d0d0d;

  --color-cyan:          #00A6D6;
  --color-cyan-hover:    #33B8DE;

  --color-border:        rgba(255, 255, 255, 0.08);
  --color-border-strong: rgba(255, 255, 255, 0.16);
  --color-border-accent: rgba(249, 190, 0, 0.5);

  /* delivery brands */
  --color-justeat: #ff8000;
  --color-justeat-fg: #ffffff;
  --color-glovo: #ffc244;
  --color-glovo-fg: #0d0d0d;

  --font-display: "Museo", "Montserrat", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-body:    "Montserrat", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --fs-base:    clamp(16px, 1.05vw + 14px, 18px);
  --fs-lead:    clamp(1.05rem, 0.6vw + 0.95rem, 1.25rem);
  --fs-h1:      clamp(2.2rem, 5vw + 1rem, 4.2rem);
  --fs-h2:      clamp(1.8rem, 3vw + 1rem, 2.8rem);
  --fs-h3:      clamp(1.2rem, 1.2vw + 1rem, 1.6rem);
  --fs-eyebrow: 0.78rem;

  --container:  min(88%, 1200px);
  --section-py: clamp(3.5rem, 7vw, 7rem);
  --radius:     16px;
  --radius-sm:  8px;
  --radius-pill:999px;

  --shadow-sm:  0 1px 4px rgba(0, 0, 0, 0.4);
  --shadow-md:  0 12px 32px rgba(0, 0, 0, 0.5);
  --shadow-glow:0 0 24px rgba(240, 184, 0, 0.18);

  --t-fast: 150ms;
  --t-base: 280ms;
  --ease:   cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--color-fg);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, picture, video, svg { max-width: 100%; height: auto; display: block; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration-thickness: 0.08em; text-underline-offset: 0.25em; }
a:hover { color: var(--color-accent-hover); }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
::selection { background: var(--color-accent); color: var(--color-accent-fg); }

/* skip link */
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 100; background: var(--color-accent); color: var(--color-accent-fg); padding: .6rem 1rem; border-radius: var(--radius-sm); font-weight: 600; }

/* ─── helpers ───────────────────────────────────────────── */
.container { width: var(--container); max-width: 1200px; margin-inline: auto; }
.container--narrow { max-width: 820px; }
.text-center { text-align: center; }

.eyebrow {
  display: inline-block;
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 0 0 0.8rem;
  position: relative;
}
.eyebrow::before {
  content: ""; display: inline-block;
  width: 24px; height: 2px;
  background: var(--color-accent);
  vertical-align: middle;
  margin-right: 0.6rem;
  transform: translateY(-2px);
}

/* ─── tipografia ────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; margin: 0 0 0.6rem; font-weight: 700; letter-spacing: -0.025em; }
h1 { font-size: var(--fs-h1); font-weight: 900; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 700; }
p  { margin: 0 0 1rem; }
.lead { font-size: var(--fs-lead); color: var(--color-fg-muted); line-height: 1.55; }

/* ─── secciones ─────────────────────────────────────────── */
.section { padding-block: var(--section-py); }
.section--alt { background: var(--color-bg-alt); }
.section--page-head {
  padding-block: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 3vw, 2.5rem);
  position: relative;
}
.section--page-head h1 { max-width: 22ch; }
.section__head { max-width: 760px; margin-inline: auto; text-align: center; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section__head .lead { max-width: 60ch; margin: 0 auto; }

/* ─── breadcrumb ────────────────────────────────────────── */
.breadcrumb {
  width: var(--container); max-width: 1200px; margin: 1.4rem auto 0;
  font-size: 0.85rem; color: var(--color-fg-dim);
}
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 0.4rem; opacity: 0.4; }
.breadcrumb a { color: inherit; text-decoration: none; transition: color var(--t-fast) var(--ease); }
.breadcrumb a:hover { color: var(--color-accent); }
.breadcrumb [aria-current="page"] { color: var(--color-fg); font-weight: 600; }

/* ─── botones ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1.7rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 2px solid transparent;
  background: transparent;
  color: var(--color-fg);
  transition: transform var(--t-fast) var(--ease),
              background var(--t-base) var(--ease),
              color var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease);
  white-space: nowrap;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 1.05em; height: 1.05em; }

.btn--primary {
  background: var(--color-accent);
  color: var(--color-accent-fg);
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover {
  background: var(--color-accent-hover);
  color: var(--color-accent-fg);
  box-shadow: var(--shadow-glow);
}
.btn--ghost {
  background: transparent;
  color: var(--color-fg);
  border-color: var(--color-border-strong);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--color-fg);
  color: var(--color-fg);
}
.btn--sm { padding: 0.6rem 1.2rem; font-size: 0.85rem; }
.btn--lg { padding: 1.15rem 2rem; font-size: 1.05rem; }

/* botones de delivery */
.btn--justeat {
  background: var(--color-justeat);
  color: var(--color-justeat-fg);
  border-color: var(--color-justeat);
}
.btn--justeat:hover { background: #ff9533; color: var(--color-justeat-fg); border-color: #ff9533; }
.btn--glovo {
  background: var(--color-glovo);
  color: var(--color-glovo-fg);
  border-color: var(--color-glovo);
}
.btn--glovo:hover { background: #ffd066; color: var(--color-glovo-fg); border-color: #ffd066; }

/* ─── header ───────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(13, 13, 13, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.85rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  color: var(--color-fg);
  letter-spacing: -0.01em;
}
.brand__logo {
  height: 2.1rem;
  width: auto;
  color: var(--color-fg);
  display: block;
  flex-shrink: 0;
  transition: transform var(--t-fast) var(--ease-spring), filter var(--t-fast) var(--ease-out);
}
.brand:hover .brand__logo {
  transform: scale(1.04);
  filter: drop-shadow(0 0 8px rgba(249, 190, 0, 0.35));
}
.brand--footer .brand__logo { height: 2.3rem; }
.brand__star { width: 1.6rem; height: 1.6rem; color: var(--color-accent); flex-shrink: 0; }
.nav-toggle {
  background: transparent; border: 0; padding: 0.5rem;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--color-fg);
}
.nav-toggle .icon { width: 1.7rem; height: 1.7rem; }
.nav {
  position: fixed;
  inset: 60px 0 0 0;
  background: var(--color-bg);
  padding: 1.5rem 7%;
  transform: translateX(100%);
  transition: transform var(--t-base) var(--ease);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  border-top: 1px solid var(--color-border);
  width: 100%;
  overflow-y: auto;
}
.nav[data-open="true"] { transform: translateX(0); }
.nav__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.2rem; }
.nav__list a {
  display: block; padding: 0.95rem 0; text-decoration: none; font-weight: 500;
  border-bottom: 1px solid var(--color-border);
  font-size: 1.05rem;
}
.nav__list a:hover { color: var(--color-accent); }
.nav__lang { margin-top: 1rem; display: flex; gap: 0.4rem; }
.nav__lang a {
  padding: 0.4rem 0.9rem; border: 1px solid var(--color-border-strong); border-radius: var(--radius-pill);
  text-decoration: none; font-size: 0.85rem; font-weight: 700; color: var(--color-fg-muted);
}
.nav__lang a[aria-current="true"] { background: var(--color-accent); color: var(--color-accent-fg); border-color: var(--color-accent); }
.nav__cta { margin-top: 1.2rem; }

@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .nav {
    position: static;
    inset: auto;
    transform: none;
    background: transparent;
    border: 0;
    padding: 0;
    flex-direction: row;
    align-items: center;
    gap: 1.6rem;
    width: auto;
    overflow: visible;
  }
  .nav__list { flex-direction: row; gap: 1.6rem; }
  .nav__list a { padding: 0.4rem 0; border: 0; font-size: 0.95rem; }
  .nav__lang { margin-top: 0; }
  .nav__cta { margin-top: 0; }
}

/* ─── hero v2 ──────────────────────────────────────────── */
.hero {
  position: relative;
  color: var(--color-fg);
  background: var(--color-bg);
  isolation: isolate;
  overflow: clip;
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img,
.hero__video {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.42;
  filter: saturate(0.85) contrast(1.05);
}
@media (prefers-reduced-motion: reduce) {
  .hero__video { display: none; }
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: rgba(13, 13, 13, 0.72);
}
.hero__inner {
  position: relative;
  z-index: 1;
  padding-block: clamp(5rem, 11vw, 9rem);
  display: grid; gap: 1.6rem;
  align-items: center; justify-items: start;
}
.hero h1 {
  max-width: 18ch;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
}
.hero p.lead { max-width: 52ch; font-size: var(--fs-lead); color: rgba(245, 241, 232, 0.85); }
.hero__ctas { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-top: 0.4rem; }

/* ─── USP grid ──────────────────────────────────────────── */
.usp-grid {
  display: grid; gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px)  { .usp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .usp-grid { grid-template-columns: repeat(3, 1fr); } }
/* Si el último .usp queda solo en su fila (caso 3 items en 2 cols), lo centramos */
@media (min-width: 720px) and (max-width: 1099.98px) {
  .usp-grid > .usp:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: calc(50% - 0.5rem);
    margin-inline: auto;
  }
}
.usp {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  text-align: center;
  transition: transform var(--t-base) var(--ease), border-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.usp:hover {
  transform: translateY(-4px);
  border-color: var(--color-border-accent);
  box-shadow: var(--shadow-md);
}
.usp__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 3.2rem; height: 3.2rem; margin-bottom: 0.9rem;
  border-radius: var(--radius-pill);
  background: rgba(240, 184, 0, 0.12);
  color: var(--color-accent);
  border: 1px solid var(--color-border-accent);
}
.usp__icon svg { width: 1.5rem; height: 1.5rem; }
.usp h3 { margin: 0 0 0.4rem; font-size: 1.05rem; }
.usp p { color: var(--color-fg-muted); font-size: 0.95rem; margin: 0; }

/* ─── grids de cards ────────────────────────────────────── */
.cards {
  display: grid; gap: 1.2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px)  { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .cards--4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 720px)  { .cards--2 { grid-template-columns: repeat(2, 1fr); } }

.card {
  background: var(--color-bg-card);
  color: var(--color-fg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.7rem;
  display: flex; flex-direction: column; gap: 0.4rem;
  transition: transform var(--t-base) var(--ease), border-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.card:hover {
  transform: translateY(-3px);
  border-color: var(--color-border-accent);
  box-shadow: var(--shadow-md);
}
.card h2,
.card h3 { margin: 0 0 0.3rem; }
.card p { color: var(--color-fg-muted); margin: 0; }
.card--link { text-decoration: none; color: inherit; }
.card--link:hover { color: inherit; }
.card__link {
  margin-top: auto; padding-top: 0.8rem;
  font-weight: 700; color: var(--color-accent); font-size: 0.95rem;
}
.card--feature { padding: 2rem 1.7rem; }
.card__num {
  font-size: 2.4rem; font-weight: 900; color: var(--color-accent);
  letter-spacing: -0.04em; line-height: 1; margin-bottom: 0.9rem;
  font-family: var(--font-display);
}

/* ─── locales grid + cards ──────────────────────────────── */
.locales-grid {
  display: grid; gap: 1.2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px)  { .locales-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .locales-grid { grid-template-columns: repeat(4, 1fr); } }

.local-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.7rem;
  display: flex; flex-direction: column; gap: 0.7rem;
  position: relative;
  overflow: hidden;
  transition: transform var(--t-base) var(--ease), border-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.local-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--color-accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-base) var(--ease);
}
.local-card:hover { transform: translateY(-4px); border-color: var(--color-border-accent); box-shadow: var(--shadow-md); }
.local-card:hover::before { transform: scaleX(1); }
.local-card__head { display: flex; flex-direction: column; gap: 0.2rem; }
.local-card__head h2,
.local-card__head h3 { margin: 0; font-size: 1.2rem; }
.local-card__loc {
  font-size: 0.78rem; color: var(--color-fg-dim);
  text-transform: uppercase; letter-spacing: 0.15em;
}
.local-card__tag { color: var(--color-fg-muted); font-size: 0.95rem; margin: 0; min-height: 2.7em; }
.local-card__features {
  list-style: none; padding: 0; margin: 0.4rem 0 0;
  display: flex; flex-wrap: wrap; gap: 0.4rem;
}
.local-card__features li {
  font-size: 0.72rem; padding: 0.25rem 0.7rem;
  background: var(--color-bg-elev); border: 1px solid var(--color-border);
  border-radius: var(--radius-pill); letter-spacing: 0.04em;
  color: var(--color-fg-muted);
}
.local-card__hours { font-size: 0.85rem; color: var(--color-fg-dim); margin: 0; }
.local-card__actions { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: auto; padding-top: 0.6rem; }
.local-card[data-delivery="true"] .local-card__features li:first-child { background: var(--color-accent); color: var(--color-accent-fg); border-color: var(--color-accent); font-weight: 700; }

/* ─── locales filtros ───────────────────────────────────── */
.locales-filters {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-bottom: 1.8rem;
}
.filter-btn {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-strong);
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem; font-weight: 600;
  color: var(--color-fg-muted);
  transition: all var(--t-fast) var(--ease);
}
.filter-btn:hover { border-color: var(--color-fg); color: var(--color-fg); }
.filter-btn[aria-pressed="true"] {
  background: var(--color-accent); color: var(--color-accent-fg);
  border-color: var(--color-accent);
}

/* ─── local detail page ────────────────────────────────── */
.local-hero__cta { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-top: 1.2rem; }
.local-detail {
  display: grid; gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .local-detail { grid-template-columns: 1.1fr 1fr; } }
.local-detail__info dl { margin: 0; display: grid; gap: 1.4rem; }
.local-detail__info dt { font-weight: 700; color: var(--color-fg-dim); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 0.3rem; }
.local-detail__info dd { margin: 0; font-size: 1.05rem; line-height: 1.6; }
.local-detail__map { display: flex; flex-direction: column; gap: 0.6rem; }
.local-detail__map iframe {
  width: 100%; aspect-ratio: 4 / 3;
  border: 0; border-radius: var(--radius);
  background: var(--color-bg-card);
  filter: invert(0.92) hue-rotate(180deg) saturate(0.7);
}
.map-open-link {
  align-self: flex-end;
  font-size: 0.85rem; font-weight: 700;
  text-decoration: none; color: var(--color-fg-muted);
}
.map-open-link:hover { color: var(--color-accent); }

.services-tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.services-tags li {
  font-size: 0.78rem; padding: 0.3rem 0.8rem;
  background: var(--color-bg-elev); border: 1px solid var(--color-border);
  border-radius: var(--radius-pill); color: var(--color-fg-muted);
}
.services-tags__highlight {
  background: var(--color-accent) !important; color: var(--color-accent-fg);
  border-color: var(--color-accent) !important; font-weight: 700;
}

.features-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 0.4rem; font-size: 0.95rem; }
.features-list li { color: var(--color-fg-muted); }

/* ─── delivery banner (home) ────────────────────────────── */
.delivery-band {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-accent);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  display: grid; gap: 1.2rem;
}
@media (min-width: 800px) {
  .delivery-band { grid-template-columns: 1.4fr auto; align-items: center; }
}
.delivery-band h2 { margin: 0 0 0.4rem; }
.delivery-band p { margin: 0; color: var(--color-fg-muted); }
.delivery-band__brands { display: flex; gap: 0.7rem; flex-wrap: wrap; justify-self: start; }
@media (min-width: 800px) { .delivery-band__brands { justify-self: end; } }

/* ─── cartas: anchor nav + menu sections ────────────────── */
.anchor-nav {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-top: 1.6rem;
}
.anchor-nav a {
  text-decoration: none;
  padding: 0.5rem 1rem;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-pill);
  font-size: 0.85rem; font-weight: 600;
  color: var(--color-fg-muted);
  transition: all var(--t-fast) var(--ease);
}
.anchor-nav a:hover { border-color: var(--color-accent); color: var(--color-accent); }

.menu-section {
  display: grid; gap: 1.5rem;
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 800px) { .menu-section { grid-template-columns: auto 1fr; gap: 2.5rem; } }
.menu-section__num {
  font-size: clamp(3rem, 6vw, 5rem); font-weight: 900;
  color: var(--color-accent);
  line-height: 1; letter-spacing: -0.05em;
  font-family: var(--font-display);
  opacity: 0.6;
}
.menu-section__cta { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 1.2rem; }
.menu-placeholder {
  background: rgba(240, 184, 0, 0.06);
  border: 1px solid var(--color-border-accent);
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  margin-top: 1rem;
}
.menu-placeholder p { margin: 0; color: var(--color-fg-muted); font-size: 0.95rem; }
.menu-placeholder strong { color: var(--color-fg); }

/* ─── eventos: process numerado ─────────────────────────── */
.process { list-style: none; padding: 0; margin: 1.5rem 0; counter-reset: step; display: grid; gap: 1rem; }
.process li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 3rem 1fr;
  grid-template-rows: auto auto;
  gap: 0.3rem 1rem;
  align-items: start;
  padding: 1.2rem 0;
  border-top: 1px solid var(--color-border);
}
.process li:first-child { border-top: 0; padding-top: 0.6rem; }
.process li::before {
  content: counter(step, decimal-leading-zero);
  font-weight: 900;
  color: var(--color-accent);
  font-size: 1.6rem;
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: start;
  line-height: 1;
}
.process li > span {
  grid-column: 2;
  grid-row: 1;
  display: block;
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0;
}
.process li > p {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
  color: var(--color-fg-muted);
}

/* ─── checklist (autopunto) ─────────────────────────────── */
.checklist {
  display: grid; gap: 0.5rem;
  grid-template-columns: 1fr;
  margin: 1.5rem 0;
}
@media (min-width: 600px)  { .checklist { grid-template-columns: 1fr 1fr; } }
.checklist > div {
  position: relative;
  padding: 0.7rem 0.7rem 0.7rem 1.8rem;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
}
.checklist > div::before {
  content: "✓"; position: absolute; left: 0.7rem; top: 0.6rem;
  color: var(--color-accent); font-weight: 700;
}
.note { color: var(--color-fg-dim); font-size: 0.85rem; margin-top: 1rem; }

/* ─── FAQ accordion ─────────────────────────────────────── */
.faq { display: grid; gap: 0.6rem; max-width: 760px; margin-inline: auto; }
.faq-item {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--t-fast) var(--ease);
}
.faq-item[data-open="true"] { border-color: var(--color-border-accent); }
.faq-q {
  width: 100%; text-align: left;
  background: transparent; border: 0;
  padding: 1.3rem 1.4rem; font-size: 1.05rem; font-weight: 700;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  color: var(--color-fg);
}
.faq-q::after {
  content: "+"; font-size: 1.6rem; line-height: 1; color: var(--color-accent);
  transition: transform var(--t-fast) var(--ease);
  flex-shrink: 0;
}
.faq-item[data-open="true"] .faq-q::after { transform: rotate(45deg); }
.faq-a {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows var(--t-base) var(--ease);
}
.faq-item[data-open="true"] .faq-a { grid-template-rows: 1fr; }
.faq-a > * { overflow: hidden; }
.faq-a p { padding: 0 1.4rem 1.3rem; color: var(--color-fg-muted); margin: 0; }

/* ─── contacto ──────────────────────────────────────────── */
.contact {
  display: grid; gap: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .contact { grid-template-columns: 1.05fr 1fr; } }
.contact-cta { display: flex; gap: 0.9rem; flex-wrap: wrap; justify-content: center; }

.phones-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.7rem; }
.phones-list li {
  padding: 0.95rem 1.1rem;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  transition: border-color var(--t-fast) var(--ease);
}
.phones-list li:hover { border-color: var(--color-border-accent); }
.phones-list a { font-weight: 700; color: var(--color-accent); text-decoration: none; }
.phones-list a:hover { color: var(--color-accent-hover); text-decoration: underline; }

/* ─── form ──────────────────────────────────────────────── */
.form { display: grid; gap: 0.95rem; max-width: 540px; }
.form__row { display: grid; gap: 0.4rem; }
.form label { font-weight: 600; font-size: 0.85rem; color: var(--color-fg-muted); letter-spacing: 0.02em; }
.form input, .form textarea {
  font: inherit;
  padding: 0.95rem 1.1rem;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  background: var(--color-bg-card);
  color: var(--color-fg);
  width: 100%;
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.form input::placeholder, .form textarea::placeholder { color: var(--color-fg-dim); }
.form input:focus, .form textarea:focus {
  border-color: var(--color-accent);
  outline: 2px solid rgba(240, 184, 0, 0.3);
  outline-offset: 1px;
  background: var(--color-bg-elev);
}
.form textarea { min-height: 7.5rem; resize: vertical; }
.form__consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.85rem; color: var(--color-fg-muted); }
.form__consent input { width: 1rem; height: 1rem; margin-top: 0.3rem; accent-color: var(--color-accent); }
.form__consent a { color: var(--color-accent); }
.form button { justify-self: start; }
.form .hp { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

.alert { padding: 1rem 1.2rem; border-radius: var(--radius-sm); font-weight: 500; margin-bottom: 1rem; }
.alert--ok  { background: rgba(34, 197, 94, 0.1);  color: #86efac; border: 1px solid rgba(34, 197, 94, 0.4); }
.alert--err { background: rgba(239, 68, 68, 0.1);  color: #fca5a5; border: 1px solid rgba(239, 68, 68, 0.4); }
.alert--info { background: rgba(240, 184, 0, 0.08); color: var(--color-fg-muted); border: 1px solid var(--color-border-accent); }
.alert--info strong { color: var(--color-fg); }

/* ─── footer ────────────────────────────────────────────── */
.site-footer {
  background: #050505;
  color: var(--color-fg);
  padding-block: 3.5rem 1.5rem;
  border-top: 1px solid var(--color-border);
}
.site-footer__grid {
  display: grid; gap: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1.2fr; } }
.site-footer h3 {
  color: var(--color-accent);
  font-size: 0.85rem; letter-spacing: 0.16em; text-transform: uppercase;
  margin: 0 0 1rem; font-weight: 700;
}
.site-footer p { color: var(--color-fg-muted); font-size: 0.95rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; }
.site-footer a { color: var(--color-fg); text-decoration: none; transition: color var(--t-fast) var(--ease); }
.site-footer a:hover { color: var(--color-accent); }
.site-footer__col span { color: var(--color-fg-dim); }
.brand--footer { color: var(--color-fg); font-size: 1.1rem; margin-bottom: 0.9rem; }
.brand--footer .brand__star { color: var(--color-accent); }
.site-footer__bar {
  margin-top: 2.5rem; padding-top: 1.4rem;
  border-top: 1px solid var(--color-border);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem;
  font-size: 0.8rem; color: var(--color-fg-dim);
}

/* ─── cookie banner ─────────────────────────────────────── */
.cookie-banner {
  position: fixed; bottom: 1rem; left: 1rem; right: 1rem; z-index: 50;
  background: var(--color-bg-card); color: var(--color-fg);
  padding: 1.2rem 1.4rem; border-radius: var(--radius);
  border: 1px solid var(--color-border-accent);
  box-shadow: var(--shadow-md);
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
  font-size: 0.9rem;
  animation: fade-up var(--t-base) var(--ease);
}
@media (min-width: 720px) { .cookie-banner { left: auto; max-width: 480px; } }
.cookie-banner a { color: var(--color-accent); }
.cookie-banner__actions { display: flex; gap: 0.6rem; }
@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

/* ─── floating call (movil) ─────────────────────────────── */
.floating-call {
  position: fixed; bottom: 1.2rem; right: 1.2rem; z-index: 40;
  width: 3.6rem; height: 3.6rem; border-radius: var(--radius-pill);
  background: var(--color-accent); color: var(--color-accent-fg);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(240, 184, 0, 0.35);
  text-decoration: none;
  transition: transform var(--t-fast) var(--ease);
}
.floating-call:hover { transform: scale(1.06); color: var(--color-accent-fg); }
.floating-call svg { width: 1.5rem; height: 1.5rem; }
@media (min-width: 960px) { .floating-call { display: none; } }

/* ─── back to top ───────────────────────────────────────── */
.back-to-top {
  position: fixed; bottom: 1.2rem; right: 1.2rem; z-index: 39;
  width: 3rem; height: 3rem; border-radius: var(--radius-pill);
  background: var(--color-bg-card); color: var(--color-fg);
  border: 1px solid var(--color-border-strong);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: transform var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
  animation: fade-up var(--t-base) var(--ease);
}
.back-to-top:hover,
.back-to-top:focus-visible {
  background: var(--color-accent);
  color: var(--color-accent-fg);
  transform: translateY(-2px);
}
.back-to-top svg { width: 1.2rem; height: 1.2rem; }
.back-to-top[hidden] { display: none; }
/* En movil convive con .floating-call: lo apilamos encima */
@media (max-width: 959px) {
  .back-to-top { bottom: 5.4rem; }
}

/* ─── split (eventos / autopunto en home) ───────────────── */
.split {
  display: grid; gap: 2rem; align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .split { grid-template-columns: 1.05fr 1fr; } }
.split__media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  width: 100%; height: 100%; object-fit: cover; aspect-ratio: 5/4;
}
.split__media--right { order: -1; }
@media (min-width: 900px) { .split__media--right { order: 1; } }

/* ─── h24 dark section ──────────────────────────────────── */
.h24 { text-align: center; }
.h24 h2 {
  color: var(--color-accent);
}
.h24 p { max-width: 65ch; margin-inline: auto; font-size: var(--fs-lead); color: var(--color-fg-muted); }

/* ─── steps (take-away u otros) ─────────────────────────── */
.steps {
  display: grid; gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  text-align: center;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
}
.step__n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem;
  border-radius: var(--radius-pill);
  background: var(--color-accent);
  color: var(--color-accent-fg);
  font-weight: 700; font-size: 1.1rem;
  margin-bottom: 0.7rem;
}

/* ─── articulos legales ─────────────────────────────────── */
.legal { padding-block: clamp(3rem, 6vw, 5rem); }
.legal__inner { max-width: 760px; margin-inline: auto; }
.legal h1 { margin-bottom: 1rem; }
.legal h2 { margin-top: 2.5rem; font-size: 1.4rem; }
.legal h3 { margin-top: 1.5rem; font-size: 1.15rem; }
.legal ul, .legal ol { padding-left: 1.4rem; margin: 1rem 0; }
.legal a { color: var(--color-accent); }

/* anchor offset for sticky header */
:target { scroll-margin-top: 80px; }

/* ============================================================
 * v3.1 — page-hero, gallery, price-callout, menu-slide, legal v2
 * ============================================================ */

/* ─── page-hero (hero con bg image + overlay corporativo) ───── */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding-block: clamp(4.5rem, 10vw, 8rem);
  background: var(--color-bg-dark, #0d0d0d) var(--hero-bg) center/cover no-repeat;
  color: var(--color-fg);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(13,13,13,0.55) 0%, rgba(13,13,13,0.82) 65%, rgba(13,13,13,0.95) 100%);
}
.page-hero h1 {
  max-width: 22ch;
  text-shadow: 0 4px 24px rgba(0,0,0,0.65);
}
.page-hero p.lead { max-width: 56ch; color: rgba(245, 241, 232, 0.86); }

/* ─── Hero entry animation: marca el "he llegado a una pagina nueva" ───── */
@keyframes hero-enter {
  from { opacity: 0; transform: translate3d(0, 18px, 0); }
  to   { opacity: 1; transform: none; }
}
@keyframes hero-bg-zoom {
  from { transform: scale(1.06); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}
.page-hero,
.section--page-head {
  animation: hero-bg-zoom 700ms var(--ease-out) both;
}
.page-hero > .container > *,
.section--page-head > .container > * {
  animation: hero-enter 600ms var(--ease-out) both;
}
.page-hero > .container > .eyebrow,
.section--page-head > .container > .eyebrow {
  animation-delay: 60ms;
}
.page-hero > .container > h1,
.section--page-head > .container > h1 {
  animation-delay: 140ms;
}
.page-hero > .container > p,
.section--page-head > .container > p {
  animation-delay: 220ms;
}
.page-hero > .container > .page-hero__cta,
.page-hero > .container > .local-hero__cta,
.section--page-head > .container > .page-hero__cta,
.section--page-head > .container > .local-hero__cta,
.section--page-head > .container > .contact-cta,
.section--page-head > .container > .legal-construction {
  animation-delay: 320ms;
}
/* Home hero (.hero__inner) tambien anima */
.hero__inner > * { animation: hero-enter 600ms var(--ease-out) both; }
.hero__inner > .eyebrow { animation-delay: 60ms; }
.hero__inner > h1       { animation-delay: 140ms; }
.hero__inner > p        { animation-delay: 220ms; }
.hero__inner > .hero__ctas { animation-delay: 320ms; }

/* Para pages con .section--page-head + imagen opcional de fondo */
.section--page-head {
  position: relative;
  isolation: isolate;
  overflow: clip;
}
.section--page-head[style*="--hero-bg"] {
  background: var(--color-bg-dark, #0d0d0d) var(--hero-bg) center/cover no-repeat;
  padding-block: clamp(4rem, 8vw, 6.5rem) clamp(2rem, 4vw, 3rem);
}
.section--page-head[style*="--hero-bg"]::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(13,13,13,0.55) 0%, rgba(13,13,13,0.82) 65%, rgba(13,13,13,0.95) 100%);
}
.section--page-head[style*="--hero-bg"] h1 { text-shadow: 0 4px 24px rgba(0,0,0,0.65); }

@media (prefers-reduced-motion: reduce) {
  .page-hero,
  .section--page-head,
  .page-hero > .container > *,
  .section--page-head > .container > *,
  .hero__inner > * {
    animation: none !important;
  }
}
.page-hero__cta {
  display: flex; gap: 0.9rem; flex-wrap: wrap;
  margin-top: 1.4rem;
}

/* ─── gallery (eventos) ───────────────────────────────────── */
.gallery {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px)  { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery__item {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  aspect-ratio: 4 / 3;
}
.gallery__item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--t-base) var(--ease);
}
.gallery__item:hover img { transform: scale(1.04); }
@media (min-width: 1100px) { .gallery__item--span2 { grid-column: span 2; aspect-ratio: 8 / 5; } }

/* ─── price callout (autopunto) ───────────────────────────── */
.price-callout {
  display: grid;
  place-items: center;
  text-align: center;
  padding: clamp(2rem, 5vw, 3.5rem) 1.5rem;
  border-radius: var(--radius);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-accent);
}
.price-callout__from {
  font-size: 0.85rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--color-accent); font-weight: 700; margin-bottom: 0.4rem;
}
.price-callout__amount {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(4rem, 12vw, 7rem);
  line-height: 1;
  color: var(--color-fg);
  letter-spacing: -0.04em;
  text-shadow: 0 0 40px rgba(240,184,0,0.25);
}
.price-callout__sub {
  margin-top: 0.6rem;
  color: var(--color-fg-muted);
  font-size: 0.95rem;
}

/* ─── menu-slide (imagen embed en cartas) ─────────────────── */
.menu-slide {
  display: block;
  position: relative;
  margin: 1.5rem 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-bg-card);
  text-decoration: none;
  transition: transform var(--t-base) var(--ease), border-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.menu-slide:hover {
  transform: translateY(-2px);
  border-color: var(--color-border-accent);
  box-shadow: var(--shadow-md);
}
.menu-slide img {
  width: 100%;
  display: block;
  background: #fff;
}
.menu-slide__zoom {
  position: absolute; top: 0.8rem; right: 0.8rem;
  width: 2.4rem !important; height: 2.4rem !important;
  border-radius: var(--radius-pill);
  background: var(--color-accent);
  color: var(--color-accent-fg);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}
.menu-slide__zoom svg {
  width: 1.1rem !important; height: 1.1rem !important;
  flex-shrink: 0;
}
.menu-slide__caption {
  display: block;
  padding: 0.7rem 1rem;
  background: var(--color-bg-elev);
  color: var(--color-fg-muted);
  font-size: 0.85rem;
  text-align: center;
  border-top: 1px solid var(--color-border);
}

/* menu section body — para que el contenido se alinee con el numero */
.menu-section__body { display: block; }

/* ─── menu-pages: carousel scroll-snap horizontal ─────────── */
.menu-pages {
  position: relative;
  margin: 1.4rem 0 0.6rem;
  isolation: isolate;
}
.menu-pages__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  gap: 0.5rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.menu-pages__track::-webkit-scrollbar { display: none; }
.menu-pages__item {
  flex: 0 0 100%;
  scroll-snap-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: #fafafa;
  overflow: hidden;
  text-decoration: none;
  min-height: 50vh;
  max-height: 78vh;
}
.menu-pages__item img {
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  height: auto;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

/* prev / next */
.menu-pages__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3rem; height: 3rem;
  border-radius: var(--radius-pill);
  background: rgba(13, 13, 13, 0.82);
  color: var(--color-fg);
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: inline-flex;
  align-items: center; justify-content: center;
  cursor: pointer;
  z-index: 2;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease), background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}
.menu-pages__nav:hover {
  background: var(--color-accent);
  color: var(--color-accent-fg);
  border-color: var(--color-accent);
  transform: translateY(-50%) scale(1.05);
}
.menu-pages__nav--prev { left: 0.6rem; }
.menu-pages__nav--next { right: 0.6rem; }
.menu-pages__nav:disabled,
.menu-pages__nav[disabled] {
  opacity: 0.32;
  cursor: not-allowed;
  pointer-events: none;
}
.menu-pages__nav svg {
  width: 1.2rem; height: 1.2rem;
}

/* indicador "Pagina 01 de 08" */
.menu-pages__indicator {
  text-align: center;
  margin-top: 0.6rem;
  color: var(--color-fg-muted);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}
.menu-pages__indicator strong {
  color: var(--color-accent);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* dots opcionales (puntos por pagina) */
.menu-pages__dots {
  display: flex;
  gap: 0.4rem;
  justify-content: center;
  margin-top: 0.5rem;
}
.menu-pages__dots button {
  width: 0.5rem; height: 0.5rem;
  border-radius: var(--radius-pill);
  background: var(--color-border-strong);
  border: 0;
  cursor: pointer;
  padding: 0;
  transition: background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.menu-pages__dots button:hover { background: var(--color-fg-muted); }
.menu-pages__dots button[aria-current="true"] {
  background: var(--color-accent);
  transform: scale(1.4);
}

/* mobile */
@media (max-width: 720px) {
  .menu-pages__nav { width: 2.5rem; height: 2.5rem; }
  .menu-pages__nav svg { width: 1rem; height: 1rem; }
  .menu-pages__item { min-height: 45vh; max-height: 70vh; }
  .menu-pages__item img { max-height: 70vh; }
}

.menu-pages__actions {
  display: flex; gap: 0.6rem; flex-wrap: wrap;
  justify-content: center;
  margin-top: 0.8rem;
}

/* ─── menu-pending (carta en preparacion) ─────────────────── */
.menu-pending {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
  background: rgba(240, 184, 0, 0.06);
  border: 1px solid var(--color-border-accent);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  margin: 1.2rem 0;
}
.menu-pending__icon {
  display: inline-flex;
  width: 2.6rem; height: 2.6rem;
  align-items: center; justify-content: center;
  border-radius: var(--radius-pill);
  background: rgba(240, 184, 0, 0.18);
  color: var(--color-accent);
}
.menu-pending p { margin: 0; color: var(--color-fg-muted); }
.menu-pending strong { color: var(--color-fg); }

/* ============================================================
 *  Páginas legales (.legal-doc)
 * ============================================================ */
.legal-doc {
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-fg);
}
.legal-doc h2 {
  font-size: clamp(1.3rem, 1.2vw + 1rem, 1.7rem);
  margin: 2.4rem 0 0.8rem;
  color: var(--color-fg);
  letter-spacing: -0.01em;
}
.legal-doc h2:first-of-type { margin-top: 0.6rem; }
.legal-doc h3 {
  font-size: 1.1rem;
  margin: 1.4rem 0 0.5rem;
  color: var(--color-fg-muted);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.legal-doc p { margin: 0 0 1rem; color: var(--color-fg-muted); }
.legal-doc p strong, .legal-doc li strong { color: var(--color-fg); }
.legal-doc a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.legal-doc a:hover { color: var(--color-accent-hover); }
.legal-doc ul, .legal-doc ol {
  margin: 0 0 1.2rem;
  padding-left: 1.2rem;
  color: var(--color-fg-muted);
}
.legal-doc ul li, .legal-doc ol li { margin-bottom: 0.5rem; }
.legal-doc ul ul { margin-top: 0.4rem; }
.legal-doc__list {
  list-style: none;
  padding-left: 0;
}
.legal-doc__list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-border);
}
.legal-doc__list li:last-child { border-bottom: 0; }
.legal-doc__updated {
  font-size: 0.85rem;
  color: var(--color-fg-dim);
  margin-top: 1.2rem;
}
.legal-doc code {
  background: var(--color-bg-card);
  padding: 0.1rem 0.4rem;
  border-radius: var(--radius-sm);
  font-size: 0.88em;
  color: var(--color-fg);
}
.legal-doc__table-wrap {
  overflow-x: auto;
  margin: 0 0 1.4rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
}
.legal-doc__table {
  width: 100%;
  min-width: 540px;
  border-collapse: collapse;
  font-size: 0.92rem;
  color: var(--color-fg-muted);
}
.legal-doc__table th,
.legal-doc__table td {
  padding: 0.7rem 0.9rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--color-border);
}
.legal-doc__table th {
  background: var(--color-bg-card);
  color: var(--color-fg);
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 0.82rem;
  text-transform: uppercase;
}
.legal-doc__table tbody tr:last-child td { border-bottom: 0; }

/* ─── en construccion (pagina placeholder) ────────────────── */
.legal-construction {
  text-align: center;
  padding: clamp(2rem, 5vw, 4rem) 1rem;
}
.legal-construction__icon {
  display: inline-flex;
  width: 4rem; height: 4rem;
  align-items: center; justify-content: center;
  border-radius: var(--radius-pill);
  background: rgba(240, 184, 0, 0.12);
  border: 1px solid var(--color-border-accent);
  color: var(--color-accent);
  margin-bottom: 1.4rem;
}
.legal-construction h1 { margin: 0 0 1rem; }
.legal-construction p.lead { max-width: 50ch; margin: 0 auto 1rem; }
.legal-construction p { color: var(--color-fg-muted); }

/* ============================================================
 * Legal v2 — TOC, callouts, secciones, tablas
 * ============================================================ */
.legal { padding-block: clamp(2.5rem, 5vw, 4rem); }
.legal__inner {
  max-width: 820px;
  margin-inline: auto;
}
.legal__head { margin-bottom: 2rem; }
.legal__head h1 { margin-bottom: 0.6rem; }
.legal__head .lead { max-width: 60ch; margin: 0; }

.legal__toc {
  display: flex; flex-wrap: wrap; gap: 0.4rem;
  margin: 1.5rem 0 2.5rem;
  padding: 1rem;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}
.legal__toc a {
  text-decoration: none;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
  background: transparent;
  border: 1px solid var(--color-border-strong);
  font-size: 0.82rem; font-weight: 600;
  color: var(--color-fg-muted);
  transition: all var(--t-fast) var(--ease);
}
.legal__toc a:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.legal__section {
  padding-block: 2rem 1.5rem;
  border-top: 1px solid var(--color-border);
}
.legal__section:first-of-type { border-top: 0; padding-top: 0; }
.legal__section h2 { font-size: 1.5rem; margin-bottom: 1rem; }
.legal__section h2::before {
  content: ""; display: inline-block;
  width: 4px; height: 1.4rem; background: var(--color-accent);
  margin-right: 0.7rem; vertical-align: -3px; border-radius: 2px;
}
.legal__section ul,
.legal__section ol {
  padding-left: 1.4rem; margin: 0.8rem 0;
}
.legal__section ul li,
.legal__section ol li { margin-bottom: 0.5rem; }
.legal__section a { color: var(--color-accent); }
.legal__section a:hover { color: var(--color-accent-hover); }

.legal__callout {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-accent);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  margin: 1rem 0;
}
.legal__callout dl { margin: 0; display: grid; gap: 0.8rem; }
.legal__callout dt {
  font-weight: 700; color: var(--color-fg-dim); font-size: 0.78rem;
  text-transform: uppercase; letter-spacing: 0.12em;
  margin-bottom: 0.15rem;
}
.legal__callout dd { margin: 0; font-size: 0.95rem; line-height: 1.5; }
.legal__callout--ok {
  border-left-color: #86efac;
  background: rgba(34, 197, 94, 0.08);
}
.legal__callout--note {
  border-left-color: var(--color-accent);
  background: rgba(240, 184, 0, 0.08);
  font-size: 0.9rem;
  color: var(--color-fg-muted);
}

.legal__table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.92rem;
  background: var(--color-bg-card);
  border-radius: var(--radius);
  overflow: hidden;
}
.legal__table th,
.legal__table td {
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
}
.legal__table th {
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--color-fg-dim);
  background: var(--color-bg-elev);
}
.legal__table tr:last-child td { border-bottom: 0; }
.legal__table code {
  background: rgba(240, 184, 0, 0.1);
  color: var(--color-accent);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-size: 0.85em;
}

.legal__updated {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.85rem;
  color: var(--color-fg-dim);
  font-style: italic;
}

/* ─── reduced motion ───────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
 * XXL MOBILE AUDIT — v7
 * Tap targets ≥44px, anti-zoom iOS, overlap fixes,
 * stack legibility, container fluidity, video data-saver.
 * ============================================================ */

/* nav fullscreen mobile: usar dvh para evitar barra movil */
@media (max-width: 959px) {
  .nav {
    height: calc(100vh - 60px);
    height: calc(100dvh - 60px);
  }
}

/* anti-zoom iOS en form inputs: minimo 16px reales */
.form input,
.form textarea,
.form select {
  font-size: 16px;
}

/* tap targets ≥44px en movil (WCAG 2.5.5 / Apple HIG) */
@media (max-width: 720px) {
  .btn--sm        { min-height: 44px; padding: 0.7rem 1.2rem; }
  .filter-btn     { min-height: 44px; padding: 0.7rem 1.1rem; }
  .anchor-nav a   { min-height: 44px; display: inline-flex; align-items: center; padding: 0.7rem 1.1rem; }
  .nav__lang a    { min-height: 40px; display: inline-flex; align-items: center; }
  .nav-toggle     { padding: 0.7rem; min-width: 44px; min-height: 44px; }
  .menu-pages__nav { width: 2.8rem; height: 2.8rem; }
}

/* cookie banner: dejar hueco al floating-call (mobile) */
@media (max-width: 720px) {
  .cookie-banner { bottom: 5.4rem; }
}

/* container un poco mas ancho en moviles muy pequenos */
@media (max-width: 480px) {
  :root { --container: min(92%, 1200px); }
  .card, .local-card, .usp { padding: 1.4rem 1.2rem; }
  .menu-pages__indicator { font-size: 0.95rem; }
  .menu-pages__nav       { width: 2.6rem; height: 2.6rem; }
  .delivery-band         { padding: 1.4rem 1.2rem; }
}

/* hero h1 mas compacto en moviles muy estrechos */
@media (max-width: 380px) {
  .hero h1, .page-hero h1 { font-size: clamp(1.9rem, 9vw, 2.4rem); }
}

/* CTAs full-width en moviles pequenos para tap comodo */
@media (max-width: 420px) {
  .hero__ctas .btn,
  .page-hero__cta .btn,
  .contact-cta .btn,
  .local-hero__cta .btn { flex: 1 1 100%; justify-content: center; }
}

/* delivery-band botones full-width stack mobile */
@media (max-width: 720px) {
  .delivery-band__brands       { width: 100%; }
  .delivery-band__brands .btn  { flex: 1 1 calc(50% - 0.5rem); justify-content: center; }
}

/* footer bar: stack en mobile para que no se solape */
@media (max-width: 560px) {
  .site-footer__bar { flex-direction: column; align-items: flex-start; }
}

/* breadcrumb mas pequeno en mobile estrecho */
@media (max-width: 420px) {
  .breadcrumb { font-size: 0.78rem; }
}

/* phones-list mejor legibilidad mobile */
@media (max-width: 480px) {
  .phones-list li { font-size: 0.95rem; padding: 0.85rem 1rem; }
}

/* video hero: respeta save-data (no autoplay si el usuario lo pide) */
@media (prefers-reduced-data: reduce) {
  .hero__video { display: none; }
}

/* ============================================================
 * LOCAL-CARD REVEAL — overlay con info extra al hover (desktop)
 * ============================================================ */
.local-card__head,
.local-card__actions { position: relative; z-index: 3; }

.local-card__reveal {
  position: absolute;
  inset: 0;
  background: rgba(13, 13, 13, 0.92);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.9rem;
  padding: 4.4rem 1.6rem 5.2rem;
  text-align: center;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
  z-index: 2;
  border-radius: inherit;
}
.local-card:hover .local-card__reveal,
.local-card:focus-within .local-card__reveal {
  opacity: 1;
}
.reveal__icons {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}
.reveal__svc {
  flex: 1 1 0;
  min-width: 4.5rem;
  max-width: 6.5rem;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding: 0.65rem 0.4rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  color: var(--color-fg);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}
.local-card:hover .reveal__svc { transform: translateY(0); }
.reveal__svc svg { width: 1.4rem; height: 1.4rem; color: var(--color-fg-muted); }
.reveal__svc small {
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: var(--color-fg-muted);
  line-height: 1.1;
}
.reveal__svc--accent {
  background: var(--color-accent);
  border-color: var(--color-accent);
}
.reveal__svc--accent svg,
.reveal__svc--accent small {
  color: var(--color-accent-fg);
  font-weight: 700;
}
.reveal__highway {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: rgba(240, 184, 0, 0.13);
  border: 1px solid var(--color-border-accent);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
}
.reveal__hours {
  font-size: 0.85rem;
  color: var(--color-fg-muted);
  font-weight: 600;
}
/* En mobile no hay hover: ocultamos el reveal (la info ya esta en la card) */
@media (hover: none), (max-width: 720px) {
  .local-card__reveal { display: none; }
}

/* ============================================================
 * LIGHTBOX — visor de imagenes con zoom + pan + navegacion
 * ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(8, 8, 8, 0.96);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: lb-fade 0.2s var(--ease);
}
.lightbox[hidden] { display: none; }
@keyframes lb-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.lightbox__stage {
  flex: 1 1 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  touch-action: pinch-zoom;
}
.lightbox__img {
  max-width: 95vw;
  max-height: 84vh;
  width: auto;
  height: auto;
  object-fit: contain;
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
  cursor: zoom-in;
  user-select: none;
  -webkit-user-drag: none;
  transform-origin: center center;
  transition: transform 0.18s var(--ease);
  will-change: transform;
}
.lightbox__img.is-zoomed { cursor: grab; transition: none; }
.lightbox__img.is-panning { cursor: grabbing; }
.lightbox__close,
.lightbox__nav {
  position: absolute;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-fg);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease), transform 0.18s var(--ease), color 0.18s var(--ease);
}
.lightbox__close svg,
.lightbox__nav svg { width: 1.3rem; height: 1.3rem; }
.lightbox__close:hover,
.lightbox__nav:hover {
  background: var(--color-accent);
  color: var(--color-accent-fg);
  border-color: var(--color-accent);
}
.lightbox__close { top: 1rem; right: 1rem; z-index: 4; }
.lightbox__nav { top: 50%; transform: translateY(-50%); z-index: 4; }
.lightbox__nav--prev { left: 1rem; }
.lightbox__nav--next { right: 1rem; }
.lightbox__nav:hover { transform: translateY(-50%) scale(1.06); }
.lightbox__caption {
  margin: 1rem 0 0.4rem;
  color: rgba(245, 241, 232, 0.92);
  font-size: 0.95rem;
  text-align: center;
  max-width: 80vw;
}
.lightbox__hint {
  font-size: 0.75rem;
  color: var(--color-fg-dim);
  letter-spacing: 0.04em;
  text-align: center;
  margin-bottom: 0.4rem;
}
@media (max-width: 720px) {
  .lightbox__close,
  .lightbox__nav { width: 2.6rem; height: 2.6rem; }
  .lightbox__close { top: 0.6rem; right: 0.6rem; }
  .lightbox__nav--prev { left: 0.4rem; }
  .lightbox__nav--next { right: 0.4rem; }
  .lightbox__hint { display: none; }
  .lightbox__caption { font-size: 0.82rem; }
}

/* ============================================================
 * LUPA / MAGNIFIER sobre .menu-pages__item en hover desktop
 * ============================================================ */
.menu-pages__lens {
  position: absolute;
  top: 0;
  left: 0;
  width: 220px;
  height: 220px;
  border-radius: var(--radius-pill);
  border: 3px solid rgba(240, 184, 0, 0.92);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.55),
    inset 0 0 0 1px rgba(255, 255, 255, 0.45);
  pointer-events: none;
  background-color: #fff;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.18s var(--ease);
  z-index: 5;
}
.menu-pages__item { position: relative; }
@media (hover: none) {
  .menu-pages__lens { display: none; }
}

/* ============================================================
 * XL UPGRADE v8 — tokens, missing classes, header polish
 * ============================================================ */

/* ─── tokens extendidos ─────────────────────────────────── */
:root {
  /* altura del header sticky (usar para offsets) */
  --header-h: 64px;

  /* spacing scale 8px-grid */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-8: 3rem;
  --space-10: 4rem;
  --space-12: 6rem;

  /* shadow scale enriquecida */
  --shadow-xs:  0 1px 2px rgba(0, 0, 0, 0.32);
  --shadow-lg:  0 24px 56px rgba(0, 0, 0, 0.55);
  --shadow-ring:0 0 0 1px var(--color-border-accent), 0 18px 40px rgba(0, 0, 0, 0.5);

  /* easing */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* z-index scale */
  --z-base:     1;
  --z-sticky:   30;
  --z-floating: 40;
  --z-banner:   50;
  --z-modal:    200;
}

/* anchor offset coherente con header sticky */
:target { scroll-margin-top: calc(var(--header-h) + 16px); }

/* nav fullscreen mobile alineado con header real */
@media (max-width: 959px) {
  .nav {
    inset: var(--header-h) 0 0 0;
    height: calc(100dvh - var(--header-h));
  }
}

/* ─── seccion variants (FIX: estaban referenciadas y no existian) ─ */
.section--soft {
  background: var(--color-bg-alt);
}
.section--dark {
  background: #0a0a0a;
  border-block: 1px solid var(--color-border);
  position: relative;
  isolation: isolate;
}

/* ─── eyebrow variantes ─────────────────────────────────── */
.eyebrow--on-dark {
  background: rgba(240, 184, 0, 0.12);
  border: 1px solid var(--color-border-accent);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.eyebrow--on-dark::before { display: none; }

/* ─── btn ghost variante para fondo oscuro/imagen ───────── */
.btn--ghost-light {
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-fg);
  border-color: rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--color-fg);
}

/* ─── hero v2 (refinamientos sobre .hero) ───────────────── */
.hero--v2 .hero__inner { gap: 1.4rem; }
.hero--v2 h1 {
  color: #ffffff;
}

/* ─── BTN PRIMARY: shimmer sutil en hover ───────────────── */
.btn--primary {
  position: relative;
  overflow: hidden;
}
/* btn--primary shimmer removed (sin gradientes — directriz brand) */

/* ─── HEADER: scroll state + active page + mobile call ──── */
.site-header {
  transition: background 0.25s var(--ease-out), border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.site-header[data-scrolled="true"] {
  background: rgba(8, 8, 8, 0.92);
  border-bottom-color: var(--color-border-strong);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

/* indicador de pagina activa */
.nav__list a {
  position: relative;
  transition: color var(--t-fast) var(--ease-out);
}
.nav__list a[aria-current="page"] {
  color: var(--color-accent);
}
@media (min-width: 960px) {
  .nav__list a::after {
    content: ""; position: absolute;
    left: 0; right: 0; bottom: -6px;
    height: 2px; background: var(--color-accent);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s var(--ease-out);
  }
  .nav__list a:hover::after,
  .nav__list a[aria-current="page"]::after { transform: scaleX(1); }
}

/* CTA telefono visible en movil junto al hamburger */
.header-call-mobile {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: var(--radius-pill);
  background: var(--color-accent);
  color: var(--color-accent-fg);
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(240, 184, 0, 0.28);
  transition: transform var(--t-fast) var(--ease-out), background var(--t-fast) var(--ease-out);
  margin-left: auto;
  margin-right: 0.4rem;
}
.header-call-mobile:hover { transform: scale(1.06); color: var(--color-accent-fg); background: var(--color-accent-hover); }
.header-call-mobile svg { width: 1.2rem; height: 1.2rem; }
@media (min-width: 960px) { .header-call-mobile { display: none; } }

/* logo con micro-glow */
.brand__star {
  filter: drop-shadow(0 0 6px rgba(240, 184, 0, 0.35));
  transition: transform var(--t-fast) var(--ease-spring), filter var(--t-fast) var(--ease-out);
}
.brand:hover .brand__star {
  transform: rotate(12deg) scale(1.06);
  filter: drop-shadow(0 0 10px rgba(240, 184, 0, 0.6));
}

/* nav__list links: slight padding para hover/focus comodo desktop */
@media (min-width: 960px) {
  .nav__list a { font-weight: 600; }
}

/* ─── floating-call: ocultar cuando estamos en top o bottom ─ */
.floating-call {
  transition: transform var(--t-base) var(--ease-spring), opacity var(--t-base) var(--ease-out);
}

/* ─── USP card: refinamiento visual (gradient corner) ────── */
.usp {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.usp:hover .usp__icon {
  transform: scale(1.05);
  background: rgba(249, 190, 0, 0.18);
}
.usp__icon { transition: transform var(--t-base) var(--ease-spring), background var(--t-base) var(--ease-out); }

/* ─── delivery-band con efecto glow ─────────────────────── */
.delivery-band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
/* delivery-band glow removed (sin gradientes — directriz brand) */

/* ─── faq icon: aria-hidden friendly ────────────────────── */
.faq-q::after { speak: none; }

/* ─── tablas de respeto: prevenir overflow text ─────────── */
h1, h2, h3, p, .lead { overflow-wrap: break-word; word-break: normal; }

/* ─── scrollbar styling (sutil, no agresivo) ────────────── */
@supports (scrollbar-width: thin) {
  html { scrollbar-width: thin; scrollbar-color: var(--color-border-strong) transparent; }
}
@supports selector(::-webkit-scrollbar) {
  ::-webkit-scrollbar { width: 10px; height: 10px; }
  ::-webkit-scrollbar-track { background: transparent; }
  ::-webkit-scrollbar-thumb {
    background: var(--color-border-strong);
    border-radius: var(--radius-pill);
    border: 2px solid var(--color-bg);
  }
  ::-webkit-scrollbar-thumb:hover { background: var(--color-fg-dim); }
}

/* ─── focus-visible mas consistente y bonito ────────────── */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 6px;
}
.btn:focus-visible { outline-offset: 4px; }

/* ─── selection ─────────────────────────────────────────── */
::selection { background: var(--color-accent); color: var(--color-accent-fg); text-shadow: none; }

/* ─── reveal local-card: restaura highway accesible ────── */
.reveal__highway { font-variant-numeric: tabular-nums; }

/* ─── CSS para imagen del hero: prevenir CLS al cargar ───── */
.hero__media img { width: 100%; height: 100%; }

/* ─── reduced motion adicional ─────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .btn--primary::after { display: none; }
  .delivery-band::before { animation: none; }
  .brand__star,
  .brand:hover .brand__star { transform: none !important; }
}

/* ============================================================
 * CARTAS GRID — miniaturas con lightbox (anti-scroll)
 * ============================================================ */
.cartas-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  justify-content: center;
}
@media (min-width: 640px)  {
  .cartas-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 340px));
  }
}

.carta-card {
  display: flex;
  flex-direction: column;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--t-base) var(--ease-out),
              border-color var(--t-base) var(--ease-out),
              box-shadow var(--t-base) var(--ease-out);
}
.carta-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-border-accent);
  box-shadow: var(--shadow-md);
}

/* cover (clickable, abre lightbox) */
.carta-card__cover {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  background: #fafafa;
  overflow: hidden;
  text-decoration: none;
}
.carta-card__cover img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  transition: transform 0.45s var(--ease-out);
}
.carta-card:hover .carta-card__cover img { transform: scale(1.04); }

/* overlay con lupa + label que aparece en hover (desktop) y siempre visible (mobile) */
.carta-card__overlay {
  position: absolute; inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 0.5rem;
  padding: 1.2rem;
  background: rgba(13, 13, 13, 0.78);
  color: var(--color-fg);
  opacity: 1;
  transition: background 0.3s var(--ease-out);
}
.carta-card__overlay svg {
  width: 2.4rem; height: 2.4rem;
  padding: 0.5rem;
  background: var(--color-accent);
  color: var(--color-accent-fg);
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 16px rgba(240, 184, 0, 0.4);
  transform: scale(0.85);
  opacity: 0.92;
  transition: transform 0.3s var(--ease-spring), opacity 0.3s var(--ease-out);
}
.carta-card__overlay span {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: rgba(13, 13, 13, 0.72);
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-pill);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.carta-card:hover .carta-card__overlay svg {
  transform: scale(1);
  opacity: 1;
}
@media (hover: hover) {
  .carta-card__overlay { background: rgba(13, 13, 13, 0.55); }
  .carta-card:hover .carta-card__overlay { background: rgba(13, 13, 13, 0.78); }
}

/* cover pending (sin imagen) */
.carta-card__cover--pending {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  background: var(--color-bg-elev);
  color: var(--color-fg-muted);
}
.carta-card__cover--pending svg { width: 3rem; height: 3rem; color: var(--color-accent); opacity: 0.6; }
.carta-card__pending-chip {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  background: rgba(240, 184, 0, 0.14);
  border: 1px solid var(--color-border-accent);
  color: var(--color-accent);
}

/* extras del lightbox: en el DOM pero invisibles */
.carta-card__lightbox-extra {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  pointer-events: none;
}

/* body */
.carta-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.4rem 1.5rem 1.5rem;
  flex: 1;
}
.carta-card__body .eyebrow { margin: 0; }
.carta-card__title {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.15;
}
.carta-card__desc {
  margin: 0;
  color: var(--color-fg-muted);
  font-size: 0.92rem;
  line-height: 1.55;
  flex: 1;
}
.carta-card__actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.4rem;
}
.carta-card__actions .btn { gap: 0.4rem; }
.carta-card__actions svg { flex-shrink: 0; }

/* card pending: muted overall */
.carta-card--pending { opacity: 0.92; }
.carta-card--pending:hover { transform: none; box-shadow: var(--shadow-sm); border-color: var(--color-border); }

/* nota inferior */
.cartas-grid__note {
  text-align: center;
  margin-top: 2.5rem;
  color: var(--color-fg-muted);
  font-size: 0.95rem;
  max-width: 65ch;
  margin-inline: auto;
}
.cartas-grid__note strong { color: var(--color-fg); }

/* mobile polish: cards mas anchas, menos padding */
@media (max-width: 480px) {
  .cartas-grid { gap: 1.2rem; }
  .carta-card__cover { aspect-ratio: 4 / 5; }
  .carta-card__body { padding: 1.2rem 1.2rem 1.4rem; }
  .carta-card__title { font-size: 1.2rem; }
}

/* ============================================================
 *  Galería ChiquiPunto (chiquipunto.php)
 * ============================================================ */
.chiqui-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 0.9rem;
}
.chiqui-gallery__item {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--color-bg-card);
  display: block;
  cursor: zoom-in;
  text-decoration: none;
  color: var(--color-fg);
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
  box-shadow: var(--shadow-sm);
}
.chiqui-gallery__item:hover,
.chiqui-gallery__item:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.chiqui-gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
}
.chiqui-gallery__item:hover img,
.chiqui-gallery__item:focus-visible img { transform: scale(1.06); }
.chiqui-gallery__cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.4rem 0.9rem 0.7rem;
  background: linear-gradient(to top, rgba(0,0,0,0.82), rgba(0,0,0,0));
  color: var(--color-fg);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  pointer-events: none;
}
@media (max-width: 560px) {
  .chiqui-gallery { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
  .chiqui-gallery__cap { font-size: 0.72rem; padding: 1rem 0.6rem 0.5rem; }
}

/* ============================================================
 *  Lista con checkmarks (.check-list) — usada en celebraciones
 * ============================================================ */
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.7rem;
}
.check-list li {
  display: grid;
  grid-template-columns: 1.6rem 1fr;
  align-items: start;
  gap: 0.7rem;
  padding: 0.85rem 1rem;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-fg);
  font-size: 0.98rem;
  line-height: 1.5;
  transition: border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.check-list li:hover {
  border-color: var(--color-border-accent);
  transform: translateX(2px);
}
.check-list__icon {
  width: 1.4rem; height: 1.4rem;
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 0.05rem;
}

/* ============================================================
 *  Cross-card (tarjeta con imagen lateral) — link a ChiquiPunto
 * ============================================================ */
.cross-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-accent);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
@media (min-width: 720px) {
  .cross-card { grid-template-columns: 1.1fr 1fr; }
}
.cross-card__body {
  padding: clamp(1.5rem, 3vw, 2.2rem);
}
.cross-card__body h2 {
  margin: 0.4rem 0 0.7rem;
  font-size: clamp(1.4rem, 1.6vw + 1rem, 1.9rem);
}
.cross-card__body p {
  color: var(--color-fg-muted);
  margin-bottom: 1.2rem;
}
.cross-card__media {
  position: relative;
  min-height: 220px;
  background: #0d0d0d var(--cross-bg) center/cover no-repeat;
  order: -1;
}
@media (min-width: 720px) {
  .cross-card__media { order: 0; min-height: 100%; }
}
.cross-card__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(26,26,26,0.45) 0%, rgba(26,26,26,0) 35%);
}
