/* ==========================================================================
   About
   ========================================================================== */

.about__head {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(28px, 5vw, 80px);
}

.about__kicker-col {
  flex: 0 0 auto;
  min-width: 170px;
}

.about__copy {
  flex: 1 1 520px;
  min-width: 300px;
}

.about__title {
  max-width: 22ch;
}

.about__text {
  max-width: 62ch;
  margin-top: 14px;
}

.about__text:first-of-type {
  margin-top: 24px;
}

/* Values ----------------------------------------------------------------- */

/*
 * Six-column track: every card spans two columns, so the first row holds
 * three cards and the second row two — the staggered rhythm from the design.
 */
.values {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 24px;
  margin-top: clamp(40px, 5vw, 68px);
}

.value {
  grid-column: span 2;
}

.value__num {
  display: block;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  color: var(--c-blue);
}

.value__title {
  margin: 14px 0 10px;
}

.value__text {
  font-size: 14px;
  line-height: 1.65;
  color: var(--c-text-soft);
}

/* ==========================================================================
   Tablet — two columns, the odd card fills the last row
   ========================================================================== */

@media (max-width: 1024px) {
  .about__head {
    gap: 18px;
  }

  .about__kicker-col {
    flex: 1 1 100%;
  }

  .about__copy {
    flex: 1 1 100%;
    min-width: 0;
  }

  .about__title {
    max-width: 28ch;
  }

  .values {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .value {
    grid-column: auto;
  }

  .value:last-child {
    grid-column: 1 / -1;
  }
}

/* ==========================================================================
   Mobile — single column
   ========================================================================== */

@media (max-width: 767px) {
  .about__head {
    gap: 14px;
  }

  .about__title,
  .about__text {
    max-width: none;
  }

  .about__text {
    margin-top: 12px;
  }

  .about__text:first-of-type {
    margin-top: 16px;
  }

  .values {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    margin-top: 24px;
  }

  .value:last-child {
    grid-column: auto;
  }

  .value__title {
    margin: 10px 0 8px;
  }
}
