/* ===============================
   TEAM — PREMIUM / CLEAN
=============================== */

.team {
  background: #fff;
  padding: 48px 0 96px;
  color: #111;
}

.team-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

.team-header {
  max-width: 700px;
  margin-bottom: 56px;
}

.team-header h1 {
  font-size: 32px;
  margin-bottom: 12px;
}

.team-lead {
  font-size: 16px;
  line-height: 1.6;
  color: #444;
}

/* GRID */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}

/* CARD */
.team-card {
  text-align: center;
}

.team-photo {
  width: 180px;
  height: 180px;
  margin: 0 auto 16px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #f0f0f0;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card h3 {
  font-size: 18px;
  margin-bottom: 4px;
}

.team-role {
  font-size: 14px;
  color: #666;
}

/* LINKS */
.team-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
}

.team-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #e6e6e6;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #111;
  font-size: 16px;
  transition: background .2s ease, transform .2s ease;
}

.team-links a:hover {
  background: #111;
  color: #fff;
  transform: translateY(-2px);
}

/* MOBILE */
@media (max-width: 600px) {
  .team-header h1 {
    font-size: 26px;
  }

  .team-photo {
    width: 150px;
    height: 150px;
  }
}

.team-links a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #e6e6e6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.team-links a svg {
  width: 14px;   /* ⬅️ МЕНШІ */
  height: 14px;
  display: block;
}

.team-links a:hover {
  background: #111;
  color: #fff;
  transform: translateY(-1px);
}
