#acerca {
  position: relative;
  padding: 100px 0;
  min-height: 100vh;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  overflow: hidden;
}

/* Fondo principal con la imagen */
#acerca::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../assets/img/sfondo1.webp") no-repeat center center;
  background-size: cover;
  z-index: -2; /* más atrás que la bruma */
}

/* Capa de bruma animada encima del fondo */
#acerca::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.25), rgba(255,255,255,0) 70%) repeat;
  background-size: 400px 400px;
  animation: brumaMoverAcerca 50s linear infinite;
  opacity: 0.45;
  z-index: -1; /* detrás del contenido pero encima del fondo */
  pointer-events: none;
}

@keyframes brumaMoverAcerca {
  from { transform: translate(0, 0); }
  to   { transform: translate(-200px, -100px); }
}

.acerca-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
  gap: 4rem;
  flex-wrap: wrap;
  color: #2c3e50;
  position: relative; /* para que quede sobre la bruma */
  z-index: 2;
}

.acerca-imagen {
  flex: 1 1 500px;
  max-width: 600px;
}

.acerca-imagen img {
  width: 100%;
  height: auto;
  transform: rotate(2deg);
}

.acerca-contenido {
  flex: 1 1 500px;
  max-width: 600px;
}

.acerca-contenido h2 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  font-family: 'Montserrat', sans-serif;
  color: #1abc9c;
}

.acerca-contenido p {
  font-size: 1.2rem;
  font-family: 'Lora', serif;
  line-height: 1.7;
  margin-bottom: 2rem;
  color: #2c3e50;
}

.acerca-beneficios {
  list-style: none;
  padding: 0;
  margin: 0 0 2.5rem;
}

.acerca-beneficios li {
  font-size: 1.1rem;
  font-family: 'Lora', serif;
  line-height: 1.6;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.acerca-beneficios i {
  color: #1abc9c;
  font-size: 1.4rem;
  min-width: 24px;
}

.acerca-boton {
  padding: 12px 30px;
  background-color: #1abc9c;
  color: #fff;
  font-size: 1.1rem;
  border-radius: 8px;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  transition: background 0.3s ease;
}

.acerca-boton:hover {
  background-color: #159a80;
}

/* Responsive */
@media (max-width: 980px) {
  .acerca-panel {
    flex-direction: column;
    padding: 0 20px;
    text-align: center;
    gap: 1.5rem;
  }

  .acerca-imagen {
    flex: 1 1 auto;     /* no fuerza 500px */
    max-width: 350px;   /* más chico en mobile */
    margin: 0 auto;     /* centrado */
  }

  .acerca-imagen img {
    transform: none;    /* sin inclinación en mobile */
  }

  .acerca-beneficios li {
    justify-content: center;
  }

  .acerca-boton {
    margin: 0 auto;
  }
}