/* General */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: #f9f9f9;
  color: #333;
}

.header {
  background: #2e7d32;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 1.5rem;
  font-weight: 600;
}

.menu-toggle {
  display: none;
  font-size: 28px;
  color: white;
  cursor: pointer;
}

.menu {
  display: flex;
  gap: 20px;
}

.menu a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .menu {
    display: none;
    flex-direction: column;
    background-color: #2e7d32;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    padding: 1rem;
  }

  .menu.menu-abierto {
    display: flex;
  }

  .menu a {
    margin: 10px 0;
    font-size: 1.1rem;
  }
}

.hero {
  background: url('Banner1.JPG') no-repeat center center/cover;
  color: white;
  text-align: center;
  padding: 5rem 2rem;
}

.hero-content {
  background-color: rgba(0, 0, 0, 0.5);
  display: inline-block;
  padding: 2rem;
  border-radius: 20px;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  margin: 10px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s;
}

.btn.whatsapp {
  background-color: #25D366;
  color: white;
}

.btn.correo {
  background-color: #2196F3;
  color: white;
}

.stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  background: #e8f5e9;
  padding: 2rem;
  font-size: 1.2rem;
  text-align: center;
  font-weight: 600;
}

.testimonios {
  padding: 3rem 2rem;
  background: #ffffff;
  text-align: center;
}

.titulo-seccion {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.contenedor-testimonios {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.card-testimonio {
  background: #f4f4f4;
  width: 300px;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.icono-cliente {
  font-size: 40px;
  margin-bottom: 1rem;
}

.comentario {
  font-style: italic;
  font-size: 1rem;
  color: #444;
  margin-bottom: 1rem;
}

.nombre-cliente {
  font-weight: bold;
  color: #2e7d32;
}

.galeria {
  padding: 3rem 2rem;
  text-align: center;
  background: #f9f9f9;
}

.contenedor-galeria {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.card-galeria {
  width: 300px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.media-ajustada {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.desc-galeria {
  padding: 12px;
  font-size: 0.95rem;
  color: #444;
  background-color: #f2f2f2;
  text-align: center;
  line-height: 1.5;
  word-wrap: break-word;
}

.certificaciones {
  padding: 3rem 2rem;
  background: #fffde7;
  text-align: center;
}

.contenedor-cert {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 1rem;
}

.cert {
  background: #fff;
  border: 2px solid #fbc02d;
  padding: 1rem 2rem;
  border-radius: 10px;
  font-weight: bold;
}

.promos {
  background: #e3f2fd;
  padding: 2rem;
  text-align: center;
}

.horario {
  background: #ede7f6;
  padding: 2rem;
  text-align: center;
}

.form-cotizacion {
  max-width: 500px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  background: #f4f4f4;
  border-radius: 10px;
}

.form-cotizacion input,
.form-cotizacion select,
.form-cotizacion textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  background-color: #f9f9f9;
}

.form-cotizacion button {
  background-color: #2e7d32;
  color: white;
  border: none;
  padding: 14px;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
}

.consejos {
  background: #f1f8e9;
  padding: 2rem;
}

.consejos ul {
  list-style: none;
  padding: 0;
  max-width: 600px;
  margin: auto;
}

.consejos li {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  text-align: center;
}

.footer {
  background: #2e7d32;
  color: white;
  text-align: center;
  padding: 1rem;
}

.modal-exito {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-contenido {
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  text-align: center;
  font-size: 1.1rem;
  font-weight: bold;
  color: #2e7d32;
}

.icono-check {
  width: 60px;
  height: 60px;
  stroke: #4caf50;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: check-circulo 0.6s ease-out forwards;
  margin: auto;
  display: block;
  margin-bottom: 10px;
}

.check {
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: check-anim 0.4s 0.3s forwards;
}

@keyframes check-anim {
  to { stroke-dashoffset: 0; }
}

@keyframes check-circulo {
  from { stroke-dasharray: 0, 157; }
  to { stroke-dasharray: 157, 0; }
}

h2 {
  text-align: center;
}
//* Sección de Opiniones */
.opiniones {
  background: #f0f8f5;
  padding: 50px 20px;
  text-align: center;
}

.opiniones h2 {
  font-size: 28px;
  margin-bottom: 30px;
  color: #2e7d32;
}

/* Formulario */
.formulario-opinion {
  max-width: 600px;
  margin: 0 auto 40px auto;
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: left;
}

.formulario-opinion .grupo-formulario {
  margin-bottom: 20px;
}

.formulario-opinion label {
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
  color: #333;
}

.formulario-opinion input,
.formulario-opinion textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
  font-family: 'Poppins', sans-serif;
  box-sizing: border-box;
}

.formulario-opinion textarea {
  resize: vertical;
  min-height: 120px;
}

.formulario-opinion button {
  background: #2e7d32;
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.formulario-opinion button:hover {
  background: #256029;
}

/* Opiniones recientes */
.opiniones-recientes {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.opinion {
  background: #fff;
  padding: 20px 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  text-align: left;
}

.opinion p {
  margin: 6px 0;
  font-size: 15px;
  color: #444;
}

.opinion .fecha {
  font-size: 13px;
  color: #888;
}
