/* Блок "Наша команда": монтажники и замерщики вместе */
.team { padding: 96px 0 88px; background: #fff; }
.team-inner { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 15px; box-sizing: border-box; }

.team-title {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  font-size: 34px;
  line-height: 1.2;
  font-weight: 300;
  letter-spacing: .02em;
  text-transform: uppercase;
  text-align: center;
  color: #1c2733;
}
.team-lead { margin: 16px 0 0; text-align: center; font-size: 16px; color: #6b7a89; }

.team-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 52px 28px; margin: 56px 0 0; padding: 0; list-style: none; }
.team-card[hidden] { display: none; }

.team-photo { aspect-ratio: 1 / 1; overflow: hidden; border-radius: 16px; background: #eaf2f8; }
.team-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.team-name { margin-top: 18px; font-size: 16px; line-height: 1.3; font-weight: 600; color: #1c2733; }
.team-meta { margin-top: 6px; font-size: 14px; line-height: 1.4; color: #6b7a89; }
.team-meta span { margin: 0 6px; color: #b6c4d0; }

@media (max-width: 1280px) { .team-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 18px; } }
@media (max-width: 600px) {
  .team { padding: 56px 0 48px; }
  .team-title { font-size: 24px; }
  .team-lead { font-size: 14px; }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; margin-top: 32px; }
  .team-name { font-size: 15px; }
  .team-meta { font-size: 13px; }
}
