.about-hero {
  position: relative;
  min-height: 90vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 50px;
  padding-bottom: 50px;
  background-color: #d1c2bb; /* fallback por si no carga la imagen */
}

/* Fondo borroso */
.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('../images/fotomiguel.jpg') center center no-repeat;
  background-size: cover; /* ocupa toda la sección */
  filter: blur(40px) brightness(0.7);
  z-index: 0;
}

/* Overlay para contraste */
.overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.25);
  z-index: 1;
}

/* Contenedor del contenido principal */
.content-above-bg {
  position: relative;
  z-index: 2;
  max-width: 700px;
  width: 100%;
  text-align: center;
  padding: 60px 20px;
}

/* Imagen principal delante */
.content-above-bg img.main-image {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  margin-bottom: 25px;
}

/* Caja de texto encima */
.about-content-box {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 25px 30px;
  border-radius: var(--border-radius-base);
  box-shadow: 0 4px 15px black;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  text-align: center;
}

/* Título principal */
.about-content-box h1 {
  font-size: 2.5rem; /* ~40px */
  font-weight: 700;
  margin-bottom: 1rem;
}

/* Párrafos (texto visible y desplegable) */
.about-content-box p,
.texto-oculto {
  font-size: 1.1rem; /* ~18px, más legible */
  line-height: 1.6;
  margin-top: 1rem;
  text-align: left;
}

/* Botón mostrar más */
.toggle-btn {
  margin-top: 1.5rem;
  padding: 10px 25px;
  background-color: black;
  color: var(--color-background);
  border: none;
  border-radius: var(--border-radius-base);
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.toggle-btn:hover {
  background-color: #dbbba6;
  color: white;
}

/* Texto oculto */
.texto-oculto {
  display: none;
}

/* Responsive */
@media (max-width: 767px) {
  .about-content-box h1 {
    font-size: 2rem;
  }

  .about-content-box p,
  .texto-oculto {
    font-size: 1rem;
  }
}
