.expertise-hero {
  position: relative;
}

.expertise-hero__grid {
  align-items: center;
  gap: var(--space-10);
}

.expertise-hero__content {
  max-width: 640px;
}

.expertise-hero__cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.expertise-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.expertise-hero__visual {
  display: flex;
  justify-content: flex-end;
}

.expertise-hero__image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-width: 480px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  background: radial-gradient(circle at top left, var(--color-primary-soft), transparent 55%),
              linear-gradient(145deg, var(--color-surface) 0%, var(--color-surface-alt) 100%);
  padding: var(--space-2);
}

.expertise-hero__image-frame img {
  border-radius: calc(var(--radius-lg) - 4px);
}

.expertise-section-header {
  margin-bottom: var(--space-8);
}

.expertise-section-header--center {
  text-align: center;
}

.expertise-section-header--center .max-w-xl {
  margin-inline: auto;
}

.expertise-metrics {
  align-items: stretch;
}

.expertise-metric-card .card__body p {
  font-size: var(--font-size-sm);
}

.expertise-collaboration__grid {
  align-items: center;
  gap: var(--space-10);
}

.expertise-collaboration__image-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.expertise-collaboration__content {
  max-width: 640px;
}

.expertise-collaboration__highlights {
  margin-top: var(--space-4);
}

.expertise-collaboration__cta {
  margin-top: var(--space-4);
}

.expertise-technology {
  background: radial-gradient(circle at top, rgba(255, 51, 102, 0.08), transparent 60%),
              linear-gradient(145deg, var(--color-surface) 0%, var(--color-background) 100%);
}

.expertise-tech-grid {
  align-items: stretch;
}

.expertise-sectors__grid {
  align-items: flex-start;
  gap: var(--space-10);
}

.expertise-sectors__list {
  margin-top: var(--space-4);
}

.expertise-sectors__subheading {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-2);
}

.expertise-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.expertise-list li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: var(--space-2);
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
}

.expertise-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--color-primary);
}

.expertise-quality-card .card__footer {
  flex-wrap: wrap;
}

.expertise-projects {
  background-color: var(--color-surface);
}

.expertise-projects__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr);
  justify-content: center;
}

.expertise-projects__card {
  max-width: 800px;
  margin-inline: auto;
}

.expertise-projects__image-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-4);
}

.expertise-clients__grid {
  align-items: flex-start;
  gap: var(--space-10);
}

.expertise-team-card__image-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-4);
}

.expertise-innovation__grid {
  align-items: stretch;
  gap: var(--space-10);
}

.expertise-innovation__pillars {
  margin-top: var(--space-4);
}

.expertise-engage-card__footer {
  flex-wrap: wrap;
}

@media (max-width: 960px) {
  .expertise-hero__grid,
  .expertise-collaboration__grid,
  .expertise-sectors__grid,
  .expertise-clients__grid,
  .expertise-innovation__grid {
    gap: var(--space-6);
  }

  .expertise-hero__visual {
    order: -1;
    justify-content: center;
  }

  .expertise-hero__image-frame {
    max-width: 360px;
  }
}

@media (max-width: 768px) {
  .expertise-hero__cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  .expertise-projects__card {
    padding: var(--space-5);
  }
}
