/* =====================================================================
   Service pages + /services/ hub. Loaded only on those pages.
   Spacing scale 4/8/12/16/24/32/48. Phone rules at the end (≤767px).
   ===================================================================== */

/* ---------- Hero ---------- */
.svc-hero { background: linear-gradient(180deg, var(--warm-50) 0%, var(--brand-50) 100%); padding-block: clamp(40px, 5vw, 72px); overflow: hidden; }
.svc-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.svc-hero h1 { font-size: clamp(2.1rem, 1.35rem + 2.3vw, 3.25rem); line-height: 1.08; margin-bottom: 16px; }
.svc-hero .lead { font-size: 1.12rem; color: var(--text); margin-bottom: 24px; max-width: 58ch; }
.svc-hero .cta-row { gap: 12px 24px; }
.svc-hero__link { font-size: 1rem; }
.svc-chips { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.svc-chips li { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .93rem; color: var(--ink); }
.svc-chips .ico { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); stroke-width: 3; }
.svc-hero__media { position: relative; }
.svc-hero__media picture { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; background: var(--warm-200); }
.svc-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.svc-hero__badge { position: absolute; left: -24px; bottom: 28px; display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 12px 18px 12px 12px; box-shadow: var(--shadow); max-width: 300px; }
.svc-hero__badge strong { display: block; color: var(--ink); font-size: 1rem; line-height: 1.25; }
.svc-hero__badge small { display: block; color: var(--muted); font-size: .84rem; line-height: 1.35; }
.svc-hero__badge .icon-tile { width: 44px; height: 44px; border-radius: 12px; }

/* ---------- Layout: article + sticky aside ---------- */
.svc-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(40px, 5vw, 72px); align-items: start; padding-bottom: clamp(48px, 6vw, 88px); }
.svc-main { max-width: 780px; min-width: 0; }
.svc-main p { max-width: none; }
.svc-sec { padding-top: 48px; scroll-margin-top: calc(var(--navbar-h) + 16px); }
.svc-sec > h2 { font-size: clamp(1.6rem, 1.25rem + 1.1vw, 2.15rem); line-height: 1.2; margin-bottom: 16px; }
.svc-sec > h3, .svc-main h3 { font-size: 1.2rem; margin: 24px 0 8px; }
.svc-intro { margin-top: 40px; padding: 24px 28px; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: var(--r); font-size: 1.06rem; }
.svc-intro p:last-child { margin-bottom: 0; }

/* Lists */
.check-list { list-style: none; padding: 0; margin: 8px 0 24px; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list__mark { flex: none; width: 24px; height: 24px; margin-top: 2px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); display: grid; place-items: center; }
.check-list__mark .ico { width: 14px; height: 14px; stroke-width: 3; }
.check-list--warn .check-list__mark { background: var(--accent-soft); color: #A45C12; }
.check-list--warn .check-list__mark .ico { stroke-width: 2.4; }
@media (min-width: 900px) { .check-list:has(> li:nth-child(6)) { grid-template-columns: 1fr 1fr; column-gap: 28px; } }

.term-list { list-style: none; padding: 0; margin: 8px 0 24px; display: grid; gap: 12px; }
.term-list li { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.term-list li > .ico { flex: none; width: 22px; height: 22px; margin-top: 3px; color: var(--ok); stroke-width: 2.6; }
.term-list li div { min-width: 0; }

.steps { list-style: none; padding: 0; margin: 16px 0 24px; display: grid; gap: 0; counter-reset: none; }
.step { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding-bottom: 20px; }
.step:not(:last-child)::before { content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 2px; background: var(--brand-100); }
.step__num { width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 1.05rem; box-shadow: 0 4px 12px rgba(6,70,159,.22); }
.step__body { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 18px; align-self: start; }

/* Option cards (adjacent bold-led paragraphs) */
.opt-grid { display: grid; gap: 14px; margin: 8px 0 24px; }
.opt-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.opt-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.opt { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--brand); border-radius: 14px; padding: 18px 20px; }
.opt p { margin: 0; font-size: 1rem; }

.callout { display: flex; gap: 10px; align-items: flex-start; background: var(--brand-50); border: 1px solid var(--brand-100); border-radius: 12px; padding: 14px 18px; color: var(--ink); }
.callout .ico { color: var(--brand); margin-top: 4px; }
.svc-main blockquote { margin: 16px 0 24px; padding: 16px 20px; border-left: 4px solid var(--sage-200); background: var(--sage-50); border-radius: 0 12px 12px 0; }

/* Figures */
.svc-figure { margin: 32px 0 8px; }
.svc-figure picture { border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 10; background: var(--warm-200); }
.svc-figure img { width: 100%; height: 100%; object-fit: cover; }

/* Tables */
.table-wrap { overflow-x: auto; margin: 8px 0 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.svc-table { width: 100%; border-collapse: collapse; font-size: .98rem; }
.svc-table th, .svc-table td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-soft); }
.svc-table thead th { background: var(--brand-50); color: var(--ink); font-weight: 800; font-size: .88rem; letter-spacing: .01em; }
.svc-table tbody th { font-weight: 700; color: var(--ink); }
.svc-table tbody tr:last-child > * { border-bottom: 0; }
.svc-table td { white-space: nowrap; }

/* Plan and price cards */
.svc-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 16px 0 12px; }
.svc-plan { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.svc-plan--popular { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.svc-plan .plan__badge { position: absolute; top: -12px; left: 16px; margin: 0; }
.svc-plan__name { margin: 0 0 4px; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.svc-plan__price { margin: 0 0 6px; font-size: 2rem; font-weight: 800; color: var(--ink); line-height: 1.1; letter-spacing: -.02em; }
.svc-plan__dur { margin: 0; font-weight: 600; font-size: .95rem; }
.svc-plan__dur span { display: block; color: var(--muted); font-weight: 500; font-size: .88rem; }
.svc-plans__note { display: flex; gap: 8px; align-items: flex-start; font-size: .95rem; color: var(--text); margin: 0 0 24px; }
.svc-plans__note .ico { color: var(--ok); margin-top: 4px; stroke-width: 2.6; }
.svc-plans__note a { font-weight: 700; white-space: nowrap; }
.price-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 16px 0 24px; }
.price-card { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--brand); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.price-card__label { color: var(--muted); font-weight: 700; }
.price-card__value { font-size: 2rem; font-weight: 800; color: var(--ink); line-height: 1.1; }

/* District chips */
.district-chips { list-style: none; padding: 0; margin: 16px 0 24px; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.district-chips a { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 10px 14px; background: var(--surface); border: 1px solid #D7E4F3; border-radius: 12px; color: var(--ink); font-weight: 700; font-size: .95rem; text-decoration: none; transition: border-color .18s, box-shadow .18s, color .18s; }
.district-chips a:hover { border-color: var(--brand); color: var(--brand); box-shadow: 0 6px 16px rgba(22,56,100,.08); }
.district-chips .ico { color: var(--brand); width: 16px; height: 16px; }

/* FAQ inside the article column */
.svc-faq .faq { max-width: none; margin-top: 8px; }
.svc-faq .faq summary h3 { font-size: 1.04rem; }

/* Author */
.svc-author { display: flex; gap: 20px; align-items: flex-start; margin-top: 48px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.svc-author__photo { flex: none; width: 88px; height: 88px; border-radius: 50%; overflow: hidden; }
.svc-author__photo img { width: 100%; height: 100%; object-fit: cover; }
.svc-author p { margin: 0 0 6px; }
.svc-author__kicker { font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.svc-author__name { font-weight: 800; color: var(--ink); font-size: 1.1rem; }
.svc-author__role { color: var(--muted); font-size: .95rem; }
.svc-devnote { margin-top: 40px; }

/* Aside */
.svc-aside { position: relative; height: 100%; padding-top: 40px; }
.svc-aside__sticky { position: sticky; top: calc(var(--navbar-h) + 24px); display: grid; gap: 20px; }
.svc-toc__title { margin: 0 0 8px; font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.svc-toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); max-height: calc(100vh - 460px); min-height: 120px; overflow-y: auto; }
.svc-toc a { display: block; padding: 6px 12px; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); font-size: .92rem; font-weight: 600; line-height: 1.35; text-decoration: none; }
.svc-toc a:hover { color: var(--ink); }
.svc-toc a[aria-current="true"] { color: var(--brand); border-left-color: var(--brand); }
.svc-cta-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; box-shadow: var(--shadow); display: grid; gap: 10px; }
.svc-cta-card__title { margin: 0; font-weight: 800; color: var(--ink); font-size: 1.1rem; line-height: 1.3; }
.svc-cta-card ul { list-style: none; margin: 0 0 6px; padding: 0; display: grid; gap: 6px; }
.svc-cta-card li { display: flex; gap: 8px; font-size: .9rem; line-height: 1.4; }
.svc-cta-card li .ico { color: var(--ok); margin-top: 2px; stroke-width: 2.6; width: 16px; height: 16px; }
.svc-cta-card .btn { min-height: 46px; font-size: .95rem; white-space: normal; text-align: center; }

/* Phone/tablet "On this page" */
.svc-toc-m { display: none; }

/* Related services */
.svc-related { background: var(--warm-100); padding-block: clamp(48px, 6vw, 80px); }
.svc-related__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.svc-related__head h2 { margin: 0; font-size: clamp(1.6rem, 1.25rem + 1.1vw, 2.15rem); }
.svc-related__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.rel-card { display: flex; flex-direction: column; height: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; text-decoration: none; color: inherit; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.rel-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: inherit; }
.rel-card__img { display: block; aspect-ratio: 4 / 3; background: var(--warm-200); overflow: hidden; }
.rel-card__img picture, .rel-card__img img { width: 100%; height: 100%; object-fit: cover; }
.rel-card__body { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px 18px; flex: 1; }
.rel-card__name { font-weight: 800; color: var(--ink); font-size: 1.08rem; }
.rel-card__desc { color: var(--muted); font-size: .94rem; line-height: 1.45; }
.rel-card__more { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 6px; color: var(--brand); font-weight: 700; font-size: .93rem; }

/* Final CTA band */
.svc-final { padding-block: clamp(48px, 6vw, 80px); background: var(--surface); }
.svc-final__box { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 40px; align-items: center; background: var(--brand-50); border: 1px solid var(--brand-100); border-radius: var(--r-xl); padding: clamp(28px, 4vw, 48px); }
.svc-final__box h2 { font-size: clamp(1.7rem, 1.25rem + 1.4vw, 2.4rem); margin-bottom: 8px; }
.svc-final__box p { margin: 0; font-size: 1.08rem; }
.svc-final__actions { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: flex-end; max-width: 520px; }
.svc-final__links { display: inline-flex; gap: 20px; flex-wrap: wrap; }

/* ---------- /services/ hub ---------- */
.hub-hero { background: linear-gradient(180deg, var(--warm-50), var(--brand-50)); padding-block: clamp(40px, 5vw, 64px); }
.hub-hero h1 { font-size: clamp(2.2rem, 1.5rem + 2.2vw, 3.2rem); margin-bottom: 16px; }
.hub-hero .lead { color: var(--text); max-width: 66ch; }
.hub-hero p:last-child { margin-bottom: 0; }
.hub-paths { padding-top: 40px; }
.hub-paths__title { font-size: 1.3rem; margin-bottom: 6px; }
.hub-paths__text { color: var(--muted); margin-bottom: 16px; }
.hub-paths__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.hub-paths__list a { display: flex; align-items: center; gap: 14px; height: 100%; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; text-decoration: none; color: inherit; transition: border-color .18s, box-shadow .18s; }
.hub-paths__list a:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.hub-paths__list strong { display: block; color: var(--ink); line-height: 1.3; }
.hub-paths__list small { display: block; color: var(--muted); font-size: .88rem; }
.hub-paths__list a > .ico { margin-left: auto; color: var(--brand); flex: none; }
.hub-groups { padding-bottom: 24px; }
.hub-group { padding-top: 48px; scroll-margin-top: calc(var(--navbar-h) + 8px); }
.hub-group__head { margin-bottom: 16px; }
.hub-group__head h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin-bottom: 4px; }
.hub-group__head p { color: var(--muted); margin: 0; }
.hub-cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.hub-card { display: flex; align-items: center; gap: 14px; height: 100%; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; text-decoration: none; color: inherit; transition: border-color .18s, box-shadow .18s, transform .18s; }
.hub-card:hover { border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-2px); color: inherit; }
.hub-card__body { display: flex; flex-direction: column; min-width: 0; }
.hub-card__name { font-weight: 800; color: var(--ink); font-size: 1.05rem; }
.hub-card__desc { color: var(--muted); font-size: .93rem; line-height: 1.4; }
.hub-card__arrow { margin-left: auto; color: var(--brand); flex: none; }

/* ---------- Tablet ---------- */
@media (max-width: 1023px) {
  .svc-layout { grid-template-columns: minmax(0, 1fr); }
  .svc-main { max-width: 760px; margin-inline: auto; width: 100%; }
  .svc-aside { display: none; }
  .svc-sec { scroll-margin-top: calc(var(--navbar-h-m) + 12px); }
  .svc-toc-m { display: block; margin-top: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
  .svc-toc-m summary { list-style: none; display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 12px 16px; font-weight: 800; color: var(--ink); cursor: pointer; }
  .svc-toc-m summary::-webkit-details-marker { display: none; }
  .svc-toc-m summary .ico { color: var(--brand); }
  .svc-toc-m__chev { margin-left: auto; transition: transform .2s var(--ease); }
  .svc-toc-m[open] .svc-toc-m__chev { transform: rotate(180deg); }
  .svc-toc-m ol { margin: 0; padding: 4px 16px 12px 40px; display: grid; gap: 2px; }
  .svc-toc-m a { display: block; padding: 8px 0; font-weight: 600; text-decoration: none; color: var(--text); }
  .svc-hero__badge { left: 12px; bottom: 12px; }
  .svc-final__box { grid-template-columns: minmax(0, 1fr); }
  .svc-final__actions { justify-content: flex-start; max-width: none; }
  .hub-paths__list { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) and (min-width: 768px) {
  .svc-hero__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 28px; }
  .svc-hero__badge { display: none; }
}

/* ---------- Phone ---------- */
@media (max-width: 767px) {
  .svc-hero { padding-block: 40px; }
  .svc-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .svc-hero__media { display: none; }
  .svc-hero h1 { font-size: clamp(1.8rem, 1.2rem + 3vw, 2.2rem); line-height: 1.14; margin-bottom: 12px; }
  .svc-hero .lead { font-size: 1.02rem; line-height: 1.6; margin-bottom: 20px; }
  .svc-hero .cta-row { flex-direction: column; align-items: stretch; gap: 12px; }
  .svc-hero .cta-row .btn { width: 100%; white-space: normal; }
  .svc-hero__link { justify-content: center; min-height: 44px; }
  .svc-chips { gap: 8px; margin-top: 16px; }
  .svc-chips li { font-size: .84rem; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px 6px 6px; }
  .svc-chips .ico { width: 18px; height: 18px; }

  .svc-intro { margin-top: 24px; padding: 16px 18px; font-size: 1rem; }
  .svc-toc-m { margin-top: 16px; }
  .svc-sec { padding-top: 40px; }
  .svc-sec > h2 { font-size: 1.5rem; line-height: 1.25; margin-bottom: 12px; }
  .svc-layout { padding-bottom: 48px; }

  .opt-grid--2, .opt-grid--3 { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .opt { padding: 16px; }
  .term-list li { padding: 14px 16px; }
  .step { grid-template-columns: 36px minmax(0, 1fr); gap: 12px; padding-bottom: 12px; }
  .step__num { width: 36px; height: 36px; font-size: .95rem; }
  .step:not(:last-child)::before { left: 17px; top: 36px; }
  .step__body { padding: 10px 14px; font-size: .98rem; }
  .svc-figure { margin: 24px 0 4px; }
  .svc-figure picture { aspect-ratio: 4 / 3; border-radius: 16px; }

  /* Tables become stacked cards */
  .table-wrap { border: 0; background: none; overflow: visible; }
  .svc-table, .svc-table tbody, .svc-table tr, .svc-table th, .svc-table td { display: block; width: 100%; }
  .svc-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .svc-table tr { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 4px 16px; margin-bottom: 10px; }
  .svc-table tbody th { padding: 10px 0 6px; border-bottom: 1px solid var(--line-soft); font-size: 1rem; }
  .svc-table td { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; white-space: normal; border-bottom: 1px dashed var(--line-soft); text-align: right; }
  .svc-table td::before { content: attr(data-label); color: var(--muted); font-weight: 600; text-align: left; font-size: .9rem; }
  .svc-table tr > *:last-child { border-bottom: 0; }

  .svc-plans { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .svc-plan { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name price" "dur price"; align-items: center; column-gap: 12px; padding: 14px 16px; }
  .svc-plan__name { grid-area: name; }
  .svc-plan__dur { grid-area: dur; }
  .svc-plan__price { grid-area: price; margin: 0; font-size: 1.6rem; }
  .svc-plans__note { flex-wrap: wrap; }
  .svc-plans__note span { flex: 1; }
  .svc-plans__note a { flex-basis: 100%; padding-left: 26px; }
  .price-cards { gap: 10px; }
  .price-card { padding: 16px; }
  .price-card__value { font-size: 1.6rem; }

  .district-chips { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .district-chips a { justify-content: center; text-align: center; min-height: 48px; padding: 8px 4px; font-size: .8rem; letter-spacing: -.01em; border-radius: 10px; overflow-wrap: anywhere; line-height: 1.2; }
  .district-chips .ico { display: none; }

  .svc-author { flex-direction: column; padding: 18px; }

  .svc-related__head { margin-bottom: 16px; }
  .svc-related__head h2 { font-size: 1.5rem; }
  .svc-related__list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 12px; scroll-padding-left: var(--gutter); scrollbar-width: none; }
  .svc-related__list::-webkit-scrollbar { display: none; }
  .svc-related__list > li { flex: 0 0 calc(100vw - 88px); max-width: 320px; scroll-snap-align: start; }
  .svc-related__list::after { content: ""; flex: 0 0 1px; }

  .svc-final { padding-block: 40px; }
  .svc-final__box { padding: 24px 20px; border-radius: var(--r-lg); }
  .svc-final__box h2 { font-size: 1.55rem; }
  .svc-final__actions { flex-direction: column; align-items: stretch; }
  .svc-final__actions .btn { width: 100%; white-space: normal; }
  .svc-final__links { justify-content: center; }
  .svc-final__actions > .link-more { justify-content: center; }

  .hub-hero { padding-block: 40px; }
  .hub-hero h1 { font-size: 2rem; }
  .hub-hero .lead { font-size: 1.02rem; }
  .hub-paths { padding-top: 40px; }
  .hub-group { padding-top: 40px; }
  .hub-group__head { position: sticky; top: var(--navbar-h-m); z-index: 5; background: var(--page); padding: 12px 0 10px; margin-bottom: 8px; }
  .hub-group__head h2 { font-size: 1.35rem; }
  .hub-group__head p { font-size: .92rem; }
  .hub-cards { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .hub-card { padding: 14px; }
  .hub-card .icon-tile { width: 42px; height: 42px; border-radius: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .rel-card, .hub-card, .district-chips a { transition: none; }
  .rel-card:hover, .hub-card:hover { transform: none; }
}
.svc-figure + p, .svc-figure + .opt-grid, .svc-figure + ul { margin-top: 20px; }
