/* 🌆 Sección principal */
.about-section {
  position: relative;
  width: 100%;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  font-family: "Segoe UI", sans-serif;
  background: url("PortadaFondo.avif") center center / cover no-repeat;
  background-attachment: fixed; /* efecto sutil de profundidad */
  overflow: hidden;
  color: #000;
}

/* 🧾 Bloque de texto */
.about-content {
  position: relative;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 60px 40px 50px 60px; /* arriba, derecha, abajo, izquierda */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-left: 80px;
  margin-top: 60px;
  max-width: 620px;
  border-radius: 8px;
  z-index: 2;
}

/* ✨ Encabezado */
.about-title {
  font-size: 42px;
  font-weight: 800;
  color: #0a1a3b;
  line-height: 1.1;
  margin-bottom: 20px;
}

.about-title span {
  display: block;
  color: #0a1a3b;
  font-weight: 700;
}

/* 🧠 Subtítulo */
.about-subtitle {
  font-size: 16px;
  font-weight: 600;
  color: #2d2d2d;
  margin-bottom: 25px;
}

/* 📝 Párrafos */
.about-content p {
  color: #333;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 15px;
}

/* 🌈 Degradado sutil para mejor lectura del texto */
.about-section::before {
  content: "";
  position: absolute;
  inset: 0;
 /* background: linear-gradient(to right, rgba(255, 255, 255, 0.3) 45%, rgba(255, 255, 255, 0) 100%);*/
  z-index: 1;
}

/* 📱 Responsive */
@media (max-width: 992px) {
  .about-section {
    flex-direction: column;
    align-items: center;
    background-attachment: scroll;
  }

  .about-content {
    margin: 40px 20px;
    padding: 40px 30px;
    max-width: 95%;
  }

  .about-title {
    font-size: 34px;
  }
}
