/* Campaña de Navidad: solo se carga cuando la promo está activa. Noche azul de Lucy con luces cálidas. */
:root {
  --noche: #0E1525;
  --noche-2: #16264D;
  --oro: #F5C451;
  --oro-claro: #FFE3A1;
  --rojo: #D6293E;
  --nieve: #C9D6F2;
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Cinta: queda fija junto con el menú. Al bajar se afina para tapar menos */
html:has(body.con-promo) { scroll-padding-top: 90px; }
.con-promo .site-header { background: #fff; }
.con-promo .site-header.is-scrolled .promo-cinta p { padding-top: 4px; padding-bottom: 4px; }
.promo-cinta { background: linear-gradient(90deg, var(--noche), var(--noche-2), var(--noche)); color: #fff; border-bottom: 2px solid var(--oro); }
.promo-cinta p { max-width: 960px; margin: 0 auto; padding: 7px 16px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2px 8px; font-size: 12px; text-align: center; }
.promo-cinta strong, .promo-cinta b { color: var(--oro-claro); }
.promo-reloj b { font-variant-numeric: tabular-nums; }
.promo-cinta a { color: var(--noche); background: var(--oro); border-radius: 999px; padding: 3px 11px; font-weight: 700; text-decoration: none; }
.promo-cinta a:hover { color: var(--noche); background: var(--oro-claro); }

/* Gorro sobre el logo */
.con-promo .brand { position: relative; }
.con-promo .brand::after { content: ''; position: absolute; right: -6px; top: -7px; width: 21px; height: 17px; pointer-events: none; transform: scaleX(-1) rotate(-18deg); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 36'%3E%3Cpath fill='%23D6293E' d='M5 27C7 13 17 4 26 6c7 2 11 8 12 16l-5-4-1 9z'/%3E%3Crect x='2' y='25' width='32' height='9' rx='4.5' fill='%23fff' stroke='%23C9D3E3'/%3E%3Ccircle cx='38' cy='23' r='5' fill='%23fff' stroke='%23C9D3E3'/%3E%3C/svg%3E") center / contain no-repeat; }

/* Fondo nocturno, guirnalda y nieve (hero y planes) */
.hero--promo, .promo-planes { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: radial-gradient(90% 70% at 80% 0%, #223C7E 0%, transparent 70%), linear-gradient(180deg, var(--noche) 0%, var(--noche-2) 100%); }
.promo-luces { position: absolute; left: 0; right: 0; top: 0; height: 34px; pointer-events: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='34'%3E%3Cpath d='M0 4Q40 24 80 4t80 0' fill='none' stroke='%235A6C96' stroke-width='1.2'/%3E%3C/svg%3E") repeat-x; }
.promo-luces::before, .promo-luces::after { content: ''; position: absolute; inset: 0; }
.promo-luces::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='34'%3E%3Cellipse cx='20' cy='17' rx='3' ry='4.5' fill='%23F5C451'/%3E%3Cellipse cx='100' cy='17' rx='3' ry='4.5' fill='%23F5C451'/%3E%3C/svg%3E") repeat-x; filter: drop-shadow(0 0 6px rgba(245, 196, 81, .9)); }
.promo-luces::after { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='34'%3E%3Cellipse cx='60' cy='17' rx='3' ry='4.5' fill='%23E5485C'/%3E%3Cellipse cx='140' cy='17' rx='3' ry='4.5' fill='%237FA6FF'/%3E%3C/svg%3E") repeat-x; filter: drop-shadow(0 0 6px rgba(170, 160, 255, .9)); }
.promo-nieve { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: radial-gradient(circle, var(--nieve) 1.4px, transparent 2px), radial-gradient(circle, var(--nieve) 1px, transparent 1.6px), radial-gradient(circle, #fff 1.8px, transparent 2.4px);
  background-size: 130px 160px, 90px 110px, 230px 280px;
  background-position: 10px 20px, 50px 70px, 120px 40px; }

/* Estrellas y trineo, detrás del contenido */
.promo-estrellas, .promo-trineo { display: none; position: absolute; z-index: -1; pointer-events: none; }
.promo-estrellas { inset: 0;
  background-image: radial-gradient(circle, #fff 1.2px, transparent 2.2px), radial-gradient(circle, var(--oro-claro) 1.6px, transparent 2.8px), radial-gradient(circle, #fff .9px, transparent 1.6px);
  background-size: 310px 230px, 470px 340px, 170px 190px;
  background-position: 60px 90px, 250px 40px, 20px 150px; }
.promo-trineo { left: 0; right: 0; top: 36px; height: 70px; }
.promo-trineo::before { content: ''; position: absolute; left: -260px; top: 0; width: 260px; height: 70px; background: url("../images/landing/trineo.svg") center / contain no-repeat; filter: drop-shadow(0 0 6px rgba(245, 196, 81, .45)); }

.promo-planes .plans { position: relative; }
.promo-trineo--planes { left: calc(50% - 50vw); right: auto; width: 100vw; top: 60px; }

/* Hero */
.hero--promo .pill { background: var(--oro); color: var(--noche); font-weight: 700; }
.hero--promo .hero-lead, .hero--promo .hero-proof { color: #D5DEF2; }
.hero--promo .hero-proof strong { color: #fff; }
.hero--promo .shot { color: var(--noche); border-color: rgba(245, 196, 81, .55); box-shadow: 0 19.2px 48px rgba(0, 0, 0, .45), 0 0 0 4px rgba(245, 196, 81, .12); }
.hero--promo .btn-primary { background: var(--oro); color: var(--noche); }
.hero--promo .btn-primary:hover { color: var(--noche); box-shadow: 0 8px 22px rgba(245, 196, 81, .35); }
.hero-promo-pill { position: absolute; right: 0; bottom: calc(100% + 12px); }
@media (min-width: 848px) {
  .hero--promo .hero-copy .btn-row { justify-content: flex-end; }
}

/* Planes */
.promo-head { align-items: center; text-align: center; margin: 0 auto; max-width: 720px; }
.promo-planes .sub { color: #D5DEF2; }
.promo-etiqueta { background: var(--rojo); color: #fff; border-radius: 999px; padding: 4px 12px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.promo-bill { align-self: center; display: flex; gap: 4px; padding: 4px; background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .22); border-radius: 12px; max-width: 100%; }
.promo-bill button { border: 0; background: transparent; color: #fff; border-radius: 9px; padding: 7px 18px; min-height: 44px; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 12.5px; font-weight: 600; }
.promo-bill small { font-size: 10px; font-weight: 600; color: var(--oro-claro); white-space: nowrap; }
.promo-bill button[aria-pressed="true"] { background: var(--oro); color: var(--noche); }
.promo-bill button[aria-pressed="true"] small { color: var(--noche); }

.promo-planes .plan { color: var(--noche); border-color: transparent; box-shadow: 0 16px 40px rgba(0, 0, 0, .3); }
.promo-planes .plan--pro { border: 2px solid var(--oro); animation: none; box-shadow: 0 0 0 5px rgba(245, 196, 81, .22), 0 16px 40px rgba(0, 0, 0, .35); }
.promo-selectores { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.promo-formas { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; font-size: 12px; color: #D5DEF2; }
.promo-formas button { border: 1px solid rgba(255, 255, 255, .3); background: transparent; color: #fff; border-radius: 999px; padding: 6px 14px; min-height: 34px; font-size: 12px; font-weight: 600; }
.promo-formas button[aria-pressed="true"] { background: #fff; border-color: #fff; color: var(--noche); }
.promo-formas[hidden], .promo-formas button[hidden] { display: none; }
.promo-precio { display: flex; flex-direction: column; gap: 4px; min-height: 100px; }
.promo-precio[hidden], .promo-duracion[hidden] { display: none; }
.promo-lista { min-height: 22px; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.promo-lista s { text-decoration-thickness: 1.5px; }
.promo-pct { position: relative; isolation: isolate; margin-left: 4px; padding: 0 6px 0 4px; height: 16px; line-height: 16px; font-size: 10px; font-weight: 800; color: var(--noche); background: var(--oro); border-radius: 0 5px 5px 0; }
/* Etiqueta de precio: punta redondeada a la izquierda y ojal */
.promo-pct::before { content: ''; position: absolute; z-index: -1; left: -5.5px; top: 2.35px; width: 11.3px; height: 11.3px; border-radius: 3px; background: var(--oro); transform: rotate(45deg); }
.promo-pct::after { content: ''; position: absolute; left: -4px; top: 6px; width: 4px; height: 4px; border-radius: 50%; background: #fff; }
.promo-mes { font-size: 12px; color: var(--muted); line-height: 1.1; }
.promo-mes .h { font-size: 30.4px; color: var(--noche); }
.promo-total { font-size: 12px; color: var(--text); }
.promo-solo { font-size: 12.5px; color: var(--text); padding-top: 24px; }
.promo-planes .promo-feats { gap: 6px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--text); }
.promo-planes .plan--pro .btn { background: var(--accent); color: #fff; }
.promo-planes .plan .btn:disabled { opacity: .45; cursor: not-allowed; translate: none; box-shadow: none; filter: none; }

.promo-planes .plan-note, .promo-planes .ya-inscripto { color: #D5DEF2; }
.promo-planes .plan-note a, .promo-planes .ya-inscripto a { color: var(--oro-claro); }
.promo-planes .pago-seguro { background: #fff; border-radius: 10px; padding: 4px 12px; }

@media (max-width: 767px) {
  .hero--promo .hero-in { padding-top: 48px; }
}
@media (max-width: 480px) {
  .promo-bill { align-self: stretch; display: grid; grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: no-preference) {
  .promo-nieve { animation: nevar 22s linear infinite; }
  .promo-luces::before { animation: parpadear 1.4s ease-in-out infinite; }
  .promo-luces::after { animation: parpadear 1.4s ease-in-out -.7s infinite; }
  @keyframes nevar { to { background-position: 10px 340px, 50px 290px, 120px 600px; } }
  @keyframes parpadear { 50% { opacity: .2; } }

  /* Cielo estrellado y trineo (solo en el hero; sin animación no se muestran) */
  .promo-estrellas { display: block; animation: parpadear 3.2s ease-in-out infinite; }
  .promo-trineo { display: block; animation: volar 22s linear 1.5s infinite backwards; }
  .promo-trineo::before { animation: girar 22s step-end 1.5s infinite; }
  /* Ida por arriba (0-40 %), vuelta más abajo, a la altura del botón (50-90 %). Cambia de altura mientras no se ve */
  @keyframes volar {
    0% { top: 36px; transform: translate(0, 14px); }
    10% { transform: translate(calc(25% + 65px), -6px); }
    20% { transform: translate(calc(50% + 130px), 6px); }
    30% { transform: translate(calc(75% + 195px), -8px); }
    40%, 44% { top: 36px; transform: translate(calc(100% + 260px), 0); }
    46%, 50% { top: calc(78% - 35px); transform: translate(calc(100% + 260px), 10px); }
    60% { transform: translate(calc(75% + 195px), -8px); }
    70% { transform: translate(calc(50% + 130px), 6px); }
    80% { transform: translate(calc(25% + 65px), -6px); }
    90%, 94% { top: calc(78% - 35px); transform: translate(0, 10px); }
    96%, 100% { top: 36px; transform: translate(0, 14px); }
  }
  @keyframes girar { 0% { transform: scaleX(1); } 45% { transform: scaleX(-1); } 95% { transform: scaleX(1); } }

  /* En planes pasa por detrás de las tarjetas, a la altura de los precios */
  .promo-trineo--planes { animation-name: volar-planes; animation-delay: 3s; }
  .promo-trineo--planes::before { animation-delay: 3s; }
  @keyframes volar-planes {
    0% { transform: translate(0, 10px); }
    10% { transform: translate(calc(25% + 65px), -10px); }
    20% { transform: translate(calc(50% + 130px), 8px); }
    30% { transform: translate(calc(75% + 195px), -10px); }
    40%, 50% { transform: translate(calc(100% + 260px), 6px); }
    60% { transform: translate(calc(75% + 195px), -10px); }
    70% { transform: translate(calc(50% + 130px), 8px); }
    80% { transform: translate(calc(25% + 65px), -10px); }
    90%, 100% { transform: translate(0, 10px); }
  }
}
