@font-face {
  font-family: 'Airbnb Cereal';
  src: url('../fonts/airbnb/AirbnbCereal_W_Bk.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Airbnb Cereal';
  src: url('../fonts/airbnb/AirbnbCereal_W_Bd.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'Airbnb Cereal';
  src: url('../fonts/airbnb/AirbnbCereal_W_XBd.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
}
@font-face {
  font-family: 'Airbnb Cereal';
  src: url('../fonts/airbnb/AirbnbCereal_W_Blk.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
}
@font-face {
  font-family: 'Aloevera';
  src: url('../fonts/aloevera/Aloevera-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Aloevera';
  src: url('../fonts/aloevera/Aloevera-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'Aloevera';
  src: url('../fonts/aloevera/Aloevera-Black.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
}
:root {
      --bg: #050406;
      /* --panel: rgba(18, 10, 22, 0.82); --- PANEL ORIGINAL --- */
      --panel: rgba(18, 10, 22, 0.65);
      --gold: #e9bd5b;
      --gold-soft: #fff0ad;
      --purple: #7147c7;
      --red: #aa2444;
      --red-soft: #d34869;
      --green: #173b31;
      --text: #fff7e8;
      --muted: #d7c5b0;
      --line: rgba(233, 189, 91, 0.28);
      --shadow: 0 30px 100px rgba(0, 0, 0, 0.55);
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }

    body {
      font-family: 'Aloevera', Georgia, 'Times New Roman', serif;
      /* --- FONDO ORIGINAL (comentado para revertir) ---
      background:
        radial-gradient(circle at 8% 0%, rgba(113, 71, 199, 0.30), transparent 30%),
        radial-gradient(circle at 92% 4%, rgba(170, 36, 68, 0.24), transparent 32%),
        linear-gradient(180deg, #0b0610 0%, #050406 45%, #030304 100%);
      --- FIN FONDO ORIGINAL --- */
      /* --- FONDO COMPLETO (comentado para revertir) ---
      background: url('../img/fondos/fondo_completo.jpeg') center top / 100% repeat-y;
      --- FIN FONDO COMPLETO --- */
      background: url('../img/fondos/loop.jpeg') center top / 100% repeat-y;
      background-color: #030304;
      color: var(--text);
      line-height: 1.64;
    }

    body::before {
      content: "";
      position: fixed;
      inset: 0;
      pointer-events: none;
      background:
        linear-gradient(rgba(255,255,255,0.026) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
      background-size: 46px 46px;
      mask-image: linear-gradient(to bottom, rgba(0,0,0,0.65), transparent 76%);
      z-index: 0;
    }

    a { color: inherit; text-decoration: none; }
    button { font: inherit; }
    .site { position: relative; z-index: 1; overflow: hidden; }

    .nav {
      position: sticky;
      top: 0;
      z-index: 20;
      backdrop-filter: blur(16px);
      background: rgba(5, 4, 6, 0.76);
      border-bottom: 1px solid rgba(233, 189, 91, 0.16);
    }

    .nav-inner {
      max-width: 1220px;
      margin: 0 auto;
      padding: 16px 22px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
    }

    .brand {
      display: flex;
      align-items: center;
    }

    .brand img {
      height: 36px;
      width: auto;
      display: block;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 22px;
      font: 700 14px 'Airbnb Cereal', Arial, Helvetica, sans-serif;
      color: var(--muted);
    }

    .nav-links a:hover { color: var(--gold-soft); }

    .nav-cta {
      padding: 9px 16px;
      border-radius: 999px;
      border: 1px solid var(--line);
      background: rgba(233, 189, 91, 0.08);
      color: var(--gold-soft);
    }

    .hero {
      min-height: calc(100vh - 62px);
      display: flex;
      align-items: center;
      padding: 78px 22px 98px;
      position: relative;
      /* background: url('../img/fondos/1.jpeg') center/cover no-repeat; --- HERO BG ORIGINAL, ahora hereda del body --- */
    }

    .hero::after {
      content: "";
      position: absolute;
      left: 50%;
      bottom: -210px;
      width: 980px;
      height: 520px;
      transform: translateX(-50%);
      background: radial-gradient(circle, rgba(113, 71, 199, 0.25), transparent 66%);
      pointer-events: none;
    }

    .hero-inner {
      width: 100%;
      max-width: 1220px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 0.92fr 1.08fr;
      gap: 58px;
      align-items: center;
    }

    .pill {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 24px;
      padding: 9px 30px;
      border-radius: 999px;
      border: 1px solid var(--line);
      background: rgba(0, 0, 0, 0.32);
      color: var(--gold-soft);
      font: 800 16px 'Airbnb Cereal', Arial, Helvetica, sans-serif;
      letter-spacing: 0.09em;
      text-transform: uppercase;
    }

    .pill span {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: var(--gold);
      box-shadow: 0 0 18px rgba(233, 189, 91, 0.92);
    }

    h1 {
      font-size: clamp(62px, 10vw, 132px);
      line-height: 0.82;
      letter-spacing: -0.075em;
      text-transform: uppercase;
      font-weight: 950;
      margin-bottom: 26px;
      text-shadow: 0 18px 65px rgba(0,0,0,0.70);
    }

    .title-gradient {
      background: linear-gradient(180deg, #fff4bf 0%, #e9bd5b 34%, #d34869 72%, #7147c7 100%);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }

    .headline {
      max-width: 680px;
      font-size: clamp(24px, 3vw, 38px);
      line-height: 1.12;
      font-weight: 900;
      color: #fff9ef;
      margin-bottom: 22px;
    }

    .lead {
      max-width: 720px;
      color: var(--muted);
      font-size: 18px;
      margin-bottom: 22px;
      letter-spacing: 1.5px;
    }

    .signature {
      display: inline-block;
      margin: 4px 0 34px;
      color: var(--gold-soft);
      font-size: clamp(25px, 3vw, 36px);
      font-weight: 900;
      text-shadow: 0 0 30px rgba(233, 189, 91, 0.32);
    }

    .actions a:hover { transform: scale(1.03); }
    .actions {
      display: flex;
      flex-wrap: wrap;
      gap: 14px;
      align-items: center;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 54px;
      padding: 0 24px;
      border-radius: 18px;
      font: 900 15px 'Airbnb Cereal', Arial, Helvetica, sans-serif;
      transition: transform .2s ease, background .2s ease, border .2s ease;
      cursor: pointer;
      border: 0;
    }

    .btn-primary {
      color: #19070c;
      background: linear-gradient(135deg, #fff0ad, #e9bd5b 45%, #b66b23);
      box-shadow: 0 18px 48px rgba(233, 189, 91, 0.24);
    }

    .btn-primary:hover { transform: translateY(-2px); }

    .btn-secondary {
      border: 1px solid rgba(255,255,255,0.25);
      color: var(--text);
      background: rgba(255,255,255,0.045);
    }

    .btn-secondary:hover {
      transform: translateY(-2px);
      border-color: rgba(233, 189, 91, 0.56);
      background: rgba(233, 189, 91, 0.08);
    }

    .hero-art { position: relative; }

    .hero-art::before {
      content: "";
      position: absolute;
      inset: -30px;
      background:
        radial-gradient(circle at 50% 40%, rgba(233,189,91,0.26), transparent 34%),
        radial-gradient(circle at 42% 72%, rgba(211,72,105,0.34), transparent 42%),
        radial-gradient(circle at 72% 18%, rgba(113,71,199,0.40), transparent 46%);
      filter: blur(18px);
      z-index: -1;
    }

    .poster {
      min-height: 560px;
      border-radius: 34px;
      border: 1px solid rgba(233, 189, 91, 0.35);
      background:
        radial-gradient(circle at 50% 18%, rgba(255,240,173,0.25), transparent 16%),
        radial-gradient(circle at 42% 50%, rgba(113,71,199,0.34), transparent 36%),
        radial-gradient(circle at 72% 62%, rgba(211,72,105,0.28), transparent 32%),
        linear-gradient(145deg, #1a0d28 0%, #07050a 55%, #1b0710 100%);
      box-shadow: var(--shadow);
      overflow: hidden;
      position: relative;
      display: grid;
      place-items: center;
      padding: 34px;
    }

    .poster::before, .poster::after {
      content: "";
      position: absolute;
      border: 1px solid rgba(233,189,91,0.25);
      transform: rotate(45deg);
      pointer-events: none;
    }

    .poster::before { width: 440px; height: 440px; }
    .poster::after { width: 260px; height: 260px; border-color: rgba(255,240,173,0.42); }

    .book-stack {
      position: relative;
      width: min(100%, 560px);
      height: 420px;
      display: flex;
      align-items: end;
      justify-content: center;
      gap: 0;
      z-index: 2;
    }

    .fake-book {
      width: 30%;
      min-width: 122px;
      height: 360px;
      border-radius: 10px 16px 16px 10px;
      border: 1px solid rgba(255,240,173,0.34);
      box-shadow: 0 25px 60px rgba(0,0,0,0.42);
      padding: 28px 15px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      text-align: center;
      position: relative;
      overflow: hidden;
      transform-origin: bottom;
    }

    .fake-book::before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(110deg, rgba(255,255,255,0.13), transparent 32%, rgba(0,0,0,0.28));
      pointer-events: none;
    }

    .fake-book.left {
      height: 330px;
      transform: rotate(-5deg) translateX(24px);
      background: url('../img/1.jpg') center/contain no-repeat;
      z-index: 1;
    }

    .fake-book.center {
      height: 410px;
      width: 36%;
      background: url('../img/3.jpeg') center/contain no-repeat;
      z-index: 3;
    }

    .fake-book.right {
      height: 330px;
      transform: rotate(5deg) translateX(-24px);
      background: url('../img/2.jpg') center/contain no-repeat;
      z-index: 1;
    }

    .book-author {
      font: 700 10px 'Airbnb Cereal', Arial, Helvetica, sans-serif;
      letter-spacing: 0.16em;
      color: rgba(255,248,236,0.82);
      text-transform: uppercase;
    }

    .book-logo {
      color: var(--gold-soft);
      font-size: clamp(29px, 4vw, 52px);
      line-height: 0.86;
      font-weight: 950;
      letter-spacing: -0.05em;
      text-transform: uppercase;
      text-shadow: 0 8px 24px rgba(0,0,0,0.42);
    }

    .book-sub {
      font: 900 10px 'Airbnb Cereal', Arial, Helvetica, sans-serif;
      letter-spacing: 0.12em;
      color: var(--gold);
      text-transform: uppercase;
    }

    .section { padding: 88px 22px; position: relative; }

    .section-alt {
      /* --- SECTION-ALT FONDO ORIGINAL (comentado para revertir) ---
      background: linear-gradient(180deg, rgba(16,8,20,0.88), rgba(5,4,6,0.96));
      --- FIN SECTION-ALT ORIGINAL --- */
      background: transparent;
      border-top: 1px solid rgba(233, 189, 91, 0.12);
      border-bottom: 1px solid rgba(233, 189, 91, 0.12);
    }

    .container { max-width: 1140px; margin: 0 auto; }

    .section-kicker {
      color: var(--gold);
      text-transform: uppercase;
      letter-spacing: 0.28em;
      font: 900 18px 'Airbnb Cereal', Arial, Helvetica, sans-serif;
      margin-bottom: 16px;
    }

    h2 {
      /* --- H2 ORIGINAL (comentado para revertir) ---
      font-size: clamp(36px, 5vw, 64px);
      line-height: 1.02;
      letter-spacing: -0.045em;
      --- FIN H2 ORIGINAL --- */
      font-size: clamp(24px, 3vw, 38px);
      line-height: 1.12;
      font-weight: 900;
      color: #fff9ef;
      margin-bottom: 24px;
    }

    .section-copy { color: var(--muted); max-width: 890px; font-size: 18px; letter-spacing: 1.5px; line-height: 1.64; }
    .section-copy + .section-copy { margin-top: 20px; }

    .story-panel {
      border: 1px solid var(--line);
      border-radius: 34px;
      /* --- STORY-PANEL FONDO ORIGINAL (comentado para revertir) ---
      background:
        linear-gradient(135deg, rgba(233,189,91,0.08), transparent 28%),
        linear-gradient(180deg, rgba(20,10,22,0.88), rgba(5,4,7,0.92));
      --- FIN STORY-PANEL ORIGINAL --- */
      background: rgba(10, 5, 12, 0.65);
      box-shadow: var(--shadow);
      padding: clamp(30px, 5vw, 58px);
    }

    .story-grid {
      display: grid;
      grid-template-columns: 1.04fr 0.96fr;
      gap: 36px;
      align-items: center;
    }

    .visual {
      /* min-height: 360px; --- ORIGINAL --- */
      min-height: 0;
      aspect-ratio: 16 / 9;
      border-radius: 30px;
      border: 1px solid rgba(233, 189, 91, 0.30);
      box-shadow: 0 24px 70px rgba(0,0,0,0.35);
      overflow: hidden;
      position: relative;
      background: linear-gradient(145deg, #160b20, #09060a);
    }

    .visual-vertical {
      /* min-height: 360px; --- ORIGINAL --- */
      min-height: 0;
      aspect-ratio: 9 / 16;
      border-radius: 30px;
      border: 1px solid rgba(233, 189, 91, 0.30);
      box-shadow: 0 24px 70px rgba(0,0,0,0.35);
      overflow: hidden;
      position: relative;
      background: linear-gradient(145deg, #160b20, #09060a);
    }

    .visual::before {
      content: "";
      position: absolute;
      inset: 0;
      background: var(--visual-bg);
      opacity: 0.98;
    }

    .visual::after {
      content: attr(data-label);
      position: absolute;
      left: 24px;
      right: 24px;
      bottom: 22px;
      color: rgba(255,248,236,0.88);
      font: 900 13px 'Airbnb Cereal', Arial, Helvetica, sans-serif;
      text-transform: uppercase;
      letter-spacing: 0.15em;
      z-index: 2;
    }

    .visual-vertical::before {
      content: "";
      position: absolute;
      inset: 0;
      background: var(--visual-bg);
      opacity: 0.98;
    }

    .visual-vertical::after {
      content: attr(data-label);
      position: absolute;
      left: 24px;
      right: 24px;
      bottom: 22px;
      color: rgba(255,248,236,0.88);
      font: 900 13px 'Airbnb Cereal', Arial, Helvetica, sans-serif;
      text-transform: uppercase;
      letter-spacing: 0.15em;
      z-index: 2;
    }

    .visual-selva { --visual-bg: url('../img/selva.jpg') center/cover no-repeat; }
    .visual-boox { --visual-bg: url('../img/personajes/a.jpeg') center/contain no-repeat; }
    .visual-saiya { --visual-bg: url('../img/personajes/b.jpeg') center/contain no-repeat; }
    .visual-ajbeh { --visual-bg: url('../img/personajes/c.jpeg') center/contain no-repeat; }
    .visual-mayab { --visual-bg: radial-gradient(circle at 18% 22%, rgba(233,189,91,0.34), transparent 14%), radial-gradient(circle at 75% 72%, rgba(23,59,49,0.78), transparent 36%), linear-gradient(160deg, #050806, #173b31 48%, #080506); }

    .grid-3 {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
      margin-top: 36px;
      align-items: stretch;
    }

    .grid-2 {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 24px;
      margin-top: 36px;
    }

    .feature, .book, .world-card, .faq-wrap {
      border: 1px solid rgba(233, 189, 91, 0.22);
      background: var(--panel);
      border-radius: 28px;
      padding: 28px;
      box-shadow: 0 20px 55px rgba(0,0,0,0.24);
    }

    .feature strong, .world-card strong {
      display: block;
      color: var(--gold-soft);
      font-size: 22px;
      line-height: 1.15;
      margin-bottom: 12px;
    }

    .feature p, .world-card p, .book p { color: var(--muted); font-size: 18px; letter-spacing: 1.5px; line-height: 1.64; }

    .book {
      min-height: 760px;
      display: flex;
      flex-direction: column;
      position: relative;
      overflow: hidden;
    }

    .book-cover {
      height: 360px;
      border-radius: 22px;
      border: 1px solid rgba(233, 189, 91, 0.25);
      margin-bottom: 24px;
      position: relative;
      overflow: hidden;
      background: var(--cover-bg);
      flex-shrink: 0;
    }

    .book-cover::after {
      content: attr(data-label);
      position: absolute;
      left: 18px;
      right: 18px;
      bottom: 16px;
      color: rgba(255,248,236,0.88);
      font: 900 12px 'Airbnb Cereal', Arial, Helvetica, sans-serif;
      text-transform: uppercase;
      letter-spacing: 0.12em;
    }

    .cover-one { --cover-bg: url('../img/1.jpg') center/contain no-repeat; }
    .cover-two { --cover-bg: url('../img/2.jpg') center/contain no-repeat; }
    .cover-three { --cover-bg: url('../img/3.jpeg') center/contain no-repeat; }

    .book-number {
      color: var(--gold);
      letter-spacing: 0.22em;
      text-transform: uppercase;
      font: 900 12px 'Airbnb Cereal', Arial, Helvetica, sans-serif;
      margin-bottom: 15px;
    }

    .book h3 { font-size: clamp(22px, 2.5vw, 30px); line-height: 1.12; margin-bottom: 10px; color: #fff9ef; font-weight: 900; }
    .book-subtitle { color: var(--gold-soft); font-style: italic; margin-bottom: 20px; }
    .book-hidden { margin-top: 14px; }
    .book-hidden[hidden] { display: none !important; }

    .book-buttons {
      margin-top: auto;
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
      padding-top: 24px;
    }

    .character {
      display: grid;
      grid-template-columns: 0.92fr 1.08fr;
      gap: 36px;
      align-items: center;
    }

    .character-flipped {
      grid-template-columns: 1.08fr 0.92fr;
    }

    .characters-intro {
      max-width: 900px;
      margin: 0 auto 42px;
      text-align: center;
    }

    .characters-intro .section-copy {
      margin-left: auto;
      margin-right: auto;
    }

    .character-block + .character-block {
      margin-top: 76px;
    }

    .world-card {
      min-height: 360px;
      position: relative;
      overflow: hidden;
      display: flex;
      flex-direction: column;
    }

    .creature-image {
      /* height: 200px; --- ORIGINAL --- */
      aspect-ratio: 16 / 9;
      border-radius: 20px;
      border: 1px solid rgba(233,189,91,0.24);
      margin-bottom: 20px;
      background: var(--creature-bg);
      position: relative;
      overflow: hidden;
      flex-shrink: 0;
    }

    .creature-image::after {
      content: attr(data-label);
      position: absolute;
      left: 16px;
      right: 16px;
      bottom: 14px;
      color: rgba(255,248,236,0.88);
      font: 900 11px 'Airbnb Cereal', Arial, Helvetica, sans-serif;
      text-transform: uppercase;
      letter-spacing: 0.12em;
    }

    .ahpul { --creature-bg: url('../img/personajes/d.jpeg') center/contain no-repeat; }
    .waay { --creature-bg: url('../img/personajes/e.jpeg') center/contain no-repeat; }
    .xibalba { --creature-bg: url('../img/personajes/f.jpeg') center/contain no-repeat; }
    .kakasbal { --creature-bg: url('../img/personajes/g.jpeg') center/contain no-repeat; }

    .buy-panel {
      text-align: center;
      max-width: 940px;
      margin: 0 auto;
      border-radius: 36px;
      padding: clamp(36px, 6vw, 66px);
      border: 1px solid rgba(233, 189, 91, 0.35);
      /* --- BUY-PANEL FONDO ORIGINAL (comentado para revertir) ---
      background:
        radial-gradient(circle at 50% 0%, rgba(233,189,91,0.16), transparent 32%),
        linear-gradient(135deg, rgba(39,12,32,0.96), rgba(5,4,7,0.98));
      --- FIN BUY-PANEL ORIGINAL --- */
      background: rgba(10, 5, 12, 0.65);
      box-shadow: var(--shadow);
    }

    .buy-panel p { color: var(--muted); max-width: 740px; margin: 0 auto 30px; font-size: 18px; letter-spacing: 1.5px; }

    .store-row {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 12px;
      margin-top: 20px;
    }

    .store {
      min-height: 48px;
      padding: 0 18px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 999px;
      border: 1px solid rgba(255,255,255,0.18);
      color: var(--text);
      background: rgba(255,255,255,0.05);
      font: 900 14px 'Airbnb Cereal', Arial, Helvetica, sans-serif;
    }

    .store:hover { border-color: rgba(233,189,91,0.5); background: rgba(233,189,91,0.09); }

    .faq-wrap { padding: 26px; margin-top: 28px; }

    details {
      border: 1px solid rgba(233,189,91,0.18);
      border-radius: 22px;
      background: rgba(0,0,0,0.24);
      padding: 20px 22px;
    }

    details + details { margin-top: 14px; }

    summary { cursor: pointer; color: var(--gold-soft); font-size: 19px; font-weight: 900; }
    details p { color: var(--muted); margin-top: 12px; }

    footer {
      padding: 34px 22px;
      text-align: center;
      color: rgba(216,197,176,0.70);
      border-top: 1px solid rgba(233,189,91,0.12);
      background: rgba(0,0,0,0.46);
      font: 14px 'Airbnb Cereal', Arial, Helvetica, sans-serif;
    }
    
    /* ── Banner CDMX ───────────────────────────── */
.banner-cdmx {
  position: relative;
  width: 100%;
  background: linear-gradient(90deg, #1a0a00 0%, #2d1200 30%, #1f0e00 60%, #1a0a00 100%);
  border-bottom: 1px solid rgba(233, 189, 91, 0.4);
  overflow: hidden;
  z-index: 200;
}

.banner-cdmx-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 100% at 50% 50%, rgba(233, 189, 91, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.banner-cdmx-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 56px;
  position: relative;
}

.banner-cdmx-content {
  display: flex;
  align-items: center;
  gap: 24px;
  flex: 1;
  justify-content: center;
}

.banner-cdmx-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.banner-icon {
  font-size: 1.3rem;
  animation: banner-pulse 3s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes banner-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.12); }
}

.banner-text {
  display: flex;
  align-items: center;
  gap: 14px;
}

.banner-title {
  color: #e9bd5b;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.banner-dates {
  color: rgba(233, 189, 91, 0.55);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.banner-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #e9bd5b;
  color: #1a0a00;
  padding: 9px 22px;
  border-radius: 4px;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  font-weight: 700;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 0 18px rgba(233, 189, 91, 0.25);
  flex-shrink: 0;
}

.banner-cta:hover {
  background: #f5d27a;
  transform: translateY(-1px);
  box-shadow: 0 0 28px rgba(233, 189, 91, 0.45);
}

.banner-cta svg {
  transition: transform 0.2s;
}

.banner-cta:hover svg {
  transform: translateX(3px);
}

.banner-close {
  background: none;
  border: none;
  color: rgba(233, 189, 91, 0.4);
  font-size: 1.3rem;
  cursor: pointer;
  padding: 4px 6px;
  line-height: 1;
  flex-shrink: 0;
  transition: color 0.2s;
}

.banner-close:hover {
  color: #e9bd5b;
}

@media (max-width: 600px) {
  .banner-cdmx-inner {
    padding: 0 14px;
    min-height: 60px;
  }
  .banner-cdmx-content {
    flex-direction: column;
    gap: 8px;
    padding: 10px 0;
  }
  .banner-text {
    flex-direction: column;
    gap: 2px;
    text-align: center;
  }
  .banner-dates {
    display: none;
  }
}

    @media (max-width: 1000px) {
      .hero-inner, .story-grid, .character, .character-flipped, .grid-2 { grid-template-columns: 1fr; }
      .grid-3 { grid-template-columns: 1fr; }
      .hero { padding-top: 50px; }
      .hero-inner > div:first-child {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
      }
      .hero-inner > div:first-child .headline,
      .hero-inner > div:first-child .lead {
        margin-left: auto;
        margin-right: auto;
      }
      .nav-links { display: none; }
      .book { min-height: auto; }
      .poster { min-height: 460px; }
      .character-flipped .visual { order: -1; }
    }

    @media (max-width: 620px) {
      .actions, .store-row, .book-buttons { flex-direction: column; align-items: stretch; }
      .btn, .store { width: 100%; }
      .poster { min-height: 430px; padding: 22px; }
      .book-stack { height: 330px; }
      .fake-book { min-width: 92px; height: 280px; padding: 22px 10px; }
      .fake-book.left, .fake-book.right { height: 250px; }
      .fake-book.center { height: 320px; }
      .book-logo { font-size: 28px; }
      .book-cover { height: 320px; }
      .story-panel, .feature, .book, .world-card, .buy-panel, .faq-wrap { border-radius: 24px; }
    }

    .airbnb-XBd{
      font-family: "Airbnb Cereal" !important;
      font-weight: 800;
      font-size: 38px;
    }

    .airbnb-WBd{
      font-family: 'Airbnb Cereal'; 
      src: url('../fonts/airbnb/AirbnbCereal_W_Bd.otf') format('opentype');
      font-weight: 700; 
      font-style: normal;
    }




/* Font Utility Classes (Añadidas para fácil modificación en HTML) */
.font-title { font-family: 'Airbnb Cereal', Arial, Helvetica, sans-serif !important; }
.font-body { font-family: 'Aloevera', Georgia, 'Times New Roman', serif !important; }





/* Image Buttons */
.hero-actions {
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}
.action-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.img-btn {
  display: inline-block;
  transition: transform 0.2s ease;
}
.img-btn:hover {
  transform: scale(1.03);
}
.img-btn img {
  height: 88px;
  width: auto;
  display: block;
}

.btn-gray {
  background: #3a3a3c !important;
  color: #f2f2f7 !important;
  border: 1px solid #5c5c5e !important;
}
.btn-gray:hover {
  background: #48484a !important;
  border-color: #7c7c7f !important;
}

.hero-actions-full {
  display: flex;
  justify-content: center;
  gap: 48px;
  width: 100%;
  margin-top: 16px;
}
.action-pair {
  display: flex;
  align-items: center;
  gap: 16px;
}

@media (max-width: 900px) {
  .hero-actions-full {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
}


/* ==========================================
   NUEVA SECCIÓN: PRÓXIMOS EVENTOS & SLIDER
   ========================================== */

.events-slider-container {
  position: relative;
  max-width: 1220px;
  margin: 42px auto 0;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.events-slider-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 300%;
}

.event-slide {
  width: 33.333%;
  flex-shrink: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 58px;
  padding: 58px;
  opacity: 0.1;
  transition: opacity 0.5s ease-in-out;
}

.event-slide.active {
  opacity: 1;
}

.event-image-container {
  position: relative;
  border-radius: 28px;
  border: 1px solid rgba(233, 189, 91, 0.45);
  box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 30px rgba(233, 189, 91, 0.15);
  overflow: hidden;
  cursor: pointer;
  height: 75vh;
  min-height: 500px;
  max-height: 800px;
  aspect-ratio: 4 / 5;
  max-width: 100%;
  margin: 0 auto;
  background: #0a0510;
}

.event-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.4s ease;
}

.event-image-container:hover .event-img {
  transform: scale(1.05);
}

.event-overlay {
  position: absolute;
  inset: 0;
  background: rgba(18, 10, 22, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(4px);
}

.event-image-container:hover .event-overlay {
  opacity: 1;
}

.event-overlay-text {
  color: var(--gold-soft);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  padding: 12px 24px;
  border-radius: 12px;
  background: rgba(233, 189, 91, 0.1);
  box-shadow: 0 0 20px rgba(233, 189, 91, 0.2);
  transform: translateY(10px);
  transition: transform 0.3s ease;
}

.event-image-container:hover .event-overlay-text {
  transform: translateY(0);
}

.event-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.event-title {
  font-size: clamp(22px, 2.5vw, 30px);
  line-height: 1.15;
  margin-bottom: 12px;
  color: #fff9ef;
  font-weight: 900;
}

.event-meta-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 22px;
}

.event-meta-row {
  display: flex;
  align-items: center;
  gap: 18px;
}

.event-meta-col-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background: rgba(233, 189, 91, 0.05);
  border: 1px solid rgba(233, 189, 91, 0.18);
  flex-shrink: 0;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.event-meta-row:hover .event-meta-col-icon {
  background: rgba(233, 189, 91, 0.12);
  border-color: rgba(233, 189, 91, 0.45);
}

.event-meta-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.event-meta-col-text {
  font-size: 14px;
  font-weight: 700;
  color: #CCA34B;
  line-height: 1.4;
  letter-spacing: 0.03em;
  text-align: left;
}

.event-desc {
  color: var(--muted);
  font-size: 16px;
  letter-spacing: 1.2px;
  line-height: 1.6;
}

.event-actions {
  margin-top: 28px;
}

/* Título destacado de Próximos Eventos */
.eventos-heading {
  font-size: clamp(42px, 6vw, 80px);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
  background: linear-gradient(180deg, #fff4bf 0%, #e9bd5b 55%, #b66b23 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
  text-transform: uppercase;
}

/* Slider Controls */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(5, 4, 6, 0.6);
  border: 1px solid var(--line);
  color: var(--gold-soft);
  font-size: 32px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s, border-color 0.3s, transform 0.2s;
  backdrop-filter: blur(8px);
}

.slider-arrow:hover {
  background: rgba(233, 189, 91, 0.15);
  border-color: var(--gold);
}

.slider-arrow:active {
  transform: translateY(-50%) scale(0.95);
}

.prev-arrow {
  left: 20px;
}

.next-arrow {
  right: 20px;
}

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.slider-dot:hover {
  background: rgba(233, 189, 91, 0.5);
}

.slider-dot.active {
  background: var(--gold);
  transform: scale(1.2);
  box-shadow: 0 0 10px rgba(233, 189, 91, 0.8);
}

/* ==========================================
   MODAL DE REGISTRO & FORMULARIO
   ========================================== */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 3, 4, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: rgba(18, 10, 22, 0.95);
  border: 1px solid var(--gold);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.8), 0 0 40px rgba(233, 189, 91, 0.15);
  border-radius: 28px;
  width: 100%;
  max-width: 580px;
  padding: 42px;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
}

.modal-content::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('../img/fondos/loop.jpeg') top center/cover no-repeat;
  opacity: 0.25;
  z-index: 0;
  pointer-events: none;
  border-radius: 28px;
}

.modal-close,
.modal-header,
#event-registration-form {
  position: relative;
  z-index: 1;
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: transparent;
  border: 0;
  color: var(--muted);
  font-size: 36px;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.modal-close:hover {
  color: var(--gold-soft);
}

.modal-header {
  margin-bottom: 28px;
  text-align: center;
}

.modal-header h2 {
  font-size: clamp(24px, 3.5vw, 32px);
  margin-bottom: 8px;
  color: #fff9ef;
}

.modal-subtitle {
  color: var(--muted);
  font-size: 15px;
}

/* Formulario */
.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 8px;
  font-weight: 800;
}

.form-input {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(233, 189, 91, 0.2);
  border-radius: 12px;
  padding: 14px 18px;
  color: var(--text);
  font-size: 16px;
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
}

.form-input::placeholder {
  color: rgba(215, 197, 176, 0.4);
}

.form-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 12px rgba(233, 189, 91, 0.25);
}

.readonly-input {
  background: rgba(233, 189, 91, 0.04);
  border-color: rgba(233, 189, 91, 0.15);
  color: var(--gold-soft);
  cursor: not-allowed;
  font-weight: bold;
}

select.form-input {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23e9bd5b' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 44px;
  cursor: pointer;
}

select.form-input option {
  background: #120a16;
  color: var(--text);
  padding: 10px;
}

.checkbox-group {
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  margin-top: 10px;
}

.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
  margin-top: 3px;
  cursor: pointer;
}

.checkbox-group label {
  font-size: 14px;
  color: var(--muted);
  text-transform: none;
  letter-spacing: normal;
  font-weight: normal;
  cursor: pointer;
  line-height: 1.4;
  margin-bottom: 0;
}

/* Captcha */
.captcha-box {
  display: flex;
  align-items: center;
  gap: 16px;
}

#captcha-question {
  font-size: 20px;
  font-weight: 800;
  color: var(--gold-soft);
  background: rgba(0, 0, 0, 0.3);
  padding: 10px 20px;
  border-radius: 12px;
  border: 1px dashed rgba(233, 189, 91, 0.3);
  white-space: nowrap;
}

.captcha-input {
  max-width: 140px;
  text-align: center;
  font-weight: bold;
  font-size: 18px;
}

/* Mensajes de Validación y Estados */
.error-message {
  color: var(--red-soft);
  font-size: 13px;
  margin-top: 6px;
  display: none;
}

.form-input.input-error {
  border-color: var(--red-soft);
  box-shadow: 0 0 8px rgba(170, 36, 68, 0.25);
}

.form-status-msg {
  padding: 14px;
  border-radius: 12px;
  margin-top: 20px;
  display: none;
  font-size: 15px;
  text-align: center;
}

.form-status-msg.success {
  display: block;
  background: rgba(23, 59, 49, 0.4);
  border: 1px solid rgba(40, 167, 69, 0.4);
  color: #a3e2c9;
}

.form-status-msg.error {
  display: block;
  background: rgba(170, 36, 68, 0.15);
  border: 1px solid rgba(170, 36, 68, 0.4);
  color: var(--red-soft);
}

.form-status-msg.loading {
  display: block;
  background: rgba(233, 189, 91, 0.05);
  border: 1px solid rgba(233, 189, 91, 0.2);
  color: var(--gold-soft);
}

.w-full {
  width: 100%;
}

.modal-footer {
  margin-top: 28px;
}

/* Modal Scrollbar */
.modal-content::-webkit-scrollbar {
  width: 8px;
}

.modal-content::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 0 28px 28px 0;
}

.modal-content::-webkit-scrollbar-thumb {
  background: rgba(233, 189, 91, 0.2);
  border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
  background: rgba(233, 189, 91, 0.4);
}

/* Media Queries para Adaptabilidad */
@media (max-width: 900px) {
  .event-slide {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 32px 24px 48px;
    text-align: center; /* Centrar toda la info en móvil */
  }
  .event-image-container {
    height: auto;
    width: 100%;
    max-width: 320px; /* Tamaño ideal centrado */
    aspect-ratio: 4 / 5;
    margin: 0 auto;
  }
  .event-meta-grid {
    align-items: flex-start;
  }
  .event-meta-row {
    max-width: 480px;
    width: 100%;
  }
  .event-actions {
    display: flex;
    justify-content: center; /* Centrar botones */
    width: 100%;
    margin-top: 20px;
  }
  .event-actions .btn {
    width: 100%;
    max-width: 320px; /* Ancho idóneo para celular */
  }
  .slider-arrow {
    width: 42px;
    height: 42px;
    font-size: 26px;
  }
  .prev-arrow { left: 10px; }
  .next-arrow { right: 10px; }
}

@media (max-width: 620px) {
  .modal-content {
    padding: 28px 20px;
    border-radius: 20px;
  }
  .modal-close {
    top: 14px;
    right: 18px;
    font-size: 30px;
  }
  .captcha-box {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .captcha-input {
    max-width: none;
  }
}

/* ==========================================
   CAMPO DE ACOMPAÑANTES
   ========================================== */

.acompanantes-wrapper {
  display: flex;
  align-items: center;
  gap: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(233, 189, 91, 0.2);
  background: rgba(0, 0, 0, 0.4);
  width: fit-content;
}

.acompanantes-btn {
  width: 48px;
  height: 48px;
  border: none;
  background: rgba(233, 189, 91, 0.08);
  color: var(--gold-soft);
  font-size: 22px;
  font-weight: 900;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}

.acompanantes-btn:hover {
  background: rgba(233, 189, 91, 0.2);
  color: var(--gold);
}

.acompanantes-btn:active {
  background: rgba(233, 189, 91, 0.3);
}

.acompanantes-input {
  width: 64px;
  text-align: center;
  font-size: 20px;
  font-weight: 900;
  border: none;
  border-left: 1px solid rgba(233, 189, 91, 0.15);
  border-right: 1px solid rgba(233, 189, 91, 0.15);
  border-radius: 0;
  padding: 10px 4px;
  -moz-appearance: textfield;
  color: var(--gold-soft);
}

.acompanantes-input::-webkit-outer-spin-button,
.acompanantes-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.acompanantes-hint {
  display: block;
  font-size: 12px;
  color: rgba(215, 197, 176, 0.5);
  margin-top: 6px;
  letter-spacing: 0.02em;
}
