/* /////codigos de color */

.colores {
  color: #224d8c;
  color: #006cb5;
  color: #f26b35;
  color: #96989a;
  color: #bdbfc1;
}
.acerca_nosotros {
  border-radius: 10px;
  box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);
  height: 100%;
  padding: 15px;
}
.acerca_nosotros h1 {
  margin-bottom: 20px;
  color: #f26b35;
}
.img-top {
  height: 300px !important;
}
.img {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 100px;
}
.img .link {
  display: block;
  width: 100%;
  height: 90%;
  background-color: #224c8cbb;
}
.img .link-top {
  display: flex;
  align-items: flex-end;
  width: 100%;
  height: 100%;
}
.top-10 {
  background-color: #f26b35;
  color: #fff;
  /* text-align: center; */
  padding: 10px 10px;
}
.img a .nombre-top {
  padding: 5px;
  color: #fff;
  text-align: center;
  background-color: #224c8cbb;
  width: 100%;
}
.img a h4 {
  padding: 20px 10px;
  color: #fff;
}

.img a h5 {
  padding: 10px 10px;
  margin-bottom: 10px;
  color: #006cb5;
  width: 100%;
  background-color: #f26b35;
  text-align: center;
  font-weight: 600;
}
.img a h5:hover {
  color: #f26b35;
  width: 100%;
  background-color: #006cb5;
  transition-duration: 0.3s;
}
.img a .btns {
  padding: 10px 10px;
  margin-bottom: 10px;
  color: #ffffff;
  width: 100%;
  background-color: #f26b35;
  text-align: center;
  font-weight: 600;
  font-size: 0.7rem;
}
.img a .btns:hover {
  color: #f26b35;
  width: 100%;
  background-color: #006cb5;
  transition-duration: 0.3s;
}

@media (min-width: 1200px) {
  .slide-inner .header-text {
    width: 100% !important;
    margin-top: 5%;
  }
  .link-top .nombre-top {
    margin-bottom: 0px;
  }
  .btns_llamada {
    padding-right: 0px !important;
  }
  .btns_whats {
    padding-left: 0px !important;
  }
}

@media (min-width: 992px) {
  .btns_llamada {
    padding-right: 0px;
  }
  .btns_whats {
    padding-left: 0px;
  }
}
@media (max-width: 991px) {
  .secc-btns {
    margin-bottom: 10px;
  }
  .img a .btns {
    margin-bottom: 0px !important;
    font-size: 1.2rem;
  }
}
/* ======================================
FORMULARIO
====================================== */
.forma .fila-forma .col-forma fieldset label {
  color: white;
  margin: 10px 0px;
}
.orange-button1 {
  background-color: #f26b35;
  border: none;
}
.orange-button1:hover {
  background-color: #ececec;
  border: none;
  color: #f26b35;
  animation-duration: 0.4s;
}

/* ===================BOTON DE WHATSAPPP================== */
.btn-whats {
  height: 55px;
  width: 55px;
  background: #7ab730;
  border-radius: 3rem;
  position: fixed;
  bottom: 10%;
  /* top: 20%; */
  right: 17px;
  cursor: pointer;
  z-index: 99;
}

.btn-whats:hover {
  background-color: #99d451;
  transition: all 1s;
}
.msmw {
  width: 246px;
  height: 62px;
  border: 1px solid #ffffff;
  border-radius: 1rem 1rem 0 1rem;
  padding: 6px 5px;
  text-align: left;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
  background: linear-gradient(100deg, #ffffff, #eeeeee);
  position: fixed;
  bottom: 10%;
  /* top: 20%; */
  right: 85px;
  z-index: 999999;
  color: rgb(10, 0, 87);
}

.msmw:hover {
  background: linear-gradient(40deg, #ffffff, #ffffff);
  transition: all 1s;
  color: black;
}
.msmw img {
  width: 60px !important;
}

#icon_whast {
  float: left;
  margin-right: 3px;
}

.slide-content > p {
  background-color: #00000079 !important;
  color: #ffffff;
}

.forma-producto-seleccionados {
  background-color: #dbdbdb;
}
.telefonos a {
  color: #fff;
}

.top_ {
  color: rgb(0, 108, 181);
  font-weight: 600;
}

.card-gana img {
  width: 100%;
}
/* modal */
/* =============================================== */
/*Dialog Styles*/
dialog img {
  width: 70%;
}
dialog {
  padding: 1rem 3rem;
  background: #f26b35;
  max-width: 400px;
  padding-top: 2rem;
  border-radius: 20px;
  border: 2px solid #006cb5;
  /* box-shadow: 0 5px 30px 0 rgba(0, 0, 0, 0.1); */
  box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);

  -webkit-animation: fadeIn 1s ease both;
  animation: fadeIn 1s ease both;
}
dialog::-webkit-backdrop {
  -webkit-animation: fadeIn 1s ease both;
  animation: fadeIn 1s ease both;
  background: rgba(236, 7, 7, 0.4);
  z-index: 2;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}
dialog::backdrop {
  -webkit-animation: fadeIn 1s ease both;
  animation: fadeIn 1s ease both;
  /* background: rgba(255, 255, 255, 0.4); */
  z-index: 2;
  -webkit-backdrop-filter: blur(20px);
  /* backdrop-filter: blur(20px); */
}
dialog .x {
  filter: grayscale(1);
  border: none;
  background: none;
  position: absolute;
  top: 15px;
  right: 10px;
  transition: ease filter, transform 0.3s;
  cursor: pointer;
  transform-origin: center;
}
dialog .x:hover {
  filter: grayscale(0);
  transform: scale(1.1);
}
dialog h2 {
  font-weight: 600;
  font-size: 2rem;
  padding-bottom: 1rem;
}
dialog p {
  font-size: 1rem;
  line-height: 1.3rem;
  padding: 0.5rem 0;
}
dialog p a:visited {
  color: rgb(var(--vs-primary));
}

/*General Styles*/
/* body {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Poppins, sans-serif;
  background: url(https://images.unsplash.com/photo-1574169208507-84376144848b?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=879&q=80) no-repeat center center;
  background-size: cover;
} */

button.primary {
  display: inline-block;
  font-size: 0.8rem;
  color: #fff !important;
  background: rgb(var(--vs-primary) / 100%);
  padding: 13px 25px;
  border-radius: 17px;
  transition: background-color 0.1s ease;
  box-sizing: border-box;
  transition: all 0.25s ease;
  border: 0;
  cursor: pointer;
  box-shadow: 0 10px 20px -10px rgb(var(--vs-primary) / 50%);
}
button.primary:hover {
  box-shadow: 0 20px 20px -10px rgb(var(--vs-primary) / 50%);
  transform: translateY(-5px);
}

@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ********************************* */
/* .img .img-top{
  width:90%;
  padding:20px;
  display: none;
} */
.img-top:hover {
  /* padding: 5px;  */
  padding-top: 5px;
  height: 99%;
  border-radius: 20px 0px 0px 0px;
  transition-duration: 0.4s;
}

.links li a {
  color: #fff;
}
.py-6 {
  padding-top: 1rem !important;
  padding-bottom: 2.5rem !important;
}

.prueba {
  color: #7ab730;
}
/* ==================================CATEGORIA============================= */
.categoria-box {
  border: 2px solid #f26b35;
  transition: all 0.3s ease;
  background-color: #fff;
  cursor: pointer;
}

.categoria-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  border-color: #006cb5;
}

.categoria-box .icono-categoria {
  color: #f26b35;
  transition: color 0.3s ease;
}

.categoria-box:hover .icono-categoria {
  color: #006cb5;
}

.categoria-box .titulo-categoria {
  color: #313131;
  font-weight: bold;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.categoria-box:hover .titulo-categoria {
  color: #006cb5;
}
.padding-top {
  padding-top: 50px;
  padding-bottom: 50px;
}
/* =================================DETALLE PAGINAS===================== */
.product-list li {
  cursor: pointer;
}
.product-list li.active {
  background-color: #0d6efd;
  color: white;
  border-radius: 0.25rem;
}
.carrusel_productos .col-img .carousel-inner .carousel-item img {
  width: 100% !important;
}

.col-img {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.carousel,
.carousel-inner,
.carousel-item,
.carousel-item img {
  height: 100%;
}

.carousel-item img {
  object-fit: cover;
  object-position: center;
}
.carousel-control-prev-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3E%3Cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3E%3C/svg%3E") !important;
}

.carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3E%3Cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E") !important;
}
.list-group-item{
  border: none!important;
}

.list-group .list-group-item i{
  color: #f26b35; 
  margin-right: 8px;
}


/* Asegurar que ambas columnas tengan la misma altura */
.carrusel_productos .row {
    height: 100%;
}

/* Ajustar altura del carrusel e imágenes */
.col-img, #productCarousel, .carousel-inner, .carousel-item {
    height: 100%;
}

.carousel-item img {
    max-height: 100%;
    width: 100%;
    object-fit: contain; /* Ajusta la imagen sin distorsionarla */
}

.carrusel_productos {
    height: 600px; /* o cualquier otra altura que desees */
}
/* =============================BANNER PAGINAS============================ */
.fondo-primary {
  background-color: #181d30;
}
.fondo-primary .container .lead{
  color: #ffff;
}
/* ======================proveedores===================== */
.partners {
  padding: 40px 0;
  background-color: #f5f5f5; /* fondo claro opcional */
}

.partners .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0px 0; /* separación vertical entre filas */
}

.partners .col-lg-3,
.partners .col-sm-4,
.partners .col-6 {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px;
  max-width: 33.3333%;
  flex: 0 0 33.3333%;
}

.partners .item {
  width: 100%;
  max-width: 180px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.partners .item img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

/* Responsivo */
@media (max-width: 992px) {
  .partners .col-lg-3 {
    max-width: 33.3333%;
    flex: 0 0 33.3333%;
  }
}

@media (max-width: 768px) {
  .partners .col-lg-3 {
    max-width: 50%;
    flex: 0 0 50%;
  }
}

@media (max-width: 576px) {
  .partners .col-lg-3 {
    max-width: 100%;
    flex: 0 0 100%;
  }
}

/* ===============================menu======================== */

.has-submenu {
  position: relative;
}

.has-submenu .submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ffffff;
  padding: 10px 0;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  display: none;
  z-index: 999;
  min-width: 350px;
}

.has-submenu:hover .submenu {
  display: block;
}

.has-submenu .submenu li {
  list-style: none;
}

.has-submenu .submenu li a {
  display: block;
  padding: 8px 20px;
  color: #333;
  text-decoration: none;
  transition: background-color 0.3s;
}

.has-submenu .submenu li a:hover {
  background-color: #f2f2f2;
}

/* ======================anclas=================== */
.anchor-offset {
  position: relative;
  top: -100px; /* altura del header */
  height: 0;
  visibility: hidden;
}
/* ==============================NUESTROS SERVICIOS================ */

.service-item {
    text-align: center;
  }

  .service-item img {
    display: block;
    margin: 0 auto;
  }

  .service-item h4 {
    margin-top: 1rem;
  }

  /* =======================REDES SOCIALES=========================== */
  /* Estilos para la sección de redes sociales */
.social-media {
  background-color: #006cb5;
  padding: 30px 0;
  margin-top: 0px;
}

.social-media h3 {
  font-size: 24px;
  font-weight: bold;
  color: white;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.social-icons {
  display: flex;
  justify-content: space-evenly;
  gap: 30px;
}

.social-icon {
  font-size: 4.1rem;
  color: white;
  transition: transform 0.3s ease, color 0.3s ease;
}


.social-icon:hover {
  transform: scale(1.1);
  color: #f26b35; /* tono de contraste al pasar el mouse */
}
/* ================EQUIPO CONSTRURAMA================ */
.equipo-construrama{
  margin-top: 0px!important;
}
.text-construrama{
  color: #181d30;
  font-size: 2rem;
  text-transform: uppercase;
}
.equipo-construrama .container img{
width: 100%;
}