/* ===== SECCIÓN SOBRE NOSOTOS ===== */

.about-section {
  width: 100%;
  padding: 100px 20px;
  background: #ffffff;
  font-family: 'Poppins', sans-serif;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 70px;
  flex-wrap: wrap;
}

/* ========================== */
/* COLUMNA IZQUIERDA */
/* ========================== */

.about-left {
  flex: 1 1 550px;
  position: relative;
  overflow: hidden; /* importante */
}

/* Marca de agua */
.about-left::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 400px;
  height: 450px;
  background-image: url("../img/logo.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.12; /* súbelo si no se ve */
  transform: translate(-50%, -50%);
  z-index: 0;
}

/* Asegura que el texto esté encima */
.about-left > * {
  position: relative;
  z-index: 2;
}


.section-subtitle {
  font-size: 0.85rem;
  font-weight: 600;
  color: #1e3a8a;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.about-left h2 {
  font-size: 2.8rem;
  font-weight: 800;
  margin: 15px 0 30px;
  color: #000000;
}

/* Contenedor del texto con marca de agua */
.about-text {
  position: relative;
  z-index: 2;
}


.about-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #444444;
  margin-bottom: 20px;
}

/* ========================== */
/* COLUMNA DERECHA */
/* ========================== */

.about-right {
  flex: 1 1 500px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Cards */
.info-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 14px;
  border: 1px solid #e9e9e9;
  transition: 0.3s ease;
}

.info-card:hover {
  box-shadow: 0 12px 30px rgba(0,0,0,0.07);
  transform: translateY(-4px);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.icon-box {
  width: 50px;
  height: 50px;
  background: #1e3a8a;
  color: #ffffff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.info-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1e3a8a;
}

.info-card p {
  font-size: 0.95rem;
  color: #555555;
  line-height: 1.6;
}

/* ========================== */
/* RESPONSIVE */
/* ========================== */

@media (max-width: 992px) {

  .about-container {
    flex-direction: column;
    gap: 60px;
  }

  .about-left,
  .about-right {
    flex: 1 1 100%;
  }

  .about-left {
    text-align: center;
  }

  .about-text::before {
    width: 280px;
    height: 280px;
  }

  .about-left h2 {
    font-size: 2.3rem;
  }
}

/* ============================= */
/* ANIMACIONES SCROLL */
/* ============================= */

.animar-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.animar-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}
