/* ============================================================
   CONSTRUFACH — NUMBERS / STATS
   ============================================================ */

.numbers-container {
  background: var(--red);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  position: relative;
  overflow: hidden;
}

/* Textura diagonal sutil */
.numbers-container::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      -55deg,
      transparent,
      transparent 40px,
      rgba(255,255,255,0.04) 40px,
      rgba(255,255,255,0.04) 41px
    );
  pointer-events: none;
}

/* ── Cada número ───────────────────────────────────────────── */
.number {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
  position: relative;
  z-index: 1;
  cursor: default;
  transition: background 0.3s ease;
}

/* Separador vertical entre items */
.number:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: rgba(255, 255, 255, 0.2);
}

.number:hover {
  background: rgba(0, 0, 0, 0.08);
}

/* Valor numérico */
.number-value {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.03em;
  transition: transform 0.35s var(--ease-out-expo);
}

.number:hover .number-value {
  transform: scale(1.06);
}

/* Etiqueta */
.number-label {
  font-family: 'Barlow', sans-serif;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 0.6rem;
}

/* Stagger */
.numbers-container .animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.numbers-container .animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.numbers-container .animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 640px) {
  .numbers-container {
    grid-template-columns: 1fr;
  }

  .number {
    padding: 2.5rem 1.5rem;
  }

  .number:not(:last-child)::after {
    top: auto;
    bottom: 0;
    right: 10%;
    left: 10%;
    width: auto;
    height: 1px;
  }
}