/* Services page — builds on shared section styles from home.css */

/* ---------- Page intro ---------- */
.page-intro {
  padding-bottom: calc(var(--section-pad) + 4rem);
}

.page-intro__title em {
  font-weight: 400;
  color: var(--color-teal);
}

.page-intro__body {
  max-width: 28rem;
  font-size: var(--text-sm);
}


/* ---------- Service details ---------- */
.service-detail {
  display: grid;
  gap: var(--space-lg);
  padding-block: var(--space-2xl);
  border-top: 1px solid var(--color-border);
}

.service-detail:first-child {
  padding-top: 0;
  border-top: 0;
}

.service-detail:last-child {
  padding-bottom: 0;
}

.service-detail__index {
  display: block;
  margin-bottom: var(--space-xs);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-copper);
}

.service-detail__title {
  font-size: var(--text-2xl);
}

.service-detail__price {
  display: inline-block;
  margin-top: var(--space-md);
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-pill);
  background: var(--color-mist);
  font-weight: 600;
  font-size: var(--text-sm);
}

.service-detail__price span {
  font-weight: 400;
  color: var(--color-text-muted);
}

.service-detail__body {
  max-width: 34rem;
  font-size: var(--text-sm);
}

.service-detail__lead {
  font-size: var(--text-base);
}

.service-detail__subtitle {
  margin-top: var(--space-lg);
  margin-bottom: var(--space-xs);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-teal);
}

.service-detail__list {
  padding-left: 1.1rem;
}

.service-detail__list li::marker {
  color: var(--color-copper);
}

.service-detail__list li + li {
  margin-top: var(--space-2xs);
}

.service-detail__note {
  margin-top: var(--space-lg);
  padding: var(--space-md) var(--space-lg);
  border-left: 3px solid var(--color-copper);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--color-mist-light);
}

.service-detail__note .service-detail__subtitle {
  margin-top: 0;
}

@media (min-width: 56em) {
  .service-detail {
    grid-template-columns: 1fr 1.4fr;
    gap: var(--space-3xl);
    padding-block: var(--space-3xl);
  }

  .service-detail__head {
    position: sticky;
    top: calc(var(--header-height) + var(--space-lg));
    align-self: start;
  }
}

/* ---------- Fee table ---------- */
.fee-table {
  width: 100%;
  max-width: 28rem;
  border-collapse: collapse;
  font-size: var(--text-sm);
}

.fee-table th,
.fee-table td {
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--color-border-on-dark);
  text-align: left;
  font-weight: 400;
}

.fee-table thead th {
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-on-dark-muted);
}

.fee-table td,
.fee-table thead th:last-child {
  text-align: right;
}

.fee-table td {
  font-weight: 600;
  white-space: nowrap;
}

.fee-table a {
  color: var(--color-on-dark);
  text-decoration-color: var(--color-border-on-dark);
}

.fee-table a:hover {
  color: var(--color-white);
  text-decoration-color: var(--color-copper);
}

@media (min-width: 56em) {
  .fee-table {
    margin-left: auto;
  }
}
