/* ------------------------------------------------------------------
 * lod-services.css — service pages, pricing, booking flow.
 * Loaded after lod.css. Use ONLY tokens from lod.css (--gold, --ink,
 * --s-4, --t-h2 …). No new colour literals, no !important.
 *
 * Everything is scoped under .sv-page (set on <body> by
 * build-services.js) so nothing here can reach any other page type.
 * The scope also lets these rules win over the legacy site.css
 * without resorting to !important.
 * ------------------------------------------------------------------ */

/* ---------- 0. Reclaim the base from legacy site.css ---------------- */
.sv-page {
  background: var(--bg);
  color: var(--ink-2);
  font-family: var(--font-body);
  font-size: var(--t-body);
  line-height: 1.65;
}
.sv-page em { color: var(--gold); font-style: italic; }
.sv-page strong { color: var(--ink); font-weight: 600; }
.sv-page .eyebrow {
  font-family: var(--font-body); font-size: var(--t-eyebrow); font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase; color: var(--gold);
  display: inline-block; line-height: 1.4;
}
.sv-page .lede { font-size: var(--t-body-l); line-height: 1.75; color: var(--ink-3); }
.sv-page .prose p { max-width: none; font-size: var(--t-body-l); line-height: 1.8; color: var(--ink-2); font-weight: 400; }
.sv-page .prose > * + * { margin-top: var(--s-4); }
.sv-page .prose a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }

/* Buttons — legacy site.css redefines .btn, so restate the system here. */
.sv-page .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-body); font-size: var(--t-button); font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  padding: 1rem 1.9rem; border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  background: transparent; color: var(--ink); cursor: pointer; min-height: 48px;
  transition: background var(--t-std) var(--ease), color var(--t-std) var(--ease),
              border-color var(--t-std) var(--ease), transform var(--t-fast) var(--ease);
}
.sv-page .btn:hover { transform: translateY(-1px); }
.sv-page .btn-primary { background: var(--gold); border-color: var(--gold); color: var(--surface); }
.sv-page .btn-primary:hover { background: var(--gold-bright); border-color: var(--gold-bright); filter: none; }
.sv-page .btn-secondary { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.sv-page .btn-secondary:hover { border-color: var(--gold); color: var(--gold); background: transparent; }
.sv-page .btn-ghost { border-color: transparent; color: var(--gold); background: transparent; padding-inline: .4rem; }
.sv-page .btn-ghost:hover { color: var(--gold-bright); background: transparent; }
.sv-page :focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

/* Grid and split children must be allowed to shrink below their content's
   min-content width, or a wide table inside a card pushes the whole page
   sideways on a phone. */
.sv-page .grid > *,
.sv-page .split > * { min-width: 0; }
.sv-page .sv-tblwrap { min-width: 0; max-width: 100%; }

/* A text-width column that still starts on the page's left gutter, so a narrow
   section never looks indented against the full-width ones above it. */
.sv-page .container.container-text { max-width: var(--w-page); }
.sv-page .container.container-text > * { max-width: var(--w-text); }

/* ---------- 1. Breadcrumb ------------------------------------------ */
.sv-page .sv-crumbwrap { padding-top: var(--s-5); }
.sv-page .crumb {
  font-family: var(--font-body); font-size: var(--t-caption); letter-spacing: .04em;
  color: var(--ink-muted); padding: 0;
}
.sv-page .crumb a { color: var(--ink-muted); text-decoration: none; }
.sv-page .crumb a:hover { color: var(--gold); }
.sv-page .crumb span { color: var(--line-strong); margin: 0 .5rem; }

/* ---------- 2. Hero ------------------------------------------------- */
.sv-page .sv-hero {
  padding-block: clamp(1.75rem, 1rem + 2.5vw, 3.25rem) clamp(2rem, 1.2rem + 3vw, 3.75rem);
  border-bottom: 1px solid var(--line);
}
.sv-page .sv-hero h1 {
  font-family: var(--font-display); font-size: var(--t-display-l); font-weight: 500;
  line-height: 1.06; letter-spacing: -.015em; color: var(--ink); margin: var(--s-3) 0 0;
}
.sv-page .sv-hero .lede { margin-top: var(--s-4); max-width: 46ch; }
.sv-page .sv-hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr);
  gap: clamp(1.75rem, 1rem + 3vw, 4rem); align-items: start;
}
.sv-page .sv-hero-plain .lede { max-width: none; }
.sv-page .sv-hero-plain .sv-cta-row { margin-top: var(--s-6); }

.sv-page .sv-who {
  margin-top: var(--s-5); padding-left: var(--s-4); border-left: 2px solid var(--gold);
  font-size: var(--t-small); line-height: 1.7; color: var(--ink-2); max-width: 52ch;
}
.sv-page .sv-who-k {
  display: block; font-size: var(--t-eyebrow); font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gold); margin-bottom: .3rem;
}
.sv-page .sv-cta-row { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }

/* Fee / duration / format summary card */
.sv-page .sv-summary {
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-lg);
  padding: clamp(1.3rem, 1rem + 1vw, 1.9rem); position: sticky; top: calc(var(--lod-logo-h) + 3rem);
}
.sv-page .sv-summary-fee { display: flex; flex-direction: column; gap: .2rem; padding-bottom: var(--s-4); border-bottom: 1px solid var(--line); }
.sv-page .sv-summary-k { font-size: var(--t-eyebrow); font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-muted); }
.sv-page .sv-summary-fee strong {
  font-family: var(--font-display); font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2rem);
  font-weight: 500; line-height: 1.1; color: var(--gold);
}
.sv-page .sv-summary-note { font-size: var(--t-caption); color: var(--ink-muted); }
.sv-page .sv-summary-list { list-style: none; margin: 0; padding: var(--s-4) 0 0; display: grid; gap: var(--s-3); }
.sv-page .sv-summary-list li { font-size: var(--t-small); line-height: 1.5; color: var(--ink-2); }
.sv-page .sv-summary-list li span {
  display: block; font-size: var(--t-eyebrow); font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ink-muted); margin-bottom: .15rem;
}

/* ---------- 3. Section heads + tick lists --------------------------- */
.sv-page .section-head { max-width: var(--w-text); margin-bottom: var(--s-6); }
.sv-page .section-head h2 {
  font-family: var(--font-display); font-size: var(--t-h2); font-weight: 500;
  line-height: 1.14; letter-spacing: -.01em; color: var(--ink); margin: var(--s-3) 0 0;
}
.sv-page .section-head .eyebrow + h2 { margin-top: var(--s-3); }
.sv-page .section-head .lede { margin-top: var(--s-4); }

.sv-page .sv-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-4) var(--s-6); }
.sv-page .sv-li {
  position: relative; padding-left: 1.6rem; font-size: var(--t-small);
  line-height: 1.7; color: var(--ink-2);
}
.sv-page .sv-li::before {
  content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px;
  transform: rotate(45deg); background: var(--gold); border-radius: 1px;
}
.sv-page .sv-li strong { color: var(--ink); font-weight: 600; }

/* ---------- 4. Process steps ---------------------------------------- */
.sv-page .sv-steps { align-items: start; }
.sv-page .sv-steps .step {
  border: 0; border-top: 1px solid var(--line-strong); border-radius: 0;
  background: transparent; padding: var(--s-4) 0 0;
}
.sv-page .sv-steps .step-num {
  font-family: var(--font-display); font-size: 2rem; color: var(--gold); line-height: 1;
}
.sv-page .sv-steps .step h3 {
  font-family: var(--font-body); font-size: var(--t-h4); font-weight: 600;
  letter-spacing: 0; color: var(--ink); margin: var(--s-3) 0 var(--s-2);
}
.sv-page .sv-steps .step p { font-size: var(--t-small); line-height: 1.7; color: var(--ink-3); margin: 0; }

.sv-page .note {
  border-left: 2px solid var(--gold); background: var(--gold-soft);
  padding: var(--s-4) var(--s-5); border-radius: 0 var(--r-md) var(--r-md) 0;
}
.sv-page .note p { font-size: var(--t-small); line-height: 1.7; color: var(--ink-2); margin: 0; }
.sv-page .sv-prep { margin-top: var(--s-6); max-width: var(--w-text); }

/* ---------- 5. What you receive + callout --------------------------- */
.sv-page .sv-remedies { margin-top: var(--s-5); }
.sv-page .sv-remedies p { font-size: var(--t-small); line-height: 1.75; color: var(--ink-3); }
.sv-page .sv-callout {
  align-self: start; border: 1px solid var(--gold); border-radius: var(--r-lg);
  background: linear-gradient(160deg, var(--gold-soft), transparent 60%), var(--surface);
  padding: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem);
}
.sv-page .quote {
  font-family: var(--font-display); font-size: var(--t-h3); line-height: 1.5;
  color: var(--ink); font-style: italic; margin: 0;
}
.sv-page .quote-by {
  font-size: var(--t-caption); letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-muted); margin-top: var(--s-4);
}
.sv-page .sv-voice .eyebrow { margin-bottom: var(--s-4); }

/* ---------- 6. Practical details ------------------------------------ */
.sv-page .sv-detail-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 1rem + 2.5vw, 3.5rem); align-items: start;
}
.sv-page .sv-dl { margin: 0; border-top: 1px solid var(--line); }
.sv-page .sv-dl-row {
  display: grid; grid-template-columns: minmax(0, 8.5rem) minmax(0, 1fr);
  gap: var(--s-4); padding: var(--s-4) 0; border-bottom: 1px solid var(--line);
}
.sv-page .sv-dl dt {
  font-size: var(--t-eyebrow); font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ink-muted); padding-top: .2rem;
}
.sv-page .sv-dl dd { margin: 0; font-size: var(--t-small); line-height: 1.6; color: var(--ink); }
.sv-page .sv-dl dd.js-live-fee { color: var(--gold); font-weight: 600; }
.sv-page .sv-note { font-size: var(--t-small); line-height: 1.75; color: var(--ink-3); max-width: 62ch; }
.sv-page .sv-note + .sv-note { margin-top: var(--s-3); }
.sv-page .sv-note a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.sv-page .sv-detail-side .sv-cta-row { margin-top: var(--s-5); }

/* ---------- 7. Honest expectations ---------------------------------- */
.sv-page .sv-limits { list-style: none; margin: 0 0 var(--s-5); padding: 0; display: grid; gap: 0; }
.sv-page .sv-limits li {
  position: relative; padding: var(--s-4) 0 var(--s-4) 2.1rem;
  border-bottom: 1px solid var(--line); font-size: var(--t-small);
  line-height: 1.7; color: var(--ink-2);
}
.sv-page .sv-limits li:first-child { border-top: 1px solid var(--line); }
.sv-page .sv-limits li::before {
  content: "—"; position: absolute; left: 0; top: var(--s-4);
  color: var(--gold); font-size: 1rem; line-height: 1.7;
}

/* ---------- 8. FAQ (L.faqSection markup) ---------------------------- */
.sv-page .sv-faq section.block { padding: 0; border-bottom: 0; }
.sv-page .sv-faq .block h2 {
  font-family: var(--font-display); font-size: var(--t-h2); font-weight: 500;
  line-height: 1.14; color: var(--ink); margin: 0 0 var(--s-5);
}
.sv-page .faq { border-top: 1px solid var(--line); }
.sv-page .faq-item { border-bottom: 1px solid var(--line); }
.sv-page .faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  position: relative; padding: var(--s-4) 2.5rem var(--s-4) 0;
  font-family: var(--font-display); font-size: var(--t-h4); font-weight: 500;
  line-height: 1.4; color: var(--ink);
}
.sv-page .faq-q:hover { color: var(--gold); }
.sv-page .faq-q::after {
  content: "+"; position: absolute; right: .2rem; top: 50%; transform: translateY(-50%);
  color: var(--gold); font-family: var(--font-body); font-size: 1.3rem; line-height: 1;
}
.sv-page .faq-item.open .faq-q::after { content: "–"; }
.sv-page .faq-a { max-height: 0; overflow: hidden; transition: max-height var(--t-std) var(--ease); }
.sv-page .faq-item.open .faq-a { max-height: 60rem; }
.sv-page .faq-a-inner {
  padding: 0 2.5rem var(--s-5) 0; font-size: var(--t-small);
  line-height: 1.8; color: var(--ink-3); max-width: 68ch;
}

/* ---------- 9. Related cards (L.relatedCards markup) ---------------- */
.sv-page .related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); margin: 0; }
.sv-page .related a {
  display: flex; flex-direction: column; gap: .35rem; text-decoration: none;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.25rem, 1rem + .7vw, 1.7rem);
  transition: border-color var(--t-std) var(--ease), box-shadow var(--t-std) var(--ease), transform var(--t-std) var(--ease);
}
.sv-page .related a:hover { border-color: var(--line-strong); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.sv-page .related .r-for {
  font-family: var(--font-body); font-size: var(--t-eyebrow); font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase; color: var(--ink-muted);
}
.sv-page .related .r-title {
  font-family: var(--font-display); font-size: var(--t-h3); font-weight: 500;
  line-height: 1.25; color: var(--ink); margin-top: .2rem;
}
.sv-page .related .r-price { font-size: var(--t-caption); letter-spacing: .06em; color: var(--gold); margin-top: .3rem; }

/* ---------- 10. CTA band (L.ctaBand markup) ------------------------- */
.sv-page .cta-band {
  text-align: center; padding-block: var(--section-y);
  background: var(--bg-2); border-top: 1px solid var(--line);
}
.sv-page .cta-band .wrap { max-width: var(--w-text); margin-inline: auto; padding-inline: var(--pad-x); }
.sv-page .cta-band h2 {
  font-family: var(--font-display); font-size: var(--t-h2); font-weight: 500;
  line-height: 1.14; color: var(--ink); margin: 0 0 var(--s-4);
}
.sv-page .cta-band p { font-size: var(--t-body-l); line-height: 1.75; color: var(--ink-3); margin: 0 auto var(--s-6); max-width: 56ch; }
.sv-page .cta-band .btn + .btn { margin-left: var(--s-3); }

/* ---------- 11. Hub cards ------------------------------------------- */
.sv-page .sv-card-grid { align-items: stretch; }
.sv-page .sv-card {
  display: flex; flex-direction: column; gap: var(--s-2); min-width: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.4rem, 1rem + 1vw, 1.9rem); text-decoration: none;
  transition: border-color var(--t-std) var(--ease), box-shadow var(--t-std) var(--ease), transform var(--t-std) var(--ease);
}
.sv-page .sv-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.sv-page .sv-card-ico { width: 34px; height: 34px; color: var(--gold); margin-bottom: var(--s-2); }
.sv-page .sv-card-for {
  font-size: var(--t-eyebrow); font-weight: 500; letter-spacing: .18em;
  text-transform: uppercase; color: var(--ink-muted);
}
.sv-page .sv-card h3 {
  font-family: var(--font-display); font-size: var(--t-h3); font-weight: 500;
  line-height: 1.25; color: var(--ink); margin: 0;
}
.sv-page .sv-card p { font-size: var(--t-small); line-height: 1.65; color: var(--ink-3); flex: 1; margin: 0; }
.sv-page .sv-card-foot {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: var(--s-3); margin-top: var(--s-4); padding-top: var(--s-3); border-top: 1px solid var(--line);
}
.sv-page .sv-card-price { font-size: var(--t-small); font-weight: 600; letter-spacing: .02em; color: var(--gold); }
.sv-page .sv-explore {
  display: inline-flex; align-items: center; gap: .4rem; font-size: var(--t-caption);
  font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3);
}
.sv-page .sv-explore::after { content: "→"; transition: transform var(--t-std) var(--ease); }
.sv-page .sv-card:hover .sv-explore { color: var(--gold); }
.sv-page .sv-card:hover .sv-explore::after { transform: translateX(4px); }
.sv-page .sv-card-plan { border-color: var(--line-strong); background: linear-gradient(160deg, var(--gold-soft), transparent 55%), var(--surface); }

/* ---------- 12. "How to choose" ------------------------------------- */
.sv-page .sv-choose {
  border: 1px solid var(--line-strong); border-radius: var(--r-lg);
  background: var(--surface); padding: clamp(1.5rem, 1.1rem + 1.6vw, 2.5rem);
  max-width: var(--w-text);
}
.sv-page .sv-choose-h {
  font-family: var(--font-body); font-size: var(--t-eyebrow); font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin: 0 0 var(--s-4);
}
.sv-page .sv-choose-list { margin: 0; padding-left: 1.3rem; display: grid; gap: var(--s-3); }
.sv-page .sv-choose-list li { font-size: var(--t-small); line-height: 1.7; color: var(--ink-2); padding-left: .3rem; }
.sv-page .sv-choose-list li::marker { color: var(--gold); font-variant-numeric: tabular-nums; }

/* ---------- 13. Tables ---------------------------------------------- */
.sv-page .sv-tblwrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.sv-page .sv-tbl {
  width: 100%; border-collapse: collapse; font-family: var(--font-body);
  font-size: var(--t-small); min-width: 34rem;
}
.sv-page .sv-tbl caption {
  text-align: left; font-size: var(--t-caption); color: var(--ink-muted);
  padding-bottom: var(--s-3);
}
.sv-page .sv-tbl th, .sv-page .sv-tbl td {
  text-align: left; padding: var(--s-3) var(--s-4);
  border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.55;
}
.sv-page .sv-tbl thead th {
  font-size: var(--t-eyebrow); font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ink-muted);
  border-bottom: 1px solid var(--line-strong); white-space: nowrap;
}
.sv-page .sv-tbl tbody th { font-weight: 600; color: var(--ink); }
.sv-page .sv-tbl tbody th a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line-strong); }
.sv-page .sv-tbl tbody th a:hover { color: var(--gold); border-bottom-color: var(--gold); }
.sv-page .sv-tbl td { color: var(--ink-2); }
.sv-page .sv-tbl td.js-live-fee { color: var(--gold); font-weight: 600; white-space: nowrap; }
.sv-page .sv-tbl tbody tr:hover td, .sv-page .sv-tbl tbody tr:hover th { background: var(--surface-muted); }
.sv-page .sv-cmp { min-width: 44rem; }
.sv-page .sv-cmp thead th { white-space: normal; }
.sv-page .sv-cmp thead th span {
  display: block; margin-top: .25rem; font-size: var(--t-caption); font-weight: 500;
  letter-spacing: .02em; text-transform: none; color: var(--gold);
}
.sv-page .sv-tbl-sm { min-width: 0; font-size: var(--t-caption); }
.sv-page .sv-tbl-sm th, .sv-page .sv-tbl-sm td { padding: var(--s-3) var(--s-3) var(--s-3) 0; }

/* ---------- 14. Plan cards + policy --------------------------------- */
.sv-page .sv-plan-grid { align-items: stretch; }
.sv-page .sv-plan { display: flex; flex-direction: column; gap: var(--s-3); }
.sv-page .sv-plan h3 {
  font-family: var(--font-display); font-size: var(--t-h3); font-weight: 500;
  line-height: 1.25; color: var(--ink); margin: 0;
}
.sv-page .sv-plan-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem; }
.sv-page .sv-plan-price strong {
  font-family: var(--font-display); font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.1rem);
  font-weight: 500; line-height: 1; color: var(--gold);
}
.sv-page .sv-plan-price span { font-size: var(--t-caption); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); }
.sv-page .sv-plan > p { font-size: var(--t-small); line-height: 1.7; color: var(--ink-3); margin: 0; }
.sv-page .sv-plan-feats { flex: 1; gap: var(--s-3); }
.sv-page .sv-plan .btn { align-self: start; margin-top: var(--s-2); }
.sv-page .sv-policy .card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.4rem, 1rem + 1.2vw, 2rem); display: flex; flex-direction: column; gap: var(--s-4);
}
.sv-page .sv-policy .card h3 {
  font-family: var(--font-display); font-size: var(--t-h3); font-weight: 500;
  color: var(--ink); margin: 0;
}

/* ---------- 15. Responsive ------------------------------------------ */
@media (max-width: 1024px) {
  .sv-page .sv-hero-grid { grid-template-columns: 1fr; }
  .sv-page .sv-summary { position: static; }
  .sv-page .related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .sv-page .sv-detail-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .sv-page .sv-list { grid-template-columns: 1fr; }
  .sv-page .related { grid-template-columns: 1fr; }
  .sv-page .sv-hero h1 { font-size: var(--t-h1); }
  .sv-page .cta-band .btn { display: flex; width: 100%; }
  .sv-page .cta-band .btn + .btn { margin-left: 0; margin-top: var(--s-3); }
}
@media (max-width: 560px) {
  .sv-page .sv-cta-row .btn { width: 100%; }
  .sv-page .sv-dl-row { grid-template-columns: 1fr; gap: .3rem; }
  .sv-page .sv-tbl { min-width: 30rem; }
}
