﻿
/* Estilos personalizados para el diseño */
.hero-section {
    padding: 100px 0;
    text-align: center;
    background-color: #fff;
}

.badge-gestion {
    background-color: #f0f4f8;
    color: #003366;
    font-weight: bold;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 2rem;
}

.hero-title {
    font-family: 'Serif', 'Times New Roman', serif;
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

/* Efecto de gradiente en el texto */
.text-gradient {
    background: linear-gradient(to right, #0044cc, #002266 40%, #cc0000 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    color: #6c757d;
    max-width: 600px;
    margin: 2rem auto;
    font-size: 1.15rem;
}

.btn-iniciar {
    background-color: #003366;
    color: white;
    padding: 12px 35px;
    border-radius: 30px;
    font-weight: bold;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 51, 102, 0.3);
}

.btn-tutorial {
    color: #cc0000;
    background: transparent;
    padding: 12px 35px;
    font-weight: bold;
    border: none;
}

    .btn-tutorial i {
        margin-right: 8px;
    }

.guia-section {
    background-color: #f8fafc;
    padding: 80px 0;
}

.guia-title {
    font-family: 'Arial Black', sans-serif;
    font-weight: 900;
    color: #001f3f;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.guia-subtitle {
    color: #64748b;
    font-size: 0.95rem;
    max-width: 600px;
    margin: 1rem auto 2.5rem;
}

/* Buscador */
.search-container {
    max-width: 600px;
    margin: 0 auto 3rem;
    position: relative;
}

.search-input {
    border-radius: 50px;
    padding: 12px 25px 12px 50px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    font-size: 0.9rem;
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
}

/* Botones de Institución */
.inst-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 15px;
    transition: all 0.2s;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 25px;
    text-decoration: none;
}

    .inst-card:hover {
        border-color: #0044cc;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    }

.inst-text {
    font-weight: 800;
    font-size: 0.85rem;
    color: #1062A4;
    text-transform: uppercase;
}

.inst-number {
    color: #1062A4;
    margin-right: 8px;
}

.inst-arrow {
    color: #94a3b8;
    font-size: 0.8rem;
}


.video-section {
    background-color: #ffffff;
    padding: 80px 0;
    text-align: center;
}

.video-title {
    font-family: 'Arial Black', sans-serif;
    font-weight: 900;
    color: #001f3f;
    text-transform: uppercase;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.video-subtitle {
    color: #64748b;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* Contenedor del video con marco y sombra */
.video-frame-container {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 15px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid #f1f5f9;
}

/* Asegura que el video mantenga su proporción (16:9) */
.ratio-16x9 {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* Relación de aspecto 16:9 */
    height: 0;
    border-radius: 10px;
    overflow: hidden;
    background-color: #000;
}

    .ratio-16x9 iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: 0;
    }

/* --- Estilos Preguntas Frecuentes --- */
.faq-section {
    background-color: #f8fafc;
    padding: 80px 0;
}

.faq-title {
    font-family: 'Arial Black', sans-serif;
    font-weight: 900;
    color: #001f3f;
    text-transform: uppercase;
    text-align: center;
}

.faq-subtitle {
    color: #64748b;
    font-size: 0.95rem;
    text-align: center;
    max-width: 700px;
    margin: 1rem auto 3rem;
}

.faq-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 12px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: 0.2s;
}

    .faq-card:hover {
        border-color: #1062A4;
    }

.faq-question {
    color: #1062A4;
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    display: flex !important; /* Mantiene el icono y el texto alineados */
    align-items: center;
}

.faq-icon-prefix {
    background-color: #e2e8f0;
    color: #64748b;
    border-radius: 6px;
    padding: 2px 6px;
    margin-right: 12px;
    font-size: 0.7rem;
    display: inline-flex;
}
.faq-question mark,
.faq-question span {
    display: inline !important;
    white-space: nowrap; /* Evita que 'Qu' y 'é' se separen */
}

/* --- Estilos Footer --- */
.footer-site {
    background-color: #f1f5f9;
    padding: 60px 0 30px;
    color: #334155;
    font-size: 0.85rem;
}

.footer-logo-text {
    font-weight: 800;
    color: #1e293b;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.footer-title {
    font-weight: 800;
    color: #1e293b;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    font-size: 0.8rem;
}

.footer-link {
    color: #64748b;
    text-decoration: none;
    display: block;
    margin-bottom: 0.8rem;
}

    .footer-link:hover {
        color: #0044cc;
    }

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
    color: #64748b;
}

    .contact-item i {
        margin-right: 12px;
        color: #94a3b8;
    }

.validar-section {
    padding: 100px 0;
    min-height: 80vh;
    background-color: #fff;
}

.badge-verificacion {
    color: #e32219;
    border: 1px solid #fecaca;
    background-color: #fff1f2;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.validar-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 900;
    color: #1a1a1a;
    margin-top: 1.5rem;
}

.form-container {
    max-width: 500px;
    margin: 3rem auto;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #f1f5f9;
}

.form-label {
    font-weight: 700;
    font-size: 0.85rem;
    color: #334155;
    margin-bottom: 0.8rem;
}

.btn-consultar {
    background-color: #475569; /* Gris azulado oscuro de la imagen */
    color: white;
    width: 100%;
    padding: 15px;
    border-radius: 12px;
    font-weight: bold;
    border: none;
    margin-top: 1rem;
}

/* Clase para el ítem de menú seleccionado */
.nav-red .nav-link.active-menu {
    background-color: #BB1D20 !important; /* Azul oscuro de la flechita */
    font-weight: 800;
    border-radius: 4px; /* Opcional, para suavizar bordes */
}