.team {
  background-color: var(--color-white);
  padding: 80px 40px;
}

.team__container {
  max-width: 1200px;
  margin: 0 auto;
}

.team__title {
  font-size: 36px;
  font-weight: var(--font__gras);
  color: var(--color-text);
  text-align: center;
  margin-bottom: 15px;
}

.team__subtitle {
  font-size: 14px;
  color: var(--color-text-muted);
  text-align: center;
  margin-bottom: 50px;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.team__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.team__card {
  text-align: center;
  transition: all 0.3s ease;
}

.team__card:hover {
  transform: translateY(-10px);
}

.team__image {
  width: 150px;
  height: 150px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--color-light-grey);
}

.team__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team__name {
  font-size: 18px;
  font-weight: var(--font__gras);
  color: var(--color-text);
  margin-bottom: 5px;
}

.team__role {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 15px;
  font-weight: var(--font__medium);
}

.team__social {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.team__social-link {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--color-light-grey);
  color: var(--color-text-muted);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 14px;
}

.team__social-link:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
  .team {
    padding: 60px 20px;
  }

  .team__title {
    font-size: 28px;
  }

  .team__subtitle {
    margin-bottom: 40px;
  }

  .team__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}
