/* ============================================================
   A juntar basura, amigo — estilos propios
   Complementan a Tailwind CSS (Play CDN). Estética nacional:
   celeste y blanco, con el Sol de Mayo y detalles folklóricos.
   ============================================================ */

:root {
  --celeste: #74ACDF;
  --celeste-dark: #4A7FB5;
  --celeste-deep: #234E73;
  --sol: #F6B40E;
}

html { scroll-behavior: smooth; }

/* Compensa la navegación fija al saltar a una sección con ancla */
section[id] { scroll-margin-top: 5.5rem; }

::selection { background: var(--sol); color: var(--celeste-deep); }

/* Barra de scroll al tono del movimiento */
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: #EAF2FA; }
::-webkit-scrollbar-thumb { background: var(--celeste); border-radius: 99px; border: 2px solid #EAF2FA; }
::-webkit-scrollbar-thumb:hover { background: var(--celeste-deep); }

/* ===================== NAVEGACIÓN ===================== */
.nav-brand { color: #fff; transition: color .3s ease; }
.nav-link  { color: rgba(255, 255, 255, .92); transition: color .25s ease; }
.nav-link:hover { color: var(--sol); }

#nav.scrolled {
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(35, 78, 115, .1), 0 8px 24px -16px rgba(35, 78, 115, .4);
}
#nav.scrolled .nav-brand,
#nav.scrolled .nav-link { color: var(--celeste-deep); }
#nav.scrolled .nav-link:hover { color: var(--celeste-dark); }

/* ===================== BOTONES ===================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  border-radius: 999px;
  font-weight: 700; letter-spacing: .01em;
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
  cursor: pointer; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-sol {
  background: var(--sol); color: var(--celeste-deep);
  box-shadow: 0 10px 22px -10px rgba(246, 180, 14, .9);
}
.btn-sol:hover { background: #FBD24B; }

.btn-line {
  background: transparent; color: #fff;
  border: 2px solid rgba(255, 255, 255, .7);
}
.btn-line:hover { background: #fff; color: var(--celeste-deep); border-color: #fff; }

.btn-deep {
  background: var(--celeste-deep); color: #fff;
  box-shadow: 0 10px 22px -12px rgba(35, 78, 115, .9);
}
.btn-deep:hover { background: #2F6493; }

/* Botones de compartir */
.btn-share {
  display: inline-flex; align-items: center; gap: .4rem;
  border-radius: 999px;
  padding: .55rem 1.15rem;
  font-size: .9rem; font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, .12);
  border: 1.5px solid rgba(255, 255, 255, .4);
  transition: background-color .2s ease, color .2s ease, transform .15s ease;
  cursor: pointer;
}
.btn-share:hover { background: #fff; color: var(--celeste-deep); border-color: #fff; transform: translateY(-2px); }

/* ===================== EYEBROW (antetítulo) ===================== */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .22em;
  color: var(--celeste-dark);
}
.eyebrow-light {
  color: #fff;
  text-shadow: 0 1px 10px rgba(35, 78, 115, .45);
}

/* ===================== HERO ===================== */
.hero {
  background: radial-gradient(120% 80% at 50% 0%, #BBD6EE 0%, #74ACDF 48%, #4A7FB5 100%);
}
.hero-sun { filter: drop-shadow(0 8px 18px rgba(35, 78, 115, .35)); }

.hero-glow {
  position: absolute; inset: 0;
  background: radial-gradient(50% 45% at 50% 33%, rgba(255, 255, 255, .42), transparent 70%);
  pointer-events: none;
}

/* Escena de plaza al pie del hero */
.hero-escena {
  position: absolute; left: 0; right: 0; bottom: -1px;
  height: clamp(170px, 21.5vw, 360px);
  line-height: 0; pointer-events: none; z-index: 1;
}
.hero-escena svg { width: 100%; height: 100%; display: block; }

/* Indicador de scroll */
.scroll-cue {
  position: absolute; bottom: 104px; left: 50%; transform: translateX(-50%);
  z-index: 10; color: rgba(255, 255, 255, .9);
  animation: bob 1.8s ease-in-out infinite;
}
.scroll-cue:hover { color: var(--sol); }

/* ===================== RESPLANDOR DE SECCIÓN ===================== */
.glow-seccion {
  position: absolute; inset: 0;
  background: radial-gradient(58% 52% at 50% 24%, rgba(255, 255, 255, .16), transparent 72%);
  pointer-events: none;
}

/* Sombra suave para texto claro sobre celeste */
.sombra-suave {
  text-shadow: 0 2px 16px rgba(35, 78, 115, .5), 0 1px 3px rgba(35, 78, 115, .35);
}

/* ===================== CINTA PATRIA (divisor) ===================== */
.cinta {
  height: 14px;
  background: repeating-linear-gradient(
    -45deg,
    var(--celeste) 0 22px,
    #ffffff 22px 44px
  );
  border-top: 3px solid var(--sol);
  border-bottom: 3px solid var(--sol);
}

/* ===================== PALABRAS CLAVE ===================== */
.palabra-clave {
  display: inline-flex; align-items: center; gap: .5rem;
  border: 1.5px solid rgba(169, 204, 232, .5);
  border-radius: 999px;
  padding: .5rem 1.1rem;
  font-size: .78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em;
  color: #fff;
}
.palabra-clave::before {
  content: "";
  width: .5rem; height: .5rem;
  border-radius: 999px;
  background: var(--sol);
}

/* ===================== TARJETAS ===================== */
.card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(35, 78, 115, .1);
  border-radius: 1.1rem;
  padding: 1.85rem;
  box-shadow: 0 18px 40px -32px rgba(35, 78, 115, .55);
  transition: transform .2s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 48px -28px rgba(35, 78, 115, .55);
  border-color: var(--celeste-light, #A9CCE8);
}
.card::before {
  content: "";
  position: absolute; top: 0; left: 1.85rem; right: 1.85rem; height: 4px;
  background: var(--sol);
  border-radius: 0 0 4px 4px;
}
.card-acento { background: #EAF2FA; }

/* Reglas */
.regla-num {
  font-family: 'Anton', sans-serif;
  font-size: 2.6rem; line-height: 1;
  color: rgba(116, 172, 223, .35);
}
.regla-ico {
  width: 3rem; height: 3rem;
  margin-top: .35rem;
  color: var(--celeste-dark);
}
.regla-ico svg { width: 100%; height: 100%; }
.regla-titulo {
  margin-top: 1rem;
  font-family: 'Anton', sans-serif;
  font-size: 1.4rem; letter-spacing: .02em;
  color: var(--celeste-deep);
}
.regla-texto {
  margin-top: .55rem;
  color: rgba(35, 78, 115, .92);
  line-height: 1.6;
}

/* Pasos (cómo empezar) */
.paso { text-align: center; }
.paso-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 3.4rem; height: 3.4rem;
  border-radius: 999px;
  background: var(--celeste-deep); color: #fff;
  font-family: 'Anton', sans-serif; font-size: 1.7rem;
}
.paso-titulo {
  margin-top: .9rem;
  font-family: 'Anton', sans-serif;
  font-size: 1.55rem; letter-spacing: .02em;
  color: var(--celeste-deep);
}

/* Checklist "Llevá con vos" */
.check {
  display: flex; align-items: center; gap: .75rem;
  background: #EAF2FA;
  border-radius: .8rem;
  padding: .9rem 1.1rem;
  font-weight: 600;
  color: var(--celeste-deep);
}
.check-mark {
  position: relative;
  width: 1.4rem; height: 1.4rem; flex: none;
  background: var(--sol); border-radius: 999px;
}
.check-mark::after {
  content: "";
  position: absolute; left: .43rem; top: .22rem;
  width: .35rem; height: .65rem;
  border: solid var(--celeste-deep);
  border-width: 0 .18rem .18rem 0;
  transform: rotate(45deg);
}

/* Símbolos patrios */
.simbolo {
  display: flex; flex-direction: column; align-items: center; gap: .7rem;
}
.simbolo svg,
.simbolo img {
  width: 6.5rem; height: 6.5rem;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 14px 30px -18px rgba(35, 78, 115, .85);
  transition: transform .2s ease;
}
.simbolo svg { padding: .5rem; }
.simbolo img { object-fit: cover; border: 4px solid #fff; }
.simbolo:hover svg,
.simbolo:hover img { transform: translateY(-6px); }
.simbolo span {
  font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; font-size: .85rem;
}

/* ===================== AFICHE IMPRIMIBLE ===================== */
.afiche {
  position: relative; overflow: hidden;
  width: 100%; max-width: 30rem;
  aspect-ratio: 3 / 4;
  background: #FBF6E5;
  border-radius: 1.25rem;
  box-shadow: 0 30px 60px -30px rgba(35, 78, 115, .55);
  border: 6px solid var(--celeste);
}
.afiche-inner {
  position: relative; z-index: 2;
  height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 2rem 1.8rem;
  color: var(--celeste-deep);
}
.afiche-eyebrow {
  margin-top: .8rem;
  font-size: .68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .2em;
  color: var(--celeste-dark);
}
.afiche-titulo {
  margin-top: .5rem;
  font-family: 'Anton', sans-serif;
  font-size: clamp(2.3rem, 8vw, 3.2rem);
  line-height: .95; text-transform: uppercase; letter-spacing: .02em;
  color: var(--celeste-deep);
}
.afiche-titulo span { color: #C98A06; }
.afiche-lema {
  margin-top: .7rem;
  font-family: 'Playfair Display', serif; font-style: italic;
  font-size: 1.02rem; color: var(--celeste-dark);
}
.afiche-lista {
  margin-top: 1.1rem;
  text-align: left;
  display: grid; gap: .5rem;
  font-size: .92rem; color: var(--celeste-deep);
}
.afiche-lista li { position: relative; padding-left: 1.4rem; }
.afiche-lista li::before {
  content: ""; position: absolute; left: 0; top: .42rem;
  width: .7rem; height: .7rem; background: var(--sol);
  border-radius: 999px;
}
.afiche-cta {
  margin-top: 1.2rem;
  font-family: 'Anton', sans-serif;
  font-size: 1.05rem; text-transform: uppercase; letter-spacing: .03em;
  color: var(--celeste-deep);
}

/* ===================== ANIMACIONES ===================== */
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.float { animation: float 6s ease-in-out infinite; }

@keyframes bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 9px); } }

/* Aparición al hacer scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ===================== ACCESIBILIDAD ===================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .float, .scroll-cue { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===================== IMPRESIÓN (solo el afiche) ===================== */
@media print {
  @page { size: A4 portrait; margin: 0; }

  /* Agranda la unidad base: todo el afiche (en rem) escala parejo */
  html { font-size: 22px; }

  /* Se imprime únicamente el afiche, en una sola hoja */
  .no-print { display: none !important; }
  body > header,
  body > footer { display: none !important; }
  main > * { display: none !important; }
  main > #afiche-seccion { display: block !important; padding: 0 !important; }
  #afiche-seccion > div { max-width: none !important; padding: 0 !important; }
  #afiche-seccion > div > div:first-child { display: none !important; }
  #afiche-seccion .mt-12 { margin-top: 0 !important; }

  /* Tamaño grande y exacto: ~17,5 × 23,3 cm, centrado en una hoja A4 */
  #afiche {
    width: 30rem;
    height: 40rem;
    max-width: none;
    margin: 2.4cm auto;
    border-width: .4rem;
    box-shadow: none;
  }
  #afiche .afiche-titulo { font-size: 3.2rem; }

  /* Imprime los colores tal cual: fondo, dorados y celeste */
  #afiche,
  #afiche * {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}
