/* Reset base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: #f2f4f8;
  color: #2b2b2b;
  line-height: 1.7;
  font-size: 1rem;
}

/* Enlaces */
a {
  text-decoration: none;
  color: inherit;
}

/* Hero */
.hero {
  background: linear-gradient(to right, #001219, #005F73);
  color: #ffffff;
  padding: 6rem 2rem;
  text-align: center;
}
.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.hero p {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}
.btn {
  background: #005F73;
  color: white;
  padding: 0.9rem 2rem;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  display: inline-block;
}
.btn:hover {
  background: #0A9396;
  transform: translateY(-2px);
}

/* Secciones */
section {
  padding: 4rem 2rem;
  max-width: 1100px;
  margin: auto;
}
h2 {
  font-size: 2.4rem;
  margin-bottom: 2rem;
  text-align: center;
  color: #005F73;
  position: relative;
}
h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: #94D2BD;
  margin: 0.5rem auto 0;
  border-radius: 2px;
}

/* Cards */
.servicios .cards {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.card {
  background: white;
  padding: 2rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}
.card:hover {
  transform: translateY(-6px);
}
.card h3 {
  margin-top: 0;
  color: #005F73;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}
.card p {
  color: #444;
  font-size: 1rem;
}

/* Nosotros */
.nosotros {
  background: #e9ecef;
  border-radius: 16px;
  padding: 3rem 2rem;
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.03);
}
.nosotros-contenido {
  max-width: 850px;
  margin: auto;
  font-size: 1.1rem;
  text-align: justify;
  color: #2b2b2b;
}

/* Contacto */
.contacto form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 1rem;
  max-width: 600px;
  margin-inline: auto;
}
.contacto input,
.contacto textarea {
  padding: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}
.contacto input:invalid,
.contacto textarea:invalid {
  border: 1px solid #e74c3c;
}

.contacto input:valid,
.contacto textarea:valid {
  border: 1px solid #2ecc71;
}

#estado-envio {
  font-weight: bold;
}

.contacto input:focus,
.contacto textarea:focus {
  border-color: #0A9396;
  outline: none;
}
.contacto button {
  padding: 1rem;
  border: none;
  background: #005F73;
  color: white;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.contacto button:hover {
  background: #0A9396;
}

/* Footer */
footer {
  background-color: #e0e0e0;
  text-align: center;
  padding: 1.5rem;
  font-size: 0.95rem;
  color: #2b2b2b;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.05);
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  .hero p {
    font-size: 1.1rem;
  }
}

