/* ==========================================================================
   TAKA FUN PARK & TERRAZA ZIELO · Identidad Volcánica Oficial (v5)
   Tipografías locales: Oswald (Display Hero) · Baloo 2 (Títulos/Precios) · Nunito
   Paleta oficial TAKA: Morado #5B2D8E/#4D2178 · Rosa #D9166F · Oro Lava #F7BD2D
   ========================================================================== */

@view-transition {
  navigation: auto;
}

@font-face {
  font-family: "Oswald";
  src: url("assets/fonts/oswald.woff2") format("woff2");
  font-weight: 600 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Baloo 2";
  src: url("assets/fonts/baloo2.woff2") format("woff2");
  font-weight: 500 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nunito";
  src: url("assets/fonts/nunito.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --morado: #5B2D8E;
  --morado-deep: #431B70;
  --morado-night: #270F45;
  --rosa: #D9166F;
  --rosa-hover: #B8105C;
  --oro: #F7BD2D;
  --oro-hover: #FFCA45;
  --verde-wa: #1FA855;

  --bg: #FFFFFF;
  --bg-cream: #FFF8EE;
  --bg-lilac: #F4ECFC;
  --surface: #FFFFFF;
  --ink: #2B1448;
  --ink-soft: #5C407D;
  --line: rgba(91, 45, 142, 0.14);

  --header-bg: #461D75;
  --footer-bg: #2E1250;

  --font-hero: "Oswald", "Arial Narrow", sans-serif;
  --font-display: "Baloo 2", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, sans-serif;

  /* Curvas Emil Kowalski */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  --r-xl: 26px;
  --r-lg: 20px;
  --r-md: 15px;
  --r-pill: 999px;
  --gutter: clamp(14px, 4vw, 32px);
  --container: 1160px;

  /* Textura sutil de ondas de lava TAKA */
  --lava-pattern: radial-gradient(120% 90% at 10% 0%, rgba(255, 255, 255, 0.08) 0%, transparent 55%),
                  radial-gradient(90% 80% at 95% 100%, rgba(233, 30, 123, 0.16) 0%, transparent 60%);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #140B24;
  --bg-cream: #1E1133;
  --bg-lilac: #22133A;
  --surface: #1F1235;
  --ink: #FAF5FF;
  --ink-soft: #D3C1EA;
  --line: rgba(247, 189, 45, 0.18);
  --header-bg: #1B0E30;
  --footer-bg: #10071D;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 68px;
  -webkit-text-size-adjust: 100%;
  accent-color: var(--rosa);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

::selection {
  background: var(--oro);
  color: #2B1448;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
a, button, summary, input, select, textarea {
  font: inherit;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

:focus-visible {
  outline: 3px solid var(--oro);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  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;
  top: 8px;
  left: 8px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--oro);
  color: #2B1448;
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 160ms var(--ease-out);
}
.skip-link:focus { transform: translateY(0); }

.container {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}

/* ==========================================================================
   TIPOGRAFÍA EXPRESIVA TAKA (Sin eyebrows prohibidos)
   ========================================================================== */
.hero-oswald {
  font-family: var(--font-hero);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(2.45rem, 10.5vw, 5.1rem);
  line-height: 0.94;
  letter-spacing: -0.015em;
  color: #FFFFFF;
  text-shadow: 0 4px 22px rgba(17, 6, 32, 0.6);
}
.hero-oswald span {
  color: var(--oro);
  display: block;
}

.title-xl {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.65rem, 4.2vw, 2.75rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.title-xl span { color: var(--rosa); }
.on-purple .title-xl { color: #FFFFFF; }
.on-purple .title-xl span { color: var(--oro); }

.title-lg {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.42rem, 3.2vw, 2.2rem);
  line-height: 1.06;
  letter-spacing: -0.018em;
  text-wrap: balance;
}
.title-lg span { color: var(--rosa); }
.on-purple .title-lg { color: #FFFFFF; }
.on-purple .title-lg span { color: var(--oro); }

.lead-short {
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink-soft);
  max-width: 48ch;
}
@media (min-width: 900px) {
  .lead-short { font-size: 16.5px; }
}
.on-purple .lead-short { color: rgba(248, 240, 255, 0.88); }

/* ==========================================================================
   BOTONES OFICIALES TAKA (Rosa Volcán · Oro Lava · Contorno)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 46px;
  padding: 0 16px;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 14.5px;
  line-height: 1.1;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 140ms var(--ease-out), background-color 160ms var(--ease-out), box-shadow 160ms var(--ease-out);
}
@media (min-width: 768px) {
  .btn { min-height: 50px; padding: 0 24px; font-size: 15.5px; }
}
.btn:active { transform: scale(0.97); }
.btn svg { width: 17px; height: 17px; flex-shrink: 0; }

.btn-pink {
  background: var(--rosa);
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(217, 22, 111, 0.34);
}
.btn-pink:hover { background: var(--rosa-hover); transform: translateY(-2px); }

.btn-gold {
  background: var(--oro);
  color: #2B1448;
  box-shadow: 0 6px 18px rgba(247, 189, 45, 0.32);
}
.btn-gold:hover { background: var(--oro-hover); transform: translateY(-2px); }

.btn-purple {
  background: var(--morado);
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(91, 45, 142, 0.26);
}
.btn-purple:hover { background: var(--morado-deep); transform: translateY(-2px); }

.btn-ghost {
  background: var(--surface);
  color: var(--ink);
  border: 2px solid var(--line);
}
.btn-ghost:hover { border-color: var(--morado); }

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
  border: 1.5px solid rgba(255, 255, 255, 0.32);
}
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.22); }

.btn-wa {
  background: var(--verde-wa);
  color: #FFFFFF;
}

.cta-2col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.cta-2col .btn {
  padding-inline: 10px;
  font-size: 13.5px;
  text-align: center;
}
@media (min-width: 640px) {
  .cta-2col {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }
  .cta-2col .btn {
    padding-inline: 22px;
    font-size: 15px;
  }
}

/* ==========================================================================
   CABECERA MORADA OFICIAL TAKA (Logo con trazo blanco, cero colisión)
   ========================================================================== */
.taka-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--header-bg);
  background-image: var(--lava-pattern);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 56px;
}
@media (min-width: 980px) {
  .header-inner { min-height: 66px; }
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  flex-shrink: 0;
  view-transition-name: vt-brand-logo;
}
.brand-logo img {
  height: 40px;
  width: auto;
}
@media (min-width: 980px) {
  .brand-logo img { height: 46px; }
}

.main-nav {
  display: none;
  align-items: center;
  gap: 4px;
}
.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 13px;
  border-radius: var(--r-pill);
  color: rgba(255, 255, 255, 0.90);
  font-weight: 800;
  font-size: 14.5px;
  text-decoration: none;
  transition: background-color 150ms ease, color 150ms ease;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.16);
  color: var(--oro);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}
.header-cta {
  min-height: 40px;
  padding: 0 15px;
  font-size: 13.5px;
}
.hdr-icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.10);
  color: #FFFFFF;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  transition: transform 130ms var(--ease-out), background-color 150ms ease;
}
.hdr-icon-btn:hover { background: rgba(255, 255, 255, 0.20); }
.hdr-icon-btn:active { transform: scale(0.95); }
.hdr-icon-btn svg { width: 20px; height: 20px; }

.menu-open-btn {
  width: auto;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  font-size: 13.5px;
}

html[data-theme="dark"] .icon-moon { display: none; }
html:not([data-theme="dark"]) .icon-sun { display: none; }

@media (min-width: 980px) {
  .main-nav { display: flex; }
  .menu-open-btn { display: none; }
  .header-cta { min-height: 44px; padding: 0 20px; font-size: 14.5px; }
}

/* Cajón móvil [popover] */
@supports not selector(:popover-open) {
  [popover]:not(.\:popover-open) { display: none; }
}
.nav-drawer {
  margin: 0 0 0 auto;
  width: min(320px, 88vw);
  height: 100dvh;
  max-height: 100dvh;
  padding: 14px var(--gutter) 24px;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  background: var(--morado-night);
  color: #FFFFFF;
}
.nav-drawer:is(:popover-open, .\:popover-open) {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.nav-drawer::backdrop {
  background: rgba(12, 5, 22, 0.62);
  backdrop-filter: blur(4px);
}
.drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.drawer-top img { height: 38px; width: auto; }
.drawer-list {
  display: grid;
  gap: 4px;
  margin-top: 12px;
}
.drawer-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 0 12px;
  border-radius: 13px;
  color: #FFFFFF;
  font-weight: 800;
  font-size: 15.5px;
  text-decoration: none;
}
.drawer-list a span {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--oro);
}
.drawer-list a:hover,
.drawer-list a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.12);
}
.drawer-bottom {
  display: grid;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

/* ==========================================================================
   PANTALLA 1 · VOLCANO VIDEO HERO INMERSIVO (Como POST 33 + vídeo fluido)
   ========================================================================== */
.hero-wrap {
  padding-block: 10px 18px;
  background: var(--bg-lilac);
}
@media (min-width: 920px) {
  .hero-wrap { padding-block: 22px 34px; }
}

.hero-poster-card {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px;
  background: #240D3F;
  box-shadow: 0 16px 40px rgba(67, 27, 112, 0.22);
  isolation: isolate;
}
@media (min-width: 920px) {
  .hero-poster-card {
    min-height: 540px;
    padding: 32px 42px;
  }
}

.hero-poster-card > img,
.hero-poster-card > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero-poster-card > video {
  opacity: 0;
  transition: opacity 420ms ease;
}
.hero-poster-card > video.is-playing { opacity: 1; }

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(24, 8, 42, 0.28) 0%, rgba(24, 8, 42, 0.18) 34%, rgba(32, 11, 56, 0.88) 72%, rgba(24, 8, 42, 0.96) 100%);
}
@media (min-width: 920px) {
  .hero-scrim {
    background: linear-gradient(95deg, rgba(26, 9, 46, 0.92) 0%, rgba(35, 13, 62, 0.70) 48%, rgba(24, 8, 42, 0.20) 100%);
  }
}

.hero-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.location-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  background: rgba(24, 8, 42, 0.72);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 800;
}
.location-badge svg { width: 14px; height: 14px; color: var(--oro); }

.reel-sound-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 12px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, 0.30);
  background: rgba(91, 45, 142, 0.86);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
}
.reel-sound-btn svg { width: 14px; height: 14px; color: var(--oro); }

.hero-bottom-content {
  display: grid;
  gap: 10px;
  max-width: 600px;
  margin-top: auto;
  padding-top: 110px;
}
@media (min-width: 920px) {
  .hero-bottom-content { gap: 14px; padding-top: 60px; }
}

.hero-seo-h1 {
  font-family: var(--font-body);
  font-size: clamp(0.92rem, 2.2vw, 1.12rem);
  font-weight: 800;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.94);
}

/* Tira rápida 2 columnas bajo el vídeo */
.quick-strip-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}
@media (min-width: 920px) {
  .quick-strip-2col { grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
}
.quick-pill {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--surface);
  border: 1.5px solid var(--line);
  text-decoration: none;
  color: var(--ink);
}
.quick-pill b {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.05;
  color: var(--morado);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
html[data-theme="dark"] .quick-pill b { color: var(--oro); }
.quick-pill span {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink-soft);
  line-height: 1.2;
}
@media (min-width: 920px) {
  .quick-pill {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
  }
  .quick-pill span { text-align: right; }
}

/* ==========================================================================
   SECCIONES Y BANDAS VOLCÁNICAS
   ========================================================================== */
.sec {
  padding-block: 26px;
}
@media (min-width: 920px) {
  .sec { padding-block: 56px; }
}
.sec-lilac { background: var(--bg-lilac); }
.sec-cream { background: var(--bg-cream); }
.sec-purple {
  background: var(--morado);
  background-image: var(--lava-pattern);
  color: #FFFFFF;
}
.sec-gold {
  background: #F7BD2D;
  background-image: radial-gradient(90% 80% at 85% 15%, rgba(255, 232, 150, 0.55) 0%, transparent 60%);
  color: #2B1448;
}

.deferred-sec {
  content-visibility: auto;
  contain-intrinsic-size: auto 540px;
}

.sec-head {
  display: grid;
  gap: 4px;
  margin-bottom: 12px;
}
@media (min-width: 920px) {
  .sec-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
  }
}

/* ==========================================================================
   LOS 4 MUNDOS TAKA (Tarjetas fotográficas 2x2 sin muros de texto)
   ========================================================================== */
.worlds-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
@media (min-width: 920px) {
  .worlds-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }
}

.world-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 3 / 3.6;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 10px;
  text-decoration: none;
  color: #FFFFFF;
  background: #2B1448;
  isolation: isolate;
  box-shadow: 0 8px 22px rgba(43, 20, 72, 0.14);
  transition: transform 180ms var(--ease-out);
}
@media (min-width: 920px) {
  .world-card { aspect-ratio: 3 / 3.9; padding: 16px; border-radius: 22px; }
}
.world-card:hover { transform: translateY(-4px); }
.world-card:active { transform: scale(0.98); }

.world-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 280ms var(--ease-out);
}
.world-card:hover img { transform: scale(1.04); }

.world-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(22, 8, 38, 0.12) 0%, rgba(22, 8, 38, 0.22) 42%, rgba(22, 8, 38, 0.92) 100%);
}

.world-price {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.world-price.is-pink { background: var(--rosa); color: #FFFFFF; }
.world-price.is-gold { background: var(--oro); color: #2B1448; }
.world-price.is-purple { background: var(--morado); color: #FFFFFF; border: 1px solid rgba(255,255,255,0.28); }
.world-price.is-mint { background: #199E52; color: #FFFFFF; }

.world-foot strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.12rem, 2.2vw, 1.42rem);
  font-weight: 800;
  line-height: 1.05;
  color: #FFFFFF;
}
.world-foot span {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.88);
}

/* ==========================================================================
   CARRUSEL DE REELS REALES (@takafunpark) · Media-First en móvil
   ========================================================================== */
.exp-layout { display: grid; }

.filter-bar {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  margin-inline: calc(var(--gutter) * -1);
  padding: 2px var(--gutter) 4px;
  scrollbar-width: none;
}
.filter-bar::-webkit-scrollbar { display: none; }

.filter-chip {
  flex: none;
  min-height: 42px;
  padding: 0 14px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-weight: 800;
  font-size: 13.5px;
  cursor: pointer;
}
.filter-chip.is-active,
.filter-chip[aria-pressed="true"] {
  background: var(--rosa);
  border-color: var(--rosa);
  color: #FFFFFF;
}

.exp-grid {
  order: -1;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 44%;
  gap: 10px;
  overflow-x: auto;
  margin-inline: calc(var(--gutter) * -1);
  margin-bottom: 12px;
  padding: 2px var(--gutter) 6px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}
.exp-grid::-webkit-scrollbar { display: none; }

@media (min-width: 768px) {
  .exp-grid {
    order: 0;
    grid-auto-flow: row;
    grid-auto-columns: unset;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    overflow-x: visible;
    margin-inline: 0;
    margin-top: 14px;
    margin-bottom: 0;
    padding: 0;
  }
}

.exp-card {
  scroll-snap-align: start;
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 9 / 14;
  padding: 0;
  border: 0;
  background: #240D3F;
  cursor: pointer;
  text-align: left;
  isolation: isolate;
  box-shadow: 0 8px 20px rgba(43, 20, 72, 0.15);
  transition: transform 170ms var(--ease-out);
}
.exp-card:hover { transform: translateY(-3px); }
.exp-card:active { transform: scale(0.98); }

.exp-media {
  position: absolute;
  inset: 0;
}
.exp-media img,
.exp-card video.reel-preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.exp-card video.reel-preview {
  opacity: 0;
  transition: opacity 240ms ease;
  pointer-events: none;
}
.exp-card.is-previewing video.reel-preview { opacity: 1; }

.exp-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 6, 32, 0.20) 0%, transparent 40%, rgba(18, 6, 32, 0.88) 100%);
}

.exp-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 9px;
  border-radius: var(--r-pill);
  background: rgba(24, 8, 42, 0.78);
  backdrop-filter: blur(6px);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
}
.exp-badge svg { width: 12px; height: 12px; color: var(--oro); }

.exp-caption {
  position: absolute;
  inset: auto 10px 10px 10px;
  z-index: 2;
}
.exp-caption strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.08;
  color: #FFFFFF;
}
.exp-caption span {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--oro);
  margin-top: 1px;
}

/* ==========================================================================
   BLOQUE CUMPLEAÑOS MORADO OFICIAL (Inspirado en POST 33 y POST 251)
   ========================================================================== */
.split-banner {
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--morado);
  background-image: var(--lava-pattern);
  color: #FFFFFF;
  box-shadow: 0 14px 36px rgba(67, 27, 112, 0.22);
  display: grid;
}
@media (min-width: 920px) {
  .split-banner { grid-template-columns: 1.02fr 0.98fr; align-items: stretch; }
}

.split-media-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 10px 10px 0;
}
@media (min-width: 920px) {
  .split-media-pair { padding: 16px 0 16px 16px; gap: 10px; }
}

.media-btn {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 11;
  padding: 0;
  border: 0;
  background: #240D3F;
  cursor: pointer;
}
@media (min-width: 920px) {
  .split-banner .media-btn { aspect-ratio: auto; height: 100%; min-height: 300px; }
}

.subpage-hero-grid {
  display: grid;
  gap: 12px;
}
@media (min-width: 920px) {
  .subpage-hero-grid {
    grid-template-columns: 1fr 1.05fr;
    gap: 36px;
    align-items: center;
  }
  .subpage-hero-grid .split-media-pair {
    order: 2;
    padding: 0;
  }
  .subpage-hero-grid .media-btn {
    aspect-ratio: 4 / 3.4;
  }
}
.media-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms var(--ease-out);
}
.media-btn:hover img { transform: scale(1.04); }

.media-pill {
  position: absolute;
  left: 8px;
  bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 9px;
  border-radius: var(--r-pill);
  background: rgba(20, 7, 36, 0.80);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
}
.media-pill svg { width: 12px; height: 12px; color: var(--oro); }

.split-body {
  padding: 16px 14px 18px;
  display: grid;
  gap: 10px;
  align-content: center;
}
@media (min-width: 920px) {
  .split-body { padding: 34px 36px; gap: 14px; }
}

.mini-rates-2x2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}
.rate-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 9px 11px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
  text-decoration: none;
}
.rate-pill.is-top {
  background: rgba(247, 189, 45, 0.20);
  border-color: var(--oro);
}
.rate-pill span {
  font-size: 12.5px;
  font-weight: 800;
}
.rate-pill b {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--oro);
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   COLLAGE ZIELO ENRASADO (0 huecos en 390px y 1366px)
   ========================================================================== */
.zielo-showcase {
  display: grid;
  gap: 14px;
}
@media (min-width: 920px) {
  .zielo-showcase {
    grid-template-columns: 1.08fr 0.92fr;
    gap: 36px;
    align-items: center;
  }
}

.zielo-collage {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 8px;
}
.zielo-main {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  height: 100%;
  min-height: 184px;
  padding: 0;
  border: 0;
  cursor: pointer;
}
.zielo-stack {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
}
.zielo-sub {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  padding: 0;
  border: 0;
  cursor: pointer;
}
.zielo-main img,
.zielo-sub img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.zielo-perks-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.zielo-perk {
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--surface);
  border: 1.5px solid var(--line);
}
.sec-purple .zielo-perk {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.18);
}
.zielo-perk b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.08rem;
  line-height: 1.1;
  color: var(--morado);
}
.sec-purple .zielo-perk b,
html[data-theme="dark"] .zielo-perk b { color: var(--oro); }
.zielo-perk span {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-soft);
}
.sec-purple .zielo-perk span { color: rgba(255, 255, 255, 0.85); }

/* ==========================================================================
   MAPA ILUSTRADO + 4 STICKERS OFICIALES TAKA (Sobre Oro Lava #F7BD2D)
   ========================================================================== */
.gold-stickers-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}
@media (min-width: 920px) {
  .gold-stickers-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
}

.sticker-tile {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 11px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  color: #2B1448;
  box-shadow: 0 6px 16px rgba(67, 27, 112, 0.10);
}
.sticker-tile img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  flex-shrink: 0;
}
.sticker-tile b {
  display: block;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.06;
  color: #431B70;
}
.sticker-tile span {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.2;
  color: #5C407D;
}

/* ==========================================================================
   ACORDEONES <details> LIMPIOS (Para normas, menús y contenido SEO local)
   ========================================================================== */
.details-group {
  display: grid;
  gap: 8px;
}

.taka-details {
  border-radius: 14px;
  background: var(--surface);
  border: 1.5px solid var(--line);
  overflow: hidden;
  color: var(--ink);
}
.on-purple .taka-details {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.20);
  color: #FFFFFF;
}

.taka-details summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 46px;
  padding: 10px 14px;
  font-weight: 800;
  font-size: 14px;
  line-height: 1.25;
  cursor: pointer;
  user-select: none;
}
.taka-details summary::-webkit-details-marker { display: none; }

.chev {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--rosa);
  transition: transform 180ms var(--ease-out);
}
.on-purple .chev { color: var(--oro); }
.taka-details[open] .chev { transform: rotate(180deg); }

.details-content {
  padding: 4px 14px 14px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
}
.on-purple .details-content {
  color: rgba(255, 255, 255, 0.88);
  border-top-color: rgba(255, 255, 255, 0.16);
}
.details-content p + p { margin-top: 8px; }
.details-content ul {
  margin: 6px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 5px;
}
.details-content a {
  color: var(--rosa);
  font-weight: 800;
}
.on-purple .details-content a { color: var(--oro); }

/* ==========================================================================
   SUBPÁGINAS SEO DEDICADAS (/cumples/, /eventos/, /zielo/, /excursiones/)
   ========================================================================== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--ink-soft);
}
.breadcrumb a { color: var(--morado); text-decoration: none; }
html[data-theme="dark"] .breadcrumb a,
.on-purple .breadcrumb a { color: var(--oro); }
.on-purple .breadcrumb { color: rgba(255, 255, 255, 0.78); }

/* Packs de Cumpleaños auténticos TAKA (POST 251 en rejilla 2x2 móvil / 4 PC) */
.packs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
@media (min-width: 960px) {
  .packs-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
}

.pack-card {
  position: relative;
  border-radius: 20px;
  padding: 14px 12px;
  background: var(--surface);
  border: 2px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  box-shadow: 0 8px 22px rgba(91, 45, 142, 0.08);
}
@media (min-width: 960px) {
  .pack-card { padding: 22px 20px; gap: 12px; }
}
.pack-card.is-comfort {
  border-color: var(--rosa);
  background: linear-gradient(170deg, var(--surface) 55%, rgba(217, 22, 111, 0.08) 100%);
  box-shadow: 0 12px 28px rgba(217, 22, 111, 0.16);
}
.pack-badge {
  align-self: flex-start;
  padding: 3px 9px;
  border-radius: var(--r-pill);
  background: var(--oro);
  color: #2B1448;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
}
.pack-name {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 800;
  line-height: 1.05;
  color: var(--morado);
}
.pack-card.is-comfort .pack-name { color: var(--rosa); }
html[data-theme="dark"] .pack-name { color: #FFFFFF; }

.pack-prices {
  background: var(--bg-cream);
  border-radius: 12px;
  padding: 8px 10px;
  display: grid;
  gap: 4px;
  font-variant-numeric: tabular-nums;
}
.pack-price-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink-soft);
}
.pack-price-line b {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--ink);
}
.pack-card.is-comfort .pack-price-line b { color: var(--rosa); }

.pack-perk-short {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink-soft);
}

/* Contenedor oficial del calendario FourVenues en /eventos/ */
.fv-cumple-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  margin-bottom: 14px;
  border-radius: 16px;
  background: var(--oro);
  color: #2B1448;
  border: 2px solid #431B70;
}
.fv-cumple-strip strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.15;
}
.fv-calendar-shell {
  color-scheme: light;
  background: #FFFFFF;
  color: #2B1448;
  border: 2px solid rgba(91, 45, 142, 0.16);
  border-radius: 22px;
  padding: 14px 12px;
  min-height: 460px;
  box-shadow: 0 12px 32px rgba(67, 27, 112, 0.10);
}
@media (min-width: 768px) {
  .fv-calendar-shell { padding: 24px; }
}
.fv-calendar-shell #fourvenues-iframe {
  width: 100%;
  min-height: 420px;
}

/* Badges oficiales 1H / 2H / TB TAKA */
.badges-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.badge-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 10px 8px;
  border-radius: 16px;
  background: var(--surface);
  border: 1.5px solid var(--line);
}
.badge-card img {
  width: 58px;
  height: 58px;
  border-radius: 14px;
}
.badge-card b {
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.05;
}
.badge-card span {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink-soft);
}

/* Formulario Colegios */
.form-grid { display: grid; gap: 10px; margin-top: 8px; }
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.field { display: grid; gap: 4px; }
.field label { font-size: 12.5px; font-weight: 800; color: var(--ink); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 44px;
  padding: 8px 11px;
  border-radius: 11px;
  border: 1.5px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
}
.field textarea { min-height: 68px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--rosa);
  box-shadow: 0 0 0 3px rgba(217, 22, 111, 0.16);
}
.form-feedback {
  padding: 10px 12px;
  border-radius: 11px;
  font-size: 13.5px;
  font-weight: 800;
}
.form-feedback.is-ok { background: #E6F8EE; color: #0F6A36; }
.form-feedback.is-err { background: #FDE8EF; color: #A31246; }

/* ==========================================================================
   PIE DE PÁGINA MORADO OFICIAL TAKA (POST 42 mejorado · Compacto en 2 cols)
   ========================================================================== */
.taka-footer {
  background: var(--footer-bg);
  background-image: var(--lava-pattern);
  color: #FFFFFF;
  padding: 26px 0 88px;
}
@media (min-width: 980px) {
  .taka-footer { padding: 44px 0 44px; }
}

.footer-main-grid {
  display: grid;
  gap: 16px;
}
@media (min-width: 900px) {
  .footer-main-grid {
    grid-template-columns: 320px 1fr;
    gap: 40px;
    align-items: start;
  }
}

/* Tarjeta blanca de Horario de apertura (exacta a la identidad de POST 42) */
.footer-schedule-card {
  background: #FFFFFF;
  color: #2B1448;
  border-radius: 18px;
  padding: 14px 16px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
}
.footer-schedule-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: #5B2D8E;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.footer-schedule-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
  border-bottom: 1px solid #F3EAFA;
  font-size: 13px;
  font-weight: 800;
}
.footer-schedule-row:last-of-type { border-bottom: 0; }
.footer-schedule-row b {
  font-family: var(--font-display);
  font-size: 15px;
  color: #D9166F;
  font-variant-numeric: tabular-nums;
}
.footer-schedule-note {
  margin-top: 4px;
  font-size: 11.5px;
  font-weight: 700;
  color: #6B5088;
}

/* Navegación compacta en rejilla de 2 columnas (sin huecos gigantes) */
.footer-right {
  display: grid;
  gap: 14px;
}
.footer-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.footer-brand-row img.taka-white-logo {
  height: 38px;
  width: auto;
}
.footer-magma-logo {
  height: 20px;
  width: auto;
  opacity: 0.9;
}

.footer-links-2col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 14px;
}
@media (min-width: 720px) {
  .footer-links-2col { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.footer-links-2col a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: rgba(255, 255, 255, 0.90);
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
}
.footer-links-2col a:hover { color: var(--oro); text-decoration: underline; }

.footer-transport {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 800;
  color: var(--oro);
}
.footer-transport span {
  padding: 4px 9px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.10);
}

.footer-legal-bar {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.72);
}
.footer-legal-bar a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-weight: 700;
}
.footer-legal-bar a:hover { color: var(--oro); }

/* ==========================================================================
   BARRA INFERIOR MÓVIL INTELIGENTE (Se oculta al bajar)
   ========================================================================== */
.smart-dock {
  position: fixed;
  inset: auto 10px calc(10px + env(safe-area-inset-bottom)) 10px;
  z-index: 35;
  display: grid;
  grid-template-columns: 1.15fr 1fr 0.9fr 44px;
  gap: 6px;
  align-items: center;
  padding: 6px;
  border-radius: 18px;
  background: rgba(43, 20, 72, 0.94);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 14px 32px rgba(17, 6, 32, 0.42);
}

.dock-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 8px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 800;
  color: #FFFFFF;
  text-decoration: none;
  white-space: nowrap;
}
.dock-btn:active { transform: scale(0.96); }
.dock-btn.is-pink { background: var(--rosa); }
.dock-btn.is-gold { background: rgba(247, 189, 45, 0.18); color: var(--oro); }
.dock-btn.is-wa {
  width: 44px;
  padding: 0;
  background: var(--verde-wa);
  color: #FFFFFF;
}
.dock-btn svg { width: 19px; height: 19px; }

@media (min-width: 980px) {
  .smart-dock { display: none; }
}

/* ==========================================================================
   MODAL <dialog closedby="any"> CON HALO AMBIENTAL (.taka-ev-backdrop)
   ========================================================================== */
.taka-dialog {
  margin: auto;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  background: #160A28;
  color: #FFFFFF;
  width: calc(100vw - 24px);
  max-width: 860px;
  max-height: 90dvh;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.70);
  overscroll-behavior: contain;
  opacity: 1;
  transform: scale(1);
  transition: opacity 190ms var(--ease-out), transform 190ms var(--ease-out), overlay 190ms allow-discrete, display 190ms allow-discrete;
}
.taka-dialog:not([open]) { opacity: 0; transform: scale(0.96); }
@starting-style {
  .taka-dialog[open] { opacity: 0; transform: scale(0.96); }
}
.taka-dialog::backdrop {
  background: rgba(12, 5, 22, 0.78);
  backdrop-filter: blur(8px);
}

.dialog-shell {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-height: 88dvh;
  overflow: hidden;
}
.taka-ev-backdrop {
  position: absolute;
  inset: -32px;
  background-size: cover;
  background-position: center;
  filter: blur(44px) saturate(1.4);
  opacity: 0.36;
  pointer-events: none;
  z-index: 0;
}
.dialog-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(22, 10, 40, 0.78);
}
.dialog-meta { min-width: 0; }
.dialog-meta strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dialog-meta span { display: block; font-size: 12px; color: var(--oro); font-weight: 700; }

.dialog-close {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.10);
  color: #FFFFFF;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
}
.dialog-stage {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  place-items: center;
  padding: 12px;
  overflow: auto;
}
.dialog-stage video,
.dialog-stage img {
  max-height: min(64dvh, 640px);
  width: auto;
  max-width: 100%;
  border-radius: 14px;
  object-fit: contain;
}
.dialog-foot {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(22, 10, 40, 0.88);
}
.dialog-nav { display: inline-flex; gap: 8px; }
.dialog-nav button {
  min-height: 42px;
  padding: 0 13px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.10);
  color: #FFFFFF;
  font-weight: 800;
  cursor: pointer;
}

/* Generador de Invitaciones en /cumples/ y modal */
.invite-grid {
  display: grid;
  gap: 14px;
  padding: 14px;
}
@media (min-width: 720px) {
  .invite-grid { grid-template-columns: 1fr 270px; align-items: start; }
}
.invite-preview {
  display: grid;
  place-items: center;
  background: var(--bg-lilac);
  border-radius: 14px;
  padding: 10px;
}
.invite-preview canvas {
  width: 100%;
  max-width: 250px;
  height: auto;
  border-radius: 10px;
}
