:root {
    --primary: #d50032;
    --secondary: #212529;
    --white-bg: #f8f9fa;
    --orange:  #FF9A54;
    --dark-gray: #707070;
    --green-gv: #2F4F4F;
    --text-gray: color rgb(33, 37, 41);
    --light-gray: #f2f2f2;
    --red-gradian: linear-gradient(180deg, #d50032, #9d0125);
    --primary-font: 'Roboto', sans-serif;
    --radius: 16px;
    --header-h: 90px;
    --logo-h: 50px;
    --etiqueta-sup: 0px 0px 16px 16px;
    --etiqueta-inf: 16px 16px 0px 0px;
    --etiqueta-izq: 0px 16px 16px 0px; 

    --btn-iti-txt-xl: 14px;
    --btn-iti-txt-l: 11px;
    --btn-iti-txt-s: 9px;
}
body{
    -webkit-font-smoothing: antialiased;
    margin: 0;
    font-family: var(--primary-font);
    color: var(--text-gray);
    font-size: 16px;
    line-height: 1.2;
}
.txt-light{ font-weight: 300;}
a{text-decoration: none !important; color: inherit;}
.texto-rojo{ color: var(--primary);}
main.tarifas, main.nosotros{display: none;}
.banner.hidden{display: none !important;}


/* --------------------------
   HEADER 
--------------------------- */

header{
    width: 100%;
    position: fixed;
    z-index: 10;
    background-color: var(--primary);
    font-family: var(--primary-font);
    color: white;
    height: var(--header-h);
    display: flex;
    align-items: left;
}

/* --------------------------
   LOGO + CLAIM HEADER 
--------------------------- */

.c-logo{
    width: 100%;
    height: 100%;
    align-items: center;
}

.logo-claim{
    width: fit-content;
    height: 100%;
    align-items: center;
    display: flex;
    justify-content: flex-start;
}
header .logo{
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

header .logo img{
    display: flex;
    height: var(--logo-h);
    width: auto;
    margin:0px;
}

.separador{
    background-color: white;
    width: 2px;
    height: var(--logo-h);
    margin-left: 13px;
}
.copi-logo{
    margin-left: 13px;
    font-size: 16px;
    font-weight: 300;
}

.copi-logo strong {font-weight: 600;}


/* --------------------------
   NAV HEADER 
--------------------------- */

.btn-special{
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 5px 10px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-weight: 600;
    margin: 20px
}

.btn-special:hover{
    background-color: white;
    color: var(--primary);
    border: none;
    border-radius: 8px;
    padding: 5px 10px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin: 20px
}

.btn-special.active{
    pointer-events: none; 
    background-color: white;
    color: var(--primary);
    border: none;
    border-radius: 8px;
    padding: 5px 10px;
    font-size: 16px;
    cursor: pointer;
    margin: 20px
}


/* --------------------------
   BANNER 
--------------------------- */

.banner{
    width: 100%;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tit-banner{
    display: flex;
    align-items: center;
    margin-top: 350px;
    z-index: 9;
    position: absolute;
    font-size: 30px;
    color: var(--primary);
    background-color: rgba(255, 255, 255, 1);
    padding: 5px 20px;
    border-radius: 12px;
    text-align: center;
    line-height: 1.2;
    letter-spacing: -2px;
}

.frase-1{font-size: 45px;font-weight: 400;   }
.frase-2{font-size: 75px;font-weight: 900;}

.slider-container{
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.slide{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active{
    opacity: 1;
}

.slide img{
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.copi-slide{
    display: flex;
    position: absolute;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 30px;
}

/* --------------------------
   COPY INTRO
--------------------------- */

.titulo-seccion{
    display: inline-block;
    color: var(--dark-gray);
    font-size: 28px;
    text-align: center;
    margin:58px 0px;
}

.titulo-seccion-rojo{
    font-size: 34px;
    padding: 30px 0px;
    background-color: var(--primary);
    color: white;
    margin: 0px;
}

.texto-seccion{margin: 0px;}

.parrafo{
    display: inline-block;
    color: var(--dark-gray);
    font-size: 18px;
    text-align: center;
    margin:0px 0px 28px 0px;
    max-width: 1200px;
}

.claim{
    display: inline-block;
    color: var(--dark-gray);
    font-size: 24px;
    text-align: center;
    margin:0px 0px 58px 0px;
    max-width: 1100px;
    font-weight: 600;
}


/* --------------------------
   SELECTOR TARIFAS 
--------------------------- */

.caja-tarifas{
    width: 100%!important;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;

}

.call-selector{
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--dark-gray);
}

.botones-tarifas{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    margin: 20px 0px 40px 0px;
}

.btn-tarifa{
    width: 600px;
    height: 392px;
    color: white;
    border: none;
    border-radius: 26px;
    padding: 10px 20px;
    cursor: pointer;
    background-position: center;
    background-size: 100%;
    margin: 0px 10px;
    background-color: black;
    position: relative;
    transition: all 0.3s ease;
}

.btn-tarifa::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0);
    border-radius: 26px;
    transition: background-color 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.btn-tarifa:hover::before {background-color: rgba(0,0,0,0.2);}

.btn-tarifa.charter{
    background-image: url('../imgs/tarifas-charter.jpg');
    background-size: cover;
}

.btn-tarifa.estudiantes{
    background-image: url('../imgs/tarifas-estudiante.jpg');
    background-size: cover;
}

.tit-tarifa{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    text-shadow: 3px 3px 15px rgba(0,0,0,1), 0px 0px 30px rgba(0,0,0,0.9), 0px 0px 50px rgba(0,0,0,0.8);
    transition: transform 0.3s ease;
    transform-origin: center;
    position: relative;
    z-index: 9;
}

.btn-tarifa:hover .tit-tarifa{transform: scale(1.03);}

.et-novedad{
    align-content: space-around;
    width: 144px;
    height: 51px;
    background-color: var(--primary);
    border-radius: 0px 14px 14px 0px;
    position: absolute;
    top: 60px;
    left: 0;
    margin-left: -5px;
    right: 0;
    bottom: 0;
}

.novedad{
    padding: 5px 10px;
    font-size: 20px;
    color: white;
    font-weight: 600;
}

.año{font-size: 18px;}

.btn-ver{
    font-weight: 600;
    margin-top: 15px;
    display: inline-block;
    font-size: 21px;
    width: 164px;
    height: 40px;
    border-radius:12px;
    background-color: rgba(112, 112, 112, 0.8);
    color: white;
    text-align: center;
    line-height: 40px;
    border: 1px solid white;
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateY(-30px);
    transition: opacity 0.4s ease, transform 0.4s ease, background-color 0.3s ease;
}

.btn-tarifa:hover .btn-ver{opacity: 1; transform: translateY(0);}

.call-selector{
    font-size: 24px;
    margin-bottom: 20px;
}

.call-selector .texto-rojo{
    padding: 10px 10px;
    background-color: var(--primary);
    color: white;
    border-radius: 12px;
}


/* --------------------------
   VALORES
--------------------------- */

.valores{
    display: flex;
    justify-content: center;
    align-items: flex-start;
    /* margin-bottom: 58px; */
    min-height: 320px;
}
.valor{
    width: 184px;
    display: flex;
    flex-direction: row;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0px 20px;
    text-align: center;
}

.caja-valor{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 185px;
    height: 185px;
    border: 2px solid var(--primary);
    border-radius: 49px;
    transition: all 0.3s ease;
}

.valor:hover .caja-valor{
    background-color: var(--primary);
    border-color: var(--primary);
}
.valor:hover .titulo-valor{color: white;}
.valor:hover .icono img{filter: brightness(0) invert(1);}
.valor:hover .p-valor{
    opacity: 1;
    max-height: 100px;
    color: var(--dark-gray);
}

.icono{width: 86px;height: 86px;}

.titulo-valor{
    padding-top: 10px;
    font-size: 20px;
    color: var(--primary);
    line-height: 0.9;
    transition: color 0.3s ease;
} 

.p-valor{
    opacity: 0;
    max-height: 0;
    font-size: 14px;
    color: var(--dark-gray);
    margin-top: 20px;
    line-height: 1;
    hyphens: auto;
    overflow: hidden;
    transition: opacity 0.3s ease, max-height 0.3s ease, color 0.3s ease;
    overflow-wrap: break-word;
    word-break: break-word; /* fallback para navegadores antiguos */
}

.icono img{transition: filter 0.3s ease;}
.whisper .icono img{padding-left: 17px;}



/* --------------------------
   GALERIA EMAGS 
--------------------------- */

.emags{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1100px;
    margin-bottom: 60px;
    height: 100%;
    gap: 18px;
}

.emag{
    display: flex;
    justify-content: center;
    align-items:end;
    flex-wrap: wrap;
    max-width: 200px;
    border-radius: 16px;
    overflow: hidden;
}
.gv div.cama,.gv .btn-ver-emag  {background-color: var(--green-gv);}

.cama{ 
    border-radius: inherit;
    border-top-left-radius: 0px; border-top-right-radius: 0px;
    background-color: var(--primary);
    width: 200px;
    height: 120px;
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: left;
    padding-left: 10px;
    line-height: 1;
    align-items: flex-start;
    transition: height 0.3s ease;
    z-index: 9; /* Asegurar que esté por encima */
}

.tit-emag{
    font-size: 22px;
    font-weight: 600;
    color: white;
    text-align: left;
    padding: 0px 10px;
    margin-top: 36px;
}

.btn-ver-emag{
    font-weight: 600;
    margin-top: 15px;
    margin-left: 10px;
    display: inline-block;
    font-size: 16px;
    width: 164px;
    height: 40px;
    border-radius:12px;
    background-color: var(--primary);
    color: white;
    text-align: center;
    line-height: 40px;
    border: 1px solid white;
    position: relative;
    z-index: 2; 
    opacity: 0;
    transform: translateY(1px); /* Entra desde abajo */
    transition: all 0.3s ease;
}
.emag:hover .btn-ver-emag {
    opacity: 1;
    transform: translateY(0); /* Llega a su posición */
}

.emag img {
    transition: transform 0.3s ease;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Importante para no desbordar */
}

.emag:hover img {
    transform: scale(1.1); /* Se amplía 10% */
}
.emag:hover .cama {
    height: 160px; /* Nueva altura en hover */
}
/* --------------------------
   GALERIA CATALOGOS 
--------------------------- */

.c-top, .c-dawn{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1525px;
}

.btn-catalogo{
    display: flex;
    
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;    
    width: 230px;
    height: 230px;
    margin: 10px;
    overflow: hidden;
    border-radius: 8px;
    position: relative;
    background-color: black;
    cursor: pointer;
}

.btn-catalogo a{
    text-decoration: none;
    color: inherit;
    display: contents;
}

.btn-catalogo img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.btn-catalogo:hover img{
    transform: scale(1.1);
    opacity: 0.9;
}

.btn-catalogo span{
    font-size: 25px!important;
    font-weight: 600;
    position: absolute;
    width: 90%;
    border-radius: 12px;
    background-color: rgba(214, 0, 50, 0.7);
    color: white;
    text-align: center;
    padding: 10px 10px;
    font-size: 16px;
    z-index: 9;
    border: 1px solid var(--primary);
}

.titulo-seccion-rojo.estudiantes, .titulo-seccion-rojo.charter{
    font-size: 34px;
    padding: 30px 0px;
    background-color: var(--primary);
    color: white;
    margin-top: 60px;
}

.titulo-seccion.sec-emags{margin-top: 20px;}

.titulo-seccion-rojo.contacto{
    font-size: 22px;
    padding: 30px 0px;
    background-color: var(--primary);
    color: white;
    margin: 0px;
    padding-bottom: 50px;
    line-height: 3;
}


/* --------------------------
   SOBRE NOSOTROS
--------------------------- */

.nosotros .container{text-align: center;max-width: 1500px;}

.separador-top{height: 90px;}
.perfiles{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1650px;
    gap: 0px;
}
.perfil{
    height: 300px;
    width: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 10px;
}
.foto-perfil img{
    width:144px;
    height: auto;
}

.base-perfil{
    display: flex;
    flex-direction: column;
    
    text-align: center;
    background-color: var(--primary);
    width: 180px;
    height: 135px;
    border-radius: 0px 0px 16px 16px;
    overflow: hidden;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.nombre-perfil{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    font-size: 19px;
    font-weight: 600;
    background-color: #A70026;
    color: white;
    margin-top: 6px;
    height: 45px;
}

.cargo-perfil{
    margin-top: 12px;
    color: white;
    line-height:0.9 ;
}
.iconos-perfil{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 14px;
    gap: 10px;
}
.ico-phone, .ico-mail{
    width: 16px;
    height: 16px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.ico-phone{
 margin-bottom: 3px;
}

.email2, .telefono{
    z-index: 9;
    display: inline-block;
    position: relative;
    background-color: white;
    color: var(--primary);
    padding: 5px 10px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    /* Efecto de máscara real - el contenido se revela progresivamente */
    opacity: 0;
    transition: opacity 0.3s ease, clip-path 0.4s ease;
    /* Cancelar la altura que ocupan */
    margin-top: -30px; /* Ajusta según la altura real de los elementos */
}

.email2{
    top: -15px;
    left: -145px;
    /* Máscara desde la izquierda: inicialmente oculto completamente */
    clip-path: inset(0 0 0 100%);
}

.telefono{
    top: -12px;
    left: 80px;
    /* Máscara desde la derecha: inicialmente oculto completamente */
    clip-path: inset(0 100% 0 0);
}

.email2, .telefono{
    /* display: none; */
}

/* Efectos hover para mostrar email y teléfono con máscara de derecha a izquierda */
.ico-mail2:hover {
    transform: scale(1.1);
}

.ico-phone:hover {
    transform: scale(1.1);
}

/* Agregar clases para controlar la visibilidad desde JavaScript */
.email2.show {
    opacity: 1;
    /* Se revela desde la derecha hacia la izquierda */
    clip-path: inset(0 0 0 0);
}

.telefono.show {
    opacity: 1;
    /* Se revela desde la izquierda hacia la derecha */
    clip-path: inset(0 0 0 0);
}

/* --------------------------
   CONTACTO
--------------------------- */

span .contacto{padding: 50px 0px;}

.mail{
    display: inline-block;
    padding: 5px 10px;
    font-size: 20px;
    color: var(--primary);
    font-weight: 600;
    background-color: white;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.3s ease;
    transform-origin: center;
}

.mail:hover{transform: scale(1.03);}

.mail a{
    color: var(--primary);
    text-decoration: none;
    display: inline-block;
    width: 100%;
    height: 100%;
}

.mail a:hover{
    color: var(--primary);
    text-decoration: none;
}

.mail img{
    height: 20px;
    width: auto;
    margin-right: 10px;
    vertical-align: middle;
}
span.linea-contacto{font-size: 18px!important;}



/* --------------------------
   FOOTER
--------------------------- */

.footer{background-color:#1c1c1c; color: white; padding: 9px 0;}

