/* RESET GENERAL */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #FDFCF8;
  color: #333333;
  font-size: 1.05em;
  line-height: 1.8;
}

/* HERO */
.hero {
  background: url('https://images.unsplash.com/photo-1556228893-4d56aa5000d4?auto=format&fit=crop&w=1500&q=80') no-repeat center center/cover;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
  padding: 40px 20px;
  color: #fff;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(168, 213, 186, 0.85); /* Verde salvia pastel con transparencia */
  z-index: 1;
}

.hero-texto {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero h1 {
  font-size: 2.6em;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2em;
  font-weight: 300;
  margin-bottom: 30px;
}

.btn {
  display: inline-block;
  background-color: #ffffff;
  color: #333333;
  padding: 14px 28px;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  font-size: 1.1em;
  border: 2px solid #A8D5BA;
  transition: background 0.3s ease, color 0.3s ease;
}

.btn:hover {
  background-color: #A8D5BA;
  color: #fff;
}

.btn.grande {
  font-size: 1.2em;
  padding: 16px 36px;
}

/* MAIN */
main.contenido {
  max-width: 900px;
  margin: auto;
  padding: 60px 20px;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

h2 {
  font-size: 1.7em;
  color: #2c2c2c;
  margin-bottom: 20px;
}

h3 {
  font-size: 1.3em;
  color: #4b6b5c;
  margin-top: 40px;
  margin-bottom: 15px;
}

p {
  margin-bottom: 20px;
}

ul {
  padding-left: 20px;
  margin: 20px 0;
}

ul li {
  margin-bottom: 10px;
}

.nota {
  font-style: italic;
  color: #666;
  margin-top: 20px;
}

/* TESTIMONIOS */
.testimonios {
  margin-top: 60px;
}

.testimonio {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  margin-bottom: 30px;
}

.testimonio img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid #A8D5BA;
}

.testimonio p {
  margin: 0;
  font-size: 1em;
}

/* CTA FINAL */
.cta-final {
  text-align: center;
  margin: 60px 0;
}

/* FOOTER */
.footer {
  background-color: #f3f3f3;
  padding: 30px 20px;
  text-align: center;
  font-size: 0.9em;
  color: #555;
}

.footer-links {
  margin-bottom: 10px;
}

.footer-links a {
  margin: 0 10px;
  color: #4b6b5c;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2em;
  }

  .hero p {
    font-size: 1em;
  }

  .btn {
    font-size: 1em;
    padding: 12px 24px;
  }

  .hero {
    height: auto;
    padding: 60px 20px;
  }

  main.contenido {
    padding: 40px 16px;
  }

  .testimonio {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
/* HERO CON FONDO COMPLETO */
.hero-fondo {
  position: relative;
  background: url('imagenes/protocolo-portada.png') no-repeat center center/cover;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
  color: #fff;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.35); /* Sombra para que el texto se lea bien */
  z-index: 1;
}

.hero-texto {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-texto h1 {
  font-size: 2.6em;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-texto p {
  font-size: 1.2em;
  font-weight: 300;
  margin-bottom: 30px;
}

@media (max-width: 768px) {
  .hero-texto h1 {
    font-size: 2em;
  }

  .hero-texto p {
    font-size: 1em;
  }

  .hero-fondo {
    height: auto;
    padding: 80px 20px;
  }
}

