/* Service page reference 01–08; shared working values are in tokens.css. */
.service-hero {
  background: var(--surface-soft);
  padding-top: var(--space-8);
}

.service-hero .breadcrumbs {
  margin-bottom: var(--space-8);
}

.service-hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: var(--service-hero-height);
  gap: var(--space-8);
}

.service-hero-copy {
  align-self: center;
  padding-block: var(--space-10) var(--space-16);
  min-width: 0;
}

.service-eyebrow {
  color: var(--color-primary);
  font-size: var(--font-size-20);
  line-height: var(--line-height-20-28);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-5);
}

.service-hero h1 {
  font-size: var(--font-size-48);
  line-height: var(--line-height-48-48);
  letter-spacing: var(--letter-spacing-heading);
  overflow-wrap: break-word;
}

.service-hero-copy .button {
  min-width: var(--hero-action-min-width);
  margin-top: var(--space-10);
}

.service-hero-price {
  font-size: var(--font-size-48);
  line-height: var(--line-height-48-48);
  font-weight: var(--font-weight-bold);
  margin-top: var(--space-5);
}

.service-hero-photo {
  min-width: 0;
  position: relative;
  overflow: hidden;
  mask-image: var(--service-photo-mask);
}

.service-hero-photo img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.service-page .section {
  margin-top: var(--catalog-section-spacing);
}

.service-content {
  padding: var(--service-content-padding);
  border-radius: var(--appointment-radius);
  background: var(--surface-soft);
  overflow-wrap: break-word;
}

.service-content h2 {
  color: var(--color-primary);
  font-size: var(--font-size-20);
  line-height: var(--line-height-20-28);
  font-weight: var(--font-weight-semibold);
  margin-block: var(--space-8) var(--space-3);
  letter-spacing: normal;
}

.service-content h2:first-child {
  font-size: var(--font-size-32);
  line-height: var(--line-height-32-40);
  color: var(--text-primary);
  font-weight: var(--font-weight-bold);
  margin-top: 0;
}

.service-content p,
.service-content ul {
  margin-bottom: var(--space-4);
}

.service-content li {
  position: relative;
  padding-left: var(--space-6);
  margin-block: var(--space-3);
}

.service-content li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--color-blue);
}

.service-contact-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-5);
  color: var(--link-color);
  text-decoration: underline;
  text-underline-offset: var(--space-1);
}

.service-pricing {
  margin-bottom: var(--space-12);
}

.service-price-row {
  border-block-start: var(--border-width) solid var(--border-color);
  padding-block: var(--space-6);
}

.service-price-row summary {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  cursor: pointer;
  list-style: none;
}

.service-price-row summary::-webkit-details-marker { display: none; }
.service-price-row summary span { flex: 1; }
.service-price-row strong { color: var(--color-primary); }
.service-price-row[open] .icon { transform: rotate(180deg); }
.service-price-row p { margin-top: var(--space-5); }
.service-price-row a { color: var(--link-color); text-decoration: underline; }

@media (max-width: 64rem) {
  .service-hero h1 {
    font-size: var(--font-size-32);
    line-height: var(--line-height-32-40);
  }
}

@media (max-width: 48rem) {
  .service-hero { padding-top: var(--space-6); }
  .service-hero .breadcrumbs { margin-bottom: var(--space-6); }
  .service-hero-layout { grid-template-columns: 1fr; gap: 0; }
  .service-hero-copy { padding-block: var(--space-4) var(--space-8); }
  .service-hero-photo { height: var(--service-photo-height-compact); mask-image: none; border-radius: var(--radius-sm); }
  .service-hero-photo img { position: static; }
  .service-hero-copy .button { margin-top: var(--space-6); }
  .service-content h2:first-child { font-size: var(--font-size-28); line-height: var(--line-height-28-38); }
}
