/* ===== Team Page ===== */

.team-hero {
  padding: 160px 0 80px;
  background: var(--primary-color);
  color: var(--secondary-color);
  text-align: center;
}

.team-hero .service-badge {
  display: inline-block;
  margin-bottom: 24px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--secondary-color);
}

.team-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.05;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.team-hero p {
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.125rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
}

/* Leadership grid */
.team-section {
  padding: 96px 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 64px;
}

.team-card {
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.12);
  border-color: var(--accent-color);
}

.team-photo {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--bg-light);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-card:hover .team-photo img {
  transform: scale(1.05);
}

.team-info {
  padding: 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.team-role-badge {
  display: inline-block;
  align-self: flex-start;
  background: var(--accent-color);
  color: var(--secondary-color);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.team-info h3 {
  font-size: 1.5rem;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.team-title {
  color: var(--accent-color);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.team-info p {
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 20px;
}

  .team-expertise {
  list-style: none;
  padding: 0;
  margin: auto 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  }

  .team-site-btn {
  align-self: flex-start;
  margin-top: 20px;
  }

.team-expertise li {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-color);
  background: #fff;
  border: 1px solid var(--border-color);
  padding: 6px 12px;
  border-radius: 8px;
}

/* Values / culture strip */
.team-values {
  background: var(--bg-light);
  padding: 96px 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  margin-top: 64px;
}

.value-item {
  text-align: center;
  padding: 0 16px;
}

.value-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--accent-color);
  color: var(--secondary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.value-item h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.value-item p {
  color: var(--text-light);
  line-height: 1.6;
}

@media (max-width: 640px) {
  .team-hero {
    padding: 130px 0 64px;
  }
  .team-info {
    padding: 24px;
  }
}
