/* ===========================================================
   SEO / content components — reusable across landing pages.
   Theme-agnostic: every colour comes from the CSS variables
   set in theme-dark.css. Layout primitives (.wrap, .section,
   .grid, .card, .flist) are reused from base.css.
   =========================================================== */

/* ---------- breadcrumbs ---------- */
.breadcrumbs { padding: 18px 0 0; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 0.85rem; color: var(--muted); }
.breadcrumbs li { display: flex; align-items: center; gap: 8px; }
.breadcrumbs li::after { content: "/"; color: var(--line); }
.breadcrumbs li:last-child::after { content: ""; }
.breadcrumbs a { color: var(--muted); transition: color .2s; }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs li[aria-current] { color: var(--text); font-weight: 600; }

/* ---------- prose: long-form readable content ---------- */
.prose { max-width: 760px; }
.prose p { margin-bottom: 16px; }
.prose h2 { margin: 40px 0 14px; }
.prose h3 { margin: 26px 0 10px; }
.prose ul { list-style: none; margin: 8px 0 18px; }
.prose ul li { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; color: var(--muted); }
.prose ul li::before { content: "✓"; color: var(--accent); font-weight: 800; flex: none; }
.prose a { color: var(--accent); font-weight: 600; }
.prose a:hover { text-decoration: underline; }

/* ---------- FAQ (native disclosure, no JS needed) ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--bg-3); margin-bottom: 12px; padding: 0 20px;
  transition: border-color .2s ease;
}
.faq details[open] { border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 0; font-weight: 600;
  color: var(--text); display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; line-height: 1; flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details > p { color: var(--muted); padding: 0 0 18px; margin: 0; }

/* ---------- comparison / pricing table ---------- */
.cmp-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.cmp-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.cmp-table th, .cmp-table td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.cmp-table thead th { font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.cmp-table thead th.featured { color: var(--accent); }
.cmp-table tbody th { font-weight: 600; color: var(--text); }
.cmp-table td { color: var(--muted); }
.cmp-table td.featured { background: color-mix(in srgb, var(--accent) 7%, transparent); color: var(--text); }
.cmp-table tr:last-child td, .cmp-table tr:last-child th { border-bottom: none; }
.cmp-table .yes { color: var(--accent); font-weight: 700; }

/* ---------- case-study block ---------- */
.case-study { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg-3); }
.case-study .cs-media { min-height: 200px; background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 18%, transparent), color-mix(in srgb, var(--accent-2) 16%, transparent)); }
.case-study .cs-media img { width: 100%; height: 100%; object-fit: cover; }
.case-study .cs-body { padding: 26px; }
.case-study .cs-body h3 { margin-bottom: 14px; }
.cs-grid { display: grid; gap: 14px; margin-top: 6px; }
.cs-block { padding: 12px 0; border-top: 1px solid var(--line); }
.cs-block .cs-label { font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.cs-block p { margin-top: 4px; color: var(--muted); }
.cs-placeholder { font-style: italic; opacity: 0.85; }

/* ---------- local service-area chips ---------- */
.area-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.area-chips span { border: 1px solid var(--line); border-radius: 100px; padding: 8px 16px; font-size: 0.9rem; color: var(--muted); background: color-mix(in srgb, var(--accent) 5%, transparent); }

/* ---------- related links / service cards ---------- */
.link-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.link-card { display: block; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px 22px; background: var(--bg-3); transition: transform .2s ease, border-color .2s ease; }
.link-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); }
.link-card strong { display: block; color: var(--text); margin-bottom: 4px; }
.link-card span { color: var(--muted); font-size: 0.9rem; }
.link-card .more { color: var(--accent); font-weight: 600; font-size: 0.9rem; }

@media (max-width: 940px) {
  .link-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .link-cards { grid-template-columns: 1fr; }
}
