.inicio-seccion {
  display: flex;
  flex-wrap: wrap;
  min-height: 100vh;
}

.inicio-col {
  flex: 1 1 50%;
  padding: 2rem;
  box-sizing: border-box;
}

.izquierda {
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.foto-psicologa {
  width: 40%;
}

.izquierda h1 {
  font-size: 2rem;
  color: #344e41;
  margin-bottom: 0.5rem;
}

.profesion {
  font-weight: bold;
  color: #6c757d;
  margin-bottom: 1rem;
}

.frase {
  font-style: italic;
  margin-bottom: 1rem;
  color: #5f5f5f;
}

.bio-contenido {
  margin-top: -5rem;
  z-index: 1;
  max-width: 100%;
}

.mensaje {
  text-align: center;
  font-size: 1.2rem;
  width: 100%;
  line-height: 1.5;
  color: #000000;
}

.logo-nombre {
  width: 90%;
}


/* Nueva fila de enfoque + emocional */
.fila-enfoque-emocional {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  gap: 2rem;
  padding: 3rem;
  box-sizing: border-box;
  align-items: stretch;
}

.enfoque,
.emocional {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-sizing: border-box;
}

.enfoque {
  flex: 0 0 25%;
  background-color: #f4f7f3;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
  display: flex;
  justify-content: center;
  align-items: center;  
  flex-direction: column;
  box-sizing: border-box;
}

.enfoque h3 {
  font-size: 1.3rem;
  color: #344e41;
  margin-bottom: 1rem;
}

.enfoque p {
  font-size: 1.1rem;
  color: #444;
  line-height: 1.7;
  display: flex;
  justify-content: center;  /* Centra horizontalmente */
  align-items: center;      /* Centra verticalmente */
  text-align: center;
  height: 100%; 
}

.emocional {
  flex: 0 0 75%;
  background-color: #f9f9f6;
  border-radius: 1rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  text-align: center;
  padding: 2rem;
  box-sizing: border-box;
}

.emocional h3 {
  font-size: 2rem;
  color: #344e41;
  margin-bottom: 1rem;
}

.emocional-intro {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 2rem;
}

.emocional-grid-dos {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-items: stretch;
}

.emocional-botones-col {
  flex: 1;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.boton-emocion {
  background-color: #ffffff;
  border: 2px solid #a3b18a;
  padding: 1rem 1.2rem;
  border-radius: 1rem;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.071);
}

.boton-emocion:hover {
  background-color: #a3b18a;
  color: #fff;
}

.respuesta-emocional {
  flex: 2;
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  border-radius: 1rem;
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.7;
  color: #2e3b2e;
  background-image: url('/assets/img/emocional.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.255);
}

.respuesta-emocional::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(2px);
  z-index: 0;
  border-radius: inherit;
}

#texto-emocional {
  position: relative;
  z-index: 1;
  max-width: 90%;
  margin: 0 auto;
  padding: 1rem;
  border-radius: 15px;
  background-color: rgba(255, 255, 255, 0.429);
  opacity: 1;
  transition: opacity 0.6s ease;
}

#texto-emocional.fade-out {
  opacity: 0;
}

#texto-emocional.fade-in {
  opacity: 1;
}

/* Hojas animadas */
.hojas-animadas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hoja {
  position: absolute;
  top: -20px;
  background: rgba(100, 160, 100, 0.15);
  border-radius: 50% 50% 40% 60% / 60% 40% 50% 50%;
  animation-name: caerHoja;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  opacity: 0;
  filter: blur(0.3px);
}

@keyframes caerHoja {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  100% {
    transform: translateY(120vh) rotate(360deg);
    opacity: 0;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .inicio-seccion {
    flex-direction: column;
  }

  .inicio-col {
    flex: 1 1 100%;
    padding: 1.5rem;
  }

  .foto-psicologa {
    width: 80%;
    margin: 0 auto 1rem;
  }

  .salud-mental {
    flex-direction: column;
    padding: 1.5rem;
  }

  .contenido-salud,
  .grafico-salud {
    padding: 0;
    text-align: center;
  }

  .grafico-salud img {
    margin: 1rem auto;
  }

  .fuente {
    text-align: center;
  }

  .fila-enfoque-emocional {
    flex-direction: column;
    padding: 2rem 1.5rem;
  }

  .emocional-grid-dos {
    flex-direction: column;
  }

  .respuesta-emocional {
    min-height: 200px;
  }
}
