:root {
  color-scheme: light;
  --font-display: 'Fredoka', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* Lotería del Huila brand */
  --verde: #1f8a3b;
  --verde-dark: #136128;
  --verde-deep: #0b3d18;
  --dorado: #f5b800;
  --dorado-light: #ffd24c;
  --naranja: #fb8500;
  --rojo: #d62828;

  --surface: #ffffff;
  --cream: #fbf7ea;
  --ink: #1c1b18;
  --muted: #6b6f76;
  --border: rgba(19, 97, 40, 0.12);

  --shadow-sm: 0 8px 24px rgba(11, 61, 24, 0.08);
  --shadow-md: 0 20px 50px rgba(11, 61, 24, 0.12);
  --shadow-lg: 0 30px 70px rgba(11, 61, 24, 0.18);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  min-height: 100vh;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a, button { font: inherit; }

h1, h2, h3 { font-family: var(--font-display); letter-spacing: -0.01em; }

.ico { width: 1.2em; height: 1.2em; flex-shrink: 0; }

.text-gold {
  background: linear-gradient(180deg, #fff0b8 0%, var(--dorado-light) 45%, var(--naranja) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 4px 22px rgba(245, 184, 0, 0.35);
}

/* ===== Buttons ===== */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-lg { padding: 1rem 1.85rem; font-size: 1.05rem; }

.button-primary {
  background: linear-gradient(135deg, var(--dorado-light), var(--naranja));
  color: #3a2400;
  box-shadow: 0 14px 30px rgba(251, 133, 0, 0.35);
}
.button-primary:hover { box-shadow: 0 18px 40px rgba(251, 133, 0, 0.45); }

.button-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(6px);
}
.button-ghost:hover { background: rgba(255, 255, 255, 0.22); }

.button-whatsapp {
  background: linear-gradient(135deg, #25d366, #128c4b);
  color: #fff;
  box-shadow: 0 14px 30px rgba(18, 140, 75, 0.35);
}

/* ===== Nav ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 61, 24, 0);
  transition: background 0.3s ease, box-shadow 0.3s ease;
  padding: 0.6rem 1.25rem;
}
.nav.scrolled {
  background: rgba(11, 61, 24, 0.97);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
}
.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
/* El logo aparece solo al hacer scroll (oculto en el inicio) */
.nav-brand {
  display: inline-flex;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}
.nav.scrolled .nav-brand {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.nav-logo-loteria {
  height: clamp(40px, 9vw, 50px);
  width: auto;
  filter:
    drop-shadow(0 0 8px rgba(255, 255, 255, 0.7))
    drop-shadow(0 0 20px rgba(255, 210, 76, 0.55))
    drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}
.nav-links { display: flex; gap: 1.75rem; margin-left: auto; }
.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  opacity: 0.92;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--dorado-light);
  transition: width 0.25s ease;
}
.nav-links a:hover { opacity: 1; }
.nav-links a:hover::after { width: 100%; }
.nav-cta { padding: 0.65rem 1.25rem; font-size: 0.92rem; }
.nav-toggle {
  display: none;
  margin-left: auto;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  margin-top: -80px;
  padding: 7rem 1.5rem 10rem;
  text-align: center;
  color: #fff;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 12%, rgba(245, 184, 0, 0.28), transparent 42%),
    radial-gradient(circle at 85% 8%, rgba(255, 210, 76, 0.18), transparent 45%),
    linear-gradient(165deg, var(--verde) 0%, var(--verde-dark) 55%, var(--verde-deep) 100%);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.6;
}

.hero-content { position: relative; z-index: 3; max-width: 1080px; margin: 0 auto; }

.hero-logos {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.2rem;
  margin: 0 0 0.4rem;
  flex-wrap: wrap;
}
.hero-logo-wrap {
  position: relative;
  display: inline-flex;
}
.hero-logo-wrap::before {
  content: '';
  position: absolute;
  inset: -22%;
  z-index: -1;
  background: radial-gradient(circle, rgba(255, 232, 150, 0.55) 0%, rgba(255, 210, 76, 0.32) 38%, transparent 70%);
  filter: blur(14px);
  animation: glowPulse 3.2s ease-in-out infinite;
}
.hero-logo-loteria {
  height: clamp(98px, 13vw, 156px);
  width: auto;
  filter:
    drop-shadow(0 0 10px rgba(255, 255, 255, 0.65))
    drop-shadow(0 0 26px rgba(255, 210, 76, 0.55))
    drop-shadow(0 8px 22px rgba(0, 0, 0, 0.3));
  animation: floaty 5.5s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.7; transform: scale(0.95); }
  50% { opacity: 1; transform: scale(1.08); }
}
.hero-logos-x {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  opacity: 0.85;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.hero-logo-character {
  height: clamp(82px, 11.5vw, 128px);
  width: auto;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.3));
  animation: floaty 4.6s ease-in-out infinite;
  animation-delay: 0.6s;
}
.hero-logo-festival {
  height: clamp(72px, 10.5vw, 112px);
  width: auto;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.4));
  animation: floaty 5s ease-in-out infinite;
}

.cupos-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.42rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff4d4d, #c81d1d);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 6px 18px rgba(200, 29, 29, 0.45);
  animation: blink 1.2s ease-in-out infinite;
}
.cupos-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.9);
  animation: blinkDot 0.8s steps(1, end) infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.97); }
}
@keyframes blinkDot {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0.25; }
}

.hero-badge {
  display: inline-block;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
}

/* Hero grid: copy izquierda + actividades derecha */
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 2.5rem;
  align-items: start;
  text-align: left;
  margin-top: 1.8rem;
}
.hero-copy { display: grid; justify-items: start; gap: 1rem; }

.hero-title {
  margin: 0;
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  line-height: 1.06;
  font-weight: 700;
}
.hero-tagline {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.4em;
  margin: 0;
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 210, 76, 0.4);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.05rem, 2.4vw, 1.4rem);
  line-height: 1.2;
  color: #fff;
  backdrop-filter: blur(6px);
}
.hero-tagline span {
  background: linear-gradient(180deg, #fff0b8, var(--dorado-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
}

.hero-text {
  margin: 0;
  max-width: 480px;
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
}
.hero-copy .button { margin-top: 0.4rem; }
.hero-reminder {
  margin: 0.2rem 0 0 200px;
  padding-left: 0.9rem;
  border-left: 3px solid var(--dorado-light);
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 8px rgba(7, 49, 79, 0.7);
}
.hero-reminder strong { color: var(--dorado-light); }

/* Actividades y manillas */
.hero-activities {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
}
.cupos-badge-corner {
  position: absolute;
  top: -14px;
  right: 18px;
  z-index: 5;
}
.act-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 0.9rem;
}
.hero-activities-text {
  margin: 0.5rem 0 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
}
.hero-activities-cta {
  width: 100%;
  margin-top: 1.1rem;
}
.hero-activities-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--dorado-light);
}
.act-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  text-decoration: none;
  color: #fff;
  transition: transform 0.2s ease, background 0.2s ease;
}
.act-card:hover { background: rgba(255, 255, 255, 0.2); transform: translateX(4px); }
.act-num {
  flex-shrink: 0;
  width: 60px; height: 60px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
  background: #fff;
  color: var(--verde-dark);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}
.act-num small {
  font-size: 0.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.15rem;
  opacity: 0.85;
}
.act-num-gold {
  background: linear-gradient(150deg, var(--dorado-light), var(--naranja));
  color: #3a2400;
}
.act-info { display: flex; flex-direction: column; }
.act-info small { font-size: 0.8rem; color: rgba(255, 255, 255, 0.78); margin-bottom: 0.15rem; }
.act-info strong { font-size: 1.02rem; line-height: 1.2; }

/* Subsección de fechas dentro de la tarjeta de Conciertos */
.act-card-concerts { flex-direction: column; align-items: stretch; gap: 0; }
.act-card-concerts:hover { transform: none; background: rgba(255, 255, 255, 0.16); }
.act-main { display: flex; align-items: center; gap: 1rem; }
.act-dates {
  display: grid;
  gap: 0.4rem;
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.act-date {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.3;
}
.act-date strong {
  flex-shrink: 0;
  min-width: 48px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--dorado-light);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
}

/* Prize + countdown */
.hero-feature {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
  align-items: stretch;
}
.prize-card,
.countdown {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  backdrop-filter: blur(8px);
}
.prize-card { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.prize-card img { width: 190px; border-radius: 16px; }
.prize-card p { margin: 0; font-size: 0.9rem; color: rgba(255, 255, 255, 0.88); }

.countdown { display: flex; flex-direction: column; justify-content: center; }
.countdown-label { margin: 0 0 0.9rem; font-size: 0.98rem; color: rgba(255, 255, 255, 0.92); }
.countdown-grid { display: flex; gap: 0.6rem; }
.cd-box {
  min-width: 64px;
  padding: 0.7rem 0.4rem;
  border-radius: 16px;
  background: linear-gradient(160deg, var(--dorado-light), var(--naranja));
  color: #3a2400;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cd-box span { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; line-height: 1; }
.cd-box small { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; margin-top: 0.3rem; }

/* Hero decorations */
.hero-character {
  position: absolute;
  bottom: 0;
  width: clamp(175px, 19vw, 300px);
  z-index: 1;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.35));
  pointer-events: none;
}
.hero-character-left { left: -1%; bottom: 0; animation: swayL 6s ease-in-out infinite; }
.hero-character-right { right: -1%; bottom: 0; animation: swayR 7s ease-in-out infinite; }

.hero-deco {
  position: absolute;
  z-index: 4;
  pointer-events: none;
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  color: rgba(255, 224, 120, 0.55);
  text-shadow: 0 0 14px rgba(255, 210, 76, 0.5), 0 2px 8px rgba(0, 0, 0, 0.25);
  animation: floaty 6s ease-in-out infinite;
}
.hero-deco-1  { top: 7%;  left: 5%;   font-size: clamp(1.8rem, 4vw, 3rem); }
.hero-deco-2  { top: 13%; left: 39%;  animation-delay: 1.5s; }
.hero-deco-3  { top: 6%;  right: 7%;  animation-delay: 0.8s; font-size: clamp(2rem, 4.5vw, 3.4rem); }
.hero-deco-4  { top: 36%; left: 2%;   animation-delay: 2.1s; }
.hero-deco-5  { top: 28%; right: 3%;  animation-delay: 0.4s; font-size: clamp(1.4rem, 3vw, 2.2rem); }
.hero-deco-6  { top: 50%; left: 1.5%; animation-delay: 1.1s; opacity: 0.85; }
.hero-deco-7  { top: 66%; right: 4%;  animation-delay: 2.6s; font-size: clamp(1.8rem, 4vw, 3rem); }
.hero-deco-8  { top: 86%; left: 14%;  animation-delay: 0.6s; }
.hero-deco-9  { top: 90%; left: 49%;  animation-delay: 1.8s; font-size: clamp(1.4rem, 3vw, 2.2rem); }
.hero-deco-10 { top: 72%; right: 2%;  animation-delay: 1.3s; }

.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 2; line-height: 0; }
.hero-wave svg { width: 100%; height: 70px; }
.hero-wave path { fill: var(--cream); }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes swayL {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-8px) rotate(2deg); }
}
@keyframes swayR {
  0%, 100% { transform: translateY(0) rotate(1deg); }
  50% { transform: translateY(-8px) rotate(-2deg); }
}

/* ===== Info strip ===== */
.strip { padding: 0 1.5rem; margin-top: -1.5rem; position: relative; z-index: 5; }
.strip-inner {
  max-width: 1160px;
  margin: 0 auto;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}
.strip-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.25rem 1.4rem;
  border-right: 1px solid var(--border);
}
.strip-item:last-child { border-right: none; }
.strip-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(31, 138, 59, 0.1);
  color: var(--verde);
}
.strip-icon svg { width: 24px; height: 24px; }
.strip-item-flash .strip-icon { background: rgba(251, 133, 0, 0.15); color: var(--naranja); }
.strip-item strong { display: block; font-size: 0.98rem; color: var(--verde-dark); }
.strip-item small { color: var(--muted); font-size: 0.82rem; }
.strip-item-flash { background: linear-gradient(135deg, #fff6e0, #ffe7c2); }
.strip-item-flash strong { color: var(--naranja); }

/* ===== Sections ===== */
.section { padding: 5rem 1.5rem; position: relative; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
  color: var(--verde);
  margin-bottom: 0.8rem;
}
.eyebrow.light { color: var(--dorado-light); }
.section h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin: 0 0 1rem; line-height: 1.1; color: var(--verde-deep); }
.section p { line-height: 1.75; color: var(--muted); }

.section-header { max-width: 1160px; margin: 0 auto 2.6rem; }
.section-header.center { text-align: center; }
.section-header.center p { max-width: 640px; margin-left: auto; margin-right: auto; }

/* ===== Billetes por evento ===== */
.billetes { background: linear-gradient(180deg, #fff, #f1faf2); }
.billetes-grid {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(3, 1fr);
}
.billete-event {
  position: relative;
  text-align: center;
  padding: 2.2rem 1.6rem 1.8rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.billete-event:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.event-type {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.82rem;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.2rem;
}
.type-concierto { background: rgba(31, 138, 59, 0.12); color: var(--verde-dark); }
.type-desfile { background: rgba(251, 133, 0, 0.14); color: var(--naranja); }
.event-num {
  width: 132px; height: 132px;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  background: linear-gradient(150deg, var(--verde), var(--verde-dark));
  box-shadow: 0 18px 36px rgba(19, 97, 40, 0.32);
}
.billete-event:nth-child(2) .event-num,
.billete-event:nth-child(3) .event-num {
  background: linear-gradient(150deg, var(--dorado), var(--naranja));
  box-shadow: 0 18px 36px rgba(251, 133, 0, 0.32);
}
.event-num small {
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.35rem;
  line-height: 1.15;
}
.billete-event h3 { margin: 0 0 0.5rem; font-size: 1.2rem; color: var(--verde-deep); }
.billete-event p { margin: 0; font-size: 0.95rem; }

.billetes-note {
  max-width: 1160px;
  margin: 2.2rem auto 0;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.5rem 1.8rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--verde-dark), var(--verde-deep));
  color: #fff;
  box-shadow: var(--shadow-md);
}
.billetes-note span { font-size: 2rem; }
.billetes-note p { margin: 0; color: rgba(255, 255, 255, 0.95); line-height: 1.6; }
.billetes-note strong { color: var(--dorado-light); }
.billetes-note em { font-style: normal; text-decoration: underline; text-decoration-color: var(--dorado); }

/* ===== How it works ===== */
.how { background: var(--surface); }
.steps {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(3, 1fr);
}
.step {
  position: relative;
  padding: 2.4rem 1.6rem 1.8rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.step-num {
  position: absolute;
  top: -22px;
  left: 1.6rem;
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--verde), var(--verde-dark));
  box-shadow: 0 10px 22px rgba(19, 97, 40, 0.35);
}
.step h3 { margin: 0 0 0.5rem; color: var(--verde-deep); }
.step p { margin: 0; font-size: 0.96rem; color: var(--muted); }

.places {
  max-width: 1160px;
  margin: 2.5rem auto 0;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, 1fr);
}
.place-card {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  padding: 1.8rem;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, #f6fcf7);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.place-icon {
  flex-shrink: 0;
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(31, 138, 59, 0.1);
  color: var(--verde);
}
.place-icon svg { width: 28px; height: 28px; }
.place-card h3 { margin: 0 0 0.5rem; color: var(--verde-deep); font-size: 1.15rem; }
.place-card p { margin: 0; font-size: 0.96rem; color: var(--muted); }
.place-address {
  margin: 0.8rem 0 0;
  font-style: normal;
  font-weight: 600;
  color: var(--verde-dark);
  line-height: 1.5;
}
.link-arrow {
  display: inline-block;
  margin-top: 0.9rem;
  color: var(--verde);
  font-weight: 700;
  text-decoration: none;
  transition: gap 0.2s ease, color 0.2s ease;
}
.link-arrow:hover { color: var(--verde-dark); text-decoration: underline; }

/* ===== Eventos y billetes ===== */
.eventos { background: linear-gradient(180deg, #f1faf2, #fff); overflow: hidden; }

.event-group {
  max-width: 1160px;
  margin: 0 auto 3rem;
  position: relative;
  z-index: 2;
}
.event-group:last-of-type { margin-bottom: 0; }
.group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.6rem;
  padding-bottom: 1.2rem;
  border-bottom: 2px solid rgba(19, 97, 40, 0.12);
}
.group-eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
  color: var(--naranja);
  margin-bottom: 0.3rem;
}
.group-title { margin: 0; font-size: clamp(1.5rem, 3.4vw, 2.1rem); color: var(--verde-deep); }
.group-sub { margin: 0.3rem 0 0; color: var(--muted); font-size: 0.96rem; }
.group-billetes {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.6rem;
  border-radius: 18px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: #fff;
  background: linear-gradient(150deg, var(--verde), var(--verde-dark));
  box-shadow: 0 14px 30px rgba(19, 97, 40, 0.28);
  line-height: 1.1;
}
.group-billetes strong { font-size: 2.1rem; }
.group-billetes small { font-size: 0.72rem; font-weight: 500; opacity: 0.92; margin-top: 0.2rem; }

/* Desfile cards */
.desfile-card {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  padding: 1.6rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.desfile-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.desfile-count {
  flex-shrink: 0;
  width: 104px; height: 104px;
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  background: linear-gradient(150deg, var(--dorado), var(--naranja));
  box-shadow: 0 14px 28px rgba(251, 133, 0, 0.32);
}
.desfile-count small {
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 0.3rem;
  line-height: 1.15;
  text-align: center;
}
.desfile-info .day-date {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-size: 0.78rem;
}
.desfile-info h4 { margin: 0 0 0.4rem; font-family: var(--font-display); font-size: 1.2rem; color: var(--verde-deep); }
.desfile-info p { margin: 0; font-size: 0.94rem; color: var(--muted); }

/* Marquee de artistas (scroll automático) */
.marquee {
  position: relative;
  overflow: hidden;
  padding: 0.5rem 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.marquee-track {
  display: inline-flex;
  flex-wrap: nowrap;
  width: max-content;
  animation: marquee 32s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.mq-day {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-right: 1rem;
  padding: 0.6rem 1rem 0.6rem 0.6rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.mq-day-star {
  border-color: rgba(245, 184, 0, 0.55);
  box-shadow: 0 12px 28px rgba(245, 184, 0, 0.2);
}
.mq-date {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
  background: linear-gradient(135deg, var(--verde), var(--verde-dark));
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
}
.mq-day-star .mq-date {
  background: linear-gradient(135deg, var(--dorado), var(--naranja));
  color: #3a2400;
}
.mq-artist {
  flex-shrink: 0;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--verde-deep);
  background: rgba(31, 138, 59, 0.08);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
}
.mq-day-star .mq-artist { background: rgba(245, 184, 0, 0.14); color: #946a00; }

.schedule { background: linear-gradient(180deg, #f1faf2, #fff); overflow: hidden; }
.section-character {
  position: absolute;
  right: -30px;
  bottom: 0;
  width: clamp(120px, 14vw, 200px);
  opacity: 0.92;
  z-index: 1;
  pointer-events: none;
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.18));
}
.cards-row {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(3, 1fr);
  position: relative;
  z-index: 2;
}
.cards-row.two { grid-template-columns: repeat(2, 1fr); }

.day-card {
  position: relative;
  padding: 1.6rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.day-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.day-card-featured {
  background: linear-gradient(165deg, var(--verde), var(--verde-dark));
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
}
.day-card-featured:hover { transform: scale(1.03) translateY(-6px); }
.day-card-flag {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--dorado-light), var(--naranja));
  color: #3a2400;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(251, 133, 0, 0.4);
}
.day-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 0.9rem;
  margin-bottom: 0.9rem;
  border-bottom: 1px dashed rgba(19, 97, 40, 0.25);
}
.day-card-featured .day-card-head { border-bottom-color: rgba(255, 255, 255, 0.3); }
.day-tag { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--verde); }
.day-card-featured .day-tag { color: var(--dorado-light); }
.day-date {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  background: rgba(19, 97, 40, 0.1);
  color: var(--verde-dark);
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
}
.day-card-featured .day-date { background: rgba(255, 255, 255, 0.2); color: #fff; }
.line-list { list-style: none; margin: 0 0 1.2rem; padding: 0; }
.line-list li { padding: 0.45rem 0 0.45rem 1.4rem; position: relative; font-weight: 500; }
.line-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.95rem;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--dorado);
}
.day-card-featured .line-list li::before { background: var(--dorado-light); }
.line-list li:first-child { font-weight: 700; }
.billete-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: rgba(245, 184, 0, 0.18);
  color: #946a00;
}
.day-card-featured .billete-chip { background: rgba(255, 255, 255, 0.18); color: #fff; }

/* ===== Premio mayor ===== */
.premio {
  padding: 2.8rem 1.5rem;
  background:
    radial-gradient(circle at 18% 25%, rgba(245, 184, 0, 0.22), transparent 45%),
    linear-gradient(160deg, var(--verde-dark) 0%, var(--verde-deep) 100%);
  color: #fff;
  overflow: hidden;
}
.premio-band {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.8rem;
  flex-wrap: wrap;
}
.premio-mini {
  width: 140px;
  flex-shrink: 0;
  border-radius: 16px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}
.premio-text { flex: 1; min-width: 240px; }
.premio-text h2 { color: #fff; font-size: clamp(1.4rem, 3vw, 2rem); margin: 0.3rem 0 0.5rem; }
.premio-text p { color: rgba(255, 255, 255, 0.85); margin: 0; }
.countdown-light { background: rgba(255, 255, 255, 0.08); padding: 1rem; display: inline-flex; }

/* ===== CTA band ===== */
.cta-band {
  background:
    radial-gradient(circle at 80% 20%, rgba(245, 184, 0, 0.18), transparent 45%),
    linear-gradient(160deg, var(--verde) 0%, var(--verde-deep) 100%);
  color: #fff;
}
.cta-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.9fr);
  gap: 2.5rem;
  align-items: center;
}
.cta-copy h2 { color: #fff; }
.cta-copy p { color: rgba(255, 255, 255, 0.9); }
.cta-list { list-style: none; padding: 0; margin: 1.5rem 0 2rem; }
.cta-list li { padding: 0.5rem 0; color: rgba(255, 255, 255, 0.95); }
.cta-list strong { color: var(--dorado-light); }
.cta-note {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  padding: 1.8rem;
  backdrop-filter: blur(6px);
}
.cta-note h3 { margin: 0 0 0.7rem; color: var(--dorado-light); }
.cta-note p { color: rgba(255, 255, 255, 0.9); font-size: 0.95rem; margin: 0 0 1.4rem; line-height: 1.7; }
.cta-note-sponsors {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.cta-note-sponsors img { height: 50px; width: auto; background: #fff; border-radius: 10px; padding: 6px 10px; }

/* ===== Footer ===== */
.footer { background: var(--verde-deep); color: rgba(255, 255, 255, 0.85); padding: 3rem 1.5rem 1.5rem; }
.footer-content {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding-bottom: 1.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-about { display: flex; align-items: center; gap: 1.2rem; }
.footer-logo { height: 72px; width: auto; background: #fff; border-radius: 12px; padding: 7px 14px; }
.footer-about p { margin: 0; font-size: 0.9rem; line-height: 1.6; }
.footer-logos { display: flex; gap: 1.4rem; align-items: center; flex-wrap: wrap; }
/* Logos claros (Festival, Gobernación) van directo sobre el verde, sin recuadro */
.footer-logos img { height: 62px; width: auto; }
/* Logos con texto oscuro necesitan recuadro blanco */
.footer-logos img.chip { height: 56px; background: #fff; border-radius: 10px; padding: 7px 13px; }
.footer-bottom {
  max-width: 1160px;
  margin: 1.4rem auto 0;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ===== Floating WhatsApp ===== */
.fab-whatsapp {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 60;
  width: 58px; height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #25d366, #128c4b);
  box-shadow: 0 12px 28px rgba(18, 140, 75, 0.45);
  transition: transform 0.2s ease;
  animation: pulse 2.5s ease-in-out infinite;
}
.fab-whatsapp:hover { transform: scale(1.08); }
@keyframes pulse {
  0%, 100% { box-shadow: 0 12px 28px rgba(18, 140, 75, 0.45); }
  50% { box-shadow: 0 12px 28px rgba(18, 140, 75, 0.45), 0 0 0 12px rgba(37, 211, 102, 0.12); }
}

/* ===== Scroll reveal ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .strip-inner { grid-template-columns: repeat(2, 1fr); }
  .strip-item:nth-child(2) { border-right: none; }
  .steps, .billetes-grid { grid-template-columns: 1fr; gap: 2.2rem; max-width: 480px; }
  .places { grid-template-columns: 1fr; max-width: 520px; }
  .cards-row, .cards-row.two { grid-template-columns: 1fr; }
  .group-head { justify-content: flex-start; }
  .day-card-featured { transform: none; }
  .day-card-featured:hover { transform: translateY(-6px); }
  .cta-inner { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; gap: 1.4rem; }
  .hero-copy { order: 1; justify-items: center; text-align: center; }
  .hero-logos { justify-content: center; }
  .hero-title, .hero-tagline, .hero-text, .hero-reminder { display: none; }
  .hero-activities { order: 2; max-width: 480px; margin: 0 auto; }
  .premio-band { justify-content: center; text-align: center; }

  /* Rendimiento en móvil: sin desenfoques ni animaciones en bucle */
  .nav.scrolled, .hero-activities, .cta-note, .countdown-light {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .hero-logo-loteria, .hero-logo-festival, .hero-logo-character,
  .hero-logo-wrap::before, .hero-deco, .fab-whatsapp {
    animation: none !important;
  }
}

@media (max-width: 760px) {
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(11, 61, 24, 0.98);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
  }
  .nav-links.open { max-height: 340px; padding: 0.75rem 1.25rem 1.25rem; }
  .nav-links a { padding: 0.75rem 0; width: 100%; }
  .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .nav { background: rgba(11, 61, 24, 0.96); }

  .hero { padding: 6rem 1.2rem 5rem; }
  .hero-character { opacity: 0.3; width: 120px; }
  .hero-grid { margin-top: 1.4rem; }
  .hero-activities { width: 100%; max-width: 100%; }
  .footer-content, .footer-about { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .button-lg { width: 100%; }
  .cd-box { min-width: 0; flex: 1; }
  .billetes-note { flex-direction: column; text-align: center; }
  .desfile-card { flex-direction: column; text-align: center; }

  .hero { padding: 5.5rem 1.1rem 4.5rem; }
  .hero-character { display: none; }
  .hero-logos { gap: 0.9rem; }
  .hero-logo-loteria { height: clamp(90px, 26vw, 130px); }
  .hero-logo-festival { height: clamp(58px, 17vw, 84px); }
  .act-card { padding: 0.75rem 0.85rem; gap: 0.85rem; }
  .act-num { width: 56px; height: 56px; font-size: 1.55rem; }
  .act-info strong { font-size: 0.98rem; }
  .premio-mini { width: 110px; }
  .premio { padding: 2.2rem 1.1rem; }
  .section { padding: 3.5rem 1.1rem; }
  .section-character { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee { overflow-x: auto; }
  .marquee-track { transform: none; }
}
