/* =========================================
   ESTILOS ESPECÍFICOS DETALLE PROGRAMA
   (Inspirado en Referencia Visual + Colores Corp)
   ========================================= */

body {
    background-color: #f9f9f9;
}

/* 1. HERO SECTION */
.program-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    /* Overlay verde oscuro corporativo */
    background-color: #2c3e2a;
    background-image: linear-gradient(rgba(44, 62, 42, 0.85), rgba(44, 62, 42, 0.75));
    color: white;
    padding: 100px 0;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-text h1 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.title-underline {
    width: 60px;
    height: 4px;
    background-color: #D4B76A;
    /* Acento dorado sutil conservado para contraste */
    margin-bottom: 30px;
}

.hero-promo {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 40px;
    color: #e0e0e0;
}

.hero-promo strong {
    color: #D4B76A;
    /* Resaltar el descuento */
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-green-solid {
    background-color: #A1BC98;
    /* Verde claro corporativo */
    color: #1a2e1a;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s;
    border: 2px solid #A1BC98;
}

.btn-green-solid:hover {
    background-color: #778873;
    border-color: #778873;
    color: white;
}

.btn-outline-white {
    background-color: transparent;
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid white;
    transition: all 0.3s;
}

.btn-outline-white:hover {
    background-color: white;
    color: #2c3e2a;
}

/* 2. INTRO & BENEFICIOS */
.intro-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title-block {
    margin-bottom: 40px;
}

.section-title-block h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    color: #333;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.section-title-block i {
    color: #D4B76A;
    /* Icono dorado */
    font-size: 32px;
}

.intro-text {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 40px;
    max-width: 900px;
}

/* Grid Beneficios */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.benefit-card {
    background: white;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    font-size: 30px;
    color: #778873;
    /* Verde principal */
    margin-bottom: 15px;
}

.benefit-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

.benefit-card p {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

/* 3. INFO DETALLADA (Layout 2 columnas) */
.info-section {
    padding: 60px 0;
    background-color: white;
}

.info-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    /* Izquierda un poco más ancha */
    gap: 50px;
    align-items: start;
}

/* Columna Izquierda: Caja Estilizada */
.info-box-left {
    background-color: #F1F3E0;
    /* Verde muy pálido, casi blanco */
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid #e1e6d8;
}

.info-block {
    margin-bottom: 40px;
}

.info-block:last-child {
    margin-bottom: 0;
}

.info-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: #D4B76A;
    /* Dorado para iconos título */
}

.info-header h3 {
    color: #778873;
    /* Título verde */
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    font-weight: 700;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    color: #555;
    font-size: 15px;
}

.info-list li::before {
    content: '•';
    color: #778873;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Columna Derecha: Texto limpio */
.info-box-right {
    margin-bottom: 40px;
}

.info-box-right h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    color: #778873;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.info-box-right i {
    color: #D4B76A;
}

.info-text-highlight {
    font-size: 16px;
    color: #555;
    font-weight: 600;
}

.info-text {
    font-size: 15px;
    color: #666;
    line-height: 1.5;
}

.check-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.check-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.check-icon {
    background-color: #D2DCB6;
    /* Círculo verde claro */
    color: #778873;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 14px;
}

/* 4. PLAN DE ESTUDIO (MÓDULOS) */
.plan-section {
    background-color: #778873;
    padding: 80px 0;
    color: white;
}

.plan-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.plan-icon-circle {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    backdrop-filter: blur(5px);
}

.plan-header h2 {
    font-size: 32px;
    margin: 0;
}

.plan-intro {
    margin-bottom: 50px;
    font-size: 17px;
    line-height: 1.6;
    max-width: 900px;
    opacity: 0.9;
}

.modules-container {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modules-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.modules-list li {
    background-color: white;
    color: #333;
    padding: 20px 25px;
    border-radius: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.modules-list li:hover {
    transform: translateX(10px);
    background-color: #f1f1f1;
}

.modules-list li i {
    color: #778873;
    font-size: 20px;
}

@media (max-width: 600px) {
    .modules-list {
        grid-template-columns: 1fr;
    }

    .modules-container {
        padding: 20px;
    }
}

@media (max-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .title-underline {
        margin: 0 auto 30px;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .semester-tabs {
        flex-direction: column;
    }

    .sem-tab {
        border-right: none;
        border-bottom: 1px solid #ddd;
    }
}

/* FLOATING BUTTONS */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128c7e;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.preinscribe-float {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #778873 0%, #A1BC98 100%);
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(119, 136, 115, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    animation: pulse-button 2s infinite;
    transition: all 0.3s ease;
}

.preinscribe-float:hover {
    background: linear-gradient(135deg, #A1BC98 0%, #778873 100%);
    transform: translateX(-50%) translateY(-5px);
    box-shadow: 0 8px 25px rgba(119, 136, 115, 0.5);
}

@keyframes pulse-button {
    0% {
        box-shadow: 0 0 0 0 rgba(119, 136, 115, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(119, 136, 115, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(119, 136, 115, 0);
    }
}

@media (max-width: 768px) {
    .preinscribe-float {
        bottom: 20px;
        padding: 12px 25px;
        font-size: 14px;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}