.expertise-hero {
  align-items: center;
  gap: var(--space-8);
}

.expertise-hero__content {
  max-width: 34rem;
}

.expertise-hero__media {
  justify-self: center;
}

.expertise-hero__figure {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

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

.expertise-image-panel__figure {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 100%;
}

.expertise-image-panel__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.expertise-grid-section .card {
  height: 100%;
}

.expertise-list {
  padding-left: 1.1rem;
  font-size: var(--font-size-sm);
  color: var(--color-text);
}

.expertise-list li {
  margin-bottom: var(--space-2);
}

.expertise-references img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.expertise-final-cta {
  padding-bottom: var(--space-16);
}

.expertise-final-cta__card {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
}

.expertise-final-cta__content {
  max-width: 40rem;
}

.expertise-final-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

@media (max-width: 767px) {
  .expertise-hero {
    text-align: left;
  }

  .expertise-hero__actions {
    flex-wrap: wrap;
  }

  .expertise-final-cta__card {
    align-items: flex-start;
  }
}
