/* ----- RESET ----- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ----- TIPOGRAFÍA RESPONSIVA BASE ----- */
html {
    /* Tamaño base responsivo usando clamp */
    font-size: clamp(14px, 1.2vw, 16px);
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #222;
    background-color: #223340;
    line-height: 1.5;
}

/* ----- NAVBAR ----- */
header {
    background: #234c6a;
    color: #eeede4;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}


/* ----- TITULOS (H1–H6) ----- */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.2;
    letter-spacing: 0.5px;
    margin-bottom: 0.8em;
}


h6 {
    font-size: 1rem;
    margin-bottom: 20px;
    font-weight: 600;
    color: #1d2a42;
    line-height: 1.7;
}


.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    /* usa rem para ser proporcional */
}

.logo {
    font-size: 1.2rem;
    font-weight: bold;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    text-align: center;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
}

.nav-links a:hover {
    color: #adb9cd;
}

.nav-links a.active {
    color: #adb9cd;
}

a.active {
    /* Color gris azulado suave */
    color: #0CCEF0;
    /* Texto más oscuro */
    cursor: default;
    pointer-events: none;
}

.nav-links a.btn-especial {
    color: #8BD3FF;
    /* azul claro */
}

/* Hover del especial */
.nav-links a.btn-especial:hover {
    color: #ffffff;
    /* pasa a blanco */
}


.menu-toggle {
    display: none;
    font-size: 2rem;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
}

.card .txt-center {
    text-align: center;
}



/* ----- HERO ----- */
.logo img {
    height: 2.6rem;
    /* ajustar altura según diseño */
    width: auto;
    /* mantiene proporción */
    display: block;
}

.svg-center-home {
    display: flex;
    justify-content: center;
    /* centra horizontalmente */
    align-items: center;
    /* centra verticalmente si tiene altura */
    margin: 3em auto 2em auto;
    /* espacio superior e inferior */
}

.svg-center-home img {
    width: clamp(100px, 30vw, 250px);
    /* tamaño responsivo */
    height: auto;
    /* sutil transparencia */
}

.svg-center {
    display: flex;
    justify-content: center;
    /* centra horizontalmente */
    align-items: center;
    /* centra verticalmente si tiene altura */
    margin: 7em auto 2em auto;
    /* espacio superior e inferior */
}

.svg-center img {
    width: clamp(100px, 30vw, 250px);
    /* tamaño responsivo */
    height: auto;
    /* sutil transparencia */
}

@media (max-width: 768px) {
    .logo img {
        height: 2rem;
    }
}


/* ----- DOS COLUMNAS ----- */
.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    margin-top: 2rem;
}

.two-columns .col h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
 

.two-columns .col p {
    font-size: 1rem;
    line-height: 1.6;
}

/* ----- VIDEO EN LA COLUMNA DERECHA ----- */
.video-col video {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
    margin-top: 2rem;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* ----- RESPONSIVO ----- */
@media (max-width: 768px) {
    .two-columns {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .video-col {
        margin-top: 1.5rem;
    }
}

.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    margin-top: 1.375rem;
    /* 70px aprox = 4.375rem */
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

.hero-image {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    display: block;
}


.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
}

.hero-text h1 {
    font-size: 2.4rem;
    /* 16px * 2.4 = 38px aprox */
    margin-bottom: 0.5rem;
    color: #eeede4;
}

.hero-text h3 {
    font-size: 1.4rem;
    color: #eeede4;
}

.hero-text p {
    color: #FFF;
    font-size: 1rem;
}

.hero-text span {
    color: #0CCEF0;
    font-size: 1.2rem;
}

.hero-text .ye {
    color: #c00;
}

/* ----- SECCIONES ----- */
.content-section {
    max-width: 1024px;
    /* 1000px aprox */
    margin: 0.1rem auto;
    text-align: left;
    padding: 1.8rem;
    background: #fff;
    border-radius: 0.625rem;
    /* 10px */
    box-shadow: 0 0.125rem 0.375rem rgba(0, 0, 0, 0.1);
}

.content-section h2 {
    color: #234c6a;
    margin-bottom: 1rem;
    font-size: 2rem;
}

/* ----- FOOTER ----- */
footer {
    background: #234c6a;
    color: #fff;
    text-align: center;
    padding: 1.5rem;
    margin-top: 4rem;
    font-size: 1rem;
}



.footer-social {
    margin-bottom: 10px;
}

.footer-social a {
    color: #ffffff;
    font-size: 1.5rem;
    margin: 0 12px;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-social a:hover {
    color: #4c9a6b;
    /* Azul claro o puedes cambiar */
    transform: scale(1.2);
}

footer p {
    font-size: 0.9rem;
    margin-top: 5px;
    opacity: 0.8;
}


/* ----- RESPONSIVE ----- */
@media (max-width: 768px) {
    html {
        font-size: clamp(13px, 2vw, 15px);
        /* ajustar tamaño base en móvil */
    }

    .nav-links {
        display: none;
        flex-direction: column;
        background: #234c6a;
        position: absolute;
        top: 4.375rem;
        right: 0;
        width: 100%;
        padding: 1rem 0;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .hero-text h1 {
        font-size: 2rem;
    }
}

/* ----- SEPARADOR FINO ----- */
.separador {
    border: none;
    border-top: 0.125rem solid rgba(250, 250, 250, 0.3);
    margin: 0.625rem 0;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}



.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    width: 80%;
    /* ancho base para desktop */
    max-width: 800px;
    /* limita a un máximo razonable */
}

/* ----- RESPONSIVE ----- */
@media (max-width: 768px) {
    .hero-text {
        width: 90%;
        /* más ancho en móviles */
        max-width: none;
        /* quitar límite para que ocupe casi todo */
        padding: 0 1rem;
        /* espacio lateral para que no toque los bordes */
    }

    .hero-text h1 {
        font-size: 2rem;
        /* ajustar tamaño */
    }

    .hero-text p {
        font-size: 1rem;
        /* ajustar tamaño */
    }
}


.lista-estilo {
    list-style: none;
    /* elimina el punto */
    padding-left: 0;
}

.lista-estilo li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: clamp(1rem, 1.2vw, 1.2rem);
    line-height: 1.6;
}

.lista-estilo li::before {
    content: '*';
    position: absolute;
    left: 0;
    color: #1d2a42;
    font-weight: bold;
}


/* ----- IMAGEN RESPONSIVA ----- */
.f1 img {
    display: block;
    margin: 2rem auto;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Efecto sutil al pasar el mouse */
.f1 img:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* ----- OPCIONAL: ESTILO EDITORIAL SUAVE ----- */
@media (max-width: 768px) {
    .f1 img {
        margin: 1.5rem auto;
        border-radius: 6px;
    }

    .lista-estilo li {
        padding-left: 1.2rem;
    }

    .lista-estilo li::before {
        left: 0;
        font-size: 0.9rem;
    }
}

/* ----- CONTENEDOR DE VIDEO RESPONSIVO ----- */
.video-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    /* ajusta según el diseño */
    margin: 2rem auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    aspect-ratio: 16 / 9;
    /* mantiene proporción moderna */
}

/* ----- IFRAME ----- */
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    object-fit: cover;
    border-radius: inherit;
}

/* ----- AJUSTES EXTRA (opcional) ----- */
@media (max-width: 600px) {
    .video-container {
        max-width: 100%;
        border-radius: 6px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    }
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    padding: 20px;
}

.video-thumb {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 16 / 9;
    background: #000;
    transition: transform 0.3s ease;
}

.video-thumb:hover {
    transform: scale(1.03);
}

.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s ease;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: white;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
    pointer-events: none;
    opacity: 0.9;
}

.txt-center {
    text-align: center;
    margin: 40px 0 20px;
}

.youtube-link {
    text-decoration: none;
    color: #ff0000;
    font-size: 2rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s ease;
}

.youtube-link:hover {
    color: #c70000;
}

.youtube-link i {
    font-size: 2.2rem;
    vertical-align: middle;
}

.slider-section {
    position: relative;
    width: 100%;
    max-width: 600px;
    /* ancho de la imagen */
    margin: 50px auto;
    /* centrado */
    overflow: hidden;
    border-radius: 12px;
}

.slider-container {
    display: flex;
    transition: transform 0.4s ease;
    cursor: grab;
}

.slide {
    min-width: 100%;
    user-select: none;
}

.slide img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

/* Flechas */
.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    border: none;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 50%;
    z-index: 10;
    transition: background 0.3s ease;
}

.arrow:hover {
    background: rgba(0, 0, 0, 0.7);
}

.arrow.left {
    left: 10px;
}

.arrow.right {
    right: 10px;
}

/* Responsivo */
@media(max-width: 650px) {
    .slider-section {
        max-width: 100%;
    }
}

.scroll-down {
    position: absolute;
    bottom: 58px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}

.scroll-down a {
    display: inline-block;
    width: 28px;
    height: 44px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    position: relative;
    transition: all 0.3s ease;
}

.scroll-down a span {
    position: absolute;
    top: 9px;
    left: 50%;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    transform: translateX(-50%);
    animation: scrollDot 1.8s infinite;
}

@keyframes scrollDot {
    0% {
        opacity: 0;
        transform: translate(-50%, 0);
    }

    30% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translate(-50%, 18px);
    }
}

/* Hover */
.scroll-down a:hover {
    border-color: #0CCEF0;
    transform: scale(1.1);
}

.scroll-down a:hover span {
    background: #0CCEF0;
}



.human-skills-section {
    max-width: 900px;
    margin: 80px auto;
    padding: 40px 20px;
    background: #f8f8f8;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    color: #222;
    line-height: 1.7;
    font-family: 'Montserrat', sans-serif;
}

.human-skills-section .content {
    max-width: 750px;
    margin: 0 auto;
}

h2 {
    text-align: center;
    font-size: 1.9rem;
    margin-bottom: 10px;
    color: #0a2a3f;
}

h3 {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 400;
    color: #666;
    margin-bottom: 30px;
}

h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    color: #0a2a3f;
    font-size: 1rem;
    font-weight: 600;
}

h4 .num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #FFF;
    background: rgba(255, 255, 255, 0.18);
    /* blanco MUY sutil */
    padding: 8px;
    border-radius: 10%;
}

#intro .txt-center h5::after {
    left: 50%;
    transform: translateX(-50%);
}

#intro h5 {
    display: inline-block;
    position: relative;
    font-size: 1.05rem;
    font-weight: 700;
    color: #2c7475;
    letter-spacing: 1.2px;
    margin-bottom: 1.6rem;
    padding-bottom: 6px;
    text-transform: uppercase;
}

/* underline sólido */
#intro h5::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 82%;
    height: 1px;
    background-color: #2c7475;
}

#calentamiento .txt-center h5::after {
    left: 50%;
    transform: translateX(-50%);
}

#calentamiento h5 {
    display: inline-block;
    position: relative;
    font-size: 1.05rem;
    font-weight: 700;
    color: #2c7475;
    letter-spacing: 1.2px;
    margin-bottom: 1.6rem;
    padding-bottom: 6px;
    text-transform: uppercase;
}

/* underline sólido */
#calentamiento h5::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 82%;
    height: 1px;
    background-color: #2c7475;
}



#programas .txt-center h5::after {
    left: 50%;
    transform: translateX(-50%);
}

#programas h5 {
    display: inline-block;
    position: relative;
    font-size: 1.05rem;
    font-weight: 700;
    color: #2c7475;
    letter-spacing: 1.2px;
    margin-bottom: 1.6rem;
    padding-bottom: 6px;
    text-transform: uppercase;
}

/* underline sólido */
#programas h5::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 82%;
    height: 1px;
    background-color: #2c7475;
}

p {
    margin: 12px 0;
    text-align: justify;
}

.header-image {
    text-align: center;
    margin-bottom: 20px;
}


/* Estilos generales de la sección */
.content-section {
    padding: 80px 40px;
    margin-bottom: 22px;
}

/* Contenedor de dos columnas */
.section-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Columna de texto */
.text-column {
    flex: 1;
}

.text-column h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.text-column h5 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 400;
    color: #555;
}

.text-column p {
    font-size: 1rem;
    line-height: 1.6;
    text-align: justify;
}

/* Columna de imagen */
.image-column {
    flex: 1;
    display: flex;
    justify-content: center;
}

.image-column img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Responsive: en móviles la imagen pasa abajo */
@media (max-width: 768px) {
    .section-container {
        flex-direction: column;
        text-align: center;
    }

    .text-column {
        width: 100%;
    }

    .image-column {
        width: 100%;
    }
}


.calentamiento img {
    width: 40%;
    max-width: 600px;
    /* opcional: límite superior */
    height: auto;
    border-radius: 16px;
    display: inline-block;
    filter: brightness(0.9) contrast(1.1);
}


.header-image img {
    width: 80%;
    max-width: 900px;
    /* opcional: límite superior */
    height: auto;
    border-radius: 16px;
    display: inline-block;
    filter: brightness(0.9) contrast(1.1);
}

/* Sección expandible */
.expandable {
    max-height: 180px;
    overflow: hidden;
    position: relative;
    transition: max-height 0.6s ease;
}

.expandable::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(transparent, #f8f8f8 90%);
}

/* Cuando se expande */
.expandable.open {
    max-height: 5000px;
}

.expandable.open::after {
    display: none;
}

/* Botón */
.btn-container {
    text-align: center;
    margin-top: 20px;
}

#toggle-btn {
    background: #0a2a3f;
    color: #fff;
    border: none;
    padding: 10px 22px;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

#toggle-btn:hover {
    background: #144e74;
}

@media (max-width: 768px) {
    .human-skills-section {
        padding: 25px 15px;
    }
}



/* Sección general */
#seccion2 {
    text-align: center;
    padding: 60px 20px;
}

#seccion2 h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

#seccion2 p {
    font-size: 1rem;
    color: #fff;
    margin-bottom: 40px;
}

/* Contenedor de columnas */
.cards-container {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    margin-top: 32px;
}

/* Tarjetas con colores marinos */
.card {
    background: #0E3B43;
    /* Azul marino oscuro */
    color: #ffffff;
    border-radius: 12px;
    padding: 20px 20px 40px 20px;
    width: 366px;
    box-shadow: 0px 4px 10px rgba (0, 0, 0, 0.2);
    text-align: left;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cards-container i {
    text-align: center;
}


.indice-link {
    text-decoration: none;
    color: #228091;
    display: inline-flex;
    gap: 6px;
    align-items: center;
    font-weight: 700;
}



/* activo */
.indice-link.active .num,
.indice-link.active .texto {}


.card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.3);
}

.hr-b {
    border: none;
    border-top: 1px solid #eae8e1;
    margin: 2.5rem 0;
    opacity: 0.8;
}

/* Títulos dentro de tarjetas */
.card h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #eae8e1;
    margin-top: 4px;
    font-weight: 600;
}

.card h4 {
    font-size: 0.8rem;
    font-weight: 400;
    color: #fff;
    font-style: italic;
}

.card p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 15px;
    color: #fff;
}


.cool-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: #0a2a3f;
    transition: color 0.3s ease;
}

/* número */
.cool-link .num {
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    color: #edeedd;
    transition: all 0.3s ease;
}

/* texto */
.cool-link .texto {
    font-size: 0.85rem;
    font-weight: 400;
    transition: all 0.3s ease;
    color: #FFF;
    padding-left: 8px;
}

/* hover cool */
.cool-link:hover {
    color: #FFF;
}

.cool-link:hover .num {
    background: rgba(20, 169, 90);
    transform: scale(1.1) rotate(-3deg);
    color: #FFF;
}

.cool-link:hover .texto {
    font-size: 0.86rem;
    color: #e9e9dd;
}




/* Botón para ir al artículo */
.btn-articulo {
    display: inline-block;
    background: #ffffff;
    color: #0E3B43;
    padding: 8px 12px;
    font-size: 0.9rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: 0.2s ease;
}

.btn-articulo:hover {
    background: #dff3f6;
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .cards-container {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 90%;
    }
}

/* Iconos dentro de las tarjetas */
.icon-card {
    font-size: 1.9rem;
    margin-bottom: 12px;
    color: #ffffff;
    opacity: 0.9;
    display: block;
}

/* Tarjeta de imagen responsiva */



/* Imagen dentro de la card */
.img-card {
    background-color: #0E3B43;
    /* Color marino como las otras */
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
}

/* Imagen responsiva y recortada a la caja */
.img-card img {
    width: 100%;
    height: 250px;
    /* Misma altura visual que las otras tarjetas */
    object-fit: contain;
    /* No recorta, ajusta completa */
    background-color: #ffffff10;
    /* Fondo sutil para que no quede vacío si hay bordes */
    border-radius: 8px;
    padding: 15px;
}

/* Botón igual que los otros */
.btn-articulo {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #1E5F74;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    border-radius: 6px;
    text-align: center;
    transition: background-color 0.3s ease;
}

.btn-articulo:hover {
    background-color: #163f4d;
}

.lista-estilo li strong {
    font-weight: 700;
    color: #154e6a;
    font-size: 1.1rem;
    /* puedes cambiar el color */
}

.indice-section {
    padding: 60px 20px;
    background: #f6f8fc;
    text-align: left;

}


.indice-section {
    max-width: 62.5rem;
    /* 1000px aprox */
    margin: 0.1rem auto 4rem;
    text-align: left;
    padding: 2rem;
    background: #fff;
    border-radius: 0.625rem;
    /* 10px */
    box-shadow: 0 0.125rem 0.375rem rgba(0, 0, 0, 0.1);
}

.indice-titulo {
    font-size: 2rem;
    margin-bottom: 40px;
    color: #222;
    font-weight: 700;
}

.indice-lista {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
}

.indice-item {
    display: block;
    padding: 15px 20px;
    background: #ffffff;
    border-radius: 12px;
    font-size: 1.1rem;
    text-decoration: none;
    color: #1f3c88;
    font-weight: 600;
    transition: 0.3s ease;
}

.indice-item:hover {
    background: #eaf1ff;
    transform: translateY(-3px);
}

.titulo-item {
    font-size: 1.15rem;
    font-weight: 700;
}

.desc-item {
    margin: 5px 0 0;
    font-size: 0.95rem;
    font-weight: 400;
    color: #555;
    line-height: 1.4;
}

.resumen h3 {
    font-size: 1.3em;
    font-weight: 700;
}

.resumen {
    display: block;
    padding: 15px 20px;
    background: #ededed;
    border-radius: 12px;
    font-size: 1rem;
    border: 2px solid #26afd9;
    text-decoration: none;
    color: #121212 font-weight: 700;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: 0.3s ease;
    margin-top: 24px;
}

.programas {
    display: block;
    padding: 10px 10px;
    background: #ff6f24;
    border-radius: 8px;
    font-size: 1rem;
    border: 1px solid #26afd9;
    transition: 0.3s ease;
}

.programas i {
    padding-right: 8px;
}

.programas a {
    margin-left: 6px;
    display: inline-block;
    font-weight: 600;
    text-decoration: none;
    color: #ffffff;
    transition: transform 0.3s ease, color 0.3s ease;
}

/* Efecto hover suave */
.programas a:hover {
    transform: scale(1.01);
    color: #e5e7bb;
    /* opcional, oscurece un poco al pasar el mouse */
}

.contacto-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
}

.contacto-datos {
    flex: 1;
}

.contacto-datos p {
    font-size: 1.1rem;
    margin: 12px 0;
    color: #333;
}

.contacto-datos strong {
    color: #1f3c88;
}

/* Imagen lado derecho */
.contacto-imagen {
    flex: 1;
    text-align: right;
}

.contacto-imagen img {
    width: 100%;
    max-width: 420px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
}

/* Estilo para WhatsApp y correo */
.contacto-whats {
    color: #1f3c88;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.contacto-whats:hover {
    color: #1da851;
}

.contacto-mail {
    color: #1f3c88;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.contacto-mail:hover {
    color: #0d2357;
}

/* Responsive */
@media (max-width: 768px) {
    .contacto-container {
        flex-direction: column;
        text-align: center;
    }

    .contacto-imagen img {
        max-width: 320px;
    }
}


.indice-item {
    padding: 15px 20px;
    border-radius: 12px;
    background: #f2f2f2;
    text-decoration: none;
    color: #444;
    display: block;
    margin-bottom: 15px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: 0.3s ease;
}

/* Títulos */
.titulo-item {
    font-size: 1.15rem;
    font-weight: 700;
}

/* Descripción */
.desc-item {
    margin: 5px 0 0;
    font-size: 0.95rem;
    color: #666;
    line-height: 1.4;
}

/* PROXIMAMENTE */
.proximamente {
    margin-top: 5px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #999;
}

/* ACTIVO (solo estos tienen hover) */
.indice-item.activo:hover {
    background: #e0e0e0;
    transform: translateY(-3px);
    cursor: pointer;
}

/* DESACTIVADO */
.indice-item.desactivado {
    opacity: 0.55;
    cursor: not-allowed;
    border: 1px dashed #ccc;
}

.indice-item.desactivado:hover {
    transform: none;
    background: #f2f2f2;
}

/* PDF DESTACADO */
/* Contenedor interno del PDF */
.pdf-contenedor {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Icono PDF */
.pdf-icono {
    font-size: 2rem;
    color: #c62828;
}

/* Etiqueta pequeña */
.pdf-descargar {
    display: inline-block;
    margin-top: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1f3c88;
    background: #d1dbec;
    padding: 3px 8px;
    border-radius: 6px;
    width: fit-content;
}

/* Hover del PDF */
.pdf-item:hover .pdf-descargar {
    background: #c4d0e6;
}

.numeros-section {
    width: 100%;
    padding: 1rem 0;
    display: flex;
    justify-content: center;
}

.columna-numeros {
    font-family: monospace;
    font-size: 1rem;
    color: rgba(250, 250, 250, 0.2);
    ;
    padding: 10px 18px;
    border-radius: 6px;
    display: inline-block;
    white-space: nowrap;
}


.whatsapp-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #3fa684;
    color: #fff;
    padding: 12px 20px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, background-color 0.3s;
    z-index: 999;
}

.whatsapp-btn i {
    font-size: 1.3rem;
}

.whatsapp-btn:hover {
    transform: scale(1.08);
    background-color: #1ebe5d;
}


#contacto span {
    color: #1ebe5d;
}

#contacto .fa-whatsapp {
    color: #1ebe5d;
}

/* BOTÓN TO TOP */
.to-top-btn {
    position: fixed;
    right: 24px;
    bottom: 90px;
    /* deja espacio al botón de WhatsApp */
    width: 46px;
    height: 46px;
    border-radius: 20%;
    background: rgba(255, 255, 255, 0.25);
    color: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: all 0.35s ease;
    z-index: 999;
}

/* visible al hacer scroll */
.to-top-btn.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* hover */
.to-top-btn:hover {
    background: #3fa684;
    color: #fff;
    transform: translateY(-4px);
}