/* =========================================================================
   PATTY'S - Hamburguesería retro 50s americana
   Sistema de diseño · rojo + crema + tinta · HTML/CSS/JS puro
   Design read: landing + carta + reservas para clientes, lenguaje retro-50s
   Americana, paleta roja/crema, motivos cromo/ajedrez, image-led.
   Theme lock: LIGHT.  Accent lock: rojo.  Radius lock: chunky.
   ========================================================================= */

/* ---------- TOKENS ---------- */
:root {
  --red:        #E4002B;   /* acento de marca (único acento) */
  --red-deep:   #B00021;
  --red-dark:   #7C0017;
  --cream:      #FBF1DE;   /* fondo principal cálido */
  --paper:      #FFFCF5;   /* superficies claras */
  --ink:        #1E1614;   /* casi-negro cálido (texto) */
  --ink-soft:   #5A4D49;   /* texto secundario */
  --mint:       #2FB5A2;   /* secundario muy puntual (retro diner) */
  --gold:       #F4B73F;   /* detalle cálido puntual */
  --line:       rgba(30,22,20,0.12);

  --shadow-soft: 0 18px 50px -24px rgba(124,0,23,0.45);
  --shadow-card: 0 30px 60px -30px rgba(30,22,20,0.35);

  --r-lg: 26px;
  --r-md: 18px;
  --r-sm: 12px;
  --r-pill: 999px;

  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --maxw: 1240px;
  --nav-h: 76px;

  --font-display: "Anton", "Arial Narrow", sans-serif;
  --font-script:  "Pacifico", cursive;
  --font-body:    "DM Sans", system-ui, sans-serif;
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: inherit; }
ul { list-style: none; }

/* ---------- TIPOGRAFÍA ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.script { font-family: var(--font-script); text-transform: none; letter-spacing: 0; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; line-height: 0.95; letter-spacing: 0.01em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 700; font-size: 0.72rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--red-deep);
}
.eyebrow::before {
  content: ""; width: 26px; height: 3px; border-radius: 2px;
  background: repeating-linear-gradient(90deg, var(--red) 0 5px, transparent 5px 9px);
}

/* ---------- LAYOUT ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(20px, 5vw, 56px); }
.section { padding-block: clamp(72px, 11vw, 150px); position: relative; }
.section--tight { padding-block: clamp(48px, 7vw, 88px); }
.center { text-align: center; }

/* ---------- BOTONES ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.95rem 1.4rem 0.95rem 1.6rem;
  border-radius: var(--r-pill);
  font-weight: 700; font-size: 0.98rem; letter-spacing: 0.01em;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.3s var(--ease);
  will-change: transform;
}
.btn__ico {
  display: grid; place-items: center; width: 30px; height: 30px;
  border-radius: var(--r-pill); background: rgba(255,255,255,0.22);
  transition: transform 0.4s var(--ease);
}
.btn svg { width: 16px; height: 16px; }
.btn--primary { background: var(--red); color: #fff; box-shadow: var(--shadow-soft); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 22px 45px -18px rgba(180,0,33,0.7); }
.btn--primary:hover .btn__ico { transform: translate(3px, -2px) scale(1.06); }
.btn--primary:active { transform: scale(0.98); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn--ghost .btn__ico { background: rgba(30,22,20,0.08); }
.btn--ghost:hover { transform: translateY(-2px); background: var(--ink); color: var(--cream); }
.btn--ghost:hover .btn__ico { background: rgba(255,255,255,0.18); transform: translate(3px,-2px); }
.btn--light { background: var(--cream); color: var(--red-deep); box-shadow: var(--shadow-card); }
.btn--light .btn__ico { background: rgba(180,0,33,0.12); }
.btn--light:hover { transform: translateY(-2px); }
.btn--block { width: 100%; justify-content: center; }

/* ---------- CINTA DE AJEDREZ (motivo retro) ---------- */
.checker {
  height: 26px;
  background:
    repeating-conic-gradient(var(--ink) 0% 25%, transparent 0% 50%) 0 0 / 26px 26px,
    var(--paper);
  opacity: 0.92;
}
.checker--red {
  background:
    repeating-conic-gradient(var(--red) 0% 25%, transparent 0% 50%) 0 0 / 26px 26px,
    var(--paper);
}

/* =========================================================================
   NAVBAR - isla flotante
   ========================================================================= */
.nav {
  position: fixed; inset: 14px 0 auto 0; z-index: 100;
  display: flex; justify-content: center; pointer-events: none;
}
.nav__inner {
  pointer-events: auto;
  display: flex; align-items: center; gap: 1.4rem;
  width: min(var(--maxw), calc(100% - 28px));
  padding: 0.55rem 0.7rem 0.55rem 1.4rem;
  background: rgba(255,252,245,0.82);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-radius: var(--r-pill);
  box-shadow: 0 14px 40px -22px rgba(30,22,20,0.5), inset 0 0 0 1px rgba(255,255,255,0.6);
  transition: box-shadow 0.4s var(--ease), background 0.4s var(--ease);
}
.nav.is-stuck .nav__inner { box-shadow: 0 18px 44px -20px rgba(30,22,20,0.55), inset 0 0 0 1px var(--line); }
.brand { display: inline-flex; align-items: baseline; gap: 2px; font-family: var(--font-script); font-size: 1.65rem; color: var(--red); line-height: 1; }
.brand b { font-family: var(--font-display); color: var(--ink); font-weight: 400; font-size: 1.05rem; letter-spacing: 0.04em; align-self: center; }
.nav__links { display: flex; align-items: center; gap: 0.3rem; margin-left: auto; }
.nav__links a {
  padding: 0.5rem 0.9rem; border-radius: var(--r-pill); font-weight: 600; font-size: 0.95rem;
  color: var(--ink); transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.nav__links a:hover { background: rgba(30,22,20,0.07); }
.nav__links a.active { color: var(--red-deep); }
.nav__cta { margin-left: 0.4rem; }
.nav__cta .btn { padding: 0.7rem 1.05rem 0.7rem 1.2rem; font-size: 0.92rem; }
.nav__burger { display: none; width: 44px; height: 44px; border-radius: var(--r-pill); background: var(--red); margin-left: auto; position: relative; }
.nav__burger span { position: absolute; left: 12px; right: 12px; height: 2.5px; background: #fff; border-radius: 2px; transition: transform 0.4s var(--ease), opacity 0.3s var(--ease); }
.nav__burger span:nth-child(1) { top: 15px; }
.nav__burger span:nth-child(2) { top: 21px; }
.nav__burger span:nth-child(3) { top: 27px; }
body.menu-open .nav__burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.menu-open .nav__burger span:nth-child(2) { opacity: 0; }
body.menu-open .nav__burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Menú móvil overlay */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(228,0,43,0.97);
  backdrop-filter: blur(8px);
  display: flex; flex-direction: column; justify-content: center; gap: 0.4rem;
  padding: 8vh 8vw;
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity 0.4s var(--ease), transform 0.5s var(--ease), visibility 0.4s;
}
body.menu-open .mobile-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-menu a {
  font-family: var(--font-display); font-size: clamp(2rem, 9vw, 3.4rem); color: #fff;
  text-transform: uppercase; padding: 0.3rem 0; opacity: 0; transform: translateY(18px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
body.menu-open .mobile-menu a { opacity: 1; transform: translateY(0); }
body.menu-open .mobile-menu a:nth-child(1) { transition-delay: 0.08s; }
body.menu-open .mobile-menu a:nth-child(2) { transition-delay: 0.14s; }
body.menu-open .mobile-menu a:nth-child(3) { transition-delay: 0.20s; }
body.menu-open .mobile-menu a:nth-child(4) { transition-delay: 0.26s; }
body.menu-open .mobile-menu a:nth-child(5) { transition-delay: 0.32s; }
.mobile-menu .script { font-family: var(--font-script); font-size: clamp(2.2rem,10vw,3.6rem); color: var(--gold); text-transform: none; }

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
  position: relative; min-height: 100dvh; display: flex; align-items: center;
  padding-top: calc(var(--nav-h) + 30px); padding-bottom: 60px;
  background:
    radial-gradient(120% 90% at 80% 10%, var(--red) 0%, var(--red-deep) 55%, var(--red-dark) 100%);
  color: #fff; overflow: hidden;
}
.hero__stars { position: absolute; inset: 0; opacity: 0.10;
  background-image: radial-gradient(circle, #fff 1.5px, transparent 1.6px);
  background-size: 38px 38px; pointer-events: none; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 5vw, 64px); align-items: center; width: 100%; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 0.6rem; margin-bottom: 1.4rem;
  background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.28);
  padding: 0.45rem 0.95rem; border-radius: var(--r-pill);
  font-weight: 700; font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase;
}
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.hero h1 { font-size: clamp(3.2rem, 8.5vw, 7rem); letter-spacing: 0.005em; }
.hero h1 .script { display: block; font-size: clamp(2.4rem, 6vw, 4.4rem); color: var(--gold); line-height: 1; margin-bottom: -0.1em; transform: rotate(-3deg); }
.hero__sub { margin: 1.5rem 0 2.1rem; font-size: clamp(1rem, 1.4vw, 1.18rem); max-width: 44ch; color: rgba(255,255,255,0.9); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hero__meta { display: flex; gap: 1.8rem; margin-top: 2.4rem; flex-wrap: wrap; }
.hero__meta div { display: flex; flex-direction: column; }
.hero__meta b { font-family: var(--font-display); font-size: 1.7rem; line-height: 1; }
.hero__meta span { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.78); margin-top: 0.3rem; }

/* Visual del hero - burger real enmarcada (double-bezel) */
.hero__visual { position: relative; }
.hero__plate {
  position: relative; border-radius: 50%; padding: 14px;
  background: conic-gradient(from 0deg, rgba(255,255,255,0.5), rgba(255,255,255,0.05), rgba(255,255,255,0.5));
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.6);
  aspect-ratio: 1; max-width: 520px; margin-inline: auto;
  animation: floaty 7s ease-in-out infinite;
}
.hero__plate::after {
  content: ""; position: absolute; inset: 14px; border-radius: 50%;
  box-shadow: inset 0 2px 6px rgba(255,255,255,0.4);
  pointer-events: none;
}
.hero__plate img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.hero__ring {
  position: absolute; inset: -3%; border-radius: 50%;
  border: 2px dashed rgba(255,255,255,0.35);
  animation: spin 28s linear infinite;
}
.hero__seal {
  position: absolute; right: -2%; top: 4%; width: clamp(92px, 13vw, 132px); height: clamp(92px,13vw,132px);
  display: grid; place-items: center; text-align: center; border-radius: 50%;
  background: var(--gold); color: var(--ink-soft);
  box-shadow: 0 16px 30px -12px rgba(0,0,0,0.5); transform: rotate(8deg);
  font-family: var(--font-display); text-transform: uppercase; line-height: 0.85;
}
.hero__seal b { font-size: 1.9rem; color: var(--red-deep); }
.hero__seal span { font-size: 0.62rem; letter-spacing: 0.1em; margin-top: 2px; }
.hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; height: 60px; color: var(--cream); }
.hero__wave svg { width: 100%; height: 100%; display: block; }

@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* =========================================================================
   TIRA DE FEATURES (bajo el hero)
   ========================================================================= */
.strip { background: var(--ink); color: var(--cream); }
.strip__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; padding-block: 1.6rem; }
.strip__item { display: flex; align-items: center; gap: 0.8rem; font-weight: 600; font-size: 0.95rem; }
.strip__item svg { width: 26px; height: 26px; color: var(--gold); flex: none; }

/* =========================================================================
   DESTACADOS - bento
   ========================================================================= */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: clamp(32px, 5vw, 60px); flex-wrap: wrap; }
.sec-head h2 { font-size: clamp(2.4rem, 5.5vw, 4.6rem); }
.sec-head p { max-width: 46ch; color: var(--ink-soft); }
.sec-head .script { color: var(--red); display: block; font-size: clamp(1.5rem,3vw,2.2rem); transform: rotate(-2deg); margin-bottom: -0.2em; }

.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 255px; gap: 18px; }
.tile {
  position: relative; overflow: hidden; border-radius: var(--r-lg);
  background: var(--paper); box-shadow: var(--shadow-card);
  isolation: isolate; min-height: 240px;
}
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); z-index: -2; }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, transparent 30%, rgba(20,10,8,0.82) 100%); }
.tile:hover img { transform: scale(1.06); }
.tile__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.5rem; color: #fff; }
.tile__tag { display: inline-block; background: var(--red); color: #fff; font-weight: 700; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.3rem 0.7rem; border-radius: var(--r-pill); margin-bottom: 0.7rem; }
.tile__body h3 { font-size: 1.7rem; }
.tile__body p { font-size: 0.92rem; color: rgba(255,255,255,0.85); margin-top: 0.3rem; }
.tile--xl { grid-column: span 6; grid-row: span 2; }
.tile--tall { grid-column: span 3; grid-row: span 2; }
.tile--sm { grid-column: span 3; grid-row: span 1; }
.tile--wide { grid-column: span 6; }
.tile--solid { grid-column: span 3; grid-row: span 1; background: var(--red); color: #fff; display: flex; flex-direction: column; justify-content: center; padding: 1.5rem; }
.tile--solid::after { display: none; }
.tile--solid .script { font-size: 1.6rem; color: var(--gold); line-height: 1.1; }
.tile--solid h3 { font-size: 1.3rem; margin: 0.15rem 0 0.45rem; }
.tile--solid p { color: rgba(255,255,255,0.9); font-size: 0.86rem; line-height: 1.35; }

/* =========================================================================
   SOBRE NOSOTROS / split
   ========================================================================= */
.about { background: var(--paper); }
.about__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px,5vw,72px); align-items: center; }
.about__media { position: relative; }
.about__media .frame {
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-card);
  border: 10px solid #fff; transform: rotate(-2deg);
}
.about__media .frame img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.about__media .frame--2 { position: absolute; width: 48%; right: -6%; bottom: -12%; transform: rotate(4deg); border-width: 7px; }
.about h2 { font-size: clamp(2.2rem,4.5vw,3.8rem); margin: 0.6rem 0 1.2rem; }
.about p { color: var(--ink-soft); margin-bottom: 1rem; max-width: 52ch; }
.about__points { display: grid; gap: 0.8rem; margin: 1.6rem 0 2rem; }
.about__points li { display: flex; gap: 0.8rem; align-items: flex-start; font-weight: 500; }
.about__points svg { width: 22px; height: 22px; color: var(--red); flex: none; margin-top: 3px; }

/* =========================================================================
   CARTA PREVIEW (en landing)
   ========================================================================= */
.menu-preview { background: var(--ink); color: var(--cream); }
.mp__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.mp__card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-lg); padding: 12px; transition: transform 0.5s var(--ease), background 0.4s var(--ease);
}
.mp__card:hover { transform: translateY(-6px); background: rgba(255,255,255,0.07); }
.mp__card img { border-radius: var(--r-md); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.mp__card h3 { font-size: 1.35rem; margin: 1rem 0.4rem 0.3rem; }
.mp__card p { color: rgba(251,241,222,0.7); font-size: 0.9rem; margin: 0 0.4rem 0.8rem; }

/* =========================================================================
   GALERÍA DEL LOCAL
   ========================================================================= */
.gallery__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-auto-rows: 200px; gap: 16px; }
.gallery__grid figure { overflow: hidden; border-radius: var(--r-md); box-shadow: var(--shadow-card); position: relative; }
.gallery__grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.gallery__grid figure:hover img { transform: scale(1.07); }
.g-a { grid-row: span 2; }
.g-d { grid-column: span 2; }

/* =========================================================================
   FRANJA CTA RESERVA
   ========================================================================= */
.cta-band { background: radial-gradient(120% 120% at 50% 0%, var(--red) 0%, var(--red-deep) 70%); color: #fff; text-align: center; }
.cta-band h2 { font-size: clamp(2.6rem, 6vw, 5rem); }
.cta-band .script { color: var(--gold); display: block; font-size: clamp(1.6rem,3.5vw,2.6rem); transform: rotate(-2deg); }
.cta-band p { max-width: 40ch; margin: 1.2rem auto 2rem; color: rgba(255,255,255,0.9); }

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer { background: var(--ink); color: var(--cream); padding-block: clamp(48px,7vw,80px) 2rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.footer .brand { font-size: 2.2rem; }
.footer .brand b { color: var(--cream); }
.footer p { color: rgba(251,241,222,0.7); font-size: 0.92rem; margin-top: 0.8rem; max-width: 32ch; }
.footer h4 { font-family: var(--font-body); font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; color: var(--gold); margin-bottom: 1rem; }
.footer__col a, .footer__col li { display: block; color: rgba(251,241,222,0.8); padding: 0.25rem 0; font-size: 0.95rem; transition: color 0.3s; }
.footer__col a:hover { color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,0.12); font-size: 0.85rem; color: rgba(251,241,222,0.55); }

/* =========================================================================
   PÁGINA CARTA
   ========================================================================= */
.page-hero { background: radial-gradient(120% 120% at 50% -10%, var(--red) 0%, var(--red-deep) 70%); color: #fff; padding-top: calc(var(--nav-h) + 60px); padding-bottom: 70px; text-align: center; position: relative; }
.page-hero .script { color: var(--gold); font-size: clamp(1.6rem,4vw,2.6rem); display: block; transform: rotate(-2deg); }
.page-hero h1 { font-size: clamp(3rem, 9vw, 6.5rem); }
.page-hero p { max-width: 50ch; margin: 1.2rem auto 0; color: rgba(255,255,255,0.9); }

.menu-tabs { position: sticky; top: calc(var(--nav-h) + 8px); z-index: 40; display: flex; gap: 0.5rem; justify-content: center; flex-wrap: wrap; padding: 0.8rem; margin: -34px auto 0; width: fit-content; max-width: calc(100% - 32px);
  background: rgba(255,252,245,0.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-radius: var(--r-pill); box-shadow: var(--shadow-card); }
.menu-tabs a { padding: 0.55rem 1.05rem; border-radius: var(--r-pill); font-weight: 700; font-size: 0.9rem; color: var(--ink); transition: background 0.3s, color 0.3s; }
.menu-tabs a:hover { background: rgba(30,22,20,0.07); }
.menu-tabs a.active { background: var(--red); color: #fff; }

.menu-cat { padding-block: clamp(50px, 7vw, 90px); scroll-margin-top: calc(var(--nav-h) + 80px); }
.menu-cat__head { display: flex; align-items: center; gap: 1.2rem; margin-bottom: 2.4rem; }
.menu-cat__head .num { font-family: var(--font-display); font-size: clamp(2.5rem,6vw,4.5rem); color: var(--red); opacity: 0.25; line-height: 1; }
.menu-cat__head h2 { font-size: clamp(2rem,4.5vw,3.4rem); }
.menu-cat__head p { color: var(--ink-soft); font-size: 0.95rem; }

.dish-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; }
.dish {
  background: var(--paper); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-card); display: flex; flex-direction: column;
  transition: transform 0.5s var(--ease);
}
.dish:hover { transform: translateY(-6px); }
.dish__img { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.dish__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.dish:hover .dish__img img { transform: scale(1.07); }
.dish__flag { position: absolute; top: 12px; left: 12px; background: var(--gold); color: var(--ink); font-weight: 700; font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.3rem 0.65rem; border-radius: var(--r-pill); }
.dish__flag--hot { background: var(--red); color: #fff; }
.dish__body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.dish__top { display: flex; justify-content: space-between; align-items: baseline; gap: 0.8rem; }
.dish__top h3 { font-family: var(--font-display); font-size: 1.4rem; }
.dish__price { font-family: var(--font-display); color: var(--red-deep); font-size: 1.35rem; white-space: nowrap; }
.dish__desc { color: var(--ink-soft); font-size: 0.92rem; margin-top: 0.5rem; }
.dish__tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: auto; padding-top: 1rem; }
.dish__tags span { font-size: 0.72rem; font-weight: 600; color: var(--ink-soft); background: rgba(30,22,20,0.06); padding: 0.25rem 0.6rem; border-radius: var(--r-pill); }

/* Bebidas - lista de texto elegante */
.drinks { background: var(--ink); color: var(--cream); }
.drinks__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 3.5rem; }
.drink-row { display: flex; align-items: baseline; gap: 0.8rem; padding: 0.7rem 0; border-bottom: 1px dashed rgba(255,255,255,0.16); }
.drink-row .nm { font-weight: 600; }
.drink-row .ds { color: rgba(251,241,222,0.6); font-size: 0.85rem; }
.drink-row .ln { flex: 1; }
.drink-row .pr { font-family: var(--font-display); color: var(--gold); font-size: 1.15rem; }

/* =========================================================================
   RESERVAS
   ========================================================================= */
.resv { padding-block: clamp(40px, 6vw, 72px); }
.resv__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(28px, 4vw, 52px); align-items: start; }
.panel {
  background: var(--paper); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 34px);
  box-shadow: var(--shadow-card);
}
.panel + .panel { margin-top: 22px; }
/* El panel de datos sustituye al de pista (no se apilan): sin margen para que
   quede alineado arriba con "Tu reserva" al desplegarse */
#contactPanel { margin-top: 0; }
.panel h3 { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 1.2rem; display: flex; align-items: center; gap: 0.6rem; }
.panel h3 .step { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--red); color: #fff; font-size: 1rem; }

.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 700; font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 0.45rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.85rem 1rem; border-radius: var(--r-sm);
  background: var(--cream); color: var(--ink); border: 2px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); background: #fff; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  padding: 0.6rem 1rem; border-radius: var(--r-pill); background: var(--cream);
  font-weight: 700; font-size: 0.9rem; color: var(--ink);
  border: 2px solid transparent; transition: all 0.3s var(--ease);
}
.chip:hover { border-color: var(--line); }
.chip.is-on { background: var(--red); color: #fff; box-shadow: var(--shadow-soft); }
.chip:disabled { opacity: 0.35; cursor: not-allowed; }
/* Comensales 1-8 siempre en una sola fila */
#peopleChips { display: grid; grid-template-columns: repeat(8, 1fr); }
#peopleChips .chip { padding-left: 0; padding-right: 0; }

/* Plano de mesas */
.floor {
  position: relative; background:
    linear-gradient(rgba(255,255,255,0.5), rgba(255,255,255,0.5)),
    repeating-conic-gradient(var(--ink) 0% 25%, var(--paper) 0% 50%) 0 0 / 56px 56px;
  border-radius: var(--r-lg); padding: 26px; min-height: 420px;
  box-shadow: inset 0 0 0 6px #fff, var(--shadow-card);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-content: start;
}
.table-seat {
  position: relative; aspect-ratio: 1; border-radius: var(--r-md);
  background: var(--paper); box-shadow: 0 8px 18px -10px rgba(0,0,0,0.5), inset 0 0 0 2px rgba(30,22,20,0.08);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  font-weight: 700; transition: transform 0.3s var(--ease), background 0.3s, color 0.3s, box-shadow 0.3s;
  color: var(--ink);
}
.table-seat .tn { font-family: var(--font-display); font-size: 1.25rem; line-height: 1; }
.table-seat .ts { font-size: 0.7rem; color: var(--ink-soft); display: flex; align-items: center; gap: 3px; }
.table-seat .ts svg { width: 13px; height: 13px; }
.table-seat.is-free { cursor: pointer; }
.table-seat.is-free:hover { transform: translateY(-3px); background: #fff; box-shadow: 0 14px 26px -12px rgba(180,0,33,0.5), inset 0 0 0 2px var(--red); }
.table-seat.is-sel { background: var(--red); color: #fff; box-shadow: 0 16px 30px -12px rgba(180,0,33,0.7); }
.table-seat.is-sel .ts { color: rgba(255,255,255,0.85); }
.table-seat.is-busy { background: repeating-linear-gradient(45deg, #E9DEC8 0 8px, #E0D3B8 8px 16px); color: var(--ink-soft); cursor: not-allowed; }
.table-seat.is-busy::after { content: "Ocupada"; position: absolute; bottom: 8px; font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--red-deep); }
.table-seat.is-small { opacity: 0.45; cursor: not-allowed; }
.table-seat .badge-booth { position: absolute; top: 6px; right: 8px; font-size: 0.6rem; color: var(--red-deep); font-weight: 800; letter-spacing: 0.05em; }

.legend { display: flex; gap: 1.2rem; flex-wrap: wrap; margin-top: 1rem; font-size: 0.82rem; color: var(--ink-soft); }
.legend span { display: inline-flex; align-items: center; gap: 0.4rem; }
.legend i { width: 16px; height: 16px; border-radius: 5px; display: inline-block; }
.legend .l-free { background: var(--paper); box-shadow: inset 0 0 0 2px var(--red); }
.legend .l-busy { background: repeating-linear-gradient(45deg, #E9DEC8 0 5px, #E0D3B8 5px 10px); }
.legend .l-sel { background: var(--red); }

.summary { background: var(--ink); color: var(--cream); border-radius: var(--r-lg); padding: 1.4rem 1.6rem; margin-top: 1.4rem; }
.summary h4 { font-family: var(--font-body); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.78rem; color: var(--gold); margin-bottom: 0.8rem; }
.summary dl { display: grid; grid-template-columns: auto 1fr; gap: 0.5rem 1rem; }
.summary dt { color: rgba(251,241,222,0.6); font-size: 0.9rem; }
.summary dd { text-align: right; font-weight: 600; }
.summary .total-seat { font-family: var(--font-display); color: var(--gold); }

/* Toast / aviso */
.notice { padding: 0.9rem 1.1rem; border-radius: var(--r-sm); font-weight: 600; font-size: 0.92rem; margin-bottom: 1rem; display: none; }
.notice.show { display: block; animation: pop 0.4s var(--ease-out); }
.notice--ok { background: rgba(47,181,162,0.16); color: #176B5F; box-shadow: inset 0 0 0 1px rgba(47,181,162,0.4); }
.notice--warn { background: rgba(228,0,43,0.1); color: var(--red-deep); box-shadow: inset 0 0 0 1px rgba(228,0,43,0.3); }
@keyframes pop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }

/* Confirmación */
.confirm-card { text-align: center; }
.confirm-card .tick { width: 76px; height: 76px; margin: 0 auto 1.2rem; border-radius: 50%; background: var(--mint); display: grid; place-items: center; box-shadow: 0 16px 30px -12px rgba(47,181,162,0.7); animation: pop 0.5s var(--ease-out); }
.confirm-card .tick svg { width: 38px; height: 38px; color: #fff; }
.confirm-card h3 { justify-content: center; font-size: 1.8rem; }

/* =========================================================================
   ADMIN / PERSONAL
   ========================================================================= */
.admin { min-height: 100dvh; background: var(--cream); padding-top: calc(var(--nav-h) + 30px); }
.admin__bar { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; background: var(--paper); border-radius: var(--r-lg); padding: 1.2rem 1.4rem; box-shadow: var(--shadow-card); margin-bottom: 1.6rem; }
.admin__bar .field { margin: 0; }
.admin__bar .grow { flex: 1; }
.admin-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 1.6rem; align-items: start; }
.reslist { display: flex; flex-direction: column; gap: 0.7rem; max-height: 520px; overflow-y: auto; padding-right: 4px; }
.res-item { display: flex; align-items: center; gap: 0.9rem; background: var(--paper); border-radius: var(--r-md); padding: 0.9rem 1.1rem; box-shadow: 0 10px 24px -18px rgba(0,0,0,0.4); }
.res-item .rt { font-family: var(--font-display); background: var(--ink); color: var(--cream); width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 1.1rem; flex: none; }
.res-item .ri { flex: 1; min-width: 0; }
.res-item .ri b { display: block; }
.res-item .ri small { color: var(--ink-soft); }
.res-item .src { font-size: 0.68rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; padding: 0.25rem 0.55rem; border-radius: var(--r-pill); }
.src--web { background: rgba(47,181,162,0.18); color: #176B5F; }
.src--manual { background: rgba(228,0,43,0.12); color: var(--red-deep); }
.res-item button.del { color: var(--ink-soft); width: 32px; height: 32px; border-radius: 50%; transition: background 0.3s, color 0.3s; }
.res-item button.del:hover { background: rgba(228,0,43,0.12); color: var(--red-deep); }
.empty { text-align: center; color: var(--ink-soft); padding: 3rem 1rem; }
.empty svg { width: 54px; height: 54px; color: var(--line); margin-bottom: 0.8rem; }

.info-note { background: rgba(47,181,162,0.12); border-radius: var(--r-md); padding: 1rem 1.2rem; font-size: 0.88rem; color: #14564D; box-shadow: inset 0 0 0 1px rgba(47,181,162,0.3); margin-bottom: 1.4rem; }
.info-note b { color: #0E3D37; }

/* =========================================================================
   SCROLL REVEAL
   ========================================================================= */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: 0.08s; }
.reveal[data-d="2"] { transition-delay: 0.16s; }
.reveal[data-d="3"] { transition-delay: 0.24s; }
.reveal[data-d="4"] { transition-delay: 0.32s; }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; text-align: center; }
  .hero__visual { order: -1; }
  .hero__sub { margin-inline: auto; }
  .hero__cta, .hero__meta { justify-content: center; }
  .about__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 460px; margin-inline: auto; }
  .resv__grid { grid-template-columns: 1fr; }
  .admin-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .bento { grid-auto-rows: auto; }
  .tile--xl { grid-column: span 12; grid-row: auto; min-height: 360px; }
  .tile--tall { grid-column: span 6; grid-row: auto; min-height: 320px; }
  .tile--sm, .tile--wide { grid-column: span 6; grid-row: auto; }
  .tile--solid { grid-column: span 6; grid-row: auto; min-height: 220px; }
  .mp__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
  .strip__row { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .bento { gap: 12px; }
  .tile--sm, .tile--wide, .tile--tall, .tile--solid { grid-column: span 12; min-height: 240px; }
  .mp__grid { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .g-a { grid-row: span 2; }
  .g-d { grid-column: span 2; }
  .drinks__grid { grid-template-columns: 1fr; gap: 0 2rem; }
  .floor { grid-template-columns: repeat(3, 1fr); padding: 16px; }
  .field--row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .summary dd { font-size: 0.95rem; }
}
@media (max-width: 420px) {
  .floor { grid-template-columns: repeat(2, 1fr); }
  body { font-size: 16px; }
}

/* =========================================================================
   ACCESO DEL PERSONAL (puerta de login del panel)
   ========================================================================= */
.gate {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-items: center; padding: 1.5rem;
  background: radial-gradient(120% 120% at 50% 0%, var(--red-deep) 0%, var(--ink) 60%);
}
.gate__card {
  width: min(420px, 100%); background: var(--paper);
  border-radius: var(--r-lg); box-shadow: var(--shadow-card);
  padding: clamp(1.8rem, 4vw, 2.6rem); text-align: center;
}
.gate__card .script { color: var(--red); font-size: 1.5rem; }
.gate__card h2 { font-family: var(--font-display); font-size: 2rem; letter-spacing: .02em; margin: .15rem 0 .5rem; }
.gate__card p { color: var(--ink-soft); font-size: .92rem; margin-bottom: 1.4rem; }
.gate__card .field { text-align: left; }
.gate__card .btn { margin-top: .4rem; }
body.locked { overflow: hidden; }

/* Accesibilidad: menos movimiento */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
