/*//////////////////////////////// ESTILOS GENERALES ////////////////////////////////*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-texto);
}

:root {
    --color-base: #f7f8fa;
    --color-principal: #1E293B;
    --color-secundario: #00adbe;
    --color-botones: #0066a4;
    --color-fondo-alternativo: #effaf8;
    --color-texto-entradillas: #3a5379;
    --color-destacado: #FBBF24;
    --font-titulos: "Domine", serif;
    --font-texto: "Montserrat", sans-serif;

}

button {
    background-color: var(--color-botones);
    color: var(--color-base);
    padding: 10px;
    border-radius: 5px;
    border: none;
    box-shadow: 0 2px 5px grey;
    border-bottom: 4px solid lighten(gray, 70%);
}

button:hover {
    background-color: var(--color-base);
    border: 2px solid inset var(--color-botones);
    color: var(--color-botones);
}

button:active {
    box-shadow: inset 0px 4px 8px var(--color-principal);
    transform: scale(.98);
    background-color: var(--color-base);
    border: 2px solid inset var(--color-botones);
}

.botones-amarillos {
    background-color: var(--color-destacado);
}

.entradillas {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 200px;
}

.entradillas p {
    color: var(--color-texto-entradillas);
}

.entradillas h2 {
    font-weight: bold;
}

/*//////////////////////////////// FINAL ESTILOS GENERALES ////////////////////////////////*/
/*============================================================================================================*/
/*//////////////////////////////// SECCION NAVBAR ////////////////////////////////*/
.navbar {
    width: 100%;
    box-shadow: 0 5px 10px grey;
    color: var(--color-principal);
    display: flex;
    padding: 0%;
    padding-right: 20px;
    background-color: white;
}

.navbar-nav {
    width: 100%;
}

.navbar-brand img {
    margin: 0 30px;
}

.navbar-nav a {
    position: relative;
    color: var(--color-principal);
    text-decoration: none;
    padding: 5px;
    transition: color 0.3s ease;
    font-size: 18px;
}

.navbar-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-principal);
    transition: width 0.3s ease;
}

.navbar-nav a:hover::after {
    width: 100%;
}

@media screen and (max-width:600px) {
    body {
        max-width: 100vw;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .navbar {
        box-shadow: none;
    }

    #navbar-toggler {
        text-align: center;
        background-color: white;
        padding-bottom: 20px;
        border: 2px solid var(--color-principal);
    }

    .navbar-toggler {
        margin-top: 20px;
    }

    .entradillas {

        padding: 0 10px;
    }
}

/*//////////////////////////////// FINAL SECCION NAVBAR ////////////////////////////////*/
/*======================================================================================================*/
/*//////////////////////////////// SECCION HERO ////////////////////////////////*/
#hero {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#container-hero {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-top: 90px;
    padding-bottom: 50px;
    background-color: var(--color-fondo-alternativo);
}

.caja-container-hero {
    width: 100%;
    padding: 20px;
    padding-top: 50px;
}

.columna-texto {
    margin-top: 20px;
    padding-left: 20px;
}

.columna-texto h1 {
    font-family: var(--font-titulos);
    color: var(--color-principal);
    font-size: 45px;
}

.columna-img img {
    border-radius: 20px;
    margin: 20px;
    box-shadow: 0 5px 10px grey;
    height: 90%;
}

#botones-hero {
    display: flex;
    justify-content: left;
    gap: 20px;
    margin-bottom: 10px;
}

#caja-texto-datos {
    display: flex;
    justify-content: space-between;
}

.texto-datos {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.texto-datos span {
    padding: 0%;
    margin: 0%;
    font-size: 25px;
    color: var(--color-principal);
    font-weight: bold;
}

@media screen and (max-width:600px) {
    .columna-texto h1 {
        text-align: center;
    }
}


/*//////////////////////////////// FINAL SECCION HERO ////////////////////////////////*/
/*==========================================================================================*/
/*//////////////////////////////// SECCION NOSOTROS ////////////////////////////////*/
#nosotros {
    width: 100%;
}

#container-nosotros {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 30px;
}

#container-nosotros h2 {
    font-family: var(--font-titulos);
}

.tarjetas-nosotros {
    border: 2px solid var(--color-principal);
    background-color: var(--color-fondo-alternativo);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    padding: 0 15px;
    width: 30%;
    box-shadow: 0 5px 10px grey;
    cursor: pointer;
    transition: 0.5s;
}

.tarjetas-nosotros:hover {
    border: 2px solid var(--color-botones);
    transform: scale(1.1);
}

.caja-tarjetas-nosotros {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.entradilla-emoji {
    display: flex;
    justify-content: space-evenly;
    padding-top: 20px;
    text-align: left;
    margin-bottom: 10px;
}

.entradilla-emoji i {
    font-size: 40px;
    width: 60px;
    height: 60px;
    color: white;
    border-radius: 50%;
    background-color: var(--color-secundario);
    text-align: center;
}

.entradilla-emoji p {
    font-weight: bold;
    color: var(--color-principal);
}

.pie-texto {
    display: flex;
    flex-direction: column;
    margin-top: 25px;
}

.pie-texto span {
    padding: 0%;
    margin: 0%;
    font-size: 25px;
    color: var(--color-principal);
    font-weight: bold;
}

@media screen and (max-width:770px) {
    .tarjetas-nosotros {
        width: 80%;
        margin-top: 10px;
    }
    .caja-tarjetas-nosotros {
        justify-content: center;
    }   
}

/*//////////////////////////////// FINAL SECCION NOSOTROS ////////////////////////////////*/
/*===================================================================================================================*/
/*//////////////////////////////// SECCION CIPRES CREEK ////////////////////////////////*/
#cypres-creek {
    width: 100%;
    background-color: var(--color-fondo-alternativo);
    margin-top: 50px;
}

.container-cypres-creek {
    width: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center;
    padding-top: 30px;
}

#mapa-cypres-creek {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cypress-banner {
    width: 100%;
    border-radius: 20px;
    margin-bottom: 30px;
}

.caja-tarjetas-valoraciones {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.tarjetas-valoraciones {
    width: 23%;
    border: 2px solid var(--color-principal);
    background-color: white;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 5px 10px grey;
    cursor: pointer;
}

.texto-valoraciones {
    text-align: left;
    padding: 15px;
    padding-top: 25px;
}

.titulo-secundario {
    padding-top: 40px;
}

@media screen and(max-width:600px){
    .caja-tarjetas-valoraciones {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 30px;
}
.tarjetas-valoraciones{
    width: 100%;
}

}


/*  0000000000000000000 SECCION MAPA INTERACTIVO CYPRESS CREEK VALLEY 0000000000000000000000000000000*/

/* Contenedor a pantalla completa */
#cypress-map {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #000;
    isolation: isolate;
    /* asegura capas correctas del overlay */
}

#cypress-map .hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hotspot {
    position: absolute;
    left: var(--x);
    top: var(--y);
    transform: translate(-50%, -50%);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: #1e90ff;
    box-shadow: 0 0 0 4px rgba(30, 144, 255, .25);
    cursor: pointer;
    transition: transform .15s ease;
}

.hotspot::after {
    /* pulso suave */
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: inherit;
    box-shadow: 0 0 0 0 rgba(30, 144, 255, .35);
    animation: pulse 1.8s infinite;
}

.hotspot:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(30, 144, 255, .35);
    }

    100% {
        box-shadow: 0 0 0 14px rgba(30, 144, 255, 0);
    }
}

/* Capa de desvanecido */
.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .35);
    backdrop-filter: blur(6px) saturate(.9);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
    z-index: 10;
}

.overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.card-modal {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(.98);
    max-width: min(520px, 90vw);
    background: #0b1220;
    color: #eaf2ff;
    border-radius: 16px;
    padding: 20px 24px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
    opacity: 0;
    z-index: 11;
    transition: opacity .25s ease, transform .25s ease;
}

.card-modal.active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.card-modal h3 {
    margin: 0 0 6px;
    font-size: 1.35rem;
    line-height: 1.25;
}

.card-modal p {
    margin: 0;
    opacity: .92;
}

.card-close {
    position: absolute;
    top: 8px;
    right: 10px;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 8px;
    background: var(--color-botones);
    color: white;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.card-close:hover {
    background: white;
    color: var(--color-principal);
}
@media screen and(max-width:600px){
    #mapa-cypres-creek{
        display: none;
    }
    #cypress-map{
       display: none;
        
    }
}


/*  0000000000000000000 FINAL SECCION MAPA INTERACTIVO CYPRESS CREEK VALLEY 0000000000000000000000000000000*/

/* ANIMACIONES DE TARJETAS COMENTARIOS*/
:root {
    --flip-dur: .6s;
    --flip-ease: cubic-bezier(.2, .8, .2, 1);
}

/* El contenedor de la tarjeta */
.flip {
    perspective: 1000px;
}

/* Elemento que rota */
.flip__inner {
    position: relative;
    width: 100%;
    height: 100%;
    /* respeta el alto que ya tengas */
    transform-style: preserve-3d;
    transition: transform var(--flip-dur) var(--flip-ease);
}

/* Caras */
.flip__face {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
     overflow: hidden;
    border: 2px solid var(--color-principal);
    border-radius: 20px;
    background-color: white;
    cursor: pointer;
    box-shadow: 0 5px 10px grey;
}

.flip__back {
    transform: rotateY(180deg);
}

.flip__front img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    border: 2px solid grey;

}

/* Estado girado */
.flip.is-flipped .flip__inner {
    transform: rotateY(180deg);
}

@media (prefers-reduced-motion: reduce) {
    .flip__inner {
        transition: none;
    }
}



/*//////////////////////////////// FINAL SECCION CIPRES CREEK ////////////////////////////////*/
/*===================================================================================================================*/
/*//////////////////////////////// SECCION CARRERA-NOTICIAS ////////////////////////////////*/
#carreras-noticias {
    text-align: center;
    margin-top: 50px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#carreras-noticias h3 {
    text-align: left;
}

#acordion-carreras {
    width: 80%;
    margin: auto;

}

.accordion-body {
    text-align: left;
}

.accordion-body i {
    font-size: 20px;
}

.requisitos-beneficios {
    display: flex;
    margin-top: 10px;
}

.beneficios li::marker {

    color: #FBBF24;
    font-size: 1.2em;
}

.requisitos li::marker {

    color: green;
    font-size: 1.2em;
}

#contenedor-curriculum {
    border: 2px solid var(--color-principal);
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 5px 10px grey;
    margin-top: 40px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
    background-color: var(--color-fondo-alternativo);
}

#contenedor-curriculum h3 {
    margin-left: 0%;
}

#contenedor-curriculum button {
    margin-right: 20px;
}

/*== NOTICIAS ==*/
#contenedor-noticias {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.caja-email-noticias {
    border: 2px solid var(--color-principal);
    background-color: var(--color-fondo-alternativo);
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 5px 10px grey;
    margin-top: 50px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.caja-email-noticias h3 {
    text-align: center;
}

#email-noticias {
    padding: 10px;
    border-radius: 10px;
    border: 1px solid grey;
}

.tarjetas-news {
    border: 1px solid grey;
    padding: 10px;
    border-radius: 20px;
    box-shadow: 0 5px 10px grey;
    width: 15%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.tarjetas-news button {
    width: 60%;
    margin-bottom: 10px;
}

.emoji-news {
    font-size: 30px;
}

.caja-tarjetas-news {
    display: flex;
    justify-content: space-between;
}

@media screen and (max-width:600px) {
    .caja-tarjetas-news {
        display: flex;
        justify-content: space-evenly;

    }

    .tarjetas-news {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 10px;
        justify-content: center;
        align-items: center;
        margin-bottom: 10px;
    }
    .caja-tarjetas-valoraciones{
        display: flex;
        flex-direction: column;
        gap: 20px   ;
        align-items: center;
    }
    .tarjetas-valoraciones{
        width: 70%;

    }
}

/* TARJETAS NOTICIAS EFECTOS*/


#visorNoticia {
    animation: fade .2s ease-in-out;
    min-height: 40vh;
}

@keyframes fade {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

.cajas-noticias-ocultas {
    text-align: center;
}

.botones-noticias-ocultas {
    background-color: var(--color-botones);
    color: var(--color-base);
    padding: 10px;
    border-radius: 5px;
    border: none;
    box-shadow: 0 2px 5px grey;
    border-bottom: 4px solid lighten(gray, 70%);

}

#contenidoNoticia {
    display: flex;
    flex-direction: column;
}

#contenidoNoticia h3 {
    text-align: center;
}

#contenidoNoticia p {
    text-align: left;
    padding: 20px;
}

#contenidoNoticia span {
    text-align: center;
}

/*//////////////////////////////// FINAL SECCION CARRERA-NOTICIAS ////////////////////////////////*/
/*===================================================================================================================*/
/*//////////////////////////////// SECCION FOOTER ////////////////////////////////*/
footer {
    margin-top: 50px;
    background-color: #1E293B;
    color: white;
    width: 100%;
}

.container-footer {
    width: 100%;
    color: grey;
}

.footer-uno {
    border-bottom: 1px solid grey;
}

.info-footer-empresa {
    display: flex;
    flex-direction: column;
    text-align: center;
    margin-top: 10px;
}

.info-footer-empresa img {
    width: 100%;
}

.info-footer-empresa img:hover {
    cursor: pointer;
}

.info-footer-empresa ul {
    list-style-type: none;
    padding-left: 0;
}

.hank-footer-empresa {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 10px;
}

.imagen-hank {
    width: 60%;
    height: 50%;
    background-color: var(--color-botones);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 2px solid white;
}

.imagen-hank img {
    width: 40%;
}

.dominio-digital {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 10px;
}

.redes-sociales {
    width: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center;
}

.iconos-redes-sociales {
    width: 90%;
    display: flex;
    justify-content: space-evenly;
    font-size: 30px;
    color: #00adbe;
}

.iconos-redes-sociales i:hover {
    color: #FBBF24;
    cursor: pointer;
}

.terminos {
    margin-top: 20px;
    margin-bottom: 0;
    width: 100%;
}

.terminos ul {
    list-style-type: none;
    padding-left: 0;
}

.terminos>ul>li:hover {
    color: #FBBF24;
    cursor: pointer;
}

.footer-dos {
    text-align: center;
    font-size: small;
    margin-top: 15px;
}

/*===================================================================================================================*/
/*//////////////////////////////// FINAL SECCION FOOTER ////////////////////////////////*/