
@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;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    color: #fff;
    background-color: #111;
    
}

/* --- NAVBAR CON FONDO BLANCO --- */
.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;
}

/* --- HERO --- */
.hero {
    position: relative;
    background: url('fondo-hormigonera.jpg') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    padding: 0 10%;
}
.hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 180px;
    background: linear-gradient(to bottom, rgba(17,17,17,0) 0%, #f8f9fa 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; /* separa el texto del header blanco */
}

.subtitulo {
    color: #f79129;
    font-weight: 600;
    margin-bottom: 10px;
}

.hero-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* --- 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;
}

/* --- CARACTERÍSTICAS --- */
/* --- SECCIÓN CARACTERÍSTICAS --- */
.caracteristicas {
    background: #f8f9fa;
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 2rem;
    padding: 4rem 2rem;
    flex-wrap: wrap;
}

.caracteristicas div {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 2rem;
    text-align: center;
    flex: 1 1 300px; /* se adaptan al tamaño del dispositivo */
    max-width: 350px;
    transition: all 0.3s ease;
}

/* efecto hover elegante */
.caracteristicas div:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* títulos dentro de las cajas */
.caracteristicas h3 {
    color: #f79129;
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
}

/* párrafos */
.caracteristicas p {
    color: #555;
    line-height: 1.6;
    font-size: 1rem;
}

.sobre-nosotros {
    background: #f8f9fa;
    padding: 6rem 5%;
}

.sobre-contenido {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Imagen con etiqueta amarilla */
.sobre-imagen {
    position: relative;
    flex: 1 1 450px;
}

.sobre-imagen img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    object-fit: cover;
}

.experiencia {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: #f79129;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    text-align: center;
    color: #000;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.experiencia .numero {
    font-size: 2rem;
    display: block;
}

/* Texto */
.sobre-texto {
    flex: 1 1 500px;
}

.sobre-texto h4 {
    color: #4c575f;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.sobre-texto h2 {
    font-size: 2rem;
    color: #000;
    font-weight: 800;
    margin-bottom: 20px;
}

.sobre-texto p {
    color: #333;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.sobre-texto .btn-amarillo {
    display: inline-block;
    background: #f79129;
    color: #000;
    font-weight: 600;
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
    margin-top: 10px;
    transition: background 0.3s;
}

.sobre-texto .btn-amarillo:hover {
    background: #fcb772;
}

/* Iconos */
.sobre-iconos {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.icono-card {
    background: #fff;
    border-radius: 15px;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    font-weight: 500;
    color: #333;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.icono-card i {
    font-size: 1.5rem;
    color: #f79129;
}

.icono-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}


/* --- SECCIÓN PLANTAS --- */
.plantas {
    background: #fff;
    padding: 6rem 5%;
    text-align: center;
}

.titulo-seccion {
    font-size: 2rem;
    font-weight: 800;
    color: #333;
    margin-bottom: 3rem;
    position: relative;
}

.titulo-seccion::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background: #f79129; /* color corporativo */
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* contenedor de las tarjetas */
.plantas-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

/* tarjeta individual */
.planta-card {
    background: #f8f9fa;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    max-width: 500px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.planta-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* imagen */
.planta-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* info */
.planta-info {
    padding: 1.5rem;
    text-align: left;
}

.planta-info h3 {
    color: #4c575f;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.planta-info p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

.planta-info .btn-amarillo {
    background: #f79129;
    color: #000;
    padding: 10px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
}

.planta-info .btn-amarillo:hover {
    background: #e67d00;
}
/* --- CERTIFICADOS --- */
.certificados {
    background: #f8f9fa;
    padding: 6rem 5%;
    text-align: center;
}

.subtitulo-certificados {
    color: #555;
    font-size: 1.1rem;
    margin-top: 0.5rem;
    margin-bottom: 3rem;
}

.certificados-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.certificado-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    max-width: 300px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.certificado-card img {
    width: 100%;
    height: auto;
    object-fit: contain;
    background: #fff;
}

.certificado-card p {
    padding: 1rem;
    font-weight: 600;
    color: #333;
}

.certificado-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Responsive */
@media (max-width: 768px) {
    .certificados-container {
        flex-direction: column;
        align-items: center;
    }

    .certificado-card {
        max-width: 90%;
    }
}



/*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) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-logo, .footer-links, .footer-contacto {
        flex: 1 1 100%;
    }
}

