:root {
  color-scheme: light;
}

.service-site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px clamp(18px, 4vw, 42px);
}

.service-brand {
  color: var(--text, #152033);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.service-header-link {
  color: var(--primary, #145fd7);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.service-detail-page {
  display: grid;
  max-width: 1120px;
  margin: 0 auto;
  padding:
    10px
    clamp(18px, 4vw, 42px)
    56px;
  gap: 24px;
}

.service-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted, #667085);
  font-size: 13px;
}

.service-breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.service-hero-card {
  padding: clamp(22px, 5vw, 46px);
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 28px;
  background: var(--surface, #ffffff);
  box-shadow: 0 18px 60px rgb(25 40 72 / 8%);
}

.service-photo-gallery {
  margin-top: 24px;
}

.service-photo-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 2px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.service-photo-track::-webkit-scrollbar {
  display: none;
}

.service-photo-slide {
  flex: 0 0 min(86%, 720px);
  margin: 0;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: 20px;
  background: #f2f4f7;
  scroll-snap-align: start;
}

.service-photo-slide:only-child {
  flex-basis: 100%;
}

.service-photo-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-category,
.service-eyebrow,
.service-provider-label {
  margin: 0;
  color: var(--primary, #145fd7);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-hero-card h1 {
  max-width: 780px;
  margin: 10px 0 0;
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.service-description {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted, #667085);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.55;
}

.service-price {
  margin: 22px 0 0;
  font-size: 25px;
  font-weight: 650;
  letter-spacing: -0.025em;
}

.service-provider-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--border, #e5e7eb);
  gap: 20px;
}

.service-provider-name {
  display: inline-block;
  margin-top: 6px;
  color: var(--text, #152033);
  font-size: 18px;
  font-weight: 620;
  text-decoration: none;
}

.service-area {
  margin: 5px 0 0;
  color: var(--muted, #667085);
  font-size: 14px;
}

.service-primary-action {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 14px;
  background: var(--primary, #145fd7);
  color: #ffffff;
  font-size: 14px;
  font-weight: 620;
  text-decoration: none;
}

.service-related-section {
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 26px;
  background: var(--surface, #ffffff);
}

.service-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.service-section-heading h2 {
  margin: 5px 0 0;
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 620;
  letter-spacing: -0.035em;
}

.service-section-heading > a {
  color: var(--primary, #145fd7);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.service-work-grid {
  display: grid;
  margin-top: 20px;
  gap: 16px;
}

.service-work-card {
  overflow: hidden;
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 18px;
  background: var(--surface, #ffffff);
  color: inherit;
  text-decoration: none;
  transition:
    transform 150ms ease,
    border-color 150ms ease,
    box-shadow 150ms ease;
}

.service-work-card:hover {
  transform: translateY(-1px);
  border-color: #c7d8f2;
  box-shadow: 0 8px 24px rgb(25 40 72 / 8%);
}

.service-work-image,
.service-work-placeholder {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
}

.service-work-image {
  object-fit: cover;
}

.service-work-placeholder {
  display: grid;
  place-items: center;
  background: #f5f7fa;
  color: var(--muted, #667085);
  font-size: 13px;
}

.service-work-body {
  padding: 15px;
}

.service-work-body h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 620;
  line-height: 1.25;
}

.service-work-body p {
  margin: 7px 0 0;
  color: var(--muted, #667085);
  font-size: 14px;
  line-height: 1.45;
}

.service-empty {
  margin: 0;
  color: var(--muted, #667085);
}

@media (min-width: 700px) {
  .service-work-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1020px) {
  .service-work-grid {
    grid-template-columns:
      repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .service-provider-row,
  .service-section-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .service-primary-action {
    width: 100%;
  }
}
