.services {
  background: #fff;
}
.tab-list {
  display: flex;
  gap: 22px;
  justify-content: center;
  border-bottom: 1px solid var(--line);
  overflow: auto;
  margin-bottom: 28px;
}
.tab-list button {
  background: transparent;
  border: 0;
  padding: 14px 0;
  font-weight: 800;
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
}
.tab-list button.active {
  color: var(--wine);
  border-bottom: 4px solid var(--wine);
}
.service-panel {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.service-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  border-radius: 24px 0 0 24px;
}
.service-content {
  padding: clamp(28px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 16px;
}
@media (max-width: 820px) {
  .service-panel {
    grid-template-columns: 1fr;
  }
  .service-image {
    min-height: 220px;
  }
  .tab-list {
    justify-content: flex-start;
    padding-inline: 24px;
    scroll-padding-left: 24px;
  }

  .tab-list button {
    flex: 0 0 auto;
  }
}
