/* ==========================================================================
   DIPLOMAS - ESTILOS ESPECIALIZADOS
   ========================================================================== */

/* Variables premium */
:root {
    /* Colores premium */
    --educacion-primary: #0056b3;
    --educacion-primary-dark: #003d82;
    --educacion-secondary: #4d94ff;
    --educacion-accent: #28a745;
    --educacion-accent-light: #20c997;
    --educacion-light: #f8f9fa;
    --educacion-dark: #1a1a1a;
    --educacion-gray: #6c757d;
    
    /* Gradientes premium */
    --educacion-gradient: linear-gradient(135deg, #0056b3 0%, #003d82 100%);
    --educacion-gradient-light: linear-gradient(135deg, #4d94ff 0%, #1a75ff 100%);
    --educacion-gradient-accent: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    
    /* Sombras premium */
    --educacion-shadow: 0 15px 35px rgba(0, 86, 179, 0.15);
    --educacion-shadow-hover: 0 25px 50px rgba(0, 86, 179, 0.25);
    --educacion-shadow-card: 0 10px 30px rgba(0, 0, 0, 0.08);
    
    /* Tipografía premium */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--educacion-dark);
    background: #fff;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   CONTENEDORES POR SECCIÓN
   ========================================================================== */
.section-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero tiene su propio contenedor especial */
.hero-container {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
}

/* ==========================================================================
   HERO DIPLOMADOS
   ========================================================================== */
.diplomas-hero {
    position: relative;
    height: 85vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: -80px;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.7);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    color: white;
    position: relative;
    z-index: 3;
    padding: 4rem 0;
    width: 100%;
    margin-left: 7.5%;
    margin-top: 7.5%;
}

.hero-title {
    font-size: 6.5rem;
    font-weight: 900;
    margin-bottom: 2rem;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: -1px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-subtitle {
    font-size: 2.8rem;
    font-weight: 600;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-description {
    font-size: 1.8rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 4rem;
    max-width: 700px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease 0.6s both;
}

.hero-stats {
    display: flex;
    gap: 4rem;
    margin: 5rem 0;
    animation: fadeInUp 1s ease 0.8s both;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    min-width: 250px;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.stat-icon {
    font-size: 3.5rem;
    color: var(--educacion-secondary);
    opacity: 0.9;
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #fff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.9;
}

/* ==========================================================================
   SECCIONES COMUNES
   ========================================================================== */
.intro-diplomas,
.diplomas-detallados,
.ruta-academica,
.beneficios-diplomas,
.cta-diplomas,
.footer {
    padding: 10rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 6rem;
}

.section-title {
    font-size: 4.5rem;
    font-weight: 900;
    color: var(--educacion-dark);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: -1px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 6px;
    background: var(--educacion-gradient);
    border-radius: 3px;
}

.section-subtitle {
    font-size: 2.2rem;
    color: var(--educacion-primary);
    font-weight: 600;
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.5;
}

.section-decoration {
    width: 80px;
    height: 3px;
    background: rgba(0, 86, 179, 0.2);
    margin: 0 auto;
    border-radius: 2px;
}

/* ==========================================================================
   INTRODUCCIÓN DIPLOMADOS
   ========================================================================== */
.intro-diplomas {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
}

.intro-diplomas::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--educacion-gradient);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8rem;
    align-items: start;
}

.intro-text-container {
    padding-right: 4rem;
}

.intro-title {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 3rem;
    color: var(--educacion-dark);
    line-height: 1.2;
    position: relative;
}

.intro-title::after {
    content: '';
    position: absolute;
    bottom: -1.5rem;
    left: 0;
    width: 80px;
    height: 5px;
    background: var(--educacion-gradient);
    border-radius: 3px;
}

.intro-lead {
    font-size: 2rem;
    line-height: 1.6;
    color: var(--educacion-dark);
    margin-bottom: 4rem;
    font-weight: 500;
}

.intro-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    font-size: 1.6rem;
    color: var(--educacion-dark);
}

.feature i {
    color: var(--educacion-accent);
    font-size: 1.8rem;
    margin-top: 0.3rem;
    flex-shrink: 0;
}

.feature strong {
    color: var(--educacion-primary);
    font-weight: 700;
}

.intro-image-container {
    position: relative;
}

.intro-card {
    background: white;
    padding: 4rem;
    border-radius: 20px;
    box-shadow: var(--educacion-shadow);
    border-top: 5px solid var(--educacion-primary);
    position: relative;
    overflow: hidden;
}

.intro-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--educacion-gradient);
}

.card-header {
    margin-bottom: 2.5rem;
}

.card-header i {
    font-size: 4rem;
    color: var(--educacion-primary);
    opacity: 0.2;
}

.card-quote {
    font-size: 2rem;
    font-style: italic;
    color: var(--educacion-dark);
    line-height: 1.6;
    margin-bottom: 3rem;
    position: relative;
    padding-left: 2rem;
}

.card-quote::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--educacion-gradient);
    border-radius: 2px;
}

.card-author {
    border-top: 1px solid rgba(0, 86, 179, 0.1);
    padding-top: 2rem;
}

.author-line {
    width: 60px;
    height: 3px;
    background: var(--educacion-gradient);
    margin-bottom: 1.5rem;
    border-radius: 2px;
}

.author-text {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--educacion-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================================================
   DIPLOMADOS DETALLADOS
   ========================================================================== */
.diplomas-detallados {
    background: white;
    position: relative;
}

.diploma-container {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 4rem;
    margin-bottom: 8rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--educacion-shadow);
    border: 1px solid rgba(0, 86, 179, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.diploma-container.animate-in {
    animation: slideUp 0.6s ease forwards;
}

.diploma-container:hover {
    box-shadow: var(--educacion-shadow-hover);
    transform: translateY(-5px);
}

.diploma-sidebar {
    background: linear-gradient(135deg, var(--educacion-primary) 0%, var(--educacion-primary-dark) 100%);
    padding: 5rem 3rem;
    color: white;
    position: relative;
}

.diploma-sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    right: -1px;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.3), transparent);
}

.diploma-header-sidebar {
    margin-bottom: 4rem;
}

.diploma-number {
    font-size: 8rem;
    font-weight: 900;
    opacity: 0.2;
    line-height: 1;
    margin-bottom: 1rem;
}

.diploma-level {
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.diploma-title-sidebar {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 3rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.diploma-meta {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.meta-item i {
    font-size: 1.8rem;
    color: var(--educacion-secondary);
    width: 24px;
}

.diploma-description-sidebar {
    margin-bottom: 4rem;
}

.diploma-description-sidebar h4 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: white;
    position: relative;
    padding-bottom: 1rem;
}

.diploma-description-sidebar h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--educacion-accent);
    border-radius: 2px;
}

.diploma-description-sidebar p {
    font-size: 1.5rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.sidebar-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 1.8rem 2.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
}

.sidebar-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.diploma-content-main {
    padding: 5rem 4rem;
}

.modules-header {
    margin-bottom: 4rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid rgba(0, 86, 179, 0.1);
}

.modules-header h3 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--educacion-dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.modules-header h3 i {
    color: var(--educacion-primary);
    font-size: 2.4rem;
}

.modules-subtitle {
    font-size: 1.6rem;
    color: var(--educacion-gray);
    font-weight: 500;
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
}

.module-card {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    border: 2px solid rgba(0, 86, 179, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
}

.module-card.animate-in {
    animation: slideUp 0.6s ease forwards;
}

.module-card:hover {
    border-color: var(--educacion-primary);
    transform: translateY(-5px);
    box-shadow: var(--educacion-shadow);
}

.module-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--educacion-gradient);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s ease;
}

.module-card:hover::before {
    transform: scaleY(1);
}

.module-number-circle {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(0, 86, 179, 0.1) 0%, rgba(77, 148, 255, 0.05) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 900;
    color: var(--educacion-primary);
    margin-bottom: 2rem;
    border: 2px solid rgba(0, 86, 179, 0.2);
}

.module-content {
    position: relative;
}

.module-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--educacion-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.module-subtitle {
    font-size: 1.4rem;
    color: var(--educacion-primary);
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.module-description {
    font-size: 1.4rem;
    color: var(--educacion-gray);
    line-height: 1.6;
}

/* ==========================================================================
   RUTA ACADÉMICA
   ========================================================================== */
.ruta-academica {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.ruta-timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin: 6rem 0;
    position: relative;
}

.ruta-item {
    position: relative;
    z-index: 2;
}

.ruta-step {
    background: white;
    padding: 4rem 3rem;
    border-radius: 20px;
    box-shadow: var(--educacion-shadow);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    height: 100%;
    text-align: center;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}

.ruta-step.animate-in {
    animation: slideUp 0.6s ease forwards;
}

.ruta-step:hover {
    border-color: var(--educacion-primary);
    transform: translateY(-10px);
    box-shadow: var(--educacion-shadow-hover);
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--educacion-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2.5rem;
    color: white;
    font-size: 3rem;
    box-shadow: 0 8px 25px rgba(0, 86, 179, 0.3);
}

.step-number {
    font-size: 4.5rem;
    font-weight: 900;
    color: var(--educacion-primary);
    line-height: 1;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.step-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--educacion-dark);
    margin-bottom: 2rem;
    line-height: 1.2;
}

.step-description {
    font-size: 1.5rem;
    color: var(--educacion-gray);
    line-height: 1.6;
}

.ruta-line {
    position: absolute;
    top: 50%;
    right: -50px;
    transform: translateY(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(to right, var(--educacion-primary), var(--educacion-secondary));
    z-index: 1;
}

.ruta-line::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: var(--educacion-primary);
    border-radius: 50%;
}

.ruta-finale {
    background: white;
    border-radius: 20px;
    padding: 5rem;
    margin-top: 6rem;
    box-shadow: var(--educacion-shadow);
    border: 2px solid var(--educacion-primary);
    text-align: center;
}

.finale-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    max-width: 800px;
    margin: 0 auto;
}

.finale-icon {
    width: 100px;
    height: 100px;
    background: var(--educacion-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
    box-shadow: 0 10px 30px rgba(0, 86, 179, 0.3);
    flex-shrink: 0;
}

.finale-text h3 {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--educacion-primary);
    margin-bottom: 2rem;
    line-height: 1.2;
}

.finale-text p {
    font-size: 1.8rem;
    color: var(--educacion-dark);
    line-height: 1.6;
}

/* ==========================================================================
   BENEFICIOS DIPLOMAS
   ========================================================================== */
.beneficios-diplomas {
    background: white;
    position: relative;
}

.beneficios-diplomas::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--educacion-gradient);
}

.beneficios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 6rem;
}

.beneficio-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 4rem 3rem;
    border-radius: 20px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
}

.beneficio-card.animate-in {
    animation: slideUp 0.6s ease forwards;
}

.beneficio-card:hover {
    border-color: var(--educacion-primary);
    transform: translateY(-10px);
    box-shadow: var(--educacion-shadow-hover);
}

.beneficio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--educacion-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.beneficio-card:hover::before {
    transform: scaleX(1);
}

.beneficio-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(0, 86, 179, 0.1) 0%, rgba(77, 148, 255, 0.05) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 3rem;
    color: var(--educacion-primary);
    font-size: 3rem;
    border: 2px solid rgba(0, 86, 179, 0.2);
    transition: all 0.3s ease;
}

.beneficio-card:hover .beneficio-icon {
    background: var(--educacion-gradient);
    color: white;
    transform: rotateY(180deg);
}

.beneficio-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--educacion-dark);
    margin-bottom: 2rem;
    line-height: 1.2;
}

.beneficio-description {
    font-size: 1.5rem;
    color: var(--educacion-gray);
    line-height: 1.6;
}
/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background: var(--educacion-dark);
    color: white;
}

.footer .section-container {
    max-width: 1400px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-logo {
    font-size: 2.4rem;
    font-weight: 900;
    color: white;
}

.footer-section p {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--educacion-primary);
    transform: translateY(-3px);
}

.footer-section h4 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-section ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 1.4rem;
    transition: all 0.3s ease;
}

.footer-section ul li a:hover,
.footer-section ul li a.active {
    color: white;
    padding-left: 0.5rem;
}

.footer-bottom {
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ==========================================================================
   ANIMACIONES
   ========================================================================== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 5.5rem;
    }
    
    .diploma-container {
        grid-template-columns: 350px 1fr;
    }
    
    .modules-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 4.5rem;
    }
    
    .hero-subtitle {
        font-size: 2.2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    .stat-item {
        min-width: 100%;
    }
    
    .intro-grid {
        grid-template-columns: 1fr;
        gap: 6rem;
    }
    
    .intro-text-container {
        padding-right: 0;
    }
    
    .diploma-container {
        grid-template-columns: 1fr;
    }
    
    .diploma-sidebar::before {
        right: auto;
        bottom: -1px;
        top: auto;
        width: 100%;
        height: 2px;
        background: linear-gradient(to right, transparent, rgba(255,255,255,0.3), transparent);
    }
    
    .ruta-timeline {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .ruta-line {
        top: auto;
        bottom: -40px;
        left: 50%;
        transform: translateX(-50%);
        width: 2px;
        height: 40px;
        background: linear-gradient(to bottom, var(--educacion-primary), var(--educacion-secondary));
    }
    
    .ruta-line::after {
        right: auto;
        bottom: -6px;
        top: auto;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .finale-content {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }
    
    .intro-diplomas,
    .diplomas-detallados,
    .ruta-academica,
    .beneficios-diplomas,
    .cta-diplomas {
        padding: 8rem 0;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.8rem;
    }
    
    .hero-description {
        font-size: 1.6rem;
    }
    
    .section-title {
        font-size: 3.5rem;
    }
    
    .section-subtitle {
        font-size: 1.8rem;
    }
    
    .intro-title {
        font-size: 3.5rem;
    }
    
    .intro-lead {
        font-size: 1.8rem;
    }
    
    .diploma-title-sidebar {
        font-size: 2.2rem;
    }
    
    .modules-grid {
        grid-template-columns: 1fr;
    }
    
    .beneficios-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-title {
        font-size: 3.5rem;
    }
    
    .cta-description {
        font-size: 1.8rem;
    }
    
    .cta-features {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    
    .cta-feature {
        width: 100%;
        max-width: 400px;
        justify-content: center;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100%;
        max-width: 400px;
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .intro-diplomas,
    .diplomas-detallados,
    .ruta-academica,
    .beneficios-diplomas,
    .cta-diplomas {
        padding: 6rem 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.6rem;
    }
    
    .stat-number {
        font-size: 3.5rem;
    }
    
    .section-title {
        font-size: 2.8rem;
    }
    
    .diploma-content-main {
        padding: 3rem 2rem;
    }
    
    .diploma-sidebar {
        padding: 3rem 2rem;
    }
    
    .cta-title {
        font-size: 2.8rem;
    }
    
    .finale-text h3 {
        font-size: 2.8rem;
    }
    
    .diploma-container,
    .module-card,
    .beneficio-card,
    .ruta-step {
        padding: 3rem 2rem;
    }
    
    .ruta-finale {
        padding: 3rem 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* ==========================================================================
   EFECTOS ESPECIALES DE ANIMACIÓN
   ========================================================================== */
.diploma-container:nth-child(1) { animation-delay: 0.1s; }
.diploma-container:nth-child(2) { animation-delay: 0.2s; }
.diploma-container:nth-child(3) { animation-delay: 0.3s; }

.module-card:nth-child(1) { animation-delay: 0.1s; }
.module-card:nth-child(2) { animation-delay: 0.2s; }
.module-card:nth-child(3) { animation-delay: 0.3s; }
.module-card:nth-child(4) { animation-delay: 0.4s; }
.module-card:nth-child(5) { animation-delay: 0.5s; }
.module-card:nth-child(6) { animation-delay: 0.6s; }
.module-card:nth-child(7) { animation-delay: 0.7s; }
.module-card:nth-child(8) { animation-delay: 0.8s; }
.module-card:nth-child(9) { animation-delay: 0.9s; }

.beneficio-card:nth-child(1) { animation-delay: 0.1s; }
.beneficio-card:nth-child(2) { animation-delay: 0.2s; }
.beneficio-card:nth-child(3) { animation-delay: 0.3s; }
.beneficio-card:nth-child(4) { animation-delay: 0.4s; }

/* ==========================================================================
   ESTILOS ESPECIALES PARA ENLACE ACTIVO
   ========================================================================== */
.nav-menu a.active {
    color: var(--educacion-primary) !important;
    font-weight: 700;
}

.nav-menu a.active::after {
    width: 100% !important;
    background: linear-gradient(90deg, var(--educacion-primary), var(--educacion-secondary)) !important;
}

.footer-section ul li a.active {
    color: var(--educacion-primary) !important;
    font-weight: 700;
}

.dropdown-item-pro.active {
    background: rgba(0, 86, 179, 0.1) !important;
    border-left: 4px solid var(--educacion-primary) !important;
}

.dropdown-item-pro.active span {
    color: var(--educacion-primary) !important;
    font-weight: 700 !important;
}