/*
Theme Name: Sorteo Pichilemu
Theme URI: https://sorteocasa.cl
Author: Desarrollador Senior
Description: Tema para sorteo de casa en Pichilemu. Diseño inspirado en el logo - dorado, azul marino y atardecer costero.
Version: 2.0.0
License: GNU General Public License v2 or later
Text Domain: sorteo-pichilemu
*/

/* ============================================================
   TOKENS — paleta tomada directo del logo
   Naranja dorado, azul marino profundo, fondo oscuro atardecer
   ============================================================ */
:root {
  /* Fondos - oscuros como el cielo nocturno costero */
  --bg:           #0D1117;
  --bg-2:         #131920;
  --bg-3:         #1A2330;
  --border:       #1E2D3D;
  --border-light: #2A3D52;

  /* Naranja dorado del logo */
  --gold:         #F5A623;
  --gold-bright:  #FFB93E;
  --gold-dim:     #A36B0F;
  --gold-glow:    rgba(245, 166, 35, 0.2);

  /* Azul marino del borde circular del logo */
  --navy:         #1A2D4A;
  --navy-light:   #243D60;
  --navy-bright:  #2E5285;

  /* Blanco y textos */
  --white:        #FFFFFF;
  --text:         #E8EDF2;
  --muted:        #7A8FA6;
  --muted-light:  #9BAFC4;

  /* Acento secundario - el rosa/magenta del atardecer del logo */
  --sunset:       #E8607A;
  --sunset-dim:   rgba(232, 96, 122, 0.15);

  /* Success */
  --green:        #3DD68C;

  /* Tipografías */
  --font-script:  'Pacifico', 'Dancing Script', cursive;
  --font-display: 'Montserrat', 'Inter', sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  /* Sombras */
  --shadow-gold:  0 0 48px rgba(245, 166, 35, 0.18);
  --shadow-card:  0 4px 32px rgba(0, 0, 0, 0.5);
  --shadow-navy:  0 0 40px rgba(26, 45, 74, 0.6);

  /* Transiciones */
  --t:            0.25s ease;
  --t-slow:       0.5s ease;

  /* Radios */
  --r-sm:   6px;
  --r-md:   12px;
  --r-lg:   20px;
  --r-full: 9999px;
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--gold-bright); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ============================================================
   TIPOGRAFÍA
   ============================================================ */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
}
h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--white);
}
h1 { font-size: clamp(2.4rem, 6vw, 4.8rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 2rem); }

p { margin-bottom: 1rem; line-height: 1.65; }
p:last-child { margin-bottom: 0; }

/* Tipografía script para acentos */
.script {
  font-family: var(--font-script);
  font-weight: 400;
  color: var(--gold);
  display: block;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.75rem;
}

.text-gold   { color: var(--gold); }
.text-muted  { color: var(--muted); }
.text-white  { color: var(--white); }
.text-center { text-align: center; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section     { padding: 6rem 0; }
.section--sm { padding: 4rem 0; }

/* ============================================================
   BOTONES
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: var(--r-full);
  transition: all var(--t);
  text-decoration: none;
  white-space: nowrap;
  text-transform: uppercase;
}

/* Dorado — principal */
.btn--gold {
  background: var(--gold);
  color: #0D1117;
  box-shadow: 0 4px 20px rgba(245, 166, 35, 0.35);
}
.btn--gold:hover {
  background: var(--gold-bright);
  color: #0D1117;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(245, 166, 35, 0.55);
}

/* Outline dorado */
.btn--outline {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}
.btn--outline:hover {
  background: var(--gold-glow);
  color: var(--gold-bright);
  border-color: var(--gold-bright);
}

/* Tamaños */
.btn--lg  { padding: 1.1rem 2.5rem; font-size: 1rem; }
.btn--xl  { padding: 1.3rem 3rem;   font-size: 1.1rem; border-radius: var(--r-full); }

/* ============================================================
   DIVIDER DECORATIVO
   ============================================================ */
.wave-divider {
  text-align: center;
  color: var(--gold-dim);
  font-size: 1.4rem;
  letter-spacing: 0.3em;
  margin: 2rem 0;
  opacity: 0.6;
}

/* ============================================================
   MENÚ MÓVIL OVERLAY
   ============================================================ */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.mobile-menu-overlay.open {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}
.mobile-menu {
  width: min(320px, 85vw);
  height: 100vh;
  background: var(--bg-2);
  border-left: 1px solid var(--border);
  padding: 24px 24px 40px;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.mobile-menu-overlay.open .mobile-menu {
  transform: translateX(0);
}
.mobile-menu__close {
  align-self: flex-end;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 4px 8px;
  margin-bottom: 24px;
  transition: color var(--t);
  line-height: 1;
}
.mobile-menu__close:hover { color: var(--white); }
.mobile-menu__logo {
  text-align: center;
  margin-bottom: 32px;
}
.mobile-menu__logo img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto;
  border: 2px solid rgba(245,166,35,0.4);
}
.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 32px;
  flex: 1;
}
.mobile-menu__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--r-md);
  text-decoration: none;
  transition: all var(--t);
  border: 1px solid transparent;
}
.mobile-menu__link:hover {
  background: rgba(245,166,35,0.08);
  border-color: var(--gold-dim);
  color: var(--gold);
}
.mobile-menu__cta {
  margin-top: auto;
}

/* ============================================================
   PÁGINA WOOCOMMERCE (checkout, carrito)
   ============================================================ */
#woo-main {
  min-height: 80vh;
  padding: 100px 0 60px;
  background: var(--bg);
}
#woo-main .container {
  max-width: 900px;
}

/* ============================================================
   HEADER — estilos existentes
   ============================================================ */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all var(--t-slow);
}
#site-header.scrolled {
  background: rgba(13, 17, 23, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0.6rem 0;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Logo en el header */
.header__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}
.header__logo-img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(245,166,35,0.5);
  transition: border-color var(--t), box-shadow var(--t);
}
.header__logo:hover .header__logo-img {
  border-color: var(--gold);
  box-shadow: 0 0 16px rgba(245,166,35,0.3);
}
.header__logo-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.01em;
}
.header__logo-sub {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: block;
  margin-top: 2px;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.header__nav a {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted-light);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color var(--t);
}
.header__nav a:hover { color: var(--gold); }

.header__cta { padding: 0.5rem 1.5rem; font-size: 0.8rem; }

.header__menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}
.header__menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--t);
}

/* ============================================================
   HERO
   ============================================================ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Fondo inspirado en el atardecer del logo */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg-image {
  position: absolute;
  inset: 0;
  background-image: url('images/hero-bg.jpg');
  background-size: cover;
  background-position: center 40%;
  filter: brightness(0.28) saturate(1.1);
}
/* Gradiente que simula el degradé del logo */
.hero__bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 50% 0%,  rgba(245,166,35,0.07) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 80% 30%,  rgba(232,96,122,0.05) 0%, transparent 50%),
    linear-gradient(180deg, transparent 30%, rgba(13,17,23,0.7) 70%, var(--bg) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 9rem 0 6rem;
  text-align: center;
}

/* Logo central en el hero — eliminado, logo va en header */

/* Badge animado */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245, 166, 35, 0.1);
  border: 1px solid rgba(245, 166, 35, 0.35);
  border-radius: var(--r-full);
  padding: 0.4rem 1.1rem;
  margin-bottom: 1.5rem;
}
.hero__badge-dot {
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity:1; transform:scale(1); box-shadow: 0 0 0 0 rgba(245,166,35,0.4); }
  50%      { opacity:0.6; transform:scale(0.85); box-shadow: 0 0 0 6px rgba(245,166,35,0); }
}
.hero__badge-text {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--gold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* Título hero con script accent */
.hero__pretitle {
  font-family: var(--font-script);
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--gold);
  display: block;
  margin-bottom: 0.2rem;
  text-shadow: 0 2px 20px rgba(245,166,35,0.3);
}
.hero__title {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 0.5rem;
  color: var(--white);
}
.hero__title-sub {
  font-family: var(--font-script);
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  color: var(--gold-bright);
  display: block;
  margin-bottom: 1.5rem;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--muted-light);
  max-width: 540px;
  margin: 0 auto 2.5rem;
  font-weight: 400;
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

/* Stats del hero */
.hero__stats {
  display: flex;
  justify-content: center;
  gap: 0;
  border-top: 1px solid var(--border);
  max-width: 580px;
  margin: 0 auto;
}
.hero__stat {
  flex: 1;
  padding: 1.5rem 1rem;
  border-right: 1px solid var(--border);
}
.hero__stat:last-child { border-right: none; }
.hero__stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}
.hero__stat-label {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.3rem;
  display: block;
}

/* ============================================================
   COUNTDOWN — barra costera
   ============================================================ */
#countdown {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0;
}
.countdown__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.countdown__label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  min-width: 120px;
}
.countdown__timer { display: flex; gap: 0.75rem; }
.countdown__unit  { display: flex; flex-direction: column; align-items: center; }
.countdown__number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  background: var(--bg-3);
  border: 1px solid var(--border-light);
  border-radius: var(--r-md);
  padding: 0.6rem 0.8rem;
  min-width: 68px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.countdown__number::after {
  content: '';
  position: absolute;
  top: 50%; left: 0; right: 0;
  height: 1px;
  background: var(--border);
}
.countdown__unit-label {
  font-size: 0.6rem;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 0.4rem;
}
.countdown__progress { flex: 1; min-width: 180px; }
.countdown__progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.countdown__progress-bar {
  height: 8px;
  background: var(--bg-3);
  border-radius: var(--r-full);
  overflow: hidden;
  border: 1px solid var(--border);
}
.countdown__progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dim), var(--gold), var(--gold-bright));
  border-radius: var(--r-full);
  width: 0%;
  transition: width 1.2s ease;
  position: relative;
}
.countdown__progress-fill::after {
  content: '';
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 20px;
  background: rgba(255,255,255,0.3);
  filter: blur(4px);
}

/* ============================================================
   PROPIEDAD — galería
   ============================================================ */
#propiedad { background: var(--bg); }

.propiedad__header { text-align: center; margin-bottom: 4rem; }
.propiedad__header h2 { margin-top: 0.5rem; }

/* ── Galería carrusel ── */
.gallery-carousel {
  position: relative;
  margin-bottom: 4rem;
}
.gallery-track-wrap {
  overflow: hidden;
  border-radius: var(--r-lg);
}
.gallery-track {
  display: flex;
  gap: 12px;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}
.gallery-slide {
  flex: 0 0 280px;
  height: 210px;
  border-radius: var(--r-md);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  background: var(--bg-3);
  flex-shrink: 0;
}
.gallery-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(245,166,35,0);
  transition: background var(--t);
}
.gallery-slide:hover::after { background: rgba(245,166,35,0.1); }
.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform var(--t-slow);
}
.gallery-slide:hover img { transform: scale(1.06); }

/* Botones prev/next */
.gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(13,17,23,0.85);
  border: 1px solid var(--border-light);
  color: var(--text);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--t);
  backdrop-filter: blur(8px);
}
.gallery-btn:hover {
  background: var(--gold);
  color: #0D1117;
  border-color: var(--gold);
}
.gallery-btn--prev { left: -22px; }
.gallery-btn--next { right: -22px; }
.gallery-btn:disabled {
  opacity: 0.3;
  cursor: default;
}

/* Dots indicadores */
.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 16px;
}
.gallery-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border-light);
  cursor: pointer;
  transition: all var(--t);
  border: none;
  padding: 0;
}
.gallery-dot.active {
  background: var(--gold);
  width: 20px;
  border-radius: 3px;
}

@media (max-width: 768px) {
  .gallery-slide { flex: 0 0 220px; height: 165px; }
  .gallery-btn--prev { left: -10px; }
  .gallery-btn--next { right: -10px; }
}
@media (max-width: 480px) {
  .gallery-slide { flex: 0 0 180px; height: 135px; }
}

/* Detalles */
.propiedad__detalles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.propiedad__descripcion h3 { margin-bottom: 1rem; }
.propiedad__descripcion p  { color: var(--muted-light); font-size: 1.05rem; line-height: 1.7; }

/* Cards de características */
.caracteristicas { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.caracteristica {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: all var(--t);
}
.caracteristica:hover {
  border-color: var(--gold-dim);
  background: var(--bg-3);
  transform: translateY(-1px);
}
.caracteristica__icon  { font-size: 1.2rem; flex-shrink: 0; margin-top: 1px; }
.caracteristica__label {
  font-size: 0.65rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 2px;
}
.caracteristica__value { font-weight: 700; color: var(--text); font-size: 0.85rem; }

/* ============================================================
   TICKETS — sección de conversión principal
   ============================================================ */
#tickets {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.tickets__header { text-align: center; margin-bottom: 3.5rem; }
.tickets__header p {
  font-size: 1.1rem;
  color: var(--muted-light);
  max-width: 480px;
  margin: 0.75rem auto 0;
}

.tickets__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 780px;
  margin: 0 auto 3rem;
}

/* Ticket card base */
.ticket-card {
  position: relative;
  background: var(--bg-3);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all var(--t);
  overflow: hidden;
}
.ticket-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--border-light);
  transition: background var(--t);
}

/* Ticket normal */
.ticket-card--normal:hover {
  border-color: var(--border-light);
  transform: translateY(-3px);
}

/* Ticket DESTACADO */
.ticket-card--featured {
  border-color: var(--gold);
  box-shadow: var(--shadow-gold), inset 0 0 60px rgba(245,166,35,0.03);
}
.ticket-card--featured::before {
  background: linear-gradient(90deg, var(--gold-dim), var(--gold), var(--gold-bright), var(--gold));
}
.ticket-card--featured:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 64px rgba(245,166,35,0.28);
}

/* Fondo sutil con el ícono del logo */
.ticket-card--featured::after {
  content: '🏡';
  position: absolute;
  bottom: -10px;
  right: -5px;
  font-size: 5rem;
  opacity: 0.04;
  pointer-events: none;
  line-height: 1;
}

.ticket-card__badge {
  display: inline-block;
  background: var(--gold);
  color: #0D1117;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: var(--r-full);
  margin-bottom: 1rem;
}
.ticket-card__title {
  font-size: 1.3rem;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.ticket-card__price {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.2rem;
}
.ticket-card__price-unit {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.ticket-card__detail {
  font-size: 0.88rem;
  color: var(--muted-light);
  margin-bottom: 0.4rem;
}
.ticket-card__saving {
  display: inline-block;
  background: rgba(61, 214, 140, 0.1);
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.25rem 0.85rem;
  border-radius: var(--r-full);
  margin-bottom: 1.5rem;
  border: 1px solid rgba(61, 214, 140, 0.25);
}
.ticket-card__btn {
  display: block;
  width: 100%;
  padding: 0.9rem;
  font-size: 0.95rem;
  font-weight: 800;
  border-radius: var(--r-full);
  transition: all var(--t);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.ticket-card--featured .ticket-card__btn {
  background: var(--gold);
  color: #0D1117;
  box-shadow: 0 4px 20px rgba(245,166,35,0.4);
}
.ticket-card--featured .ticket-card__btn:hover {
  background: var(--gold-bright);
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(245,166,35,0.55);
}
.ticket-card--normal .ticket-card__btn {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border-light);
}
.ticket-card--normal .ticket-card__btn:hover {
  border-color: var(--gold-dim);
  color: var(--gold);
}

/* Social proof */
.tickets__social-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.social-proof__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--muted-light);
}

/* ============================================================
   CÓMO PARTICIPAR
   ============================================================ */
#como-participar { background: var(--bg); }

.pasos__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.paso { text-align: center; padding: 0 0.75rem; }
.paso__number {
  width: 60px; height: 60px;
  margin: 0 auto 1rem;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-2);
  border: 2px solid var(--gold-dim);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--gold);
  transition: all var(--t);
}
.paso:hover .paso__number {
  background: rgba(245,166,35,0.08);
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(245,166,35,0.2);
}
.paso__title { font-size: 0.95rem; font-weight: 700; font-family: var(--font-display); color: var(--white); margin-bottom: 0.5rem; }
.paso__desc  { font-size: 0.82rem; color: var(--muted); line-height: 1.55; margin: 0; }

/* ============================================================
   UBICACIÓN
   ============================================================ */
#ubicacion {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}
.ubicacion__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.ubicacion__texto p { color: var(--muted-light); margin-top: 1rem; line-height: 1.65; }
.ubicacion__features { display: flex; flex-direction: column; gap: 0.6rem; margin-top: 1.5rem; }
.ubicacion__feature {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.88rem; color: var(--muted-light);
}
.ubicacion__feature::before { content: '~'; color: var(--gold); font-weight: 900; flex-shrink: 0; }
.ubicacion__mapa {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  height: 340px;
}
.ubicacion__mapa iframe {
  width: 100%; height: 100%; border: none;
  filter: grayscale(60%) invert(8%) brightness(0.85) saturate(0.8);
}

/* ============================================================
   CTA FINAL
   ============================================================ */
#cta-final {
  background: var(--bg);
  text-align: center;
  position: relative;
  overflow: hidden;
}
#cta-final::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(245,166,35,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.cta-final__content { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }
.cta-final__title   { margin-bottom: 0.75rem; }
.cta-final__subtitle { font-size: 1.1rem; color: var(--muted-light); margin-bottom: 2.5rem; }

/* ============================================================
   SÍGUENOS (redes sociales — home)
   ============================================================ */
#redes-sociales { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.redes__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 780px;
  margin: 0 auto;
}
.redes__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.65rem;
  padding: 2.25rem 1.25rem;
  background: var(--bg-3);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  transition: all var(--t);
}
.redes__card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-dim);
  box-shadow: var(--shadow-card);
}
.redes__icon {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.redes__icon svg { width: 26px; height: 26px; }
.redes__card--tiktok .redes__icon      { background: linear-gradient(135deg, #25F4EE, #111 55%, #FE2C55); }
.redes__card--instagram .redes__icon   { background: linear-gradient(135deg, #F58529, #DD2A7B 45%, #8134AF 75%, #515BD4); }
.redes__card--facebook .redes__icon    { background: #1877F2; }
.redes__name   { font-family: var(--font-display); font-weight: 700; color: var(--white); font-size: 0.98rem; }
.redes__handle { font-family: var(--font-mono); font-size: 0.75rem; color: var(--muted); word-break: break-word; }

@media (max-width: 860px) {
  .redes__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .redes__card { padding: 1.75rem 1rem; }
}

/* ============================================================
   GUÍA RÁPIDA DE COMPRA (antes del footer)
   ============================================================ */
#guia-compra { background: var(--bg); }

.guia-compra__card {
  max-width: 780px;
  margin: 0 auto;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 3rem 2.5rem;
}
.guia-compra__head { text-align: center; margin-bottom: 2.5rem; }
.guia-compra__head p { color: var(--muted-light); max-width: 480px; margin: 0.5rem auto 0; }

.guia-compra__steps { display: flex; flex-direction: column; }
.guia-compra__step {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--border);
}
.guia-compra__step:last-child { border-bottom: none; padding-bottom: 0; }
.guia-compra__step:first-child { padding-top: 0; }
.guia-compra__num {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.15rem;
}
.guia-compra__step-body h4 { font-size: 1.05rem; margin-bottom: 0.3rem; }
.guia-compra__step-body p  { color: var(--muted-light); font-size: 0.92rem; margin: 0; line-height: 1.55; }

.guia-compra__cta { text-align: center; margin-top: 2.5rem; }

@media (max-width: 600px) {
  .guia-compra__card { padding: 2.25rem 1.5rem; }
}
@media (max-width: 480px) {
  .guia-compra__cta .btn {
    width: 100%;
    max-width: 100%;
    white-space: normal;
    word-break: break-word;
    text-align: center;
    padding: 1rem 1.25rem;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
  }
}

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer__brand-logo { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.1rem; text-decoration: none; }
.footer__brand-logo img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 1px solid var(--gold-dim); }
.footer__brand p { color: var(--muted); font-size: 0.85rem; line-height: 1.6; max-width: 380px; }

/* Redes sociales del footer — antes sin estilos (se veían amontonadas) */
.footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.4rem;
}
.footer__social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  background: var(--bg-3);
  border: 1px solid var(--border-light);
  border-radius: var(--r-full);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted-light);
  transition: all var(--t);
}
.footer__social-link svg { flex-shrink: 0; color: var(--gold); transition: color var(--t); }
.footer__social-link:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(245, 166, 35, 0.08);
  transform: translateY(-2px);
}
.footer__col h4 {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
  font-weight: 400;
}
.footer__col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer__col ul li a { font-size: 0.85rem; color: var(--muted); transition: color var(--t); }
.footer__col ul li a:hover { color: var(--gold); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 1rem;
}
.footer__legal { display: flex; gap: 1.5rem; }
.footer__legal a { color: var(--muted); font-size: 0.8rem; }
.footer__legal a:hover { color: var(--gold); }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.95); z-index: 9999;
  align-items: center; justify-content: center; padding: 2rem;
}
.lightbox.active { display: flex; }
.lightbox__content { position: relative; max-width: 90vw; max-height: 85vh; }
.lightbox__img { max-width: 100%; max-height: 85vh; object-fit: contain; border-radius: var(--r-md); }
.lightbox__close {
  position: absolute; top: -44px; right: 0;
  color: var(--muted); font-size: 1.5rem; cursor: pointer; padding: 0.5rem;
  transition: color var(--t);
}
.lightbox__close:hover { color: var(--white); }
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.08); border: none; color: white;
  font-size: 1.5rem; padding: 0.75rem 1rem; border-radius: var(--r-md);
  cursor: pointer; transition: background var(--t);
}
.lightbox__nav:hover { background: rgba(255,255,255,0.18); }
.lightbox__nav--prev { left: -60px; }
.lightbox__nav--next { right: -60px; }

/* ============================================================
   ANIMACIONES
   ============================================================ */
.fade-in { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   NOTIFICACIÓN FLOTANTE
   ============================================================ */
.floating-notif {
  position: fixed; bottom: 1.5rem; left: 1.5rem;
  background: var(--bg-2);
  border: 1px solid var(--border-light);
  border-left: 3px solid var(--gold);
  border-radius: var(--r-md);
  padding: 0.9rem 1.1rem;
  max-width: 280px; z-index: 500;
  box-shadow: var(--shadow-card);
  transform: translateX(-380px);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.floating-notif.show { transform: translateX(0); }
.floating-notif__text { font-size: 0.83rem; color: var(--muted-light); margin: 0; }
.floating-notif__text strong { color: var(--text); }
.floating-notif__time { font-size: 0.7rem; color: var(--gold); margin-top: 0.25rem; display: block; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .pasos__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .header__nav { display: none; }
  .header__cta { display: none; }
  .header__menu-toggle { display: flex; z-index: 1000; }
  .tickets__grid { grid-template-columns: 1fr; max-width: 380px; }
  .ticket-card--featured { order: -1; }
  .propiedad__detalles { grid-template-columns: 1fr; gap: 2rem; }
  .caracteristicas { grid-template-columns: 1fr; }
  .ubicacion__inner { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .countdown__inner { flex-direction: column; text-align: center; }
  .hero__stats { flex-direction: column; gap: 0; }
  .hero__stat { border-right: none; border-bottom: 1px solid var(--border); }
  .hero__stat:last-child { border-bottom: none; }
  .pasos__grid { grid-template-columns: 1fr; }
  .section { padding: 4rem 0; }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .hero__actions { flex-direction: column; width: 100%; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .countdown__timer { gap: 0.4rem; }
  .countdown__number { min-width: 58px; font-size: 1.8rem; padding: 0.5rem 0.6rem; }
  .lightbox__nav--prev { left: -40px; }
  .lightbox__nav--next { right: -40px; }
}

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