/* === HERO (Nosotros) === */
.hero {
  background: linear-gradient(to bottom, #f9f9f9, #e0e0e0);
  padding: 6rem 1rem;
  text-align: center;
}
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: #0a0a0a;
  margin-bottom: 1rem;
}
.hero p {
  font-size: 1.25rem;
  color: #2c2c2c;
  margin-bottom: 2rem;
}

/* === SECCIÓN CONTENIDO PRINCIPAL === */
.nosotros-content {
  background-color: #f2f2f2;
  padding: 4rem 1rem;
}
.nosotros-content .container {
  max-width: 900px;
  margin: 0 auto;
  color: #1a1a1a;
  line-height: 1.75;
}
.nosotros-content h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #003366;
}

/* === SECCIÓN SOBRE NOSOTROS === */
.about-section {
  padding: 4rem 1rem;
  background-color: #ffffff;
}
.about-title {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 1rem;
  color: #0c3c26;
}
.about-intro {
  text-align: center;
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 3rem;
  color: #1e1e1e;
}
.about-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
}
.about-box {
  flex: 1 1 280px;
  min-width: 300px;
  max-width: 500px;
  background: #f5f5f5;
  padding: 2rem;
  border-left: 6px solid #004080;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.about-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}
.about-box h2,
.about-box h3 {
  margin-bottom: 1rem;
  color: #004080;
}
.about-box p {
  color: #2a2a2a;
  font-size: 1rem;
  line-height: 1.65;
}
.about-values {
  list-style: none;
  padding-left: 0;
}
.about-values li {
  margin-bottom: 0.75rem;
  font-size: 1rem;
  color: #222;
}


/* === CTA FINAL === */
.cta-final {
  background-color: #0b5e32;
  color: #ffffff;
  padding: 4rem 1rem;
  text-align: center;
}
.cta-final h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.cta-final p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #f0f0f0;
}
.cta-final a {
  background: #ffc107;
  color: #000000;
  padding: 1rem 2rem;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease;
}
.cta-final a:hover,
.cta-final a:focus {
  background: #e6b300;
  outline: 2px solid #222;
}

/* === SECCIÓN SERVICIOS (extra) === */
.services {
  padding: 4rem 1rem;
  background-color: #f9f9f9;
  text-align: center;
}
.section-title {
  font-size: 2.5rem;
  color: #187b51;
  margin-bottom: 0.5rem;
}
.section-subtitle {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.service-card {
  background: #ffffff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  text-align: left;
}
.service-card:hover {
  transform: translateY(-5px);
}
.service-card h2 {
  color: #0067a3;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}
.service-card p {
  color: #333333;
  font-size: 1rem;
}
.cta-service {
  margin-top: 4rem;
  background-color: #187b51;
  color: #ffffff;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
}
.cta-service h3 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}
.cta-service p {
  margin-bottom: 1rem;
}
.cta-service .btn-primary {
  background-color: #ffffff;
  color: #187b51;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}
.cta-service .btn-primary:hover {
  background-color: #f0f0f0;
}

/* === FORMULARIO CON CICLOS DE COLOR === */
.color-cycle-form .form-group.red {
  border-left: 4px solid #a30000;
  padding-left: 1rem;
  margin-bottom: 1.5rem;
}
.color-cycle-form .form-group.blue {
  border-left: 4px solid #003366;
  padding-left: 1rem;
  margin-bottom: 1.5rem;
}
.color-cycle-form .form-group.green {
  border-left: 4px solid #0b5e32;
  padding-left: 1rem;
  margin-bottom: 1.5rem;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero h1,
  .testimonios h2,
  .cta-final h2 {
    font-size: 1.75rem;
  }
  .hero p,
  .cta-final p {
    font-size: 1rem;
  }
  .nosotros-content {
    padding: 2rem 1rem;
  }
  .about-columns {
    flex-direction: column;
    gap: 1.5rem;
  }
  .about-box {
    padding: 1.5rem;
  }
}

/* WhatsApp flotante */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 50px;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  text-decoration: none;
  font-size: 1rem;
  z-index: 1000;
  transition: background 0.3s;
}

.floating-whatsapp-btn:hover {
  background: #1ebc5c;
}