/* =========================================================
   Papá Noel del Turismo · 2026
   Colores tomados del logo: rojo, verde pino y crema
   ========================================================= */
:root {
  --noel: #C8393A;
  --noel-dark: #9E2526;
  --pine: #5E7F45;
  --pine-dark: #3F5A2E;
  --cream: #F6ECD9;
  --cream-soft: #FBF6EC;
  --gold: #E3A93B;
  --ink: #2A2320;
  --radius: 1.25rem;
  --shadow: 0 12px 32px -12px rgba(60, 20, 10, .25);

  --bs-body-font-family: "Nunito", system-ui, sans-serif;
  --bs-body-color: var(--ink);
  --bs-link-color-rgb: 200, 57, 58;
}

html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { background: #fff; }

h1, h2, h3, .display-title, .section-title, .stat-num, .cd-box span {
  font-family: "Baloo 2", system-ui, sans-serif;
  letter-spacing: -.01em;
}

.skip-link { position: absolute; top: .5rem; left: .5rem; z-index: 2000; background: #fff; padding: .5rem 1rem; border-radius: .5rem; }

/* ---------- utilidades de marca ---------- */
.text-noel { color: var(--noel) !important; }
.text-cream { color: var(--cream) !important; }
.bg-noel { background: var(--noel) !important; }
.bg-pine { background: var(--pine) !important; }
.bg-gold { background: var(--gold) !important; }
.bg-cream { background: var(--cream-soft); }
.ls-wide { letter-spacing: .12em; }

.btn-noel { --bs-btn-bg: var(--noel); --bs-btn-border-color: var(--noel); --bs-btn-color: #fff;
  --bs-btn-hover-bg: var(--noel-dark); --bs-btn-hover-border-color: var(--noel-dark); --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: var(--noel-dark); font-weight: 700; }
.btn-pine { --bs-btn-bg: var(--pine); --bs-btn-border-color: var(--pine); --bs-btn-color: #fff;
  --bs-btn-hover-bg: var(--pine-dark); --bs-btn-hover-border-color: var(--pine-dark); --bs-btn-hover-color: #fff; font-weight: 700; }
.btn-cream { --bs-btn-bg: var(--cream); --bs-btn-border-color: var(--cream); --bs-btn-color: var(--noel-dark);
  --bs-btn-hover-bg: #fff; --bs-btn-hover-border-color: #fff; --bs-btn-hover-color: var(--noel-dark); font-weight: 700; }
.btn { transition: transform .15s ease, background-color .15s ease; }
.btn:hover { transform: translateY(-2px); }

.section { padding: 6rem 0; }
.section-sm { padding: 3.5rem 0; }
.section-title { font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 800; line-height: 1.1; margin-bottom: 1rem; }
.eyebrow { display: inline-block; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; color: var(--pine); margin-bottom: .5rem; }

/* ---------- NAV ---------- */
#mainNav { transition: background .3s, box-shadow .3s, padding .3s; padding: 1rem 0; }
#mainNav .navbar-brand img { width: 150px; height: auto; transition: width .3s; }
#mainNav .nav-link { font-weight: 700; color: #fff; }
#mainNav .navbar-toggler { color: #fff; font-size: 2rem; border: 0; box-shadow: none; }
#mainNav.scrolled { background: rgba(255,255,255,.92); backdrop-filter: blur(10px); box-shadow: 0 4px 20px rgba(0,0,0,.08); padding: .4rem 0; }
#mainNav.scrolled .nav-link, #mainNav.scrolled .navbar-toggler { color: var(--ink); }
#mainNav.scrolled .nav-link.active, #mainNav .nav-link:hover { color: var(--gold); }
#mainNav.scrolled .nav-link.active, #mainNav.scrolled .nav-link:hover { color: var(--noel); }
#mainNav:not(.scrolled) .navbar-brand { background: rgba(255,255,255,.95); border-radius: 999px; padding: .2rem 1rem .2rem .3rem; box-shadow: 0 6px 20px rgba(0,0,0,.2); }
@media (max-width: 991.98px) {
  #mainNav .offcanvas .nav-link { color: var(--ink); font-size: 1.2rem; }
  #mainNav .offcanvas .btn { margin-top: 1rem; }
}

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding: 8rem 0 7rem; color: #fff; overflow: hidden;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(227,169,59,.25), transparent 50%),
    linear-gradient(160deg, rgba(158,37,38,.94) 0%, rgba(200,57,58,.86) 50%, rgba(63,90,46,.92) 100%),
    url(../images/slider-00.jpg) center / cover no-repeat;
}
#snow { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.badge-pill { display: inline-flex; gap: .4rem; align-items: center; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.3);
  padding: .4rem 1rem; border-radius: 999px; font-weight: 700; font-size: .9rem; backdrop-filter: blur(6px); }
.display-title { font-size: clamp(2.5rem, 6.5vw, 4.6rem); font-weight: 800; line-height: 1; text-shadow: 0 4px 24px rgba(0,0,0,.2); }
.hero-lead { font-size: 1.25rem; max-width: 560px; opacity: .95; margin-inline: auto; }
@media (min-width: 992px) { .hero-lead { margin-inline: 0; } }
.hero-seal { width: 100%; max-width: 440px; filter: drop-shadow(0 20px 40px rgba(0,0,0,.35)); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-14px) rotate(2deg); } }
.hero-wave { position: absolute; bottom: -1px; left: 0; width: 100%; height: 60px; fill: #fff; }

.countdown { display: flex; gap: .75rem; margin-top: 1.75rem; justify-content: center; }
@media (min-width: 992px) { .countdown { justify-content: flex-start; } }
.cd-box { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(8px);
  border-radius: 1rem; width: 84px; padding: .7rem 0 .5rem; text-align: center; }
.cd-box span { display: block; font-size: 2.2rem; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.cd-box small { text-transform: uppercase; font-size: .7rem; letter-spacing: .1em; opacity: .85; }
@media (max-width: 400px) { .cd-box { width: 68px; } .cd-box span { font-size: 1.7rem; } }
.cd-live { font-size: 1.3rem; font-weight: 700; margin-top: 1.5rem; }

.live-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #3BE07A; margin-right: .35rem;
  box-shadow: 0 0 0 0 rgba(59,224,122,.7); animation: pulse 1.6s infinite; vertical-align: middle; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(59,224,122,0); } 100% { box-shadow: 0 0 0 0 rgba(59,224,122,0); } }

/* ---------- NOSOTROS ---------- */
.noel-img { max-height: 520px; filter: drop-shadow(0 20px 30px rgba(0,0,0,.15)); }
.mini-feature { display: flex; align-items: center; gap: .6rem; background: var(--cream-soft); border-radius: 1rem; padding: .8rem 1rem; font-weight: 700; height: 100%; }
.mini-feature i { font-size: 1.5rem; color: var(--noel); }

/* ---------- IMPACTO ---------- */
.stat-card { background: #fff; border-radius: var(--radius); padding: 1.75rem 1rem; box-shadow: var(--shadow); height: 100%; transition: transform .2s; }
.stat-card:hover { transform: translateY(-4px); }
.stat-card i { font-size: 2rem; color: var(--noel); }
.stat-num { font-size: clamp(2.2rem, 5vw, 3rem); font-weight: 800; color: var(--pine-dark); line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat-label { font-weight: 700; color: #6b5f57; }
.goal-card { background: #fff; border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.goal { margin-bottom: 1.25rem; }
.goal .progress { height: .8rem; border-radius: 999px; margin-top: .4rem; background: #efe6d6; }
.goal .progress-bar { width: 0; border-radius: 999px; transition: width 1.4s cubic-bezier(.2,.8,.2,1); }
.goal.in .progress-bar { width: var(--w); }
.check-list { list-style: none; padding: 0; }
.check-list li { display: flex; gap: .75rem; padding: .6rem 0; border-bottom: 1px dashed #e6dccb; font-weight: 600; }
.check-list li:last-child { border: 0; }
.check-list i { color: var(--pine); font-size: 1.2rem; }

/* ---------- RECORRIDO ---------- */
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 76px; top: 8px; bottom: 8px; width: 3px; background: repeating-linear-gradient(var(--noel) 0 10px, var(--pine) 10px 20px); border-radius: 3px; }
.timeline li { position: relative; padding: 0 0 1.4rem 104px; min-height: 48px; }
.timeline li::before { content: attr(data-time); position: absolute; left: 0; top: 0; width: 60px; font-weight: 800; color: var(--noel); font-family: "Baloo 2", sans-serif; font-size: 1.1rem; text-align: right; }
.timeline li::after { content: ""; position: absolute; left: 70px; top: 6px; width: 15px; height: 15px; border-radius: 50%; background: #fff; border: 3px solid var(--pine); }
.timeline li.now::after { background: var(--noel); border-color: var(--noel); box-shadow: 0 0 0 6px rgba(200,57,58,.2); }
.timeline strong { display: block; font-size: 1.05rem; }
.timeline span { color: #6b5f57; font-size: .95rem; }
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- SUMATE ---------- */
#sumate::before { content: ""; position: absolute; inset: 0; opacity: .08;
  background-image: radial-gradient(#fff 2px, transparent 2px); background-size: 28px 28px; }
.help-card { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius); padding: 2rem; height: 100%;
  display: flex; flex-direction: column; align-items: flex-start; transition: background .2s, transform .2s; backdrop-filter: blur(4px); }
.help-card:hover { background: rgba(255,255,255,.16); transform: translateY(-4px); }
.help-card p { flex: 1; opacity: .9; }
.help-icon { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 1rem; background: var(--cream); color: var(--noel); font-size: 1.9rem; margin-bottom: 1rem; }

/* ---------- CARTA ---------- */
.letter { background: #fff; border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); position: relative;
  border-top: 8px solid; border-image: repeating-linear-gradient(90deg, var(--noel) 0 24px, #fff 24px 36px, var(--pine) 36px 60px, #fff 60px 72px) 8; }
.letter .form-label { font-weight: 700; }
.form-control:focus, .form-check-input:focus { border-color: var(--noel); box-shadow: 0 0 0 .25rem rgba(200,57,58,.2); }
.form-check-input:checked { background-color: var(--noel); border-color: var(--noel); }
.letter-card { background: var(--cream-soft); border: 2px dashed var(--noel); border-radius: 1rem; padding: 1.5rem; font-size: 1.05rem; white-space: pre-line; }
.letter-card h3 { font-family: "Baloo 2", sans-serif; color: var(--noel); }

/* ---------- GALERÍA ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 240px; grid-auto-flow: dense; gap: 1rem; }
.g-item { border: 0; padding: 0; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; background: #eee; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.g-item:hover img, .g-item:focus-visible img { transform: scale(1.06); }
.g-wide { grid-column: span 2; }
@media (max-width: 767.98px) { .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; } }

/* ---------- SPONSORS ---------- */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 3rem; width: max-content; animation: marquee 30s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.sponsor { font-family: "Baloo 2", sans-serif; font-weight: 700; font-size: 1.4rem; color: #9b8f84; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(calc(-50% - 1.5rem)); } }

/* ---------- FAQ ---------- */
.faq .accordion-button { font-weight: 700; font-size: 1.1rem; padding: 1.25rem 0; background: transparent; box-shadow: none; }
.faq .accordion-button:not(.collapsed) { color: var(--noel); }
.faq .accordion-body { padding: 0 0 1.25rem; color: #5a4f48; }

/* ---------- CTA + FOOTER ---------- */
.cta-box { background: linear-gradient(135deg, var(--pine-dark), var(--pine)); color: #fff; border-radius: 2rem; padding: 3rem; box-shadow: var(--shadow); }
@media (max-width: 575.98px) { .cta-box { padding: 2rem 1.5rem; } .cta-box .h1 { font-size: 1.6rem; } }
.footer { background: var(--ink); color: #d8cfc6; padding: 2rem 0; }
.footer a { color: #d8cfc6; } .footer a:hover { color: var(--gold); }

/* ---------- Botones flotantes ---------- */
.floating { position: fixed; right: 1rem; bottom: 1rem; display: flex; flex-direction: column; gap: .6rem; z-index: 1030; }
.fab { width: 54px; height: 54px; border-radius: 50%; border: 0; display: grid; place-items: center; font-size: 1.4rem;
  background: #fff; color: var(--noel); box-shadow: 0 6px 20px rgba(0,0,0,.2); transition: transform .2s; text-decoration: none; }
.fab:hover { transform: scale(1.08); }
.fab[aria-pressed="true"] { background: var(--noel); color: #fff; }
.fab-wa { background: #25D366; color: #fff; }

/* ---------- Animaciones al hacer scroll ---------- */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

@media print {
  body * { visibility: hidden; }
  #letterCard, #letterCard * { visibility: visible; }
  #letterCard { position: fixed; inset: 2rem; }
}

/* ---------- Agregados con datos 2026 ---------- */
.need { background: var(--cream-soft); border: 2px dashed var(--noel); border-radius: 1rem; padding: 1rem .5rem; font-weight: 700; color: #6b5f57; }
.need span { display: block; font-family: "Baloo 2", sans-serif; font-size: 2.2rem; line-height: 1; color: var(--noel); }
.benefit { display: flex; gap: 1.25rem; align-items: flex-start; background: var(--cream-soft); border-radius: var(--radius); padding: 1.5rem; }
.benefit-n { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--noel); color: #fff; font-family: "Baloo 2", sans-serif; font-weight: 800; font-size: 1.4rem; }
.press-card { display: block; height: 100%; background: #fff; border: 1px solid #eee3d2; border-left: 5px solid var(--pine); border-radius: var(--radius); padding: 1.5rem 1.75rem; color: inherit; text-decoration: none; transition: transform .2s, box-shadow .2s; }
a.press-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.press-src { font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--pine); }
.press-quote { font-family: "Baloo 2", sans-serif; font-size: 1.3rem; line-height: 1.3; margin: .5rem 0; }
.g-tall { grid-row: span 2; }
.g-tall img { object-position: center 30%; }

/* ---------- Carta / urna ---------- */
.urna-steps { list-style: none; padding: 0; margin: 1.25rem 0; }
.urna-steps li { display: flex; align-items: center; gap: .75rem; padding: .35rem 0; font-weight: 700; }
.urna-steps span { width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--noel); color: #fff; display: grid; place-items: center; font-family: "Baloo 2", sans-serif; }
.letter-preview { width: 100%; max-width: 340px; border-radius: .5rem; box-shadow: 0 8px 30px rgba(0,0,0,.18); }
