.team-section {
  background-color: var(--color-bg-light);
  padding: var(--section-padding) 0;
}

.team-section__header {
  text-align: center;
  margin-bottom: 50px;
}

.team-section__header .eyebrow {
  margin-bottom: 8px;
  color: #255a41;
  font-weight: 600;
  font-size: 1rem;
}

.team-section__header h2 {
  font-size: 2rem;
  color: var(--color-text-dark);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.team-card {
  display: flex;
  flex-direction: column;
}

.team-card__photo {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 16px;
  box-shadow:
    0 8px 32px rgba(10, 21, 16, 0.18),
    0 2px 8px rgba(10, 21, 16, 0.1);
  border: 3px solid var(--color-border-light);
  transition:
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.team-card__photo:hover {
  box-shadow:
    0 16px 48px rgba(47, 107, 79, 0.2),
    0 4px 12px rgba(10, 21, 16, 0.12);
  transform: translateY(-4px);
}

.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Placeholder cuando no hay foto */
.team-card__photo--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #dde0d8;
}

.team-card__photo--placeholder svg {
  width: 60px;
  height: 60px;
  color: #a0a89e;
}

.team-card__name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-text-dark);
  margin-bottom: 2px;
}

.team-card__role {
  font-size: 0.82rem;
  color: var(--color-primary);
  font-weight: 500;
  margin-bottom: 8px;
}

.team-card__bio {
  font-size: 0.82rem;
  color: var(--color-text-dark-muted);
  line-height: 1.6;
  margin-bottom: 12px;
  flex: 1;
}

.team-card__socials {
  display: flex;
  gap: 12px;
}

.team-card__socials a {
  color: var(--color-text-dark-muted);
  transition: color 0.2s ease;
}

.team-card__socials a:hover {
  color: var(--color-primary);
}

.team-card__socials svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 968px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}
