.team-hero {
  background-color: var(--color-bg-alt);
  padding: var(--space-10) 0;
  position: relative;
  overflow: hidden;
}

.team-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(122, 145, 110, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.team-hero__content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: center;
}

@media (min-width: 1024px) {
  .team-hero__content {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-10);
  }
}

.team-hero__title {
  font-size: var(--text-4xl);
  color: var(--color-text);
  margin-bottom: var(--space-5);
  line-height: var(--line-height-tight);
}

@media (min-width: 768px) {
  .team-hero__title {
    font-size: var(--text-5xl);
  }
}

.team-hero__description {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-6);
  line-height: var(--line-height-relaxed);
  max-width: 100%;
}

.team-hero__image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.team-hero__image {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 4/3;
}

.team-section {
  padding: var(--space-10) 0;
}

.team-section:nth-child(even) {
  background-color: var(--color-surface);
}

.team-section:nth-child(odd) {
  background-color: var(--color-bg);
}

.team-section__header {
  text-align: center;
  margin-bottom: var(--space-8);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.team-section__title {
  font-size: var(--text-3xl);
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.team-section__subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  font-family: var(--font-sans);
  font-weight: 400;
}

.team-section__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: center;
}

@media (min-width: 1024px) {
  .team-section__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-10);
  }
  
  .team-section__grid--reverse > .team-section__content {
    order: 2;
  }
  
  .team-section__grid--reverse > .team-section__image-wrapper {
    order: 1;
  }
}

.team-section__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.team-section__text {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: var(--line-height-relaxed);
  margin-bottom: 0;
}

.team-section__image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.team-section__image {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.team-section__image-wrapper:hover .team-section__image {
  transform: scale(1.03);
}

.team-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-2);
}

.team-list__item {
  position: relative;
  padding-left: var(--space-6);
  color: var(--color-text-secondary);
  font-size: var(--text-base);
}

.team-list__item::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}

.team-philosophy {
  background-color: var(--color-primary);
  color: var(--color-surface);
  padding: var(--space-10) 0;
  position: relative;
  overflow: hidden;
}

.team-philosophy::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.team-philosophy__content {
  position: relative;
  z-index: 1;
}

.team-philosophy__title {
  color: var(--color-surface);
  font-size: var(--text-3xl);
  text-align: center;
  margin-bottom: var(--space-6);
}

.team-philosophy__text {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--text-lg);
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--space-8);
  line-height: var(--line-height-relaxed);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  margin-top: var(--space-8);
}

@media (min-width: 640px) {
  .philosophy-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .philosophy-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.philosophy-card {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: center;
  transition: transform var(--duration-base) var(--ease-out), background-color var(--duration-base);
}

.philosophy-card:hover {
  transform: translateY(-4px);
  background-color: rgba(255, 255, 255, 0.15);
}

.philosophy-card__title {
  color: var(--color-surface);
  font-size: var(--text-lg);
  margin-bottom: var(--space-3);
  font-family: var(--font-sans);
  font-weight: 600;
}

.philosophy-card__text {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--text-sm);
  margin-bottom: 0;
  line-height: var(--line-height-relaxed);
}

.team-certifications {
  background-color: var(--color-bg-alt);
  padding: var(--space-10) 0;
}

.team-certifications__title {
  font-size: var(--text-3xl);
  text-align: center;
  margin-bottom: var(--space-6);
  color: var(--color-text);
}

.team-certifications__intro {
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--space-8);
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  line-height: var(--line-height-relaxed);
}

.certifications-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

@media (min-width: 640px) {
  .certifications-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .certifications-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.certification-item {
  background-color: var(--color-surface);
  border: 1px solid var(--color-neutral-200);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: center;
  transition: box-shadow var(--duration-base) var(--ease-out), transform var(--duration-base);
}

.certification-item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  border-color: var(--color-primary-light);
}

.certification-item__icon {
  font-size: var(--text-3xl);
  display: block;
  margin-bottom: var(--space-3);
}

.certification-item__title {
  font-size: var(--text-base);
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0;
}

.team-section--training {
  background-color: var(--color-surface);
}

.training-topics {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-2);
}

.training-tag {
  display: inline-flex;
  align-items: center;
  padding: var(--space-2) var(--space-4);
  background-color: var(--color-primary-light);
  color: var(--color-surface);
  font-size: var(--text-sm);
  font-weight: 500;
  border-radius: var(--radius-full);
}

.team-careers {
  background-color: var(--color-accent);
  color: var(--color-surface);
  padding: var(--space-10) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.team-careers::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.team-careers__content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.team-careers__title {
  color: var(--color-surface);
  font-size: var(--text-3xl);
  margin-bottom: var(--space-5);
}

.team-careers__text {
  color: rgba(255, 255, 255, 0.95);
  font-size: var(--text-lg);
  margin-bottom: var(--space-8);
  line-height: var(--line-height-relaxed);
}

.team-careers__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  justify-content: center;
  align-items: center;
}

@media (min-width: 640px) {
  .team-careers__actions {
    flex-direction: row;
  }
}

.team-careers .btn--primary {
  background-color: var(--color-surface);
  color: var(--color-accent);
  border-color: var(--color-surface);
}

.team-careers .btn--primary:hover {
  background-color: var(--color-neutral-100);
  border-color: var(--color-neutral-100);
  transform: translateY(-2px);
}

.team-careers .btn--outline {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--color-surface);
}

.team-careers .btn--outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--color-surface);
}

.btn--large {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
}

@media (prefers-reduced-motion: reduce) {
  .team-section__image-wrapper:hover .team-section__image,
  .philosophy-card:hover,
  .certification-item:hover {
    transform: none;
  }
}