/* ==========================================================================
    FONTS PRINCIPALES :D
   ========================================================================== */

@font-face {
    font-family: 'Oswald Local';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../../fonts/oswald-v57-latin-500.woff2') format('woff2');
}

/* ==========================================================================
    BANNER PRINCIPAL
   ========================================================================== */


/* ==========================================================================
   FOOTER TEDUCAMOS
   ========================================================================== */

.footer-personalizado {
    background-color: #50c4b4 !important;
    color: #ffffff !important;
}

.footer-personalizado a,
.footer-personalizado span,
.footer-personalizado p {
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 15px;
    font-weight: 400;
}

.footer-personalizado a:hover {
    opacity: 0.85;
}

.footer-bloque-columna {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
}

.footer-bloque-columna img {
    display: block;
    max-width: 24px;
    height: auto;
    flex-shrink: 0;
}

.footer-linea-divisoria {
    border-top: 1px solid rgba(255, 255, 255, 0.25) !important;
}

.footer-copyright {
    font-size: 14px !important;
    opacity: 0.95;
}

.btn-ir-arriba {
    display: inline-block;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    background: transparent !important;
    text-transform: none !important;
    padding: 6px 18px !important;
    font-size: 13px !important;
    border-radius: 2px !important;
    transition: all 0.3s ease;
}

.btn-ir-arriba:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-color: #ffffff !important;
    text-decoration: none !important;
}

/* ==========================================================================
   HEADER TEDUCAMOS
   ========================================================================== */

.header-top {
    background-color: #ffffff;
    padding-top: 15px;
    padding-bottom: 15px;
}

.header-nav-bar {
    background-color: #2b394a;
}

.wp-custom-nav {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
}

.wp-custom-nav li a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    padding: 0 25px !important;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none !important;
    transition: background-color 0.2s ease, color 0.2s ease;
    border: none !important;
    min-height: 50px;
}

.wp-custom-nav li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff !important;
}

.wp-custom-nav li.current-menu-item>a,
.wp-custom-nav li.current_page_item>a {
    background-color: #50c4b4 !important;
    color: #ffffff !important;
}

.toggle-movil-blanco {
    height: 50px;
    display: flex;
    align-items: center;
}


/* ==========================================================================
   BANNER SLIDESHOW PERSONALIZADO
   ========================================================================== */

/* Capa oscura general sobre la imagen para dar legibilidad */
.banner-overlay {
    background: rgba(0, 0, 0, 0.25);
}

/* Título Impactante (Grande, Condensado y con Sombra) */
.banner-titulo {
    font-family: 'Oswald Local', sans-serif;
    font-weight: 400;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.7);
    line-height: 1.1;
}

/* Caja de texto gris oscuro semitransparente con esquina cortada */
.banner-caja-texto {
    background-color: rgba(21 23 26 / 65%);
    /* Tono oscuro grisáceo */
    padding: 25px 35px;
    border-left: 4px solid #50c4b4;
    /* Línea turquesa izquierda */
    position: relative;
    overflow: hidden;
}

/* Detalle/Pestaña oblicua turquesa en la esquina inferior derecha */
.banner-caja-texto::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 35px 20px;
    /* Controla el tamaño y ángulo del corte */
    border-color: transparent transparent #50c4b4 transparent;
}



/* Ajustes del texto interno */
.banner-caja-texto p {
    font-size: 16px;
    line-height: 1.6;
    color: #ffffff;
    font-weight: 300;
}

.banner-caja-texto strong {
    font-weight: 700;
}

/* Responsivo para pantallas móviles */
@media (max-width: 767px) {
    .banner-titulo {
        font-size: 2.2rem !important;
    }

    .banner-caja-texto {
        padding: 15px 20px;
    }

    .banner-caja-texto p {
        font-size: 14px;
    }
}


/* ==========================================================================
   GRILLA DE CURSOS (UIKIT + CUSTOM)
   ========================================================================== */

/* 1. Bloque Sólido (Primer elemento) */
.grilla-bloque-solido {
    background-color: #50c4b4;
    /* Tu turquesa */
    aspect-ratio: 1 / 1;
    /* Lo hace perfectamente cuadrado */
    padding: 20px;
}

.grilla-titulo-principal {
    font-family: 'Oswald', sans-serif;
    /* Usa la fuente que descargamos antes */
    font-weight: 500;
    font-size: 2.6rem;
    color: #ffffff;
    text-transform: uppercase;
    line-height: 1.1;
    margin: 0;
}

/* 2. Contenedor de las Imágenes */
.grilla-item {
    overflow: hidden;
    /* Necesario para que el zoom de la imagen no se salga del cuadro */
    aspect-ratio: 1 / 1;
    text-decoration: none !important;
}

.grilla-imagen-wrapper {
    width: 100%;
    height: 100%;
}

.grilla-imagen-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ajusta la imagen sin deformarla */
}

/* 3. Franja Oscura Inferior */
.grilla-franja-oscura {
    background: rgba(0, 0, 0, 0.55);
    /* Gris oscuro semitransparente estilo UI */
    padding: 15px 20px;
    transition: background 0.6s ease;
}

/* ---------------------------------------------------------------
   Franja: altura fija para que siempre ocupe 2 líneas
   --------------------------------------------------------------- */
.grilla-franja-oscura {
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ---------------------------------------------------------------
   Título de curso: altura fija de 2 líneas + centrado vertical
   --------------------------------------------------------------- */
.grilla-titulo-curso {
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    font-size: clamp(0.85rem, 1.8vw, 1.05rem);
    line-height: 1.35;
    height: calc(1.35em * 2);
    /* siempre 2 líneas de alto */
    color: #ffffff !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    max-width: 85%;
    /* Evita que el texto pise la flecha */
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    text-overflow: ellipsis;
    margin: 0;
    /* Fallback: centrado vertical con flexbox */
    display: flex;
    align-items: center;
}



/* 4. Efecto al pasar el cursor (Hover) */
.grilla-item:hover .grilla-franja-oscura {
    background: rgba(0, 0, 0, 0.95);
    /* Se oscurece un poco más al hacer hover */
}

/* Responsivo para Móviles (Ajustar tamaños de texto) */
@media (max-width: 639px) {

    .grilla-bloque-solido,
    .grilla-item {
        aspect-ratio: 4 / 3;
        /* Un poco más rectangulares en celular */
    }

    .grilla-titulo-principal {
        font-size: 2.5rem;
    }
}

/* ==========================================================================
   SECCIÓN BENEFICIOS (CON FONDO Y OVERLAY)
   ========================================================================== */

.beneficios-section {
    background-image: url('../../../../uploads/2026/05/Fondo_Banner_Presentacion.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding: 80px 0;
}

.beneficios-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.55);
    /* Capa oscura para dar legibilidad */
    z-index: 1;
}

.beneficios-titulo {
    font-family: 'Oswald Local', 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 2.8rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0;
    margin-bottom: 25px;
    text-align: left;
}

.beneficios-caja {
    background-color: rgba(80, 196, 180, 0.75);
    /* Fondo turquesa semitransparente */
    padding: 50px 40px;
    border-radius: 2px;
}

.beneficio-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    color: #ffffff !important;
    padding: 20px 10px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.beneficio-item:hover {
    transform: translateY(-5px);
}

.beneficio-icono {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.beneficio-icono img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
    /* Fuerza a que los íconos sean blanco puro */
}

.beneficio-texto {
    font-family: 'Oswald Local', 'Oswald', sans-serif;
    font-weight: 400;
    font-size: 1.15rem;
    color: #ffffff !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
    text-align: center;
}

/* MODALES PREMIUM */
.beneficio-modal {
    color: #ffffff !important;
    border-radius: 20px !important;
    border-left: none !important;
    padding: 45px !important;
    max-width: 800px !important;
    width: 91% !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3) !important;
}

.beneficio-modal .uk-modal-close-default {
    color: #ffffff !important;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.2) !important;
    border-radius: 50% !important;
    width: 32px !important;
    height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background 0.3s;
    border: none !important;
}

.beneficio-modal .uk-modal-close-default:hover {
    background: rgba(0, 0, 0, 0.4) !important;
}

.beneficio-modal-imagen {
    max-height: 380px;
    width: 100%;
    object-fit: contain;
    margin: 0 auto;
    display: block;
}

.beneficio-modal-titulo1 {
    font-family: 'Oswald Local', 'Oswald', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff !important;
    text-transform: uppercase;
    line-height: 1.1;
    margin: 0;
    letter-spacing: 0.5px;
}

.beneficio-modal-titulo2 {
    font-family: 'Oswald Local', 'Oswald', sans-serif;
    font-size: 3.2rem;
    font-weight: 700;
    color: #ffffff !important;
    text-transform: uppercase;
    margin-top: 15px;
    margin-bottom: 0;
    line-height: 1.1;
    letter-spacing: 0.5px;
}

.beneficio-modal-linea {
    height: 5px;
    width: 110px;
    background-color: #ffd800;
    /* Línea Amarilla */
    margin: 15px auto 25px auto;
    border-radius: 2px;
}

.beneficio-modal-texto {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

/* Responsivo para móviles */
@media (max-width: 959px) {
    .beneficios-titulo {
        font-size: 2.2rem;
        text-align: center;
    }

    .beneficios-caja {
        padding: 30px 15px;
    }

    .beneficio-icono {
        width: 60px;
        height: 60px;
    }

    .beneficio-texto {
        font-size: 1rem;
    }
}

/* ==========================================================================
   SECCIÓN CONVENIOS
   ========================================================================== */

.convenios-titulo {
    font-family: 'Oswald Local', 'Oswald', sans-serif;
    font-weight: 600;
    font-size: 2.2rem;
    color: #333333;
    text-transform: uppercase;
    text-decoration: underline;
    text-underline-offset: 8px;
    text-decoration-thickness: 2px;
    margin-top: 0;
    margin-bottom: 40px;
    display: inline-block;
}

/* ==========================================================================
   SECCIÓN EXPERIENCIAS
   ========================================================================== */

.experiencia-titulo {
    font-weight: 500;
    font-size: 2.4rem;
    color: #111111;
    margin: 0;
}

.experiencia-texto {
    font-size: 1.15rem;
    color: #555555;
    line-height: 1.6;
    margin: 0;
    font-weight: 300;
}

.experiencia-decoracion {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 15px auto 20px auto;
    max-width: 500px;
}

.experiencia-decoracion .linea {
    flex-grow: 1;
    height: 1px;
    background-color: #50c4b4;
}

.experiencia-decoracion .icono-wrapper {
    width: 36px;
    height: 36px;
    margin: 0 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.experiencia-decoracion .icono-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* ==========================================================================
   SECCIÓN MISIÓN Y VISIÓN
   ========================================================================== */

.mision-vision-section {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding: 100px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
}

/* Capa sutil de oscurecimiento sobre el fondo para legibilidad de imágenes muy claras */
.mision-vision-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.mision-vision-container {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Tarjeta Bienvenido */
.mision-vision-bienvenido {
    max-width: 365px;
    background-color: rgba(20, 27, 38, 0.85);
    /* Gris oscuro/azul semitransparente premium */
    padding: 45px 50px;
    margin-bottom: 30px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    border-radius: 2px;
}

.mision-vision-bienvenido:hover {
    transform: translateY(-2px);
    background-color: rgba(20, 27, 38, 0.9);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.mision-vision-titulo-principal {
    font-family: 'Oswald Local', 'Oswald', 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 2.8rem;
    color: #ffffff !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 0;
    margin-bottom: 20px;
    line-height: 1.2;
}

.mision-vision-texto-principal {
    font-family: 'Roboto', sans-serif;
    font-size: 0.8rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9) !important;
    margin: 0;
    font-weight: 300;
    line-height: 18px;
}

/* Tarjetas Misión / Visión */
.mision-vision-card {
    background-color: rgba(80, 196, 180, 0.85);
    /* Turquesa del tema con opacidad */
    padding: 40px;
    color: #ffffff;
    height: 100%;
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    border-radius: 2px;
    display: flex;
    flex-direction: column;
}

.mision-vision-card:hover {
    transform: translateY(-5px);
    background-color: rgba(80, 196, 180, 0.95);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.mision-vision-card-titulo {
    font-family: 'Oswald Local', 'Oswald', 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 2rem;
    color: #ffffff !important;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 0;
    margin-bottom: 15px;
    line-height: 1.2;
}

.mision-vision-card-texto {
    font-family: 'Roboto', sans-serif;
    font-size: 0.8rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95) !important;
    margin: 0;
    font-weight: 400;
    line-height: 1.4;

}

/* Responsivo */
@media (max-width: 959px) {
    .mision-vision-section {
        padding: 60px 0;
        min-height: auto;
    }

    .mision-vision-bienvenido {
        padding: 30px 25px;
        margin-bottom: 25px;
    }

    .mision-vision-titulo-principal {
        font-size: 2.2rem;
    }

    .mision-vision-card {
        padding: 35px 25px;
    }

    .mision-vision-card-titulo {
        font-size: 1.7rem;
    }
}

/* ==========================================================================
   SECCIÓN NUESTROS VALORES
   ========================================================================== */

.nuestros-valores-section {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding: 100px 0;
    color: #ffffff;
    overflow: hidden;
    min-height: 700px;
    display: flex;
    align-items: center;
}

.nuestros-valores-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 18, 30, 0.94) 0%, rgba(18, 29, 44, 0.90) 100%);
    z-index: 1;
}

.nuestros-valores-container {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.valores-titulo-seccion {
    font-family: 'Oswald Local', 'Oswald', 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 2.8rem;
    color: #ffffff !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 0;
    margin-bottom: 40px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.valores-interactive-layout {
    display: flex;
    align-items: center;
    justify-content: center;
}

.valores-circle-wrapper {
    position: relative;
    width: 480px;
    height: 480px;
    margin: 0 auto;
}

.valores-circle-line {
    position: absolute;
    top: 8%;
    left: 8%;
    width: 84%;
    height: 84%;
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    pointer-events: none;
    animation: rotateCircle 60s linear infinite;
}

@keyframes rotateCircle {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Botones de los valores */
.valor-button {
    position: absolute;
    width: 62px;
    height: 62px;
    background-color: #50c4b4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #ffffff;
    border: 2px solid transparent;
    transform: translate(-50%, -50%);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    z-index: 10;
}

.valor-button:hover,
.valor-button.active {
    background-color: #3eb5a4;
    transform: translate(-50%, -50%) scale(1.15);
    box-shadow: 0 0 20px rgba(80, 196, 180, 0.6);
    border-color: #ffffff;
}

.valor-button svg {
    width: 26px;
    height: 26px;
}

/* Detalle del valor en el centro */
.valores-center-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.valor-detail {
    position: absolute;
    width: 100%;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.92);
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s;
    z-index: 1;
}

.valor-detail.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    z-index: 2;
}

.valor-detail-icono {
    background-color: rgba(255, 255, 255, 0.08);
    width: 68px;
    height: 68px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #50c4b4;
    margin-bottom: 15px;
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.05);
}

.valor-detail-icono svg {
    width: 32px;
    height: 32px;
}

.valor-detail-titulo {
    font-family: 'Oswald Local', 'Oswald', sans-serif;
    font-size: 1.8rem;
    font-weight: 500;
    color: #ffffff !important;
    margin-top: 0;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.valor-detail-texto {
    font-family: 'Roboto', sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    font-weight: 300;
}

/* Versión móvil */
.valores-mobile-list {
    display: none;
    flex-direction: column;
    gap: 20px;
}

.valor-card-mobile {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.valor-card-mobile:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-2px);
}

.valor-card-mobile-header {
    display: flex;
    align-items: center;
    gap: 15px;
}

.valor-card-mobile-icon-wrapper {
    width: 48px;
    height: 48px;
    background-color: #50c4b4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    flex-shrink: 0;
}

.valor-card-mobile-icon-wrapper svg {
    width: 22px;
    height: 22px;
}

.valor-card-mobile-titulo {
    font-family: 'Oswald Local', 'Oswald', sans-serif;
    font-size: 1.4rem;
    font-weight: 500;
    color: #ffffff !important;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.valor-card-mobile-texto {
    font-family: 'Roboto', sans-serif;
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

@media (max-width: 959px) {
    .nuestros-valores-section {
        padding: 60px 0;
        min-height: auto;
    }

    .valores-circle-wrapper {
        display: none;
    }

    .valores-mobile-list {
        display: flex;
    }
}



/* ==========================================================================
   SECCIÓN CONTACTANOS
   ========================================================================== */



.contact-banner {
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.5);
}

.contact-title {
    transition: transform 0.3s ease;
}

.contact-banner:hover .contact-title {
    transform: translateY(-2px);
}

.contact-item {
    margin-top: 25px !important;
}

@media (min-width: 960px) {
    .contact-item {
        margin-top: 0 !important;
    }
}

.contact-link {
    color: #ffffff !important;
    transition: color 0.3s ease, opacity 0.3s ease;
    opacity: 0.9;
    display: inline-block;
}

.contact-link:hover {
    color: var(--color-cyan, #2fbffe) !important;
    opacity: 1;
}

.contact-icon img {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.contact-icon:hover img {
    transform: scale(1.15) translateY(-5px);
}