/* =============================================================
   JERICÓ ESPECTACULAR — styles.css
   Archetype: Editorial Dark Warm + Cinematic Storytelling
   Palette: Colonial Gold, Deep Red, Mountain Green, Parchment
   ============================================================= */

/* =============================================================
   1. TOKENS
   ============================================================= */
:root {
  --bg:        #0d0a06;
  --bg-2:      #1a1208;
  --bg-3:      #231a0d;
  --parchment: #f5edd8;
  --cream:     #faf5ec;
  --gold:      #c9a84c;
  --gold-2:    #e8c96a;
  --gold-dark: #8a6e2a;
  --red:       #8b1a1a;
  --red-2:     #b02020;
  --green:     #2d5016;
  --green-2:   #3d6b1e;
  --ink:       #faf5ec;
  --ink-soft:  #d4c9ad;
  --ink-mute:  #8a7d62;
  --line:      rgba(201,168,76,0.2);
  --glass:     rgba(201,168,76,0.08);

  --sans: 'Inter', system-ui, sans-serif;
  --serif: 'Playfair Display', Georgia, serif;
  --display: 'Cinzel', 'Playfair Display', Georgia, serif;

  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft:  cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --gutter: clamp(1rem, 4vw, 2rem);
  --max-w: 1320px;
  --radius: 4px;
}

/* =============================================================
   2. RESET & BASE
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1,h2,h3,h4 { text-wrap: balance; line-height: 1.05; letter-spacing: -0.01em; }
::selection { background: var(--gold); color: var(--bg); }
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =============================================================
   3. UTILITIES
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem; background: var(--gold); color: var(--bg);
  z-index: 9999; border-radius: 4px; font-weight: 700;
  transition: top .3s;
}
.skip-link:focus { top: 1rem; }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.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;
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: none; }

.section-kicker {
  font-family: var(--sans);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: .75rem;
}

.section-title {
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--parchment);
  line-height: 1.1;
}

.gold-line {
  width: 60px; height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 1.5rem 0;
}

/* =============================================================
   4. ANNOUNCEMENT BAR
   ============================================================= */
.announcement-bar {
  background: linear-gradient(90deg, var(--red) 0%, var(--red-2) 50%, var(--red) 100%);
  text-align: center;
  padding: .6rem var(--gutter);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .05em;
  color: var(--cream);
  position: relative;
  z-index: 200;
  overflow: hidden;
}
.announcement-bar span { display: inline-flex; align-items: center; gap: .5rem; }
.announcement-bar .countdown { color: var(--gold-2); font-family: var(--serif); font-weight: 700; }

/* =============================================================
   5. NAVIGATION
   ============================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background .4s, backdrop-filter .4s, box-shadow .4s;
  padding: 0;
}
.nav.has-bar { top: 40px; }
.nav.scrolled {
  background: rgba(13,10,6,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem var(--gutter);
  max-width: var(--max-w);
  margin: 0 auto;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.nav-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
}
.nav-logo-text {
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.1;
}
.nav-logo-text small {
  display: block;
  font-family: var(--sans);
  font-size: .65rem;
  font-weight: 400;
  letter-spacing: .15em;
  color: var(--ink-mute);
  text-transform: uppercase;
}
.nav-links {
  display: none;
  list-style: none;
  gap: .25rem;
}
.nav-links a {
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .04em;
  padding: .4rem .75rem;
  border-radius: 3px;
  color: var(--ink-soft);
  transition: color .25s, background .25s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold); }
.nav-links .nav-cta {
  background: var(--gold);
  color: var(--bg);
  font-weight: 700;
  padding: .5rem 1.25rem;
  border-radius: 3px;
  transition: background .25s, transform .25s;
}
.nav-links .nav-cta:hover {
  background: var(--gold-2);
  transform: translateY(-1px);
}
.nav-burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
  cursor: pointer;
}
.nav-burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--gold);
  transition: transform .3s, opacity .3s;
}
.nav-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.nav-mobile {
  position: fixed;
  inset: 0; top: 0;
  background: rgba(13,10,6,0.98);
  backdrop-filter: blur(20px);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  transform: translateX(100%);
  transition: transform .4s var(--ease-out);
}
.nav-mobile.is-open { transform: none; }
.nav-mobile a {
  font-family: var(--display);
  font-size: clamp(1.5rem, 6vw, 2.5rem);
  color: var(--parchment);
  transition: color .2s;
}
.nav-mobile a:hover { color: var(--gold); }
.nav-mobile .mobile-cta {
  background: var(--gold);
  color: var(--bg);
  padding: .8rem 2.5rem;
  border-radius: 3px;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
}

/* =============================================================
   6. HERO (Index)
   ============================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform-origin: center;
  will-change: transform;
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(13,10,6,0.3) 0%, rgba(13,10,6,0.7) 60%, var(--bg) 100%),
    linear-gradient(to right, rgba(13,10,6,0.8) 0%, transparent 60%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 8rem var(--gutter) 4rem;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}
.hero-eyebrow {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  opacity: 0;
  animation: fadeUp .8s var(--ease-out) .3s forwards;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 40px; height: 1px;
  background: var(--gold);
}
.hero-title {
  font-family: var(--display);
  font-size: clamp(2.8rem, 8vw, 6.5rem);
  font-weight: 900;
  color: var(--cream);
  line-height: .95;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp .9s var(--ease-out) .5s forwards;
  max-width: 14ch;
}
.hero-title em {
  font-style: italic;
  color: var(--gold);
}
.hero-sub {
  font-family: var(--serif);
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--ink-soft);
  max-width: 46ch;
  margin-bottom: 2.5rem;
  line-height: 1.6;
  opacity: 0;
  animation: fadeUp .9s var(--ease-out) .7s forwards;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  opacity: 0;
  animation: fadeUp .9s var(--ease-out) .9s forwards;
}
.hero-logo {
  position: absolute;
  bottom: 3rem;
  right: var(--gutter);
  width: clamp(140px, 18vw, 240px);
  z-index: 2;
  opacity: 0;
  animation: fadeIn 1.2s var(--ease-out) 1.2s forwards;
}
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: var(--ink-mute);
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  animation: scrollBounce 2s ease-in-out infinite 2s;
}
.hero-scroll svg { color: var(--gold); }

/* =============================================================
   7. BUTTONS
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .05em;
  padding: .85rem 2rem;
  border-radius: 3px;
  transition: transform .25s var(--ease-out), box-shadow .25s;
  cursor: pointer;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-2) 100%);
  color: var(--bg);
  box-shadow: 0 4px 20px rgba(201,168,76,0.3);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201,168,76,0.4);
}
.btn-outline {
  border: 1px solid var(--gold);
  color: var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--bg);
  transform: translateY(-2px);
}
.btn-red {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-2) 100%);
  color: var(--cream);
  box-shadow: 0 4px 20px rgba(139,26,26,0.3);
}
.btn-red:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(139,26,26,0.5);
}

/* =============================================================
   8. QUICK ACCESS CARDS
   ============================================================= */
.quick-access {
  padding: 4rem 0;
  background: var(--bg-2);
  position: relative;
}
.quick-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.quick-card {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2rem;
  cursor: pointer;
  transition: transform .3s var(--ease-out), border-color .3s, box-shadow .3s;
  position: relative;
  overflow: hidden;
}
.quick-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201,168,76,0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity .3s;
}
.quick-card:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 12px 40px rgba(201,168,76,0.15); }
.quick-card:hover::before { opacity: 1; }
.quick-card-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.quick-card-title {
  font-family: var(--display);
  font-size: 1.4rem;
  color: var(--parchment);
  margin-bottom: .5rem;
}
.quick-card-desc { font-size: .9rem; color: var(--ink-mute); line-height: 1.5; }
.quick-card-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: 1rem;
  font-size: .82rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .05em;
  text-transform: uppercase;
  transition: gap .2s;
}
.quick-card:hover .quick-card-link { gap: .7rem; }

/* =============================================================
   9. ABOUT SECTION
   ============================================================= */
.about {
  padding: clamp(4rem, 10vh, 8rem) 0;
  background: var(--bg);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
.about-label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: .75rem;
}
.about-title {
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--parchment);
  margin-bottom: 1.25rem;
}
.about-text {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}
.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}
.pillar {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1.25rem;
  background: var(--glass);
}
.pillar-icon { font-size: 1.75rem; margin-bottom: .5rem; }
.pillar-title {
  font-family: var(--serif);
  font-size: .95rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: .25rem;
}
.pillar-text { font-size: .82rem; color: var(--ink-mute); }
.about-img {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
}
.about-img img { width: 100%; height: 400px; object-fit: cover; border-radius: 6px; }
.about-img-badge {
  position: absolute;
  bottom: 1.5rem; right: 1.5rem;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-2) 100%);
  color: var(--bg);
  padding: .75rem 1.25rem;
  border-radius: 4px;
  font-family: var(--serif);
  font-size: .85rem;
  font-weight: 700;
  text-align: center;
}

/* =============================================================
   10. STATS COUNTER
   ============================================================= */
.stats {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--bg-2) 0%, var(--bg-3) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-number {
  font-family: var(--display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  display: block;
}
.stat-label {
  font-size: .82rem;
  color: var(--ink-mute);
  letter-spacing: .05em;
  margin-top: .4rem;
  text-transform: uppercase;
}

/* =============================================================
   11. PERSONAJES SECTION
   ============================================================= */
.personajes {
  padding: clamp(4rem, 10vh, 8rem) 0;
  background: var(--bg);
}
.personajes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}
.personaje-card {
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-2);
  transition: transform .3s var(--ease-out), box-shadow .3s;
  cursor: pointer;
}
.personaje-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.personaje-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: top center;
  transition: transform .6s var(--ease-out);
}
.personaje-card:hover .personaje-img { transform: scale(1.03); }
.personaje-body { padding: 1.5rem; }
.personaje-rol {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .5rem;
}
.personaje-nombre {
  font-family: var(--display);
  font-size: 1.5rem;
  color: var(--parchment);
  margin-bottom: .75rem;
}
.personaje-desc { font-size: .9rem; color: var(--ink-mute); margin-bottom: 1rem; }
.personaje-frase {
  font-family: var(--serif);
  font-style: italic;
  font-size: .95rem;
  color: var(--gold);
  border-left: 2px solid var(--gold);
  padding-left: 1rem;
}

/* =============================================================
   12. EVENTO FEATURED
   ============================================================= */
.evento-featured {
  padding: clamp(4rem, 10vh, 8rem) 0;
  background: var(--bg-2);
  position: relative;
  overflow: hidden;
}
.evento-featured::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(139,26,26,0.15) 0%, transparent 60%);
  pointer-events: none;
}
.evento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
.evento-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--red);
  color: var(--cream);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .4rem 1rem;
  border-radius: 2rem;
  margin-bottom: 1.25rem;
}
.evento-title {
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--parchment);
  margin-bottom: 1rem;
}
.evento-date-box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
  margin: 1.5rem 0;
}
.evento-date-item {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1rem;
  text-align: center;
}
.evento-date-icon { font-size: 1.5rem; margin-bottom: .25rem; }
.evento-date-val {
  font-family: var(--serif);
  font-weight: 700;
  font-size: .95rem;
  color: var(--gold);
  display: block;
}
.evento-date-key { font-size: .7rem; color: var(--ink-mute); }
.evento-img {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.evento-img img { width: 100%; object-fit: contain; max-height: 600px; }
.patrocinadores {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.patrocinadores-label {
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 1rem;
}
.patrocinadores-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}
.patrocinador-logo {
  background: rgba(255,255,255,0.95);
  border-radius: 4px;
  padding: .5rem 1.25rem;
  font-weight: 900;
  font-size: 1.1rem;
  color: #e8003d;
  font-family: 'Inter', sans-serif;
  letter-spacing: -.02em;
}
.patrocinador-logo.jacom { background: var(--glass); border: 1px solid var(--line); color: var(--gold); font-size: .9rem; }
.patrocinador-logo.saturia { background: var(--glass); border: 1px solid var(--line); color: var(--ink-soft); font-size: .8rem; }

/* =============================================================
   13. ATRACTIVOS / GALLERY SECTION
   ============================================================= */
.atractivos {
  padding: clamp(4rem, 10vh, 8rem) 0;
  background: var(--bg);
}
.atractivos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}
.atractivo-card {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}
.atractivo-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease-out);
}
.atractivo-card:hover img { transform: scale(1.08); }
.atractivo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,10,6,0.9) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  transition: opacity .3s;
}
.atractivo-nombre {
  font-family: var(--display);
  font-size: 1.1rem;
  color: var(--cream);
  margin-bottom: .25rem;
}
.atractivo-desc { font-size: .8rem; color: var(--ink-soft); }

/* =============================================================
   14. NEWSLETTER / CTA SECTION
   ============================================================= */
.newsletter {
  padding: clamp(4rem, 8vh, 6rem) 0;
  background: linear-gradient(135deg, var(--bg-3) 0%, var(--bg-2) 100%);
  border-top: 1px solid var(--line);
  text-align: center;
}
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 480px;
  margin: 2rem auto 0;
}
.newsletter-input {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: .9rem 1.25rem;
  color: var(--ink);
  font-family: var(--sans);
  font-size: .95rem;
  transition: border-color .2s;
}
.newsletter-input:focus { outline: none; border-color: var(--gold); }
.newsletter-input::placeholder { color: var(--ink-mute); }

/* =============================================================
   15. TOURS GRID (tours.html)
   ============================================================= */
.tours-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}
.tour-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2rem;
  transition: transform .3s var(--ease-out), border-color .3s, box-shadow .3s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.tour-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--red));
  transform: scaleX(0);
  transition: transform .3s var(--ease-out);
}
.tour-card:hover { transform: translateY(-4px); border-color: rgba(201,168,76,0.4); box-shadow: 0 12px 40px rgba(0,0,0,0.3); }
.tour-card:hover::after { transform: scaleX(1); }
.tour-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.tour-name {
  font-family: var(--display);
  font-size: 1.2rem;
  color: var(--parchment);
  margin-bottom: .75rem;
}
.tour-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1rem;
}
.tour-tag {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .05em;
  padding: .25rem .75rem;
  border-radius: 2rem;
  background: var(--glass);
  border: 1px solid var(--line);
  color: var(--ink-soft);
}
.tour-tag.gold { background: rgba(201,168,76,0.15); border-color: rgba(201,168,76,0.3); color: var(--gold); }
.tour-includes { font-size: .85rem; color: var(--ink-mute); margin-bottom: 1.25rem; }
.tour-price {
  font-family: var(--display);
  font-size: 1.5rem;
  color: var(--gold);
  font-weight: 700;
}

/* =============================================================
   16. TIMELINE (espectaculo.html)
   ============================================================= */
.timeline {
  padding: clamp(4rem, 10vh, 8rem) 0;
  background: var(--bg);
}
.timeline-items {
  position: relative;
  margin-top: 3rem;
  padding-left: 2rem;
}
.timeline-items::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold) 0%, transparent 100%);
}
.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
  padding-left: 2rem;
}
.timeline-dot {
  position: absolute;
  left: -2.5rem; top: .25rem;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--bg);
  box-shadow: 0 0 0 4px rgba(201,168,76,0.2);
}
.timeline-year {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .15em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: .25rem;
}
.timeline-event {
  font-family: var(--display);
  font-size: 1.2rem;
  color: var(--parchment);
  margin-bottom: .5rem;
}
.timeline-desc { font-size: .9rem; color: var(--ink-mute); }
.timeline-icon { font-size: 1.5rem; margin-bottom: .5rem; }

/* =============================================================
   17. PAGE HERO (inner pages)
   ============================================================= */
.page-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 120px;
}
.page-hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(13,10,6,0.5) 0%, rgba(13,10,6,0.85) 100%);
}
.page-hero-content {
  position: relative;
  z-index: 2;
  padding: 3rem var(--gutter);
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}

/* =============================================================
   18. GALERÍA (galeria.html)
   ============================================================= */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 2rem;
}
.filter-btn {
  padding: .4rem 1rem;
  border-radius: 2rem;
  font-size: .8rem;
  font-weight: 600;
  border: 1px solid var(--line);
  color: var(--ink-mute);
  transition: all .2s;
  cursor: pointer;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--bg);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .75rem;
}
.gallery-item {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
}
.gallery-item.wide { grid-column: span 2; }
.gallery-item img {
  width: 100%; height: 220px;
  object-fit: cover;
  transition: transform .5s var(--ease-out);
}
.gallery-item.wide img { height: 300px; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13,10,6,0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  opacity: 0;
  transition: opacity .3s;
  color: var(--cream);
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-overlay .icon { font-size: 2rem; }
.gallery-item-overlay .label { font-size: .8rem; font-weight: 600; }
.dl-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--gold);
  color: var(--bg);
  font-size: .75rem;
  font-weight: 700;
  padding: .35rem .9rem;
  border-radius: 2rem;
  margin-top: .25rem;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 4px;
}
.lightbox-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  font-size: 2rem;
  color: var(--cream);
  cursor: pointer;
  line-height: 1;
  padding: .5rem;
}

/* =============================================================
   19. CONTACTO / FORMS
   ============================================================= */
.form-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin-bottom: 1.25rem;
}
.form-label {
  font-size: .8rem;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: .05em;
}
.form-input, .form-select, .form-textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: .85rem 1rem;
  color: var(--ink);
  font-family: var(--sans);
  font-size: .95rem;
  transition: border-color .2s;
  width: 100%;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(201,168,76,0.05);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--ink-mute); }
.form-textarea { resize: vertical; min-height: 130px; }
.form-select option { background: var(--bg-2); }

/* =============================================================
   20. FOOTER
   ============================================================= */
.footer {
  background: var(--bg-3);
  border-top: 1px solid var(--line);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand-img {
  height: 64px;
  width: auto;
  margin-bottom: 1rem;
}
.footer-brand-desc {
  font-size: .88rem;
  color: var(--ink-mute);
  line-height: 1.7;
  max-width: 32ch;
}
.footer-nav-title {
  font-family: var(--serif);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.footer-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.footer-nav-links a {
  font-size: .88rem;
  color: var(--ink-mute);
  transition: color .2s;
}
.footer-nav-links a:hover { color: var(--gold); }
.footer-socials {
  display: flex;
  gap: .75rem;
  margin-top: 1.25rem;
}
.social-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--ink-mute);
  transition: border-color .2s, color .2s, transform .2s;
}
.social-btn:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: .78rem;
  color: var(--ink-mute);
}
.footer-bottom a { color: var(--ink-mute); transition: color .2s; }
.footer-bottom a:hover { color: var(--gold); }

/* =============================================================
   21. WHATSAPP FLOAT
   ============================================================= */
.wa-float {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 90;
  width: 54px; height: 54px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform .3s var(--ease-bounce), box-shadow .3s;
  animation: waPulse 3s ease-in-out infinite 3s;
}
.wa-float:hover { transform: scale(1.15); box-shadow: 0 8px 30px rgba(37,211,102,0.5); }

/* =============================================================
   22. BACK TO TOP
   ============================================================= */
.back-top {
  position: fixed;
  bottom: 5.5rem;
  right: 1.75rem;
  z-index: 89;
  width: 42px; height: 42px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--gold);
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .3s, transform .3s;
}
.back-top.visible { opacity: 1; transform: none; }
.back-top:hover { background: var(--gold); color: var(--bg); }

/* =============================================================
   23. SPLASH/PRELOADER
   ============================================================= */
.splash {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1.5rem;
  animation: splashOut .6s var(--ease-out) 2.5s forwards;
}
.splash img { width: clamp(180px, 40vw, 280px); animation: splashLogo 1.2s var(--ease-out) .2s both; }
.splash-line {
  width: 60px; height: 2px;
  background: var(--gold);
  animation: splashLine 1s var(--ease-out) .8s both;
}

/* =============================================================
   24. VIEW TRANSITIONS
   ============================================================= */
@view-transition { navigation: auto; }
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: .5s;
  animation-timing-function: var(--ease-out);
}
::view-transition-old(root) { animation-name: fadeOutUp; }
::view-transition-new(root) { animation-name: fadeInUp; }

/* =============================================================
   25. KEYFRAMES
   ============================================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes fadeOutUp { to { opacity: 0; transform: translateY(-12px); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(12px); } }
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}
@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 30px rgba(37,211,102,0.65), 0 0 0 8px rgba(37,211,102,0.1); }
}
@keyframes splashLogo {
  from { opacity: 0; transform: scale(.85); }
  to { opacity: 1; transform: none; }
}
@keyframes splashLine {
  from { width: 0; opacity: 0; }
  to { width: 60px; opacity: 1; }
}
@keyframes splashOut {
  to { opacity: 0; pointer-events: none; }
}

/* =============================================================
   26. RESPONSIVE — tablet
   ============================================================= */
@media (min-width: 540px) {
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .atractivos-grid { grid-template-columns: repeat(2, 1fr); }
  .personajes-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-item img { height: 200px; }
  .gallery-item.wide img { height: 280px; }
}

@media (min-width: 720px) {
  .nav-links { display: flex; }
  .nav-burger { display: none; }
  .quick-grid { grid-template-columns: repeat(3, 1fr); }
  .about-grid { grid-template-columns: 1fr 1fr; }
  .evento-grid { grid-template-columns: 1fr 1fr; }
  .personajes-grid { grid-template-columns: repeat(2, 1fr); }
  .tours-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .newsletter-form { flex-direction: row; }
  .timeline-items { padding-left: 3rem; }
  .atractivos-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .personajes-grid { grid-template-columns: repeat(2, 1fr); }
  .tours-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
  .gallery-item img { height: 220px; }
}

/* =============================================================
   27. REDUCED MOTION (only intrusive effects)
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .hero-bg { transform: none !important; }
  .splash { animation: none; opacity: 0; pointer-events: none; }
}

/* =============================================================
   28. PAGE-SPECIFIC UTILITIES
   ============================================================= */
.section-padding { padding: clamp(4rem, 10vh, 8rem) 0; }
.text-gold { color: var(--gold); }
.text-cream { color: var(--parchment); }
.text-mute { color: var(--ink-mute); }
.font-display { font-family: var(--display); }
.font-serif { font-family: var(--serif); }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mt-2 { margin-top: 2rem; }
.text-center { text-align: center; }
.bg-2 { background: var(--bg-2); }
.countdown-box {
  display: inline-flex;
  gap: 1rem;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1.5rem 2rem;
  margin: 2rem 0;
}
.countdown-unit { text-align: center; }
.countdown-num {
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--gold);
  display: block;
  line-height: 1;
}
.countdown-label { font-size: .7rem; color: var(--ink-mute); letter-spacing: .1em; text-transform: uppercase; }
.countdown-sep {
  font-family: var(--display);
  font-size: 2.5rem;
  color: var(--gold);
  line-height: 1.4;
  opacity: .5;
}
