/* Variables */
@font-face {
    font-family: "FontAwesome";
    font-style: normal;
    font-display: swap;
    font-weight: normal;
    src: url('../fontawesome-webfont.eot?#iefix') format("embedded-opentype"), url("../fonts/fontawesome-webfont.woff") format("woff"), url("../fonts/fontawesome-webfont.ttf") format("truetype"), url("http://netdna.bootstrapcdn.com/font-awesome/4.7.0/fonts/fontawesome-webfont.svg#FontAwesome") format("svg");
    font-weight: normal;
    font-style: normal
}
@font-face {
    font-family: 'Montserrat';
    src: url('Montserrat-BlackItalic.eot');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('Montserrat-BoldItalic.eot');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('Montserrat-Bold.eot');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('Montserrat-ExtraBold.eot');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('Montserrat-Black.eot');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('Montserrat-ExtraLight.eot');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('Montserrat-Italic.eot');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('Montserrat-ExtraBoldItalic.eot');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('Montserrat-ExtraLightItalic.eot');
    font-weight: 200;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('Montserrat-LightItalic.eot');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('Montserrat-Medium.eot');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('Montserrat-Light.eot');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('Montserrat-MediumItalic.eot');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('Montserrat-SemiBold.eot');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('Montserrat-Regular.eot');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('Montserrat-SemiBoldItalic.eot');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('Montserrat-ThinItalic.eot');
    font-weight: 100;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('Montserrat-Thin.eot');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}


    :root {
      --font-size:1rem;
    }
    .light-mode {
      --navbar-color: #fff;
      --navbar-bg-color: #0a738c;  
    }
    .dark-mode {
      --navbar-color: #6f6f6f;
      --navbar-bg-color: #fff;  
    }

    /* Reset */
    * {
      box-sizing:border-box; 
      outline:none;
      margin:0;
      padding:0;
    }
    ul {
      list-style:none;
    }
    p{
        margin-bottom: 1ex;
    }

    /* Basic style */
    body {
      margin:0;
      font-size:var(--font-size);
      font-family: 'MONSERRAT', sans-serif;

    .main-content {
      padding:1rem;
    }
/*redes*/
.barra-redes {
  position: fixed;
  top: 35%;
  left: 0;
  background-color: #00452e;
  padding: 1rem 0.4rem;
  border-top-right-radius: 30px;
  border-bottom-right-radius: 30px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.barra-redes .icono {
  width: clamp(35px, 4vw, 40px);
  height: clamp(35px, 4vw, 40px);
  background-color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00452e;
  text-decoration: none;
  transition: transform 0.3s ease, background 0.3s ease;
  font-size: clamp(16px, 2.5vw, 22px);
}

.barra-redes .icono:hover {
  transform: scale(1.1);
  background-color: #e0e0e0;
}

.barra-redes .whatsapp {
  color: #25D366;
}
@media (max-width: 480px) {
  .barra-redes {
    display: none;
  }
}


    /* Navbar */
    .navbar {  
      display:flex;
      align-items:center; 
      justify-content:space-between;   
      padding:20px 50px 10px 50px;
      font-size:1.1rem;
      background:var(--navbar-bg-color);
      color:#66a545;
      position: fixed;
      top: 0;
      width: 100%;
      z-index: 1000; /* Asegúrate de que esté por encima de otros elementos */
      padding: 10px 20px;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5); /* Añade una sombra para destacar */
      height: auto;
      font-weight: 700;
      }
      .navbar__links { 
      display:flex;  
    }
    .navbar__link { 
      padding:0 10px;
    }
    .navbar__link > a {
    color: #66a545;
    text-decoration: none;
    }

    .navbar__logo{
        width:calc(100vw - 90%);  
    }
    .navbar__logo img{
        width: 100%;
    }
    .burger {
      display:none;
    }

    /*  Small device */
    @media screen and (max-width:767.98px) {
      .navbar__links { 
        overflow:hidden;
        display:flex;
        flex-direction:column;
        width:0;
        height:calc(100vh - 65px);  
        position:absolute;
        top:65px;
        right:0;     
        background:var(--navbar-bg-color);     
        transform: translateX(110%);
        transition: all .5s ease-in-out;
      }
      .show-nav .navbar__links { 
        
        width:100vw;    
        transform: translateX(0);
      } 
      .navbar__link {    
        transform: translateX(101%);
        transition: all .5s ease-in-out;
      }
      
      .show-nav .navbar__link  {        
        transform: translateX(0);    
      }   
      .navbar__link > a {
        display:block;
        padding:1rem;
        font-size:1.6rem;
        color:var(--navbar-color);  
        transition: all .4s ease-in-out;
      }
      .navbar__link > a:hover {
        padding-left:2rem;
        letter-spacing:5px;
      }
      .navbar__logo{
        width:calc(100vw - 75%);  
    }

      /* Toggle menu */
      .burger {
        display:block;
        position:relative;
        padding:0;
        width:45px;
        height:45px;
        border:none;
        background:transparent;
        cursor:pointer;
      }
      .bar {
        display:block;    
        width:45px;
        height:4px;  
        border-radius:3px;
        background:var(--navbar-color); 
        transition: all .5s ease-in-out;   
      }
      .bar::before, .bar::after {
        content:"";
        width:45px;
        height:4px;
        position:absolute; 
        left:0;  
        background:var(--navbar-color); 
        border-radius:3px;    
        transition: all .5s ease-in-out;
      }
      .bar::before {
        transform:translateY(-12px)
      }
      .bar::after {
        transform:translateY(12px)
      }
      .show-nav .bar {
        width:0;
        background:transparent;    
      }
      .show-nav .bar::before {
        transform:rotate(45deg);
      }
      .show-nav .bar::after {
        transform:rotate(-45deg);
      }
      
      /* Bonus - Animations */
      .show-nav .first {      
        transition: all 1s ease-out;
      } 
      .show-nav .second {      
        transition: all 1.1s ease-out;
      } 
      .show-nav .third {      
        transition: all 1.2s ease-out;
      } 
      .show-nav .four {      
        transition: all 1.3s ease-out;
      } 
      .show-nav .fifth {      
        transition: all 1.4s ease-out;
      }
    }

    /*  Medium device - Bonus */
@media screen and (min-width:768px) {
  .navbar__link > a::after {
    display: block;
    content: "";
    width: 0;
    height: 2px;
    background: transparent;
    transition: width .4s, background .4s;
  }

  .navbar__link:hover > a::after {
    width: 100%;
    background: #0265a8;
  }
}
/*btn slider*/
.btn {
  position: absolute;
  bottom: 20%;
  left: 9%;
  transform: translateX(-50%);
  background: #76b82a;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 12px;
  display: inline-block;
  z-index: 7;
}
.btn:hover {
  background: #4d7c32;
}

/*plagas*/
h2{
    font-size: 2.1rem;
    font-family: 'MONSERRAT', sans-serif;
    font-weight: 700;
}
.plagas-section {
    text-align: center;
    padding: 3rem 1rem 4rem;
    background: #fff;
  }
  .highlight {
    color: #66a545;
  }
  .subtitle {
    font-size: 1.2rem;
    color: #888;
    margin: 0.5rem auto 2rem;
    max-width: 700px;
    font-family: 'MONSERRAT', sans-serif;
  }
  .plaga-card {
    padding: 1rem;
  }
  .plaga-card p{
    width: 90%;
    font-size: 0.93rem;
  }
  .plaga-img {
    width: 180px;
    height: 180px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    border: 8px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  .plaga-img img {
    max-width: 100%;
    height: auto;
  }
  h3 {
    font-size: 1rem;
    font-weight: bold;
  }
  p {
    font-size: 1em;
    color: #777;
  }
.custom-dots {
  text-align: center;
}

.custom-dots li {
  display: inline-block;
  margin: 0 5px;
}

.custom-dots button {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: #0066a8; /* azul */
  opacity: 0.5;
  border: none;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.custom-dots .slick-active button {
  opacity: 1; /* más opaco (visible) cuando está activo */
}
.slick-dots {
  bottom: 0px!important;
}
/* NOSOTROS */
.nosotros {
  width: 100%;
  position: relative;
  background-image: url("../images/fondo.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 3rem 0rem 0rem;
}

.nosotros h2 {
  text-align: center;
  color: #000;
  font-size: 2rem;
}

.nosotros-contenido {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.somos {
  width: 40%;
  position: relative;
  padding-bottom: 2%;
}
}

.somos p {
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.6;
}

.fumigador-img {
  flex: 1 1 300px;
  max-width: 45%;
}

.fumigador-img img {
  height: auto;
  display: block;
}

.btn2 {
  position: relative;
  background: #76b82a;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 12px;
  display: inline-block;
  margin-top: 2%;
}

.btn2:hover {
  background: #4d7c32;
}

.beneficios {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  padding: 2rem 1rem;
}

.beneficio {
  display: flex;
  align-items: flex-start;
  background-color: #f7faf5;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 0 8px rgba(0,0,0,0.05);
  max-width: 500px;
  flex: 1 1 300px;
  gap: 1rem;
}

.beneficio .icono img {
  width: 48px;
  height: auto;
}

.beneficio .contenido h3 {
  color: #388e3c;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.beneficio .contenido p {
  color: #444;
  font-size: 0.95rem;
  line-height: 1.4;
}
.beneficio ul {
  list-style-type: disc;
  padding-left: 20px;
  margin: 20px 0;
  color: #444;
}
@media (max-width: 768px) {
  .beneficios {
    flex-direction: column;
    align-items: center;
  }

  .beneficio {
    flex-direction: row;
    max-width: 100%;
  }
}


/* Responsive para pantallas medianas */
@media (max-width: 992px) {
  .nosotros-contenido {
    flex-direction: column;
  }

  .somos,{
    width: 100%;
  }

  .fumigador-img {
    order: -1; /* Mueve la imagen arriba si se quiere */
    margin-bottom: 2rem;
  }

  .somos {
    padding: 0 1rem;
  }

  .btn2 {
    margin-top: 1.5rem;
  }
}


/*inmuebles*/
.btn3 {
  position: relative;
  background: #76b82a;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 12px;
  display: inline-block;
  margin-top: 2%;
}
.btn3:hover {
  background: #4d7c32;
}
.cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px 0px 20px 0px;
  }
  .card {
   width: 220px;
  background: #F1F2F2;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  padding: 15px;
  position: relative;
  transition: transform 0.3s;
  }
  .card:hover {
    transform: translateY(-5px);
  }
  .card img.pin {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
  }
  .card img.main {
    width: 100%;
    border-radius: 6px;
    height: 120px;
    object-fit: cover;
    margin-top: 20px;
  }
  .card h3 {
    margin: 10px 0 5px;
    font-size: 1rem;
    font-weight: bold;
  }
  .card p {
    font-size: 0.9rem;
    color: #666;
  }
.inmuebles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  justify-items: center;
  width: 80%;
  margin: 0 auto;
}
@media (max-width: 1024px) {
  .inmuebles-grid {
    grid-template-columns: repeat(3, 1fr);
    justify-items: center;
  }
}

@media (max-width: 668px) {
  .inmuebles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.inmueble-card {
  width: 100%;
  max-width: 220px;
  background: #F1F2F2;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  padding: 15px;
  position: relative;
  transition: transform 0.3s;
  margin-bottom: 20px;
}

.inmueble-card:hover {
  transform: translateY(-5px);
}

.inmueble-card img.pin {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
}

.inmueble-card img.main {
  width: 100%;
  border-radius: 6px;
  height: 120px;
  object-fit: cover;
  margin-top: 20px;
}

.inmueble-card h3 {
  margin: 10px 0 5px;
  font-size: 1rem;
  font-weight: bold;
}

.inmueble-card p {
  font-size: 0.9rem;
  color: #666;
}

  .button-container {
    margin: 40px 0;
  }

  @media (max-width: 768px) {
    .card {
      width: 90%;
    }
  }

  
    /*contacto*/
      .form-section {
      max-width: 1100px;
      margin: auto;
      display: flex;
      flex-wrap: wrap;
      gap: 40px;
      background: white;
      padding: 30px;
      border-radius: 10px;
    }

    .form-info {
      flex: 1;
      min-width: 280px;
      color: #444;
    }

    .form-info h3 {
      font-weight: bold;
      font-size: 1.1rem;
      margin-bottom: 10px;
    }

    .form-info p {
      margin: 10px 0;
      font-size: 0.95rem;
    }

    .phone-list {
      font-weight: bold;
      font-size: 1.4rem;
      margin-top: 15px;
    }

    .phone-icon {
      width: 50px;
      vertical-align: middle;
      margin-right: 40px;
    }

    .form-fields {
      flex: 1;
    }

    .form-fields label {
      font-weight: bold;
      font-size: 0.9rem;
      color: #0066A8;
      display: block;
      margin: 15px 0 5px;
    }

    .form-fields input,
    .form-fields select,
    .form-fields textarea {
      width: 100%;
      padding: 10px;
      font-size: 0.9rem;
      border: 1px solid #ccc;
      border-radius: 5px;
      resize: vertical;
    }

    .form-fields textarea {
      height: 80px;
    }

    .form-fields button {
      margin-top: 25px;
      background-color: #76b82a;
      color: white;
      font-weight: bold;
      padding: 10px 25px;
      border: none;
      border-radius: 12px;
      font-size: 1rem;
      cursor: pointer;
      transition: background 0.3s;
    }

    .form-fields button:hover {
      background-color: #469c39;
    }

    @media (max-width: 768px) {
      .form-section {
        flex-direction: column;
      }
    }
    .contacto{
    padding: 3rem 1rem 4rem;
    background: #fff;
    }
    .contacto h2{
 text-align: center;
    }
    h3 {
      margin: 15px 0 5px;
    }
    .contacto p{
      color:#A7A9AC;
      font-weight: bold;
    }
    .telefono{
      display: inline-block;
      vertical-align: middle;
      font-weight: bold;
      color: #000000;
    }
    .telefono a {
  color: inherit;       /* Usa el color del texto del contenedor */
  text-decoration: none;
}

.telefono a:hover {
  text-decoration: underline;
  color: #60A74B;       /* O el color que prefieras para hover */
}

    /*footer*/

    footer{
      background-color: #60A74B;
      padding: 1% 0;
    }
    footer p {
  color: #ffffff;
  display: block;
  text-align: center;
}


/*plaguicida*/
.plaguicida{
  text-align: center;
    padding: 0rem 1rem 4rem;
    background: #fff;
}
    .ingredientes-container {
      max-width: 900px;
      margin: auto;
      background: white;
      border-radius: 12px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.2);
      padding: 30px;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 40px;
      margin-top: 2%;
    }

    .ingrediente-col h2 {
      font-size: 1.4em;
      color: #0066a1;
      border-bottom: 2px solid #eee;
      padding-bottom: 8px;
      margin-bottom: 16px;
    }

    .categoria {
      margin-bottom: 20px;
    }

    .categoria strong {
      color: #0066a1;
      font-size: 1.05em;
      display: block;
      margin-bottom: 6px;
      text-align: left;
    }

    .categoria ul {
      list-style: none;
      padding: 0;
      margin: 0;
    }

    .categoria ul li {
      padding: 4px 0;
      border-bottom: 1px dashed #ccc;
    }

    @media (max-width: 768px) {
      .ingredientes-container {
        grid-template-columns: 1fr;
      }
    }
        .plaga-section {
      display: flex;
      flex-wrap: wrap;
      width: 100%;
    }

    .plaga-imga {
      flex: 1;
      background: url('../images/fumigacion.jpg') center/cover no-repeat;
      min-height: 400px;
    }

    .plaga-text {
      flex: 1;
      background-color: #0066A8;
      color: white;
      padding: 60px 40px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      max-width: 900px;
      margin: auto;
      line-height: 1.6;
    }

    .plaga-text h2 {
      font-size: 2.5em;
      font-weight: bold;
      margin-bottom: 20px;
    }

    .plaga-text h3 {
      font-size: 1.3em;
      font-weight: bold;
      margin-bottom: 10px;
    }

    .plaga-text p {
      font-size: 1em;
      line-height: 1.6;
      margin-bottom: 15px;
      color: white;
    }
    .plaga-text ul{
      margin: 20px 0;
      padding-left: 20px;
      list-style-type: disc;
    }

    @media (max-width: 768px) {
      .plaga-section {
        flex-direction: column;
      }

      .plaga-text {
        padding: 30px 20px;
      }

      .plaga-text h2 {
        font-size: 2em;
      }
    }


.tecnicas-aplicacion {
  width: 100%;
  padding: 3rem 0rem;
}

.contenedor-tecnicas {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: stretch; /* Asegura que ambas columnas tengan la misma altura */
  margin: 0 auto;
  gap: 2rem;
}

.aplicacion-texto {
flex: 1 1 55%;
  max-width: 45%;
  font-size: 1rem;
  left: 8%;
  position: relative;
}

.aplicacion-texto h2 {
  text-align: left;
  margin-bottom: 1.5rem;
}

.aplicacion-texto ul {
  list-style-type: disc;
  padding-left: 20px;
  margin: 20px 0;
  color: #0066a1;
  font-weight: bold;
}

.aplicacion-texto ul li {
  padding: 4px 0;
  border-bottom: 1px dashed #ccc;
}

.aplicacion-imgs-small {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.aplicacion-imgs-small img {
  width: 100%;
  max-width: 150px;
  border-radius: 10px;
  object-fit: cover;
  transition: transform 0.3s ease;
  margin: 0 auto;
}

.aplicacion-imgs-small img:hover {
  transform: scale(1.05);
}

.aplicacion-img-large {
  flex: 1 1 auto; /* <-- Toma todo el espacio restante */
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 45%; /* Para mantener equilibrio visual */
}

.aplicacion-img-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Responsive */
@media (max-width: 768px) {
  .contenedor-tecnicas {
    flex-direction: column;
  }

  .aplicacion-texto,
  .aplicacion-img-large {
    flex: 1 1 100%;
    max-width: 85%;
  }

  .aplicacion-texto h2 {
    text-align: center;
  }

  .aplicacion-imgs-small {
    justify-content: center;
  }
}
.tecnicas-de-aplicacion {
  padding:1rem;
  color: #333;
}

.tecnicas-de-aplicacion h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.tecnicas-de-aplicacion h3 {
  text-align: center;
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 2rem;
}

.highlight {
  color: #5aa33d;
}

.contenido-aplicacion {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.texto-aplicacion {
  flex: 1 1 55%;
  max-width: 55%;
  font-size: 1rem;
}

.texto-aplicacion h4 {
  font-weight: bold;
  margin-top: 1.5rem;
}

.tecnicas-lista {
  list-style-type: disc;
  padding-left: 1.5rem;
  color: #0066a1;
  font-weight: bold;
  margin-bottom: 1.5rem;
}

.tecnicas-lista li {
  padding: 6px 0;
  border-bottom: 1px dashed #ccc;
}

.imagen-aplicacion {
  flex: 1 1 40%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.imagen-aplicacion img {
  max-width: 100%;
  border-radius: 10px;
  object-fit: cover;
}

/* Responsive */
@media (max-width: 768px) {
  .contenido-aplicacion {
    flex-direction: column;
  }

  .texto-aplicacion,
  .imagen-aplicacion {
    max-width: 100%;
    flex: 1 1 100%;
  }

  .tecnicas-de-aplicacion h2,
  .tecnicas-de-aplicacion h3,
  .texto-aplicacion h4 {
    text-align: center;
  }

  .tecnicas-lista {
    text-align: center;
    padding-left: 0;
  }
}

