/* ==========================================================================
   El Patio 2.0 Turri — estilos
   Mobile-first · paleta de marca · sin frameworks
   ========================================================================== */

:root {
  /* Marca */
  --bg: #16100C;
  --bg-deep: #0F0B08;
  --surface: #211912;
  --surface-2: #2B2119;
  --text: #F4EEE4;
  --muted: rgba(244, 238, 228, .74);
  --faint: rgba(244, 238, 228, .6);
  --line: rgba(244, 238, 228, .12);
  --line-strong: rgba(244, 238, 228, .24);
  --neon: #B9F240;
  --neon-soft: rgba(185, 242, 64, .12);
  --forest: #0E2A1B;
  --forest-2: #12341F;
  --amber: #F2A33A;
  --amber-soft: rgba(242, 163, 58, .14);
  --danger: #FF8A7A;
  --wa: #25D366;

  /* Tipografía */
  --f-display: 'Gloock', 'DM Serif Display', Georgia, serif;
  --f-script: 'Great Vibes', 'Allura', cursive;
  --f-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-poster: 'Anton', 'Impact', 'Arial Narrow', sans-serif;

  /* Medidas */
  --header-h: 64px;
  --gutter: 16px;
  --radius: 18px;
  --radius-sm: 12px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, .7);

  color-scheme: dark;
}

@media (min-width: 768px) {
  :root { --header-h: 76px; --gutter: 32px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

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

a { color: inherit; text-decoration-color: rgba(185, 242, 64, .5); text-underline-offset: 3px; }
a:hover { color: var(--neon); }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

h1, h2, h3, h4 { margin: 0; font-weight: 400; line-height: 1.1; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--neon);
  outline-offset: 3px;
  border-radius: 6px;
}

[hidden] { display: none !important; }

section[id], [id="reservar"] { scroll-margin-top: calc(var(--header-h) + 8px); }

svg { width: 1.25em; height: 1.25em; flex: none; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; left: 12px; top: -60px; z-index: 100;
  background: var(--neon); color: var(--bg);
  padding: 10px 16px; border-radius: 10px; font-weight: 700;
  transition: top .2s;
}
.skip-link:focus { top: 12px; color: var(--bg); }

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

.muted { color: var(--muted); }
.small { font-size: .875rem; }

/* ---------- Tipografía de marca ---------- */
.script {
  font-family: var(--f-script);
  font-weight: 400;
  font-size: 1.3em;
  line-height: .9;
  letter-spacing: 0;
}
.script--neon { color: var(--neon); text-shadow: 0 0 .4em rgba(185, 242, 64, .35); }
.script--amber { color: var(--amber); text-shadow: 0 0 .4em rgba(242, 163, 58, .3); }

.eyebrow {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: .75rem;
}

.section-title {
  font-family: var(--f-display);
  font-size: clamp(2.2rem, 1.5rem + 3.4vw, 3.7rem);
  line-height: 1.02;
  letter-spacing: -.01em;
}
.section-title .script { display: inline-block; margin-left: .05em; }

.section-lead {
  margin-top: 1rem;
  color: var(--muted);
  max-width: 34rem;
  font-size: 1.05rem;
}

/* ---------- Botones ---------- */
.btn {
  --btn-h: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  min-height: var(--btn-h);
  padding: 0 1.35em;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .01em;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .2s var(--ease), background-color .2s, border-color .2s, color .2s, box-shadow .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
.btn svg { width: 1.15em; height: 1.15em; }

.btn--neon { background: var(--neon); color: var(--bg); box-shadow: 0 8px 28px -10px rgba(185, 242, 64, .6); }
.btn--neon:hover { color: var(--bg); background: #CBFA63; box-shadow: 0 10px 34px -8px rgba(185, 242, 64, .75); }

.btn--ghost { background: rgba(22, 16, 12, .35); border-color: var(--line-strong); color: var(--text); }
.btn--ghost:hover { color: var(--text); border-color: var(--neon); background: var(--neon-soft); }

.btn--wa { background: var(--wa); color: #06210F; }
.btn--wa:hover { color: #06210F; background: #3BE27A; }

.btn--danger { background: transparent; border-color: rgba(255, 138, 122, .45); color: var(--danger); }
.btn--danger:hover { background: rgba(255, 138, 122, .12); color: var(--danger); }

.btn--sm { --btn-h: 40px; padding: 0 1.05em; font-size: .875rem; }
.btn--lg { --btn-h: 54px; font-size: 1rem; padding: 0 1.6em; }
.btn--block { width: 100%; }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(22, 16, 12, .55);
  color: var(--text);
  transition: background-color .2s, border-color .2s;
}
.icon-btn:hover { border-color: var(--neon); color: var(--neon); }
.icon-btn svg { width: 22px; height: 22px; }

/* ---------- Etiquetas ---------- */
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  display: inline-flex; align-items: center; gap: .35em;
  padding: .2em .7em;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  line-height: 1.6;
}
.tag--dj { color: var(--neon); }
.tag--promo { color: var(--amber); }
.tag--en-vivo { color: #FF8FB6; }
.tag--deportes { color: #8FD3FF; }
.tag--demo { color: var(--amber); }
.tag--soon { color: var(--bg); background: var(--neon); border-color: var(--neon); }

/* ---------- Guirnalda de luces (firma visual del patio) ---------- */
.guirnalda {
  position: relative;
  height: 46px;
  margin-block: -23px;
  z-index: 2;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='46' viewBox='0 0 300 46'%3E%3Cdefs%3E%3CradialGradient id='g'%3E%3Cstop offset='0' stop-color='%23FFF6D6'/%3E%3Cstop offset='.3' stop-color='%23FFD98A' stop-opacity='.85'/%3E%3Cstop offset='1' stop-color='%23F2A33A' stop-opacity='0'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cpath d='M0 4 Q150 40 300 4' fill='none' stroke='%23705a44' stroke-width='1.2'/%3E%3Cg stroke='%23705a44' stroke-width='1'%3E%3Cpath d='M30 10.5v3M75 17.5v3M150 22v3M225 17.5v3M270 10.5v3'/%3E%3C/g%3E%3Cg fill='url(%23g)'%3E%3Ccircle cx='30' cy='17.5' r='10'/%3E%3Ccircle cx='75' cy='24.5' r='10'/%3E%3Ccircle cx='150' cy='29' r='10'/%3E%3Ccircle cx='225' cy='24.5' r='10'/%3E%3Ccircle cx='270' cy='17.5' r='10'/%3E%3C/g%3E%3Cg fill='%23FFF3C9'%3E%3Ccircle cx='30' cy='16.5' r='2.4'/%3E%3Ccircle cx='75' cy='23.5' r='2.4'/%3E%3Ccircle cx='150' cy='28' r='2.4'/%3E%3Ccircle cx='225' cy='23.5' r='2.4'/%3E%3Ccircle cx='270' cy='16.5' r='2.4'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: center top;
  animation: twinkle 5s ease-in-out infinite;
}
.guirnalda--top { margin-top: -23px; margin-bottom: 8px; }

@keyframes twinkle {
  0%, 100% { opacity: 1; }
  50% { opacity: .78; }
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  transition: background-color .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(22, 16, 12, .9);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
}

/* backdrop-filter convierte al header en contenedor de los hijos "fixed": se quita con el menú abierto */
.site-header.is-open {
  background: var(--bg);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand img { height: 38px; width: auto; }
@media (min-width: 768px) { .brand img { height: 44px; } }

.main-nav { display: none; }
.main-nav ul { display: flex; gap: 6px; }
.main-nav a {
  display: block;
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  color: var(--muted);
  transition: color .2s, background-color .2s;
}
.main-nav a:hover, .main-nav a.is-active { color: var(--text); background: rgba(244, 238, 228, .07); }
.main-nav a.is-active { color: var(--neon); }

.site-header__actions { display: flex; align-items: center; gap: 10px; }

@media (min-width: 960px) {
  .main-nav { display: block; }
  .nav-toggle { display: none; }
}

.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0;
  background: var(--bg);
  padding: 24px var(--gutter) calc(32px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 24px;
  overflow-y: auto;
  animation: slideDown .3s var(--ease);
}
.mobile-nav ul { display: grid; }
.mobile-nav nav a {
  display: block;
  padding: 12px 0;
  font-family: var(--f-display);
  font-size: 2rem;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.mobile-nav__contact { display: grid; gap: 6px; color: var(--muted); }
.mobile-nav__contact a { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--text); text-decoration: none; }

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: none; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-h) + 24px) 0 28px;
  isolation: isolate;
  overflow: hidden;
}
@media (min-width: 768px) { .hero { padding-bottom: 32px; } }

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 40%;
  z-index: -2;
  transform: scale(1.06);
  animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }

.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(90% 70% at 50% 42%, rgba(22, 16, 12, .35) 0%, rgba(22, 16, 12, .78) 70%),
    linear-gradient(180deg, rgba(22, 16, 12, .75) 0%, rgba(22, 16, 12, .15) 30%, rgba(22, 16, 12, .5) 65%, var(--bg) 100%);
}

.hero__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero__logo {
  width: min(46vw, 250px);
  filter: drop-shadow(0 6px 30px rgba(0, 0, 0, .6));
}

.hero__edition {
  margin-top: 10px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__edition .script {
  font-size: 1.9em;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text);
  vertical-align: -.12em;
}

.hero__title {
  margin-top: 18px;
  font-family: var(--f-display);
  font-size: clamp(2.6rem, 1.4rem + 6vw, 5.4rem);
  line-height: .98;
  letter-spacing: -.015em;
  text-shadow: 0 4px 40px rgba(0, 0, 0, .55);
}
.hero__title .script {
  display: block;
  margin-top: .08em;
  font-size: 1.12em;
  line-height: 1.05;
}

.hero__sub {
  margin-top: 16px;
  font-size: clamp(1rem, .95rem + .4vw, 1.2rem);
  font-weight: 500;
  color: var(--text);
  max-width: 34rem;
}
@media (max-width: 559.98px) { .hero__sub span { display: block; } }

.hero__ctas {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 360px;
}
@media (min-width: 560px) {
  .hero__ctas { flex-direction: row; max-width: none; width: auto; }
}

.hero__facts {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  width: 100%;
  max-width: 400px;
  font-size: .78rem;
  line-height: 1.3;
  color: var(--muted);
}
.hero__facts li { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.hero__facts span { display: flex; flex-direction: column; }
.hero__facts svg { width: 26px; height: 26px; color: var(--neon); }
.hero__facts b { color: var(--text); font-weight: 700; }
@media (min-width: 640px) {
  .hero__facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; max-width: none; font-size: .9rem; }
  .hero__facts li { flex-direction: row; gap: 9px; }
  .hero__facts span { display: inline; }
  .hero__facts b { margin-right: .3em; }
}

.hero__today {
  position: relative;
  margin: 28px auto 0;
  width: calc(100% - 2 * var(--gutter));
  max-width: 640px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(22, 16, 12, .78);
  border: 1px solid var(--line-strong);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  text-decoration: none;
  font-size: .88rem;
  line-height: 1.4;
  transition: border-color .2s;
}
.hero__today:hover { color: var(--text); border-color: var(--neon); }
.hero__today-text { flex: 1; }
.hero__today-text b { color: var(--neon); }
.hero__today > svg { color: var(--neon); }

.status-dot {
  width: 10px; height: 10px; flex: none;
  border-radius: 50%;
  background: var(--faint);
}
.status-dot.is-open {
  background: var(--neon);
  box-shadow: 0 0 0 0 rgba(185, 242, 64, .6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(185, 242, 64, .55); }
  70% { box-shadow: 0 0 0 10px rgba(185, 242, 64, 0); }
  100% { box-shadow: 0 0 0 0 rgba(185, 242, 64, 0); }
}

/* ==========================================================================
   SECCIONES
   ========================================================================== */
.section { position: relative; padding: 72px 0; }
@media (min-width: 768px) { .section { padding: 112px 0; } }

.section--forest { background: var(--forest); }
.section--surface { background: var(--surface); }
.section--reserve {
  background:
    radial-gradient(60% 50% at 0% 0%, rgba(185, 242, 64, .07), transparent 70%),
    var(--forest);
}

.section-head { margin-bottom: 36px; }
@media (min-width: 768px) { .section-head { margin-bottom: 52px; } }

.section-head--row { display: flex; flex-direction: column; gap: 20px; }
@media (min-width: 900px) {
  .section-head--row { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}

.center-row { display: flex; justify-content: center; margin-top: 32px; }

/* ==========================================================================
   AGENDA SEMANAL
   ========================================================================== */
.agenda {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  margin-inline: calc(-1 * var(--gutter));
  padding: 4px var(--gutter) 18px;
  scrollbar-width: thin;
  scrollbar-color: rgba(185, 242, 64, .4) transparent;
}

.day-card {
  flex: 0 0 78%;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(10, 24, 16, .65);
  border: 1px solid rgba(185, 242, 64, .14);
  transition: border-color .25s, transform .25s var(--ease);
}
.day-card:hover { border-color: rgba(185, 242, 64, .45); transform: translateY(-3px); }
.day-card.is-today { border-color: var(--neon); box-shadow: 0 0 0 1px var(--neon), 0 18px 40px -18px rgba(185, 242, 64, .45); }

@media (min-width: 600px) { .day-card { flex-basis: 44%; } }
@media (min-width: 1100px) {
  .agenda {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    overflow: visible;
    margin-inline: 0;
    padding: 0;
  }
}

.day-card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--forest-2);
}
.day-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.day-card:hover .day-card__media img { transform: scale(1.05); }
.day-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(8, 20, 13, .92) 100%);
}

.day-card__split { display: grid; grid-template-columns: 1fr 1fr; height: 100%; }
.day-card__split img { object-position: 30% 50%; }
.day-card__split img + img { object-position: 60% 50%; }
.day-card__vs {
  position: absolute;
  z-index: 1;
  top: 42%; left: 50%;
  transform: translate(-50%, -50%);
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--neon);
  color: var(--bg);
  font-family: var(--f-poster);
  font-size: 1.1rem;
  box-shadow: 0 0 0 4px rgba(14, 42, 27, .8);
}

.day-card__day {
  position: absolute;
  z-index: 1;
  left: 16px; bottom: 6px;
  font-family: var(--f-script);
  font-size: 3.3rem;
  line-height: 1.1;
  color: var(--text);
  text-shadow: 0 2px 18px rgba(0, 0, 0, .7);
}
.day-card.is-today .day-card__day { color: var(--neon); text-shadow: 0 0 22px rgba(185, 242, 64, .5); }

.badge-today {
  position: absolute;
  z-index: 1;
  top: 12px; left: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--neon);
  color: var(--bg);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.day-card__body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.day-card__body h3 { font-family: var(--f-display); font-size: 1.45rem; }
.day-card__body p { color: var(--muted); font-size: .93rem; }
.day-card__highlight {
  margin-top: auto;
  align-self: flex-start;
  font-family: var(--f-poster);
  font-size: 1.15rem;
  letter-spacing: .03em;
  color: var(--bg) !important;
  background: var(--amber);
  padding: 2px 10px;
  transform: skewX(-8deg);
}

/* ==========================================================================
   TABS
   ========================================================================== */
.tabs--pill {
  display: inline-flex;
  padding: 5px;
  gap: 4px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  align-self: flex-start;
}
.tab {
  border: 0;
  background: transparent;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  color: var(--muted);
  white-space: nowrap;
  transition: background-color .2s, color .2s;
}
.tab:hover { color: var(--text); }
.tab[aria-selected="true"] { background: var(--neon); color: var(--bg); }
.tab__count {
  display: inline-block;
  min-width: 1.6em;
  margin-left: 4px;
  padding: 0 .4em;
  border-radius: 999px;
  font-size: .78rem;
  background: rgba(244, 238, 228, .1);
}
.tab[aria-selected="true"] .tab__count { background: rgba(22, 16, 12, .15); }

.tabs--scroll {
  position: sticky;
  top: var(--header-h);
  z-index: 5;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  margin: 0 calc(-1 * var(--gutter)) 28px;
  padding: 10px var(--gutter);
  background: rgba(33, 25, 18, .94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-block: 1px solid var(--line);
}
.tabs--scroll::-webkit-scrollbar { display: none; }
.tabs--scroll .tab { border: 1px solid var(--line-strong); }
.tabs--scroll .tab[aria-selected="true"] { border-color: var(--neon); }
@media (min-width: 1100px) {
  .tabs--scroll { justify-content: safe center; margin-inline: 0; padding-inline: 10px; border-radius: 999px; border: 1px solid var(--line); }
  .tabs--scroll .tab { padding: 0 15px; font-size: .92rem; }
}

/* ==========================================================================
   EVENTOS
   ========================================================================== */
.events-grid {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  margin-inline: calc(-1 * var(--gutter));
  padding: 4px var(--gutter) 18px;
  scrollbar-width: thin;
  scrollbar-color: rgba(185, 242, 64, .4) transparent;
}
.events-grid > * { flex: 0 0 84%; scroll-snap-align: start; }

@media (min-width: 640px) {
  .events-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    overflow: visible;
    margin-inline: 0;
    padding: 0;
  }
  .events-grid .is-extra { display: none; }
  .events-grid.is-expanded .is-extra { display: flex; }
}
@media (min-width: 960px) { .events-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 639.98px) { #past-more { display: none; } }

.event-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.event-card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--shadow); }

.event-card__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--forest); }
.event-card__media > img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform .6s var(--ease);
}
.event-card:hover .event-card__media > img { transform: scale(1.04); }
.event-card__media .tag--soon { position: absolute; top: 12px; right: 12px; z-index: 3; }

.event-card__body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 18px 20px 22px; }
.event-card__date {
  display: flex; align-items: center; gap: 8px;
  font-size: .85rem;
  font-weight: 700;
  color: var(--amber);
}
.event-card__date svg { width: 18px; height: 18px; }
.event-card h3 { font-family: var(--f-display); font-size: 1.5rem; line-height: 1.12; }
.event-card__desc { color: var(--muted); font-size: .93rem; }
.event-card .btn { margin-top: auto; }
.event-card .tags { margin-bottom: 6px; }

/* Afiche generado en el estilo de sus posters */
.poster {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 26px 18px 28px;
  text-align: center;
  color: var(--text);
  overflow: hidden;
  isolation: isolate;
  --tone: var(--neon);
  --tone-bg: 14, 42, 27;
}
.poster--naranja { --tone: var(--amber); --tone-bg: 58, 26, 6; }
.poster--morado { --tone: #D9B8FF; --tone-bg: 38, 14, 58; }

.poster__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(.85) brightness(.75);
  transition: transform .6s var(--ease);
}
.event-card:hover .poster__bg { transform: scale(1.05); }
.poster::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(var(--tone-bg), .55) 0%, rgba(var(--tone-bg), .15) 32%, rgba(var(--tone-bg), .82) 62%, rgba(var(--tone-bg), .97) 100%);
}
.poster::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(242, 163, 58, .55);
  pointer-events: none;
}
.poster__logo { position: absolute; top: 24px; left: 50%; transform: translateX(-50%); width: 92px; }
.poster__ante {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .32em;
  text-transform: uppercase;
}
.poster__title { display: flex; flex-direction: column; align-items: center; line-height: .9; }
.poster__line {
  font-family: var(--f-poster);
  font-size: clamp(2rem, 1.4rem + 2.2vw, 2.7rem);
  text-transform: uppercase;
  letter-spacing: .01em;
}
.poster__script {
  font-family: var(--f-script);
  font-size: clamp(2.8rem, 2rem + 3vw, 3.7rem);
  line-height: 1;
  color: var(--tone);
  text-shadow: 0 0 .35em color-mix(in srgb, var(--tone) 55%, transparent);
  margin-top: -.05em;
  padding-inline: .2em;
}
.date-badge {
  display: inline-flex;
  align-items: stretch;
  margin-top: 6px;
  background: var(--text);
  color: var(--forest);
  font-family: var(--f-poster);
  font-size: 1.35rem;
  line-height: 1;
  transform: skewX(-9deg);
  box-shadow: 0 8px 22px -8px rgba(0, 0, 0, .7);
}
.date-badge span { padding: 7px 10px 6px; text-transform: uppercase; }
.date-badge b { font-weight: 400; padding: 7px 9px 6px; background: var(--neon); color: var(--bg); }
.poster--naranja .date-badge b { background: var(--amber); }
.poster--morado .date-badge b { background: #D9B8FF; }

/* ==========================================================================
   MENÚ
   ========================================================================== */
.sample-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px dashed rgba(242, 163, 58, .7);
  color: var(--amber);
  font-size: .88rem;
  font-weight: 700;
  background: var(--amber-soft);
}
.sample-note svg { width: 18px; height: 18px; }

.menu-panel { display: grid; gap: 24px; }
.menu-panel:focus-visible { outline-offset: 8px; }
@media (min-width: 900px) {
  .menu-panel { grid-template-columns: 4fr 7fr; gap: 48px; align-items: start; }
}

.menu-feature {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--line);
}
@media (min-width: 900px) { .menu-feature { position: sticky; top: calc(var(--header-h) + 96px); } }
.menu-feature__media { position: relative; aspect-ratio: 16 / 10; }
@media (min-width: 900px) { .menu-feature__media { aspect-ratio: 4 / 5; } }
.menu-feature__media img { width: 100%; height: 100%; object-fit: cover; }
.menu-feature figcaption { padding: 14px 20px 18px; font-size: .95rem; color: var(--muted); }
.menu-feature figcaption .script { display: block; font-size: 2.5rem; color: var(--amber); line-height: 1.05; }

.placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
  color: var(--faint);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .04em;
  background:
    repeating-linear-gradient(135deg, rgba(244, 238, 228, .035) 0 12px, transparent 12px 24px),
    var(--surface-2);
  border: 1px dashed var(--line-strong);
  border-radius: inherit;
}

.menu-list { display: grid; }
.menu-item {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 4px;
}
.menu-item:first-child { padding-top: 0; }
.menu-item__top { display: flex; align-items: baseline; gap: 10px; }
.menu-item h3 { font-family: var(--f-display); font-size: 1.3rem; line-height: 1.2; }
.menu-item__leader { flex: 1; min-width: 20px; border-bottom: 1px dotted var(--line-strong); transform: translateY(-5px); }
.menu-item__price { font-weight: 800; color: var(--neon); white-space: nowrap; font-size: 1.05rem; }
.menu-item p { color: var(--muted); font-size: .93rem; max-width: 38rem; }
.menu-item__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 4px; }
.fav {
  font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--amber);
}
.photo-link {
  display: inline-flex; align-items: center; gap: 6px;
  border: 0; background: none; padding: 4px 0;
  font-size: .85rem; font-weight: 700; color: var(--text);
  text-decoration: underline; text-decoration-color: rgba(185, 242, 64, .5); text-underline-offset: 3px;
}
.photo-link:hover { color: var(--neon); }
.photo-link img { width: 34px; height: 34px; border-radius: 8px; object-fit: cover; }

.legal-inline { margin-top: 28px; font-size: .82rem; color: var(--faint); text-align: center; }

/* ==========================================================================
   RESERVAS
   ========================================================================== */
.reserve { display: grid; gap: 40px; }
@media (min-width: 960px) {
  .reserve { grid-template-columns: 5fr 6fr; gap: 56px; align-items: start; }
  .reserve__intro { position: sticky; top: calc(var(--header-h) + 32px); }
}

.perks { margin-top: 28px; display: grid; gap: 14px; }
.perks li { display: flex; gap: 14px; align-items: flex-start; color: var(--muted); font-size: .95rem; }
.perks b { display: block; color: var(--text); }
.perks svg {
  width: 40px; height: 40px; padding: 9px;
  border-radius: 12px;
  background: var(--neon-soft);
  color: var(--neon);
}

.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px 18px;
  box-shadow: var(--shadow);
}
@media (min-width: 560px) { .card { padding: 32px; } }

.reserve-form { display: grid; gap: 22px; }
.form-grid { display: grid; gap: 18px; }
@media (min-width: 560px) { .form-grid { grid-template-columns: 1fr 1fr; } }

.field { display: grid; gap: 7px; min-width: 0; align-content: start; }
.field label, .field legend { font-weight: 700; font-size: .92rem; }
.field--group { border: 0; margin: 0; padding: 0; gap: 10px; }
.field--group legend { padding: 0; margin-bottom: 10px; }
.field--inline { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.optional { font-weight: 500; color: var(--faint); }

input[type="text"], input[type="tel"], input[type="date"], input[type="number"], input[type="search"], select, textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line-strong);
  background: var(--surface);
  color: var(--text);
  font-size: 1rem;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
  -webkit-appearance: none;
  appearance: none;
}
textarea { resize: vertical; min-height: 96px; line-height: 1.5; }
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23B9F240' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}
select:disabled, input[readonly] { opacity: .65; cursor: not-allowed; }
input::placeholder, textarea::placeholder { color: rgba(244, 238, 228, .5); }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--neon);
  box-shadow: 0 0 0 4px rgba(185, 242, 64, .16);
}
[aria-invalid="true"] { border-color: var(--danger) !important; }
input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(.9); cursor: pointer; }

.input-prefix { display: flex; }
.input-prefix span {
  display: grid; place-items: center;
  padding: 0 12px;
  border: 1.5px solid var(--line-strong);
  border-right: 0;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  background: var(--surface-2);
  color: var(--muted);
  font-weight: 700;
}
.input-prefix input { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }

.field__error { color: var(--danger); font-size: .84rem; font-weight: 600; min-height: 0; }
.field__error:empty { display: none; }
.field__hint { color: var(--faint); font-size: .82rem; }
.field__hint:empty { display: none; }
.field__hint--right { text-align: right; }

/* Chips (radios) */
.chips { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.chips--wrap { display: flex; flex-wrap: wrap; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: grid;
  place-items: center;
  min-height: 48px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line-strong);
  background: var(--surface);
  font-weight: 700;
  white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s, transform .15s;
}
.chips--wrap .chip span { border-radius: 999px; min-height: 44px; }
.chip:hover span { border-color: var(--neon); }
.chip input:checked + span { background: var(--neon); border-color: var(--neon); color: var(--bg); }
.chip input:focus-visible + span { outline: 2px solid var(--neon); outline-offset: 3px; }
.chip input:active + span { transform: scale(.96); }

.segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 4px;
  gap: 4px;
  border-radius: 14px;
  background: var(--surface);
  border: 1.5px solid var(--line-strong);
}
.segmented label { position: relative; }
.segmented input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.segmented span {
  display: grid; place-items: center;
  min-height: 44px;
  border-radius: 10px;
  font-weight: 700;
  font-size: .95rem;
  color: var(--muted);
  transition: background-color .2s, color .2s;
}
.segmented input:checked + span { background: var(--neon); color: var(--bg); }
.segmented input:focus-visible + span { outline: 2px solid var(--neon); outline-offset: 2px; }
#evento-field { margin-top: 6px; }

.check { display: flex !important; gap: 12px; align-items: flex-start; font-weight: 500 !important; color: var(--muted); cursor: pointer; }
.check input {
  flex: none;
  width: 22px; height: 22px;
  margin: 2px 0 0;
  accent-color: var(--neon);
  cursor: pointer;
}

.promo-alert {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1.5px solid var(--neon);
  background: var(--neon-soft);
  animation: pop .45s var(--ease);
}
.promo-alert svg { width: 34px; height: 34px; color: var(--neon); }
.promo-alert b { display: block; color: var(--neon); font-size: 1.02rem; }
.promo-alert span { color: var(--muted); font-size: .88rem; }
.promo-alert--hint { border-color: rgba(242, 163, 58, .6); background: var(--amber-soft); }
.promo-alert--hint svg, .promo-alert--hint b { color: var(--amber); }
@keyframes pop {
  0% { opacity: 0; transform: scale(.96); }
  100% { opacity: 1; transform: none; }
}

.form-foot { font-size: .82rem; color: var(--faint); text-align: center; margin-top: -8px; }

/* Ticket de reserva */
.ticket {
  position: relative;
  margin-top: 8px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 18px 20px;
}
.ticket::before, .ticket::after {
  content: "";
  position: absolute;
  top: 62px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--forest);
  border: 1px solid var(--line);
}
.ticket::before { left: -11px; clip-path: inset(0 0 0 50%); }
.ticket::after { right: -11px; clip-path: inset(0 50% 0 0); }
.modal .ticket::before, .modal .ticket::after { background: var(--bg); }

.ticket__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 14px;
  border-bottom: 2px dashed var(--line-strong);
}
.ticket__head img { width: 74px; }
.ticket__head span {
  font-family: var(--f-poster);
  letter-spacing: .08em;
  font-size: 1.05rem;
  color: var(--neon);
}
.ticket__rows { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0; font-size: .92rem; }
.ticket__rows dt { color: var(--faint); font-weight: 600; }
.ticket__rows dd { margin: 0; text-align: right; font-weight: 700; overflow-wrap: anywhere; }
.ticket__rows .is-empty { color: var(--faint); font-weight: 500; }
.ticket__rows .is-promo { color: var(--neon); }

.ticket--live { display: none; margin-top: 34px; }
@media (min-width: 960px) { .ticket--live { display: block; } }

/* ==========================================================================
   GALERÍA
   ========================================================================== */
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1.5px solid var(--line-strong);
  background: transparent;
  font-weight: 700;
  font-size: .9rem;
  color: var(--muted);
  transition: all .2s;
}
.filter:hover { color: var(--text); border-color: var(--neon); }
.filter[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }

.masonry { columns: 2; column-gap: 10px; }
@media (min-width: 768px) { .masonry { columns: 3; column-gap: 16px; } }
@media (min-width: 1100px) { .masonry { columns: 4; } }

.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 0 10px;
  padding: 0;
  border: 0;
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface);
  break-inside: avoid;
}
@media (min-width: 768px) { .gallery-item { margin-bottom: 16px; } }
.gallery-item img { width: 100%; transition: transform .6s var(--ease), filter .4s; }
.gallery-item:hover img { transform: scale(1.04); filter: brightness(.8); }
.gallery-item::after {
  content: "";
  position: absolute;
  right: 10px; bottom: 10px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(22, 16, 12, .75) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23B9F240' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M14 4h6v6M10 20H4v-6M20 4l-7 7M4 20l7-7'/%3E%3C/svg%3E") center no-repeat;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .25s, transform .25s;
}
.gallery-item:hover::after, .gallery-item:focus-visible::after { opacity: 1; transform: none; }

/* ==========================================================================
   UBICACIÓN
   ========================================================================== */
.location { display: grid; gap: 36px; }
@media (min-width: 960px) { .location { grid-template-columns: 5fr 7fr; gap: 56px; align-items: stretch; } }

.info-list { margin-top: 28px; display: grid; gap: 20px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-list li > svg {
  width: 42px; height: 42px; padding: 10px;
  border-radius: 12px;
  background: var(--amber-soft);
  color: var(--amber);
}
.info-list b { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 2px; }
.info-list div { display: grid; gap: 2px; color: var(--muted); min-width: 0; flex: 1; }
.info-list a { color: var(--text); font-weight: 700; font-size: 1.1rem; }

.hours { border-collapse: collapse; margin: 4px 0 6px; width: 100%; max-width: 360px; }
.hours td { padding: 6px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.hours td + td { text-align: right; color: var(--text); font-weight: 700; white-space: nowrap; padding-left: 12px; }
.hours tr.is-today td { color: var(--neon); }

.open-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: rgba(244, 238, 228, .1);
  color: var(--muted);
}
.open-badge.is-open { background: var(--neon-soft); color: var(--neon); }
.open-badge:empty { display: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
@media (max-width: 420px) { .btn-row .btn { flex: 1 1 100%; } }

.schedule-poster {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 18px 8px 8px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--bg);
  font-weight: 700;
  font-size: .92rem;
  text-align: left;
  transition: border-color .2s;
}
.schedule-poster:hover { border-color: var(--amber); }
.schedule-poster img { width: 64px; height: 80px; object-fit: cover; border-radius: 10px; }
.schedule-poster span { display: inline-flex; align-items: center; gap: 8px; }
.schedule-poster svg { color: var(--amber); width: 18px; height: 18px; }

.location__map {
  min-height: 360px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--surface-2);
  box-shadow: var(--shadow);
}
.location__map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; }
@media (min-width: 960px) { .location__map, .location__map iframe { min-height: 560px; } }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  position: relative;
  background: var(--bg-deep);
  padding: 0 0 calc(96px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
}

.footer-grid { display: grid; gap: 36px; padding-top: 48px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.2fr .8fr .9fr 1.4fr; } }

.footer-brand img { width: 170px; }
.footer-brand p { margin-top: 14px; color: var(--muted); }
.footer-title { font-weight: 800; font-size: .78rem; letter-spacing: .24em; text-transform: uppercase; color: var(--amber); margin-bottom: 14px; }
.footer-nav ul { display: grid; gap: 4px; }
.footer-nav a { text-decoration: none; color: var(--muted); display: inline-block; padding: 4px 0; }
.footer-nav a:hover { color: var(--neon); }

.socials { display: flex; gap: 10px; margin-bottom: 14px; }
.socials a {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  transition: all .2s;
}
.socials a:hover { border-color: var(--neon); color: var(--bg); background: var(--neon); }
.socials svg { width: 21px; height: 21px; }

.responsible {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-size: .9rem;
}
.responsible b { color: var(--text); }
.age-badge {
  flex: none;
  display: grid; place-items: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 2px solid var(--amber);
  color: var(--amber);
  font-family: var(--f-poster);
  font-size: 1.15rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: .85rem;
}
.admin-link { color: var(--faint); }

/* ==========================================================================
   WHATSAPP FLOTANTE
   ========================================================================== */
.wa-float {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 40;
  display: flex;
  align-items: center;
  height: 58px;
  min-width: 58px;
  padding: 0 17px;
  border-radius: 999px;
  background: var(--wa);
  color: #06210F;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .55), 0 2px 8px rgba(0, 0, 0, .4);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.wa-float:hover { color: #06210F; transform: translateY(-2px); }
.wa-float svg { width: 25px; height: 25px; }
.wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid var(--wa);
  animation: ring 2.6s ease-out infinite;
  pointer-events: none;
}
.wa-float__label {
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  transition: max-width .35s var(--ease), margin .35s var(--ease);
}
@media (hover: hover) and (min-width: 768px) {
  .wa-float:hover .wa-float__label, .wa-float:focus-visible .wa-float__label { max-width: 220px; margin-left: 10px; }
}
@keyframes ring {
  0% { transform: scale(1); opacity: .7; }
  80%, 100% { transform: scale(1.35); opacity: 0; }
}

/* ==========================================================================
   MODAL Y LIGHTBOX
   ========================================================================== */
dialog { padding: 0; border: 0; color: var(--text); }
dialog::backdrop { background: rgba(8, 6, 4, .78); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }

.modal {
  width: min(480px, calc(100% - 24px));
  max-height: calc(100dvh - 24px);
  border-radius: 26px;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .8);
  overflow-y: auto;
}
.modal[open] { animation: modalIn .4s var(--ease); }
@keyframes modalIn {
  from { opacity: 0; transform: translateY(20px) scale(.98); }
  to { opacity: 1; transform: none; }
}
.modal__inner { position: relative; padding: 34px 22px 24px; text-align: center; }
@media (min-width: 560px) { .modal__inner { padding: 40px 34px 30px; } }
.modal__close { position: absolute; top: 14px; right: 14px; }
.modal__check {
  width: 64px; height: 64px;
  margin: 0 auto 14px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--neon);
  color: var(--bg);
  box-shadow: 0 0 0 8px var(--neon-soft);
}
.modal__check svg { width: 32px; height: 32px; }
.modal__title { font-family: var(--f-display); font-size: 2rem; }
.modal__lead { margin-top: 8px; color: var(--muted); font-size: .95rem; }
.modal .ticket { margin-top: 22px; text-align: left; }
.modal__actions { display: grid; gap: 10px; margin-top: 22px; }
.modal__demo { margin-top: 16px; font-size: .85rem; }
.modal__demo a { color: var(--amber); }

.lightbox {
  width: 100vw; height: 100dvh;
  max-width: none; max-height: none;
  margin: 0;
  background: rgba(10, 7, 5, .97);
  overflow: hidden;
}
.lightbox[open] { display: grid; place-items: center; animation: fadeIn .25s ease; }
.lightbox::backdrop { background: rgba(10, 7, 5, .9); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.lightbox__figure { margin: 0; display: grid; gap: 14px; justify-items: center; padding: 64px 12px 24px; }
.lightbox__figure img {
  max-width: min(94vw, 1200px);
  max-height: calc(100dvh - 160px);
  width: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .6);
  transition: opacity .2s;
}
.lightbox__figure img.is-loading { opacity: .3; }
.lightbox figcaption {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px;
  max-width: 700px;
  padding: 0 16px;
  text-align: center;
  color: var(--muted);
  font-size: .92rem;
}
.lightbox__count { color: var(--neon); font-weight: 700; }
.lightbox__btn { position: absolute; z-index: 2; background: rgba(22, 16, 12, .8); }
.lightbox__close { top: 14px; right: 14px; }
.lightbox__prev, .lightbox__next { top: 50%; transform: translateY(-50%); width: 50px; height: 50px; }
.lightbox__prev { left: 10px; }
.lightbox__next { right: 10px; }
@media (max-width: 640px) {
  .lightbox__prev, .lightbox__next { top: auto; bottom: 18px; transform: none; }
  .lightbox__prev { left: calc(50% - 64px); }
  .lightbox__next { right: calc(50% - 64px); }
  .lightbox__figure { padding-bottom: 84px; }
  .lightbox__figure img { max-height: calc(100dvh - 210px); }
}

/* ==========================================================================
   PANEL DEL NEGOCIO
   ========================================================================== */
.admin {
  position: fixed;
  inset: 0;
  z-index: 70;
  overflow-y: auto;
  background: var(--bg);
  animation: fadeIn .3s ease;
}
.admin__bar {
  position: sticky;
  top: 0;
  z-index: 2;
  background: rgba(22, 16, 12, .94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.admin__bar-inner { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.admin__bar-inner > img { width: 70px; }
.admin__heading { flex: 1; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.admin__heading h2 { font-family: var(--f-display); font-size: 1.4rem; }
.admin__body { padding-top: 28px; padding-bottom: 64px; }
.admin__intro { color: var(--muted); max-width: 46rem; }

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 24px 0; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat {
  padding: 18px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.stat span { display: block; color: var(--muted); font-size: .85rem; font-weight: 600; }
.stat b { display: block; font-family: var(--f-display); font-size: 2.3rem; line-height: 1.1; margin-top: 4px; }
.stat--neon b { color: var(--neon); }
.stat--amber b { color: var(--amber); }

.admin__toolbar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 16px; }
.admin__toolbar label { font-size: .85rem; color: var(--muted); }
.admin__toolbar select, .admin__toolbar input { min-height: 42px; padding-block: 8px; width: auto; }
.admin__search { flex: 1 1 220px; }
.admin__search input { flex: 1; min-width: 140px; }
.admin__actions { display: flex; flex-wrap: wrap; gap: 8px; }

.table-wrap { border-radius: 18px; border: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.res-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.res-table th {
  text-align: left;
  padding: 14px 14px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--faint);
  background: var(--surface-2);
  white-space: nowrap;
}
.res-table td { padding: 14px; border-top: 1px solid var(--line); vertical-align: top; }
.res-table tr.is-new td { animation: flash 2.4s ease; }
@keyframes flash { 0%, 30% { background: rgba(185, 242, 64, .12); } 100% { background: transparent; } }
.res-table .code { font-family: var(--f-poster); letter-spacing: .06em; color: var(--neon); white-space: nowrap; }
.res-table .sub { display: block; color: var(--faint); font-size: .8rem; }
.res-table .promo { display: inline-block; margin-top: 4px; color: var(--neon); font-size: .76rem; font-weight: 700; }
.res-table .comment { max-width: 220px; color: var(--muted); }
.res-table select { min-height: 38px; padding: 6px 34px 6px 10px; width: auto; font-size: .85rem; border-radius: 10px; }
.res-table select[data-estado="confirmada"] { border-color: var(--neon); color: var(--neon); }
.res-table select[data-estado="cancelada"] { border-color: var(--danger); color: var(--danger); }
.row-actions { display: flex; gap: 6px; }
.row-actions .icon-btn:disabled { opacity: .3; cursor: not-allowed; }
.res-table td:first-child .sub { white-space: nowrap; }
.row-actions .icon-btn { width: 38px; height: 38px; }
.row-actions .icon-btn svg { width: 18px; height: 18px; }
.row-actions .is-wa:hover { color: var(--wa); border-color: var(--wa); }
.row-actions .is-del:hover { color: var(--danger); border-color: var(--danger); }

@media (max-width: 899.98px) {
  .res-table thead { display: none; }
  .res-table, .res-table tbody, .res-table tr, .res-table td { display: block; width: 100%; }
  .res-table tr { padding: 14px 16px; border-top: 1px solid var(--line); }
  .res-table tr:first-child { border-top: 0; }
  .res-table td { border: 0; padding: 4px 0; display: grid; grid-template-columns: 104px 1fr; gap: 10px; }
  .res-table td::before { content: attr(data-label); color: var(--faint); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding-top: 2px; }
  .res-table td.actions-cell { margin-top: 6px; }
  .res-table .comment { max-width: none; }
}

.empty { padding: 40px 20px; text-align: center; color: var(--muted); display: grid; gap: 6px; }
.empty b { color: var(--text); }

.google-preview { margin-top: 40px; }
.serp {
  max-width: 640px;
  padding: 20px 22px;
  border-radius: 16px;
  background: #FFFFFF;
  color: #202124;
  font-family: Arial, Helvetica, sans-serif;
}
.serp__site { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.serp__site img { width: 28px; height: 28px; border-radius: 50%; }
.serp__site b { display: block; font-weight: 400; color: #202124; }
.serp__site span { color: #4D5156; font-size: 12px; }
.serp__title { margin-top: 8px; color: #1A0DAB; font-size: 20px; line-height: 1.3; }
.serp__desc { margin-top: 4px; color: #4D5156; font-size: 14px; line-height: 1.58; }
.serp__meta { margin-top: 6px; color: #4D5156; font-size: 13px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(90px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 90;
  max-width: calc(100% - 32px);
  padding: 12px 18px;
  border-radius: 14px;
  background: var(--surface-2);
  border: 1px solid var(--neon);
  color: var(--text);
  font-weight: 600;
  font-size: .92rem;
  box-shadow: var(--shadow);
  animation: pop .3s var(--ease);
}

/* ==========================================================================
   ANIMACIONES AL HACER SCROLL
   ========================================================================== */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: var(--d, 0s);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .hero__bg { transform: none; }
}
