/* Partes nuevas sobre el diseno de la web anterior (vieja/app.css). Mismos colores: #080102, rojos, Domine + Atkinson */
:root { --rojo: #fb2c36; --rojo2: #bf000f; --txt: #fff0f0; --txt2: rgba(255, 210, 210, .7); }

/* emblema de horas en vez del emblema de rango */
.hora-emblema { width: 64px; height: 64px; margin: 0 auto; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center;
                border: 1px solid rgba(251, 44, 54, .45); background: radial-gradient(circle at 50% 35%, rgba(251, 44, 54, .35), rgba(70, 8, 9, .5));
                box-shadow: 0 0 22px rgba(251, 44, 54, .35), inset 0 0 12px rgba(0, 0, 0, .6); animation: latido 3.2s ease-in-out infinite; }
.hora-emblema b { font-family: var(--font-serif, 'Domine'), serif; font-size: 22px; line-height: 1; color: var(--txt); }
.hora-emblema span { font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255, 210, 210, .75); margin-top: 2px; }
@keyframes latido { 50% { box-shadow: 0 0 34px rgba(251, 44, 54, .6), inset 0 0 12px rgba(0, 0, 0, .6); } }
.nota-planes { grid-column: 1 / -1; text-align: center; color: var(--txt2); margin-top: 18px; font-size: .95rem; }
.nota-planes a { color: var(--rojo); }

/* boton relleno de la portada (mismo corte en diagonal que 'Ver servicios') */
.btn-relleno { background: linear-gradient(135deg, #b91c1c, #ef4444) !important; color: #fff !important; border-color: transparent !important;
               box-shadow: 0 0 24px rgba(220, 38, 38, .45); }

/* textos de las secciones nuevas */
.sub-nueva { color: var(--txt2); margin-top: 14px; }
.grid-pruebas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-pruebas figure { margin: 0; overflow: hidden; }
.grid-pruebas img { width: 100%; aspect-ratio: 9 / 12; object-fit: cover; object-position: top; transition: transform .7s; }
.grid-pruebas figure:hover img { transform: scale(1.05); }
.grid-pruebas figcaption { padding: 12px 16px; color: var(--txt2); font-size: .9rem; }
.grid-pruebas figcaption b { color: var(--txt); }
@media (max-width: 760px) { .grid-pruebas { grid-template-columns: 1fr 1fr; } .grid-pruebas figure:last-child { display: none; } }

.grid-pasos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.paso { padding: 26px; }
.paso span { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(251, 44, 54, .45);
             background: rgba(70, 8, 9, .45); color: var(--rojo); font-family: 'Domine', serif; font-weight: 700; font-size: 20px; margin-bottom: 14px; }
.paso h3 { font-family: 'Domine', serif; text-transform: uppercase; font-size: 1.05rem; color: var(--txt); margin: 0 0 8px; }
.paso p { color: var(--txt2); margin: 0; font-size: .92rem; line-height: 1.7; }
@media (max-width: 760px) { .grid-pasos { grid-template-columns: 1fr; } }

.faq { display: block; padding: 18px 22px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--txt); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: '+'; color: var(--rojo); font-size: 1.3rem; line-height: 1; transition: transform .25s; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--txt2); margin: 10px 0 0; font-size: .92rem; }

/* resenas (carrusel pintado por extra.js con las clases originales) */
.resena-cat { align-self: flex-start; font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; padding: 2px 10px; border-radius: 99px;
              border: 1px solid rgba(251, 146, 60, .3); color: #fb923c; }
.resena-cat.real { border-color: rgba(0, 199, 88, .35); color: #34d399; }
.carrusel-tarjetas > div { transition: opacity .45s, transform .45s; }
.carrusel-tarjetas.cambiando > div { opacity: 0; transform: translateY(10px); }

/* aparecer al hacer scroll */
.revelar { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.22, 1, .36, 1), transform .8s cubic-bezier(.22, 1, .36, 1); }
.revelar.visto { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .revelar { opacity: 1; transform: none; transition: none; } .hora-emblema { animation: none; } }

/* ---------------------------------------------------------------- planes = rangos del Ejercito de Sombras (emblemas de sub de Twitch) */
@property --giro { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.planes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; max-width: 1120px; margin: 0 auto; padding-top: 14px; }
@media (max-width: 1023px) { .planes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .planes { grid-template-columns: 1fr; gap: 22px; } }
.plan { --rx: 0deg; --ry: 0deg; position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; border-radius: 22px; padding: 24px 22px 20px;
        background: color-mix(in srgb, var(--c) 28%, transparent); text-align: center;
        transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry)); box-shadow: 0 18px 50px rgba(0, 0, 0, .55);
        transition: opacity .8s cubic-bezier(.22, 1, .36, 1) var(--d), translate .8s cubic-bezier(.22, 1, .36, 1) var(--d), transform .25s ease-out, box-shadow .35s; }
.plan.revelar { transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry)); translate: 0 34px; }
.plan.revelar.visto { translate: 0 0; }
.plan::before { content: ''; position: absolute; inset: 1.5px; border-radius: 21px; z-index: -1;
                background: radial-gradient(120% 60% at 50% 0%, color-mix(in srgb, var(--cd) 70%, transparent), transparent 70%), linear-gradient(180deg, #120609, #070203 75%); }
.plan::after { content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: 22px;
               background: linear-gradient(105deg, transparent 38%, color-mix(in srgb, var(--c) 30%, rgba(255, 255, 255, .25)) 50%, transparent 62%);
               translate: -120% 0; transition: translate .9s ease; }
.plan:hover::after { translate: 120% 0; }
.plan:hover { box-shadow: 0 24px 60px rgba(0, 0, 0, .6), 0 0 46px color-mix(in srgb, var(--c) 35%, transparent); }
.plan-borde { position: absolute; inset: -60%; z-index: -2; opacity: .35; transition: opacity .4s;
              background: conic-gradient(from var(--giro), transparent 0 62%, var(--c) 80%, #fff 84%, var(--c) 88%, transparent 100%); animation: girar 5s linear infinite; }
.plan:hover .plan-borde, .plan-top .plan-borde, .plan:last-child .plan-borde { opacity: 1; }
@keyframes girar { to { --giro: 360deg; } }
.plan-top { scale: 1.03; }
.plan-cinta { position: absolute; top: 14px; left: 50%; translate: -50% 0; z-index: 2; white-space: nowrap; font-size: .62rem; font-weight: 900; letter-spacing: 3px; padding: 4px 14px;
              border-radius: 99px; color: #12060a; background: linear-gradient(90deg, #fff, var(--c)); box-shadow: 0 0 18px color-mix(in srgb, var(--c) 60%, transparent); }
.plan-emblema { position: relative; width: 88px; height: 88px; margin: 12px auto 4px; display: grid; place-items: center; }
.plan-emblema::before { content: ''; position: absolute; inset: -14px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--c) 45%, transparent), transparent 68%);
                        animation: aura 3.4s ease-in-out infinite; }
.plan-emblema img { position: relative; width: 100%; height: 100%; filter: drop-shadow(0 0 14px color-mix(in srgb, var(--c) 75%, transparent)); animation: flotar 4s ease-in-out infinite; transition: scale .35s; }
.plan:hover .plan-emblema img { scale: 1.12; }
@keyframes flotar { 50% { translate: 0 -7px; } }
@keyframes aura { 50% { opacity: .55; scale: 1.15; } }
.plan-rango { margin: 0; font-size: .66rem; font-weight: 800; letter-spacing: 4px; text-transform: uppercase; color: var(--c); }
.plan h3 { margin: 4px 0 6px; font-family: 'Domine', serif; font-weight: 700; text-transform: uppercase; font-size: 1.5rem; line-height: 1.15; letter-spacing: .5px;
           color: #fff; text-shadow: 0 0 10px color-mix(in srgb, var(--c) 90%, transparent), 0 0 26px color-mix(in srgb, var(--c) 70%, transparent), 0 2px 0 rgba(0, 0, 0, .6); }
.plan:hover h3 { text-shadow: 0 0 14px var(--c), 0 0 36px var(--c), 0 2px 0 rgba(0, 0, 0, .6); }
.plan-rango { font-size: .72rem !important; text-shadow: 0 0 10px var(--c); }
.plan-frase { margin: 0 0 8px; color: var(--txt2); font-size: .86rem; }
.plan-precio { display: flex; align-items: baseline; justify-content: center; gap: 6px; }
.plan-precio span { font-family: 'Domine', serif; font-size: 2.6rem; font-weight: 700; line-height: 1; color: #fff; text-shadow: 0 0 24px color-mix(in srgb, var(--c) 55%, transparent); }
.plan-precio small { color: var(--txt2); font-weight: 700; letter-spacing: 1px; }
.plan-lanza { margin: 2px 0 6px; }
.plan-lanza span { display: inline-block; padding: 3px 10px; border-radius: 99px; font-size: .7rem; font-weight: 900; letter-spacing: 1.2px; text-transform: uppercase; color: #fff;
                   background: linear-gradient(135deg, #ff2d3d, #ff8a00); box-shadow: 0 0 14px rgba(255, 60, 40, .55); animation: latido 1.8s ease-in-out infinite; }
@keyframes latido { 50% { scale: 1.08; box-shadow: 0 0 22px rgba(255, 90, 40, .85); } }
.plan-horas { margin: 2px 0 10px; color: var(--txt2); font-size: .85rem; }
.plan-horas b { color: var(--c); font-size: 1rem; }
.plan ul { list-style: none; margin: 0 0 12px; padding: 10px 0 0; border-top: 1px solid color-mix(in srgb, var(--c) 22%, transparent); display: flex; flex-direction: column; gap: 6px; flex: 1; text-align: left; }
.plan li { display: flex; gap: 10px; align-items: flex-start; padding: 6px 10px; border-radius: 10px; border-left: 2px solid transparent; }
.plan li i { font-style: normal; font-size: 1.05rem; line-height: 1.3; width: 22px; text-align: center; flex-shrink: 0; }
.plan li b { display: block; color: var(--txt); font-size: .84rem; }
.plan li small { display: block; color: rgba(255, 210, 210, .58); font-size: .74rem; line-height: 1.45; margin-top: 1px; }
.plan li.nueva { background: color-mix(in srgb, var(--c) 12%, transparent); border-left-color: var(--c); }
.plan li.nueva b::after { content: 'NUEVO'; margin-left: 8px; font-size: .55rem; letter-spacing: 1.5px; padding: 1px 6px; border-radius: 99px; vertical-align: 2px; color: #12060a; background: var(--c); }
.plan li.previo { padding: 5px 10px; opacity: .7; } .plan li.previo b { font-size: .78rem; font-weight: 700; }
.plan li[title] { cursor: help; }
.plan .plan-todo { display: none; }
.plan.abierta .plan-corta { display: none; } .plan.abierta .plan-todo { display: flex; animation: abrir-todo .45s cubic-bezier(.22, 1, .36, 1); }
.plan.abierta .plan-todo li { animation: abrir-li .4s cubic-bezier(.22, 1, .36, 1) both; }
.plan.abierta .plan-todo li:nth-child(2) { animation-delay: .04s; } .plan.abierta .plan-todo li:nth-child(3) { animation-delay: .08s; } .plan.abierta .plan-todo li:nth-child(4) { animation-delay: .12s; }
.plan.abierta .plan-todo li:nth-child(5) { animation-delay: .16s; } .plan.abierta .plan-todo li:nth-child(6) { animation-delay: .2s; } .plan.abierta .plan-todo li:nth-child(7) { animation-delay: .24s; }
.plan.abierta .plan-todo li:nth-child(8) { animation-delay: .28s; } .plan.abierta .plan-todo li:nth-child(9) { animation-delay: .32s; } .plan.abierta .plan-todo li:nth-child(10) { animation-delay: .36s; }
@keyframes abrir-todo { from { opacity: 0; } }
@keyframes abrir-li { from { opacity: 0; translate: -14px 0; } }
.plan-ver { align-self: center; margin: -4px 0 12px; padding: 6px 14px; border-radius: 99px; cursor: pointer; font: inherit; font-size: .74rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
            color: var(--c); background: color-mix(in srgb, var(--c) 10%, transparent); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); transition: background .2s, box-shadow .2s; }
.plan-ver:hover { background: color-mix(in srgb, var(--c) 22%, transparent); box-shadow: 0 0 18px color-mix(in srgb, var(--c) 40%, transparent); }
.plan-ver span:last-child, .plan.abierta .plan-ver span:first-child { display: none; } .plan.abierta .plan-ver span:last-child { display: inline; }
.plan-ver span:first-child::after { content: ' ▾'; } .plan-ver span:last-child::after { content: ' ▴'; }
.plan-nota { margin: -4px 0 12px; font-size: .72rem; color: rgba(255, 210, 210, .5); font-style: italic; }
.plan-boton { position: relative; display: block; padding: 13px 18px; border-radius: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; font-size: .82rem;
              color: #fff; text-decoration: none; text-shadow: 0 1px 6px rgba(0, 0, 0, .5); background: linear-gradient(135deg, var(--cd), color-mix(in srgb, var(--c) 85%, #000));
              box-shadow: 0 0 0 1px color-mix(in srgb, var(--c) 55%, transparent), 0 8px 22px color-mix(in srgb, var(--cd) 60%, transparent); transition: translate .2s, box-shadow .3s, filter .2s; }
.plan-boton:hover { translate: 0 -2px; filter: brightness(1.15); box-shadow: 0 0 0 1px var(--c), 0 10px 30px color-mix(in srgb, var(--c) 50%, transparent); }
.plan-alt { display: block; margin-top: 9px; font-size: .74rem; text-align: center; color: rgba(255, 210, 210, .6); text-decoration: underline; text-underline-offset: 3px; }
.plan-alt:hover { color: #fff; }
.plan-msi { display: inline-flex; align-items: center; gap: 8px; margin: -2px auto 12px; padding: 4px 12px 4px 4px; border-radius: 999px; font-size: .74rem; color: #d9ffe6;
            background: rgba(22, 163, 74, .14); border: 1px dashed rgba(74, 222, 128, .55); }
.plan-msi b { padding: 2px 8px; border-radius: 999px; background: #16a34a; color: #fff; font-weight: 800; letter-spacing: .5px; }
.cupon-caja { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 10px; max-width: 640px; margin: 0 auto 28px; padding: 12px 16px;
               border-radius: 14px; background: rgba(76, 29, 149, .25); border: 1px dashed rgba(196, 181, 253, .5); font-size: .88rem; color: #ede9fe; }
.cupon-caja input { width: 150px; padding: 8px 10px; border-radius: 9px; border: 1px solid rgba(196, 181, 253, .5); background: rgba(0, 0, 0, .4); color: #fff;
                     font: 700 .9rem/1 inherit; letter-spacing: 1px; text-transform: uppercase; }
.cupon-caja button { padding: 8px 14px; border: 0; border-radius: 9px; font-weight: 800; color: #1a0b2e; background: #f5c451; cursor: pointer; }
.cupon-caja small { flex-basis: 100%; text-align: center; font-size: .78rem; }
.cupon-caja small.ok { color: #86efac; } .cupon-caja small.mal { color: #fca5a5; }
.plan-precio.tachado span { text-decoration: line-through; text-decoration-thickness: 3px; opacity: .55; }
.plan-cupon { margin: -2px 0 10px; font-size: .85rem; color: #f5c451; } .plan-cupon b { font-size: 1.15rem; color: #fff6c2; }
.pie-legal { position: relative; z-index: 2; padding: 22px 16px 90px; text-align: center; font-size: .78rem; color: rgba(255, 210, 210, .45); }
.pie-legal a { color: rgba(255, 210, 210, .7); margin: 0 8px; }
.aviso-cookies { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 560px; margin: 0 auto; display: flex; gap: 12px; align-items: center;
                 padding: 12px 14px; border-radius: 14px; font-size: .8rem; color: #f3e3e3; background: rgba(20, 8, 10, .95); border: 1px solid rgba(251, 44, 54, .35);
                 box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }
.aviso-cookies a { color: #ff7a7a; }
.aviso-cookies button { flex: none; padding: 8px 14px; border: 0; border-radius: 10px; font-weight: 700; color: #fff; background: #dc2626; cursor: pointer; }
.aviso-cookies[hidden] { display: none; }
.nueva-txt { color: #fff; background: rgba(251, 44, 54, .25); border-left: 2px solid var(--rojo); padding: 0 6px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { .plan-borde, .plan-emblema img, .plan-emblema::before { animation: none; } .plan.revelar { translate: none; } .plan::after { display: none; } }

/* ---------------------------------------------------------------- portada viva */
#inicio { position: relative; }
.chispas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.hero-alumnos { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; padding: 8px 16px 8px 12px; border-radius: 99px; text-decoration: none;
                background: linear-gradient(90deg, rgba(251, 44, 54, .18), rgba(251, 44, 54, .05)); border: 1px solid rgba(251, 44, 54, .35);
                box-shadow: 0 0 24px rgba(251, 44, 54, .2); animation: aparecer-arriba .9s cubic-bezier(.22, 1, .36, 1) .2s both; transition: border-color .3s, box-shadow .3s; }
.hero-alumnos:hover { border-color: rgba(251, 44, 54, .7); box-shadow: 0 0 34px rgba(251, 44, 54, .4); }
.hero-alumnos b { font-family: 'Domine', serif; font-size: 1.15rem; color: #fff; min-width: 2.2ch; }
.hero-alumnos b::after { content: '+'; color: var(--rojo); }
.hero-alumnos span:last-child { font-size: .78rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--txt2); }
.vivo { position: relative; width: 10px; height: 10px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 10px #22c55e; }
.vivo::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: #22c55e; animation: ping 1.6s cubic-bezier(0, 0, .2, 1) infinite; }
@keyframes aparecer-arriba { from { opacity: 0; translate: 0 -14px; } }
.brillo-texto { background-size: 220% auto !important; animation: brillo 5s linear infinite; }
@keyframes brillo { to { background-position: 220% center; } }

.foto-caja { position: relative; }
.foto-aura { position: absolute; inset: 8% 4%; border-radius: 50%; z-index: 0; pointer-events: none;
             background: radial-gradient(circle, rgba(251, 44, 54, .45), rgba(191, 0, 15, .15) 45%, transparent 70%); filter: blur(30px); animation: aura-foto 4.5s ease-in-out infinite; }
@keyframes aura-foto { 50% { opacity: .55; scale: 1.08; } }
.foto-anillo { position: absolute; left: 50%; top: 50%; width: min(92%, 560px); aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; z-index: 0; pointer-events: none;
               background: conic-gradient(from 0deg, transparent 0 70%, rgba(251, 44, 54, .8) 85%, transparent 100%);
               -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px)); mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
               animation: spin 9s linear infinite; opacity: .7; }
.foto-marco { position: relative; z-index: 1; transform: perspective(1200px) rotateX(var(--fx, 0deg)) rotateY(var(--fy, 0deg)); transition: transform .3s ease-out, box-shadow .4s; }
.foto-marco:hover { box-shadow: 0 30px 80px rgba(0, 0, 0, .7), 0 0 60px rgba(251, 44, 54, .3); }
.foto-destello { position: absolute; inset: 0; z-index: 15; pointer-events: none;
                 background: linear-gradient(110deg, transparent 40%, rgba(255, 220, 220, .16) 50%, transparent 60%); translate: -130% 0; animation: destello 6s ease-in-out 2.5s infinite; }
@keyframes destello { 0%, 70% { translate: -130% 0; } 100% { translate: 130% 0; } }
.foto-chip { position: absolute; z-index: 20; padding: 8px 14px; border-radius: 12px; font-size: .78rem; font-weight: 800; color: #fff; white-space: nowrap;
             background: rgba(20, 4, 6, .72); backdrop-filter: blur(8px); border: 1px solid rgba(251, 44, 54, .35); box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
             opacity: 0; animation: chip-entra .8s cubic-bezier(.22, 1, .36, 1) forwards, flotar 4.5s ease-in-out infinite; }
.chip-1 { top: 14%; left: -2%; animation-delay: 1.2s, 2s; }
.chip-2 { top: 46%; right: -3%; animation-delay: 1.45s, 2.6s; }
.chip-3 { bottom: 20%; left: 2%; animation-delay: 1.7s, 3.2s; }
@keyframes chip-entra { from { opacity: 0; scale: .7; } to { opacity: 1; scale: 1; } }
@media (max-width: 767px) { .foto-chip { font-size: .68rem; padding: 6px 10px; } .chip-1 { left: 0; } .chip-2 { right: 0; } .chip-3 { display: none; } }

/* ---------------------------------------------------------------- temas */
.temas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 760px) { .temas { grid-template-columns: 1fr; } }
.tema { position: relative; overflow: hidden; padding: 26px; border-radius: 20px; border: 1px solid color-mix(in srgb, var(--c) 25%, transparent);
        background: radial-gradient(90% 70% at 0% 0%, color-mix(in srgb, var(--cd) 45%, transparent), transparent 65%), rgba(18, 5, 8, .75);
        transition: opacity .8s cubic-bezier(.22, 1, .36, 1), transform .8s cubic-bezier(.22, 1, .36, 1), border-color .3s, box-shadow .3s; }
.tema:hover { border-color: color-mix(in srgb, var(--c) 60%, transparent); box-shadow: 0 0 40px color-mix(in srgb, var(--c) 18%, transparent); }
.tema-cab { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.tema-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; font-size: 1.6rem; flex-shrink: 0;
            background: linear-gradient(135deg, color-mix(in srgb, var(--c) 35%, transparent), color-mix(in srgb, var(--cd) 50%, transparent));
            border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); box-shadow: 0 0 22px color-mix(in srgb, var(--c) 30%, transparent); animation: flotar 4s ease-in-out infinite; }
.tema h3 { margin: 0; font-family: 'Domine', serif; text-transform: uppercase; font-size: 1.05rem; color: #fff; }
.tema small { color: var(--c); font-weight: 800; font-size: .72rem; letter-spacing: 2px; text-transform: uppercase; }
.tema ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tema li { padding: 7px 13px; border-radius: 99px; font-size: .82rem; color: rgba(255, 225, 225, .85); cursor: default;
           background: color-mix(in srgb, var(--c) 9%, transparent); border: 1px solid color-mix(in srgb, var(--c) 22%, transparent);
           opacity: 0; translate: 0 10px; scale: .92; transition: opacity .5s, translate .5s, scale .5s, background .25s, border-color .25s, color .25s, box-shadow .25s;
           transition-delay: calc(var(--i) * 55ms + 200ms); }
.tema.visto li { opacity: 1; translate: 0 0; scale: 1; }
.tema li:hover { transition-delay: 0s; background: color-mix(in srgb, var(--c) 28%, transparent); border-color: var(--c); color: #fff; box-shadow: 0 0 16px color-mix(in srgb, var(--c) 40%, transparent); scale: 1.05; }

/* ---------------------------------------------------------------- extras */
.progreso-scroll { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 9999; transform-origin: 0 50%; scale: var(--p, 0) 1;
                   background: linear-gradient(90deg, #bf000f, #fb2c36, #fdba74); box-shadow: 0 0 10px rgba(251, 44, 54, .7); pointer-events: none; }
.flotante-discord { position: fixed; right: 20px; bottom: 20px; z-index: 900; display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 99px;
                    color: #fff; text-decoration: none; background: #5865f2; box-shadow: 0 10px 30px rgba(88, 101, 242, .45); transition: padding .3s, box-shadow .3s; }
.flotante-discord svg { width: 26px; height: 26px; flex-shrink: 0; }
.flotante-discord span { max-width: 0; overflow: hidden; white-space: nowrap; font-weight: 800; font-size: .85rem; transition: max-width .4s; }
.flotante-discord:hover { padding-right: 18px; box-shadow: 0 12px 40px rgba(88, 101, 242, .7); }
.flotante-discord:hover span { max-width: 180px; }
.cta-movil { display: none; }
@media (max-width: 767px) {
  .cta-movil { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 950; display: flex; align-items: center; justify-content: space-between; gap: 12px;
               padding: 10px 10px 10px 18px; border-radius: 16px; background: rgba(20, 4, 6, .9); backdrop-filter: blur(10px); border: 1px solid rgba(251, 44, 54, .4);
               box-shadow: 0 10px 30px rgba(0, 0, 0, .6); translate: 0 140%; transition: translate .45s cubic-bezier(.22, 1, .36, 1); }
  .cta-movil.ver { translate: 0 0; }
  .cta-movil span { color: var(--txt2); font-size: .9rem; } .cta-movil b { color: #fff; }
  .cta-movil a { padding: 10px 16px; border-radius: 10px; font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: 1px; color: #fff; text-decoration: none;
                 background: linear-gradient(135deg, #b91c1c, #ef4444); }
  .flotante-discord { bottom: 84px; right: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .foto-aura, .foto-anillo, .foto-destello, .foto-chip, .brillo-texto, .tema-ico, .hero-alumnos { animation: none !important; } .foto-chip { opacity: 1; }
  .tema li { opacity: 1; translate: none; scale: 1; transition: none; } .chispas { display: none; }
}

/* ---------------------------------------------------------------- resto animado */
/* menu: se compacta al bajar, subrayado que crece y seccion activa */
nav.fixed { transition: box-shadow .35s, background-color .35s; }
nav.fixed.bajado { box-shadow: 0 8px 30px rgba(0, 0, 0, .6), 0 1px 0 rgba(251, 44, 54, .35); }
nav.fixed ul a { position: relative; }
nav.fixed ul a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #bf000f, #fb2c36, #fdba74);
                        transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.22, 1, .36, 1); }
nav.fixed ul a:hover::after, nav.fixed ul a.activo::after { transform: scaleX(1); }
nav.fixed ul a.activo { color: #fff !important; }
nav.fixed img { transition: filter .3s; } nav.fixed a:hover img { filter: drop-shadow(0 0 10px rgba(251, 44, 54, .8)); }

/* titulos: las rayitas crecen y la palabra roja brilla */
.ceja-anim > span { transform: scaleX(0); transition: transform .9s cubic-bezier(.22, 1, .36, 1) .2s; }
.ceja-anim > span:first-child { transform-origin: right; } .ceja-anim > span:last-child { transform-origin: left; }
.ceja-anim.visto > span { transform: scaleX(1); }

/* franja de numeros */
.celda-num { position: relative; overflow: hidden; }
.celda-num::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, #fb2c36, transparent);
                     translate: -100% 0; animation: barrido 4s ease-in-out infinite; animation-delay: var(--dl, 0s); }
@keyframes barrido { 60%, 100% { translate: 100% 0; } }
.celda-num { transition: background .3s; } .celda-num:hover { background: rgba(251, 44, 54, .07); }
.celda-num [data-contar] { transition: scale .3s; } .celda-num:hover [data-contar] { scale: 1.1; }

/* resultados: inclinacion, brillo y visor */
.grid-pruebas figure { position: relative; cursor: zoom-in; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
                       transition: opacity .8s cubic-bezier(.22, 1, .36, 1), translate .8s cubic-bezier(.22, 1, .36, 1), transform .25s ease-out, box-shadow .35s, border-color .3s !important; }
.grid-pruebas figure.revelar { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); translate: 0 30px; }
.grid-pruebas figure.revelar.visto { translate: 0 0; }
.grid-pruebas figure:hover { box-shadow: 0 20px 50px rgba(0, 0, 0, .6), 0 0 40px rgba(251, 44, 54, .3); border-color: rgba(251, 44, 54, .5) !important; }
.grid-pruebas figure::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(110deg, transparent 40%, rgba(255, 220, 220, .18) 50%, transparent 60%);
                              translate: -120% 0; transition: translate .9s; }
.grid-pruebas figure:hover::after { translate: 120% 0; }
.sello-real { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 5px 11px; border-radius: 99px; font-size: .68rem; font-weight: 800; letter-spacing: 1px; color: #052e16;
              background: linear-gradient(90deg, #4ade80, #22c55e); box-shadow: 0 0 16px rgba(34, 197, 94, .5); }
.visor { position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center; padding: 24px; background: rgba(5, 0, 1, .88); backdrop-filter: blur(8px); cursor: zoom-out;
         animation: visor-in .3s ease; }
.visor[hidden] { display: none; }
.visor img { max-width: min(92vw, 900px); max-height: 88vh; border-radius: 14px; box-shadow: 0 0 60px rgba(251, 44, 54, .35); animation: visor-img .4s cubic-bezier(.22, 1, .36, 1); }
.visor button { position: absolute; top: 18px; right: 22px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(251, 44, 54, .5); background: rgba(20, 4, 6, .8); color: #fff; font-size: 1.1rem; cursor: pointer; }
@keyframes visor-in { from { opacity: 0; } } @keyframes visor-img { from { opacity: 0; scale: .85; } }

/* como funciona: linea que se dibuja uniendo los pasos */
.grid-pasos { position: relative; }
.grid-pasos::before { content: ''; position: absolute; top: 49px; left: 16%; right: 16%; height: 2px; z-index: 0;
                      background: linear-gradient(90deg, #bf000f, #fb2c36, #fdba74); box-shadow: 0 0 12px rgba(251, 44, 54, .6); transform: scaleX(0); transform-origin: left; transition: transform 1.6s cubic-bezier(.65, 0, .35, 1) .3s; }
.grid-pasos.visto::before { transform: scaleX(1); }
.paso { position: relative; z-index: 1; transition: opacity .8s, transform .8s, border-color .3s, box-shadow .3s !important; }
.paso:hover { box-shadow: 0 0 34px rgba(251, 44, 54, .2); border-color: rgba(251, 44, 54, .45) !important; }
.paso span { position: relative; background: #170507 !important; transition: scale .5s cubic-bezier(.34, 1.56, .64, 1), box-shadow .4s, background .4s; scale: .4; }
.paso.visto span { scale: 1; box-shadow: 0 0 0 6px rgba(251, 44, 54, .08), 0 0 22px rgba(251, 44, 54, .45); }
.paso span::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid rgba(251, 44, 54, .5); animation: onda 2.4s ease-out infinite; animation-delay: var(--dl, 0s); }
@keyframes onda { from { opacity: 1; scale: .8; } to { opacity: 0; scale: 1.5; } }
@media (max-width: 760px) { .grid-pasos::before { top: 30px; bottom: 30px; left: 49px; right: auto; width: 2px; height: auto; transform: scaleY(0); transform-origin: top; } .grid-pasos.visto::before { transform: scaleY(1); } }

/* resenas */
.carrusel-tarjetas > div { position: relative; transition: opacity .45s, transform .45s, box-shadow .3s, border-color .3s !important; }
.carrusel-tarjetas > div:hover { transform: translateY(-6px); box-shadow: 0 18px 44px rgba(0, 0, 0, .55), 0 0 30px rgba(251, 44, 54, .18); }
.carrusel-tarjetas > div::before { content: '“'; position: absolute; top: -8px; right: 18px; font-family: 'Domine', serif; font-size: 5rem; line-height: 1; color: rgba(251, 44, 54, .18); pointer-events: none; }

/* sobre mi */
#sobre-coach [class*="rounded-xl"] { position: relative; overflow: hidden; }
#sobre-coach [class*="rounded-xl"]::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(251, 44, 54, .22), transparent 55%);
                                             opacity: 0; transition: opacity .3s; }
#sobre-coach [class*="rounded-xl"]:hover::after { opacity: 1; }
#sobre-coach li { transition: opacity .6s, translate .6s; }
#sobre-coach ul.anim li { opacity: 0; translate: -16px 0; } #sobre-coach ul.anim.visto li { opacity: 1; translate: 0 0; }

/* preguntas: se abren con animacion */
.faq { interpolate-size: allow-keywords; transition: border-color .3s, box-shadow .3s, opacity .8s, transform .8s; }
.faq::details-content { height: 0; overflow: hidden; transition: height .4s cubic-bezier(.22, 1, .36, 1), content-visibility .4s allow-discrete; }
.faq[open]::details-content { height: auto; }
.faq[open], .faq:hover { border-color: rgba(251, 44, 54, .45) !important; box-shadow: 0 0 26px rgba(251, 44, 54, .14); }
.faq[open] summary { color: #fff; }

/* redes: cada una con su color al pasar el raton */
#contacto a[data-red] { --rc: #fb2c36; transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), box-shadow .3s, border-color .3s !important; }
#contacto a[data-red="tiktok"] { --rc: #25f4ee; } #contacto a[data-red="twitch"] { --rc: #a970ff; } #contacto a[data-red="youtube"] { --rc: #ff3b3b; }
#contacto a[data-red="instagram"] { --rc: #f77737; } #contacto a[data-red="discord"] { --rc: #5865f2; }
#contacto a[data-red]:hover { transform: translateY(-6px) scale(1.03); border-color: var(--rc) !important; box-shadow: 0 14px 40px color-mix(in srgb, var(--rc) 35%, transparent) !important; }
#contacto a[data-red]:hover svg { color: var(--rc); animation: rebote .6s; } #contacto a[data-red]:hover p:last-child { color: var(--rc) !important; }
@keyframes rebote { 30% { transform: translateY(-5px) rotate(-8deg); } 60% { transform: translateY(1px) rotate(5deg); } }

/* luz que sigue al raton */
.cursor-luz { position: fixed; left: 0; top: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; pointer-events: none; z-index: 1;
              background: radial-gradient(circle, rgba(251, 44, 54, .09), transparent 60%); translate: var(--cx, -999px) var(--cy, -999px); transition: opacity .4s; mix-blend-mode: screen; }
@media (hover: none), (pointer: coarse) { .cursor-luz { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .celda-num::before, .paso span::after { animation: none; } .ceja-anim > span { transform: none; } .grid-pasos::before { transform: none; } .paso span { scale: 1; }
  #sobre-coach ul.anim li { opacity: 1; translate: none; } .cursor-luz { display: none; } .grid-pruebas figure.revelar { translate: none; }
}
/* sobre mi: capturas con zoom y brillo */
#sobre-coach img { transition: transform .6s cubic-bezier(.22, 1, .36, 1), filter .4s; }
#sobre-coach img:hover { transform: scale(1.06); filter: brightness(1.15) drop-shadow(0 0 18px rgba(251, 44, 54, .45)); }

/* ---------------------------------------------------------------- wow: intro ARISE */
.intro { position: fixed; inset: 0; z-index: 20000; display: grid; place-content: center; justify-items: center; gap: 14px; background: radial-gradient(circle at 50% 55%, #2a0306, #050001 65%);
         animation: intro-fuera .7s cubic-bezier(.7, 0, .3, 1) 2.1s forwards; cursor: pointer; }
.intro.saltar { animation: intro-fuera .35s ease forwards; }
.intro-txt { display: flex; gap: .06em; font-family: 'Domine', serif; font-weight: 700; font-size: clamp(3.5rem, 14vw, 9rem); letter-spacing: .12em; line-height: 1; }
.intro-txt span { display: inline-block; color: #fff; opacity: 0; translate: 0 .6em; filter: blur(10px);
                  text-shadow: 0 0 24px rgba(251, 44, 54, .9), 0 0 60px rgba(191, 0, 15, .7); animation: letra-sube .7s cubic-bezier(.22, 1, .36, 1) forwards; animation-delay: calc(.15s + var(--i) * .11s); }
@keyframes letra-sube { to { opacity: 1; translate: 0 0; filter: blur(0); } }
.intro-tajo { width: min(70vw, 560px); height: 2px; background: linear-gradient(90deg, transparent, #fb2c36, #fff, #fb2c36, transparent); box-shadow: 0 0 20px #fb2c36;
              transform: scaleX(0); animation: tajo .6s cubic-bezier(.22, 1, .36, 1) .85s forwards; }
@keyframes tajo { to { transform: scaleX(1); } }
.intro-sub { margin: 0; font-size: .8rem; letter-spacing: 6px; text-transform: uppercase; color: rgba(255, 210, 210, .7); opacity: 0; animation: letra-sube .6s ease 1.2s forwards; filter: none; translate: 0 6px; }
@keyframes intro-fuera { to { opacity: 0; visibility: hidden; scale: 1.06; } }
.intro.vista { display: none; }

/* ---------------------------------------------------------------- boton de sonido */
.boton-sonido { position: fixed; left: 18px; bottom: 20px; z-index: 900; width: 46px; height: 46px; border-radius: 50%; cursor: pointer; font-size: 1.1rem;
                border: 1px solid rgba(251, 44, 54, .45); background: rgba(20, 4, 6, .85); backdrop-filter: blur(8px); box-shadow: 0 8px 24px rgba(0, 0, 0, .5); transition: scale .2s, box-shadow .3s; }
.boton-sonido:hover { scale: 1.08; box-shadow: 0 0 24px rgba(251, 44, 54, .45); }
.boton-sonido .no, .boton-sonido.mudo .si { display: none; } .boton-sonido.mudo .no { display: inline; }
@media (max-width: 767px) { .boton-sonido { bottom: 84px; left: 14px; width: 42px; height: 42px; } }

/* ---------------------------------------------------------------- cinta de temas */
.cinta { position: relative; z-index: 3; padding: 18px 0; overflow: hidden; rotate: -1.5deg; margin: 10px -20px;
         background: linear-gradient(90deg, #3a0207, #7f1d1d, #3a0207); border-block: 1px solid rgba(251, 44, 54, .45); box-shadow: 0 0 40px rgba(191, 0, 15, .35);
         -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.cinta-fila { overflow: hidden; white-space: nowrap; }
.cinta-fila + .cinta-fila { margin-top: 8px; opacity: .55; }
.cinta-fila > div { display: inline-flex; align-items: center; gap: 22px; padding-right: 22px; animation: correr 26s linear infinite; will-change: translate; }
.cinta-fila.inversa > div { animation-direction: reverse; animation-duration: 34s; }
.cinta span { font-family: 'Domine', serif; font-weight: 700; text-transform: uppercase; font-size: 1.05rem; letter-spacing: 2px; color: #fff0f0; }
.cinta-fila.inversa span { font-size: .85rem; color: rgba(255, 210, 210, .8); }
.cinta i { font-style: normal; color: #fdba74; text-shadow: 0 0 10px #fb2c36; }
@keyframes correr { to { translate: -50% 0; } }
.cinta:hover .cinta-fila > div { animation-play-state: paused; }

/* ---------------------------------------------------------------- test: que plan es para mi */
.test { grid-column: 1 / -1; max-width: 760px; margin: 34px auto 0; padding: 26px; border-radius: 22px; position: relative; overflow: hidden;
        background: radial-gradient(80% 90% at 0% 0%, rgba(124, 58, 237, .25), transparent 60%), rgba(18, 5, 8, .85); border: 1px solid rgba(168, 85, 247, .35);
        box-shadow: 0 0 50px rgba(124, 58, 237, .15); }
.test-cab { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.test-ico { font-size: 2rem; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; background: rgba(124, 58, 237, .25); border: 1px solid rgba(168, 85, 247, .45);
            animation: flotar 3.6s ease-in-out infinite; flex-shrink: 0; }
.test h3 { margin: 0; font-family: 'Domine', serif; text-transform: uppercase; color: #fff; font-size: 1.15rem; }
.test-cab p { margin: 2px 0 0; color: var(--txt2); font-size: .9rem; }
.test-pasos { position: relative; display: grid; }
.test-p { grid-area: 1 / 1; opacity: 0; translate: 40px 0; pointer-events: none; transition: opacity .45s, translate .45s cubic-bezier(.22, 1, .36, 1); }
.test-p.activa { opacity: 1; translate: 0 0; pointer-events: auto; }
.test-p.sale { translate: -40px 0; }
.test-q { margin: 0 0 12px; color: #fff; font-weight: 800; }
.test-ops { display: grid; gap: 10px; }
.test-ops button { text-align: left; padding: 14px 16px; border-radius: 12px; cursor: pointer; font: inherit; font-weight: 700; color: rgba(255, 225, 225, .9);
                   background: rgba(255, 255, 255, .04); border: 1px solid rgba(168, 85, 247, .3); transition: background .25s, border-color .25s, translate .25s, box-shadow .25s; }
.test-ops button:hover { background: rgba(124, 58, 237, .22); border-color: #a855f7; translate: 6px 0; box-shadow: 0 0 22px rgba(168, 85, 247, .3); }
.test-barra { height: 4px; margin-top: 20px; border-radius: 4px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.test-barra span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #7c3aed, #e040fb); box-shadow: 0 0 10px #a855f7; transition: width .5s cubic-bezier(.22, 1, .36, 1); }
.test-res { text-align: center; }
.test-res img { display: block; margin: 0 auto; width: 110px; height: 110px; filter: drop-shadow(0 0 18px var(--c)); animation: res-in .8s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes res-in { from { scale: .2; rotate: -30deg; opacity: 0; } }
.test-res .res-mini { margin: 6px 0 0; font-size: .72rem; font-weight: 800; letter-spacing: 3px; text-transform: uppercase; color: var(--c); }
.test-res h4 { margin: 4px 0; font-family: 'Domine', serif; font-size: 1.6rem; text-transform: uppercase; color: #fff; text-shadow: 0 0 20px var(--c); }
.test-res .res-det { margin: 0 0 16px; color: var(--txt2); }
.test-res .res-bts { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.test-res .res-bts button { padding: 12px 20px; border-radius: 12px; cursor: pointer; font: inherit; font-weight: 800; text-transform: uppercase; font-size: .8rem; letter-spacing: 1px; color: #fff;
                            border: 1px solid var(--c); background: color-mix(in srgb, var(--c) 30%, transparent); transition: filter .2s, translate .2s; }
.test-res .res-bts button.sec { background: transparent; border-color: rgba(255, 255, 255, .2); color: var(--txt2); }
.test-res .res-bts button:hover { filter: brightness(1.2); translate: 0 -2px; }
.plan.resaltar { animation: resaltar 1.4s ease 2; }
@keyframes resaltar { 50% { box-shadow: 0 0 0 3px var(--c), 0 0 70px var(--c); } }

/* ---------------------------------------------------------------- historia epica */
.leyenda-intro { max-width: 620px; margin-left: auto; margin-right: auto; font-size: 1.05rem; }
.leyenda-top { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-bottom: 70px; }
.leyenda-foto { position: relative; aspect-ratio: 1; max-width: 460px; width: 100%; margin: 0 auto; display: grid; place-items: center; }
.leyenda-foto img { position: relative; z-index: 2; width: 82%; aspect-ratio: 1; object-fit: cover; object-position: top; border-radius: 50%;
                    border: 2px solid rgba(251, 44, 54, .6); box-shadow: 0 0 0 8px rgba(251, 44, 54, .08), 0 0 60px rgba(251, 44, 54, .45); background: #12030a; }
.leyenda-runa { position: absolute; inset: 0; border-radius: 50%; z-index: 1;
                background: repeating-conic-gradient(from 0deg, rgba(251, 44, 54, .55) 0 2deg, transparent 2deg 12deg);
                -webkit-mask: radial-gradient(circle, transparent 60%, #000 61%, #000 66%, transparent 67%, transparent 72%, #000 73%, #000 74%, transparent 75%);
                mask: radial-gradient(circle, transparent 60%, #000 61%, #000 66%, transparent 67%, transparent 72%, #000 73%, #000 74%, transparent 75%); animation: spin 30s linear infinite; }
.leyenda-foto::before { content: ''; position: absolute; inset: 6%; border-radius: 50%; background: radial-gradient(circle, rgba(251, 44, 54, .45), transparent 65%); filter: blur(24px); animation: aura-foto 4s ease-in-out infinite; }
.leyenda-firma { position: absolute; z-index: 3; bottom: 4%; font-family: 'Domine', serif; font-weight: 700; font-size: 2.4rem; letter-spacing: .3em; color: transparent;
                 -webkit-text-stroke: 1px rgba(255, 220, 220, .85); text-shadow: 0 0 30px rgba(251, 44, 54, .8); }
.leyenda-cifras { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cifra { padding: 26px 18px; border-radius: 18px; text-align: center; position: relative; overflow: hidden;
         background: linear-gradient(160deg, rgba(127, 29, 29, .35), rgba(18, 5, 8, .8)); border: 1px solid rgba(251, 44, 54, .25); transition: translate .3s, box-shadow .3s, border-color .3s; }
.cifra:hover { translate: 0 -5px; border-color: rgba(251, 44, 54, .6); box-shadow: 0 0 34px rgba(251, 44, 54, .25); }
.cifra b { display: block; font-family: 'Domine', serif; font-size: 2.8rem; line-height: 1; color: #fff; text-shadow: 0 0 24px rgba(251, 44, 54, .7); }
.cifra span { display: block; margin-top: 8px; font-size: .74rem; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--txt2); }
.linea-tiempo { position: relative; max-width: 980px; margin: 0 auto; padding: 10px 0; }
.linea-tiempo::before, .linea-luz { content: ''; position: absolute; left: 50%; top: 0; width: 2px; margin-left: -1px; height: 100%; background: rgba(251, 44, 54, .15); }
.linea-luz { background: linear-gradient(180deg, #fdba74, #fb2c36, #bf000f); box-shadow: 0 0 14px #fb2c36; height: var(--lleno, 0%); z-index: 1; transition: height .1s linear; }
.hito { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 70px; margin-bottom: 50px; }
.hito-caja { grid-column: 1; text-align: right; padding: 24px; border-radius: 18px; background: rgba(18, 5, 8, .8); border: 1px solid rgba(251, 44, 54, .18);
             opacity: 0; translate: -40px 0; transition: opacity .8s cubic-bezier(.22, 1, .36, 1), translate .8s cubic-bezier(.22, 1, .36, 1), border-color .3s, box-shadow .3s; }
.hito:nth-child(odd) .hito-caja { grid-column: 2; text-align: left; translate: 40px 0; }
.hito.visto .hito-caja { opacity: 1; translate: 0 0; }
.hito-caja:hover { border-color: rgba(251, 44, 54, .5); box-shadow: 0 0 34px rgba(251, 44, 54, .18); }
.hito-nodo { position: absolute; left: 50%; top: 22px; z-index: 2; width: 52px; height: 52px; margin-left: -26px; display: grid; place-items: center; font-size: 1.4rem; border-radius: 50%;
             background: #140407; border: 2px solid rgba(251, 44, 54, .25); transition: border-color .5s, box-shadow .5s, scale .5s cubic-bezier(.34, 1.56, .64, 1); scale: .8; filter: grayscale(1); }
.hito.visto .hito-nodo { border-color: #fb2c36; box-shadow: 0 0 0 6px rgba(251, 44, 54, .1), 0 0 28px rgba(251, 44, 54, .7); scale: 1; filter: none; }
.hito-num { margin: 0; font-size: .68rem; font-weight: 800; letter-spacing: 3px; text-transform: uppercase; color: var(--rojo); }
.hito h3 { margin: 4px 0 8px; font-family: 'Domine', serif; text-transform: uppercase; font-size: 1.3rem; color: #fff; }
.hito-caja > p:not(.hito-num) { margin: 0; color: var(--txt2); line-height: 1.7; }
.hito-img { margin: 16px 0 0; border-radius: 12px; overflow: hidden; border: 1px solid rgba(251, 44, 54, .25); cursor: zoom-in; position: relative; }
.hito-img img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .6s cubic-bezier(.22, 1, .36, 1); }
.hito-img:hover img { transform: scale(1.07); }
.hito-img figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 12px 8px; font-size: .75rem; font-weight: 800; color: #fff; text-align: left;
                       background: linear-gradient(transparent, rgba(0, 0, 0, .85)); }
.promo { max-width: 860px; margin: 30px auto 0; text-align: center; }
.promo-tit { margin: 0 0 14px; font-size: .8rem; font-weight: 800; letter-spacing: 4px; text-transform: uppercase; color: var(--rojo); }
.promo-marco { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; border: 1px solid rgba(251, 44, 54, .4); box-shadow: 0 0 60px rgba(191, 0, 15, .35); background: #000; }
.promo-marco iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.promo-marco.promo-vertical { aspect-ratio: 9 / 16; max-width: 400px; margin: 0 auto; }
.promo-marco video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
.leyenda-cta { text-align: center; margin-top: 60px; }
.leyenda-cta p { color: var(--txt2); font-size: 1.1rem; margin: 0 0 18px; }
.btn-epico { position: relative; overflow: hidden; display: inline-block; padding: 18px 42px; border-radius: 14px; font-weight: 900; letter-spacing: 3px; text-transform: uppercase; color: #fff;
             text-decoration: none; background: linear-gradient(135deg, #7f1d1d, #dc2626, #f97316); background-size: 200% 200%; animation: fondo-mueve 4s ease infinite, latido-btn 2.4s ease-in-out infinite;
             box-shadow: 0 0 0 1px rgba(255, 180, 180, .3), 0 10px 40px rgba(220, 38, 38, .5); }
.btn-epico::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .45) 50%, transparent 65%); translate: -120% 0; animation: destello 3.5s ease-in-out 1s infinite; }
@keyframes fondo-mueve { 50% { background-position: 100% 100%; } }
@keyframes latido-btn { 50% { box-shadow: 0 0 0 1px rgba(255, 180, 180, .5), 0 10px 60px rgba(220, 38, 38, .8); } }
@media (max-width: 860px) {
  .leyenda-top { grid-template-columns: 1fr; }
  .linea-tiempo::before, .linea-luz { left: 26px; }
  .hito { grid-template-columns: 1fr; gap: 0; padding-left: 70px; }
  .hito-caja, .hito:nth-child(odd) .hito-caja { grid-column: 1; text-align: left; translate: 30px 0; }
  .hito-nodo { left: 26px; }
}

/* ---------------------------------------------------------------- chispas al elegir un plan + botones magneticos */
.chispa-clic { position: fixed; z-index: 15000; width: 8px; height: 8px; border-radius: 50%; pointer-events: none; }
.magnetico { transition: transform .25s cubic-bezier(.22, 1, .36, 1); }
@media (prefers-reduced-motion: reduce) {
  .intro { display: none; } .cinta-fila > div { animation: none; } .leyenda-runa, .btn-epico, .btn-epico::after, .test-ico { animation: none; }
  .hito-caja, .hito:nth-child(odd) .hito-caja { opacity: 1; translate: none; } .test-p { transition: none; }
}

/* ---------------------------------------------------------------- portada v2 */
#inicio.portada2 { min-height: auto; padding-top: 96px; padding-bottom: 40px; }
@media (min-width: 768px) { #inicio.portada2 { min-height: min(100vh, 860px); padding-top: 84px; padding-bottom: 30px; } }
#inicio.portada2 h1 { font-size: clamp(1.9rem, 4.1vw, 3.3rem) !important; margin-bottom: 18px !important; }
#inicio.portada2 h1 + p { margin-bottom: 26px !important; }
.marca-agua { position: absolute; z-index: 0; left: 50%; top: 52%; translate: -50% -50%; white-space: nowrap; pointer-events: none; user-select: none;
              font-family: 'Domine', serif; font-weight: 700; font-size: clamp(5rem, 17vw, 17rem); letter-spacing: .05em; line-height: 1;
              color: transparent; -webkit-text-stroke: 1.5px rgba(251, 44, 54, .16); animation: deriva 18s ease-in-out infinite alternate; }
@keyframes deriva { from { translate: -52% -50%; } to { translate: -48% -50%; } }
.en-vivo { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px 10px; padding: 8px 14px; border-radius: 99px; text-decoration: none; font-size: .74rem; font-weight: 900;
           letter-spacing: 2px; text-transform: uppercase; color: #fff; background: linear-gradient(90deg, #9146ff, #772ce8); box-shadow: 0 0 22px rgba(145, 70, 255, .55); animation: aparecer-arriba .6s ease both; }
.en-vivo[hidden] { display: none; }
.en-vivo span { width: 9px; height: 9px; border-radius: 50%; background: #ff3b3b; box-shadow: 0 0 8px #ff3b3b; animation: pulse 1.2s ease-in-out infinite; }
.beneficios { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.beneficios li { display: flex; align-items: center; gap: 8px; color: rgba(255, 225, 225, .85); font-size: .9rem; font-weight: 700;
                 opacity: 0; animation: sube-in .6s cubic-bezier(.22, 1, .36, 1) forwards; }
.beneficios li:nth-child(1) { animation-delay: 1.1s; } .beneficios li:nth-child(2) { animation-delay: 1.25s; } .beneficios li:nth-child(3) { animation-delay: 1.4s; }
.beneficios i { font-style: normal; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: rgba(251, 44, 54, .14); border: 1px solid rgba(251, 44, 54, .3); }
.ruta-elo { margin-top: 26px; padding: 14px 16px 12px; border-radius: 16px; max-width: 560px; background: rgba(20, 4, 6, .55); border: 1px solid rgba(251, 44, 54, .18);
            opacity: 0; animation: sube-in .7s cubic-bezier(.22, 1, .36, 1) 1.55s forwards; }
.ruta-elo p { margin: 0 0 8px; font-size: .72rem; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--txt2); }
.ruta-elo b { color: #fff; }
.ruta-fila { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 2px; }
.ruta-fila img { width: 9.2%; height: auto; filter: grayscale(.85) brightness(.6); transition: filter .4s, scale .4s; animation: rango-luz 5s ease-in-out infinite; animation-delay: calc(var(--i) * .35s + 2s); }
.ruta-fila img:hover { filter: none; scale: 1.25; }
@keyframes rango-luz { 0%, 30%, 100% { filter: grayscale(.85) brightness(.6); scale: 1; } 12% { filter: grayscale(0) brightness(1.15) drop-shadow(0 0 10px rgba(255, 200, 120, .8)); scale: 1.18; } }
.ruta-luz { position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: linear-gradient(90deg, transparent, #fb2c36, #fdba74, transparent); background-size: 30% 100%;
            background-repeat: no-repeat; animation: ruta 5s ease-in-out 2s infinite; opacity: .8; }
@keyframes ruta { from { background-position: -30% 0; } 70%, to { background-position: 130% 0; } }
.chip-1 img { width: 22px; height: auto; vertical-align: -5px; margin-right: 4px; display: inline-block; }
@media (max-width: 767px) { .beneficios { gap: 8px 14px; } .beneficios li { font-size: .82rem; } .ruta-elo { padding: 12px; } .en-vivo { margin-left: 0; } }
@media (prefers-reduced-motion: reduce) { .marca-agua, .ruta-fila img, .ruta-luz { animation: none; } .beneficios li, .ruta-elo { opacity: 1; animation: none; } }
@keyframes sube-in { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }

/* ---------------------------------------------------------------- compra: pantalla rota */
.compra { position: fixed; inset: 0; z-index: 9999; }
.compra::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at var(--x) var(--y), color-mix(in srgb, var(--c) 35%, transparent), rgba(0, 0, 0, .55) 60%);
                  opacity: 0; transition: opacity .3s; }
.compra.carga::before { opacity: 1; }
.compra.golpe::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at var(--x) var(--y), #fff, color-mix(in srgb, var(--c) 60%, #fff) 25%, transparent 70%);
                       animation: compra-flash .45s ease-out forwards; pointer-events: none; z-index: 5; }
@keyframes compra-flash { from { opacity: 1; } to { opacity: 0; } }
.compra-vidrio { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.pedazo { position: absolute; inset: 0; opacity: 0; background: linear-gradient(135deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .02) 40%, rgba(255, 255, 255, .07));
          will-change: transform, opacity; }
.compra.golpe .pedazo { opacity: 1; }
.compra.rota .pedazo { background: linear-gradient(135deg, rgba(255, 255, 255, .28), color-mix(in srgb, var(--c) 22%, rgba(18, 8, 12, .92)) 38%, rgba(10, 4, 6, .9) 70%, rgba(255, 255, 255, .18)); }
.compra-grietas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; filter: drop-shadow(0 0 4px var(--c)) drop-shadow(0 0 10px var(--c)); }
.compra-grietas polyline { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.compra.rota .compra-grietas { opacity: 0; transition: opacity .25s; }
.compra-revela { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; padding: 16px; opacity: 0;
                 background: radial-gradient(circle at 50% 45%, color-mix(in srgb, var(--c) 30%, #0b0506), #050203 70%); }
.compra.rota .compra-revela { opacity: 1; transition: opacity .35s; }
.compra-caja { text-align: center; max-width: 440px; }
.compra-caja img { display: block; margin: 0 auto; width: 170px; height: 170px; filter: drop-shadow(0 0 30px var(--c)); }
.compra.rota .compra-caja img { animation: compra-emblema .9s cubic-bezier(.22, 1.4, .36, 1) .15s both; }
.compra.rota .compra-caja > :not(img) { animation: compra-sube .6s cubic-bezier(.22, 1, .36, 1) both; }
.compra.rota .compra-mini { animation-delay: .45s; } .compra.rota .compra-caja h3 { animation-delay: .55s; }
.compra.rota .compra-horas { animation-delay: .65s; } .compra.rota .compra-pagar { animation-delay: .8s; } .compra.rota .compra-volver { animation-delay: .9s; }
@keyframes compra-emblema { from { scale: .2; rotate: -25deg; opacity: 0; } }
@keyframes compra-sube { from { opacity: 0; translate: 0 18px; } }
.compra-mini { margin: 10px 0 0; font-size: .8rem; font-weight: 800; letter-spacing: 5px; text-transform: uppercase; color: var(--c); }
.compra-caja h3 { margin: 6px 0; font-family: 'Domine', serif; font-size: clamp(2rem, 6vw, 3rem); color: #fff; text-shadow: 0 0 24px var(--c); }
.compra-horas { margin: 0 0 22px; color: rgba(255, 220, 220, .75); }
.compra-pagar { display: block; padding: 15px 22px; border-radius: 14px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: #fff; text-decoration: none;
                background: linear-gradient(135deg, color-mix(in srgb, var(--c) 55%, #000), var(--c)); box-shadow: 0 0 0 1px var(--c), 0 0 40px color-mix(in srgb, var(--c) 55%, transparent); }
.compra-pagar:hover { filter: brightness(1.15); }
.compra-volver { margin-top: 12px; background: none; border: 0; color: rgba(255, 220, 220, .6); font: inherit; font-size: .85rem; cursor: pointer; text-decoration: underline; }
.compra.cierra { opacity: 0; transition: opacity .35s; }

/* ---------------------------------------------------------------- velocidad y lectura (2026-10-16) */
.legible { color: rgba(255, 196, 196, .78) !important; }          /* textos chicos que casi no se leian */
.nota-planes a { text-decoration: underline; text-underline-offset: 3px; }
.puntos { gap: 0 !important; }                                       /* puntitos del carrusel: se ven igual, area de toque mas grande */
.puntos button { box-sizing: content-box; padding: 10px 3px; background-clip: content-box; }
@media (pointer: coarse) {                                           /* celular: intro mas corta, mismo efecto */
  .intro { animation-delay: 1.45s; }
}
.plan-local { margin: 4px 0 0; text-align: center; font-size: .82rem; color: var(--txt2); }   /* "≈ RD$1,480" para quien no es de Mexico */
