.slide {
    background-color: #000;
    position: relative;
}

.slide .carousel-inner,
.slide .carousel-item {
    height: 100vh;
}

.slide .carousel-item img,
.slide .carousel-item video {
    width: 100%;
    height: 100vh;
    object-fit: cover;
}

.slide .carousel-item {
    transition: transform 0.5s ease, opacity 0.5s ease-out;
}

/* Overlay */
.carousel-item .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.5) 0%,
        rgba(0,0,0,0.2) 50%,
        rgba(0,0,0,0.1) 100%
    );
    z-index: 1;
}

/* Caption */
.slide .carousel-caption {
    bottom: 25%;
    z-index: 2;
    text-align: center;
}

.slide .carousel-caption h1 {
    font-size: clamp(1.5rem, 1rem + 2.5vw, 4rem);
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1.1;
    text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}

.slide .carousel-caption p {
    font-size: 1.2rem;
    line-height: 1.3;
}
/* ---------------- MEDIA QUERIES NUEVA SINTAXIS ---------------- */

/* Extra small devices (portrait phones, <576px) */
@media (width <= 575.98px) {
    .slide .carousel-inner,
    .slide .carousel-item {
        height: 50vh;
    }

    .slide .carousel-item img,
    .slide .carousel-item video {
        height: 50vh;
        object-fit: cover;
    }

    .slide .carousel-caption {
        bottom: 20px;
        left: 5%;
        right: 5%;
    }

    .slide .carousel-caption h1 {
        font-size: 1.6rem;
    }

    .slide .carousel-caption p {
        font-size: 0.9rem;
    }
}

/* Small devices (landscape phones, 576px - 767.98px) */
@media (576px <= width <= 767.98px) {
    .slide .carousel-inner,
    .slide .carousel-item {
        height: 75vh;
    }

    .slide .carousel-item img,
    .slide .carousel-item video {
        height: 75vh;
    }

    .slide .carousel-caption {
        bottom: 15%;
    }
}

/* Medium devices (tablets, 768px - 991.98px) */
@media (768px <= width <= 991.98px) {
    .slide .carousel-inner,
    .slide .carousel-item {
        height: 80vh;
    }

    .slide .carousel-item img,
    .slide .carousel-item video {
        height: 80vh;
    }

    .slide .carousel-caption {
        bottom: 15%;
    }
}

/* Medium devices portrait (tablets, 768px - 991.98px, portrait) */
@media (768px <= width <= 991.98px) and (orientation: portrait) {
    .slide .carousel-inner,
    .slide .carousel-item {
        height: 60vh;
    }

    .slide .carousel-item img,
    .slide .carousel-item video {
        height: 60vh;
    }

    .slide .carousel-item .overlay {
        height: 60vh;
    }

    .slide .carousel-caption {
        bottom: 10%;
    }

    .slide .carousel-caption h1 {
        font-size: 1.8rem;
    }

    .slide .carousel-caption p {
        font-size: 1rem;
    }
}

/* Large devices (desktops, 992px - 1199.98px) */
@media (992px <= width <= 1199.98px) {
    .slide.slide_top {
        top: -166px;
        margin-bottom: -166px;
    }
}

/* Extra large devices (1200px - 1399.98px) */
@media (1200px <= width <= 1399px) {
    .slide.slide_top {
        top: -165px;
        margin-bottom: -165px;
    }
}

/* Extra extra large devices (≥1400px) */
@media (width >= 1400px) {
    .slide.slide_top {
        top: -166px;
        margin-bottom: -166px;
    }
}

/*------------------banner_publi-----------------------*/
.banner_publi {
    background-color: #000;
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    color: #fff;
    position: relative;
    border-radius: 5px;


}
.banner_publi .overlay{ position: absolute;
    top: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.4) 100%);
    width: 100%;
    height: 100%;
    z-index: 0;
}


.banner_publi .zona_texto {
    z-index: 5;

    line-height: 100%;
    text-align: center;
}

.banner_publi .zona_texto .subtitulo {
    font-size: clamp(1em, 2vw, 1.4em);
    font-weight: 400;
    line-height: 100%;
    color: #FFF;
}

.banner_publi .zona_texto h2 {
    font-size: clamp(1.7em, 2vw , 2.2em);
    font-weight: 500;
    line-height: 100%;
    color: #FFF;
    text-transform: uppercase;
}

/*-------------galeria-------------------*/
.ug-textpanel-title {
    display: none !important;
}

.fondo_galeria {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(8, 52, 76, 0.3) 50%, rgba(8, 52, 76, 0) 100%);
}


/*----- banda logos ---*/
.banda_logos h2.sobre_titular {
    font-size: 1.2em;
    text-transform: uppercase;
    font-weight: 800;
}


/*--------------titular jumbo ---------------------*/
.titular_jumbo {
    position: relative;
    /*background-image: url("../img/comedor_carta_index.webp");*/
    background-size: cover;
    background-repeat: no-repeat;
}

.titular_jumbo .overlay {
    position: absolute;
    top: 0;
    /* background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0) 100%);*/
    background: linear-gradient(to right, rgba(255, 255, 255, 0.7) 10%, rgba(255, 255, 255, 0.9) 30%, rgba(255, 255, 255, 0.9) 70%, rgba(255, 255, 255, 0.7) 75%);
    width: 100%;
    height: 100%;
    z-index: 1;
}

.titular_jumbo .zona_titulares {
    z-index: 44;
    position: relative;
    color: #000;
}

.titular_jumbo .sobretitular {
    font-family: "Rouge Script", serif;
    font-weight: 400;
    font-size: clamp(1.3rem, 0.666rem + 2.92vw, 2rem);
    line-height: 100%;
}

.titular_jumbo h2 {
    font-size: clamp(1.75rem, 1.669rem + 0.4vw, 2.2rem);
    line-height: 100%;
    text-transform: uppercase;
    color: #000;
}

.titular_jumbo p {
    font-size: 0.9em;
    line-height: 120%;
}


/*------------------servicios index----------------------*/
.servicios {
    background-color: transparent;
    position: relative;
    z-index: 1;
}

.servicios .caja {
    transition: all 0.3s linear;
    display: grid;
    position: relative;
    text-align: left;
    grid-template-columns: 70px auto;
    box-shadow: 0 0px 15px rgba(0, 0, 0, 0.3);
    background-color: #fff;
}

.servicios .caja i {   font-size:2.5em;}

.servicios .caja:hover {
    box-shadow: 0 0 30px 5px rgba(0, 0, 0, 0.7);
}

/*.servicios .caja:nth-child(1) {
    background-color: #5f8303;
}

.servicios .caja:nth-child(2) {
    background-color: #6d9703;
}

.servicios .caja:nth-child(3) {
    background-color: #5d7521;
}*/


.servicios .caja h2 {
    font-size: 1.2em;
    font-weight: 600;
    color: #000;
}

.servicios .caja p {
    color: #666;
    margin-bottom: 0px;
    line-height: 110%;
}

.servicios .caja a {
    text-decoration: none;
    color: #666;
}

.servicios .caja i {
    margin-top: 7px;
}


/* Extra small devices (portrait phones, less than 576px)*/
@media (width <= 575.98px) {


}

/* Small devices (landscape phones, 576px and up)*/
@media (576px <= width <= 767.98px) {


}

/* Medium devices (tablets, 768px and up)*/
@media (768px <= width <= 991.98px) {
    .servicios .caja i { font-size: 1.5em;}
}

/* Medium devices (tablets, 768px and up)*/
@media (768px <= width <= 991.98px) and (orientation: portrait) {
    .servicios .caja { grid-template-columns:40px auto;    }
   /* .servicios .caja {width: 50%!important;   }*/
    .servicios .caja i { font-size: 1.5em;}
   
}


/* Large devices l (desktops, 992px and up)*/
@media (992px <= width <= 1199.98px) {
    .fondo_servicios {
        margin-top: -60px;
    }

    .servicios .caja {
        grid-template-columns:50px auto;
    }
    .servicios .caja i { font-size: 1.5em;}
}

/* Large devices l (desktops, 992px and up)*/
@media (992px <= width <= 1199.98px)  and (orientation: portrait) {

    .servicios .caja {
        grid-template-columns:50px auto;
    }
    .servicios .caja i { font-size: 1.5em;}
}


/* Extra large devices xl(large desktops, 1200px and up)*/
@media (1200px <= width <= 1399px) {
    .fondo_servicios {
        margin-top: -157px;
    }

}

/* Extra large devices xl(large desktops, 1400px and up)*/
@media (width >= 1400px) {

    .fondo_servicios {
        margin-top: -157px;
    }

}

/*--------------presentacion texto teaser ---------------*/

.presentacion.texto_teaser h2 {
    font-size: clamp(2rem, 1rem + 2vw, 3rem);
    line-height: 110%;
    text-transform: uppercase;
    
}

.presentacion.texto_teaser .tit_destacado {
    line-height: 100%;
}

/*.presentacion .texto_presentacion{  padding-right: 10%;}*/

.presentacion.texto_teaser .bajo_raya {
    font-size: 0.85em;
    font-weight: 600;
}

.presentacion.texto_teaser .bajo_raya:hover span {
    color: #fff;
}
.presentacion.texto_teaser .tit_destacado{
    font-family: 'Allison', cursive;
    letter-spacing: 2px;
    font-size:clamp(2rem, 1.225rem + 2.88vw, 3rem);
    text-shadow: 1px 1px 0 #ffffff90;
    line-height: 100%;
    text-align: left;
    margin-bottom: 20px;
   
    position: relative;
    transform: rotate(354deg);
}



/* Extra small devices (portrait phones, less than 576px)*/
@media (width <= 575.98px) {
    .presentacion.texto_teaser h2 {
        margin-top: 0;
    }
}

/* Small devices (landscape phones, 576px and up)*/
@media (576px <= width <= 767.98px) {
    .presentacion.texto_teaser h2 {
        margin-top: 0;
    }
}

/* Medium devices (tablets, 768px and up)*/
@media (768px <= width <= 991.98px) {

}

/* Medium devices (tablets, 768px and up)*/
@media (768px <= width <= 991.98px) and (orientation: portrait) {

}


/* Large devices l (desktops, 992px and up)*/
@media (992px <= width <= 1199.98px) {

}

/* Large devices l (desktops, 992px and up)*/
@media (992px <= width <= 1199.98px)  and (orientation: portrait) {

}


/* Extra large devices xl(large desktops, 1200px and up)*/
@media (1200px <= width <= 1399px) {


}

/* Extra large devices xl(large desktops, 1400px and up)*/
@media (width >= 1400px) {


}
/*-------------- servicios imágenes cuadradas ----------------*/
.servicios_imagenes_cuadradas{background-color: #f1e9d8;}
.servicios_imagenes_cuadradas .caja_servicio{position: relative; box-sizing: border-box; }

.servicios_imagenes_cuadradas .caja_servicio a {background-color: #000; display: block;}
.servicios_imagenes_cuadradas .caja_servicio a img{transition: all 1s linear; opacity: 0.7;}
.servicios_imagenes_cuadradas .caja_servicio a:hover img{opacity: 0.4;}
.servicios_imagenes_cuadradas .caja_servicio a:hover .info{transform: translateY(-50px); }
.servicios_imagenes_cuadradas .caja_servicio .ver_detalle{
     
      text-transform: uppercase; 
      font-size: 0.7em; 
      font-weight: 400; 
      letter-spacing: 1px; 
      opacity: 0; 
      transition: all 1s linear;
      margin-top: 20px;



}

.servicios_imagenes_cuadradas .titulares .texto_especial{
   text-align: center;
    font-family: 'Allison', cursive;    
    font-size: clamp(2rem, 1rem + 2.5vw, 3rem);  
    line-height: 100%;    
    margin-bottom: 20px;   
    position: relative;   
}

.servicios_imagenes_cuadradas .caja_servicio  a:hover  .ver_detalle{opacity: 0.8;}
.servicios_imagenes_cuadradas  h2 {
    font-weight: 500;
    line-height: 1.1;
    font-size:clamp(1.25rem, 1rem + 2.5vw, 2.4rem);
    color:#000;
   
}
.servicios_imagenes_cuadradas .altura{min-height: 85px;}
.servicios_imagenes_cuadradas .caja_servicio a h3{font-size:1.875rem; color:#fff; } 
.servicios_imagenes_cuadradas .caja_servicio .texto_especial{
   
    font-family: 'Allison', cursive;    
    font-size: clamp(2rem, 1rem + 2.5vw, 3rem);
    text-shadow: 1px 1px 0px #d1b537, -3px 1px 0px #000 ;
    line-height: 100%;
    text-align: left;
    margin-bottom: 20px;
    z-index: 900;
    position: relative;
    transform: rotate(354deg);
   
    margin-top: -20px;
    margin-left: 60px;
   
}
.servicios_imagenes_cuadradas .caja_servicio a .info{
   padding: 30px;
    position: absolute;
    bottom:0px;
    left: 0px;
    width:97%;
    -webkit-transition: all 1s linear;
    transition: all 1s linear;
    text-align: left;
    z-index: 20;
    height: auto;
    color:#fff;

}

/* Extra small devices (portrait phones, less than 576px)*/
@media (width <= 575.98px) {
    .servicios_imagenes_cuadradas .zona_titulares h2 {width: 100%;}
}

/* Small devices (landscape phones, 576px and up)*/
@media (576px <= width <= 767.98px) {
    .servicios_imagenes_cuadradas .zona_titulares h2 {width: 100%;}
}
/* Medium devices (tablets, 768px and up)*/
@media (768px <= width <= 991.98px) {
    .servicios_imagenes_cuadradas .caja_servicio a .info{font-size: 0.9em;}
    .servicios_imagenes_cuadradas .caja_servicio a .info { padding: 0px 20px;}
    .servicios_imagenes_cuadradas .zona_titulares h2 {width: 100%;}
}

/* Medium devices (tablets, 768px and up)*/
@media (768px <= width <= 991.98px) and (orientation: portrait) {
}

/* Large devices l (desktops, 992px and up)*/
@media (992px <= width <= 1199.98px) {
    .servicios_imagenes_cuadradas .zona_titulares h2 {width: 100%;}
}

/* Large devices l (desktops, 992px and up)*/
@media (992px <= width <= 1199.98px)  and (orientation: portrait) {
}
/* Extra large devices xl(large desktops, 1200px and up)*/
@media (1200px <= width <= 1399px) {
}

/* Extra large devices xl(large desktops, 1400px and up)*/
@media (width >= 1400px) {
}




