/* css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root {
    --primary-blue: #091E3D; /* Azul marino oscuro del texto "DF" y anillos */
    --light-blue: #2B8CE4; /* Azul brillante del diamante y la ola */
    --text-color: #333333;
    --white: #ffffff;
    --gray-light: #f4f6f9;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    color: var(--text-color);
    background-color: var(--white);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- TOP BAR --- */
.top-bar {
    background-color: var(--primary-blue);
    color: var(--white);
    font-size: 13px;
    padding: 10px 0;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left span {
    margin-right: 20px;
}

.top-bar-left i, .top-bar-right i {
    margin-right: 5px;
    color: var(--light-blue);
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.social-links a {
    color: var(--white);
    margin-right: 15px;
    text-decoration: none;
    transition: 0.3s;
}

.social-links a:hover {
    color: var(--light-blue);
}

.login-register a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
}

/* --- MAIN HEADER --- */
.main-header {
    background-color: var(--white);
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 15px;
    transition: 0.3s;
}

.main-nav a:hover, .main-nav a.active {
    color: var(--light-blue);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.icon-btn {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    position: relative;
    color: var(--text-color);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: red;
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 50%;
    font-weight: bold;
}

.btn-primary {
    background-color: var(--light-blue);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: 0.3s;
}

.btn-primary:hover {
    background-color: #1a71c4; /* Un tono ligeramente más oscuro del azul diamante */
}

/* --- HERO SECTION --- */
.hero-section {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 80px 0;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-text {
    width: 50%;
}

.badge {
    background-color: rgba(59, 130, 246, 0.2);
    color: var(--light-blue);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}



.hero-text h1 {
    font-size: 48px;
    line-height: 1.2;
    margin: 20px 0;
}

.highlight {
    color: var(--light-blue);
}

.hero-text p {
    font-size: 16px;
    color: #cbd5e1;
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border: 2px solid var(--white);
    transition: 0.3s;
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-blue);
}

.hero-image {
    width: 45%;
    display: flex;
    justify-content: center;
}

.image-circle-wrapper {
    width: 450px;
    height: 450px;
    border-radius: 50%;
    overflow: hidden;
    border: 10px solid rgba(255,255,255,0.1);
}

.image-circle-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- EQUIPMENT SECTION --- */
.equipment-section {
    padding: 80px 0;
    background-color: var(--gray-light);
}

.text-center {
    text-align: center;
}

.section-header {
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    color: var(--primary-blue);
    margin: 15px 0;
}

.section-header p {
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    font-size: 16px;
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.equipment-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 4px solid transparent;
}

.equipment-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border-bottom: 4px solid var(--light-blue);
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 20px auto;
    transition: background-color 0.3s, color 0.3s;
}

.equipment-card:hover .icon-wrapper {
    background-color: var(--light-blue);
    color: var(--white);
}

.equipment-card h3 {
    color: var(--primary-blue);
    font-size: 22px;
    margin-bottom: 15px;
}

.equipment-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}


/* --- PRICING SECTION --- */
.pricing-section {
    padding: 80px 0;
    background-color: var(--white);
}

.pricing-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.pricing-card {
    background-color: var(--gray-light);
    border-radius: 15px;
    width: 100%;
    max-width: 400px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.vip-card {
    background-color: var(--primary-blue);
    color: var(--white);
    box-shadow: 0 20px 40px rgba(11, 32, 70, 0.2);
    transform: scale(1.05);
}

.vip-card:hover {
    transform: scale(1.05) translateY(-5px);
}

.ribbon {
    position: absolute;
    top: -15px;
    right: 30px;
    background-color: var(--light-blue);
    color: var(--white);
    padding: 8px 15px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 20px;
    letter-spacing: 1px;
}

.card-header h3 {
    font-size: 24px;
    margin-bottom: 5px;
}

.card-header p {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.vip-card .card-header p {
    color: #cbd5e1;
}

.price {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 30px;
}

.price span {
    font-size: 24px;
    vertical-align: super;
}

.card-body ul {
    list-style: none;
    text-align: left;
    margin-bottom: 30px;
}

.card-body ul li {
    margin-bottom: 15px;
    font-size: 15px;
}

.card-body ul li i {
    color: var(--light-blue);
    margin-right: 10px;
}

.btn-secondary.dark-btn {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    display: inline-block;
    width: 100%;
}

.btn-secondary.dark-btn:hover {
    background-color: var(--primary-blue);
    color: var(--white);
}

.btn-block {
    display: inline-block;
    width: 100%;
    padding: 12px 0;
}

/* --- SYLLABUS / ACCORDION SECTION --- */
.syllabus-section {
    padding: 80px 0;
    background-color: var(--gray-light);
}

.accordion-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    background-color: var(--white);
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    color: var(--primary-blue);
    cursor: pointer;
    transition: background-color 0.3s;
}

.accordion-header:hover {
    background-color: #eef5fc; /* Fondo ultra claro tintado con el azul del logo */
}

.accordion-header i {
    transition: transform 0.3s ease;
    color: var(--light-blue);
}

.accordion-header.active i {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.content-inner {
    padding: 0 25px 25px 25px;
}

.content-inner ul {
    list-style-type: none;
    padding-left: 0;
}

.content-inner ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: #555;
    font-size: 15px;
}

.content-inner ul li::before {
    content: '\f0da'; /* Código FontAwesome para un triángulo pequeño */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--light-blue);
}

/* --- FOOTER SECTION --- */
.main-footer {
    background-color: var(--primary-blue);
    color: #cbd5e1;
    padding-top: 70px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    padding-bottom: 50px;
}

.footer-logo-wrapper {
    background-color: var(--white);
    display: inline-block;
    padding: 5px;
    border-radius: 50%; /* Hace que el fondo se adapte a tu logo circular */
    margin-bottom: 20px;
}

.footer-logo-wrapper img {
    height: 80px;
    width: 80px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.footer-col p {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-socials a {
    background-color: rgba(255, 255, 255, 0.05);
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 10px;
    font-size: 14px;
}

.footer-socials a:hover {
    background-color: var(--light-blue);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-col h3 {
    color: var(--white);
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--light-blue);
    border-radius: 2px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    color: #cbd5e1;
    text-decoration: none;
    transition: 0.3s;
    display: flex;
    align-items: center;
    font-size: 15px;
}

.footer-col ul li a i {
    color: var(--light-blue);
    margin-right: 10px;
    font-size: 12px;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: var(--light-blue);
}

.footer-col ul li a:hover i {
    transform: translateX(5px); /* Efecto de flecha animada */
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    font-size: 15px;
    color: #cbd5e1;
}

.contact-info li i {
    color: var(--light-blue);
    margin-right: 15px;
    margin-top: 5px;
}

.footer-bottom {
    background-color: #06152b; /* Un azul aún más oscuro para el borde inferior */
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
}


/* --- PLATAFORMA INTERNA (AULA VIRTUAL) --- */
.aula-body {
    background-color: #06152b; /* Fondo ultra oscuro */
    color: var(--white);
    margin: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Navbar del Aula */
.aula-navbar {
    background-color: var(--primary-blue);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.aula-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.aula-logo img {
    height: 40px;
    background-color: var(--white);
    border-radius: 50%;
    padding: 2px;
}

.aula-logo span {
    font-weight: 600;
    font-size: 16px;
    border-left: 1px solid rgba(255,255,255,0.2);
    padding-left: 15px;
}

.aula-user {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Barra de Progreso */
.progress-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.progress-text {
    font-size: 13px;
    color: #cbd5e1;
}

.progress-bar {
    width: 100px;
    height: 6px;
    background-color: rgba(255,255,255,0.2);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    background-color: var(--light-blue);
    height: 100%;
}

.user-btn, .logout-btn {
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logout-btn {
    color: #ef4444; /* Rojo para salir */
    font-size: 18px;
}

/* Grid Layout (Video Izq - Temario Der) */
.aula-container {
    display: grid;
    grid-template-columns: 1fr 350px;
    flex: 1;
    overflow: hidden;
}

/* Área del Video */
.aula-main {
    padding: 20px;
    overflow-y: auto;
}

.video-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #000;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.video-wrapper iframe {
    width: 100%;
    height: 100%;
}

.video-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.video-header h1 {
    font-size: 24px;
}

.video-tabs {
    display: flex;
    gap: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 20px;
}

.tab-btn {
    background: none;
    border: none;
    color: #cbd5e1;
    font-size: 15px;
    padding: 10px 0;
    cursor: pointer;
    border-bottom: 2px solid transparent;
}

.tab-btn.active {
    color: var(--light-blue);
    border-bottom: 2px solid var(--light-blue);
}

/* Barra Lateral (Temario) */
.aula-sidebar {
    background-color: var(--primary-blue);
    border-left: 1px solid rgba(255,255,255,0.05);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.module-header {
    padding: 15px 20px;
    background-color: #0d2852;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.module-title h4 {
    font-size: 15px;
    margin-bottom: 3px;
}

.module-title span {
    font-size: 12px;
    color: #94a3b8;
}

.module-lessons {
    display: none;
    background-color: var(--primary-blue);
}

.module-lessons ul {
    list-style: none;
}

.lesson {
    padding: 15px 20px 15px 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    border-bottom: 1px solid rgba(255,255,255,0.02);
    color: #cbd5e1;
    transition: 0.2s;
}

.lesson:hover {
    background-color: rgba(255,255,255,0.05);
}

.lesson.active {
    background-color: rgba(43, 140, 228, 0.1);
    border-left: 3px solid var(--light-blue);
    color: var(--white);
}

.lesson-info {
    display: flex;
    flex-direction: column;
}

.lesson-name {
    font-size: 14px;
}

.lesson-time {
    font-size: 11px;
    color: #64748b;
    margin-top: 3px;
}

/* Responsivo */
@media (max-width: 900px) {
    .aula-container {
        grid-template-columns: 1fr;
    }
    .aula-body {
        height: auto;
    }
}

/* --- INTERNAL PAGES (HEADER & CONTACT) --- */
.page-header {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.page-header p {
    color: var(--light-blue);
    font-size: 14px;
    font-weight: 600;
}

.contact-page-section {
    padding: 80px 0;
    background-color: var(--white);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info-box h2 {
    font-size: 32px;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.contact-info-box > p {
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.contact-details {
    list-style: none;
}

.contact-details li {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.icon-box {
    width: 50px;
    height: 50px;
    background-color: rgba(43, 140, 228, 0.1);
    color: var(--light-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 20px;
    margin-right: 20px;
}

.contact-details h4 {
    color: var(--primary-blue);
    font-size: 16px;
    margin-bottom: 5px;
}

.contact-details p {
    color: #666;
    font-size: 14px;
}

.contact-form-box {
    background-color: var(--gray-light);
    padding: 40px;
    border-radius: 10px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #e2e8f0;
    border-radius: 5px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--light-blue);
    box-shadow: 0 0 0 3px rgba(43, 140, 228, 0.1);
}

@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
}

/* --- VIP EXCLUSIVE PAGE --- */
.vip-exclusive-section {
    padding: 100px 0;
    background-color: var(--gray-light);
}

.vip-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.vip-feature-card {
    background-color: var(--white);
    padding: 50px 40px;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    border-top: 5px solid var(--primary-blue);
    transition: transform 0.3s ease;
}

.vip-feature-card:hover {
    transform: translateY(-10px);
}

.vip-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-blue);
    color: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin-bottom: 25px;
}

.vip-feature-card h3 {
    color: var(--primary-blue);
    font-size: 24px;
    margin-bottom: 15px;
}

.vip-feature-card p {
    color: #555;
    font-size: 16px;
    line-height: 1.7;
}

.vip-cta-box {
    background-color: var(--primary-blue);
    border-radius: 20px;
    padding: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--white);
    box-shadow: 0 20px 40px rgba(9, 30, 61, 0.3);
}

.vip-cta-content h3 {
    font-size: 32px;
    margin-bottom: 10px;
}

.vip-cta-content p {
    font-size: 18px;
    color: #cbd5e1;
}

.vip-cta-content strong {
    color: var(--light-blue);
    font-size: 24px;
}

/* --- Corrección del Botón VIP --- */
.vip-cta-btn {
    flex-shrink: 0; /* Evita que el contenedor aplaste el botón */
    margin-left: 30px; /* Da un poco de respiro entre el texto y el botón */
}

.vip-cta-btn .btn-primary {
    white-space: nowrap; /* Obliga al texto del botón a quedarse en una sola línea */
    display: inline-block;
}

@media (max-width: 900px) {
    .vip-features-grid {
        grid-template-columns: 1fr;
    }
    .vip-cta-box {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
}

/* --- LOGIN SECTION --- */
.login-section {
    padding: 100px 0;
    background-color: var(--gray-light);
    display: flex;
    justify-content: center;
}

.login-box {
    background-color: var(--white);
    padding: 50px 40px;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    border-top: 5px solid var(--primary-blue);
}

.login-box h2 {
    color: var(--primary-blue);
    font-size: 28px;
    margin-bottom: 5px;
    text-align: center;
}

.login-box > p {
    color: #666;
    text-align: center;
    margin-bottom: 30px;
}

.login-form .form-group {
    margin-bottom: 20px;
}

.login-form label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--primary-blue);
    font-weight: 600;
}

.login-form input[type="email"],
.login-form input[type="password"] {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
    transition: 0.3s;
}

.login-form input[type="email"]:focus,
.login-form input[type="password"]:focus {
    border-color: var(--light-blue);
    box-shadow: 0 0 0 3px rgba(43, 140, 228, 0.1);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    font-size: 13px;
}

.form-options label {
    margin-bottom: 0;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
}

.form-options a {
    color: var(--light-blue);
    text-decoration: none;
    font-weight: 600;
}

.form-options a:hover {
    text-decoration: underline;
}

.login-footer {
    margin-top: 30px;
    text-align: center;
    font-size: 14px;
    color: #666;
}

.login-footer a {
    color: var(--primary-blue);
    font-weight: 700;
    text-decoration: none;
}

.login-footer a:hover {
    color: var(--light-blue);
}

/* --- HOW YOU WILL LEARN SECTION (PLATFORM MOCKUP) --- */
.how-to-learn-section {
    padding: 100px 0;
    background-color: var(--white);
    overflow: hidden;
}

.how-to-learn-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.learn-text {
    width: 45%;
}

.learn-text h2 {
    font-size: 38px;
    color: var(--primary-blue);
    margin: 15px 0;
}

.learn-text > p {
    color: #666;
    font-size: 16px;
    margin-bottom: 35px;
    line-height: 1.6;
}

.learn-features {
    list-style: none;
}

.learn-features li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.feature-icon {
    width: 55px;
    height: 55px;
    background-color: rgba(43, 140, 228, 0.1);
    color: var(--light-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 22px;
    margin-right: 20px;
    flex-shrink: 0;
}

.learn-features h4 {
    color: var(--primary-blue);
    font-size: 18px;
    margin-bottom: 5px;
}

.learn-features p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

/* El diseño tipo "App/Ventana" */
.learn-mockup {
    width: 55%;
    background-color: #06152b; /* Fondo oscuro del aula */
    border-radius: 12px;
    box-shadow: 0 30px 60px rgba(9, 30, 61, 0.2);
    border: 1px solid #e2e8f0;
    position: relative;
    transform: perspective(1000px) rotateY(-5deg); /* Efecto 3D sutil */
    transition: transform 0.5s ease;
}

.learn-mockup:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.browser-bar {
    background-color: #f1f5f9;
    padding: 12px 20px;
    display: flex;
    gap: 8px;
    border-bottom: 1px solid #e2e8f0;
}

.browser-bar .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background-color: #ff5f56; }
.dot.yellow { background-color: #ffbd2e; }
.dot.green { background-color: #27c93f; }

.mockup-body {
    position: relative;
}

.mockup-body img {
    width: 100%;
    display: block;
    opacity: 0.85; /* Un poco oscurecido para resaltar el botón de play */
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 75px;
    height: 75px;
    background-color: var(--light-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 10px 25px rgba(43, 140, 228, 0.5);
    cursor: pointer;
    transition: 0.3s;
    padding-left: 5px; /* Centra visualmente el ícono de play */
}
    
.play-overlay:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.floating-card {
    position: absolute;
    bottom: -20px;
    left: -30px;
    background-color: var(--white);
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 15px;
}

.floating-card i {
    color: #27c93f;
    font-size: 28px;
}

.floating-card strong {
    display: block;
    color: var(--primary-blue);
    font-size: 15px;
}

.floating-card span {
    color: #666;
    font-size: 13px;
}

@media (max-width: 991px) {
    .how-to-learn-content {
        flex-direction: column;
    }
    .learn-text, .learn-mockup {
        width: 100%;
    }
    .learn-mockup {
        transform: none;
    }
    .floating-card {
        left: 20px;
        bottom: 20px;
    }
}

/* --- CUSTOM BRANDED PLAYER MOCKUP --- */
.branded-player {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #091E3D 0%, #030b16 100%); /* Fondo premium oscuro */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.player-logo {
    width: 180px !important; /* Controla el tamaño del logo */
    height: auto !important;
    opacity: 0.3; /* Semitransparente para que el botón de play resalte más */
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 20px rgba(43, 140, 228, 0.4)); /* Resplandor azul */
    transition: 0.3s;
}

/* Efecto de luz de fondo para resaltar el centro */
.player-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(43, 140, 228, 0.15) 0%, rgba(0,0,0,0) 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

/* Interacción al pasar el cursor por la maqueta */
.learn-mockup:hover .player-logo {
    opacity: 0.5;
    transform: scale(1.05);
}

/* --- WHY CHOOSE US SECTION --- */
.why-choose-section {
    padding: 100px 0;
    background-color: var(--gray-light);
}

.why-choose-container {
    display: flex;
    align-items: center;
    gap: 70px;
}

.about-image-wrapper {
    width: 45%;
    position: relative;
}

.about-image-wrapper > img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.floating-students {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background-color: var(--white);
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.floating-students h4 {
    color: var(--light-blue);
    font-size: 24px;
    margin-bottom: 5px;
}

.floating-students p {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.avatars {
    display: flex;
    align-items: center;
}

.avatars img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid var(--white);
    margin-left: -15px;
}

.avatars img:first-child {
    margin-left: 0;
}

.plus-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-blue);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border: 3px solid var(--white);
    margin-left: -15px;
    font-size: 14px;
}

.about-content {
    width: 55%;
}

.about-content h2 {
    font-size: 38px;
    color: var(--primary-blue);
    margin: 15px 0;
    line-height: 1.2;
}

.about-content > p {
    color: #666;
    font-size: 16px;
    margin-bottom: 40px;
    line-height: 1.6;
}

.features-grid-2x2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.feature-box {
    background-color: #eef5fc;
    padding: 25px 20px;
    border-radius: 8px;
    border-left: 5px solid var(--light-blue);
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transition: 0.3s;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(43, 140, 228, 0.1);
}

.feature-box i {
    color: var(--light-blue);
    font-size: 20px;
    margin-top: 3px;
}

.feature-box h4 {
    color: var(--primary-blue);
    font-size: 16px;
    margin-bottom: 8px;
}

.feature-box p {
    color: #666;
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
}

/* --- STATS & CTA SECTION --- */
.stats-cta-section {
    position: relative;
    margin-top: 80px; /* Deja espacio para la franja superpuesta */
}

.relative-container {
    position: relative;
    z-index: 10;
}

.stats-banner {
    background: linear-gradient(90deg, var(--light-blue) 0%, #1a71c4 100%);
    border-radius: 15px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 45px 20px;
    text-align: center;
    color: var(--white);
    box-shadow: 0 20px 40px rgba(43, 140, 228, 0.3);
    position: absolute;
    top: -110px;
    left: 20px;
    right: 20px;
    width: calc(100% - 40px);
}

.stat-item {
    border-right: 1px solid rgba(255,255,255,0.2);
}

.stat-item:last-child {
    border-right: none;
}

.stat-item h3 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 15px;
    opacity: 0.9;
    margin: 0;
}

.cta-dark-bg {
    background-color: var(--primary-blue);
    padding: 160px 0 80px 0; /* Padding superior alto para que no choque con la franja */
    background-image: url('https://images.unsplash.com/photo-1519389950473-47ba0277781c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay; /* Oscurece la imagen de fondo */
    color: var(--white);
}

.cta-dark-bg h2 {
    font-size: 42px;
    margin: 20px 0;
}

.cta-dark-bg p {
    font-size: 18px;
    color: #cbd5e1;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.justify-center {
    justify-content: center;
}

.mt-4 {
    margin-top: 40px;
}

/* Responsividad */
@media (max-width: 991px) {
    .why-choose-container {
        flex-direction: column;
    }
    .about-image-wrapper, .about-content {
        width: 100%;
    }
    .stats-banner {
        grid-template-columns: 1fr 1fr;
        gap: 30px 0;
        top: -60px;
    }
    .stat-item:nth-child(2) {
        border-right: none;
    }
    .cta-dark-bg {
        padding-top: 250px; /* Más espacio en tablet al partir la franja en dos filas */
    }
}

@media (max-width: 576px) {
    .floating-students {
        left: 10px;
        bottom: -20px;
        padding: 15px 20px;
    }
    .features-grid-2x2 {
        grid-template-columns: 1fr;
    }
    .stats-banner {
        grid-template-columns: 1fr;
        top: -40px;
    }
    .stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.2);
        padding-bottom: 20px;
    }
    .stat-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    .cta-dark-bg {
        padding-top: 480px; /* Espacio extra en móviles porque la franja tiene 4 filas */
    }
}

/* --- INSTRUCTORS SECTION --- */
.instructors-section {
    padding: 100px 0;
    background-color: var(--white);
}

.instructors-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.instructors-text {
    width: 45%;
}

.instructors-text h2 {
    font-size: 38px;
    color: var(--primary-blue);
    margin: 15px 0;
    line-height: 1.2;
}

.instructors-text p {
    color: #666;
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.instructors-grid {
    width: 55%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.instructor-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    border: 1px solid #f1f5f9;
    transition: 0.3s;
}

.instructor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Efecto de escalera para las tarjetas (como en la imagen de referencia) */
.mt-card {
    margin-top: 40px;
}

.instructor-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/5;
}

.instructor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.instructor-card:hover .instructor-image img {
    transform: scale(1.05);
}

.instructor-social {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: var(--light-blue);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(43, 140, 228, 0.4);
    opacity: 0;
    transform: translateY(20px);
    transition: 0.3s ease;
}

.instructor-card:hover .instructor-social {
    opacity: 1;
    transform: translateY(0);
}

.instructor-social a {
    color: var(--white);
    text-decoration: none;
    font-size: 18px;
}

.instructor-info {
    padding: 25px 20px;
}

.instructor-info h4 {
    color: var(--primary-blue);
    font-size: 20px;
    margin-bottom: 5px;
}

.instructor-info > p {
    color: var(--light-blue);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.instructor-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f1f5f9;
    padding-top: 15px;
    font-size: 13px;
    color: #64748b;
}

.instructor-stats i {
    color: var(--light-blue);
    margin-right: 5px;
}

@media (max-width: 991px) {
    .instructors-container {
        flex-direction: column;
    }
    .instructors-text, .instructors-grid {
        width: 100%;
    }
    .mt-card {
        margin-top: 0;
    }
}

@media (max-width: 576px) {
    .instructors-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Corrección de Botones en Sección Instructores --- */
.instructors-text .hero-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap; /* Por si se ve en pantallas pequeñas, que bajen ordenadamente */
}

/* Forzamos el diseño del botón principal */
.instructors-text .btn-primary {
    padding: 12px 24px !important;
    white-space: nowrap;
    display: inline-block;
}

/* Forzamos el diseño transparente para el botón secundario en esta sección */
.instructors-text .btn-secondary.dark-btn {
    background-color: transparent !important;
    color: var(--primary-blue) !important;
    border: 2px solid var(--primary-blue) !important;
    padding: 10px 24px !important; /* Ligeramente menos padding para compensar el borde de 2px */
    white-space: nowrap;
    display: inline-block;
    font-weight: 600;
    border-radius: 5px;
    transition: 0.3s;
}

.instructors-text .btn-secondary.dark-btn:hover {
    background-color: var(--primary-blue) !important;
    color: var(--white) !important;
}


/* ========================================= */
/* --- RESPONSIVIDAD PARA TELÉFONOS (MÓVIL) --- */
/* ========================================= */

@media (max-width: 768px) {
    /* 1. Ajustes del Menú y Cabecera */
    .top-bar-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    /* 8. Ajustes Tabla de Comparación en Móviles */
    .table-responsive {
        overflow-x: auto; /* Devolvemos el scroll horizontal solo en móviles */
    }
    .comparison-table th {
        position: relative; /* Apagamos el sticky en móviles para ahorrar pantalla */
        top: 0;
    }
    
    .top-bar-left span {
        display: block;
        margin-right: 0;
        margin-bottom: 5px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .header-actions {
        width: 100%;
        justify-content: center;
        margin-top: 10px;
    }

    /* 2. Ajustes del Hero (Sección Principal) */
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .hero-text, .hero-image {
        width: 100%;
    }
    
    .hero-text h1 {
        font-size: 32px;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .image-circle-wrapper {
        width: 300px;
        height: 300px;
    }

    /* 3. Ajustes Generales de Espaciado */
    section {
        padding: 60px 0 !important; /* Reduce el espacio vertical excesivo en móviles */
    }

    .section-header h2 {
        font-size: 28px !important;
    }

    /* 4. Ajustes del Acordeón (Temario) */
    .accordion-header {
        font-size: 14px;
        padding: 15px;
    }
    
    .content-inner ul li {
        font-size: 14px;
    }

    /* 5. Ajustes de la Maqueta (Aula Virtual) */
    .how-to-learn-text, .learn-mockup {
        width: 100%;
    }
    
    .learn-mockup {
        transform: none !important; /* Quita el efecto 3D en móviles para que se vea completo */
    }
    
    .floating-card {
        bottom: 10px;
        left: 10px;
        right: 10px;
        padding: 10px;
    }
    
    .floating-card i {
        font-size: 20px;
    }

    /* 6. Ajustes de Instructores */
    .instructors-text {
        text-align: center;
    }
    
    .instructors-text .hero-buttons {
        justify-content: center;
    }

    /* 7. Ajustes del Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-col h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-col ul li a {
        justify-content: center;
    }
    
    .contact-info li {
        justify-content: center;
    }
}

/* Ajustes adicionales para pantallas muy pequeñas (iPhone SE, etc.) */
@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 28px;
    }
    
    .image-circle-wrapper {
        width: 250px;
        height: 250px;
    }
    
    .pricing-card {
        padding: 30px 20px;
    }
    
    .price {
        font-size: 36px;
    }
}

/* ========================================= */
/* --- PERSONALIZACIÓN DEL SCROLLBAR (AULA) --- */
/* ========================================= */

/* Funciona en navegadores basados en WebKit (Chrome, Safari, Edge) */
.aula-sidebar::-webkit-scrollbar,
.aula-main::-webkit-scrollbar {
    width: 6px; /* Hace la barra más delgada */
}

.aula-sidebar::-webkit-scrollbar-track,
.aula-main::-webkit-scrollbar-track {
    background: #06152b; /* El mismo fondo oscuro del aula para que se camufle */
}

.aula-sidebar::-webkit-scrollbar-thumb,
.aula-main::-webkit-scrollbar-thumb {
    background: #1e3a6a; /* Un azul ligeramente más claro para que se note, pero sutil */
    border-radius: 10px; /* Bordes redondeados */
}

.aula-sidebar::-webkit-scrollbar-thumb:hover,
.aula-main::-webkit-scrollbar-thumb:hover {
    background: var(--light-blue); /* Al pasar el mouse, cambia al azul de tu marca */
}

/* Para navegadores Firefox */
.aula-sidebar, .aula-main {
    scrollbar-width: thin;
    scrollbar-color: #1e3a6a #06152b;
}

/* --- Estilos para la nueva lista de precios --- */
.card-header p {
    font-size: 13px;
    line-height: 1.5;
}

.card-body ul li.exclusion {
    color: #94a3b8; /* Texto gris para lo que no incluye */
}

.card-body ul li.exclusion i {
    color: #ef4444; /* Equis roja */
}

/* Ajuste del botón VIP para que resalte más invirtiendo colores */
.vip-card .btn-primary:hover {
    background-color: #f1f5f9 !important;
    transform: translateY(-2px);
}

/* --- UPGRADE SECTION --- */
.upgrade-section {
    padding: 0 0 80px 0; /* Sin padding arriba para que quede pegado a la tabla de precios */
    background-color: var(--white);
}

.upgrade-box {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 15px;
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 40px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.03);
    border-left: 6px solid var(--light-blue);
}

.upgrade-content {
    flex: 1;
}

.upgrade-content h3 {
    font-size: 28px;
    color: var(--primary-blue);
    margin: 15px 0 10px 0;
}

.upgrade-content p {
    color: #555;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.upgrade-math {
    background-color: var(--white);
    display: inline-block;
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 18px;
    color: var(--primary-blue);
    border: 1px dashed #cbd5e1;
    margin-bottom: 15px;
}

.upgrade-math strong {
    color: var(--light-blue);
    font-size: 22px;
}

.upgrade-details {
    font-size: 14px !important;
    color: #64748b !important;
}

.upgrade-action {
    width: 350px;
    background-color: var(--primary-blue);
    padding: 30px;
    border-radius: 12px;
    color: var(--white);
    position: relative;
    box-shadow: 0 15px 30px rgba(9, 30, 61, 0.2);
}

.recommended-msg i {
    color: var(--light-blue);
    font-size: 24px;
    margin-bottom: 15px;
    opacity: 0.8;
}

.recommended-msg p {
    font-size: 16px;
    line-height: 1.6;
    color: #cbd5e1;
    margin: 0;
}

.recommended-msg strong {
    color: var(--white);
}

/* Responsividad para la caja de Upgrade */
@media (max-width: 900px) {
    .upgrade-box {
        flex-direction: column;
        padding: 30px 20px;
    }
    .upgrade-action {
        width: 100%;
    }
}

/* --- PAYMENT METHODS SECTION --- */
.payment-methods-section {
    padding: 80px 0;
    background-color: #f8fafc;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.payment-methods-section h2 {
    font-size: 38px;
    color: var(--primary-blue);
    margin: 15px 0;
}

.payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.payment-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.03);
    border: 1px solid #f1f5f9;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.payment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.payment-logo {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Colores Oficiales de las Marcas */
.paypal-color { color: #00457C; }
.stripe-color { color: #635bff; font-size: 60px; line-height: 0.5; }
.affirm-color { color: #000000; letter-spacing: -2px; font-size: 38px; }

.payment-card p {
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
    color: #555;
}

/* --- COMPARISON TABLE SECTION --- */
.comparison-section {
    padding: 60px 0 80px 0;
    background-color: var(--white);
}

.comparison-section h2 {
    font-size: 36px;
    color: var(--text-color);
    text-transform: uppercase;
}

.table-responsive {
    max-width: 900px;
    margin: 0 auto;
    /* Eliminamos el overflow aquí para liberar el efecto sticky */
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #e2e8f0;
}

.comparison-table th {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 20px;
    font-size: 16px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.1);
    
    /* --- EFECTO FIJO (STICKY) CORREGIDO --- */
    position: sticky;
    top: 90px; /* Justo debajo de tu menú principal (60px logo + 30px padding) */
    z-index: 10; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    background-clip: padding-box; /* Evita que los bordes de la tabla se transparenten al hacer scroll */
}

.comparison-table th.text-left {
    text-align: left;
}

.comparison-table th.text-center {
    text-align: center;
    width: 160px;
}

.comparison-table th span {
    font-size: 14px;
    font-weight: 400;
    opacity: 0.9;
}

.comparison-table td {
    padding: 15px 20px;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-size: 15px;
}

.comparison-table td:not(:first-child) {
    text-align: center;
}

/* Efecto cebra para las filas */
.comparison-table tbody tr:nth-child(even) {
    background-color: #f8fafc;
}

.comparison-table tbody tr:hover {
    background-color: #f1f5f9; /* Color sutil al pasar el cursor */
}

/* Estilo de los íconos de la tabla */
.text-green {
    color: #10b981; /* Verde esmeralda profesional */
    font-size: 18px;
}

/* --- MULTI-STEP REGISTRATION SECTION --- */
.registro-section {
    padding: 80px 0;
    background-color: var(--primary-blue);
    background-image: url('https://images.unsplash.com/photo-1557804506-669a67965ba0?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.flex-center {
    display: flex;
    justify-content: center;
    width: 100%;
}

.registro-box {
    background-color: var(--white);
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
    width: 100%;
    max-width: 600px;
}

/* Stepper (Puntos de progreso) */
.stepper-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    position: relative;
    padding: 0 20px;
}

.step-line {
    position: absolute;
    top: 50%;
    left: 20px;
    right: 20px;
    height: 3px;
    background-color: #e2e8f0;
    z-index: 1;
    transform: translateY(-50%);
}

.step-dot {
    width: 35px;
    height: 35px;
    background-color: #e2e8f0;
    color: #64748b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    position: relative;
    z-index: 2;
    transition: 0.4s ease;
}

.step-dot.active {
    background-color: var(--light-blue);
    color: var(--white);
    box-shadow: 0 0 0 5px rgba(43, 140, 228, 0.2);
}

/* Form Steps */
.form-step {
    display: none;
    animation: fadeIn 0.4s ease-in-out;
}

.form-step.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.step-header {
    text-align: center;
    margin-bottom: 30px;
}

.step-header h2 {
    color: var(--primary-blue);
    font-size: 28px;
    margin-bottom: 5px;
}

.step-header p {
    color: #666;
    font-size: 15px;
}

/* Inputs y estructura */
.form-row {
    display: flex;
    gap: 20px;
}

.form-group.half {
    width: 50%;
}

.registro-form label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--primary-blue);
    font-weight: 600;
}

.registro-form input[type="text"],
.registro-form input[type="email"],
.registro-form input[type="password"] {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
    transition: 0.3s;
}

.registro-form input:focus {
    border-color: var(--light-blue);
    box-shadow: 0 0 0 3px rgba(43, 140, 228, 0.1);
}

/* Cajas de Código */
.code-inputs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.code-box {
    width: 55px !important;
    height: 60px;
    font-size: 24px !important;
    text-align: center;
    font-weight: bold;
    color: var(--primary-blue);
}

.resend-text {
    font-size: 13px;
    color: #666;
}

.resend-text a {
    color: var(--light-blue);
    font-weight: 600;
    text-decoration: none;
}

/* Teléfono Input */
.phone-input-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}

.phone-prefix {
    background-color: #f8fafc;
    padding: 14px 15px;
    color: #64748b;
    font-weight: bold;
    border-right: 1px solid #e2e8f0;
}

.phone-input-wrapper input {
    border: none !important;
    border-radius: 0 !important;
}

/* Dirección Input */
.address-input-wrapper {
    display: flex;
    align-items: center;
}

.address-input-wrapper input {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.location-icon {
    background-color: var(--light-blue);
    color: var(--white);
    padding: 14px 20px;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    font-size: 16px;
    display: flex;
    align-items: center;
}

/* Navegación y Success */
.step-footer {
    margin-top: 35px;
}

.space-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.w-auto {
    width: auto !important;
}

.success-icon {
    width: 90px;
    height: 90px;
    background-color: #10b981;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin: 0 auto;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4);
}

@media (max-width: 576px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    .form-group.half {
        width: 100%;
    }
    .registro-box {
        padding: 30px 20px;
    }
    .code-box {
        width: 45px !important;
        height: 50px;
    }
}

.pac-container {
    z-index: 99999 !important;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    font-family: 'Poppins', sans-serif;
}

/* --- Diseño Moderno para el Input de Dirección --- */
.address-input-wrapper.modern-style {
    position: relative;
    display: block; 
}

.location-icon-inside {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--light-blue);
    font-size: 18px;
    z-index: 2;
}

.address-input-wrapper.modern-style input {
    border-radius: 8px !important; /* Restaura las esquinas redondas */
    padding-left: 45px !important; /* Hace espacio para que el texto no pise el ícono */
    width: 100%;
    background-color: #f8fafc; /* Un fondo sutilmente gris para destacarlo */
}

.address-input-wrapper.modern-style input:focus {
    background-color: var(--white);
}

/* --- Input de Contraseña con Botón de Ver --- */
.password-input-wrapper {
    position: relative;
    display: block;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    cursor: pointer;
    font-size: 16px;
    z-index: 2;
    transition: color 0.3s;
}

.toggle-password:hover {
    color: var(--light-blue);
}

.password-input-wrapper input {
    padding-right: 45px !important; /* Deja espacio para que el texto no pise el ícono */
}

/* --- Modal Correo Existente --- */
.custom-modal {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(9, 30, 61, 0.85);
    align-items: center; justify-content: center;
    z-index: 9999;
}

.modal-content {
    background: var(--white);
    padding: 40px; border-radius: 15px;
    text-align: center; max-width: 420px; width: 90%;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    animation: fadeIn 0.3s ease-out;
}

.modal-content .error-icon {
    font-size: 55px; color: #ef4444; margin-bottom: 20px;
}

.modal-content h3 { color: var(--primary-blue); font-size: 24px; margin-bottom: 10px; }
.modal-content p { color: #666; margin-bottom: 25px; font-size: 15px; line-height: 1.6; }