/* ============================================================
TEST ALFA — ESTILOS COMPLETOS
ALFA 4.0 · División de Resiliencia Humana
Diagnóstico de Preparación Personal ante la IA
Versión: 7.0 (PayPal Formulario HTML + Botón Personalizado)
============================================================ */

/* --- Fuentes Locales (Montserrat) --- */
@font-face {
    font-family: 'Montserrat';
    src: url('/assets/fonts/Montserrat-ExtraLight.ttf') format('truetype');
    font-weight: 200;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/assets/fonts/Montserrat-Light.ttf') format('truetype');
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/assets/fonts/Montserrat-Regular.ttf') format('truetype');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/assets/fonts/Montserrat-Medium.ttf') format('truetype');
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/assets/fonts/Montserrat-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/assets/fonts/Montserrat-Bold.ttf') format('truetype');
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/assets/fonts/Montserrat-Black.ttf') format('truetype');
    font-weight: 900;
    font-display: swap;
}

/* --- Variables --- */
:root {
    --test-primary: #1A7A6B;
    --test-dark: #0F4A40;
    --test-darker: #0A2E28;
    --test-light: #E8F5F2;
    --test-gold: #D4AF37;
    --test-gold-light: #F5D97E;
    --test-white: #FFFFFF;
    --test-black: #0A0A0A;
    --test-gray: #94A3B8;
    --test-gray-light: #E2E8F0;
    --test-gray-dark: #4A4A4A;
    --test-gray-medium: #5A5A5A;
    --test-font: 'Montserrat', sans-serif;
    --paypal-gold: #FFC439;
    --paypal-gold-hover: #E5B030;
    --paypal-blue: #003087;
}

/* --- Reset y Base --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--test-font);
    background: var(--test-white);
    color: var(--test-black);
    line-height: 1.6;
    width: 100%;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

/* ============================================================
SECCIONES COMUNES
============================================================ */
.section-divider {
    width: 60px;
    height: 3px;
    background: var(--test-gold);
    margin: 0 auto 20px;
}

.section-title {
    font-family: var(--test-font);
    text-align: center;
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--test-dark);
    line-height: 1.2;
}

.section-title .gold-text {
    color: var(--test-gold);
    background: linear-gradient(135deg, var(--test-gold), var(--test-gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-family: var(--test-font);
    text-align: center;
    font-size: 1.1rem;
    color: var(--test-gray-medium);
    max-width: 700px;
    margin: 0 auto 50px;
    line-height: 1.7;
}

/* ============================================================
BOTONES
============================================================ */
.btn {
    font-family: var(--test-font);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    border: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
    justify-content: center;
    white-space: nowrap;
}

.btn-primary {
    background: var(--test-gold);
    color: var(--test-black);
    box-shadow: 0 4px 30px rgba(212, 175, 55, 0.30);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 48px rgba(212, 175, 55, 0.45);
    background: var(--test-gold-light);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.75rem;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--test-white);
    border: 2px solid rgba(255, 255, 255, 0.20);
}

.btn-secondary:hover {
    border-color: var(--test-gold);
    background: rgba(212, 175, 55, 0.12);
    color: var(--test-gold);
    transform: translateY(-3px);
}

.btn-secondary.dark {
    background: transparent;
    color: var(--test-dark);
    border: 2px solid var(--test-gray);
}

.btn-secondary.dark:hover {
    border-color: var(--test-gold);
    color: var(--test-gold);
}

.pulse-btn {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 30px rgba(212, 175, 55, 0.30);
    }
    50% {
        box-shadow: 0 4px 60px rgba(212, 175, 55, 0.60), 0 0 80px rgba(212, 175, 55, 0.20);
    }
}

/* ============================================================
BOTÓN PAYPAL PERSONALIZADO (FORMULARIO HTML)
============================================================ */
.paypal-button-custom {
    background: var(--paypal-gold);
    color: #111111;
    border: none;
    border-radius: 50px;
    padding: 14px 30px;
    font-family: var(--test-font);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 280px;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255, 196, 57, 0.3);
}

.paypal-button-custom:hover {
    background: var(--paypal-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 196, 57, 0.45);
}

.paypal-button-custom:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(255, 196, 57, 0.3);
}

.paypal-button-custom i {
    font-size: 1.3rem;
    color: var(--paypal-blue);
}

/* Contenedor del botón PayPal */
.modal-paypal-container {
    margin: 15px 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.modal-paypal-container form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.modal-paypal-container p {
    font-size: 0.7rem;
    color: var(--test-gray);
    margin-top: 8px;
    text-align: center;
}

/* Texto de carga PayPal */
.paypal-loading-text {
    text-align: center;
    font-size: 0.85rem;
    color: var(--test-gray);
    padding: 15px 0;
}

.paypal-loading-text i {
    margin-right: 8px;
    color: #0070BA;
}

/* ============================================================
SECCIÓN 1: HERO
============================================================ */
.test-hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 140px 5% 80px;
    font-family: var(--test-font);
}

.test-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.test-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85) contrast(1.05);
}

.test-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(15, 74, 64, 0.40) 0%, transparent 70%),
        radial-gradient(ellipse at 50% 100%, rgba(15, 74, 64, 0.40) 0%, transparent 70%),
        radial-gradient(ellipse at center, transparent 0%, rgba(10, 10, 10, 0.15) 50%, rgba(10, 10, 10, 0.40) 100%);
    z-index: 1;
}

.test-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    width: 100%;
}

.test-firma {
    font-family: var(--test-font);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--test-white);
    opacity: 0.90;
    margin-bottom: 20px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.50);
}

.test-title {
    font-family: var(--test-font);
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    color: var(--test-white);
    margin-bottom: 16px;
    text-shadow: 0 4px 40px rgba(0, 0, 0, 0.50);
}

.test-title .gold-text {
    color: var(--test-gold);
    background: linear-gradient(135deg, var(--test-gold), var(--test-gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.test-subtitle {
    font-family: var(--test-font);
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--test-white);
    max-width: 700px;
    margin: 0 auto 16px;
    line-height: 1.6;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.50);
}

.test-subtitle strong {
    color: var(--test-gold);
    font-weight: 700;
}

.test-desc {
    font-family: var(--test-font);
    font-size: 1.05rem;
    color: var(--test-white);
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.7;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
    opacity: 0.95;
}

.test-desc strong {
    color: var(--test-gold);
    font-weight: 600;
}

.test-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    margin-bottom: 50px;
}

.test-meta {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.test-meta-item {
    font-family: var(--test-font);
    font-size: 0.9rem;
    color: var(--test-white);
    opacity: 0.90;
    display: flex;
    align-items: center;
    gap: 8px;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.40);
}

.test-meta-item i {
    color: var(--test-gold);
    font-size: 1.1rem;
}

.test-meta-sep {
    width: 1px;
    background: rgba(255, 255, 255, 0.12);
}

/* ============================================================
SECCIÓN 2: ¿QUÉ ES?
============================================================ */
.test-que-es {
    width: 100%;
    padding: 100px 0;
    background: var(--test-white);
    font-family: var(--test-font);
}

.test-que-es-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.test-que-es-text p {
    font-size: 1rem;
    color: var(--test-gray-dark);
    line-height: 1.8;
    margin-bottom: 16px;
}

.test-que-es-text strong {
    color: var(--test-dark);
}

.test-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 24px;
}

.test-feature {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: var(--test-light);
    padding: 14px 18px;
    border-radius: 10px;
}

.test-feature i {
    color: var(--test-gold);
    flex-shrink: 0;
    margin-top: 3px;
}

.test-feature span {
    font-size: 0.85rem;
    color: var(--test-gray-dark);
    line-height: 1.5;
}

.test-feature strong {
    color: var(--test-dark);
}

.test-que-es-image img {
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.10);
    width: 100%;
    height: auto;
}

/* ============================================================
SECCIÓN 3: LAS 4 DIMENSIONES (Verde oscuro)
============================================================ */
.test-dimensiones {
    width: 100%;
    padding: 100px 0;
    background: var(--test-dark);
    font-family: var(--test-font);
    position: relative;
    overflow: hidden;
}

.test-dimensiones::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--test-gold), transparent);
    opacity: 0.30;
}

.test-dimensiones .section-title {
    color: var(--test-white);
}

.test-dimensiones .section-subtitle {
    color: var(--test-gray-light);
}

.test-dimensiones-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.test-dimension-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 32px 20px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.20);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-top: 4px solid var(--test-gold);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                box-shadow 0.4s ease,
                background 0.3s ease;
}

.test-dimension-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.30);
    background: rgba(255, 255, 255, 0.14);
}

.dimension-icon {
    font-size: 2.5rem;
    color: var(--test-gold);
    margin-bottom: 16px;
}

.test-dimension-card h4 {
    font-family: var(--test-font);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--test-white);
    margin-bottom: 8px;
    line-height: 1.3;
}

.test-dimension-card p {
    font-size: 0.85rem;
    color: var(--test-gray-light);
    line-height: 1.6;
    margin: 0;
}

/* ============================================================
SECCIÓN 4: ¿POR QUÉ AHORA? (Blanco)
============================================================ */
.test-urgencia {
    width: 100%;
    padding: 100px 0;
    background: var(--test-white);
    font-family: var(--test-font);
}

.test-urgencia-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.urgencia-card {
    background: var(--test-white);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(26, 122, 107, 0.08);
    border-bottom: 4px solid var(--test-gold);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                box-shadow 0.4s ease;
}

.urgencia-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.10);
}

.urgencia-icon {
    font-size: 2.5rem;
    color: var(--test-gold);
    margin-bottom: 16px;
}

.urgencia-card h4 {
    font-family: var(--test-font);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--test-dark);
    margin-bottom: 8px;
}

.urgencia-card p {
    font-size: 0.9rem;
    color: var(--test-gray-medium);
    line-height: 1.6;
    margin: 0;
}

/* ============================================================
SECCIÓN 5: ¿QUÉ MODALIDAD? (Verde oscuro)
============================================================ */
.test-modalidades {
    width: 100%;
    padding: 100px 0;
    background: var(--test-dark);
    font-family: var(--test-font);
    position: relative;
    overflow: hidden;
}

.test-modalidades::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--test-gold), transparent);
    opacity: 0.30;
}

.test-modalidades .section-title {
    color: var(--test-white);
}

.test-modalidades .section-subtitle {
    color: var(--test-gray-light);
}

.test-modalidades-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.modalidad-comparativa {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.20);
    border: 1px solid rgba(255, 255, 255, 0.10);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                box-shadow 0.4s ease,
                background 0.3s ease;
}

.modalidad-comparativa:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.30);
    background: rgba(255, 255, 255, 0.14);
}

.modalidad-comparativa.destacada {
    border: 2px solid var(--test-gold);
}

.modalidad-badge {
    display: inline-block;
    padding: 4px 16px;
    background: rgba(255, 255, 255, 0.15);
    color: var(--test-gray-light);
    font-family: var(--test-font);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 50px;
    margin-bottom: 12px;
}

.modalidad-badge.gold {
    background: var(--test-gold);
    color: var(--test-black);
}

.modalidad-comparativa h3 {
    font-family: var(--test-font);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--test-white);
    margin-bottom: 16px;
}

.modalidad-comparativa ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.modalidad-comparativa ul li {
    font-size: 0.9rem;
    color: var(--test-gray-light);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
}

.modalidad-comparativa ul li i {
    color: var(--test-gold);
    flex-shrink: 0;
}

/* ============================================================
SECCIÓN 6: NIVELES DEL TEST (Blanco)
============================================================ */
.test-niveles {
    width: 100%;
    padding: 100px 0;
    background: var(--test-white);
    font-family: var(--test-font);
}

.test-niveles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 800px;
    margin: 0 auto 40px;
}

.test-nivel-card {
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
}

.test-nivel-card:hover {
    transform: translateY(-6px);
}

.test-nivel-card:not(.featured) {
    background: var(--test-light);
    border: 2px solid var(--test-primary);
    box-shadow: 0 8px 30px rgba(26, 122, 107, 0.08);
}

.test-nivel-card:not(.featured):hover {
    border-color: var(--test-dark);
    box-shadow: 0 16px 48px rgba(26, 122, 107, 0.15);
}

.test-nivel-card:not(.featured) .nivel-badge {
    background: var(--test-white);
    color: var(--test-primary);
    border: 1px solid var(--test-primary);
}

.test-nivel-card:not(.featured) .nivel-lista li i {
    color: var(--test-primary);
}

.test-nivel-card:not(.featured) .nivel-desc strong {
    color: var(--test-primary);
}

.test-nivel-card.featured {
    background: var(--test-white);
    border: 2px solid var(--test-gold);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.12);
}

.test-nivel-card.featured:hover {
    border-color: var(--test-gold);
    box-shadow: 0 16px 48px rgba(212, 175, 55, 0.20);
}

.test-nivel-card.featured .nivel-badge.gold {
    background: var(--test-gold);
    color: var(--test-black);
}

.test-nivel-card.featured .nivel-lista li i {
    color: var(--test-gold);
}

.nivel-badge {
    display: inline-block;
    padding: 4px 16px;
    background: var(--test-light);
    color: var(--test-primary);
    font-family: var(--test-font);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 50px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.nivel-badge.gold {
    background: var(--test-gold);
    color: var(--test-black);
}

.nivel-precio {
    font-family: var(--test-font);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--test-dark);
    margin-bottom: 4px;
}

.nivel-precio-usd {
    font-size: 0.9rem;
    color: var(--test-gray);
    margin-bottom: 12px;
}

.test-nivel-card h4 {
    font-family: var(--test-font);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--test-dark);
    margin-bottom: 8px;
}

.nivel-desc {
    font-size: 0.9rem;
    color: var(--test-gray-medium);
    line-height: 1.6;
    margin-bottom: 16px;
}

.nivel-desc strong {
    color: var(--test-dark);
}

.nivel-lista {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    text-align: left;
}

.nivel-lista li {
    font-size: 0.85rem;
    color: var(--test-gray-dark);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
}

.nivel-lista li i {
    color: var(--test-gold);
    flex-shrink: 0;
}

.btn-iniciar-test {
    font-family: var(--test-font);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    border: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
    justify-content: center;
    white-space: nowrap;
    width: 100%;
    background: var(--test-gold);
    color: var(--test-black);
    box-shadow: 0 4px 30px rgba(212, 175, 55, 0.30);
}

.btn-iniciar-test:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 48px rgba(212, 175, 55, 0.45);
    background: var(--test-gold-light);
}

.test-paquete-empresarial {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 32px 24px;
    background: var(--test-light);
    border-radius: 16px;
    border-left: 4px solid var(--test-gold);
}

.paquete-title {
    font-family: var(--test-font);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--test-dark);
    margin-bottom: 4px;
}

.paquete-desc {
    font-size: 0.9rem;
    color: var(--test-gray-medium);
    margin-bottom: 12px;
}

.paquete-lista {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.paquete-lista li {
    font-size: 0.85rem;
    color: var(--test-gray-dark);
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.paquete-lista li i {
    color: var(--test-gold);
}

/* ============================================================
SECCIÓN 7: ¿QUÉ MIDE CADA DIMENSIÓN? (Verde oscuro)
============================================================ */
.test-que-mide {
    width: 100%;
    padding: 100px 0;
    background: var(--test-dark);
    font-family: var(--test-font);
    position: relative;
    overflow: hidden;
}

.test-que-mide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--test-gold), transparent);
    opacity: 0.30;
}

.test-que-mide .section-title {
    color: var(--test-white);
}

.test-que-mide .section-subtitle {
    color: var(--test-gray-light);
}

.test-que-mide-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.que-mide-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 28px 20px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.20);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-bottom: 4px solid var(--test-gold);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                box-shadow 0.4s ease,
                background 0.3s ease;
}

.que-mide-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.30);
    background: rgba(255, 255, 255, 0.14);
}

.que-mide-icon {
    font-size: 2rem;
    color: var(--test-gold);
    margin-bottom: 12px;
}

.que-mide-card h4 {
    font-family: var(--test-font);
    font-size: 1rem;
    font-weight: 700;
    color: var(--test-white);
    margin-bottom: 6px;
    line-height: 1.3;
}

.que-mide-pregunta {
    font-size: 0.8rem;
    color: var(--test-gold);
    font-weight: 600;
    margin-bottom: 8px;
    font-style: italic;
}

.que-mide-desc {
    font-size: 0.8rem;
    color: var(--test-gray-light);
    line-height: 1.5;
    margin: 0;
}

/* ============================================================
SECCIÓN 8: PROCESO DE SOLICITUD (Blanco)
============================================================ */
.test-proceso {
    width: 100%;
    padding: 100px 0;
    background: var(--test-white);
    font-family: var(--test-font);
}

.test-proceso-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.proceso-paso {
    background: var(--test-white);
    border-radius: 16px;
    padding: 28px 20px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(26, 122, 107, 0.08);
    border-top: 4px solid var(--test-gold);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                box-shadow 0.4s ease;
    position: relative;
}

.proceso-paso:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.10);
}

.paso-num {
    position: absolute;
    top: 12px;
    right: 16px;
    font-family: var(--test-font);
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--test-gold);
    opacity: 0.30;
}

.paso-icon {
    font-size: 2rem;
    color: var(--test-gold);
    margin-bottom: 12px;
}

.proceso-paso h4 {
    font-family: var(--test-font);
    font-size: 1rem;
    font-weight: 700;
    color: var(--test-dark);
    margin-bottom: 8px;
    line-height: 1.3;
}

.proceso-paso p {
    font-size: 0.85rem;
    color: var(--test-gray-medium);
    line-height: 1.5;
    margin: 0;
}

/* ============================================================
SECCIÓN 9: EXPERIENCIA — TABS (Verde más oscuro)
============================================================ */
.test-tabs-seccion {
    width: 100%;
    padding: 100px 0;
    background: var(--test-darker);
    font-family: var(--test-font);
    position: relative;
    overflow: hidden;
}

.test-tabs-seccion::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--test-gold), transparent);
    opacity: 0.30;
}

.test-tabs-seccion .section-title {
    color: var(--test-white);
}

.test-tabs-seccion .section-subtitle {
    color: var(--test-gray-light);
}

.test-tabs-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.test-tab {
    font-family: var(--test-font);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--test-gray-light);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.test-tab i {
    font-size: 1.1rem;
    color: var(--test-gold);
}

.test-tab:hover {
    border-color: var(--test-gold);
    color: var(--test-gold);
    background: rgba(212, 175, 55, 0.10);
    transform: translateY(-2px);
}

.test-tab.active {
    background: var(--test-gold);
    border-color: var(--test-gold);
    color: var(--test-black);
}

.test-tab.active i {
    color: var(--test-black);
}

.test-tabs-contenido {
    max-width: 1100px;
    margin: 0 auto;
}

.test-tab-panel {
    display: none;
    animation: tab-fade 0.4s ease;
}

.test-tab-panel.active {
    display: block;
}

@keyframes tab-fade {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.test-escala-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.test-escala-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 28px 20px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.20);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-top: 4px solid var(--test-gold);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                box-shadow 0.4s ease,
                background 0.3s ease;
}

.test-escala-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.30);
    background: rgba(255, 255, 255, 0.14);
}

.escala-puntaje {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(212, 175, 55, 0.15);
    color: var(--test-gold);
    font-family: var(--test-font);
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 50px;
    margin-bottom: 12px;
}

.test-escala-card h4 {
    font-family: var(--test-font);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--test-white);
    margin-bottom: 4px;
}

.escala-perfil {
    font-size: 0.85rem;
    color: var(--test-gold);
    font-weight: 600;
    margin-bottom: 8px;
}

.test-escala-card p:last-child {
    font-size: 0.8rem;
    color: var(--test-gray-light);
    line-height: 1.5;
    margin: 0;
}

.test-incluye-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.incluye-item {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 28px 20px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.20);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-bottom: 4px solid var(--test-gold);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                box-shadow 0.4s ease,
                background 0.3s ease;
}

.incluye-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.30);
    background: rgba(255, 255, 255, 0.14);
}

.incluye-item i {
    font-size: 2rem;
    color: var(--test-gold);
    margin-bottom: 12px;
}

.incluye-item h4 {
    font-family: var(--test-font);
    font-size: 1rem;
    font-weight: 700;
    color: var(--test-white);
    margin-bottom: 6px;
}

.incluye-item p {
    font-size: 0.8rem;
    color: var(--test-gray-light);
    line-height: 1.5;
    margin: 0;
}

/* ============================================================
SECCIÓN 10: EL SISTEMA ALFA 4.0 (Ecosistema — verde claro)
============================================================ */
.junior-ecosistema {
    width: 100%;
    padding: 80px 0 60px;
    background: var(--test-light);
    font-family: var(--test-font);
    overflow-x: hidden;
}

.junior-ecosistema-inner {
    width: 100%;
}

.junior-ecosistema-grid-wrapper {
    width: 100%;
    padding: 0 20px;
    margin: 0 auto;
}

.junior-ecosistema-grid {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 16px;
    width: 100%;
    max-width: 100%;
}

.ecosistema-card {
    background: var(--test-white);
    border-radius: 12px;
    padding: 20px 12px;
    text-align: center;
    border: 1px solid rgba(26, 122, 107, 0.06);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 200px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.ecosistema-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.ecosistema-card.featured {
    background: var(--test-white);
    border: 2px solid var(--test-gold);
    box-shadow: 0 4px 30px rgba(212, 175, 55, 0.12);
    position: relative;
}

.ecosistema-card.featured::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--test-gold), transparent, var(--test-gold));
    z-index: -1;
    opacity: 0.30;
    animation: ecosistema-glow 3s ease-in-out infinite;
}

@keyframes ecosistema-glow {
    0%, 100% { opacity: 0.30; }
    50% { opacity: 0.60; }
}

.ecosistema-icon {
    font-size: 2rem;
    color: var(--test-gold);
    display: block;
    margin-bottom: 8px;
    flex-shrink: 0;
}

.ecosistema-card h4 {
    font-family: var(--test-font);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--test-dark);
    margin-bottom: 2px;
    line-height: 1.2;
}

.ecosistema-card p {
    font-family: var(--test-font);
    font-size: 0.65rem;
    color: #5A5A5A;
    line-height: 1.3;
    margin-bottom: 8px;
    flex-grow: 1;
}

.ecosistema-card p strong {
    color: var(--test-dark);
}

.ecosistema-card .btn-sm {
    font-size: 0.6rem;
    padding: 4px 12px;
    background: transparent;
    color: var(--test-dark);
    border: 1.5px solid var(--test-gray);
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    font-weight: 600;
    margin-top: auto;
}

.ecosistema-card .btn-sm:hover {
    border-color: var(--test-gold);
    color: var(--test-gold);
}

.ecosistema-badge {
    display: inline-block;
    padding: 2px 10px;
    background: var(--test-gold);
    color: var(--test-black);
    font-family: var(--test-font);
    font-size: 0.5rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 50px;
    margin-bottom: 4px;
}

/* ============================================================
SECCIÓN 11: CTA FINAL
============================================================ */
.test-cta-final {
    position: relative;
    width: 100%;
    padding: 100px 0;
    overflow: hidden;
    font-family: var(--test-font);
}

.test-cta-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.test-cta-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6) contrast(1.1);
}

.test-cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 46, 40, 0.85) 0%, rgba(15, 74, 64, 0.75) 50%, rgba(10, 46, 40, 0.85) 100%);
    z-index: 1;
}

.test-cta-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.cta-badge {
    display: inline-block;
    padding: 6px 20px;
    background: var(--test-gold);
    color: var(--test-black);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 50px;
    margin-bottom: 20px;
}

.test-cta-content h2 {
    font-family: var(--test-font);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--test-white);
    margin-bottom: 16px;
    line-height: 1.2;
}

.test-cta-content h2 .gold-text {
    color: var(--test-gold);
    background: linear-gradient(135deg, var(--test-gold), var(--test-gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.test-cta-content p {
    font-size: 1.1rem;
    color: var(--test-white);
    margin-bottom: 30px;
    line-height: 1.6;
    opacity: 0.95;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.cta-nota {
    font-size: 0.8rem !important;
    color: var(--test-white) !important;
    opacity: 0.7 !important;
}

/* ============================================================
MODAL — FORMULARIO DE COMPRA
============================================================ */
.test-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}

.test-modal-overlay.active {
    display: flex;
}

.test-modal {
    background: var(--test-white);
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 30px;
    position: relative;
    animation: modal-in 0.3s ease;
}

@keyframes modal-in {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.test-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--test-gray);
    transition: color 0.3s ease;
    line-height: 1;
    z-index: 10;
}

.test-modal-close:hover {
    color: var(--test-dark);
}

.test-modal-header {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--test-light);
}

.test-modal-header h2 {
    font-family: var(--test-font);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--test-dark);
    margin-bottom: 8px;
}

.test-modal-header h2 i {
    color: var(--test-gold);
}

.test-modal-header p {
    font-size: 0.9rem;
    color: var(--test-gray-medium);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--test-dark);
    margin-bottom: 6px;
}

.form-group label i {
    color: var(--test-gold);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--test-gray-light);
    border-radius: 10px;
    font-family: var(--test-font);
    font-size: 0.95rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: var(--test-white);
    color: var(--test-dark);
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group input[type="number"]:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--test-primary);
    box-shadow: 0 0 0 3px rgba(26, 122, 107, 0.1);
}

.form-group input.error,
.form-group select.error {
    border-color: #EF4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.honeypot-field {
    display: none;
}

.modal-price-display {
    background: var(--test-light);
    border-radius: 12px;
    padding: 15px 20px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.modal-price-main {
    display: flex;
    flex-direction: column;
}

.modal-price-label {
    font-size: 0.75rem;
    color: var(--test-gray-medium);
}

.modal-price-level {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--test-dark);
}

.modal-price-total {
    text-align: right;
}

.modal-price-total-label {
    display: block;
    font-size: 0.7rem;
    color: var(--test-gray-medium);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.modal-price-total-amount {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--test-dark);
}

.modal-price-total-usd {
    font-size: 0.85rem;
    color: var(--test-gray);
}

.modal-payment-method {
    margin-bottom: 20px;
}

.payment-method-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--test-dark);
    margin-bottom: 10px;
}

.payment-method-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.payment-method-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    border: 2px solid var(--test-gray-light);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-method-option.active {
    border-color: var(--test-gold);
    background: var(--test-light);
}

.payment-method-option input {
    display: none;
}

.payment-method-option i {
    font-size: 1.2rem;
    color: var(--test-gold);
}

.payment-method-option span {
    font-weight: 600;
    color: var(--test-dark);
}

.modal-deposit-block {
    background: var(--test-light);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.hidden {
    display: none !important;
}

.deposit-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.deposit-header i {
    font-size: 1.5rem;
    color: var(--test-gold);
}

.deposit-header h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--test-dark);
}

.deposit-bank-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}

.bank-account-card {
    background: var(--test-white);
    border-radius: 8px;
    padding: 12px 15px;
    border-left: 3px solid var(--test-gold);
}

.bank-name {
    font-weight: 700;
    color: var(--test-dark);
    margin-bottom: 4px;
}

.bank-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 0.85rem;
    color: var(--test-gray-dark);
}

.bank-whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--test-primary);
    font-weight: 600;
    margin-top: 5px;
}

.deposit-amount {
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: var(--test-dark);
}

.deposit-amount strong {
    color: var(--test-gold);
    font-size: 1.1rem;
}

.deposit-upload {
    margin-bottom: 15px;
}

.upload-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--test-white);
    border: 2px dashed var(--test-primary);
    border-radius: 10px;
    cursor: pointer;
    color: var(--test-primary);
    font-weight: 600;
    transition: all 0.3s ease;
}

.upload-label:hover {
    background: var(--test-light);
}

.hidden-input {
    display: none;
}

.receipt-preview img {
    max-width: 100%;
    border-radius: 8px;
    margin-top: 10px;
}

.btn-deposit {
    width: 100%;
    background: var(--test-gold);
    color: var(--test-black);
    font-weight: 700;
    padding: 14px 20px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-deposit:hover {
    background: var(--test-gold-light);
    transform: translateY(-2px);
}

.deposit-note {
    font-size: 0.8rem;
    color: var(--test-gray-medium);
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.modal-paypal-container {
    margin-bottom: 20px;
}

/* ============================================================
CHECKBOX SIMPLE Y FUNCIONAL
============================================================ */
.checkbox-group {
    margin-bottom: 12px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--test-gray-dark);
    cursor: pointer;
    line-height: 1.5;
    user-select: none;
    transition: color 0.3s ease;
    position: relative;
}

.checkbox-label:hover {
    color: var(--test-dark);
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 0;
    margin-top: 2px;
    cursor: pointer;
    flex-shrink: 0;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: 2px solid var(--test-gray);
    border-radius: 5px;
    background: var(--test-white);
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.checkbox-label input[type="checkbox"]:hover {
    border-color: var(--test-primary);
    box-shadow: 0 0 0 3px rgba(26, 122, 107, 0.1);
}

.checkbox-label input[type="checkbox"]:checked {
    background: var(--test-primary);
    border-color: var(--test-primary);
}

.checkbox-label input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid var(--test-white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label input[type="checkbox"]:focus-visible {
    outline: 2px solid var(--test-gold);
    outline-offset: 2px;
}

.checkbox-label input[type="checkbox"].error {
    border-color: #EF4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.checkbox-label a {
    color: var(--test-primary);
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.3s ease;
    pointer-events: auto;
    position: relative;
    z-index: 5;
}

.checkbox-label a:hover {
    color: var(--test-dark);
}

/* ============================================================
BOTÓN VERIFICAR Y CONTINUAR
============================================================ */
.btn-verify-continue {
    width: 100%;
    padding: 16px 32px;
    background: var(--test-primary);
    color: var(--test-white);
    font-family: var(--test-font);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    margin-bottom: 15px;
    box-shadow: 0 4px 20px rgba(26, 122, 107, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-verify-continue::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-verify-continue:hover::before {
    left: 100%;
}

.btn-verify-continue:hover {
    background: var(--test-dark);
    box-shadow: 0 8px 30px rgba(26, 122, 107, 0.4);
    transform: translateY(-2px);
}

.btn-verify-continue:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(26, 122, 107, 0.3);
}

.btn-verify-continue:disabled {
    background: var(--test-gray);
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.btn-verify-continue:disabled::before {
    display: none;
}

.btn-verify-continue i {
    font-size: 1.1rem;
}

.btn-verify-continue .spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--test-white);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.btn-verify-continue.loading .spinner {
    display: inline-block;
}

.btn-verify-continue.loading .btn-text {
    display: none;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Mensaje de error de validación */
.validation-error {
    background: #FEF2F2;
    border: 1px solid #EF4444;
    color: #DC2626;
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: shake 0.5s ease;
}

.validation-error i {
    font-size: 1.2rem;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-5px); }
}

.validation-success {
    background: #F0FDF4;
    border: 1px solid #22C55E;
    color: #16A34A;
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.validation-success i {
    font-size: 1.2rem;
}

/* ============================================================
TOAST NOTIFICATIONS
============================================================ */
.toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: var(--test-dark);
    color: var(--test-white);
    padding: 15px 20px;
    border-radius: 10px;
    font-family: var(--test-font);
    font-size: 0.9rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.30);
    border-left: 4px solid var(--test-gold);
    animation: toast-in 0.3s ease;
    max-width: 350px;
}

.toast.success {
    border-left-color: #22C55E;
}

.toast.error {
    border-left-color: #EF4444;
}

.toast.info {
    border-left-color: var(--test-primary);
}

@keyframes toast-in {
    0% {
        opacity: 0;
        transform: translateX(100px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============================================================
RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
    .test-dimensiones-grid,
    .test-que-mide-grid,
    .test-proceso-grid,
    .test-escala-grid,
    .test-incluye-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .test-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .test-hero {
        padding: 100px 5% 60px;
    }
    
    .test-title {
        font-size: 2.2rem;
    }
    
    .test-subtitle {
        font-size: 1.1rem;
    }
    
    .test-desc {
        font-size: 0.9rem;
    }
    
    .test-ctas {
        flex-direction: column;
    }
    
    .test-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .test-meta-sep {
        display: none;
    }
    
    .test-que-es-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .test-features {
        grid-template-columns: 1fr;
    }
    
    .test-dimensiones-grid,
    .test-que-mide-grid,
    .test-proceso-grid,
    .test-escala-grid,
    .test-incluye-grid,
    .test-urgencia-grid,
    .test-modalidades-grid,
    .test-niveles-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .payment-method-options {
        grid-template-columns: 1fr;
    }
    
    .test-modal {
        padding: 20px;
    }
    
    .modal-price-display {
        flex-direction: column;
        text-align: center;
    }
    
    .modal-price-total {
        text-align: center;
    }
    
    .test-niveles {
        padding: 60px 0;
    }
    
    .test-niveles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 450px;
    }
    
    .test-nivel-card {
        padding: 24px 20px;
    }
    
    .test-cta-content h2 {
        font-size: 2rem;
    }
    
    .paypal-button-custom {
        padding: 12px 24px;
        font-size: 0.85rem;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .test-title {
        font-size: 1.8rem;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .test-ctas {
        gap: 10px;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .test-dimensiones-grid,
    .test-que-mide-grid,
    .test-proceso-grid,
    .test-escala-grid,
    .test-incluye-grid {
        grid-template-columns: 1fr;
    }
    
    .paypal-button-custom {
        padding: 10px 20px;
        font-size: 0.8rem;
    }
}

/* ============================================================
RESPONSIVE — ECOSISTEMA CON SCROLLBAR DORADA
============================================================ */
@media (min-width: 1201px) {
    .junior-ecosistema-grid {
        grid-template-columns: repeat(9, 1fr);
        overflow-x: visible;
    }
}

@media (max-width: 1200px) and (min-width: 993px) {
    .junior-ecosistema-grid-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x proximity;
        cursor: grab;
        padding: 0 20px 16px;
    }

    .junior-ecosistema-grid-wrapper:active {
        cursor: grabbing;
    }

    .junior-ecosistema-grid-wrapper::-webkit-scrollbar {
        height: 6px;
        background: transparent;
    }

    .junior-ecosistema-grid-wrapper::-webkit-scrollbar-track {
        background: transparent;
        border-radius: 6px;
    }

    .junior-ecosistema-grid-wrapper:hover::-webkit-scrollbar-thumb,
    .junior-ecosistema-grid-wrapper:active::-webkit-scrollbar-thumb,
    .junior-ecosistema-grid-wrapper:focus-within::-webkit-scrollbar-thumb {
        background: var(--test-gold);
        border-radius: 6px;
        transition: background 0.3s ease;
    }

    .junior-ecosistema-grid-wrapper::-webkit-scrollbar-thumb {
        background: transparent;
        border-radius: 6px;
        transition: background 0.3s ease;
    }

    .junior-ecosistema-grid-wrapper:hover::-webkit-scrollbar-thumb:hover {
        background: var(--test-gold-light);
    }

    .junior-ecosistema-grid-wrapper {
        scrollbar-width: thin;
        scrollbar-color: transparent transparent;
    }

    .junior-ecosistema-grid-wrapper:hover,
    .junior-ecosistema-grid-wrapper:active {
        scrollbar-color: var(--test-gold) transparent;
    }

    .junior-ecosistema-grid {
        display: flex;
        flex-wrap: nowrap;
        gap: 16px;
        width: max-content;
        min-width: 100%;
        padding: 4px 0;
    }

    .ecosistema-card {
        flex: 0 0 160px;
        min-width: 160px;
        max-width: 160px;
        min-height: 200px;
        scroll-snap-align: start;
    }
}

@media (min-width: 769px) and (max-width: 992px) {
    .junior-ecosistema-grid-wrapper {
        overflow-x: visible;
        padding: 0 20px;
        cursor: default;
    }

    .junior-ecosistema-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
        width: 100%;
        max-width: 800px;
        margin: 0 auto;
    }

    .ecosistema-card {
        flex: auto;
        min-width: auto;
        max-width: none;
        min-height: 200px;
        padding: 20px 14px;
    }

    .ecosistema-icon {
        font-size: 2rem;
    }

    .ecosistema-card h4 {
        font-size: 0.85rem;
    }

    .ecosistema-card p {
        font-size: 0.7rem;
    }
}

@media (max-width: 768px) {
    .junior-ecosistema-grid-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x proximity;
        cursor: grab;
        padding: 0 16px 16px;
    }

    .junior-ecosistema-grid-wrapper:active {
        cursor: grabbing;
    }

    .junior-ecosistema-grid-wrapper::-webkit-scrollbar {
        height: 4px;
        background: transparent;
    }

    .junior-ecosistema-grid-wrapper::-webkit-scrollbar-track {
        background: transparent;
        border-radius: 4px;
    }

    .junior-ecosistema-grid-wrapper:hover::-webkit-scrollbar-thumb,
    .junior-ecosistema-grid-wrapper:active::-webkit-scrollbar-thumb,
    .junior-ecosistema-grid-wrapper:focus-within::-webkit-scrollbar-thumb {
        background: var(--test-gold);
        border-radius: 4px;
        transition: background 0.3s ease;
    }

    .junior-ecosistema-grid-wrapper::-webkit-scrollbar-thumb {
        background: transparent;
        border-radius: 4px;
        transition: background 0.3s ease;
    }

    .junior-ecosistema-grid-wrapper {
        scrollbar-width: thin;
        scrollbar-color: transparent transparent;
    }

    .junior-ecosistema-grid-wrapper:hover,
    .junior-ecosistema-grid-wrapper:active {
        scrollbar-color: var(--test-gold) transparent;
    }

    .junior-ecosistema-grid {
        display: flex;
        flex-wrap: nowrap;
        gap: 12px;
        width: max-content;
        min-width: 100%;
        padding: 4px 0;
    }

    .ecosistema-card {
        flex: 0 0 180px;
        min-width: 180px;
        max-width: 180px;
        min-height: 200px;
        scroll-snap-align: start;
    }
}

@media (max-width: 480px) {
    .ecosistema-card {
        flex: 0 0 160px;
        min-width: 160px;
        max-width: 160px;
        min-height: 180px;
    }

    .ecosistema-icon {
        font-size: 1.8rem;
    }

    .ecosistema-card h4 {
        font-size: 0.75rem;
    }

    .ecosistema-card p {
        font-size: 0.6rem;
    }

    .ecosistema-card .btn-sm {
        font-size: 0.55rem;
        padding: 4px 10px;
    }
}