
:root {
    font-size: 16px;
}

.img-carusel {
    background-position: top center;
    background-size: cover;
}

.flex-container {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.noticias {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: flex-start;
    width: 100%;
}

.noticias div {
    width: 100%;
    text-align: justify;
}

.noticias article {
    text-align: justify;
    width: 100%;
}

.flex-container div {
    width: 100%;
    text-align: justify;
}

.flex-container article {
    width: 50%;
    text-align: justify;
    
}

.cardNoticias h1 {
    font-size: 1.3rem;
}

.cardNoticias h2 {
    font-size: 1rem;
}

.cardNoticias h3 {
    font-size: 1rem;
}

.servicios-carousel {
    width: 100%;
    padding: 2rem 10rem;
}

.servicios-carousel-div {
    width: 100%;
    display: flex;
    flex-direction: row;
}

.textoCarousel {
    width: 50%;
}

.clientes-carousel {
    width: 100%;
    padding: 2rem 10rem;
}

@media (max-width:800px) {
     :root {
        font-size: 13px;
    }
    .flex-container {
        flex-direction: column;
    }
    .flex-container div {
        width: 100%;
    }
    .flex-container article {
        width: 100%;
    }
    .noticias {
        flex-direction: column;
        width: 100%;
    }
    .noticias div {
        width: 100%;
    }
    .servicios-carousel {
        width: 100%;
        padding: 0rem 0rem;
    }
    .servicios-carousel-div {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .textoCarousel {
        width: 80%;
    }
    .clientes-carousel {
        width: 100%;
        padding: 0rem 0rem;
    }
}

.planes {
    width: 100%;
    margin: 0px;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.2);
    transition: all 400ms ease-out;
    cursor: default;
}

.menu_boton,.menu_boton_somos{
    transition: all 400ms ease-out;
    
}
.menu_boton:hover,.menu_boton_somos:hover{
    color: #efb810 !important;
    border-top: 3px  solid #000;
    border-color: #efb810 !important;
    transform: translateY(-5%);
}
.planes:hover {
    box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.4);
    transform: translateY(-3%);
}

.bloque {
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.2);
    transition: all 400ms ease-out;
    cursor: default;
}

.bloque:hover {
    box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.4);
    transform: translateY(-3%);
   
}


/*CSS Especial*/

body::-webkit-scrollbar {
    width: 0.5rem;
    background: white;
}

body::-webkit-scrollbar-thumb {
    width: 0.4rem;
    background: #d59e00;
}

/**/
.contenedor-redes a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: white;
  font-size: 20px;
  text-decoration: none;
  overflow: hidden;          /* Oculta lo que sobresalga */
  background: transparent;   /* Muy importante */
  transition: color 0.3s ease;
}

/* Fondo con forma de romboide */
.contenedor-redes a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0556c5;        /* color inicial (lo veremos en hover) */
  transform: skew(-20deg);
  transform-origin: center;
  opacity: 0;                 /* oculto por defecto */
  transition: opacity 0.3s ease;
  z-index: 0;                 /* detrás del ícono */
}

/* Ícono arriba del fondo */
.contenedor-redes a i {
  position: relative;
  z-index: 1;
}

/* Hover: muestra el romboide */
.contenedor-redes a:hover::before {
  opacity: 1;
}

/* Cambia el color del ícono al pasar */
.contenedor-redes a:hover {
    color: white;
}

.contenedor-nosotros-li{
    background: rgba(4, 20, 41, 0.9);
    color: #ccc;
    border: none;
}



.header-menu-item{
    color: white!important;
    font-weight: 600;
}