/* ============================================
   PHYSIOLUNG - CURSO ESPIROMETRÍA 2027
   Diseño Premium Estilo Glassmorphism
   ============================================ */

/* VARIABLES GLOBALES - Definición de colores, sombras y radios de borde */
/* Ubicación: Configuración inicial de estilos genéricos */
:root {
    /* Brand Colors */
    --primary: #004aad;
    --primary-light: #e8f4fd;
    --primary-dark: #003380;
    --primary-glow: rgba(0, 74, 173, 0.3);

    --accent: #ffde59;
    --accent-light: #fff8e1;
    --accent-dark: #f5c518;

    --btn-primary: #6C5CE7;
    --btn-primary-hover: #5341D9;
    --btn-glow: rgba(108, 92, 231, 0.4);

    /* Light Mode Backgrounds */
    --bg-body: #f8fafc;
    --bg-white: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.7);
    --bg-glass-strong: rgba(255, 255, 255, 0.9);
    --bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --bg-hero: linear-gradient(180deg, #e8f4fd 0%, #ffffff 100%);

    /* Text */
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --text-white: #ffffff;

    /* Borders & Glass */
    --border-light: rgba(0, 0, 0, 0.06);
    --border-glass: rgba(255, 255, 255, 0.5);
    --glass-blur: blur(20px);

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 50px -12px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 40px var(--primary-glow);
    --shadow-btn: 0 4px 15px var(--btn-glow);

    /* Sizing */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --duration-fast: 0.2s;
    --duration-normal: 0.3s;
    --duration-slow: 0.5s;
}

/* RESET Y BASE - Estilos base para resetear el navegador y tipografía global */
/* Ubicación: Afecta a todo el documento */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-body);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul,
ol {
    list-style: none;
}

/* CLASES DE UTILIDAD - Clases genéricas reutilizables (Contenedores, Secciones) */
/* Ubicación: Se usan en casi todas las secciones del HTML */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-light);
    color: var(--primary);
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--btn-primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* BOTONES - Estilos para botones principales, secundarios y efectos */
/* Ubicación: Se encuentran en Hero, Pricing, Contacto y Modales */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: all var(--duration-normal) var(--ease-out);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
    opacity: 0;
    transition: opacity var(--duration-fast);
}

.btn:hover::before {
    opacity: 1;
}

.btn-primary {
    background: var(--btn-primary);
    color: var(--text-white);
    box-shadow: var(--shadow-btn);
}

.btn-primary:hover {
    background: var(--btn-primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--btn-glow);
}

.btn-outline {
    background: var(--bg-glass);
    backdrop-filter: var(--glass-blur);
    border: 2px solid var(--border-light);
    color: var(--text-primary);
}

.btn-outline:hover {
    background: var(--bg-white);
    border-color: var(--primary);
    color: var(--primary);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
}

.btn i {
    font-size: 1.1em;
}

/* TARJETAS GLASSMORPHISM - Efecto de cristal esmerilado para contenedores */
/* Ubicación: Se usa como base para tarjetas en varias secciones */
.glass-card {
    background: var(--bg-glass);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transition: all var(--duration-normal) var(--ease-out);
}

.glass-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

/* NAVBAR - Barra de navegación fija en la parte superior */
/* Ubicación: Encabezado del sitio (Header) */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--duration-normal);
}

.navbar.scrolled {
    background: var(--bg-glass-strong);
    backdrop-filter: var(--glass-blur);
    box-shadow: var(--shadow-md);
    padding: 12px 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo img {
    height: 40px;
    transition: transform var(--duration-normal);
}

.nav-logo:hover img {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 10px 18px;
    border-radius: var(--radius-full);
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: all var(--duration-fast);
}

.nav-link:hover {
    color: var(--primary);
    background: var(--primary-light);
}

.nav-cta {
    margin-left: 16px;
}

/* Mobile Menu */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-primary);
    cursor: pointer;
}

/* SECCIÓN HERO - Portada principal con texto, imagen y formas animadas */
/* Ubicación: Primera sección visible al cargar la página */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: var(--bg-hero);
    position: relative;
    overflow: hidden;
}

/* Animated Background Shapes */
.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 20s ease-in-out infinite;
}

.hero-shape-1 {
    width: 600px;
    height: 600px;
    background: var(--primary-light);
    top: -200px;
    right: -100px;
}

.hero-shape-2 {
    width: 400px;
    height: 400px;
    background: var(--accent-light);
    bottom: -100px;
    left: -100px;
    animation-delay: -5s;
}

.hero-shape-3 {
    width: 300px;
    height: 300px;
    background: rgba(108, 92, 231, 0.1);
    top: 50%;
    left: 30%;
    animation-delay: -10s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(30px, -30px) rotate(5deg);
    }

    50% {
        transform: translate(-20px, 20px) rotate(-5deg);
    }

    75% {
        transform: translate(20px, 10px) rotate(3deg);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Trust Badge */
.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--accent);
    color: var(--text-primary);
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
    animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(255, 222, 89, 0.4);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(255, 222, 89, 0);
    }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    z-index: 1;
}

.hero-image-wrapper {
    position: relative;
}

.hero-image {
    width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    animation: hero-float 6s ease-in-out infinite;
}

@keyframes hero-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* Floating Badges */
.floating-badge {
    position: absolute;
    background: var(--bg-glass-strong);
    backdrop-filter: var(--glass-blur);
    padding: 14px 20px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    animation: badge-float 4s ease-in-out infinite;
}

.floating-badge.badge-cert {
    top: -20px;
    left: -30px;
    background: #000000;
    color: var(--text-white);
}

.floating-badge.badge-rating {
    bottom: 40px;
    right: -20px;
    flex-direction: column;
    text-align: center;
}

.badge-rating .rating-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
}

.badge-rating .rating-stars {
    color: var(--accent-dark);
}

@keyframes badge-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Hero Floating Bubbles */
.hero-bubbles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.bubble {
    position: absolute;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ffffff;
    box-shadow: 0 8px 24px rgba(0, 74, 173, 0.2);
    animation: bubble-float 5s ease-in-out infinite;
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.3s ease;
}

.bubble:hover {
    transform: scale(1.15);
    box-shadow: 0 12px 32px rgba(0, 74, 173, 0.35);
    border-color: var(--primary);
}

.bubble-1 {
    width: 60px;
    height: 60px;
    top: 100%;
    left: -60px;
    animation-delay: 0s;
}

.bubble-2 {
    width: 50px;
    height: 50px;
    bottom: 5%;
    left: -25px;
    animation-delay: 0.8s;
}

.bubble-3 {
    width: 80px;
    height: 80px;
    top: 0%;
    right: -25px;
    animation-delay: 1.5s;
}

/* Promo Bubble Special */
.bubble-promo {
    width: 70px;
    height: 70px;
    bottom: 5%;
    right: -35px;
    animation: bubble-promo-pulse 3s ease-in-out infinite;
    border: 3px solid #22c55e;
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.4);
}

.bubble-promo:hover {
    border-color: #16a34a;
    box-shadow: 0 12px 32px rgba(34, 197, 94, 0.5);
}

@keyframes bubble-promo-pulse {

    0%,
    100% {
        transform: translateY(0) scale(1);
        box-shadow: 0 8px 24px rgba(34, 197, 94, 0.4);
    }

    50% {
        transform: translateY(-8px) scale(1.08);
        box-shadow: 0 16px 40px rgba(34, 197, 94, 0.6);
    }
}

/* Why CTA Wrapper */
.why-cta-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Mobile Promo Bubble - Hidden on desktop */
.mobile-promo-bubble {
    display: none;
    width: 60px;
    height: 60px;
    border: 3px solid #22c55e;
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.4);
    animation: bubble-promo-pulse 3s ease-in-out infinite;
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
}

@media (max-width: 768px) {
    .mobile-promo-bubble {
        display: block;
    }
}

@keyframes bubble-float {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-10px) scale(1.05);
    }
}

/* Bubble Modal Glassmorphism */
.bubble-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 20, 50, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.bubble-modal.active {
    opacity: 1;
    visibility: visible;
}

.bubble-modal-content {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(240, 247, 255, 0.95) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 24px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 74, 173, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s ease;
}

.bubble-modal.active .bubble-modal-content {
    transform: scale(1) translateY(0);
}

.bubble-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 74, 173, 0.1);
    border: none;
    font-size: 1.5rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.bubble-modal-close:hover {
    background: var(--primary);
    color: #ffffff;
}

.bubble-modal-image {
    width: 100%;
    max-height: 400px;
    object-fit: contain;
    border-radius: 16px;
    margin-bottom: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    background: #f8fafc;
}

.bubble-modal-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary) 0%, #2563eb 100%);
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 16px 32px;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 74, 173, 0.3);
    text-decoration: none;
}

.bubble-modal-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 74, 173, 0.4);
}

/* Promo Coupon Content */
.bubble-promo-content {
    text-align: center;
}

.promo-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 800;
    padding: 14px 28px;
    border-radius: 50px;
    margin-bottom: 16px;
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.35);
}

.promo-badge i {
    font-size: 1.3rem;
}

.promo-text {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.promo-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.promo-form input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.promo-form input:focus {
    outline: none;
    border-color: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.15);
}

.btn-promo-submit {
    width: 100%;
    padding: 16px 32px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.35);
}

.btn-promo-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(34, 197, 94, 0.45);
}

/* BARRA DE PRUEBA SOCIAL - Avatares de alumnos y contadores */
/* Ubicación: Justo debajo de la sección Hero */
.social-proof {
    background: var(--bg-white);
    padding: 20px 0;
    border-bottom: 1px solid var(--border-light);
}

.proof-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.proof-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.proof-avatars {
    display: flex;
}

.proof-avatars img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--bg-white);
    margin-left: -10px;
}

.proof-avatars img:first-child {
    margin-left: 0;
}

.proof-count {
    background: var(--primary);
    color: var(--text-white);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    margin-left: -10px;
}

.proof-item i {
    color: var(--primary);
}

/* LOGOS DE CONFIANZA - Universidades y Centros asociados */
/* Ubicación: Debajo de la prueba social */
.trust-logos {
    padding: 50px 0;
    background: var(--bg-body);
}

.logos-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
}

.logos-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    white-space: nowrap;
}

.logos-grid {
    display: flex;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}

.logos-grid img {
    height: 45px;
    opacity: 0.5;
    filter: grayscale(100%);
    transition: all var(--duration-normal);
}

.logos-grid img:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.1);
}

/* SECCIÓN DE VIDEO - Presentación del curso y lista de beneficios */
/* Ubicación: Debajo de los logos de confianza */
.video-section {
    background: var(--bg-white);
}

.video-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
    align-items: center;
}

.video-content h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.video-content p {
    color: var(--text-secondary);
    margin-bottom: 28px;
}

.check-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 500;
}

.check-icon {
    width: 28px;
    height: 28px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 0.8rem;
}

.video-wrapper {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
}

.video-wrapper::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--primary), var(--btn-primary), var(--accent));
    border-radius: var(--radius-xl);
    z-index: -1;
    opacity: 0.5;
}

.video-embed {
    position: relative;
    padding-top: 56.25%;
    background: var(--text-primary);
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

/* Video Skeleton Loader */
.video-skeleton {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    overflow: hidden;
}

.skeleton-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.08) 50%,
            transparent 100%);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.skeleton-play-btn {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.5rem;
    animation: pulse-play 2s ease-in-out infinite;
}

@keyframes pulse-play {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* SECCIÓN DE CARACTERISTICAS - Grid con iconos sobre el contenido del curso */
/* Ubicación: Entre Video y Precios */
.features-section {
    background: var(--bg-body);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg-white);
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    text-align: center;
    transition: all var(--duration-normal) var(--ease-out);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.feature-icon.blue {
    background: var(--primary-light);
    color: var(--primary);
}

.feature-icon.yellow {
    background: var(--accent-light);
    color: var(--accent-dark);
}

.feature-icon.purple {
    background: rgba(108, 92, 231, 0.1);
    color: var(--btn-primary);
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* SECCIÓN DE PRECIOS - Planes Lite y PRO con sus características */
/* Ubicación: Parte central del sitio */
.pricing-section {
    background: var(--bg-white);
    position: relative;
    overflow: hidden;
}

.pricing-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
    opacity: 0.5;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.pricing-card {
    background: var(--bg-glass-strong);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 36px;
    transition: all var(--duration-normal) var(--ease-out);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.pricing-card.featured {
    background: linear-gradient(135deg, #fff8e1 0%, #ffde59 50%, #f5c518 100%);
    border: 3px solid #f5c518;
    transform: scale(1.05);
    box-shadow: 0 10px 40px rgba(245, 197, 24, 0.4), 0 0 60px rgba(255, 222, 89, 0.2);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 20px 60px rgba(245, 197, 24, 0.5), 0 0 80px rgba(255, 222, 89, 0.3);
}

/* Featured card text contrast */
.pricing-card.featured .pricing-name {
    background: linear-gradient(135deg, #1a1a2e 0%, #004aad 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.8rem;
}

.pricing-card.featured .pricing-desc {
    color: #4a4a4a;
    font-weight: 500;
}

.pricing-card.featured .price-amount {
    color: #1a1a2e;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured .pricing-features li i.fa-check {
    color: #004aad;
}

.popular-tag {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #004aad 0%, #6C5CE7 100%);
    color: #ffffff;
    padding: 10px 24px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 74, 173, 0.4);
    animation: badge-glow 2s ease-in-out infinite;
    display: flex;
    align-items: center;
    gap: 8px;
}

.popular-tag i {
    color: #ffde59;
}

@keyframes badge-glow {

    0%,
    100% {
        box-shadow: 0 4px 15px rgba(0, 74, 173, 0.4);
    }

    50% {
        box-shadow: 0 4px 25px rgba(108, 92, 231, 0.6), 0 0 40px rgba(108, 92, 231, 0.3);
    }
}

/* Best Value Ribbon - Enhanced */
.best-value-ribbon {
    position: absolute;
    top: 20px;
    right: -35px;
    background: linear-gradient(135deg, #004aad 0%, #0066cc 100%);
    color: #ffffff;
    padding: 8px 40px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transform: rotate(45deg);
    box-shadow: 0 3px 10px rgba(0, 74, 173, 0.3);
    z-index: 10;
}

.pricing-header {
    text-align: center;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 24px;
}

.pricing-card.featured .pricing-header {
    border-bottom-color: rgba(108, 92, 231, 0.2);
}

.pricing-name {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.pricing-card.featured .pricing-name {
    background: linear-gradient(135deg, var(--primary) 0%, var(--btn-primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.6rem;
}

.pricing-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.pricing-price {
    text-align: center;
    margin-bottom: 24px;
}

.price-currency {
    font-size: 1rem;
    color: var(--text-muted);
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
}

.price-usd {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.pricing-features {
    margin-bottom: 28px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.9rem;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li i {
    font-size: 0.8rem;
}

.pricing-features li i.fa-check {
    color: var(--primary);
}

.pricing-features li i.fa-xmark {
    color: var(--text-muted);
}

.pricing-features li.disabled {
    color: var(--text-muted);
}

/* URGENCY BANNER - Dark mode banner with CTA */
.urgency-banner-dark {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-radius: var(--radius-xl);
    padding: 24px 32px;
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.urgency-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.5rem;
}

.urgency-content-dark {
    flex: 1;
}

.urgency-content-dark strong {
    color: #ffffff;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 4px;
}

.urgency-content-dark p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

.urgency-banner-dark .btn-light {
    background: #ffffff;
    color: var(--primary);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.urgency-banner-dark .btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2);
}

/* Urgency Banner Mobile - Elegante y compacto */
@media (max-width: 768px) {
    .urgency-banner-dark {
        flex-direction: column;
        text-align: center;
        padding: 28px 20px;
        gap: 16px;
    }

    .urgency-icon {
        width: 50px;
        height: 50px;
        min-width: 50px;
        font-size: 1.2rem;
    }

    .urgency-content-dark strong {
        font-size: 1rem;
    }

    .urgency-content-dark p {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .urgency-banner-dark .btn-light {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
    }
}

/* SECCIÓN DEL EQUIPO - Cards de docentes principales */
/* Ubicación: Debajo de los precios */
.team-section {
    background: linear-gradient(180deg, var(--bg-body) 0%, var(--bg-white) 100%);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.team-card {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: 36px;
    text-align: center;
    border: 1px solid var(--border-light);
    transition: all var(--duration-normal) var(--ease-out);
    position: relative;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.team-card.featured {
    border: 2px solid var(--accent);
}

.featured-ribbon {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent);
    color: var(--text-primary);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
}

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 20px;
    object-fit: cover;
    border: 4px solid var(--bg-body);
    box-shadow: var(--shadow-lg);
}

.team-card.featured .team-avatar {
    border-color: var(--accent);
}

.team-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.team-role {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    padding: 4px 14px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.team-card.featured .team-role {
    background: var(--accent-light);
    color: var(--accent-dark);
}

.team-exp {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.team-exp i {
    color: var(--accent-dark);
}

.team-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* SECCIÓN DE CURRICULUM - Acordeón con las unidades del programa */
/* Ubicación: Detalle de contenidos del curso */
.curriculum-section {
    background: var(--bg-white);
}

.curriculum-grid {
    max-width: 800px;
    margin: 0 auto;
}

.curriculum-item {
    background: var(--bg-body);
    border-radius: var(--radius-lg);
    margin-bottom: 16px;
    border: 1px solid var(--border-light);
    overflow: hidden;
    transition: all var(--duration-normal);
}

.curriculum-item:hover {
    border-color: var(--primary-light);
}

.curriculum-item[open] {
    background: var(--bg-white);
    box-shadow: var(--shadow-md);
}

.curriculum-item summary {
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    font-weight: 600;
    list-style: none;
}

.curriculum-item summary::-webkit-details-marker {
    display: none;
}

.unit-number {
    background: var(--primary);
    color: var(--text-white);
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
}

.unit-title {
    flex: 1;
}

.curriculum-item summary i {
    transition: transform var(--duration-normal);
    color: var(--text-muted);
}

.curriculum-item[open] summary i {
    transform: rotate(180deg);
}

.unit-content {
    padding: 0 24px 20px;
}

.unit-content li {
    padding: 10px 0 10px 52px;
    border-top: 1px solid var(--border-light);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* TESTIMONIOS - Opiniones de alumnos en tarjetas */
/* Ubicación: Debajo del contenido/curriculum */
.testimonials-section {
    background: var(--bg-body);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--bg-white);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    transition: all var(--duration-normal);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.quote-icon {
    color: var(--primary-light);
    font-size: 2rem;
    margin-bottom: 16px;
}

.testimonial-card blockquote {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.author-role {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* SECCIÓN FAQ - Preguntas frecuentes en formato acordeón */
/* Ubicación: Antes de la sección de contacto */
.faq-section {
    background: var(--bg-white);
}

.faq-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.faq-content h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.faq-content p {
    color: var(--text-secondary);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-body);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    overflow: hidden;
}

.faq-item summary {
    padding: 18px 24px;
    cursor: pointer;
    font-weight: 600;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 300;
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-item p {
    padding: 0 24px 18px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* SECCIÓN DE CONTACTO - Formulario y beneficios rápidos */
/* Ubicación: Final de la página, antes del pie de página */
.contact-section {
    background: linear-gradient(180deg, var(--bg-body) 0%, var(--primary-light) 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-content h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.contact-content>p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.contact-benefits {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.benefit-item i {
    color: var(--primary);
}

.contact-form {
    background: var(--bg-glass-strong);
    backdrop-filter: var(--glass-blur);
    padding: 40px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-glass);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.form-group input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: all var(--duration-fast);
    background: var(--bg-white);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-light);
}

.form-privacy {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* PIE DE PÁGINA (FOOTER) - Enlaces, redes sociales y copyright */
/* Ubicación: Parte inferior de todo el sitio */
.footer {
    background: var(--text-primary);
    color: var(--text-white);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand img {
    height: 50px;
    margin-bottom: 16px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-links h5,
.footer-social h5 {
    font-size: 1rem;
    margin-bottom: 20px;
}

.footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    padding: 6px 0;
    font-size: 0.9rem;
    transition: color var(--duration-fast);
}

.footer-links a:hover {
    color: var(--text-white);
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons a {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all var(--duration-fast);
}

.social-icons a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* MODALES - Ventanas emergentes de pago y registro */
/* Ubicación: Capa superior (Overlay) del sitio */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all var(--duration-normal);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: 40px;
    max-width: 480px;
    width: 100%;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: transform var(--duration-normal) var(--ease-out);
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: color var(--duration-fast);
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-header {
    text-align: center;
    margin-bottom: 28px;
}

.modal-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.5rem;
    color: var(--primary);
}

.modal-header h3 {
    font-size: 1.4rem;
    font-weight: 700;
}

.modal-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Payment Options */
.payment-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.payment-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 24px;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    transition: all var(--duration-fast);
}

.payment-btn:hover {
    border-color: var(--primary);
    background: var(--primary-light);
}

.payment-btn img {
    width: 32px;
    height: auto;
}

.payment-btn strong {
    display: block;
    font-size: 1rem;
}

.payment-btn small {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* BOTÓN FLOTANTE (CTA) - Acceso rápido a inscripción desde cualquier lugar */
/* Ubicación: Se fija en la esquina inferior derecha al hacer scroll */
.floating-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--duration-normal);
}

.floating-cta.visible {
    opacity: 1;
    transform: translateY(0);
}

.floating-cta button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    background: var(--btn-primary);
    color: var(--text-white);
    border: none;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    box-shadow: var(--shadow-btn);
    transition: all var(--duration-normal);
}

.floating-cta button:hover {
    background: var(--btn-primary-hover);
    transform: scale(1.05);
}

/* ANIMACIONES - Definición de efectos al hacer scroll y otros movimientos */
/* Ubicación: Estilos transversales aplicados a varios elementos */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s var(--ease-out);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

/* Stagger Animation */
.stagger>* {
    opacity: 0;
    transform: translateY(20px);
}

.stagger.visible>* {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.5s var(--ease-out);
}

.stagger.visible>*:nth-child(1) {
    transition-delay: 0.1s;
}

.stagger.visible>*:nth-child(2) {
    transition-delay: 0.2s;
}

.stagger.visible>*:nth-child(3) {
    transition-delay: 0.3s;
}

.stagger.visible>*:nth-child(4) {
    transition-delay: 0.4s;
}

/* DISEÑO RESPONSIVO - Ajustes para Tablets y Dispositivos Móviles */
/* Ubicación: Al final del archivo para sobreescribir estilos base */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        max-width: 450px;
        margin: 0 auto;
    }

    .hero-image-wrapper {
        overflow: visible;
    }

    .floating-badge.badge-cert {
        left: 10px;
        top: -10px;
        padding: 10px 14px;
        font-size: 0.85rem;
    }

    .floating-badge.badge-rating {
        right: 10px;
        bottom: 20px;
    }

    /* Hide bubbles on tablet */
    .hero-bubbles {
        display: none;
    }

    .video-grid,
    .contact-grid,
    .faq-container {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid,
    .team-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .pricing-card.featured {
        transform: none;
        order: -1;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }

    /* Why Section Responsive */
    .why-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Info Section Responsive */
    .info-timeline {
        flex-direction: column;
        gap: 20px;
    }

    .info-timeline::before {
        display: none;
    }

    .timeline-item::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    .section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .proof-grid {
        flex-direction: column;
        gap: 16px;
    }

    /* Hide trust logos on mobile */
    .trust-logos {
        display: none;
    }

    .logos-wrapper {
        flex-direction: column;
        gap: 16px;
    }

    .hero-stats {
        flex-direction: row;
        gap: 24px;
        flex-wrap: wrap;
    }

    .hero-visual {
        max-width: 320px;
    }

    .hero-cta {
        flex-direction: column;
        gap: 12px;
    }

    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }

    /* Team section mobile */
    .team-card {
        padding: 24px 20px;
    }

    .team-avatar {
        width: 100px;
        height: 100px;
    }

    .floating-team-wrapper {
        gap: 24px;
        flex-wrap: wrap;
    }

    .floating-avatar img {
        width: 60px;
        height: 60px;
    }

    /* Pricing mobile */
    .pricing-card {
        padding: 28px 20px;
    }

    .pricing-card .price {
        font-size: 2.5rem;
    }

    /* FAQ mobile */
    .faq-item {
        padding: 16px;
    }

    /* Testimonials mobile */
    .testimonial-card {
        padding: 24px;
    }

    /* Floating CTA mobile */
    .floating-cta {
        bottom: 16px;
        right: 16px;
    }

    .floating-cta button span {
        display: none;
    }

    .floating-cta button {
        padding: 18px;
        border-radius: 50%;
        width: 56px;
        height: 56px;
    }

    .floating-cta button i {
        font-size: 1.3rem;
    }

    /* Curriculum accordion mobile */
    .curriculum-header {
        padding: 16px;
    }

    .curriculum-content {
        padding: 16px;
    }

    /* Achievements grid mobile */
    .achievements-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .achievement-card {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-tag {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    .btn-lg {
        padding: 14px 20px;
        font-size: 0.85rem;
    }

    .btn {
        font-size: 0.9rem;
    }

    .pricing-card {
        padding: 20px 16px;
    }

    .pricing-card .price {
        font-size: 2.2rem;
    }

    .contact-form {
        padding: 20px;
    }

    /* Hero Stats smaller */
    .stat-value {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    /* Hero image smaller */
    .hero-visual {
        max-width: 280px;
    }

    .floating-badge {
        padding: 8px 12px;
        font-size: 0.75rem;
    }

    .badge-rating .rating-value {
        font-size: 1.4rem;
    }

    /* Team smaller */
    .team-avatar {
        width: 80px;
        height: 80px;
    }

    .team-card h4 {
        font-size: 1rem;
    }

    .floating-avatar img {
        width: 50px;
        height: 50px;
    }

    /* Curriculum smaller */
    .curriculum-header h4 {
        font-size: 0.95rem;
    }

    /* Footer responsive */
    .footer-grid {
        gap: 24px;
    }

    .footer-section h4 {
        font-size: 1rem;
    }
}

/* SECCIÓN "¿POR QUÉ NOSOTROS?" - Argumentos de venta y diferenciación */
/* Ubicación: Sección informativa adicional */
.why-section {
    background: var(--bg-white);
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.why-content h2 {
    margin-bottom: 20px;
}

.why-intro {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.why-content p {
    color: var(--text-secondary);
    margin-bottom: 12px;
}

/* GRID DE LOGROS - Estadísticas o hitos destacados */
/* Ubicación: Dentro de la sección "¿Por qué nosotros?" */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.achievement-card {
    background: var(--bg-white);
    padding: 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    transition: all var(--duration-normal) var(--ease-out);
}

.achievement-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.achievement-icon {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 16px;
}

.achievement-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.achievement-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* CTA Card in Grid */
.cta-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--btn-primary) 100%);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-card:hover {
    transform: translateY(-5px) scale(1.02);
}

.cta-card-content {
    text-align: center;
    color: var(--text-white);
}

.cta-card-content i {
    font-size: 2rem;
    margin-bottom: 12px;
}

.cta-card-content h3 {
    color: var(--text-white);
    margin-bottom: 8px;
}

.cta-card-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 16px;
}

.cta-card-content .btn {
    background: var(--text-white);
    color: var(--primary);
}

/* PRECIOS EN 2 COLUMNAS - Variante de diseño para los planes */
/* Ubicación: Alternativa a la sección de precios estándar */
.pricing-grid-two {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card.featured {
    position: relative;
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--accent-light) 100%);
    border: 2px solid var(--accent);
    box-shadow: var(--shadow-xl), 0 0 60px rgba(255, 222, 89, 0.2);
}

.best-value-ribbon {
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--primary);
    color: var(--text-white);
    padding: 6px 40px;
    font-size: 0.75rem;
    font-weight: 700;
    transform: rotate(45deg);
    box-shadow: var(--shadow-md);
}

.pro-guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.pro-guarantee i {
    color: var(--primary);
}

/* Upsell Banner */
.upsell-banner {
    margin-top: 20px;
    padding: 16px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent-light) 100%);
    border-radius: var(--radius-md);
    border: 1px dashed var(--primary);
    text-align: center;
}

.upsell-banner i {
    color: var(--primary);
    margin-bottom: 8px;
}

.upsell-banner p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.upsell-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.upsell-link:hover {
    text-decoration: underline;
}

/* Urgency Banner */
.urgency-banner {
    margin-top: 50px;
    padding: 24px 32px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--btn-primary) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    color: var(--text-white);
}

.urgency-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.urgency-content i {
    font-size: 2rem;
}

.urgency-content strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.urgency-content p {
    opacity: 0.9;
    font-size: 0.9rem;
}

.urgency-banner .btn {
    background: var(--text-white);
    color: var(--primary);
    flex-shrink: 0;
}

.urgency-banner .btn:hover {
    background: var(--accent);
    color: var(--text-primary);
}

/* SECCIÓN "LO QUE INCLUYE" - Detalle de herramientas y materiales */
/* Ubicación: Debajo de los planes de precios */
.included-section {
    background: var(--bg-body);
}

.included-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.included-card {
    background: var(--bg-white);
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    text-align: center;
    transition: all var(--duration-normal);
}

.included-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.included-card.highlight {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent-light) 100%);
    border: 2px solid var(--primary);
}

.included-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.3rem;
    color: var(--primary);
}

.included-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.included-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

/* SECCIÓN DE INFORMACIÓN BARRA - Datos rápidos del curso */
/* Ubicación: Encima del equipo docente */
.info-section {
    background: var(--bg-white);
}

.info-card {
    background: linear-gradient(135deg, var(--bg-body) 0%, var(--primary-light) 100%);
    padding: 48px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    text-align: center;
}

.info-header {
    margin-bottom: 36px;
}

.info-header h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.info-header p {
    color: var(--text-secondary);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-bottom: 36px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.info-item i {
    font-size: 1.3rem;
    color: var(--primary);
}

.info-item strong {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-item span {
    font-weight: 600;
    color: var(--text-primary);
}

.info-cta {
    margin-top: 24px;
}

/* LLAMADA A LA ACCIÓN (CTA) - Botón de cierre de sección */
/* Ubicación: Al final de bloques de contenido */
.section-cta {
    text-align: center;
    margin-top: 50px;
    padding: 32px;
    background: var(--bg-body);
    border-radius: var(--radius-lg);
}

.section-cta p {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

/* TESTIMONIO DESTACADO - Comentario principal de un alumno con imagen */
/* Ubicación: Sección de testimonios */
.testimonials-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 60px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent-light) 100%);
    padding: 48px;
    border-radius: var(--radius-xl);
    border: 2px solid var(--accent);
}

.testimonial-image-wrapper {
    position: relative;
}

.testimonial-featured-img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.testimonial-image-badge {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--text-primary);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-md);
}

.testimonial-featured-content {
    padding: 20px;
}

.quote-icon-large {
    font-size: 3rem;
    color: var(--primary);
    opacity: 0.3;
    margin-bottom: 16px;
}

.testimonials-featured blockquote {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: 24px;
    line-height: 1.6;
}

.testimonial-featured-author {
    margin-bottom: 24px;
}

.testimonial-featured-author strong {
    display: block;
    font-size: 1.1rem;
}

.testimonial-featured-author span {
    color: var(--text-muted);
}

/* ===== FAQ CTA ===== */
.faq-cta {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border-light);
}

.faq-cta p {
    margin-bottom: 12px;
    font-weight: 500;
}

/* SECCIÓN CTA FINAL - Última invitación a inscribirse antes del footer */
/* Ubicación: Cierre de la página principal */
.final-cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--btn-primary) 100%);
    padding: 80px 0;
    text-align: center;
    color: var(--text-white);
}

.final-cta-content h2 {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.final-cta-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 32px;
}

.final-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.final-cta-buttons .btn-primary {
    background: var(--text-white);
    color: var(--primary);
}

.final-cta-buttons .btn-primary:hover {
    background: var(--accent);
    color: var(--text-primary);
}

.final-cta-buttons .btn-outline {
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--text-white);
}

.final-cta-buttons .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-white);
}

/* ===== ADDITIONAL RESPONSIVE ===== */
@media (max-width: 1024px) {
    .why-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid-two {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .pricing-card.featured {
        order: -1;
    }

    .urgency-banner {
        flex-direction: column;
        text-align: center;
    }

    .urgency-content {
        flex-direction: column;
    }

    .included-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .info-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .testimonials-featured {
        grid-template-columns: 1fr;
    }

    .testimonial-featured-content {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .achievements-grid {
        grid-template-columns: 1fr;
    }

    .included-grid {
        grid-template-columns: 1fr;
    }

    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .info-card {
        padding: 32px 20px;
    }

    .testimonials-featured {
        padding: 32px 20px;
    }

    .testimonials-featured blockquote {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .info-grid {
        grid-template-columns: 1fr;
    }

    .best-value-ribbon {
        display: none;
    }
}

/* SECCIÓN DE TESTIMONIOS OSCUROS - Variación estética en modo oscuro */
/* Ubicación: Parte inferior del sitio, diseño premium alternativo */
.testimonials-dark {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    position: relative;
    overflow: hidden;
}

.testimonials-dark::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 74, 173, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.testimonials-dark::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 222, 89, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.section-tag-dark {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent);
}

.text-white {
    color: #ffffff !important;
}

/* Dark Featured Testimonial */
.testimonials-featured-dark {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 60px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 48px;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.testimonials-featured-dark .testimonial-featured-img {
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.testimonials-featured-dark .quote-icon-large {
    color: var(--accent);
    opacity: 0.5;
}

.testimonials-featured-dark blockquote {
    font-size: 1.3rem;
    font-style: italic;
    color: #ffffff;
    margin-bottom: 24px;
    line-height: 1.6;
}

.testimonials-featured-dark .testimonial-featured-author strong {
    color: #ffffff;
}

.testimonials-featured-dark .testimonial-featured-author span {
    color: rgba(255, 255, 255, 0.6);
}

.btn-accent {
    background: var(--accent);
    color: var(--text-primary);
    box-shadow: 0 4px 15px rgba(255, 222, 89, 0.3);
}

.btn-accent:hover {
    background: var(--accent-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 222, 89, 0.4);
}

/* TARJETAS DE TESTIMONIO OSCURAS - Grid de opiniones en modo oscuro */
/* Ubicación: Dentro de la sección de testimonios oscuros */
.testimonials-grid-dark {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.testimonial-card-dark {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--duration-normal);
}

.testimonial-card-dark:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.testimonial-card-dark .quote-icon {
    color: var(--accent);
    opacity: 0.4;
}

.testimonial-card-dark blockquote {
    color: rgba(255, 255, 255, 0.9);
}

.testimonial-card-dark .author-name {
    color: #ffffff;
}

.testimonial-card-dark .author-role {
    color: rgba(255, 255, 255, 0.5);
}

/* FAQ Icon */
.faq-icon {
    color: var(--primary);
    margin-right: 8px;
}

/* MODAL DE UPSELL - Oferta para mejorar de Lite a PRO al seleccionar plan */
/* Ubicación: Modal emergente interactivo */
.modal-upsell {
    max-width: 420px;
    text-align: center;
}

.modal-icon-upsell {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent-light) 100%);
    border: 2px solid var(--primary);
}

.modal-icon-upsell i {
    color: var(--primary);
}

.upsell-image-container {
    margin: 20px 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.upsell-modal-img {
    width: 100%;
    display: block;
}

.upsell-text {
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-size: 1rem;
    line-height: 1.6;
}

.upsell-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ===== RESPONSIVE DARK TESTIMONIALS ===== */
@media (max-width: 1024px) {
    .testimonials-featured-dark {
        grid-template-columns: 1fr;
    }

    .testimonials-featured-dark .testimonial-featured-content {
        text-align: center;
    }

    .testimonials-grid-dark {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .testimonials-featured-dark {
        padding: 32px 20px;
    }

    .testimonials-featured-dark blockquote {
        font-size: 1.1rem;
    }
}

/* NUEVA SECCIÓN INFO (ESTILO LÍNEA DE TIEMPO) - Diseño moderno de datos del curso */
/* Ubicación: Reemplaza o complementa la Info Section tradicional */
.info-section-new {
    background: linear-gradient(180deg, var(--bg-body) 0%, var(--primary-light) 50%, var(--bg-body) 100%);
    padding: 80px 0;
}

.info-header-new {
    text-align: center;
    margin-bottom: 48px;
}

.info-timeline {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 0 auto;
}

.info-card-new {
    background: var(--bg-white);
    padding: 24px 20px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    text-align: center;
    min-width: 140px;
    flex: 1;
    max-width: 160px;
    transition: all var(--duration-normal) var(--ease-out);
    box-shadow: var(--shadow-sm);
}

.info-card-new:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.info-card-new.highlight-card {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--bg-white) 100%);
    border-color: var(--primary);
}

.info-card-new.pro-badge-card {
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--bg-white) 100%);
    border-color: var(--accent);
}

.info-icon-new {
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 1.2rem;
    color: var(--primary);
}

.info-card-new.pro-badge-card .info-icon-new {
    background: var(--accent-light);
    color: var(--accent-dark);
}

.info-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.info-value {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.info-sublabel {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.info-pro-tag {
    display: inline-block;
    background: var(--accent);
    color: var(--text-primary);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    margin-top: 6px;
}

.info-cta-new {
    text-align: center;
    margin-top: 40px;
}

/* AVATARES FLOTANTES DEL EQUIPO - Íconos interactivos de docentes */
/* Ubicación: Debajo de las cards principales del equipo */
.floating-team-wrapper {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-top: 40px;
    margin-bottom: 20px;
    position: relative;
}

.floating-avatar {
    cursor: pointer;
    text-align: center;
    transition: all var(--duration-normal) var(--ease-bounce);
    animation: floatSubtle 4s ease-in-out infinite;
}

@keyframes floatSubtle {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

.floating-avatar:nth-child(1) {
    animation-delay: 0s;
}

.floating-avatar:nth-child(2) {
    animation-delay: 0.7s;
}

.floating-avatar:nth-child(3) {
    animation-delay: 1.4s;
}

.floating-avatar img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent);
    box-shadow: var(--shadow-lg);
    transition: all var(--duration-normal);
}

.floating-avatar:hover img {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(255, 222, 89, 0.4);
    border-color: var(--primary);
}

.floating-name {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-top: 10px;
}

/* POPUPS DE CV DEL EQUIPO - Ventanas glassmorphism con info del docente */
/* Ubicación: Se activan al hacer clic en los avatares flotantes */
.team-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--duration-normal);
}

.team-popup.active {
    opacity: 1;
    visibility: visible;
}

.team-popup-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 40px 32px;
    border-radius: var(--radius-xl);
    max-width: 360px;
    width: 90%;
    text-align: center;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: all var(--duration-normal) var(--ease-bounce);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: var(--shadow-xl);
}

.team-popup.active .team-popup-content {
    transform: scale(1) translateY(0);
}

.popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: color var(--duration-fast);
}

.popup-close:hover {
    color: var(--text-primary);
}

.popup-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 16px;
    border: 4px solid var(--primary-light);
    box-shadow: var(--shadow-md);
}

.team-popup h4 {
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.popup-role {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}

.popup-cv {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* BENEFICIOS UPSELL (GLASSMORPHISM ELEGANTE) - Tarjetas premium de beneficios PRO */
/* Ubicación: Dentro del Modal de Upsell */

/* Modal Upsell mejorado */
.modal-upsell {
    max-width: 460px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.upsell-subtitle {
    color: var(--text-secondary);
    margin-top: 8px;
    font-size: 1rem;
}

.upsell-benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 28px;
}

.upsell-benefit {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 74, 173, 0.15);
    transition: all var(--duration-normal) var(--ease-out);
    animation: slideInBenefit 0.5s ease-out both;
    position: relative;
    overflow: hidden;
}

.upsell-benefit::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary) 0%, #00a857 50%, var(--accent) 100%);
    opacity: 0;
    transition: opacity var(--duration-normal);
}

.upsell-benefit:hover::before {
    opacity: 1;
}

.upsell-benefit:nth-child(1) {
    animation-delay: 0.05s;
}

.upsell-benefit:nth-child(2) {
    animation-delay: 0.1s;
}

.upsell-benefit:nth-child(3) {
    animation-delay: 0.15s;
}

.upsell-benefit:nth-child(4) {
    animation-delay: 0.2s;
}

.upsell-benefit:nth-child(5) {
    animation-delay: 0.25s;
}

.upsell-benefit:nth-child(6) {
    animation-delay: 0.3s;
}

@keyframes slideInBenefit {
    from {
        opacity: 0;
        transform: translateY(15px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.upsell-benefit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 74, 173, 0.15);
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.9);
}

.upsell-benefit i {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, #00a857 100%);
    color: #ffffff;
    border-radius: var(--radius-md);
    font-size: 1rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 74, 173, 0.25);
}

.upsell-benefit span {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: left;
    line-height: 1.3;
}

/* ===== UPSELL MODAL PREMIUM DARK MODE ===== */
/* Ubicación: Modal emergente cuando se selecciona plan Lite */
.modal-upsell-dark {
    max-width: 480px;
    background: linear-gradient(135deg, #004aad 0%, #6C5CE7 100%);
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

.modal-close-dark {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all var(--duration-fast);
    line-height: 1;
}

.modal-close-dark:hover {
    color: #ffffff;
    transform: scale(1.1);
}

/* Header Dark */
.upsell-header-dark {
    text-align: center;
    margin-bottom: 28px;
}

.upsell-icon-glow {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: iconPulse 2.5s ease-in-out infinite;
}

.upsell-icon-glow i {
    font-size: 2.2rem;
    color: #ffffff;
}

@keyframes iconPulse {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 0 40px rgba(255, 255, 255, 0.5);
        transform: scale(1.05);
    }
}

.upsell-header-dark h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.upsell-tagline {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 16px;
}

.upsell-price-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: #ffffff;
    padding: 10px 24px;
    border-radius: var(--radius-full);
    font-size: 0.95rem;
    font-weight: 600;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.85;
    }
}

/* Features Grid Dark */
.upsell-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 28px;
}

.upsell-feature-dark {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: 16px;
    transition: all var(--duration-normal) var(--ease-out);
    animation: fadeInFeature 0.5s ease-out both;
}

.upsell-feature-dark:nth-child(1) {
    animation-delay: 0.05s;
}

.upsell-feature-dark:nth-child(2) {
    animation-delay: 0.1s;
}

.upsell-feature-dark:nth-child(3) {
    animation-delay: 0.15s;
}

.upsell-feature-dark:nth-child(4) {
    animation-delay: 0.2s;
}

.upsell-feature-dark:nth-child(5) {
    animation-delay: 0.25s;
}

.upsell-feature-dark:nth-child(6) {
    animation-delay: 0.3s;
}

@keyframes fadeInFeature {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.upsell-feature-dark:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.upsell-feature-dark.highlighted {
    border: 2px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.18);
}

.feature-icon-dark {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #004aad 0%, #6C5CE7 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.feature-icon-dark i {
    font-size: 1.2rem;
    color: #ffffff;
}

.feature-text strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 2px;
}

.feature-text span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Action Buttons Dark */
.upsell-actions-dark {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-premium-dark {
    width: 100%;
    padding: 18px 32px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-lg);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all var(--duration-normal) var(--ease-out);
    box-shadow: 0 8px 25px rgba(245, 87, 108, 0.35);
}

.btn-premium-dark:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 40px rgba(245, 87, 108, 0.5);
}

.btn-lite-dark {
    width: 100%;
    padding: 16px 32px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-weight: 500;
    color: #ffffff;
    cursor: pointer;
    transition: all var(--duration-normal);
}

.btn-lite-dark:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* Responsive Dark Modal */
@media (max-width: 520px) {
    .modal-upsell-dark {
        padding: 32px 20px;
    }

    .upsell-features-grid {
        grid-template-columns: 1fr;
    }

    .upsell-header-dark h3 {
        font-size: 1.6rem;
    }
}

/* ===== INCLUDES SECTION (CLEAN LIGHT DESIGN) ===== */
/* Ubicación: Sección "¿Qué incluye?" - Diseño elegante sin flip */
.includes-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.includes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.include-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 32px 28px;
    text-align: left;
    transition: all 0.3s ease;
    position: relative;
}

.include-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 74, 173, 0.12);
    border-color: var(--primary-light);
}

.include-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #e8f4fc 0%, #dbeafe 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.include-icon i {
    font-size: 1.5rem;
    color: var(--primary);
}

.include-card:hover .include-icon {
    background: linear-gradient(135deg, var(--primary) 0%, #2563eb 100%);
}

.include-card:hover .include-icon i {
    color: #ffffff;
}

.include-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.include-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* PRO Card Styling */
.include-card-pro {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 2px solid var(--accent);
}

.include-card-pro:hover {
    box-shadow: 0 20px 40px rgba(255, 193, 7, 0.25);
}

.include-icon-pro {
    background: linear-gradient(135deg, var(--primary) 0%, #6C5CE7 100%);
}

.include-icon-pro i {
    color: #ffffff;
}

.include-card-pro:hover .include-icon-pro {
    background: linear-gradient(135deg, #6C5CE7 0%, var(--primary) 100%);
}

.include-pro-btn {
    display: inline-block;
    background: var(--primary);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 8px;
    margin-top: 16px;
    transition: all 0.3s ease;
}

.include-pro-btn:hover {
    background: var(--btn-primary);
    transform: translateX(4px);
}

/* Responsive Includes Grid */
@media (max-width: 1024px) {
    .includes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .includes-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .include-card {
        padding: 24px 20px;
    }

    .include-icon {
        width: 48px;
        height: 48px;
    }

    .include-icon i {
        font-size: 1.3rem;
    }
}

/* ===== UPSELL MODAL LIGHT MODE GLASSMORPHISM ===== */
.modal-upsell-light {
    background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
    border-radius: 24px;
    padding: 40px 32px;
    max-width: 480px;
    width: 95%;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 74, 173, 0.15);
    border: 1px solid rgba(0, 74, 173, 0.1);
}

.modal-close-light {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 74, 173, 0.05);
    border: none;
    font-size: 1.5rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close-light:hover {
    background: rgba(0, 74, 173, 0.1);
    color: var(--primary);
}

.upsell-header-light {
    text-align: center;
    margin-bottom: 28px;
}

.upsell-icon-light {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary) 0%, #6C5CE7 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 8px 24px rgba(0, 74, 173, 0.25);
}

.upsell-icon-light i {
    font-size: 1.8rem;
    color: #ffffff;
}

.upsell-header-light h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.upsell-tagline-light {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.upsell-price-badge-light {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 50px;
    animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.03);
    }
}

.upsell-features-grid-light {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 28px;
}

.upsell-feature-light {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 74, 173, 0.08);
    border-radius: 14px;
    padding: 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    transition: all 0.3s ease;
}

.upsell-feature-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 74, 173, 0.1);
}

.upsell-feature-light.highlighted-light {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 2px solid var(--accent);
}

.feature-icon-light {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon-light i {
    font-size: 1rem;
    color: var(--primary);
}

.feature-text-light {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.feature-text-light strong {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
}

.feature-text-light span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.upsell-actions-light {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-premium-light {
    width: 100%;
    padding: 16px 32px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border: none;
    border-radius: 14px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.35);
}

.btn-premium-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(245, 158, 11, 0.45);
}

.btn-lite-light {
    width: 100%;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--primary) 0%, #000000 100%);
    border: none;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-lite-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 74, 173, 0.25);
}

/* Responsive Light Modal */
@media (max-width: 520px) {
    .modal-upsell-light {
        padding: 28px 20px;
    }

    .upsell-features-grid-light {
        grid-template-columns: 1fr;
    }

    .upsell-header-light h3 {
        font-size: 1.5rem;
    }
}

/* BANNER DE URGENCIA MODO OSCURO - Aviso de cupos limitados por tutor */
/* Ubicación: Debajo de la sección de precios/inscripción */
.included-accordion-section {
    background: linear-gradient(180deg, var(--bg-body) 0%, var(--primary-light) 50%, var(--bg-body) 100%);
}

.accordion-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
    align-items: center;
}

.accordion-content {
    padding-right: 20px;
}

.accordion-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.3;
    margin-bottom: 20px;
}

.accordion-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 28px;
    line-height: 1.7;
}

.accordion-highlights {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 32px;
}

.accordion-highlights li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
}

.accordion-highlights li i {
    color: #00a857;
    font-size: 1.1rem;
}

/* Image Accordion Container */
.image-accordion-wrapper {
    overflow-x: auto;
    padding: 20px 0;
}

.image-accordion {
    display: flex;
    gap: 12px;
    height: 420px;
}

.accordion-item {
    position: relative;
    height: 100%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    width: 60px;
}

.accordion-item.active {
    width: 280px;
}

.accordion-item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.accordion-item:hover img {
    transform: scale(1.05);
}

.accordion-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 74, 173, 0.3) 0%, rgba(0, 74, 173, 0.7) 100%);
    transition: all 0.4s ease;
}

.accordion-item.active .accordion-overlay {
    background: linear-gradient(180deg, rgba(0, 74, 173, 0.2) 0%, rgba(0, 74, 173, 0.6) 100%);
}

.accordion-item.pro-item .accordion-overlay {
    background: linear-gradient(180deg, rgba(108, 92, 231, 0.3) 0%, rgba(108, 92, 231, 0.75) 100%);
}

/* Caption Styles */
.accordion-caption {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: #ffffff;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

/* Inactive: vertical text at bottom */
.accordion-item:not(.active) .accordion-caption {
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) rotate(-90deg);
    transform-origin: center center;
}

/* Active: horizontal at bottom center */
.accordion-item.active .accordion-caption {
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    flex-direction: column;
}

.accordion-caption i {
    font-size: 1.3rem;
    margin-bottom: 8px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    opacity: 0;
    transition: all 0.4s ease;
}

.accordion-item.active .accordion-caption i {
    opacity: 1;
}

.accordion-caption span {
    font-size: 0.95rem;
    font-weight: 600;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.accordion-item.active .accordion-caption span {
    font-size: 1.1rem;
}

.accordion-caption .pro-tag {
    display: inline-block;
    background: var(--accent);
    color: var(--text-primary);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    margin-top: 8px;
}

/* PRO Item Highlight Ring */
.accordion-item.pro-item {
    box-shadow: 0 0 0 3px var(--accent), 0 10px 30px rgba(108, 92, 231, 0.3);
}

/* Responsive Image Accordion */
@media (max-width: 1024px) {
    .accordion-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .accordion-content {
        padding-right: 0;
        text-align: center;
    }

    .accordion-highlights {
        align-items: center;
    }

    .image-accordion {
        justify-content: center;
        height: 380px;
    }

    .accordion-item.active {
        width: 220px;
    }
}

@media (max-width: 768px) {
    .accordion-title {
        font-size: 1.8rem;
    }

    .image-accordion {
        height: 320px;
        gap: 8px;
    }

    .accordion-item {
        width: 45px;
    }

    .accordion-item.active {
        width: 180px;
    }

    .accordion-caption span {
        font-size: 0.85rem;
    }

    .accordion-item.active .accordion-caption span {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .image-accordion {
        height: 280px;
        overflow-x: auto;
        justify-content: flex-start;
        padding: 0 10px;
    }

    .accordion-item {
        width: 40px;
    }

    .accordion-item.active {
        width: 160px;
    }

    .accordion-title {
        font-size: 1.5rem;
    }

    .accordion-description {
        font-size: 1rem;
    }
}

/* BANNER DE URGENCIA MODO OSCURO - Aviso de cupos limitados por tutor */
/* Ubicación: Debajo de la sección de precios/inscripción */
.urgency-banner-dark {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 20px 32px;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0f172a 100%);
    border-radius: var(--radius-xl);
    margin-top: 48px;
}

.urgency-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.urgency-icon i {
    font-size: 1.5rem;
    color: #ffffff;
}

.urgency-content-dark {
    flex: 1;
}

.urgency-content-dark strong {
    display: block;
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 4px;
}

.urgency-content-dark p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.btn-light {
    background: #ffffff;
    color: var(--primary);
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
    white-space: nowrap;
}

.btn-light:hover {
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

/* AJUSTES RESPONSIVOS PARA LAS NUEVAS SECCIONES - Adaptación de timeline y avatares */
/* Ubicación: Al final del archivo, específico para los nuevos elementos */
@media (max-width: 1024px) {
    .info-timeline {
        gap: 12px;
    }

    .info-card-new {
        min-width: 120px;
        padding: 20px 16px;
    }
}

@media (max-width: 768px) {
    .info-timeline {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .info-card-new {
        max-width: none;
    }

    .floating-team-wrapper {
        gap: 24px;
    }

    .floating-avatar img {
        width: 60px;
        height: 60px;
    }

    .upsell-benefits {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .info-timeline {
        grid-template-columns: repeat(2, 1fr);
    }

    .floating-team-wrapper {
        gap: 16px;
    }

    .floating-avatar img {
        width: 50px;
        height: 50px;
    }

    .floating-name {
        font-size: 0.7rem;
    }
}

/* ============================================
   PLAN SELECTOR MODAL - Glassmorphism Style
   ============================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 20, 50, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-glass {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.98) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 32px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s ease;
}

.modal-overlay.active .modal-glass {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    font-size: 1.5rem;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: #ef4444;
    color: #ffffff;
}

.modal-header {
    text-align: center;
    margin-bottom: 28px;
}

.modal-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.plan-icon {
    background: linear-gradient(135deg, #004aad 0%, #6C5CE7 100%);
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 74, 173, 0.3);
}

.modal-header h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
}

.modal-header p {
    color: #64748b;
    font-size: 0.95rem;
}

/* Plan Options Grid */
.plan-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.plan-option {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.plan-option:hover {
    border-color: #004aad;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 74, 173, 0.15);
}

.plan-option-featured {
    background: linear-gradient(135deg, #fff8e1 0%, #fffde7 100%);
    border-color: #f5c518;
}

.plan-option-featured:hover {
    border-color: #e6b000;
    box-shadow: 0 10px 30px rgba(245, 197, 24, 0.3);
}

.plan-badge {
    position: absolute;
    top: -10px;
    right: 16px;
    background: linear-gradient(135deg, #004aad 0%, #6C5CE7 100%);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}

.plan-badge i {
    color: #ffde59;
}

.plan-option-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.plan-option-header h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
}

.plan-tag {
    background: #e8f4fd;
    color: #004aad;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.pro-tag {
    background: #004aad;
    color: #ffffff;
}

.plan-option-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 8px;
}

.plan-currency {
    font-size: 0.85rem;
    color: #64748b;
}

.plan-amount {
    font-size: 1.8rem;
    font-weight: 800;
    color: #004aad;
}

.plan-option-featured .plan-amount {
    color: #1a1a2e;
}

.plan-usd {
    font-size: 0.85rem;
    color: #94a3b8;
}

.plan-desc {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0;
}

/* Modal Steps (show/hide) */
.modal-step {
    display: none;
}

.modal-step.active {
    display: block;
}

/* Payment Options Step */
.payment-step {
    display: none;
}

.payment-step.active {
    display: block;
}

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.payment-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 24px;
    border-radius: 14px;
    border: 2px solid #e2e8f0;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.payment-btn:hover {
    border-color: #004aad;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 74, 173, 0.15);
}

.payment-btn.chile-btn {
    border-color: #004aad;
    background: linear-gradient(135deg, #e8f4fd 0%, #ffffff 100%);
}

.payment-btn.chile-btn:hover {
    background: #004aad;
    color: #ffffff;
}

.payment-btn.chile-btn:hover .payment-label,
.payment-btn.chile-btn:hover .payment-desc {
    color: #ffffff;
}

.payment-btn.paypal-btn:hover {
    border-color: #003087;
    background: #003087;
}

.payment-btn.paypal-btn:hover .payment-label,
.payment-btn.paypal-btn:hover .payment-desc {
    color: #ffffff;
}

.payment-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.chile-icon {
    background: #004aad;
    color: #ffffff;
}

.paypal-icon {
    background: #003087;
    color: #ffffff;
}

.payment-info {
    flex: 1;
}

.payment-label {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    display: block;
}

.payment-desc {
    font-size: 0.85rem;
    color: #64748b;
}

.back-btn {
    width: 100%;
    margin-top: 16px;
    padding: 12px;
    background: transparent;
    border: none;
    color: #64748b;
    font-size: 0.9rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.back-btn:hover {
    color: #004aad;
}

@media (max-width: 480px) {
    .modal-glass {
        padding: 24px 20px;
        margin: 16px;
    }

    .plan-option-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .plan-amount {
        font-size: 1.5rem;
    }
}

/* ============================================
   EXIT INTENT COUPON POPUP
   Aparece cuando el usuario intenta salir.
   Control de frecuencia almacenado en
   localStorage (clave: exitIntentLastShown)
   para no mostrarse de nuevo en 48 horas.
   ============================================ */

/* Overlay de fondo */
.exit-intent-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 15, 35, 0.78);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.45s ease, visibility 0.45s ease;
    padding: 16px;
}

.exit-intent-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Modal: layout en dos columnas */
.exit-intent-modal {
    display: flex;
    width: 100%;
    max-width: 860px;
    min-height: 520px;
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.45);
    position: relative;
    transform: scale(0.92) translateY(24px);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.exit-intent-overlay.active .exit-intent-modal {
    transform: scale(1) translateY(0);
}

/* Botón cerrar */
.exit-intent-close {
    position: absolute;
    top: 14px;
    right: 18px;
    z-index: 10;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
}

.exit-intent-close:hover {
    background: rgba(255, 255, 255, 0.45);
    transform: rotate(90deg) scale(1.1);
}

/* Panel izquierdo: imagen de fondo */
.exit-intent-left {
    flex: 0 0 42%;
    position: relative;
    overflow: hidden;
    min-height: 340px;
}

.exit-intent-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    filter: brightness(0.72);
    transition: transform 6s ease;
}

.exit-intent-overlay.active .exit-intent-img {
    transform: scale(1.05);
}

/* Superposición de texto sobre la imagen */
.exit-intent-img-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px 24px;
    background: linear-gradient(0deg, rgba(0, 10, 35, 0.85) 0%, rgba(0,0,0,0) 55%);
}

.exit-intent-badge-series {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 12px;
    width: fit-content;
}

.exit-intent-badge-series i {
    font-size: 0.65rem;
    color: var(--accent);
}

.exit-intent-course-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 6px;
}

.exit-intent-course-sub {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* Panel derecho: formulario */
.exit-intent-right {
    flex: 1;
    padding: 36px 32px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #f8fafc;
    overflow-y: auto;
}

/* Timer sticky superior */
.exit-intent-coupon-timer-wrap {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #fff3cd, #fff8e1);
    border: 1.5px solid #f5c518;
    color: #92400e;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 20px;
    width: fit-content;
}

.exit-timer-icon {
    color: #d97706;
    animation: timer-pulse 1s ease-in-out infinite;
}

@keyframes timer-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* Títulos del formulario */
.exit-intent-title {
    font-size: clamp(1.25rem, 3vw, 1.65rem);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.25;
    margin-bottom: 10px;
}

.exit-intent-subtitle {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin-bottom: 24px;
}

/* Campos del formulario */
.exit-intent-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.exit-field-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.exit-field-group label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.02em;
}

.exit-field-group input {
    width: 100%;
    padding: 13px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--text-primary);
    background: #ffffff;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.exit-field-group input:focus {
    border-color: var(--btn-primary);
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.12);
}

/* Botón submit */
.exit-intent-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--btn-primary) 0%, #5341D9 100%);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    padding: 15px 24px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    width: 100%;
    margin-top: 4px;
    box-shadow: 0 6px 20px rgba(108, 92, 231, 0.35);
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.exit-intent-submit:hover {
    background: linear-gradient(135deg, #5341D9 0%, #4230c8 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(108, 92, 231, 0.45);
}

.exit-intent-submit:active {
    transform: translateY(0);
}

/* Nota de privacidad */
.exit-intent-privacy {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* ---- Vista 2: Cupón revelado ---- */
.exit-coupon-success-icon {
    font-size: 2.8rem;
    color: #22c55e;
    margin-bottom: 10px;
    animation: pop-in 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes pop-in {
    from { transform: scale(0.4); opacity: 0; }
    to   { transform: scale(1);   opacity: 1; }
}

/* Caja con el código del cupón */
.exit-coupon-box {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 2px dashed #22c55e;
    border-radius: 16px;
    padding: 20px 20px 16px;
    text-align: center;
    margin: 18px 0 16px;
}

.exit-coupon-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: #15803d;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.exit-coupon-code {
    font-size: clamp(1.05rem, 3vw, 1.6rem);
    font-weight: 900;
    font-family: 'Courier New', monospace;
    color: #14532d;
    letter-spacing: 0.05em;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 12px;
    word-break: break-all;
}

/* Botón copiar */
.exit-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #22c55e;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 8px 20px;
    font-size: 0.87rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.exit-copy-btn:hover {
    background: #16a34a;
    transform: scale(1.04);
}

.exit-copy-btn.copied {
    background: #0d9488;
}

/* Timer en vista cupón */
.exit-coupon-timer-final {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.88rem;
    color: #92400e;
    background: #fff8e1;
    border: 1px solid #f5c518;
    border-radius: 8px;
    padding: 9px 16px;
    margin-bottom: 18px;
}

.exit-coupon-timer-final i {
    color: #d97706;
}

/* CTA final: ir a planes */
.exit-go-pricing {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--btn-primary) 0%, #5341D9 100%);
    color: #ffffff;
    font-size: 0.97rem;
    font-weight: 700;
    padding: 14px 24px;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(108, 92, 231, 0.35);
    transition: transform 0.2s, box-shadow 0.2s;
}

.exit-go-pricing:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(108, 92, 231, 0.45);
}

/* ====== RESPONSIVE EXIT INTENT ====== */

/* Tablet */
@media (max-width: 768px) {
    .exit-intent-modal {
        flex-direction: column;
        max-width: 480px;
        min-height: auto;
        border-radius: 20px;
    }

    .exit-intent-left {
        flex: none;
        height: 200px;
    }

    .exit-intent-img {
        object-position: center 20%;
    }

    .exit-intent-right {
        padding: 24px 20px 28px;
    }

    .exit-intent-close {
        background: rgba(0, 0, 0, 0.35);
    }
}

/* Mobile pequeño */
@media (max-width: 400px) {
    .exit-intent-overlay {
        padding: 8px;
        align-items: flex-end;
    }

    .exit-intent-modal {
        border-radius: 20px 20px 0 0;
        max-width: 100%;
    }

    .exit-intent-left {
        height: 160px;
    }

    .exit-coupon-code {
        font-size: 1rem;
    }
}

/* ============================================
   STICKY PRO CTA BAR
   Barra siempre visible en la parte inferior.
   Desaparece cuando el usuario está en la
   sección #pricing para no duplicar la info.
   ============================================ */

.sticky-pro-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9990;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-top: 2px solid rgba(108, 92, 231, 0.5);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.35);
    padding: 12px 20px;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Visible por defecto — JS lo oculta si está en pricing */
.sticky-pro-cta.visible {
    transform: translateY(0);
}

/* Layout interior: info a la izquierda, botón a la derecha */
.sticky-pro-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Bloque de info (label + precio) */
.sticky-pro-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0; /* permite truncar en pantallas pequeñas */
}

.sticky-pro-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.65);
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.sticky-pro-label i {
    color: #f5c518;
    font-size: 0.72rem;
}

.sticky-pro-price {
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
    white-space: nowrap;
}

/* Botón CTA */
.sticky-pro-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #6C5CE7 0%, #004aad 100%);
    color: #ffffff;
    font-size: 0.97rem;
    font-weight: 700;
    font-family: inherit;
    padding: 13px 28px;
    border-radius: 50px;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 6px 20px rgba(108, 92, 231, 0.45);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.sticky-pro-btn:hover {
    background: linear-gradient(135deg, #5341D9 0%, #0039a6 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(108, 92, 231, 0.55);
    color: #ffffff;
}

.sticky-pro-btn:active {
    transform: translateY(0);
}

/* ---- Tablet (768px y menores) ---- */
@media (max-width: 768px) {
    .sticky-pro-cta {
        padding: 10px 16px;
    }

    .sticky-pro-price {
        font-size: 1rem;
    }

    .sticky-pro-btn {
        font-size: 0.9rem;
        padding: 11px 20px;
        gap: 8px;
    }
}

/* ---- Mobile (480px y menores) ---- */
@media (max-width: 480px) {
    .sticky-pro-inner {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
        text-align: center;
    }

    .sticky-pro-info {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

    .sticky-pro-label {
        font-size: 0.82rem;
    }

    .sticky-pro-price {
        font-size: 1.05rem;
    }

    .sticky-pro-btn {
        width: 100%;
        justify-content: center;
        padding: 13px 20px;
        border-radius: 14px;
    }
}

/* ---- Mobile muy pequeño (360px y menores) ---- */
@media (max-width: 360px) {
    .sticky-pro-info {
        flex-direction: column;
        gap: 2px;
    }

    .sticky-pro-btn {
        font-size: 0.88rem;
        padding: 12px 16px;
    }
}
/* ============================================
   B-LEARNING 2027 - PREMIUM DECISION MODAL
   ============================================ */
.blearning-modal-card {
    position: relative;
    width: min(940px, calc(100% - 32px));
    max-height: min(92vh, 820px);
    overflow: auto;
    border-radius: 32px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255,255,255,.95), rgba(239,232,255,.88));
    box-shadow: 0 32px 90px rgba(21, 24, 55, .36), 0 0 0 1px rgba(255,255,255,.65);
    transform: translateY(22px) scale(.96);
    transition: transform .35s cubic-bezier(.2,.8,.2,1);
}

.modal-overlay.active .blearning-modal-card { transform: translateY(0) scale(1); }

.blearning-modal-content {
    position: relative;
    z-index: 2;
    padding: 48px;
    border-radius: 31px;
    text-align: center;
    background: linear-gradient(155deg, rgba(255,255,255,.98), rgba(248,247,255,.95));
}

.blearning-modal-glow {
    position: absolute;
    inset: -80px auto auto -80px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(108, 92, 231, .2);
    filter: blur(42px);
}

.blearning-modal-close {
    position: absolute;
    z-index: 5;
    top: 18px;
    right: 20px;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(24, 28, 55, .08);
    border-radius: 50%;
    background: rgba(255,255,255,.86);
    color: #20233f;
    font-size: 26px;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(25, 28, 58, .1);
}

.blearning-year-badge,
.blearning-choice-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    font-weight: 800;
    letter-spacing: .02em;
}

.blearning-year-badge {
    padding: 9px 16px;
    color: #5b46d6;
    background: #eeeaff;
}

.blearning-modal-icon {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    margin: 18px auto 12px;
    border-radius: 22px;
    color: white;
    font-size: 30px;
    background: linear-gradient(135deg, #6c5ce7, #4834d4);
    box-shadow: 0 14px 34px rgba(108, 92, 231, .3);
}

.blearning-eyebrow {
    margin: 0 0 6px;
    color: #6c5ce7;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .82rem;
}

.blearning-modal-content h3 {
    margin: 0;
    color: #171a36;
    font-size: clamp(1.8rem, 4vw, 2.65rem);
    line-height: 1.12;
}

.blearning-modal-copy {
    max-width: 720px;
    margin: 16px auto 28px;
    color: #626780;
    font-size: 1.05rem;
    line-height: 1.65;
}

.blearning-choice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    text-align: left;
}

.blearning-choice {
    position: relative;
    padding: 28px;
    border: 1px solid rgba(87, 74, 200, .12);
    border-radius: 24px;
    background: white;
    box-shadow: 0 14px 34px rgba(33, 36, 74, .08);
}

.blearning-choice-lite {
    color: white;
    border: 0;
    background: linear-gradient(145deg, #35278f, #6c5ce7 62%, #8071ee);
    box-shadow: 0 20px 44px rgba(74, 55, 188, .28);
}

.blearning-choice > i { margin: 24px 0 14px; font-size: 28px; }
.blearning-choice h4 { margin: 0 0 8px; font-size: 1.35rem; }
.blearning-choice p { margin: 0 0 20px; line-height: 1.55; }
.blearning-choice-lite p { color: rgba(255,255,255,.82); }
.blearning-choice-waitlist p { color: #74798e; }

.blearning-choice-tag {
    padding: 7px 11px;
    font-size: .73rem;
    text-transform: uppercase;
    background: rgba(255,255,255,.16);
}
.blearning-choice-waitlist .blearning-choice-tag { color: #5b46d6; background: #eeeaff; }

.blearning-primary-cta,
.blearning-secondary-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 50px;
    padding: 13px 16px;
    border: 0;
    border-radius: 14px;
    font-weight: 800;
    text-align: center;
    cursor: pointer;
}

.blearning-primary-cta { color: #3d2aa8; background: white; }
.blearning-secondary-cta { color: white; background: linear-gradient(135deg, #6c5ce7, #4834d4); }
.blearning-interest-form { display: grid; gap: 10px; }
.blearning-interest-form input {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #dfe1eb;
    border-radius: 12px;
    background: #fbfbfe;
    color: #23263e;
    font: inherit;
}
.blearning-interest-form input:focus { outline: 3px solid rgba(108,92,231,.14); border-color: #6c5ce7; }
.blearning-privacy { margin: 20px 0 0; color: #85899b; font-size: .82rem; }

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

@media (max-width: 760px) {
    .blearning-modal-content { padding: 42px 18px 22px; }
    .blearning-choice-grid { grid-template-columns: 1fr; }
    .blearning-choice { padding: 22px; }
    .blearning-modal-card { border-radius: 24px; }
}

