/* GLOBALS */

html {
  overflow-x: hidden;
}

body {
  font-family: "Inter", sans-serif;  
  color: #fff;
  background-color: #fff;
  scroll-behavior: smooth;
  background-attachment: fixed;
  overflow-x: hidden;
  letter-spacing: 0.075em
}

::selection {
  color: #000;
  background: #e7e7e7;
}

/* RESET */
div, img {
  margin: 0;
  padding: 0;
}

.section-contacto a, .section-brochure a{
  color: #fff;
}


.partners {
  transition: .2s;
  margin-bottom: 0!important;
  cursor: pointer;
}

.partners{
  width: 10rem!important;
  height: auto!important;
}

.section-green h2{
  color: #000;
}


.navicon{
  width: 10rem;
}

.card h3{
  color: #fff!important;
}

.badgex{
  width: 4.5rem;
  margin: .5rem!important;
}

.badgex2{
  width: 5rem;
  margin: .5rem!important;
}

.badge-c{
  width: 6.5rem;
  margin: 1rem!important;
}

.brand{
  height: 2rem;
}

.logo-home{
  width: 50%;
  filter: invert(100%);
}


.map{
  width: 75%;
}

.flip-card {
  background-color: transparent;
  width: 300px;
  height: 200px;
  border: 1px solid #f1f1f1;
  perspective: 1000px; 
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden; 
  backface-visibility: hidden;
}

.flip-card-front {
  background-color: #bbb;
  color: black;
}

.flip-card-back {
  background-color: dodgerblue;
  color: white;
  transform: rotateY(180deg);
}


/* FONTS */

h1{
  font-size: 4rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: #000;
  text-transform: uppercase;
}

.bionut {
  height: 100vh;
  position: relative;
  overflow: hidden;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #000;
  pointer-events: none;
}

.bionut h1{
  color: #fff;
}

.home-text{
  position: relative;
  z-index: 1;
  pointer-events: auto; 
}

.bionut video{
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  opacity: 0.75;
  z-index: 0;
  pointer-events: none;
}


h2 {
  font-size: 1.8rem;
  font-weight: 400;
  color: #fff;
  letter-spacing: 2px;
}

h3 {
  font-size: 1.5rem;
  font-weight: 500;
  color: #000;
}


.section-white p{
  color: #000;
}

p{
  font-size: 1.2rem;
  font-weight: 400;
}



/* LINKS */
.nav-link {
  color: #F1F7EE;
  margin-top: 10px;
  font-size: .9rem;
  text-transform: uppercase;
  text-align: center;
  transition: .5s;
  letter-spacing: 2px;
  font-weight: 600;
}

.nav-link:hover, .nav-link:focus {
  text-decoration: underline;
  text-underline-offset: 10px;
  text-decoration-thickness: 1.5px;
  color: #fff;
}

.navbar-nav .nav-link.active {
  text-decoration: underline;
  text-underline-offset: 10px;
  text-decoration-thickness: 1.5px;
}

/* NAVBAR */
.navbar {
  background-color: transparent;
  z-index: 3;
}


.custom-toggler .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

.custom-toggler.navbar-toggler {
  border-color: transparent;
  margin-right: 10px;
}

.custom-toggler:focus,
.custom-toggler:active,
.custom-toggler:hover {
  box-shadow: none;
  outline: 0;
}

.logo-nav {
  width: 10rem;
}

/* BUTTONS */
.btn {
  background-color: #176f3a;
  font-size: 1rem;
  font-weight: bolder;
  border: solid 0.18rem #176f3a;
  border-radius: 10px;
  color: #fff;
  padding: 10px;
  transition: 0.2s;
  width: 275px;
  text-transform: uppercase;
  letter-spacing: .1rem;
}

.btn:hover {
  color: #fff;
  border-color: #12592e;
  background-color: #12592e;
}

.btn:focus, .btn:active {
  box-shadow: none;
  outline: 0;
}

option{
  background-color: rgba(255, 255, 255, .9)!important;
}



/* MID SECTION BUTTON */

/* IMAGES */
.main-logo {
  width: 80%;
}

/* SOCIAL ICONS */

.social-icon {
  font-size: 2rem;
  color: #fff;
  transition: 0.2s;
  padding: 0 1.6rem 0 2rem;
}

.social-icon:hover {
  color: red;
}

/* SECTIONS */
.section-white{
  height: fit-content;
  padding-top: 5rem!important;
  padding-bottom: 5rem!important;
  background-color: #f9f9f9;
  color: #000;
}

.section-white b{
  color: #176f3a;
}

.imgx{
  width: 80%;
}

.section-img{
  height: 70vh;
  color: #000;
  background-attachment: fixed;
  background-size: cover;
  background-repeat: no-repeat;
}

.bg1{
  background-image: url("../assets/img/backgrounds/bg1.png");
}

.bg2{
  background-image: url("../assets/img/backgrounds/bg2.png");
}

.bg3{
  background-image: url("../assets/img/backgrounds/bg3.png");
}

.bg4{
  background-image: url("../assets/img/backgrounds/bg4.png");
}

.bg5{
  background-image: url("../assets/img/backgrounds/bg5.png");
}

.bg6{
  background-image: url("../assets/img/backgrounds/bg6.png");
}


.section-contacto{
  height: fit-content;
  padding-top: 5rem!important;
  padding-bottom: 5rem!important;
  background-color: #34746c;
  color: #fff;
}

.section-contacto .btn{
  color: #fff;
  background-color: #213e53;
  border-color: #213e53;
}

.section-contacto .btn:hover{
  color: #fff;
  background-color: #b69555;
  border-color: #b69555;
}

.section-contacto .custom-checkbox{
  background-color: #213e53;
  border-color: #213e53;
}


.section-contacto .fa-brands{
  color: #fff;
}

.section-green{
  height: fit-content;
  background-color: #176f3a;
  color: #fff;
  padding-top: 5rem!important;
  padding-bottom: 5rem!important;
}

.section-green h2{
  color: #fff;
  text-transform: uppercase;
  font-size: 3rem;
  font-weight: 300;
}

.section-green h3{
  color: #fff;
  text-transform: uppercase;
  font-size: 1.5rem;
  font-weight: 750;
}

.section-green p{
  font-style: italic;
  font-size: 1.5rem;
  font-weight: lighter;
}

.section-green li{
  font-size: 1.5rem;
  font-weight: lighter;
}

.section-white h2{
  color: #176f3a;
  text-transform: uppercase;
  font-size: 3rem;
  font-weight: 400;
}

.section-white h3{
  color: #176f3a;
  text-transform: uppercase;
  font-size: 1.5rem;
  font-weight: 750;
}

.marcas p{
  font-size: 1rem!important;
}

#productTabs .nav-link{
  color: #176f3a;
  font-weight: bold;

}

.marca{
  width: 20rem;
}


.section-white p{
  font-style: italic;
  font-size: 1.5rem;
  font-weight: 300;
}

.section-white h4{
  color: #176f3a;
  font-size: 1.2rem;
  font-weight: 750;
  text-transform: uppercase;
}


.card{
  background-color: #176f3a;
  color: #fff;
  transition: .5s;
  border: none;
}

.card:hover{
  transform: translateY(-5px);
}

.card .fa-solid{
  font-size: 3.5rem;
  text-align: center;
  padding: 15px;
}

h5{
  font-size: 1rem;
}

.section-green .btn{
  background-color: transparent;
  border-color: #fff;
  color: #fff;
}

.section-green .btn:hover{
  background-color: #fff;
  color: #176f3a;
}

.navbar.light {
  background-color: transparent;
  transition: background-color 0.2s ease;
}

.navbar.green .custom-toggler .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(50, 119, 104, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

.navbar.dark {
  background-color: #176f3a ;
  transition: background-color 0.2s ease;
}

.navbar.green{
  background-color: #d5d5d5;
  transition: background-color 0.5s ease;
}

.navbar.green a{
  color: #000;
}

.navbar.white{
  background-color: #fff;
  transition: background-color 0.5s ease;
}


.navbar.white .custom-toggler .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(50, 119, 104, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}


.navbar.white a{
  color: #000;
}


.owl-carousel .item {
  display: flex;
  justify-content: center; /* Centra las imágenes horizontalmente */
  align-items: center;     /* Centra las imágenes verticalmente */
  height: 100px;           /* Define una altura fija para los items */
}

.top-space{
  height: 10rem;
}


.banner {
  height: fit-content;
}

.footer {
  height: fit-content;
  background-color: #fbfbfb;
  background-position: bottom;
  background-size: cover;
  color: #176f3a;
}

.footer p{
  font-size: .8rem;
}

.fa-brands:hover{
  color: #176f3a;
  transform: translateY(-5px);
}

.footer h2{
  color: #176f3a;
  font-size: 1.2rem;
  text-transform: uppercase;
}

.footer h3{
  font-size: .9rem;
  color: #176f3a;
}

.footer .fa-brands{
  color: #176f3a;
  transition: .5s;
}


/* HR */
hr {
  width: 30%;
  border-top: thin solid gray;
  margin: auto;
  background-color: transparent;
  opacity: .1;
}

.info p{
  font-size: 1rem!important;
}

.copy{
  background-color: #176f3a;
  font-size: .6rem;
  color: #fff;
  height: fit-content;
  padding: 10px;
  text-transform: uppercase;
  position: fixed;
  bottom: 0;
  width: 100%;
}

/* FORM */

.form-control, select {
  margin-top: 10px;
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 10px;
  padding-bottom: 10px;
  color: #000;
  background-color: #ededed;
  border: thin solid #fff;
  border-radius: 10px;
  width: 100%;
}

.formulario p{
  font-size: 1.2rem;
}


.form-control:focus, .form-control:active{
  background-color: #ededed;
  outline: none;
  box-shadow: none;
  color: #000;
  border-color: #38746c;
}

.custom-checkbox {
  appearance: none!important;
  -webkit-appearance: none;
  background-color: #525050;
  border: 2px solid #525050;
  border-radius: 5px; /* Para que sea completamente cuadrado */
  cursor: pointer;
  position: relative;
  display: inline-block;
  width: 2rem;
  height: 2rem;
}

/* Check blanco centrado */
.custom-checkbox:checked::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 12px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: translate(-50%, -50%) rotate(45deg);
}

.form-check-label{
  font-size: 1rem;
}

.form-border{
  border: thin solid #fff;
}


::placeholder{
  color: gray;!important;
}

textarea{
  resize: none;
}


#whappBtn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 90;
  outline: none; 
  background-color: #176f3a ; 
  cursor: pointer;
  font-weight: bolder;
  border-color: #fff!important;
  border: solid;
  border-width: .2rem;
  transition: 0.5s ease;
  border-radius: 100%;
  padding: 1.2rem!important;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 0.25rem #000);
}

#whappBtn:hover {
  background-color: #12592e;
  transform: translateY(-.5rem);
}

.whapp{
  width: 2.5rem;
  pointer-events: none;
}

.icon{
  width: 6rem;
  padding-bottom: 1.5rem;
}


.fa-brands{
  color: #000;
  font-size: 2.5rem;
  margin: .5rem;
  transition: .3s;
}

.fa-solid{
  font-size: 1rem;
  margin: .5rem;
}


/* SCREEN */


@media only screen and (max-width: 1600px) {
  .nav-link{
    font-size: .9rem;
  }

  .navicon{
    width: 7.5rem;
  }
}



@media only screen and (max-width: 1400px) {

  .bionut {
    height: fit-content;
    padding-top: 20rem!important;
    padding-bottom: 15rem!important;
  }

  h1{
    font-size: 2.75rem;
  }

  h2{
    font-size: 2rem;
  }

  .section-green h2, .section-white h2{
    font-size: 2rem;
  }

  h3, h4{
    font-size: 1.5rem;
  }


  p, .btn, .form-check-label{
    font-size: 1rem;
  }

  .cardx h3{
    font-size: 2.5rem;
  }

}

/* Tablets (768px - 1024px) */
@media only screen and (max-width: 1024px) {


  .section-n{
    height: fit-content;
    margin-bottom: 5rem;
  }

  body{
    text-align: justify;
  }

  .navbar{
    background-color: transparent;
  }

  .footer-copy{
    text-align: center;
  }

  .footer-copy p{
    font-size: 1rem;
  }
}


@media only screen and (max-width: 1200px){
  .navbar.light {
    background-color: #176f3a;
  }
}


/* Teléfonos grandes (425px - 767px) */
@media only screen and (max-width: 767px) {


  h1{
    font-size: 2.5rem;
  }

  h2{
    font-size: 1.2rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  .section-green h2, .section-white h2{
    font-size: 2rem;
    text-align: center;
  }


  .section-green h3, .section-white h3{
    font-size: 1rem;
    text-align: center;
  }

  ..fa-brands{
    color: #fff;
    font-size: 2.5rem;
  }

  .section-img{
    height: 70vh;
    color: #000;
    background-attachment: scroll;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
  }


  h4, .btn, .form-check-label{
    font-size: .8rem;
  }

  p, li{
    font-size: 1rem!important;
  }

  th, td {
    font-size: .9rem;
  }

  .logo-home{
    width: 100%;
  }

  .cardx h3{
    font-size: 2rem;
  }

  .footer p{
    font-size: 0.8rem;
  }

  .footer h2{
    font-size: 1.5rem;
  }

  .footer h3{
    font-size: .85rem;
  }
  .flip-card-back h3 {
    font-size: 1.5rem; 
  }
}

/* Teléfonos medianos (375px - 424px) */
@media only screen and (max-width: 424px) {
  h1, h2, h3 {
    font-size: 1.25rem;
  }

  h4, p, .btn, .form-check-label {
    font-size: 0.8rem;
  }

}

/* Teléfonos pequeños (hasta 374px) */
@media only screen and (max-width: 374px) {
  h1, h2 {
    font-size: 1.1rem;
  }

  h3, h4, p, .btn {
    font-size: 0.8rem;
  }

}


.section-contacto h1{
  color: #fff;
}

.section-contacto h3{
  color: #fff;
}


.flip-card {
  background-color: transparent;
  width: 100%;      /* ajusta al tamaño que quieras */
  height: 450px;
  perspective: 1000px; /* da la profundidad para el efecto */
  border-radius: 15px;
  border-color: transparent;
  padding-top: 2rem!important;
  padding-bottom: 2rem!important;
  cursor: pointer;
}

.flip-card .btn{
  width: fit-content;
  font-size: .8rem;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 1s;
  transform-style: preserve-3d;

}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden; /* oculta la cara trasera */
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px;
}

/* Frente */
.flip-card-front {
  background: #fff;
  border: 1px solid #ddd;
}

/* Reverso */
.flip-card-back {
  background: #fff;
  transform: rotateY(180deg);
  border: 1px solid #ddd;
}

.flip-card-back {
  display: block;       
  width: 100%;           
  text-align: center;  
  position: relative;
  align-items: center;
  align-content: center;  
}

.img-border{
  border: solid;
  border-width: .05rem;
  border-color: #e9e9e9;
  border-radius: 1rem;
}

.img-gallery{
  display: block;
  width: 100%;
  height: 400px;
  transition: 0.5s ease;
  overflow: hidden;
  z-index: 2;
  cursor: pointer;
}

.img-mrg{
  padding-right:0;
  padding-left:0;
  overflow: hidden;
}

.img-mrg:hover .img-gallery:hover{
  transform:scale(1.02);
}

img.zoom {
  width: 100%;
  height: 200px;
  border-radius:5px;
  object-fit:cover;
  -webkit-transition: all .3s ease-in-out;
  -moz-transition: all .3s ease-in-out;
  -o-transition: all .3s ease-in-out;
  -ms-transition: all .3s ease-in-out;
}


.transition {
  -webkit-transform: scale(1.2); 
  -moz-transform: scale(1.2);
  -o-transform: scale(1.2);
  transform: scale(1.2);
}

.preview-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out;
  z-index: 1050; /* Asegura que esté por encima de otros elementos */
}

.preview-overlay.active {
  opacity: 1;
  visibility: visible;
}
.preview-img {
  max-width: 85%;
  max-height: 85%;
  box-shadow: 0px 0px 10px 10px rgba(0, 0, 0, .2);
}
.close-preview {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 3.5rem;
  color: #000;
  cursor: pointer;
}