/* Inter (self-hosted, OFL) with the tailed lowercase l (cv05) */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/InterVariable.woff2") format("woff2");
}
/* Solicitor Compass: light, minimal design system */
:root {
  --bg: #ffffff;
  --bg-soft: #f8f6f1;
  --bg-tint: #f6f0e3;
  --ink: #0b1f3a;
  --ink-2: #44506a;
  --muted: #6b7385;
  --line: #e8e3d8;
  --line-2: #d6cfbf;
  --primary: #14315c;
  --primary-ink: #ffffff;
  --primary-hover: #0b1f3a;
  --primary-soft: #eef1f6;
  --primary-line: #c3cedf;
  --ok: #067647; --ok-bg: #ecfdf3;
  --warn: #93370d; --warn-bg: #fffaeb;
  --bad: #b42318; --bad-bg: #fef3f2;
  --muted-bg: #f1eee6;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .05);
  --shadow: 0 1px 3px rgba(16, 24, 40, .06), 0 8px 24px -12px rgba(16, 24, 40, .12);
  --accent: #8a5a2b;
  --accent-hover: #6e4520;
  --accent-soft: #f4ece2;
  --navy: #0b1f3a;
  --navy-2: #12294a;
  --serif: Inter, ui-sans-serif, system-ui, sans-serif;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--primary-hover); }
h1, h2, h3 { color: var(--ink); line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); font-weight: 700; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); font-weight: 650; }
h3, .h3 { font-size: 1.1rem; font-weight: 600; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.section { padding-top: 56px; padding-bottom: 56px; }
.section-sm { padding-top: 24px; padding-bottom: 48px; }
.band { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--primary); margin-bottom: 12px; }
.eyebrow a { text-decoration: none; }
.lede { font-size: 1.125rem; color: var(--ink-2); max-width: 68ch; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 100; background: var(--bg); padding: 8px 12px; border-radius: 8px; box-shadow: var(--shadow); }

/* ---------- Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.08rem; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand-mark { flex: none; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .95rem; padding: 8px 12px; border-radius: 8px; }
.nav a:hover { color: var(--ink); background: var(--bg-soft); }
.nav a[aria-current="page"] { color: var(--primary); }
.nav .nav-cta { margin-left: 8px; color: var(--primary-ink); }
.nav .nav-cta:hover { color: var(--primary-ink); background: var(--primary-hover); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 42px; height: 42px; color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }

/* ---------- Breadcrumbs */
.crumbs { padding-top: 20px; font-size: .875rem; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-2); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--primary); text-decoration: underline; }

/* ---------- Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: var(--radius-sm); border: 1px solid transparent; font: 600 .975rem var(--font); cursor: pointer; text-decoration: none; white-space: nowrap; transition: background .15s, border-color .15s, color .15s; }
.btn-primary { background: var(--primary); color: var(--primary-ink); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--primary-hover); color: var(--primary-ink); }
.btn-secondary { background: var(--bg); color: var(--ink); border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.btn-secondary:hover { background: var(--bg-soft); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink-2); border-color: var(--line); }
.btn-ghost:hover { background: var(--bg-soft); color: var(--ink); }
.btn-soft { background: var(--primary-soft); color: var(--primary); }
.btn-soft:hover { background: #e2eaff; color: var(--primary-hover); }
.btn-sm { height: 36px; padding: 0 14px; font-size: .875rem; border-radius: 9px; }
.link-arrow { font-weight: 600; text-decoration: none; white-space: nowrap; }
.link-arrow::after { content: " \2192"; transition: margin .15s; }
.link-arrow:hover::after { margin-left: 3px; }

/* ---------- Hero & search */
.hero { background: radial-gradient(1200px 400px at 50% -120px, #e8efff 0%, rgba(232, 239, 255, 0) 70%), var(--bg); padding: 64px 0 56px; border-bottom: 1px solid var(--line); }
.hero-inner { text-align: center; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); max-width: 16ch; margin: 0 auto 16px; }
.hero .lede { margin: 0 auto 32px; }
.hero-points { list-style: none; margin: 24px 0 0; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 24px; color: var(--ink-2); font-size: .925rem; }
.hero-points li::before { content: ""; display: inline-block; width: 16px; height: 16px; margin-right: 8px; vertical-align: -3px; background: no-repeat center/16px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='8' fill='%23ecfdf3'/%3E%3Cpath d='m4.5 8.2 2.2 2.2 4.8-4.8' fill='none' stroke='%23067647' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

.search-form { display: grid; grid-template-columns: 1.15fr 1fr auto; gap: 10px; align-items: end; background: var(--bg); border: 1px solid var(--line); border-radius: 18px; padding: 10px; box-shadow: var(--shadow); text-align: left; }
.search-hero { max-width: 860px; margin: 0 auto; }
.search-bar { grid-template-columns: 1fr 1fr 1fr auto; box-shadow: var(--shadow-sm); }
.search-inline { max-width: 760px; margin: 24px 0 8px; }
.search-side { grid-template-columns: 1fr; box-shadow: none; padding: 0; border: 0; margin-top: 12px; }
.search-side .field-area { display: none; }
.field { display: flex; flex-direction: column; min-width: 0; background: var(--bg-soft); border: 1px solid transparent; border-radius: 12px; padding: 8px 14px 6px; transition: border-color .15s, background .15s; }
.field:focus-within { border-color: var(--primary-line); background: var(--bg); box-shadow: 0 0 0 4px var(--primary-soft); }
.field label { font-size: .75rem; font-weight: 600; color: var(--muted); letter-spacing: .01em; }
.field .opt { font-weight: 400; }
.field input, .field select { border: 0; background: transparent; font: 500 1rem var(--font); color: var(--ink); padding: 2px 0 4px; width: 100%; outline: none; appearance: none; -webkit-appearance: none; }
.field select { background: no-repeat right 2px center/14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23667085' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); padding-right: 22px; cursor: pointer; }
.search-form .btn { height: 58px; border-radius: 12px; padding: 0 26px; }
.search-band { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 20px 0; }

/* ---------- Section heads */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 24px; }
.section-head h2 { margin-bottom: 4px; }
.section-head p { margin: 0; }

/* ---------- Area cards */
.area-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.area-card { display: flex; flex-direction: column; gap: 6px; padding: 20px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
.area-card:hover { color: var(--ink); border-color: var(--primary-line); box-shadow: var(--shadow); transform: translateY(-2px); }
.area-icon { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; background: var(--primary-soft); color: var(--primary); margin-bottom: 6px; }
.area-icon.lg { width: 56px; height: 56px; border-radius: 14px; margin-bottom: 16px; }
.area-name { font-weight: 600; font-size: 1.02rem; }
.area-desc { color: var(--ink-2); font-size: .9rem; line-height: 1.5; flex: 1; }
.area-count { color: var(--muted); font-size: .85rem; font-weight: 500; }

/* ---------- Town grids */
.town-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.town-grid a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 11px 14px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; }
.town-grid a:hover { border-color: var(--primary-line); color: var(--primary); }
.town-grid .count { color: var(--muted); font-size: .8rem; font-weight: 500; background: var(--bg-soft); border-radius: 999px; padding: 1px 8px; }
.town-grid.compact { grid-template-columns: repeat(4, 1fr); }
.region-jump { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 8px; }
.region-jump a { font-size: .875rem; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); text-decoration: none; }
.region-jump a:hover { border-color: var(--primary-line); color: var(--primary); }
.region-section { padding-top: 24px; scroll-margin-top: 90px; }
.region-section + .region-section { margin-top: 24px; border-top: 1px solid var(--line); }

/* ---------- Steps & trust */
.steps { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: start; }
.step-list { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 12px; }
.step-list li { counter-increment: step; position: relative; padding: 18px 20px 18px 64px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink-2); }
.step-list li::before { content: counter(step); position: absolute; left: 20px; top: 18px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--primary-soft); color: var(--primary); font-weight: 700; font-size: .875rem; }
.step-list strong { color: var(--ink); }
.trust { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; background: var(--bg-tint); border: 1px solid var(--primary-line); border-radius: 20px; padding: 36px; }
.trust p { color: var(--ink-2); }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; }
.stats div { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.stats dt { color: var(--muted); font-size: .85rem; }
.stats dd { margin: 2px 0 0; font-size: 1.6rem; font-weight: 700; letter-spacing: -0.02em; }

/* ---------- Guides */
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.guide-card { display: flex; flex-direction: column; gap: 8px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; background: var(--bg); transition: border-color .15s, box-shadow .15s; }
.guide-card:hover { color: var(--ink); border-color: var(--primary-line); box-shadow: var(--shadow); }
.guide-card strong { font-size: 1.02rem; line-height: 1.35; }
.guide-cat { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--primary); }
.guide-sum { color: var(--ink-2); font-size: .9rem; line-height: 1.5; flex: 1; }
.guide-meta { color: var(--muted); font-size: .8rem; }
.guide-section + .guide-section { margin-top: 40px; }

/* ---------- Page heads & layout */
.page-head { padding-top: 16px; padding-bottom: 8px; }
.page-head .lede { margin-bottom: 8px; }
.area-hero { background: linear-gradient(180deg, var(--bg-tint), var(--bg)); border-bottom: 1px solid var(--line); padding: 32px 0 36px; }
.layout-2 { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; padding-top: 16px; }
.side-col { display: grid; gap: 16px; position: sticky; top: 88px; }

/* ---------- Chips & tags */
.chip-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: .875rem; font-weight: 500; color: var(--ink-2); text-decoration: none; background: var(--bg); }
.chip:hover { border-color: var(--primary-line); color: var(--primary); background: var(--primary-soft); }
.chip span { color: var(--muted); font-size: .8rem; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-size: .78rem; font-weight: 500; color: var(--ink-2); background: var(--muted-bg); padding: 3px 10px; border-radius: 999px; }
.tags li.on { background: var(--primary-soft); color: var(--primary); }
.tags li.more { background: transparent; color: var(--muted); }
.badge { display: inline-flex; align-items: center; gap: 4px; font-size: .75rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.badge-ok { background: var(--ok-bg); color: var(--ok); }
.badge-warn { background: var(--warn-bg); color: var(--warn); }
.badge-bad { background: var(--bad-bg); color: var(--bad); }
.badge-muted { background: var(--muted-bg); color: var(--muted); }

/* ---------- Firm list */
.list-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 28px 0 14px; }
.list-head h2 { font-size: 1.2rem; margin: 0; }
.firm-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.firm-card { display: flex; gap: 16px; padding: 20px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .15s, box-shadow .15s; }
.firm-card:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.firm-num { flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink-2); font-size: .8rem; font-weight: 600; }
.firm-card-main { flex: 1; min-width: 0; }
.firm-card-head { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; }
.firm-card-head h3 { font-size: 1.08rem; margin: 0; letter-spacing: -0.01em; }
.firm-card-head h3 a { color: var(--ink); text-decoration: none; }
.firm-card-head h3 a:hover { color: var(--primary); text-decoration: underline; }
.firm-card-addr { display: flex; gap: 6px; align-items: flex-start; color: var(--ink-2); font-size: .925rem; margin: 6px 0 0; }
.firm-card-addr svg { flex: none; margin-top: 4px; color: var(--muted); }
.firm-card-side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 10px; flex: none; }
.firm-card-meta { display: flex; gap: 10px; align-items: baseline; }
.dist { font-weight: 700; font-size: .95rem; }
.meta { color: var(--muted); font-size: .85rem; }
.firm-card-actions { display: flex; gap: 6px; }

/* ---------- Maps */
.map { height: 340px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-soft); margin: 4px 0 8px; z-index: 0; }
.map-sm { height: 260px; margin-bottom: 16px; }
.num-marker { background: var(--primary); color: #fff; border: 2px solid #fff; border-radius: 50%; display: grid !important; place-items: center; font: 700 11px var(--font); box-shadow: 0 2px 6px rgba(15, 23, 42, .3); }
.num-marker.dot { width: 14px !important; height: 14px !important; }

/* ---------- Pagination */
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 32px 0 8px; }
.pager a, .pager span { min-width: 40px; height: 40px; padding: 0 12px; display: inline-grid; place-items: center; border-radius: 10px; font-weight: 500; font-size: .925rem; text-decoration: none; }
.pager a { border: 1px solid var(--line); color: var(--ink-2); }
.pager a:hover { border-color: var(--line-2); color: var(--ink); }
.pager .current { background: var(--ink); color: #fff; }
.pager .gap { color: var(--muted); }

/* ---------- Panels & lists */
.panel { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.panel h2 { font-size: 1rem; margin-bottom: 12px; }
.panel-soft { background: var(--bg-soft); }
.panel-soft p { margin: 0; }
.panel-accent { background: var(--bg-tint); border-color: var(--primary-line); }
.link-list { list-style: none; margin: 0; padding: 0; }
.link-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); font-size: .925rem; }
.link-list li:first-child { border-top: 0; padding-top: 0; }
.link-list a { text-decoration: none; font-weight: 500; }
.link-list a:hover { text-decoration: underline; }
.link-list span { color: var(--muted); font-size: .8rem; white-space: nowrap; }
.link-list.compact li { padding: 5px 0; border: 0; }
.region-cols { columns: 4 240px; column-gap: 28px; margin-top: 20px; }
.region-block { break-inside: avoid; margin-bottom: 24px; }
.region-block h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 6px; }

/* ---------- Cards, firm page */
.card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 16px; }
.card h2 { font-size: 1.15rem; }
.card p:last-child { margin-bottom: 0; }
.firm-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 20px; padding-top: 16px; padding-bottom: 24px; }
.firm-head h1 { margin-bottom: 10px; }
.firm-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; color: var(--ink-2); font-size: .95rem; margin: 0 0 4px; }
.firm-sub span + span::before { content: "\00b7"; margin-right: 14px; color: var(--line-2); }
.firm-sub .badge + span::before { display: none; }
.firm-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.alert { background: var(--warn-bg); border: 1px solid #fedf89; color: var(--ink); padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 16px; }
.office-list { list-style: none; margin: 0; padding: 0; }
.office { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-top: 1px solid var(--line); }
.office:first-child { border-top: 0; }
.office h3 { font-size: 1rem; margin-bottom: 2px; }
.office p { margin: 0; color: var(--ink-2); font-size: .925rem; }
.office-type { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-left: 6px; }
.office-contact { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; font-size: .9rem; flex: none; text-align: right; }
.office-contact a { text-decoration: none; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0 0 16px; font-size: .925rem; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 500; }

/* ---------- FAQ */
.faq { margin: 32px 0; }
.faq h2 { margin-bottom: 16px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 8px; background: var(--bg); }
.faq summary { cursor: pointer; padding: 16px 48px 16px 18px; font-weight: 600; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .15s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-a { padding: 0 18px 4px; color: var(--ink-2); }

/* ---------- Prose & articles */
.prose { font-size: 1.04rem; }
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--muted); }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; font-size: .925rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--bg-soft); font-weight: 600; }
.prose code { font-size: .85em; background: var(--bg-soft); padding: 2px 6px; border-radius: 6px; }
.callout { margin-top: 32px; background: var(--bg-tint); border: 1px solid var(--primary-line); border-radius: var(--radius); padding: 24px; }
.callout h2 { font-size: 1.15rem; }
.article-head { padding: 16px 0 8px; }
.article-head h1 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.article-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--muted); font-size: .875rem; }
.key-points { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; margin: 8px 0 28px; }
.key-points h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 8px; }
.key-points ul { margin: 0; padding-left: 1.2em; }
.key-points li { margin-bottom: 6px; }
.disclaimer-note { font-size: .875rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; margin-top: 32px; }

/* ---------- Search results */
.results-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.results-head h1 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 0; }
.filters { display: flex; gap: 12px; flex-wrap: wrap; }
.filters label { display: flex; flex-direction: column; gap: 4px; font-size: .75rem; font-weight: 600; color: var(--muted); }
.filters select { height: 40px; padding: 0 32px 0 12px; border: 1px solid var(--line-2); border-radius: 10px; font: 500 .9rem var(--font); color: var(--ink); background: var(--bg) no-repeat right 10px center/14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23667085' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); appearance: none; -webkit-appearance: none; }
.notice { background: var(--warn-bg); padding: 12px 16px; border-radius: var(--radius-sm); font-size: .95rem; }
.empty { text-align: center; padding: 56px 20px; border: 1px dashed var(--line-2); border-radius: var(--radius); }

/* ---------- Forms */
.notice-box { background: var(--bg-tint); border: 1px solid var(--primary-line); border-radius: var(--radius-sm); padding: 16px 18px; font-size: .95rem; margin-bottom: 28px; }
.success-box { background: var(--ok-bg); border: 1px solid #abefc6; color: var(--ink); border-radius: var(--radius-sm); padding: 18px; margin: 16px 0 24px; }
.contact-form { display: grid; gap: 18px; max-width: 620px; margin-bottom: 24px; }
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-weight: 600; font-size: .9rem; }
.form-row input, .form-row select, .form-row textarea { font: 1rem var(--font); padding: 12px 14px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: var(--bg); color: var(--ink); }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.field-error { color: var(--bad); font-size: .85rem; margin: 0; }
.hp { position: absolute; left: -9999px; }
.contact-form .btn { justify-self: start; }

/* ---------- Ads */
.ad { margin: 8px 0; padding: 8px 0; text-align: center; list-style: none; }
.ad-label { display: block; font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }

/* ---------- Footer */
.site-footer { margin-top: 64px; background: var(--bg-soft); border-top: 1px solid var(--line); font-size: .925rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding: 48px 0 32px; }
.footer-brand p { color: var(--ink-2); margin-top: 12px; max-width: 36ch; }
.site-footer h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer ul a { color: var(--ink-2); text-decoration: none; }
.site-footer ul a:hover { color: var(--primary); text-decoration: underline; }
.footer-note { border-top: 1px solid var(--line); padding: 24px 0 32px; color: var(--muted); font-size: .825rem; }
.footer-note p { margin-bottom: 8px; }
.footer-note a { color: var(--muted); }

/* ---------- Responsive */
@media (max-width: 1080px) {
  .area-grid { grid-template-columns: repeat(3, 1fr); }
  .town-grid { grid-template-columns: repeat(4, 1fr); }
  .town-grid.compact { grid-template-columns: repeat(3, 1fr); }
  .layout-2 { grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; }
}
@media (max-width: 900px) {
  .layout-2 { grid-template-columns: 1fr; }
  .side-col { position: static; }
  .steps, .trust { grid-template-columns: 1fr; gap: 24px; }
  .guide-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .search-bar { grid-template-columns: 1fr 1fr; }
  .search-bar .btn { grid-column: 1 / -1; }
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 20px 16px; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav .nav-cta { margin: 12px 0 0; border-radius: var(--radius-sm); border: 0; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .section { padding-top: 40px; padding-bottom: 40px; }
  .hero { padding: 40px 0 36px; }
  .search-form, .search-bar { grid-template-columns: 1fr; padding: 8px; }
  .search-form .btn { height: 52px; }
  .area-grid, .guide-grid { grid-template-columns: 1fr; }
  .town-grid, .town-grid.compact { grid-template-columns: 1fr 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .firm-card { flex-direction: column; gap: 10px; padding: 16px; }
  .firm-num { display: none; }
  .firm-card-side { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; width: 100%; }
  .office { flex-direction: column; gap: 6px; }
  .office-contact { align-items: flex-start; text-align: left; }
  .trust { padding: 24px; }
  .map { height: 260px; }
  .footer-grid { grid-template-columns: 1fr; }
  .firm-actions .btn { flex: 1; }
  .chip-nav { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 16px; padding: 0 16px 4px; scrollbar-width: none; }
  .chip-nav::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
}

/* ---------- Lawfindo additions: autocomplete, geolocation, global sections */
.brand-accent { color: var(--primary); }
.field { position: relative; }
.field-where input { padding-right: 34px; }
.geo-btn { position: absolute; right: 8px; bottom: 8px; width: 32px; height: 32px; display: grid; place-items: center; border: 0; border-radius: 8px; background: transparent; color: var(--muted); cursor: pointer; }
.geo-btn:hover { background: var(--primary-soft); color: var(--primary); }
.geo-btn.loading { animation: pulse 1s infinite; color: var(--primary); }
@keyframes pulse { 50% { opacity: .35; } }
.ac-list { position: absolute; left: -1px; right: -1px; top: calc(100% + 6px); z-index: 60; list-style: none; margin: 0; padding: 6px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 32px -8px rgba(16, 24, 40, .22); max-height: 360px; overflow-y: auto; text-align: left; }
.ac-item { display: grid; grid-template-columns: 18px 1fr; column-gap: 10px; align-items: center; padding: 9px 10px; border-radius: 8px; cursor: pointer; }
.ac-item svg { grid-row: span 2; color: var(--muted); }
.ac-item.active, .ac-item:hover { background: var(--primary-soft); }
.ac-item.active svg, .ac-item:hover svg { color: var(--primary); }
.ac-label { font-weight: 500; font-size: .95rem; color: var(--ink); }
.ac-sub { font-size: .8rem; color: var(--muted); }
.search-bar { grid-template-columns: 1fr 1fr auto; }
.popular { margin-top: 20px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; font-size: .875rem; color: var(--muted); align-items: center; }
.popular a { padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); color: var(--ink-2); text-decoration: none; }
.popular a:hover { border-color: var(--primary-line); color: var(--primary); }
.hero-sm { padding: 40px 0 36px; }
.hero-sm h1 { font-size: clamp(2rem, 4.4vw, 3rem); }
.hero-sm .area-icon { margin: 0 auto 14px; }
.split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.town-grid.compact-2 { grid-template-columns: repeat(3, 1fr); }
.footer-countries { border-top: 1px solid var(--line); padding: 24px 0; }
.footer-countries ul { display: flex !important; flex-wrap: wrap; gap: 6px 18px !important; }
.notice-box.small { font-size: .9rem; margin-bottom: 16px; }
@media (max-width: 900px) {
  .split-2 { grid-template-columns: 1fr; }
  .search-bar { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .search-bar { grid-template-columns: 1fr; }
  .town-grid.compact-2 { grid-template-columns: 1fr 1fr; }
  .popular { justify-content: flex-start; }
}


/* =====================================================================
   Lawfindo legal theme: navy + brass, serif display type, ivory surfaces
   ===================================================================== */
body { background: #fffdf9; }
h1, h2, .wordmark, .stats dd, .step-list li::before { font-family: var(--serif); font-weight: 600; letter-spacing: -0.015em; }
h1 { font-weight: 600; letter-spacing: -0.02em; }
h3 { font-family: var(--font); }
a { color: #1d4f8c; }
a:hover { color: var(--navy); }
.eyebrow { color: var(--accent); letter-spacing: .14em; }

/* Brand */
.brand { gap: 9px; }
.wordmark { font-size: 1.42rem; color: var(--navy); letter-spacing: -0.02em; }
.brand-accent { color: var(--accent); }
.site-header { background: rgba(255, 253, 249, .94); border-bottom: 1px solid var(--line); }
.nav a { color: var(--ink-2); }
.nav a[aria-current="page"] { color: var(--navy); box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }

/* Buttons: navy primary, brass for the main search action */
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: #050f1f; color: #fff; }
.search-form .btn-primary { background: var(--accent); color: #fff; font-weight: 700; }
.search-form .btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-soft { background: var(--accent-soft); color: #5e3b18; }
.btn-soft:hover { background: #ead9c4; color: var(--navy); }
.link-arrow { color: var(--navy); border-bottom: 1px solid var(--accent); padding-bottom: 1px; }
.link-arrow:hover { color: var(--accent-hover); }

/* Hero: deep navy with a subtle pillar pattern */
.hero, .area-hero {
  position: relative; overflow: visible; color: #fff;
  background:
    radial-gradient(900px 380px at 85% -10%, rgba(168, 115, 63, .22), transparent 60%),
    radial-gradient(700px 300px at 0% 110%, rgba(255, 255, 255, .06), transparent 60%),
    linear-gradient(160deg, #0b1f3a 0%, #12294a 55%, #0e2340 100%);
  border-bottom: 3px solid var(--accent);
}
.hero::before, .area-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .06;
  background-image: repeating-linear-gradient(90deg, #fff 0 2px, transparent 2px 46px);
  mask-image: linear-gradient(180deg, transparent, #000 40%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%, transparent);
}
.hero > *, .area-hero > * { position: relative; }
.hero h1, .area-hero h1 { color: #fff; }
.hero .lede, .area-hero .lede { color: #c9d3e3; }
.hero .eyebrow, .area-hero .eyebrow { color: #d9b48c; }
.area-hero .muted, .hero .muted { color: #a9b6cb; }
.area-hero .muted a, .hero .muted a { color: #d9b48c; }
.hero .search-form, .area-hero .search-form { border-color: transparent; box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .55); }
.hero-points { color: #c9d3e3; }
.popular { color: #a9b6cb; }
.popular a { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); color: #e6ebf3; }
.popular a:hover { background: rgba(217, 180, 140, .16); border-color: var(--accent); color: #fff; }
.area-icon.lg { background: rgba(217, 180, 140, .14); color: #d9b48c; }
.hero-sm .area-icon { background: rgba(217, 180, 140, .14); color: #d9b48c; }
.area-hero { padding: 40px 0 44px; }
.crumbs + .area-hero, .crumbs + .hero { margin-top: 14px; }

/* Search fields */
.field { background: #f6f3ec; }
.field:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(138, 90, 43, .16); }
.ac-item.active, .ac-item:hover { background: var(--accent-soft); }
.ac-item.active svg, .ac-item:hover svg { color: var(--accent); }
.geo-btn:hover { background: var(--accent-soft); color: var(--accent-hover); }

/* Cards */
.area-icon { background: var(--accent-soft); color: #7a4d22; border-radius: 10px; }
.area-card { background: #fff; }
.area-card:hover { border-color: var(--accent); box-shadow: 0 14px 30px -18px rgba(11, 31, 58, .35); }
.area-name { font-family: var(--serif); font-weight: 600; font-size: 1.08rem; }
.guide-card:hover, .town-grid a:hover { border-color: var(--accent); }
.guide-cat { color: var(--accent); }
.guide-card strong { font-family: var(--serif); font-weight: 600; font-size: 1.08rem; }
.town-grid a:hover { color: var(--navy); }
.firm-card:hover { border-color: #d8c4ad; }
.firm-card-head h3 { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; }
.firm-card-head h3 a:hover { color: #1d4f8c; }
.firm-num { background: var(--navy); color: #d9b48c; border-color: var(--navy); }
.tags li.on { background: var(--accent-soft); color: #5e3b18; }
.chip:hover { background: var(--accent-soft); border-color: var(--accent); color: var(--navy); }
.num-marker { background: var(--navy); box-shadow: 0 0 0 2px var(--accent), 0 2px 6px rgba(0,0,0,.3); }
.num-marker.dot { background: var(--accent); }
.pager .current { background: var(--navy); }

/* Panels, callouts, trust */
.panel-accent, .callout, .notice-box { background: var(--accent-soft); border-color: #e4d3bf; }
.key-points { background: #f6f3ec; border-left: 3px solid var(--accent); }
.trust { background: var(--navy); border: 0; color: #dfe6f0; }
.trust h2 { color: #fff; }
.trust p { color: #c9d3e3; }
.trust a, .trust .link-arrow { color: #d9b48c; }
.stats div { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); }
.stats dt { color: #a9b6cb; }
.stats dd { color: #fff; }
.step-list li::before { background: var(--navy); color: #d9b48c; }
.faq details[open] { border-color: #d8c4ad; }
.faq summary::after { border-color: var(--accent); }
.badge-ok { background: #e7f4ec; color: #146c43; }

/* Footer: navy */
.site-footer { background: var(--navy); color: #c9d3e3; border-top: 3px solid var(--accent); }
.site-footer h2 { color: #d9b48c; font-family: var(--font); font-weight: 600; }
.site-footer ul a, .footer-note a { color: #dfe6f0; }
.site-footer ul a:hover { color: #d9b48c; }
.footer-brand p, .footer-note { color: #a9b6cb; }
.footer-note, .footer-countries { border-color: rgba(255, 255, 255, .12); }
.site-footer .wordmark { color: #fff; }
.site-footer .brand-mark .pin { fill: #f4ece2; }
.site-footer .brand-mark .hole { fill: #0b1f3a; }
.site-footer .brand-mark .el { fill: #d9b48c; }

/* Wordmark logo: lowercase geometric type with a brown full stop */
.logo { font-family: Inter, system-ui, sans-serif; font-weight: 800; font-size: 1.7rem; line-height: 1; letter-spacing: -0.05em; color: var(--navy); display: inline-flex; align-items: baseline; }
.logo-dot { display: inline-block; width: 0.22em; height: 0.22em; margin-left: 0.07em; border-radius: 50%; background: var(--accent); }
.brand:hover .logo-dot { background: var(--accent-hover); }
.site-footer .logo { color: #fff; }
.site-footer .logo-dot { background: #d9b48c; }
@media (max-width: 640px) { .logo { font-size: 1.5rem; } }

/* Inter throughout: tailed l, bold tight headings */
body, input, select, textarea, button { font-feature-settings: "cv05" 1; }
h1, h2, .area-name, .guide-card strong, .firm-card-head h3, .stats dd { font-weight: 700; letter-spacing: -0.025em; }
h1 { font-weight: 800; letter-spacing: -0.035em; }

/* =====================================================================
   Mobile fixes: grid overflow, firm cards, spacing
   ===================================================================== */
.main-col, .side-col, .layout-2 > * { min-width: 0; }
.town-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.town-grid.compact { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.town-grid.compact-2 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.town-grid a span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.town-grid a .count { flex: none; }
.firm-card-actions { flex-wrap: wrap; justify-content: flex-end; }
.firm-card-main, .firm-card-addr, .office p, .office-contact a { overflow-wrap: anywhere; }
.crumbs { margin-bottom: 4px; }

@media (max-width: 1080px) {
  .town-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .town-grid.compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .layout-2 { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .split-2 { grid-template-columns: minmax(0, 1fr); }
  .town-grid, .town-grid.compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  /* Breadcrumbs: one swipeable line, clear gap before the title */
  .crumbs { padding-top: 14px; margin-bottom: 6px; font-size: .8rem; }
  .crumbs ol { flex-wrap: nowrap; overflow-x: auto; white-space: nowrap; scrollbar-width: none; margin-right: -16px; padding-right: 16px; }
  .crumbs ol::-webkit-scrollbar { display: none; }

  .page-head, .firm-head { padding-top: 8px; }
  .firm-head { gap: 16px; padding-bottom: 18px; }
  .firm-head h1, .page-head h1 { font-size: 1.75rem; margin-bottom: 8px; }
  .firm-sub { gap: 4px 10px; font-size: .9rem; }
  .firm-sub span + span::before { margin-right: 10px; }
  .firm-actions { width: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; }
  .firm-actions .btn { width: 100%; height: 46px; padding: 0 12px; }
  .lede { font-size: 1.02rem; }

  .layout-2 { gap: 16px; padding-top: 8px; }
  .side-col { gap: 12px; }
  .card { padding: 18px 16px; margin-bottom: 12px; }
  .card h2, .panel h2 { font-size: 1.05rem; }
  .panel { padding: 16px; }
  .map-sm { height: 220px; }
  .office { padding: 12px 0; }
  .faq { margin: 24px 0; }
  .faq summary { padding: 14px 40px 14px 14px; font-size: .95rem; }
  .faq summary::after { right: 16px; }
  .faq-a { padding: 0 14px 4px; }
  .notice-box, .alert { padding: 12px 14px; }

  /* Firm cards: stacked, buttons share the row evenly */
  .firm-card { padding: 16px; gap: 8px; }
  .firm-card-head h3 { font-size: 1.05rem; }
  .firm-card-side { flex-direction: column; align-items: stretch; gap: 10px; }
  .firm-card-meta:empty { display: none; }
  .firm-card-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 8px; justify-content: stretch; }
  .firm-card-actions .btn { width: 100%; padding: 0 8px; }
  .list-head { margin: 20px 0 12px; }
  .list-head h2 { font-size: 1.1rem; }

  .town-grid, .town-grid.compact, .town-grid.compact-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .town-grid a { padding: 10px 12px; font-size: .9rem; }
  .section-head { margin-bottom: 16px; }
  .area-hero { padding: 28px 0 32px; }
  .hero { padding: 36px 0 34px; }
  .callout { padding: 18px 16px; }
  .trust { padding: 22px 18px; }
  .stats dd { font-size: 1.35rem; }
}
.callout .link-arrow, .prose .link-arrow, .panel .link-arrow, main p > .link-arrow { white-space: normal; }
