/*
================================================================================
|                                                                              |
|               HOJA DE ESTILOS COMPLETA PARA "GENERACIONES"                   |
|                                                                              |
|   Esta hoja de estilos incluye:                                              |
|   1. Estilos base y de reseteo.                                              |
|   2. Estilos para componentes comunes (header, footer, botones).             |
|   3. Estilos para la página de inicio (index.html).                          |
|   4. Estilos para la nueva página (progreso-generacional.html).              |
|   5. Estilos para las páginas de categorías y detalle de programa.           |
|   6. Estilos para la página "Únete como Instructor".                         |
|   7. Todas las mejoras de diseño y responsive.                               |
|                                                                              |
================================================================================
*/

/* --- Variables Globales y de la Página de Instructor --- */
:root {
    --primary-color: #4F2CDD;
    --primary-dark: #3b20a7;
    --bg-light: #F9F8FF;
    --bg-secondary-light: #F0F5FF;
    --text-dark: #1E143F;
    --text-light: #5A546E;
    --white: #FFFFFF;
    --border-light: #EAE8F2;
    --green-light-bg: #F0FFFA;
    --green-dark: #008767;
    --font-family: 'Manrope', sans-serif;

    /* Variables para la página de Instructor */
    --accent-color-teal: #2DCEC8;
    --text-dark-v2: #0E1A2D;
    --border-light-v2: #DDE2E8;
}

/* --- Reset y Estilos Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-family); background-color: var(--white); color: var(--text-light); line-height: 1.6; overflow-x: hidden; position: relative; }
body::before { content: ''; position: absolute; top: -150px; left: -200px; width: 600px; height: 600px; background: radial-gradient(circle, rgba(79, 44, 221, 0.08), transparent 70%); z-index: -1; pointer-events: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3, h4 { color: var(--text-dark); font-weight: 800; line-height: 1.2; }
h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
h2 { font-size: clamp(2rem, 5vw, 2.8rem); }
h3 { font-size: 1.5rem; }
p { margin-bottom: 1rem; }
a { text-decoration: none; color: var(--primary-color); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
section { padding: 80px 0; }
.section-intro { text-align: center; max-width: 700px; margin: 0 auto 60px auto; }
.section-intro h2, .section-intro h1 { margin-bottom: 15px; }
.section-bg-light { background-color: var(--bg-light); }

/* --- Botones --- */
.btn { display: inline-block; padding: 14px 28px; border-radius: 8px; font-weight: 700; text-align: center; transition: all 0.3s ease; cursor: pointer; border: 2px solid transparent; }
.btn-primary { background-color: var(--primary-color); color: var(--white); }
.btn-primary:hover { background-color: var(--primary-dark); }
.btn-secondary { background-color: var(--white); color: var(--text-dark); border: 2px solid var(--border-light); }
.btn-secondary:hover { border-color: var(--primary-color); }
.btn-secondary-icon { font-weight: 600; color: var(--text-dark); }
.btn-secondary-icon i { margin-right: 8px; color: var(--primary-color); }
.btn-green { background-color: var(--green-dark); }
.btn-green:hover { background-color: #006a51; }
.btn-block { width: 100%; padding: 16px; font-size: 1rem; }

/* --- Header y Navegación --- */
.main-header { background: rgba(255, 255, 255, 0.8); backdrop-filter: blur(10px); padding: 20px 0; position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--border-light); }
.main-header .container { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; font-weight: 800; font-size: 1.5rem; color: var(--text-dark); }
.logo-img { width: 32px; height: 32px; margin-right: 10px; }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links li { position: relative; }
.nav-links a { color: var(--text-light); font-weight: 600; transition: color 0.3s ease; padding: 10px 0; }
.nav-links a:hover { color: var(--primary-color); }
.nav-links .dropdown-toggle::after { content: ' \f078'; font-family: 'Font Awesome 5 Free'; font-weight: 900; font-size: 0.7rem; margin-left: 5px; }
.dropdown-menu { display: none; position: absolute; top: 100%; left: 0; background-color: var(--white); box-shadow: 0 8px 16px rgba(0,0,0,0.1); border-radius: 8px; padding: 10px 0; min-width: 220px; z-index: 101; }
.nav-links li:hover .dropdown-menu { display: block; }
.dropdown-menu li { width: 100%; }
.dropdown-menu a { display: block; padding: 10px 20px; white-space: nowrap; }
.header-actions { display: flex; align-items: center; gap: 15px; }
.hamburger-menu { display: none; background: none; border: none; font-size: 1.5rem; color: var(--text-dark); cursor: pointer; z-index: 102; }

/* --- SECCIONES PÁGINA DE INICIO (INDEX.HTML) --- */

/* Hero Section */
.hero-section { padding-top: 60px; padding-bottom: 60px; background-color: var(--bg-light); }
.hero-container { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 60px; }
.hero-content h1 { margin-bottom: 20px; }
.hero-content p { font-size: 1.1rem; max-width: 500px; margin-bottom: 30px; }
.hero-buttons { display: flex; gap: 20px; align-items: center; margin-bottom: 40px; }
.hero-stats { display: flex; gap: 40px; }
.stat-item strong { display: block; font-size: 2.5rem; font-weight: 800; color: var(--text-dark); }
.stat-item span { color: var(--text-light); }
.hero-image-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 15px; }
.hero-main-image { grid-column: 1 / 3; }
.hero-main-image, .hero-sub-image { position: relative; display: block; overflow: hidden; border-radius: 12px; transition: transform 0.3s ease; }
.hero-main-image:hover, .hero-sub-image:hover { transform: scale(1.03); }
.hero-main-image img, .hero-sub-image img { width: 100%; height: 100%; object-fit: cover; }
.video-overlay { position: absolute; background: rgba(0,0,0,0.5); color: white; padding: 5px 10px; border-radius: 6px; font-size: 0.8rem; backdrop-filter: blur(5px); }
.rec-active { top: 15px; left: 15px; background: #FF4545; }
.caption { bottom: 15px; left: 15px; }
.expand-icon { position: absolute; bottom: 10px; right: 10px; background: rgba(255,255,255,0.8); color: #000; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; }

/* Features Section */
.features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.feature-card-large { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; background: white; padding: 40px; border-radius: 24px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); grid-column: 1 / -1; }
.card-large-image img { border-radius: 16px; }
.card-large-text { display: flex; flex-direction: column; justify-content: center; height: 100%; }
.card-large-text p { flex-grow: 1; }
.feature-card-large .card-large-text .btn { width: 100%; text-align: center; }
.feature-card-small { padding: 30px; border-radius: 24px; display: flex; flex-direction: column; }
.feature-card-small h3 { margin: 20px 0 10px 0; }
.feature-card-small p { flex-grow: 1; }
.purple-bg { background: linear-gradient(145deg, #f3e9ff, #e9e0ff); }
.card-small-image { position: relative; }
.card-small-image img { border-radius: 12px; width: 100%; height: 200px; object-fit: cover; }
.recording-overlay { position: absolute; bottom: 10px; left: 10px; background: rgba(0,0,0,0.5); color: white; padding: 5px 12px; border-radius: 8px; font-size: 0.9rem; backdrop-filter: blur(5px); display: flex; align-items: center; }
.recording-overlay span { width: 10px; height: 10px; background: #FF4545; border-radius: 50%; margin-right: 8px; }
.green-bg { background: var(--green-light-bg); }

/* Desire Section */
.desire-section { background-color: var(--white); }
.section-title { text-align: center; margin-bottom: 50px; }
.desire-cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.desire-card { border-radius: 24px; min-height: 350px; position: relative; overflow: hidden; color: var(--white); display: flex; align-items: flex-end; padding: 30px; background-size: cover; background-position: center; transition: transform 0.3s ease; }
.desire-card:hover { transform: scale(1.04); }
.desire-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0) 100%); z-index: 1; }
.card-content { position: relative; z-index: 2; }
.desire-card h3, .desire-card .card-icon { color: var(--white); }
.card-icon { font-size: 2rem; margin-bottom: 15px; }
.desire-card h3 { margin-bottom: 10px; }
.desire-card:nth-of-type(1) { background-image: url('https://images.pexels.com/photos/3769138/pexels-photo-3769138.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1'); }
.desire-card:nth-of-type(2) { background-image: url('https://images.pexels.com/photos/3184418/pexels-photo-3184418.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1'); }
.desire-card:nth-of-type(3) { background-image: url('https://images.pexels.com/photos/3184431/pexels-photo-3184431.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1'); }

/* Proof Section (Testimonios) */
.proof-section { background-color: var(--bg-secondary-light); }
.testimonial-carousel { background: var(--white); border-radius: 20px; padding: 40px; max-width: 900px; margin: 0 auto; box-shadow: 0 10px 30px rgba(0,0,0,0.05); position: relative; overflow: hidden; min-height: 250px; }
.testimonial-slide { display: none; align-items: center; gap: 40px; animation: fadeIn 0.6s ease-in-out; }
.testimonial-slide.active { display: flex; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.testimonial-image img { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; }
.testimonial-content blockquote { font-size: 1.25rem; font-weight: 600; color: var(--text-dark); margin-bottom: 20px; border: none; }
.testimonial-content cite { font-style: normal; }
.testimonial-content cite span { display: block; color: var(--text-light); font-size: 0.9rem; }
.testimonial-nav { position: absolute; bottom: 20px; right: 20px; display: flex; gap: 10px; }
.arrow-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border-light); background: var(--white); color: var(--text-light); cursor: pointer; transition: all 0.3s; }
.arrow-btn:hover { background-color: var(--primary-color); color: var(--white); border-color: var(--primary-color); }

/* CTA Section */
.cta-section { background-color: var(--primary-color); color: var(--white); padding: 80px 0; }
.cta-container { text-align: center; }
.cta-content h2 { color: var(--white); margin-bottom: 15px; }
.cta-content p { font-size: 1.1rem; margin-bottom: 30px; max-width: 700px; margin-left: auto; margin-right: auto; opacity: 0.9; }
.cta-buttons { display: flex; gap: 20px; align-items: center; justify-content: center; }
.cta-section .btn-primary { background: var(--white); color: var(--primary-color); }
.cta-section .btn-secondary-icon { color: var(--white); }
.cta-image-wrapper { max-width: 800px; margin: 40px auto 0 auto; display: block; }
.cta-image { border-radius: 12px; box-shadow: 0 15px 30px rgba(0,0,0,0.1); }


/* --- SECCIONES PÁGINA "PROGRESO GENERACIONAL" --- */
.progreso-section { padding: 80px 0; }
.progreso-atencion-main-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.progreso-atencion-image img { border-radius: 20px; width: 100%; height: 100%; min-height: 400px; object-fit: cover; }
.progreso-atencion-stats { display: flex; flex-direction: column; gap: 20px; }
.stat-card-v2 { background-color: var(--white); border: 1px solid var(--border-light); border-radius: 12px; padding: 20px; display: flex; align-items: center; gap: 15px; }
.stat-card-v2 .stat-icon { font-size: 1.5rem; }
.stat-card-v2 p { margin: 0; font-size: 0.95rem; }
.progreso-interes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.stat-card-v3 { background: var(--white); border-radius: 16px; padding: 30px; border: 1px solid var(--border-light); text-align: center; }
.stat-card-v3-header { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 20px; }
.stat-card-v3 .stat-icon { font-size: 2rem; }
.stat-card-v3 h3 { margin: 0; font-size: 1.2rem; }
.stat-percentage { font-size: 4rem; font-weight: 800; color: var(--text-dark); display: block; margin-bottom: 10px; }
.stat-card-v3 p { margin: 0; }
.progreso-deseo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.progreso-deseo-image img { border-radius: 16px; }
.progreso-deseo-content h2 { font-size: 2.5rem; margin-bottom: 20px; }
.progreso-deseo-content p { font-size: 1.1rem; }
.demo-video-placeholder { max-width: 800px; margin: 40px auto 0 auto; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.demo-video-placeholder img { width: 100%; display: block; }


/* --- PÁGINAS DE CATEGORÍA Y DETALLE --- */
.page-hero { background-color: var(--bg-secondary-light); text-align: center; padding: 60px 0; }
.hero-subtitle { color: var(--primary-color); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; display: block; margin-bottom: 10px; }
.page-hero h1 { margin-bottom: 15px; }
.page-hero p { max-width: 600px; margin: 0 auto; font-size: 1.1rem; }
.program-list-section { padding: 80px 0; }
.program-cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.program-card { background: var(--white); border-radius: 16px; box-shadow: 0 8px 25px rgba(0,0,0,0.07); overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease; display: flex; flex-direction: column; }
.program-card:hover { transform: translateY(-8px); box-shadow: 0 12px 35px rgba(79, 44, 221, 0.15); }
.card-link-wrapper { text-decoration: none; color: inherit; display: flex; flex-direction: column; height: 100%; }
.card-image-container { position: relative; }
.card-image-container img { width: 100%; height: 200px; object-fit: cover; }
.card-category-tag { position: absolute; top: 15px; left: 15px; background-color: rgba(79, 44, 221, 0.9); color: var(--white); padding: 5px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; }
.program-card .card-content { padding: 25px; display: flex; flex-direction: column; flex-grow: 1; }
.program-card h3 { font-size: 1.25rem; margin-bottom: 10px; color: var(--text-dark); }
.program-card p { font-size: 0.95rem; flex-grow: 1; margin-bottom: 20px; }
.card-footer { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 15px; border-top: 1px solid var(--border-light); }
.card-info-tag { font-size: 0.9rem; font-weight: 600; color: var(--text-light); }
.card-info-tag i { margin-right: 5px; color: var(--primary-color); }
.card-price-tag { font-size: 1.2rem; font-weight: 800; color: var(--primary-color); }
/* Página de Detalle de Programa */
.programa-detalle-container { display: grid; grid-template-columns: 1fr; gap: 50px; padding: 60px 20px; }
@media (min-width: 992px) { .programa-detalle-container { grid-template-columns: 2.5fr 1fr; } }
.programa-header { margin-bottom: 40px; border-bottom: 1px solid var(--border-light); padding-bottom: 20px; }
.programa-header h1 { margin-bottom: 15px; }
.programa-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.info-tag { background-color: var(--bg-light); padding: 6px 15px; border-radius: 20px; font-size: 0.9rem; font-weight: 600; color: var(--text-dark); }
.programa-seccion { margin-bottom: 40px; }
.programa-seccion h2 { font-size: 1.8rem; margin-bottom: 20px; }
.check-list { list-style: none; padding-left: 0; }
.check-list li { padding-left: 30px; position: relative; margin-bottom: 10px; }
.check-list li::before { content: '\f00c'; font-family: 'Font Awesome 5 Free'; font-weight: 900; color: var(--green-dark); position: absolute; left: 0; top: 2px; }
.accordion-item { border: 1px solid var(--border-light); border-radius: 8px; margin-bottom: 10px; overflow: hidden; }
.accordion-header { width: 100%; background: var(--white); border: none; padding: 18px 20px; text-align: left; font-size: 1.1rem; font-weight: 700; color: var(--text-dark); cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.accordion-header i { transition: transform 0.3s ease; }
.accordion-item.active .accordion-header i { transform: rotate(180deg); }
.accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; background: var(--bg-light); }
.accordion-content ul { padding: 20px 40px; list-style-type: disc; }
.accordion-content ul li { margin-bottom: 10px; }
.instructor-card { display: flex; align-items: center; gap: 20px; background-color: var(--bg-light); padding: 20px; border-radius: 12px; }
.instructor-card img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; }
.instructor-info p { margin-bottom: 0; color: var(--text-light); }
.programa-sidebar { position: sticky; top: 120px; align-self: start; }
.price-card { background: var(--white); border-radius: 16px; box-shadow: 0 8px 25px rgba(0,0,0,0.07); overflow: hidden; }
.price-card-image { width: 100%; height: 180px; object-fit: cover; }
.price-card-body { padding: 25px; }
.price-display { margin-bottom: 15px; }
.price-amount { font-size: 2.5rem; font-weight: 800; color: var(--text-dark); }
.price-currency { font-size: 1.2rem; color: var(--text-light); margin-left: 5px; }
.price-card p { font-size: 0.9rem; margin-bottom: 25px; }


/* --- PÁGINA "ÚNETE COMO INSTRUCTOR" --- */
.instructor-page-v2 { background-color: var(--white); color: var(--text-dark-v2); }
.instructor-page-v2 section { padding: 100px 0; }
.btn-teal { background-color: var(--primary-color); color: var(--white); border: 2px solid var(--primary-color); font-weight: 700; padding: 12px 28px; border-radius: 8px; transition: all 0.3s ease; }
.btn-teal:hover { background-color: var(--primary-dark); color: var(--white); }
.btn-dark { background-color: var(--text-dark-v2); color: var(--white); border-radius: 8px; padding: 16px 32px; }
.btn-dark:hover { background-color: #2c3e58; }
.instructor-hero-v2 { background-color: var(--white); }
.hero-grid-v2 { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 60px; }
.hero-content-v2 h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.2; margin-bottom: 40px; }
.hero-image-v2 img { width: 100%; border-radius: 16px; }
.stepper { margin-bottom: 40px; display: flex; gap: 20px; }
.step-item { flex: 1; position: relative; padding-right: 20px; }
.step-item:not(:last-child)::after { content: ''; position: absolute; top: 16px; left: 45px; width: calc(100% - 30px); height: 1px; background-color: var(--border-light-v2); }
.step-number { width: 32px; height: 32px; background-color: var(--primary-color); color: var(--white); border-radius: 4px; display: grid; place-items: center; font-weight: 700; margin-bottom: 15px; }
.step-text h4 { font-weight: 700; margin-bottom: 5px; }
.step-text p { font-size: 0.9rem; color: var(--text-light); }
.instructor-interest-v2 { background-color: var(--white); padding-top: 0; }
.interest-grid-v2 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; text-align: left; }
.interest-item-v2 h3 { font-size: 1.75rem; font-weight: 800; margin-bottom: 15px; }
.desire-grid-v2 { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; }
.desire-content-v2 h2 { font-size: 2.8rem; font-weight: 800; line-height: 1.2; margin-bottom: 20px; }
.desire-content-v2 > p { margin-bottom: 30px; }
.check-list-v2 { list-style: none; padding-left: 0; margin-bottom: 40px; }
.check-list-v2 li { padding-left: 35px; position: relative; margin-bottom: 15px; font-size: 1.1rem; font-weight: 600; }
.check-list-v2 li::before { content: '\f00c'; font-family: 'Font Awesome 5 Free'; font-weight: 900; color: var(--primary-color); position: absolute; left: 0; top: 2px; font-size: 1.2rem; }
.desire-image-v2 img { width: 100%; border-radius: 16px; }
.testimonial-grid-v2 { display: grid; grid-template-columns: 1fr 1.5fr; align-items: center; gap: 80px; }
.testimonial-content-v2 blockquote { font-size: 2.5rem; font-weight: 800; line-height: 1.3; margin-bottom: 30px; }
.testimonial-content-v2 cite { font-style: normal; font-weight: 700; font-size: 1.1rem; }
.testimonial-content-v2 cite span { font-weight: 400; color: var(--text-light); margin-left: 10px; }
.testimonial-content-v2 .btn-teal { margin-top: 40px; }
.image-stack { position: relative; width: 250px; height: 350px; margin: 0 auto; }
.image-stack img { position: absolute; width: 100%; height: 100%; object-fit: cover; border-radius: 12px; box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.stack-img-1 { z-index: 3; transform: rotate(5deg); }
.stack-img-2 { z-index: 2; transform: rotate(-2deg); }
.stack-img-3 { z-index: 1; transform: rotate(-8deg); }
.instructor-action-v2 { padding: 0; }
.action-container-v2 { display: grid; grid-template-columns: 1fr 1fr; border: 2px solid var(--text-dark-v2); border-radius: 24px; overflow: hidden; margin: 100px auto; }
.action-image-v2 img { width: 100%; height: 100%; object-fit: cover; display: block; }
.action-content-v2 { background-color: var(--primary-color); padding: 60px; display: flex; flex-direction: column; justify-content: center; }
.action-content-v2 h2 { font-size: 3rem; font-weight: 800; line-height: 1.2; margin-bottom: 15px; }
.action-content-v2 p { margin-bottom: 30px; font-size: 1.1rem; }


/* --- FOOTER --- */
.main-footer { padding: 60px 0 20px 0; background-color: var(--white); border-top: 1px solid var(--border-light); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-column h4 { color: var(--text-dark); font-weight: 700; margin-bottom: 20px; }
.footer-brand p { margin-top: 15px; font-size: 0.9rem; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: var(--text-light); transition: color 0.3s ease; }
.footer-links a:hover { color: var(--primary-color); }
.social-icons { display: flex; gap: 15px; }
.social-icons a { display: inline-flex; justify-content: center; align-items: center; width: 40px; height: 40px; border-radius: 50%; background-color: var(--bg-light); color: var(--text-light); font-size: 1rem; transition: all 0.3s ease; }
.social-icons a:hover { background-color: var(--primary-color); color: var(--white); transform: translateY(-3px); }
.footer-copy { text-align: center; padding-top: 20px; border-top: 1px solid var(--border-light); font-size: 0.9rem; color: var(--text-light); }
.footer-copy p { margin: 0; }


/* --- ESTILOS RESPONSIVE --- */
@media (max-width: 992px) {
    /* Menú Hamburguesa */
    .main-nav { display: none; position: absolute; top: 100%; left: 0; width: 100%; background: var(--white); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
    .main-nav.active { display: block; }
    .nav-links { flex-direction: column; align-items: stretch; gap: 0; padding: 10px 0; }
    .nav-links li:hover .dropdown-menu { display: none; }
    .nav-links li, .dropdown-menu li { width: 100%; }
    .nav-links a { display: block; padding: 15px 20px; border-bottom: 1px solid var(--border-light); }
    .nav-links li:last-child a { border-bottom: none; }
    
    /* MEJORAS PARA EL SUBMENÚ MÓVIL */
    .nav-links .dropdown-menu { 
        position: static; 
        box-shadow: none; 
        border-radius: 0; 
        padding: 0; 
        background-color: #f7f6fd;
        display: none; /* Oculto por defecto en móvil */
    }
    .dropdown-menu a { padding-left: 40px; }
    .nav-links li.has-dropdown.open .dropdown-menu {
        display: block; /* Se muestra con la clase 'open' desde JS */
    }
    .nav-links .dropdown-toggle::after {
        transition: transform 0.3s ease;
    }
    .nav-links li.has-dropdown.open .dropdown-toggle::after {
        transform: rotate(180deg);
    }
    
    .header-actions { display: none; } 
    .hamburger-menu { display: block; }

    /* Layouts de Páginas */
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-content { order: 1; }
    .hero-image-grid { order: 2; margin-top: 40px; }
    .hero-content p { margin-left: auto; margin-right: auto; }
    .hero-buttons, .hero-stats { justify-content: center; }
    .features-grid { grid-template-columns: 1fr; }
    .feature-card-large { grid-template-columns: 1fr; display: flex; flex-direction: column; }
    .feature-card-large .card-large-image { order: -1; }
    .feature-card-large .card-large-text { text-align: left; width: 100%; padding-top: 20px; }
    .desire-cards-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    
    /* Responsive para Progreso Generacional */
    .progreso-atencion-main-grid { grid-template-columns: 1fr; gap: 40px; }
    .progreso-interes-grid { grid-template-columns: 1fr; }
    .progreso-deseo-grid { grid-template-columns: 1fr; }
    .progreso-deseo-image { order: -1; margin-bottom: 30px; }

    /* Responsive para Página de Instructor */
    .hero-grid-v2, .desire-grid-v2, .testimonial-grid-v2 { grid-template-columns: 1fr; text-align: left; }
    .hero-image-v2 { order: -1; margin-bottom: 40px; }
    .stepper { flex-direction: column; align-items: flex-start; }
    .step-item:not(:last-child)::after { display: none; }
    .interest-grid-v2 { grid-template-columns: 1fr; text-align: left; }
    .desire-grid-v2, .testimonial-grid-v2 { gap: 40px; }
    .desire-image-v2, .testimonial-image-v2 { order: -1; }
    .image-stack { margin-bottom: 40px; margin-left: 0; }
    .action-container-v2 { grid-template-columns: 1fr; }
    .action-image-v2 { max-height: 300px; }
    .action-content-v2 { text-align: left; }
}

@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    .testimonial-slide { flex-direction: column; text-align: center; }
    .testimonial-slide.active { display: flex; }
    .testimonial-nav { position: static; margin-top: 20px; justify-content: center; }
    .footer-grid { grid-template-columns: 1fr; text-align: left; }
    .footer-brand { text-align: left; }
    .social-icons { justify-content: flex-start; }
    .footer-brand p { margin-left: 0; margin-right: 0; }
}