/* =========================
   QUIÉNES SOMOS / ABOUT
========================= */

.about-split{
  padding: 84px 0;
  background:
    radial-gradient(900px 420px at 12% 30%, rgba(255,255,255,.22), transparent 60%),
    linear-gradient(180deg, rgba(30,165,165,.12), rgba(30,165,165,.03));
}

.about-split-grid{
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 56px;
  align-items: center;
}

/* FOTO */
.about-photo-wrap{
  display: grid;
  justify-items: center;
}

.about-photo-ring{
  width: 420px;
  height: 420px;
  border-radius: 50%;
  padding: 14px;
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,.60), rgba(255,255,255,.12) 38%, rgba(255,255,255,.10) 60%),
    linear-gradient(135deg, rgba(139,45,100,.22), rgba(30,165,165,.20));
  box-shadow: 0 26px 70px rgba(0,0,0,.16);
}

.about-photo{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  filter: contrast(1.03) saturate(1.04);
}

/* Badge */
.about-badge{
  margin-top: 16px;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  color: #143a3a;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(30,165,165,.18);
  backdrop-filter: blur(8px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.about-badge-dot{
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #8b2d64;
  box-shadow: 0 0 0 4px rgba(139,45,100,.15);
}

/* TEXTO */
.about-copy{
  max-width: 760px;
}

.about-kicker{
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  color: #8b2d64;
}

.about-title{
  margin: 0 0 18px;
  font-size: 52px;
  line-height: 1.05;
  font-weight: 900;
  color: #1b1f3a;
}

.about-text{
  margin: 0 0 16px;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(27,31,58,.85);
}

/* BOTONES */
.about-cta-row{
  margin-top: 22px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-about{
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none;
  color: #fff;
  background: #8b2d64;
  box-shadow: 0 14px 34px rgba(139,45,100,.25);
  transition: transform .2s ease, filter .2s ease;
}

.btn-about:hover{
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.btn-about.ghost{
  background: rgba(255,255,255,.82);
  color: #1b1f3a;
  border: 1px solid rgba(27,31,58,.12);
  box-shadow: none;
}

/* =========================
   MISIÓN + VISIÓN
========================= */

.mv{
  padding: 78px 0 92px;
  background:
    radial-gradient(900px 520px at 85% 18%, rgba(30,165,165,.16), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, rgba(30,165,165,.04) 100%);
}

.mv-head{
  max-width: 860px;
  margin: 0 auto 34px;
  text-align: center;
}

.mv-kicker{
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  color: #8b2d64;
}

.mv-title{
  margin: 0 0 10px;
  font-size: 48px;
  line-height: 1.05;
  font-weight: 900;
  color: #1b1f3a;
}

.mv-sub{
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(27,31,58,.78);
}

.mv-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: stretch;
}

.mv-card{
  position: relative;
  border-radius: 18px;
  padding: 26px 26px 22px;
  background:
    radial-gradient(700px 260px at 18% 20%, rgba(255,255,255,.70), transparent 55%),
    linear-gradient(135deg, rgba(30,165,165,.18), rgba(30,165,165,.06));
  border: 1px solid rgba(30,165,165,.20);
  box-shadow: 0 18px 46px rgba(0,0,0,.10);
}

.mv-card.alt{
  background:
    radial-gradient(700px 260px at 18% 20%, rgba(255,255,255,.68), transparent 55%),
    linear-gradient(135deg, rgba(139,45,100,.16), rgba(30,165,165,.06));
  border: 1px solid rgba(139,45,100,.18);
}

.mv-icon{
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #8b2d64;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(27,31,58,.10);
  margin-bottom: 12px;
}

.mv-icon svg{
  width: 22px;
  height: 22px;
}

.mv-card-title{
  margin: 0 0 10px;
  font-size: 28px;
  font-weight: 900;
  color: #1b1f3a;
}

.mv-card-text{
  margin: 0 0 14px;
  font-size: 17px;
  line-height: 1.7;
  color: rgba(27,31,58,.84);
}

.mv-quote{
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 12px;
}

.mv-quote-bar{
  width: 6px;
  height: 44px;
  border-radius: 999px;
  background: linear-gradient(180deg, #8b2d64, rgba(139,45,100,.25));
  margin-top: 3px;
}

.mv-quote p{
  margin: 0;
  font-weight: 800;
  color: rgba(27,31,58,.78);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 980px){
  .about-split-grid{
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-photo-ring{
    width: 320px;
    height: 320px;
  }

  .about-title{
    font-size: 40px;
  }

  .mv-grid{
    grid-template-columns: 1fr;
  }

  .mv-title{
    font-size: 38px;
  }
}

/* =========================
   ANIMACIONES PRO (SCROLL + HOVER)
========================= */

/* estado inicial (antes de entrar al viewport) */
.reveal{
  opacity: 0;
  transform: translateY(18px) scale(.985);
  filter: blur(8px);
  transition:
    opacity .75s cubic-bezier(.2,.8,.2,1),
    transform .75s cubic-bezier(.2,.8,.2,1),
    filter .75s cubic-bezier(.2,.8,.2,1);
  will-change: opacity, transform, filter;
}

/* cuando entra en pantalla */
.reveal.is-in{
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* delays bonitos (orden visual) */
.about-photo-wrap.reveal.is-in{ transition-delay: .06s; }
.about-copy.reveal.is-in{ transition-delay: .14s; }
.mv-head.reveal.is-in{ transition-delay: .06s; }

/* cards con delay escalonado automático */
.mv-card.reveal{ transition-delay: .08s; }
.mv-card.alt.reveal{ transition-delay: .16s; }

/* =========================
   HOVERS PREMIUM
========================= */

/* foto: lift + glow */
.about-photo-ring{
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, filter .35s ease;
}
.about-photo-wrap:hover .about-photo-ring{
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 34px 90px rgba(0,0,0,.18);
}

/* badge: pulso suave del punto */
.about-badge-dot{
  animation: dotPulse 2.2s ease-in-out infinite;
}
@keyframes dotPulse{
  0%,100%{ transform: scale(1); box-shadow: 0 0 0 4px rgba(139,45,100,.15); }
  50%{ transform: scale(1.12); box-shadow: 0 0 0 10px rgba(139,45,100,.10); }
}

/* botones: presión + brillo */
.btn-about{
  position: relative;
  overflow: hidden;
}
.btn-about::after{
  content:"";
  position:absolute;
  inset:-40%;
  background: radial-gradient(circle, rgba(255,255,255,.28), transparent 55%);
  transform: translateX(-30%) translateY(10%) rotate(10deg);
  opacity: 0;
  transition: opacity .25s ease, transform .45s ease;
  pointer-events:none;
}
.btn-about:hover::after{
  opacity: 1;
  transform: translateX(20%) translateY(-10%) rotate(10deg);
}
.btn-about:active{
  transform: translateY(0) scale(.98);
}

/* cards: hover elegante + borde/shine */
.mv-card{
  transition: transform .28s cubic-bezier(.2,.8,.2,1), box-shadow .28s ease, border-color .28s ease, filter .28s ease;
}
.mv-card::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius: 18px;
  background: radial-gradient(600px 240px at 20% 18%, rgba(255,255,255,.45), transparent 60%);
  opacity: 0;
  transition: opacity .28s ease;
  pointer-events:none;
}
.mv-card:hover{
  transform: translateY(-8px);
  box-shadow: 0 26px 70px rgba(0,0,0,.14);
  border-color: rgba(30,165,165,.35);
}
.mv-card.alt:hover{
  border-color: rgba(139,45,100,.28);
}
.mv-card:hover::before{
  opacity: .9;
}

/* iconito: mini bounce */
.mv-icon{
  transition: transform .28s cubic-bezier(.2,.8,.2,1);
}
.mv-card:hover .mv-icon{
  transform: translateY(-3px) rotate(-2deg);
}

/* quote bar: animación sutil */
.mv-quote-bar{
  background-size: 100% 180%;
  animation: barFlow 3.2s ease-in-out infinite;
}
@keyframes barFlow{
  0%,100%{ filter: brightness(1); }
  50%{ filter: brightness(1.12); }
}

/* =========================
   ACCESIBILIDAD: reduce motion
========================= */
@media (prefers-reduced-motion: reduce){
  .reveal,
  .reveal.is-in,
  .about-badge-dot,
  .mv-quote-bar{
    animation: none !important;
    transition: none !important;
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
  }
}

/* =========================
   CIFRAS / IMPACTO
========================= */
.stats-section{
  position: relative;
  padding: 110px 0;
  overflow: hidden;

  /* imagen al fondo */
  background: url("../img/fondo-stats.jpg") center / cover no-repeat;
}

.stats-overlay{
  position:absolute;
  inset:0;
  background: linear-gradient(
    180deg,
    rgba(26,167,168,.92),
    rgba(22,124,154,.92)
  );
  backdrop-filter: blur(6px);
  z-index:1;
}

/* ✅ GRID centrado (3 arriba, 2 abajo centrados) */
.stats-grid{
  position: relative;
  z-index:2;

  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:60px 120px;

  text-align:center;
}

/* ✅ Centra la 2da fila (ítems 4 y 5) */
.stats-grid .stat-item:nth-child(4){
  grid-column: 1 / 3;          /* ocupa col 1-2 */
}
.stats-grid .stat-item:nth-child(5){
  grid-column: 2 / 4;          /* ocupa col 2-3 */
}

.stat-item{
  color:#fff;
  flex:0 1 220px; /* ancho de cada bloque */
}

.stat-number{
  display:block;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900;
  line-height:1;
  margin-bottom: 6px;
}

.stat-label{
  font-size:14px;
  font-weight:600;
  opacity:.95;
}

/* ✅ Tablet: 2 columnas */
@media (max-width: 900px){
  .stats-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 24px;
  }
  .stats-grid .stat-item:nth-child(4),
  .stats-grid .stat-item:nth-child(5){
    grid-column: auto;         /* vuelve normal */
  }
}

/* ✅ Celular: 1 columna */
@media (max-width: 520px){
  .stats-grid{
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

