@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Roboto:wght@400;500;700;900&display=swap");

:root {
  --roboto-font: "Roboto", sans-serif;
  --bebas-font: "Bebas Neue", sans-serif;
  --color-black: #424547;
  --color-gray: #888888;
  --color-orange: #f06d22;
  --color-footer: #484b4d;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

img {
  max-width: 100%;
}
body {
  max-width: 1920px;
}
/*=============== HEADER ===============*/
.header-comp {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 80px;
}

.botones-extras{
  
  max-width: 100%!important;
}

.botones{
  display: inline-block;
}

.botones-extras a{
  margin: 10px;
}

@media(min-width: 748px){
  .botones-extras{
  display: none!important;
}

}

.logo {
  width: 250px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.menu-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

a {
  text-decoration: none;
  color: var(--color-black);
}

.toggle-menu {
  display: none;
  position: absolute;
  top: 0.5rem;
  right: 1.5rem;
  cursor: pointer;
  width: 40px;
  z-index: 3000;
}

.contact-container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 15px;
  padding: 0 20px;
}

.contact {
  width: 250px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--color-orange);
  border-radius: 20px;
  font-family: var(--roboto-font);
  font-size: 1rem;
  font-weight: bold;
  padding: 5px;
}

.contact span {
  color: var(--color-orange);
}

.contact img {
  width: 24px;
}

.menu {
  width: 100%;
  display: flex;
  justify-content: start;
  list-style: none;
  gap: 20px;
  font-family: var(--roboto-font);
  font-size: 1.2rem;
  padding-top: 40px;
  padding-left: 40px;
  position: relative;
}

.menu li a img {
  width: 12px;
}

.dropdown-menu {
  display: none;
}

.menu li:hover .dropdown-menu {
  display: block;
  position: absolute;
  left: 0;
  top: 100%;
  z-index: 3;
  background-color: white;
  border-radius: 10px;
  box-shadow: 4px 6px 10px 5px rgba(0, 0, 0, 0.5);
}

.menu li:hover .dropdown-menu ul {
  margin: 10px;
  list-style: none;
}

.menu li:hover .dropdown-menu ul li {
  width: 250px;
  margin-bottom: 5px;
  padding: 5px;
}

.menu li:hover .dropdown-menu ul li:hover {
  background-color: var(--color-orange);
  border-radius: 10px;
}

.menu li:hover .dropdown-menu ul li:hover a {
  color: white;
}

.active {
  border-bottom: 2px solid var(--color-orange);
  color: var(--color-orange);
  font-weight: bold;
}

/*header*/

/*=============== DIVISOR ===============*/
/*divisor*/
.divisor {
  width: 100%;
  height: 20px;
  background-color: rgb(66, 69, 71);
}

/*divisor*/

/*=============== SLIDER ===============*/
/* slider hero */
.hero {
  width: 100%;
  height: 100%;
}

.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swiper-pagination-bullet {
  width: 100px;
  height: 5px;
  display: inline-block;
  border-radius: var(--swiper-pagination-bullet-border-radius, 5px);
  background: var(--swiper-pagination-bullet-inactive-color, #ffffff);
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: var(--swiper-pagination-color, #00ffdd);
}

.mySwiper2.desktop {
  display: flex;
}

.mySwiper2.mobile {
  display: none;
}

/* slider hero */

/*=============== CONTENIDO DENTRO DEL SLIDER ===============*/
/*Contenido del hero*/
.slider-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #e5e5f7;
  position: relative;
  width: 100%;
  height: 600px;
  padding: 0 100px 0 100px;
}

.bg-slider {
  width: 100%;
  height: 100%;
  background-image: url(../assets/images/bg-header.webp);
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  z-index: 1;
}

.txt-slider {
  width: 25%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 1;
  animation: slideInLeft 1s ease-out forwards;
}

.txt-slider p {
  font-size: 2.8rem;
  font-family: var(--roboto-font);
  color: #ffffff;
  text-align: left;
}

.txt-slider p span {
  font-size: 3.5rem;
  font-family: var(--roboto-font);
  font-weight: bold;
  color: #ffffff;
  text-align: left;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }

  to {
    opacity: 1;
    transform: translateX(0px);
  }
}

.img-slider {
  width: 50%;
  height: 50%;
  max-height: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
  animation: slideInRight 1s ease-out forwards;
}
.img-slider img {
  width: 800px;
  height: auto;
  max-height: 600px;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100px);
  }

  to {
    opacity: 1;
    transform: translateX(0px);
  }
}

.btn-cotizacion {
  width: 100%;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #edf1f3;
  color: var(--color-black);
  font-family: var(--roboto-font);
  font-size: 1.8rem;
  font-weight: bold;
  border-radius: 10px;
  margin-top: 30px;
}

/* contenido del hero */

/*=============== PRODUCTOS DESTACADOS ===============*/
/* productos destacados */
.feature-products {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 50px;
}

.feature-products h2 {
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--bebas-font);
  font-weight: 100;
  letter-spacing: 2px;
  font-size: 5rem;
  color: var(--color-gray);
  margin-top: 20px;
}

.feature-products .card-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  padding: 20px;
}

.feature-products .card-content {
  width: 330px;
  height: 360px;
  display: flex;
  flex-direction: column;
  border-radius: 15px;
  /*  box-shadow: 4px 6px 10px 5px rgba(0, 0, 0, 0.75); */
}

.feature-products .card-img {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  border: 2px solid black;
  border-radius: 15px;
  overflow: hidden;
}

.feature-products .card-img img {
  position: absolute;
  object-fit: contain;
  transform: scale(0.8);
  z-index: 1;
}

.feature-products .card-img img:nth-child(1) {
  border-radius: 15px;
  object-fit: cover;
  transform: scale(1.2);
  position: absolute;
  z-index: 1;
}

.feature-products .card-content:hover .card-img img:nth-child(1) {
  transform: scale(1);
  animation: slideIn 0.7s ease-out forwards;
}

/* Define la animación */
.feature-products .card-content:hover .card-img img {
  transform: scale(1);
  animation: slideOut 0.5s ease-out forwards;
  /* Define la animación */
}

@keyframes slideIn {
  from {
    transform: scale(1.2);
  }

  to {
    transform: scale(1);
  }
}

@keyframes slideOut {
  from {
    transform: scale(0.8);
  }

  to {
    transform: scale(1.1);
  }
}

.feature-products .swiper-button-next {
  right: 1rem;
  color: transparent;
  width: 6%;
}

.feature-products .swiper-button-prev {
  left: 1rem;
  color: transparent;
  width: 6%;
}

.feature-products .swiper-button-next img {
  position: absolute;
  right: -1rem;
  width: 500px;
  height: auto;
}

.feature-products .swiper-button-prev img {
  position: absolute;
  left: -1rem;
  width: 500px;
  height: auto;
}

.title {
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--roboto-font);
  font-size: 2.2rem;
  font-weight: bold;
  width: 100%;
  height: 40%;
}

/* productos destacados */

/*=============== CATEGORIAS ===============*/
.categories {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: #000;
}

.categories h2 {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--bebas-font);
  font-size: 5rem;
  letter-spacing: 0.3rem;
  font-weight: 100;
  color: #fff;
  background-color: #000;
}

.categories .card-container {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
}

.categories .card-container a {
  width: 33%;
  height: 500px;
}

.categories .card-container .card {
  width: 100%;
  height: 100%;
  position: relative;
  background: var(--color-black);
}

.categories .card-container .card img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.categories .card-container .card p {
  position: absolute;
  font-family: var(--roboto-font);
  font-size: 3.5rem;
  text-align: center;
  color: #edf1f3;
  z-index: 1;
  opacity: 0;
  width: 60%;
  height: 30%;
  top: 35%;
  left: 20%;
}

.categories .card-container a:hover p {
  opacity: 1;
}

.categories .card-container a:hover img {
  opacity: 0.2;
}

.btn-vermas {
  width: 200px;
  text-decoration: none;
  text-align: center;
  font-family: var(--roboto-font);
  font-size: 1.8rem;
  color: var(--color-orange);
  background-color: #fff;
  padding: 6px 20px;
  border-radius: 6px;
  margin-top: 30px;
  margin-bottom: 30px;
  cursor: pointer;
}

.hidden-categories {
  display: none;
}

/*=============== LOCATION ===============*/
.location {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  padding: 100px 00px;
}

.location .cities {
  display: flex;
  justify-content: space-evenly;
  align-items: start;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
}

.location .cities img {
  width: 20px;
}

.location .cities a {
  font-family: var(--roboto-font);
  font-size: 3rem;
  color: var(--color-black);
  border-bottom: 1px solid var(--color-orange);
}

.adress {
  width: 100%;
  background-color: rgb(214, 215, 213);
  padding: 10px;
  border-radius: 6px;
  display: none;
}

.location .adress p {
  font-family: var(--roboto-font);
  font-size: 1.2rem;
  color: var(--color-black);
  text-decoration: none;
  border: none;
}

.active-city {
  cursor: pointer;
  text-decoration-color: var(--color-orange);
}

.active-adress {
  display: block;
}

.maps {
  width: 50%;
  height: 700px;
  border: 0;
  border-radius: 50px 0px 50px 0;
  box-shadow: 4px 6px 10px 5px rgba(0, 0, 0, 0.75);
  padding: 5px;
}

/*=============== whatsapp ===============*/
.btn-wsp {
  width: 55px;
  height: 55px;
  background: #25d366;
  position: fixed;
  border-radius: 50%;
  z-index: 3000;
  display: flex;
  justify-content: center;
  align-items: center;
  bottom: 20px;
  left: 40px;
  background-image: url(../assets/icons/whatsapp_white.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 32px 32px;
  box-shadow: 0px 0px 12px 2px rgba(0, 0, 0, 0.75);
}

.btn-wsp:hover {
  background: #ffffff;
  background-image: url(../assets/icons/whatsapp.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 32px 32px;
}

/*=============== FOOTER ===============*/
/* footer */
footer,
.footer-comp {
  width: 100%;
  height: 250px;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  background-color: var(--color-footer);
  color: white;
  padding: 20px;
}

footer .logo {
  width: 25%;
  display: flex;
  justify-content: center;
  align-items: center;
}

footer .logo img {
  width: 250px;
}

footer .menu,
footer .services {
  width: 25%;
  display: flex;
  color: white;
}

footer .networks {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--roboto-font);
  font-size: 1rem;
  width: 25%;
}

footer .menu ul,
footer .services ul,
footer .networks ul {
  list-style: none;
}

footer .menu li a,
footer .services li a {
  text-decoration: none;
  color: white;
  font-family: var(--roboto-font);
  font-size: 1.2rem;
}

footer .networks ul {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 10px;
}

footer .networks ul li a img {
  width: 30px;
}

footer .menu li:hover .dropdown-menu {
  display: block;
  position: absolute;
  left: 0;
  top: -295px;
  z-index: 3;
  background-color: rgb(60, 58, 58);
  border-radius: 10px;
  box-shadow: 4px 6px 10px 5px rgba(0, 0, 0, 0.5);
}

/* footer */

/*=============== BREAKPOINTS ===============*/
@media screen and (max-width: 390px) {
  .toggle-menu {
    display: flex;
  }

  .header-comp,
  .contact-container,
  .menu {
    flex-direction: column;
    width: auto;
    align-items: start;
  }

  .header-comp {
    padding: 0;
  }

  .menu--show {
    display: flex !important;
  }

  .menu-container {
    flex-direction: column-reverse;
    width: auto;
    align-items: start;
    display: none;
  }

  .menu,
  .contact-container {
    margin-bottom: 15px;
  }

  .menu {
    padding-top: 10px;
    padding-left: 30px;
  }

  .dropdown-menu {
    width: 250px;
    position: absolute;
    left: 0;
    top: 100%;
    z-index: 3;
    background-color: white;
    border-radius: 10px;
    box-shadow: 4px 6px 10px 5px rgba(0, 0, 0, 0.5);
    padding: 10px;
    list-style: none;
  }

  .menu li:hover .dropdown-menu ul li {
    width: 100%;
  }

  .menu li:hover .dropdown-menu {
    top: 80px;
  }

  .slider-container {
    flex-direction: column-reverse;
    padding: 5px;
    height: auto;
  }

  .img-slider {
    width: 100%;
    height: 100%;
  }

  .txt-slider {
    width: 100%;
    padding: 10px;
    gap: 2px;
  }

  .txt-slider p {
    font-size: 2.5rem;
  }

  .btn-wsp {
    left: 10px;
  }

  .mySwiper2.desktop {
    display: none;
  }

  .mySwiper2.mobile {
    display: flex;
  }

  .btn-cotizacion {
    margin-bottom: 30px;
  }

  .swiper-pagination {
    margin-bottom: 10px;
  }
  .hero .swiper-slide {
    height: auto;
  }

  .feature-products {
    padding: 20px;
  }

  .feature-products h2 {
    text-align: center;
  }

  .feature-products .card-content {
    justify-content: center;
    align-items: center;
    width: 285px;
  }

  .feature-products .title {
    font-size: 2.5rem;
  }
  .feature-products .card-img {
    width: 90%;
  }
  .feature-products .swiper-button-next,
  .feature-products .swiper-button-prev {
    width: 20%;
  }
  .feature-products .swiper-button-next img {
    right: -1.8rem;
    padding: 5px;
  }
  .feature-products .swiper-button-prev img {
    left: -1.8rem;
    padding: 5px;
  }
  .card-container {
    flex-direction: column;
  }

  .title {
    font-size: 1.5rem;
    font-family: var(--roboto-font);
    font-weight: bold;
  }

  .btn-vermas {
    width: 50%;
    text-align: center;
  }

  .categories .card-container .card {
    background: #8b8989;
  }
  .categories .card-container .card p {
    width: 100%;
    opacity: 1;
    text-align: center;
    font-weight: bold;
    left: 0;
  }

  .categories .card-container img {
    opacity: 0.3;
  }

  .categories .card-container a {
    width: 100%;
  }

  .location {
    padding: 0 20px;
    flex-direction: column;
    gap: 30px;
  }

  .categories .card-container .card p {
    width: 100%;
  }

  .maps {
    width: 100%;
    height: 500px;
    margin-bottom: 50px;
  }

  footer,
  .footer-comp {
    flex-direction: column;
    height: 100%;
  }

  footer .logo {
    width: 100%;
  }

  footer .menu,
  footer .services,
  footer .networks {
    width: 100%;
    justify-content: center;
    align-items: center;
    padding: 0;
  }

  footer .menu li:hover .dropdown-menu {
    left: 120px;
    top: -320px;
  }

  footer .services {
    margin-bottom: 20px;
  }
}
@media screen and (min-width: 391px) and (max-width: 767px) {
  .toggle-menu {
    display: flex;
  }

  .header-comp,
  .contact-container,
  .menu {
    flex-direction: column;
    width: 100%;
    align-items: start;
  }

  .header-comp {
    padding: 0;
  }

  .menu--show {
    display: flex !important;
  }

  .menu-container {
    flex-direction: column-reverse;
    width: auto;
    align-items: start;
    display: none;
  }

  .menu,
  .contact-container {
    margin-bottom: 15px;
  }

  .menu {
    padding-top: 10px;
    padding-left: 30px;
  }

  .dropdown-menu {
    width: 250px;
    position: absolute;
    left: 0;
    top: 100%;
    z-index: 3;
    background-color: white;
    border-radius: 10px;
    box-shadow: 4px 6px 10px 5px rgba(0, 0, 0, 0.5);
    padding: 10px;
    list-style: none;
  }

  .menu li:hover .dropdown-menu ul li {
    width: 100%;
  }

  .menu li:hover .dropdown-menu {
    top: 80px;
  }

  .slider-container {
    flex-direction: column-reverse;
    padding: 5px;
    height: 100%;
  }

  .img-slider {
    width: 100%;
    height: 100%;
  }

  .txt-slider {
    width: 100%;
    padding: 10px;
    gap: 2px;
  }

  .txt-slider p {
    font-size: 2rem;
    text-align: center;
  }
  .txt-slider p span {
    font-size: 2.5rem;
  }

  .btn-wsp {
    left: 10px;
  }

  .mySwiper2.desktop {
    display: none;
  }

  .mySwiper2.mobile {
    display: flex;
  }

  .btn-cotizacion {
    width: 100%;
    height: 100%;
    padding: 10px;
    margin-bottom: 30px;
  }

  .swiper-pagination {
    margin-bottom: 10px;
  }
  .hero .swiper-slide {
    height: auto;
  }

  .feature-products {
    padding: 20px;
  }

  .feature-products h2 {
    text-align: center;
  }

  .feature-products .card-content {
    width: 285px;
  }

  .feature-products .title {
    font-size: 2.5rem;
  }
  .feature-products .card-img img {
    transform: scale(1.1);
  }
  .feature-products .swiper-button-next,
  .feature-products .swiper-button-prev {
    width: 15%;
  }

  .card-container {
    flex-direction: column;
  }

  .title {
    font-size: 1.5rem;
    font-family: var(--roboto-font);
    font-weight: bold;
  }

  .btn-vermas {
    width: 50%;
    text-align: center;
  }

  .categories .card-container .card p {
    width: 100%;
    opacity: 1;
    text-align: center;
    left: 0;
  }

  .categories .card-container img {
    opacity: 0.3;
  }

  .categories .card-container a {
    width: 100%;
  }

  .location {
    padding: 0 20px;
    flex-direction: column;
    gap: 30px;
  }

  .categories .card-container .card p {
    width: 100%;
  }

  .maps {
    width: 100%;
    height: 500px;
    margin-bottom: 50px;
  }

  footer,
  .footer-comp {
    flex-direction: column;
    height: 100%;
  }

  footer .logo {
    width: 100%;
  }

  footer .menu,
  footer .services,
  footer .networks {
    width: 100%;
    justify-content: center;
    align-items: center;
    padding: 0;
  }

  footer .menu li:hover .dropdown-menu {
    left: 120px;
    top: -330px;
  }

  footer .services {
    margin-bottom: 20px;
  }
}
@media screen and (min-width: 768px) and (max-width: 1366px) {
  .toggle-menu {
    display: none;
  }
  header,
  .header-comp {
    padding: 0 70px;
  }
  .menu-container {
    display: flex;
  }

  .txt-slider {
    width: 35%;
  }

  .txt-slider p {
    font-size: 2rem;
  }

  .txt-slider p span {
    font-size: 2.2rem;
  }

  .feature-products {
    padding: 40px;
  }

  .feature-products .card-container {
    justify-content: center;
    gap: 60px;
  }

  .feature-products .card-content {
    width: 200px;
    justify-content: space-around;
  }

  .feature-products .card-img {
    height: 200px;
  }

  .container-contactanos {
    padding: 30px;
  }
  .title {
    font-size: 1.8rem;
  }

  .maps {
    height: 500px;
  }
}
@media screen and (min-width: 1367px) {
  .toggle-menu {
    display: none;
  }

  .menu-container {
    display: flex;
  }

  .txt-slider {
    width: 30%;
  }
  .txt-slider p,
  .txt-slider p span {
    font-size: 2.5rem;
  }
  .btn-cotizacion {
    width: 100%;
  }
  .btn-cotizacion:hover {
    background: var(--color-orange);
    color: white;
  }
  .feature-products .card-container {
    gap: 70px;
  }

  .feature-products .card-content {
    width: 280px;
  }
}
