/* =========================================
   TESTERS — Profile card grid
   Mobile-first.
========================================= */

.testers {
  padding: 64px 0 72px;
  background: var(--color-surface);
  color: var(--color-text);
}

.testers__container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.testers__header {
  text-align: center;
  margin-bottom: 48px;
}

.testers__eyebrow {
  text-align: center;
}

.testers__title {
  margin: 0 0 12px;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.testers__subtitle {
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-nav-hover);
  max-width: 540px;
}

/* =========================================
   GRID
========================================= */

.testers__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 16px;
}

/* =========================================
   CARD
========================================= */

.testercard {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.testercard__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 3px solid var(--color-bg);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.10);
}

.testercard__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.testercard__name {
  margin: 0;
  font-size: 14px;
  font-weight: var(--font-weight-bold);
  line-height: 1.3;
}

.testercard__location {
  margin: 0;
  font-size: 12px;
  line-height: 1.3;
  color: var(--color-nav-hover);
}

/* =========================================
   TABLET / DESKTOP (>= 600px)
========================================= */

@media (min-width: 600px) {
  .testers__grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 40px 24px;
  }

  .testercard__avatar {
    width: 110px;
    height: 110px;
  }

  .testercard__name {
    font-size: 15px;
  }

  .testercard__location {
    font-size: 13px;
  }
}

/* =========================================
   DESKTOP (>= 821px)
========================================= */

@media (min-width: 821px) {
  .testers__container {
    padding: 0 48px;
  }

  .testers__title {
    font-size: 40px;
  }

  .testercard__avatar {
    width: 128px;
    height: 128px;
  }
}

/* =========================================
   LARGE DESKTOP (>= 1200px)
========================================= */

@media (min-width: 1200px) {
  .testers__title {
    font-size: 46px;
  }
}
