/* Epic Glass — service-page styles.
 *
 * ⛔ SCOPE RULE: this file only ever adds. It never redefines a token, never touches a
 * class that styles.css owns (.header/.nav/.footer/.logo/.faq-item all come from there
 * unchanged), and every selector below is namespaced under .svc-*.
 *
 * WHY: styles.css carries a documented, hard-won invariant — the <=1440px layout must
 * compute EXACTLY as it did before the fluid-scale work, and growth is expressed as
 * "the value it already had + --grow". A shared token applied bluntly broke five
 * elements at every width last time. The safest way to add eight pages is to not
 * reach into that file at all. (feedback_responsive_scale_laws)
 *
 * Reading measure is capped at 68ch, independent of --maxw: --maxw governs the SHELL,
 * which grows to 2900px on ultrawide. Prose at 2900px is unreadable. The article column
 * therefore sits inside the shell rather than tracking it.
 */

.svc-page {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 34px) 0;
}

/* Breadcrumb -------------------------------------------------------------- */
.svc-crumb {
  display: flex;
  gap: 9px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted-2);
  padding: 22px 0 0;
}
.svc-crumb a { color: var(--muted); text-decoration: none; }
.svc-crumb a:hover { color: var(--text); text-decoration: underline; }
.svc-crumb span[aria-hidden] { opacity: .45; }

/* The article column ------------------------------------------------------ */
.svc-article {
  max-width: 68ch;
  margin: 0 auto;
  padding: clamp(26px, 5vw, 52px) 0 clamp(54px, 8vw, 92px);
}

.svc-title {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.08;
  /* Sits deliberately below the homepage hero: this is an article head, not a hero. */
  font-size: clamp(30px, 5.4vw, 46px);
  margin: 0 0 clamp(16px, 2.4vw, 22px);
  color: var(--text);
}

.svc-lede {
  font-size: clamp(17px, 2.1vw, 19.5px);
  line-height: 1.62;
  color: var(--muted);
  margin: 0 0 clamp(22px, 3vw, 30px);
}
.svc-lede strong { color: var(--text); font-weight: 600; }
.svc-lede a { color: var(--accent); }

/* One light CTA high on the page, before the reader has to scroll for it. */
.svc-cta-inline {
  display: inline-block;
  font-weight: 650;
  font-size: 15px;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1.5px solid rgba(var(--accent-rgb), .38);
  padding-bottom: 2px;
  margin: 0 0 clamp(30px, 4.5vw, 46px);
  transition: border-color .18s ease, color .18s ease;
}
.svc-cta-inline:hover { color: var(--text); border-color: var(--text); }

/* Body blocks ------------------------------------------------------------- */
.svc-block { margin: 0 0 clamp(30px, 4.4vw, 46px); }

.svc-block h2 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -.012em;
  line-height: 1.2;
  font-size: clamp(21px, 2.8vw, 26px);
  color: var(--text);
  margin: 0 0 14px;
}

.svc-block p {
  font-size: 16.5px;
  line-height: 1.72;
  color: var(--muted);
  margin: 0 0 15px;
}
.svc-block p:last-child { margin-bottom: 0; }
.svc-block strong { color: var(--text); font-weight: 600; }
.svc-block a { color: var(--accent); text-decoration: none; border-bottom: 1px solid rgba(var(--accent-rgb), .3); }
.svc-block a:hover { border-color: currentColor; }

.svc-block ul {
  margin: 0 0 15px;
  padding-left: 20px;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.72;
}
.svc-block li { margin-bottom: 8px; }
.svc-block li::marker { color: var(--accent); }

/* FAQ — .faq-item itself is styled by styles.css; only the spacing is ours. */
.svc-faq .faq-item { margin-bottom: 10px; }

/* Closing CTA ------------------------------------------------------------- */
.svc-final {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 34px);
  margin: clamp(38px, 5.5vw, 58px) 0 clamp(30px, 4vw, 40px);
}
.svc-final h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(20px, 2.6vw, 24px);
  line-height: 1.22;
  color: var(--text);
  margin: 0 0 12px;
}
.svc-final p { font-size: 16px; line-height: 1.65; color: var(--muted); margin: 0 0 18px; }
.svc-final a { color: var(--accent); }

.svc-final-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.svc-final-actions .btn-primary,
.svc-final-actions .btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: var(--radius-sm);
  font-weight: 650;
  font-size: 15px;
  text-decoration: none;
  transition: transform .16s ease, filter .16s ease, border-color .16s ease;
}
.svc-final-actions .btn-primary { background: var(--heat); color: #fff; border: none; }
.svc-final-actions .btn-primary:hover { filter: brightness(1.08); transform: translateY(-1px); }
.svc-final-actions .btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line-2); }
.svc-final-actions .btn-ghost:hover { border-color: var(--text); transform: translateY(-1px); }

.svc-proof {
  margin: 18px 0 0 !important;
  font-size: 14px;
  color: var(--muted-2);
}

/* Sibling services -------------------------------------------------------- */
.svc-siblings { border-top: 1px solid var(--line); padding-top: clamp(24px, 3.5vw, 32px); }
.svc-siblings h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
  color: var(--muted);
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: .07em;
}
.svc-siblings ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: 9px;
}
.svc-siblings a {
  display: block;
  padding: 12px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-2);
  color: var(--text);
  text-decoration: none;
  font-size: 15px;
  font-weight: 550;
  transition: border-color .16s ease, background .16s ease;
}
.svc-siblings a:hover { border-color: rgba(var(--accent-rgb), .5); background: var(--bg-3); }

/* ⛔ NO .svc-card-link RULE HERE — deliberately.
 * styles.css already owns that class (line ~170 plus a 44px tap-target rule at ~476),
 * and the homepage writes the arrow INTO the link text ("Call (541) 882-0882 →").
 * An ::after{content:" →"} here would render a second arrow on every existing card link.
 * The homepage "Learn more →" links reuse the existing class verbatim; no new CSS ships
 * to the homepage at all, which is also why index.html does not load this file. */

@media (prefers-reduced-motion: reduce) {
  .svc-final-actions .btn-primary,
  .svc-final-actions .btn-ghost { transition: none; }
  .svc-final-actions .btn-primary:hover,
  .svc-final-actions .btn-ghost:hover { transform: none; }
}
