/* RESET BÁSICO */

@media (max-width: 786px) {
  .hero {
    height: auto;
    padding-top: 130px;  /* deja espacio debajo del menú blanco */
    padding-bottom: 50px;
  }

  .hero-content {
    margin-top: 0;
  }
    .botones {
    flex-direction: column;
    gap: 10px;
    align-items: center; /* centra los botones */
  }

  .botones a {
    width: 80%;        /* ancho responsive */
    text-align: center; /* texto centrado */
    padding: 12px 0;   /* reduce altura para que no se corte */
    font-size: 16px;    /* tamaño de texto adecuado */
  }
}
/* Oculto por defecto en escritorio */
.menu-toggle {
  display: none;
  font-size: 30px;
  cursor: pointer;
  color: #333;
}
@media (max-width: 768px) {

  /* NAVBAR */


  .logo-container h1 {
    font-size: 18px;
  }

  /* Mostrar botón menú */
  .menu-toggle {
    display: block;
  }

  /* Ocultar menú inicialmente */
.nav-links {
    position: absolute; /* menú flotante */
    top: 100%;          /* justo debajo del navbar */
    left: 0;
    width: 100%;
    background: #fff;
    display: none;
    flex-direction: column;
    gap: 20px;
    text-align: center;
    padding: 15px 0;
    z-index: 20;        /* sobre el hero */
  }

  .nav-links.active {
    display: flex;
  }

  .navbar-blanca {
    position: relative; /* para que nav-links absolute funcione dentro */
  }

  .nav-links li a {
    font-size: 18px;
    padding: 10px 0;
  }
  .hero-content{
    padding-top:150px;
  }

  /* HERO */
  .hero-content h2 {
    font-size: 26px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .botones {
    flex-direction: column;
    gap: 10px;
  }

  /* CARACTERISTICAS */
  .caracteristicas {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  /* SOBRE NOSOTROS */
  .sobre-contenido {
    flex-direction: column;
  }

  .sobre-imagen img {
    width: 100%;
    height: auto;
  }

  /* PLANTAS */
  .plantas-container {
    grid-template-columns: 1fr;
  }

  /* CERTIFICADOS */
  .certificados-container {
    flex-direction: column;
    align-items: center;
  }

  /* FOOTER */
  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
}

.wcs_button img {
    width: 40px;
    height: 40px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

body {
  background-color: #111;
  color: #fff;
}

/* ================================
   HEADER / NAVBAR
==================================*/
.navbar-blanca {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3rem;
    background-color: #fff;
    color: #000;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;           /* un poco más de espacio */
}

.logo-container h1 {
    font-size: 1.6rem;   /* tamaño equilibrado con el logo */
    font-weight: 700;
    color: #4c575f;
    text-decoration: none;
   
}


.link{
    text-decoration: none;
}
.logo {
    height: 80px;        /* Tamaño más grande */
    width: auto;         /* Mantiene proporción */
}


@media (min-width: 768px) {
.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    font-size: 20px;
}
}
.nav-links a {
    color: #4c575f;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #f79129;
}


/* --- BOTONES --- */

/* --- BOTONES --- */
.btn-amarillo {
    background: #f79129;
    color: #000;
    padding: 12px 20px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    margin-right: 10px;
}

.btn-amarillo:hover {
    background: #f79129;
}

.btn-transparente {
    border: 2px solid #fff;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 6px;
    transition: 0.3s;
}

.btn-transparente:hover {
    background: #fff;
    color: #000;
}

.btn-azul {
    background: #f79129;
    padding: 8px 15px;
    border-radius: 6px;
    color: #fff !important;
    font-weight: bold;
}

/* ================================
   HERO CON DEGRADADO
==================================*/
/* Hero/Header */
.hero {
    position: relative;
    background: url('fondo-servicio.jpeg') no-repeat center center/cover;
    height: 60vh; /* ajusta según quieras */
    margin: 0; /* quitar márgenes */
    padding: 0; /* quitar padding */
}


.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 180px;
  background: linear-gradient(to bottom, rgba(17,17,17,0) 0%, #fff 100%);
  z-index: 3;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
}

.hero-content {
  position: relative;
  z-index: 5;
  max-width: 700px;
  margin-top: 100px;
}

.hero-content h2 {
  font-size: 2.7rem;
  font-weight: 800;
  margin-bottom: 15px;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.subtitulo {
  color: #f79129;
  font-weight: 600;
  margin-bottom: 10px;
}

/* BOTONES */
.btn-amarillo {
  background: #f79129;
  color: #000;
  padding: 12px 20px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  margin-right: 10px;
}

.btn-transparente {
  border: 2px solid #fff;
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  transition: 0.3s;
}

.btn-transparente:hover {
  background: #fff;
  color: #000;
}

/* ================================
   SERVICIOS (MEJORADO CON ESTILO DE TARJETAS PREMIUM)
==================================*/
.servicios {
  padding: 6rem 7%;
  text-align: center;
  background: #f8f9fa;
}

.titulo-seccion {
  font-size: 2.5rem;
  margin-bottom: 3.5rem;
  color: #333;
  font-weight: 800;
  position: relative;
}

.titulo-seccion::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: #f79129;
  margin: 1rem auto 0;
  border-radius: 2px;
}

.servicio-card {
  background: #fff;
  border-radius: 18px;
  padding: 2.5rem;
  margin-bottom: 3.5rem;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  transition: .3s ease;
}

.servicio-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.servicio-card h3 {
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #4c575f;
}

.servicio-card p {
  font-size: 1rem;
  color: #666;
  margin-bottom: 2rem;
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
}

/* Galería con estilo pro */
.galeria-servicio {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.galeria-servicio img {
  width: 260px;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.12);
  transition: transform .3s, box-shadow .3s;
}

.galeria-servicio img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

/*footer*/
/* --- FOOTER --- */
.footer {
    background-color: #111;
    color: #fff;
    padding: 4rem 2rem 1.5rem;
    margin-top: 4rem;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    flex: 1 1 250px;
}

.footer-img {
    width: 120px;
    margin-bottom: 1rem;
}

.footer-logo p {
    color: #ccc;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Enlaces */
.footer-links h4,
.footer-contacto h4 {
    color: #f79129;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #f79129;
}

/* Contacto */
.footer-contacto p {
    color: #ccc;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.footer-contacto i {
    color: #f79129;
    margin-right: 8px;
}

/* Línea inferior */
.footer-bottom {
    text-align: center;
    border-top: 1px solid #333;
    margin-top: 3rem;
    padding-top: 1rem;
    color: #aaa;
    font-size: 0.9rem;
    text-decoration: none;
}
.footer-bottom a{
    text-decoration: none;
    
}




/* ================================
   RESPONSIVE
==================================*/
@media (max-width: 768px) {
  .galeria-servicio img {
    width: 45%;
  }

  .hero-content h2 {
    font-size: 2rem;
  }

  .navbar-blanca {
    padding: 1rem 3%;
  }
}

@media (max-width: 600px) {
  .galeria-servicio img {
    width: 100%;
  }
}
