/* ============================================================
   KATARAS — stats-break.css  (mobile-first)
   ============================================================ */

.stats-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* ── Fondo ── */
.stats-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.stats-bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}

.stats-bg__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(5, 15, 40, .88) 0%,
    rgba(27, 62, 150, .75) 100%
  );
}

/* ── Contenedor ── */
.stats-wrap {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 20px;
}

/* ── Grid: columna en mobile ── */
.stats-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* ── Item ── */
.stats-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 20px;
  gap: 8px;
}

.stats-item__num {
  font-family: var(--font-display);
  font-size: clamp(3rem, 12vw, 5rem);
  line-height: 1;
  color: #fff;
  letter-spacing: -.01em;
}

.stats-item__num sup {
  font-size: .45em;
  color: var(--color-yellow);
  vertical-align: super;
}

.stats-item__num i {
  font-size: clamp(2.4rem, 9vw, 4rem);
  color: var(--color-yellow);
}

.stats-item__label {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
}

/* ── Divisor horizontal en mobile ── */
.stats-divider {
  width: 48px;
  height: 1px;
  background: rgba(255, 255, 255, .15);
}

/* ============================================================
   TABLET (≥ 640px) — fila horizontal
   ============================================================ */
@media (min-width: 640px) {
  .stats-grid {
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
  }

  .stats-item {
    flex: 1;
    padding: 48px 16px;
  }

  /* Divisores verticales en desktop */
  .stats-divider {
    width: 1px;
    height: auto;
    align-self: stretch;
    background: rgba(255, 255, 255, .15);
  }
}

/* ============================================================
   DESKTOP (≥ 1024px)
   ============================================================ */
@media (min-width: 1024px) {
  .stats-wrap { padding: 80px 40px; }

  .stats-item { padding: 56px 24px; }
}

/* ============================================================
   WIDE (≥ 1280px)
   ============================================================ */
@media (min-width: 1280px) {
  .stats-wrap { padding: 88px 56px; }
}
