/* Service pages: the same short layout as the homepage, with the full detail in a closed section. Builds on home.css and area-guide.css. */
.nav__links a[aria-current="page"], .menu__links a[aria-current="page"] { text-decoration: underline; }

.svc-crumbs { margin-bottom: .5rem; color: var(--muted); font-size: var(--text-small); }
.svc-crumbs ol { display: flex; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.svc-crumbs li + li::before { content: "/"; margin-inline: .5rem; }
.svc-crumbs a:hover { text-decoration: underline; }
.svc-title .lead__slogan { font-size: clamp(2.25rem, 4.2vw, 3.875rem); line-height: 1.04; }

/* Short text cards, all in view. */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-card); margin: .75rem 0 0; padding: 0; list-style: none; }
.svc-tile { padding: .875rem 1rem; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--card); }

.svc-how { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-4); align-items: center; margin: var(--gap-section) var(--gutter) 0; padding: var(--pad-panel); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); }
.svc-how--deep { border-color: var(--pool-deep); color: var(--on-water); background: var(--pool-deep); }
.svc-how__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-card) var(--space-3); margin: 0; padding: 0; list-style: none; counter-reset: how; }
.svc-how__steps li { counter-increment: how; }
.svc-how__steps li::before { content: counter(how); display: block; color: #12808a; font-family: var(--font-display); font-size: 1.5rem; line-height: 1.2; }
.svc-how__steps h3 { font-size: 1.125rem; line-height: 1.2; }
.svc-how__steps p { margin-top: .125rem; color: var(--muted); font-size: .9375rem; line-height: 1.4; }
.svc-how--deep .svc-how__steps li::before { color: var(--pool-light); }
.svc-how--deep .svc-how__steps p { color: var(--on-water-muted); }

/* Closed section: sits after a panel with no bottom margin, unlike the homepage. */
.area-guide { margin-top: .25rem; }
.svc-detail .area-guide__intro { margin-bottom: 1rem; }
.svc-detail .area-guide__intro p { color: var(--muted); }
/* One short row per topic. The text stays in the page and opens one topic at a time. */
.svc-topic { border-top: 1px solid var(--line); }
.svc-topic:last-of-type { border-bottom: 1px solid var(--line); }
.svc-topic > summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 2.75rem; padding-block: .5rem; cursor: pointer; list-style: none; }
.svc-topic > summary::-webkit-details-marker { display: none; }
.svc-topic > summary::after { content: "+"; flex: none; color: var(--pool); font-size: 1.375rem; line-height: 1; transition: transform .2s var(--ease); }
.svc-topic[open] > summary::after { transform: rotate(45deg); }
.svc-topic > summary:hover h2 { color: #12808a; }
.svc-topic > summary:focus-visible { outline: 2px solid var(--pool); outline-offset: 2px; }
.svc-detail .svc-topic h2 { font-size: 1.125rem; line-height: 1.25; letter-spacing: -.01em; }
.svc-topic > .svc-block__body { padding-bottom: 1rem; }
.svc-topic > .area-guide__faq { margin: 0; padding: 0 0 1rem; border: 0; }
.svc-block__body { min-width: 0; }
.svc-block__body > * + * { margin-top: .5rem; }
.svc-block__body p, .svc-block__body li { color: var(--muted); }
.svc-block__body > p, .svc-block__body > ul, .svc-block__body > ol { max-width: 65ch; }
.svc-block__body > h3 { margin-top: .875rem; }
.svc-block__body > h3 + p { margin-top: .125rem; }
.svc-block__body p a, .svc-block__body li a, .svc-table a { color: var(--pool); text-decoration: underline; }
.svc-list { display: grid; gap: .25rem; margin: 0; padding: 0; list-style: none; }
.svc-list li { position: relative; padding-left: 1.125rem; }
.svc-list li::before { content: ""; position: absolute; top: .6em; left: 0; width: .375rem; height: .375rem; border-radius: 50%; background: #388b93; }
.svc-list strong, .svc-steps strong { color: var(--ink); font-weight: 600; }
.svc-steps { margin: 0; padding: 0; list-style: none; counter-reset: step; }
.svc-steps li { display: grid; grid-template-columns: 1.75rem minmax(0, 1fr); padding-block: .375rem; counter-increment: step; }
.svc-steps li::before { content: counter(step); color: var(--pool); font-family: var(--font-display); font-size: 1.125rem; line-height: 1.3; }
.svc-steps strong { display: block; }
.svc-table-wrap { overflow-x: auto; }
.svc-table { width: 100%; min-width: 32rem; border-collapse: collapse; font-size: .875rem; line-height: 1.45; }
.svc-table th, .svc-table td { padding: .5rem 1rem .5rem 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.svc-table thead th { color: var(--ink); font-size: var(--text-small); font-weight: 600; }
.svc-table tbody th { color: var(--ink); font-weight: 600; }
.svc-table td { color: var(--muted); }
.svc-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem var(--space-3); }
.svc-card p { margin-top: .125rem; }
.svc-card h3 { font-size: 1.0625rem; }
.svc-card .service__link { margin-top: .125rem; }
.svc-updated { margin-top: 1.25rem; color: var(--muted); font-size: .75rem; }

@media (max-width: 900px) {
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-how { grid-template-columns: minmax(0, 1fr); gap: var(--space-2); }
}
@media (max-width: 700px) {
  .svc-title .lead__slogan { font-size: clamp(2.125rem, 10.5vw, 3.5rem); }
  .svc-how__steps { grid-template-columns: minmax(0, 1fr); gap: .75rem; }
  .svc-how__steps li { display: grid; grid-template-columns: 1.75rem minmax(0, 1fr); }
  .svc-how__steps li::before { grid-row: 1 / span 2; }
  .svc-how__steps h3, .svc-how__steps p { grid-column: 2; }
  .svc-cards { grid-template-columns: minmax(0, 1fr); }
  .svc-table { min-width: 0; }
  .svc-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .svc-table tbody, .svc-table tr, .svc-table th, .svc-table td { display: block; padding: 0; border: 0; }
  .svc-table tbody tr { padding-block: .625rem; border-bottom: 1px solid var(--line); }
  .svc-table tbody tr:first-child { border-top: 1px solid var(--line); }
  .svc-table td { margin-top: .25rem; }
  .svc-table td::before { content: attr(data-label); display: block; color: var(--ink); font-size: var(--text-small); font-weight: 600; }
}
@media (max-width: 480px) {
  .svc-grid { grid-template-columns: minmax(0, 1fr); }
}
