body {
  margin: 0;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #498957;
  background: hsl(0, 10%, 96%);
}

/* Header */
header {
  background: #ffffff;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}
nav a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
}

/* Hero */
/* Hero con imagen de fondo */
.hero {
  position: relative;
  text-align: center;
  padding: 6rem 1rem; /* espacio arriba y abajo */
  color: white;
  background-image: url('assets/herofondo.jpg'); /* ruta a tu imagen */
  background-size: cover; /* ajusta la imagen al tamaño del contenedor */
  background-position: center; /* centra la imagen */
  background-repeat: no-repeat;
  border-radius: 15px;
  margin: 2rem; /* opcional, si quieres separar del resto de la página */
}


/* Texto dentro del hero */
.hero h2, .hero p {
  position: relative;
  z-index: 1;
}


/* Secciones */
section {
  padding: 3rem 1rem;
}
h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: #4f644f;
}

/* Cards */
.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

/* Logo */
.logo img {
  height: 90px; /* Ajusta este valor al tamaño que quieras */
  width: auto;  /* Mantiene la proporción original */
}


.card {
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(150, 146, 146, 0.05);
  padding: 1.5rem;
  max-width: 300px;
  text-align: center;
}
.card img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 1rem;
}
.card span {
  display: block;
  margin-top: 1rem;
  font-weight: bold;
  color: #3ca745;
}

/* Testimonios */
.testimonial {
  font-style: italic;
  color: #555;
}

/* Formulario */
form {
  max-width: 400px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
input, textarea, button {
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 12px;
}
button {
  background: #7aa095;
  color: white;
  border: none;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}
button:hover {
  background: #5f8276;
}

/* Contacto */
#contacto p {
  text-align: center;
  margin: 0.5rem 0;
}
#contacto a {
  color: #7aa095;
  text-decoration: none;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem 1rem;
  background: #ffffff;
  color: #777;
  margin-top: 2rem;
  box-shadow: 0 -2px 5px rgba(0,0,0,0.05);
}

/* Sección ¿Qué puedo sanar? */
#acordeon, #que-puedo-sanar {
  padding: 3rem 1rem;
  background: #f9f9f9;
}
#que-puedo-sanar h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: #555;
}

/* Acordeón */
.acordeon-item {
  margin: 1rem auto;
  max-width: 600px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  overflow: hidden;
  background: #fff;
}

/* Botón título */
.acordeon-titulo {
  width: 100%;
  text-align: left;
  padding: 1rem;
  background: #7aa095;
  color: white;
  border: none;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}
.acordeon-titulo:hover {
  background: #5f8276;
}

/* Contenido oculto por defecto */
.acordeon-contenido {
  max-height: 0;
  overflow: hidden;
  padding: 0 1rem;
  background: #fff;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

/* Contenido visible */
.acordeon-item.activo .acordeon-contenido {
  max-height: 200px; /* ajusta según contenido */
  padding: 1rem;
}

/* Fondo exclusivo para la página de gracias */
body.gracias {
  background: url('assets/fondito.jpg') no-repeat center center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
}

/* Caja transparente con animación */
.gracias-box {
  background: rgba(255, 255, 255, 0.6); /* blanco semi-transparente */
  padding: 40px;
  border-radius: 16px;
  max-width: 500px;
  margin: auto;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  animation: fadeInUp 1s ease forwards;
}
.gracias-box p {
  color: #333333; /* cambia a cualquier color que quieras */
  font-size: 1.1em;
  margin-bottom: 20px;
}

/* Botón WhatsApp */
.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #45a049;
  padding: 12px 20px;
  border-radius: 8px;
  color: rgb(255, 255, 255);
  text-decoration: none;
  font-weight: bold;
  margin-top: 10px;
  transition: background 0.3s;
}


.whatsapp-btn:hover {
  background: #ffffff;
}
.whatsapp-btn img {
  width: 24px;
  height: 24px;
}

.gracias-box a.volver-inicio {
  display: inline-block;
  padding: 12px 24px;
  background: #45a049;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  margin: 5px;
  transition: background 0.3s;
}

.gracias-box a.volver-inicio:hover {
  background: #45a049;
}