/* Hub pages (the Services hub): a directory layout. Loads after concept.css and shares only its
   tokens, type, buttons and chrome. Composition is its own so a hub never reads as a service page. */

.hb-sec-head { display: grid; gap: 8px; margin-bottom: 28px; }
.hb-sec-head h2 { margin: 0; }
.hb-sec-head .lede { margin: 0; }
.hb-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Hero: the homepage's full-bleed stage, technician held right ---------- */
.hb-hero .hero-bg { transform: scale(1.3); transform-origin: 40% 100%; }
.hb-hero .hero-bg img { object-position: 42% 30%; }
.hb-hero .hero-inner { padding-top: clamp(40px, calc(100svh - var(--top) - 500px), 400px); }
.hb-hero .rating .r-sub { color: var(--on-ink); }
.hb-note { order: 5; display: flex; align-items: flex-start; gap: 8px; margin: 14px 0 0; font-size: 15px; line-height: 1.45; color: var(--on-ink); }
.hb-note svg { flex: none; margin-top: 2px; color: var(--orange-hi); }

/* ---------- Directory index: numbered full-width rows ---------- */
.hb-rows { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.hb-rows li { border-bottom: 1px solid var(--line); }
.hb-rows a {
  display: grid; grid-template-columns: 40px 34px minmax(0, 1fr); gap: 4px 12px; align-items: start;
  padding: 20px 0; color: var(--ink); text-decoration: none; transition: background-color .18s ease;
}
.hb-n { grid-row: span 3; font-family: var(--f-label); font-weight: 700; font-size: 20px; line-height: 1.3; color: var(--grey); font-variant-numeric: tabular-nums; }
.hb-ic { grid-row: span 3; color: var(--ink); }
.hb-rows h3 { margin: 0; }
.hb-rows p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.5; }
.hb-go { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-family: var(--f-label); font-weight: 700; font-size: 17px; letter-spacing: .02em; text-transform: uppercase; text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: var(--rule-link); text-underline-offset: 6px; }
.hb-go svg { transition: transform .18s ease; }
.hb-rows a:hover { background: var(--smoke); }
.hb-rows a:hover .hb-n { color: var(--ink); }
.hb-rows a:hover .hb-go svg { transform: translateX(3px); }

/* ---------- More detail: three link-list columns on black ---------- */
.hb-cols { display: grid; gap: 44px; }
.hb-col h2 { font-size: clamp(26px, 7vw, 32px); margin-bottom: 10px; }
.hb-col .lede { font-size: 16.5px; margin: 0 0 18px; color: var(--on-ink-muted); }
.hb-links { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--grey); }
.hb-links li { border-bottom: 1px solid var(--grey); }
.hb-links a { display: grid; gap: 4px; padding: 16px 0; color: var(--white); text-decoration: none; }
.hb-links strong { font-size: 18px; line-height: 1.3; }
.hb-links span { color: var(--on-ink-muted); font-size: 15.5px; line-height: 1.5; }
.hb-links em { display: inline-flex; align-items: center; gap: 6px; font-style: normal; font-family: var(--f-label); font-weight: 700; font-size: 16px; letter-spacing: .02em; text-transform: uppercase; }
.hb-links em svg { transition: transform .18s ease; }
.hb-links a:hover strong { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: var(--rule-link); text-underline-offset: 5px; }
.hb-links a:hover em svg { transform: translateX(3px); }

/* ---------- Advice: two panels side by side ---------- */
.hb-pair { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.hb-panel { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 28px 22px; border: 1px solid var(--line); border-radius: 4px; background: var(--smoke); }
.hb-panel h2 { margin: 0; font-size: clamp(21px, 6.6vw, 30px); }
.hb-panel p { margin: 0; font-size: 17px; line-height: 1.6; }
.hb-panel .btn { max-width: 100%; margin-top: auto; }
.hb-panel-ink { border-color: var(--ink); background: var(--ink); color: var(--white); }
.hb-panel-ink p { color: var(--on-ink-muted); }

/* ---------- City finder: directory columns ---------- */
.hb-city-grid { display: grid; gap: 28px; }
.hb-city h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.hb-city ul { list-style: none; margin: 0; padding: 0; }
.hb-city li { border-bottom: 1px solid var(--line); }
.hb-city li a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 8px 0; color: var(--ink); font-weight: 600; text-decoration: none; }
.hb-city li a:hover { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: var(--rule-link); text-underline-offset: 5px; }
.hb-city li a svg { flex: none; transition: transform .18s ease; }
.hb-city li a:hover svg { transform: translateX(3px); }

/* ---------- How it works: the live 1-2-3, as one ruled line ---------- */
.hb-steps { padding-bottom: 36px; }
.hb-step-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.hb-step-list li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.hb-step-n { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 2px solid var(--ink); border-radius: 50%; font-family: var(--f-label); font-weight: 700; font-size: 20px; line-height: 1; }
.hb-step-list h3 { margin: 0 0 4px; }
.hb-step-list p { margin: 0; color: var(--muted); }

/* ---------- FAQ: every answer open, two columns ---------- */
.hb-faq { padding-top: 36px; }
.hb-faq .wrap { padding-top: 48px; border-top: 2px solid var(--ink); }
.hb-qa-grid { display: grid; gap: 0; }
.hb-qa { padding: 20px 0; border-bottom: 1px solid var(--line); }
.hb-qa h3 { margin: 0 0 8px; }
.hb-qa p { margin: 0; color: var(--muted); font-size: 16.5px; line-height: 1.6; }

/* ---------- Closing strip ---------- */
.hb-final { padding: 56px 0; }
.hb-final-bar { display: grid; gap: 16px; padding: 28px 22px; border: 2px solid var(--ink); border-radius: 4px; }
.hb-final h2 { margin: 0; }
.hb-final .lede { margin: 0 0 20px; }

@media (max-width: 359px) {
  .hb-hero .hero-inner { padding-top: 24px; }
}
@media (max-width: 559px) {
  .hb-actions { display: grid; grid-template-columns: minmax(0, 1fr); }
  .hb-actions .btn { justify-content: center; }
  .hb-panel .btn { align-self: stretch; justify-content: center; }
}
@media (min-width: 700px) {
  .hb-rows a { grid-template-columns: 56px 40px minmax(0, 1fr); gap: 4px 16px; padding: 24px 12px 24px 0; }
  .hb-pair { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
  .hb-panel { padding: 30px 26px; }
  .hb-panel h2 { font-size: 28px; }
  .hb-city-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; }
  .hb-qa-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
  /* Seven live answers. The last one takes the full row instead of sitting alone in the left column. */
  .hb-qa-grid:has(> :nth-child(odd):last-child) > :last-child { grid-column: 1 / -1; }
}
@media (min-width: 1000px) {
  .hb-hero .hero-bg { transform: none; }
  .hb-hero .hero-bg img { object-position: 80% 42%; }
  .hb-hero .hero-inner { padding-top: 32px; padding-bottom: 96px; }
  .hb-hero .hero-lede { max-width: 35rem; }
  .hb-hero .trust { max-width: 46rem; }
  .hb-hero h1 { max-width: 52rem; font-size: clamp(44px, 3.6vw, 56px); }
  .hb-note { margin-top: 18px; font-size: 16px; }
  .hb-sec-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: end; margin-bottom: 36px; }

  .hb-rows a { grid-template-columns: 64px 44px minmax(0, 1fr) minmax(0, 1.25fr) 250px; gap: 20px; align-items: center; padding: 26px 16px 26px 0; }
  .hb-n, .hb-ic { grid-row: auto; }
  .hb-n { font-size: 24px; }
  .hb-rows h3 { font-size: 22px; }
  .hb-go { margin-top: 0; justify-self: end; }

  .hb-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto 1fr; gap: 0 48px; }
  .hb-col { display: grid; grid-row: span 3; grid-template-rows: subgrid; align-content: start; }
  .hb-col h2 { align-self: end; }

  .hb-panel { padding: 40px 40px 40px; }
  .hb-panel h2 { font-size: 40px; }

  .hb-city-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
  /* Four city directories fill 2×2. Springdale and Fayetteville stay inside Other: they have a city page, not a city service page. */
  .hb-city-grid:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .hb-steps-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2.2fr); gap: 56px; align-items: start; }
  .hb-steps-grid .hb-sec-head { grid-template-columns: minmax(0, 1fr); gap: 8px; margin: 0; }
  .hb-step-list { grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 0; gap: 32px; }
  .hb-step-list li { grid-template-columns: minmax(0, 1fr); align-content: start; gap: 16px; padding: 0 0 0 24px; border-bottom: 0; border-left: 1px solid var(--line); }

  .hb-final-bar { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; padding: 44px 48px; }
}
@media (min-width: 1000px) and (max-height: 820px) {
  .hb-hero .hero-inner { padding-top: 24px; padding-bottom: 72px; }
  .hb-note { margin-top: 12px; font-size: 15px; }
}
