/* =================================================
   ABOUT / QUIÉNES SOMOS
   Banda institucional + expandible + animaciones
   ================================================= */


/* =================================================
   SECCIÓN GENERAL
   ================================================= */

.about {
  background: #f2f2f2;
}



/* =================================================
   HEADER (título + línea horizontal)
   ================================================= */

.about__header {
  display: flex;
  align-items: center;
  gap: 25px;

  margin-bottom: 25px;
}

.about__header h2 {
  font-family: 'bebas_regular', sans-serif;
  font-size: 36px;
  letter-spacing: 1px;
}

.about__line {
  flex: 1;
  height: 2px;
  background: #d6d6d6;
}



/* =================================================
   BANDA PRINCIPAL (foto + texto)
   ================================================= */

.about__band {
  background: white;

  display: grid;
  grid-template-columns: 380px 1fr;

  align-items: stretch;

  border-radius: 8px;

  overflow: hidden;

  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}



/* =================================================
   IMAGEN
   ================================================= */

.about__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}



/* =================================================
   TEXTO CONTENEDOR
   Flex vertical para empujar botón abajo
   ================================================= */

.about__text {
  padding: 35px 45px;

  font-family: 'Questrial', sans-serif;
  color: #333;

  display: flex;
  flex-direction: column;

  min-height: 220px;
}



/* =================================================
   TEXTO PRINCIPAL (resumen)
   ================================================= */

.about__lead {
  font-size: 24px;
  line-height: 1.6;
}



/* años destacados */

.about__years {
  color: var(--primary);
  font-weight: 700;
}



/* =================================================
   TEXTO EXPANDIBLE
   ================================================= */

.about__more {
  max-height: 0;
  overflow: hidden;

  opacity: 0;

  transition:
    max-height .6s ease,
    opacity .4s ease,
    margin .4s ease;
}

/* cuando abre */

.about__more.open {
  max-height: 400px;
  opacity: 1;
  margin-top: 15px;
}



/* =================================================
   ACCIONES (botón abajo derecha)
   ================================================= */

.about__actions {
  margin-top: auto;
  display: flex;
  justify-content: flex-end;
}



/* =================================================
   BOTÓN ROJO "VER MÁS"
   ================================================= */

.about__toggle {
  background: var(--primary);
  color: white;

  border: none;

  font-family: 'questrial', sans-serif;
  font-size: 20px;
  letter-spacing: 1px;

  padding: 12px 26px;

  border-radius: 6px;

  cursor: pointer;

  transition: all .25s ease;

  /* sombra base */
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}


/* hover premium (igual estilo hero) */

.about__toggle:hover {
  transform: translateY(-3px);

  box-shadow:
    0 10px 20px rgba(0,0,0,0.35),
    0 0 18px rgba(227,6,19,0.45),
    0 0 35px rgba(227,6,19,0.25);
}


/* click */

.about__toggle:active {
  transform: translateY(0);
}




/* =================================================
   ✨ ANIMACIÓN REVEAL IZQUIERDA → DERECHA
   ================================================= */

.about__image,
.about__text {
  opacity: 0;
  transition: all .8s ease;
}

.about__image {
  transform: translateX(-60px);
}

.about__text {
  transform: translateX(60px);
}

.about.show .about__image,
.about.show .about__text {
  opacity: 1;
  transform: translateX(0);
}



/* =================================================
   RESPONSIVE
   ================================================= */

@media (max-width: 900px) {

  .about__band {
    grid-template-columns: 1fr;
  }

  .about__text {
    padding: 25px;
  }

  .about__lead {
    font-size: 18px;
  }

}
