
/* Variables de color y normalizaciones proporcionadas */
:root {
    --primary-blue: #0a2e52;
    --secondary-blue: #1a3a5f;
    --accent-gold: #FFD54F;
    --accent-gold-dark: #FFC107;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --white: #ffffff;
    --light-bg: #f8f9fa;
    --section-padding: 5rem 1rem;
    --gray-200: #f1f3f5;
    --gray-300: #e9ecef;
    --gray-400: #e0e0e0;
    --blue-100: #f0f4f8;
    --shadow-1: 0 2px 6px rgba(0, 0, 0, 0.1);
    --shadow-2: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-blue-15: 0 4px 12px rgba(10, 46, 82, 0.15);
    --glow-gold: 0 0 0 3px rgba(255, 213, 79, 0.4);
}

/* Reset y base */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--light-bg);
    overflow-x: hidden;
}

.main-content {
    padding-top: 67px;
}

/* Contenedor principal y encabezado */
.page-container {
    padding: var(--section-padding);
    max-width: 1200px;
    margin: 0 auto; /* Changed from 5rem auto to 0 auto */
}
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}
.section-header h1 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
    font-weight: 700;
}
.section-header .subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 650px;
    margin: 0 auto;
}
.section-title {
    font-size: 1.8rem;
    color: var(--secondary-blue);
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--accent-gold);
    display: inline-block; /* Added for border to fit content */
}

/* Requisitos Unificados */
#requisitos-unificados {
    padding-top: 3rem;
}

.requisitos-container {
    display: flex;
    gap: 2rem;
    margin-bottom: 4rem;
}

.requisitos-columna {
    flex: 1;
}


/* Requisitos Generales */
.general-requirements {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-2);
    margin-bottom: 2rem; /* Reduced margin */
}
.general-requirements ul { list-style: none; padding-left: 0; } /* Removed default padding */
.general-requirements li {
    position: relative;
    padding-left: 2.2em;
    margin-bottom: 1.2em;
}
.general-requirements li::before {
    content: '✓';
    position: absolute;
    left: 0; top: -2px;
    color: var(--accent-gold-dark);
    font-weight: bold;
    font-size: 1.3rem;
    background-color: var(--blue-100);
    border-radius: 50%;
    width: 28px; height: 28px;
    text-align: center; line-height: 28px;
}

/* Acordeón para Requisitos Específicos */
.accordion-item {
    background-color: var(--white);
    border-radius: 12px;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-2);
    border: 1px solid var(--gray-300);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.accordion-item:hover {
    box-shadow: var(--shadow-blue-15);
    transform: translateY(-5px);
}
.accordion-item summary {
    font-size: 1.4rem; font-weight: 500;
    color: var(--primary-blue);
    padding: 1.5rem 2rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    outline: none;
}
.accordion-item summary::-webkit-details-marker { display: none; }
.accordion-item summary:focus-visible { box-shadow: var(--glow-gold); border-radius: 10px; }
.accordion-item summary::after {
    content: '+'; font-size: 2.2rem; font-weight: 300;
    color: var(--accent-gold-dark);
    transition: transform 0.3s ease;
}
.accordion-item[open] > summary::after { transform: rotate(45deg); }
.accordion-item[open] > summary { border-bottom: 1px solid var(--gray-300); }
.accordion-content { padding: 2rem; border-top: 1px solid var(--gray-200); }
.accordion-content ul { list-style: none; padding-left: 0; } /* Removed default padding */
.accordion-content li { position: relative; padding-left: 2.2em; margin-bottom: 1em; } /* Added margin-bottom */
.accordion-content li::before {
    content: '→'; position: absolute; left: 0;
    color: var(--accent-gold-dark); font-weight: bold; font-size: 1.5rem;
}

/* Sección de Costos y Duración con Tabs */
.costs-section { margin-top: 4rem; }
.tabs-container {
    display: flex;
    border-bottom: 1px solid var(--gray-300);
    margin-bottom: 2rem;
}
.tab-button {
    padding: 1rem 1.5rem;
    cursor: pointer;
    border: none;
    background: none;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-light);
    border-bottom: 3px solid transparent;
    transition: color 0.3s ease, border-color 0.3s ease;
}
.tab-button:hover { color: var(--secondary-blue); }
.tab-button.active {
    color: var(--primary-blue);
    border-bottom-color: var(--primary-blue);
}
.tab-content { display: none; animation: fadeIn 0.5s; }
.tab-content.active { display: block; }

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.costs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}
.cost-item {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--accent-gold);
}

.cost-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-blue-15);
}
.cost-item h4 {
    color: var(--secondary-blue);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    font-weight: 600;
}
.cost-item p {
    color: var(--primary-blue);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}
.cost-item span {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Aviso de Pago */
.payment-notice {
    background-color: var(--blue-100);
    border-left: 5px solid var(--accent-gold-dark);
    padding: 1.5rem;
    margin-top: 4rem;
    border-radius: 0 8px 8px 0;
}
.payment-notice p { margin: 0; }

/* CINTA SEPARADORA FINAL: ADQUIERE DOCUMENTOS */
.cinta-adquiere-docs {
    background: linear-gradient(45deg, var(--primary-blue), var(--secondary-blue));
    color: var(--white);
    padding: 4rem 2rem;
    text-align: center;
    margin-top: 5rem;
    position: relative;
    overflow: hidden;
}

.cinta-adquiere-docs::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 213, 79, 0.1), transparent 70%);
    transform: rotate(45deg);
    animation: rotate-glow 15s linear infinite;
}

@keyframes rotate-glow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.cinta-contenido {
    position: relative;
    z-index: 2;
}

.cinta-adquiere-docs h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
    color: var(--white); /* Ensure h2 color is white */
}

.cinta-adquiere-docs p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.btn-cta-rect {
    background-color: var(--accent-gold);
    color: var(--primary-blue);
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-cta-rect:hover {
    background-color: var(--accent-gold-dark);
    color: var(--primary-blue);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}


/* Media Queries */
@media (max-width: 992px) {
    .requisitos-container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .section-header h1 { font-size: 2rem; }
    .accordion-item summary { font-size: 1.2rem; padding: 1.2rem 1.5rem; }
    .tabs-container { flex-wrap: wrap; }
    .tab-button { flex-grow: 1; }
    .cinta-adquiere-docs h2 { font-size: 1.8rem; }
    .page-container { padding: 3rem 1rem; }
}

/* ================================
   HERO SECTION
   ================================ */
.hero-docentes {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(10, 46, 82, 0.85) 0%, 
        rgba(26, 58, 95, 0.75) 50%,
        rgba(255, 193, 7, 0.1) 100%
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
}

.hero-welcome {
    margin-bottom: 2rem;
}

.welcome-text {
    display: block;
    font-size: 1.1rem;
    font-weight: 400;
    opacity: 0.9;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
}

.hero-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1.5rem 0;
}

.divider-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
}

.divider-icon {
    margin: 0 1rem;
    width: 40px;
    height: 40px;
    background: rgba(255, 193, 7, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.divider-icon i {
    color: var(--accent-gold);
    font-size: 1.2rem;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 400;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.7;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle strong {
    color: var(--accent-gold);
    font-weight: 600;
}

.hero-cta {
    margin-top: 2rem;
}

.btn-scroll-down {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 0;
    border: none;
    background: none;
    transition: all 0.3s ease;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.btn-scroll-down:hover {
    color: var(--accent-gold);
    transform: translateY(-1px);
}

.btn-scroll-down i {
    font-size: 0.9rem;
    animation: bounce 2s infinite;
    margin-left: 0.25rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}

@media (max-width: 768px) {
    .hero-docentes {
        padding: 80px 0 80px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .welcome-text {
        font-size: 1.2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 575.98px) {
    .hero-docentes {
        padding: 140px 0 80px;
    }
    .hero-title {
        font-size: 1.6rem;
    }
    
    .welcome-text {
        font-size: 1rem;
    }

    .btn-scroll-down {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* =============================
   FAQ SECTION NUEVO DISEÑO
   ============================= */
.faq-section {
    background: linear-gradient(120deg, var(--white) 60%, var(--blue-100) 100%);
    padding: 4rem 0 3rem 0;
    border-radius: 18px;
    box-shadow: var(--shadow-2);
    margin-top: 4rem;
}

.faq-section .section-title {
    color: var(--primary-blue);
    border-bottom: 4px solid var(--accent-gold);
    font-size: 2rem;
    font-family: 'Poppins', 'Roboto', Arial, sans-serif;
    font-weight: 700;
    margin-bottom: 2.5rem;
    background: none;
    box-shadow: none;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 14px;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-1);
    border: 1.5px solid var(--gray-300);
    transition: box-shadow 0.3s, transform 0.3s;
    overflow: hidden;
}
.faq-item:hover {
    box-shadow: var(--shadow-blue-15);
    transform: translateY(-3px) scale(1.01);
}
.faq-question {
    font-size: 1.15rem;
    font-family: 'Poppins', 'Roboto', Arial, sans-serif;
    font-weight: 600;
    color: var(--secondary-blue);
    padding: 1.2rem 2rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    outline: none;
    background: var(--blue-100);
    border-bottom: 1.5px solid var(--gray-200);
    letter-spacing: 0.01em;
    transition: background 0.2s;
    position: relative;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-item[open] > .faq-question {
    background: var(--accent-gold);
    color: var(--primary-blue);
    border-bottom: 1.5px solid var(--gray-300);
}
.faq-question::after {
    content: '+';
    font-size: 1.7rem;
    font-weight: 400;
    color: var(--accent-gold-dark);
    margin-left: auto;
    transition: transform 0.3s;
}
.faq-item[open] > .faq-question::after {
    transform: rotate(45deg);
}
.faq-answer {
    padding: 1.5rem 2rem;
    background: var(--white);
    color: var(--text-dark);
    font-size: 1.05rem;
    font-family: 'Roboto', Arial, sans-serif;
    border-top: 1px solid var(--gray-200);
    line-height: 1.7;
}
.faq-answer p {
    margin: 0;
}

@media (max-width: 768px) {
    .faq-section {
        padding: 2.5rem 0 2rem 0;
    }
    .faq-container {
        padding: 0 1rem;
    }
    .faq-question {
        font-size: 1rem;
        padding: 1rem 1.2rem;
    }
    .faq-answer {
        padding: 1rem 1.2rem;
    }
}