:root {
    --container: 1160px;
    --bg: #f4f7f8;
    --surface: #ffffff;
    --surface-soft: #edf7f5;
    --ink: #102033;
    --muted: #607083;
    --line: #dce6ed;
    --brand: #16866b;
    --brand-dark: #0e5e4a;
    --accent: #d84b7a;
    --blue: #2d6cdf;
    --shadow: 0 16px 36px rgba(16, 32, 51, .08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background:
        linear-gradient(180deg, #eef5f7 0, #f7faf9 360px, var(--bg) 100%);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.55;
}

a {
    color: var(--blue);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    padding: 10px 18px 0;
    background: transparent;
}

.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 12px 14px;
    background: rgba(255, 255, 255, .94);
    border: 1px solid rgba(210, 224, 232, .92);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(16, 32, 51, .055);
    backdrop-filter: blur(14px);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
}

.brand:hover {
    text-decoration: none;
}

.brand-mark,
.avatar {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(135deg, var(--brand), #35a8a0);
    font-weight: 800;
}

.brand small {
    display: block;
    color: var(--muted);
    font-size: 12px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.nav a {
    padding: 8px 10px;
    color: var(--ink);
    font-size: 14px;
}

.nav .nav-cta {
    color: #fff;
    background: var(--brand);
    border-radius: 8px;
}

.breadcrumbs {
    max-width: var(--container);
    margin: 18px auto 0;
    padding: 0 18px;
    color: var(--muted);
    font-size: 13px;
}

.breadcrumbs span {
    margin: 0 8px;
}

main {
    max-width: var(--container);
    margin: 0 auto;
    padding: 22px 18px 72px;
}

.hero,
.page-hero,
.profile-header {
    display: grid;
    gap: 28px;
    align-items: center;
    margin-bottom: 28px;
}

.page-hero {
    grid-template-columns: minmax(0, 1fr) 250px;
    gap: 34px;
    align-items: end;
    padding: 38px 0 34px;
    border-bottom: 1px solid rgba(170, 190, 205, .55);
}

.form-hero {
    max-width: 820px;
    margin: 30px 0 28px;
    padding: 32px 0 28px;
    border-bottom: 1px solid rgba(170, 190, 205, .55);
}

.form-hero h1 {
    max-width: 820px;
    margin: 8px 0 12px;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.08;
}

.form-hero p {
    max-width: 760px;
    margin: 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.65;
}

.hero {
    grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr);
    min-height: 520px;
}

.hero h1,
.page-hero h1,
.profile-header h1 {
    margin: 8px 0 14px;
    max-width: 850px;
    font-size: clamp(34px, 5vw, 64px);
    line-height: 1.04;
    letter-spacing: 0;
}

.page-hero h1,
.profile-header h1 {
    font-size: clamp(32px, 4vw, 50px);
}

.page-hero h1 {
    max-width: 780px;
    margin-top: 12px;
    margin-bottom: 18px;
    font-size: clamp(34px, 4.6vw, 54px);
    line-height: 1.05;
}

.page-hero p {
    max-width: 700px;
    font-size: 17px;
    line-height: 1.7;
}

.page-hero-aside {
    padding: 18px 0 6px 22px;
    border-left: 3px solid var(--brand);
}

.page-hero-aside strong {
    display: block;
    font-size: 38px;
    line-height: 1;
}

.page-hero-aside span {
    display: block;
    max-width: 170px;
    margin-top: 8px;
    color: var(--muted);
    font-size: 13px;
}

.profile-header h1 {
    max-width: 760px;
    margin-top: 6px;
    margin-bottom: 10px;
    font-size: 24px;
    line-height: 1.12;
    font-weight: 800;
}

.profile-header p {
    margin: 0 0 14px;
    font-size: 17px;
}

.hero p,
.page-hero p,
.profile-header p,
.lead {
    max-width: 760px;
    color: var(--muted);
    font-size: 18px;
}

.page-hero p {
    max-width: 700px;
    font-size: 17px;
}

.profile-header p {
    font-size: 17px;
}

.eyebrow {
    display: inline-flex;
    color: var(--brand-dark);
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0;
    text-transform: uppercase;
}

.search-box {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    max-width: 660px;
    margin-top: 28px;
    padding: 8px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.search-box input,
.lead-form input,
.lead-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 13px 14px;
    color: var(--ink);
    background: #fff;
    font: inherit;
}

button,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 8px;
    padding: 13px 18px;
    color: #fff;
    background: var(--brand);
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.button:hover {
    color: #fff;
    background: var(--brand-dark);
    text-decoration: none;
}

.hero-panel,
.panel,
.business-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.hero-panel {
    padding: 22px;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.stat-grid div {
    padding: 16px;
    background: var(--surface-soft);
    border-radius: 8px;
}

.stat-grid strong {
    display: block;
    font-size: 30px;
}

.stat-grid span {
    color: var(--muted);
    font-size: 13px;
}

.mini-map {
    position: relative;
    height: 220px;
    margin-top: 18px;
    overflow: hidden;
    border-radius: 8px;
    background:
        linear-gradient(90deg, transparent 47%, rgba(16, 134, 107, .35) 48%, transparent 51%),
        linear-gradient(0deg, transparent 42%, rgba(45, 108, 223, .28) 43%, transparent 45%),
        repeating-linear-gradient(45deg, #e8eef2 0 10px, #f8fbfd 10px 20px);
}

.mini-map span {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 6px rgba(216, 75, 122, .16);
}

.mini-map span:nth-child(1) { top: 42px; left: 54px; }
.mini-map span:nth-child(2) { top: 92px; right: 72px; }
.mini-map span:nth-child(3) { bottom: 54px; left: 44%; }
.mini-map span:nth-child(4) { bottom: 28px; right: 30px; }

.home-hero {
    margin: 18px 0 54px;
    padding: 58px 34px 48px;
    text-align: center;
    background:
        radial-gradient(circle at 15% 20%, rgba(22, 134, 107, .12), transparent 28%),
        radial-gradient(circle at 85% 18%, rgba(45, 108, 223, .10), transparent 28%),
        linear-gradient(180deg, #eaf8f6, #f7fbfb);
    border: 1px solid #d4e9e6;
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(16, 32, 51, .06);
}

.home-hero h1 {
    max-width: 780px;
    margin: 12px auto 12px;
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.04;
    letter-spacing: 0;
}

.home-hero p {
    max-width: 720px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.65;
}

.home-search-card {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 12px;
    max-width: 860px;
    margin: 28px auto 14px;
    padding: 16px;
    text-align: left;
    background: #fff;
    border: 1px solid #d8e8ec;
    border-radius: 8px;
    box-shadow: 0 20px 44px rgba(16, 32, 51, .10);
}

.home-search-card label {
    display: grid;
    gap: 6px;
}

.home-search-card label span {
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.home-search-card input,
.home-search-card select {
    width: 100%;
    min-height: 42px;
    padding: 10px 11px;
    color: var(--ink);
    background: #fbfdfe;
    border: 1px solid #cbdce5;
    border-radius: 6px;
    font: inherit;
    font-size: 14px;
}

.home-search-card button {
    align-self: end;
    min-height: 42px;
    padding-inline: 24px;
}

.home-quick-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--muted);
    font-size: 13px;
}

.home-quick-filters span {
    position: relative;
    padding-left: 14px;
}

.home-quick-filters span::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 6px;
    height: 6px;
    background: var(--brand);
    border-radius: 50%;
    transform: translateY(-50%);
}

.home-section,
.home-intro,
.home-copy-section {
    margin-top: 58px;
}

.home-section-head {
    margin-bottom: 22px;
}

.home-section-head.centered {
    max-width: 720px;
    margin-inline: auto;
    text-align: center;
}

.home-section-head h2 {
    margin: 6px 0 8px;
    font-size: clamp(26px, 3vw, 34px);
    line-height: 1.12;
}

.home-section-head p {
    margin: 0;
    color: var(--muted);
}

.city-card-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.city-card {
    position: relative;
    min-height: 78px;
    padding: 15px 42px 14px 16px;
    color: var(--ink);
    background: #fff;
    border: 1px solid #d8e6ee;
    border-radius: 8px;
    box-shadow: 0 8px 22px rgba(16, 32, 51, .04);
}

.city-card:hover {
    text-decoration: none;
}

.city-card.active:hover {
    border-color: #9bd8c8;
    box-shadow: 0 16px 32px rgba(16, 32, 51, .08);
}

.city-card strong,
.city-card span {
    display: block;
}

.city-card strong {
    font-size: 15px;
}

.city-card span {
    margin-top: 6px;
    color: var(--muted);
    font-size: 12px;
}

.city-card em {
    position: absolute;
    right: 15px;
    top: 15px;
    color: var(--brand);
    font-style: normal;
    font-weight: 800;
}

.city-card:not(.active),
.region-pill:not(.active) {
    background: rgba(255, 255, 255, .62);
}

.home-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-top: 58px;
    padding: 34px;
    color: #fff;
    background: linear-gradient(135deg, #27a37f, #3d7ef0);
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(39, 126, 170, .20);
}

.home-cta h2 {
    margin: 0 0 8px;
    font-size: 28px;
}

.home-cta p {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, .90);
}

.button.light {
    flex: 0 0 auto;
    color: var(--brand-dark);
    background: #fff;
}

.region-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.region-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 44px;
    padding: 10px 12px;
    color: var(--ink);
    background: #eefaf8;
    border: 1px solid #cde8e4;
    border-radius: 8px;
    font-size: 14px;
}

.region-pill:hover {
    text-decoration: none;
}

.region-pill strong {
    padding: 4px 8px;
    color: #fff;
    background: #4f83ef;
    border-radius: 999px;
    font-size: 11px;
}

.home-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.home-feature-grid article {
    padding: 22px;
    background: #fff;
    border: 1px solid #dce8ee;
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(16, 32, 51, .045);
}

.home-feature-grid h3 {
    margin: 0 0 8px;
}

.home-feature-grid p {
    margin: 0;
    color: var(--muted);
}

.home-copy-section {
    padding-top: 46px;
    border-top: 1px solid rgba(190, 207, 217, .75);
}

.long-copy.refined {
    padding: 28px;
    background: rgba(255, 255, 255, .72);
    border: 1px solid #dce8ee;
    border-radius: 8px;
    column-gap: 42px;
}

.long-copy.refined p {
    color: #2a3c4f;
    font-size: 15px;
    line-height: 1.72;
}

.marketing-block {
    margin-top: 76px;
    padding-top: 8px;
}

.marketing-block .home-section-head {
    max-width: 760px;
}

.marketing-block h2 {
    max-width: 780px;
    font-size: clamp(34px, 4.4vw, 52px);
    line-height: 1.02;
}

.marketing-block mark {
    color: var(--brand-dark);
    background: linear-gradient(transparent 58%, rgba(111, 210, 184, .46) 0);
}

.decision-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 32px;
}

.decision-card {
    min-height: 260px;
    padding: 28px;
    background: #fff;
    border: 1px solid #d9e6ee;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(16, 32, 51, .045);
}

.decision-card > span {
    display: inline-flex;
    margin-bottom: 18px;
    color: #2d6cdf;
    font-size: 20px;
    font-weight: 900;
}

.decision-card.yes > span {
    color: var(--brand);
}

.decision-card h3 {
    margin: 0 0 12px;
    font-size: 18px;
    line-height: 1.1;
}

.decision-card p,
.case-card-grid p,
.timeline-list p {
    margin: 0;
    color: #46586c;
    font-size: 14px;
    line-height: 1.65;
}

.timeline-list {
    display: grid;
    gap: 16px;
    max-width: 840px;
    margin: 32px auto 0;
}

.timeline-list article {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    padding: 22px 26px;
    background: #fff;
    border: 1px solid #d9e6ee;
    border-radius: 14px;
    box-shadow: 0 10px 26px rgba(16, 32, 51, .04);
}

.timeline-list strong {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    color: #fff;
    background: linear-gradient(135deg, var(--brand), #2d6cdf);
    border-radius: 10px;
    box-shadow: 0 10px 22px rgba(22, 134, 107, .22);
    font-size: 20px;
}

.timeline-list h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.case-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 34px;
}

.case-card-grid article {
    min-height: 230px;
    padding: 28px;
    background: #fff;
    border: 1px solid #d9e6ee;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(16, 32, 51, .045);
}

.case-card-grid h3 {
    margin: 0 0 14px;
    font-size: 19px;
    line-height: 1.15;
}

.home-cta.editorial {
    margin-top: 76px;
}

.section {
    margin-top: 42px;
}

.section.soft {
    max-width: 980px;
}

.section.compact {
    margin-top: 0;
}

.filter-heading {
    margin: 0 0 14px;
    font-size: 16px;
    letter-spacing: 0;
}

.section-heading {
    margin-bottom: 18px;
}

.section-heading h2,
.panel h2,
.panel h3 {
    margin: 6px 0 12px;
}

.columns,
.profile-grid,
.form-layout,
.directory-layout {
    display: grid;
    gap: 22px;
}

.columns,
.form-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.directory-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: start;
    margin-top: 22px;
}

.profile-grid {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    align-items: start;
}

.stack {
    display: grid;
    gap: 18px;
}

.panel {
    padding: 24px;
}

.panel.accent {
    background: #eefaf5;
    border-color: #c5eadf;
}

.link-cloud,
.tag-row,
.meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.link-cloud a,
.link-cloud .disabled,
.tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    min-height: 38px;
    color: var(--ink);
    background: #f8fbfd;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: 14px;
}

.district-panel {
    margin-top: 24px;
    padding: 18px 20px;
    background: rgba(255, 255, 255, .62);
    border: 1px solid rgba(210, 224, 232, .85);
    border-radius: 8px;
}

.district-panel .tag-row {
    gap: 8px;
}

.district-panel .tag {
    background: #fff;
    border-color: #d7e5ec;
    box-shadow: 0 1px 0 rgba(16, 32, 51, .03);
    transition: background .16s ease, border-color .16s ease, transform .16s ease;
}

.district-panel .tag:hover {
    background: #effaf6;
    border-color: #a9ddce;
    text-decoration: none;
    transform: translateY(-1px);
}

.link-cloud span,
.tag span {
    color: var(--muted);
}

.link-cloud .disabled {
    color: var(--muted);
    background: #eef2f5;
}

.long-copy {
    column-count: 2;
    column-gap: 34px;
}

.long-copy p {
    break-inside: avoid;
    margin-top: 0;
    color: #26384c;
}

.business-list {
    display: grid;
    gap: 12px;
}

.results-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 0 2px 4px;
    color: var(--muted);
    font-size: 13px;
}

.results-bar span:first-child {
    color: var(--ink);
    font-weight: 800;
}

.business-card {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 18px;
    padding: 18px 20px;
    border-color: #d9e7ee;
    box-shadow: 0 10px 28px rgba(16, 32, 51, .055);
    transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.business-card:hover {
    border-color: #accfc5;
    box-shadow: 0 18px 36px rgba(16, 32, 51, .09);
    transform: translateY(-1px);
}

.business-card.premium {
    border-color: #f0c46c;
    background: #fffaf0;
}

.business-card h2 {
    margin: 5px 0 6px;
    font-size: 20px;
    line-height: 1.25;
}

.business-card h2 a {
    color: #235ee8;
}

.business-card p {
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 14px;
}

.card-topline,
.meta-row {
    color: var(--muted);
    font-size: 13px;
}

.rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--ink);
}

.rating-badge strong {
    color: var(--ink);
}

.rating-badge.compact {
    gap: 6px;
}

.stars {
    position: relative;
    display: inline-block;
    color: #c9d4dd;
    font-size: 16px;
    line-height: 1;
    letter-spacing: 0;
}

.stars::before {
    content: "★★★★★";
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--rating);
    overflow: hidden;
    color: #f3b23c;
    white-space: nowrap;
}

.stars > span {
    color: #c9d4dd;
}

.card-topline {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    font-size: 12px;
}

.card-topline strong,
.meta-row strong {
    color: #9a6500;
}

.sidebar {
    display: grid;
    gap: 18px;
    position: sticky;
    top: 88px;
}

.sidebar .panel {
    box-shadow: 0 10px 28px rgba(16, 32, 51, .055);
}

.sidebar h3 {
    font-size: 20px;
}

.card-link {
    display: inline-flex;
    align-items: center;
    margin-top: 13px;
    color: var(--brand-dark);
    font-size: 13px;
    font-weight: 800;
}

.profile-header {
    grid-template-columns: auto minmax(0, 1fr);
}

.avatar.large {
    width: 86px;
    height: 86px;
    font-size: 26px;
}

.details {
    display: grid;
    grid-template-columns: minmax(120px, .5fr) minmax(0, 1fr);
    gap: 0;
    margin: 0;
}

.details dt,
.details dd {
    margin: 0;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.details dt {
    color: var(--muted);
}

.details dd {
    font-weight: 700;
    overflow-wrap: anywhere;
}

.plain-url {
    color: var(--ink);
}

.map-panel iframe {
    width: 100%;
    height: 360px;
    border: 0;
    border-radius: 8px;
}

.map-panel small,
.form-note {
    color: var(--muted);
    font-size: 13px;
}

.notice {
    padding: 12px 14px;
    border-radius: 8px;
    font-weight: 700;
}

.notice.success {
    color: #0e5e4a;
    background: #e5f7ef;
    border: 1px solid #bce8d6;
}

.notice.error {
    color: #8a1f3f;
    background: #fff0f5;
    border: 1px solid #f1bfd1;
}

.article {
    padding: 44px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 16px 36px rgba(16, 32, 51, .055);
}

.article h1 {
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.08;
}

.article h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 34px;
    font-size: 28px;
    line-height: 1.18;
}

.article h2:first-child {
    margin-top: 0;
}

.article h2 span {
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    color: #fff;
    background: linear-gradient(135deg, var(--brand), #2d6cdf);
    border-radius: 8px;
    font-size: 16px;
}

.article p {
    color: #2f4357;
    font-size: 16px;
    line-height: 1.85;
}

.article-bullets {
    display: grid;
    gap: 10px;
    margin: 18px 0 26px;
    padding: 18px 20px 18px 42px;
    color: #263d52;
    background: #f3fbf8;
    border: 1px solid #cfe9df;
    border-radius: 8px;
}

.article-bullets li {
    line-height: 1.7;
    padding-left: 4px;
}

.article-bullets li::marker {
    color: var(--brand);
    font-weight: 900;
}

.article-cta {
    margin: 24px 0 30px;
    padding: 24px;
    color: #fff;
    background: linear-gradient(135deg, var(--brand), var(--blue));
    border-radius: 8px;
    box-shadow: 0 18px 44px rgba(39, 93, 132, .18);
}

.article-cta strong {
    display: block;
    font-size: 22px;
    line-height: 1.25;
}

.article-cta p {
    max-width: 620px;
    margin: 10px 0 18px;
    color: rgba(255, 255, 255, .92);
}

.article-cta .button {
    color: var(--brand-dark);
    background: #fff;
}

.knowledge-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 230px;
    gap: 34px;
    align-items: end;
    margin: 30px 0 34px;
    padding: 46px 0 34px;
    border-bottom: 1px solid rgba(170, 190, 205, .55);
}

.article-hero {
    max-width: 900px;
    margin: 30px auto 34px;
    padding: 42px 0 28px;
    text-align: center;
    border-bottom: 1px solid rgba(170, 190, 205, .55);
}

.knowledge-hero h1 {
    max-width: 820px;
    margin: 10px 0 14px;
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.02;
}

.article-hero h1 {
    max-width: 760px;
    margin: 10px auto 14px;
    font-size: clamp(36px, 5vw, 56px);
    line-height: 1.04;
}

.knowledge-hero p {
    max-width: 760px;
    margin: 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.65;
}

.article-hero p {
    max-width: 720px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.65;
}

.knowledge-hero aside {
    padding: 18px 0 4px 22px;
    border-left: 3px solid var(--brand);
}

.knowledge-hero aside strong {
    display: block;
    font-size: 42px;
    line-height: 1;
}

.knowledge-hero aside span {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: 13px;
}

.knowledge-layout,
.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 760px) 300px;
    justify-content: center;
    gap: 28px;
    align-items: start;
}

.knowledge-list {
    display: grid;
    gap: 16px;
}

.knowledge-card {
    padding: 26px;
    background: #fff;
    border: 1px solid #d9e6ee;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(16, 32, 51, .045);
}

.knowledge-card.featured {
    padding: 34px;
    background: linear-gradient(180deg, #ffffff, #f3fbf8);
    border-color: #c9e7df;
}

.knowledge-card h2 {
    margin: 8px 0 12px;
    font-size: 26px;
    line-height: 1.2;
}

.knowledge-card.featured h2 {
    font-size: 34px;
}

.knowledge-card p {
    max-width: 720px;
    margin: 0;
    color: #40566a;
    line-height: 1.7;
}

.knowledge-meta,
.article-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 18px;
    color: var(--muted);
    font-size: 13px;
}

.knowledge-meta a {
    color: var(--brand-dark);
    font-weight: 800;
}

.knowledge-sidebar,
.article-aside {
    display: grid;
    gap: 16px;
    position: sticky;
    top: 88px;
}

.article-aside .panel {
    box-shadow: 0 12px 30px rgba(16, 32, 51, .055);
}

.article-meta {
    margin-top: 22px;
}

.faq details {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
}

.faq summary {
    cursor: pointer;
    font-weight: 800;
    font-size: 16px;
}

.faq details p {
    margin-bottom: 0;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.lead-form {
    display: grid;
    gap: 14px;
}

.selected-business {
    display: grid;
    gap: 4px;
    margin-bottom: 16px;
    padding: 14px;
    background: #eefaf5;
    border: 1px solid #c5eadf;
    border-radius: 8px;
}

.selected-business span {
    color: var(--muted);
    font-size: 14px;
}

.lead-form label {
    display: grid;
    gap: 6px;
    color: var(--muted);
    font-weight: 700;
}

.site-footer {
    padding: 0 18px 32px;
    color: #dce6ed;
    background: transparent;
}

.site-footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 30px 32px;
    background: #102033;
    border-radius: 8px;
    box-shadow: 0 18px 44px rgba(16, 32, 51, .14);
}

.site-footer p {
    max-width: 620px;
    color: #aebdca;
}

.footer-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #fff;
}

@media (max-width: 900px) {
    .site-header-inner,
    .site-footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .hero,
    .page-hero,
    .home-search-card,
    .knowledge-hero,
    .article-hero,
    .knowledge-layout,
    .article-layout,
    .columns,
    .directory-layout,
    .profile-grid,
    .form-layout,
    .card-grid,
    .city-card-grid,
    .region-grid,
    .home-feature-grid,
    .decision-grid,
    .case-card-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
    }

    .page-hero {
        gap: 18px;
        padding-top: 26px;
    }

    .form-hero {
        margin-top: 22px;
        padding-top: 24px;
    }

    .page-hero-aside {
        max-width: 360px;
        padding: 14px 0 2px 18px;
    }

    .sidebar {
        position: static;
    }

    .knowledge-sidebar,
    .article-aside {
        position: static;
    }

    .long-copy {
        column-count: 1;
    }

    .home-hero {
        padding: 42px 22px 34px;
    }

    .home-search-card button {
        width: 100%;
    }

    .city-card-grid,
    .region-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-cta {
        align-items: flex-start;
        flex-direction: column;
    }

    .decision-grid,
    .case-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    body {
        background:
            linear-gradient(180deg, #eef5f7 0, #f7faf9 260px, var(--bg) 100%);
    }

    .site-header {
        padding: 8px 10px 0;
    }

    .site-header-inner {
        gap: 10px;
        padding: 10px;
    }

    .brand {
        width: 100%;
        gap: 10px;
        padding-bottom: 10px;
        border-bottom: 1px solid var(--line);
    }

    .brand-mark {
        width: 40px;
        height: 40px;
    }

    .brand strong {
        font-size: 15px;
    }

    .brand small {
        font-size: 11px;
    }

    .nav {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        width: 100%;
        gap: 6px;
    }

    .nav a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 38px;
        padding: 8px 6px;
        background: #f7fbfa;
        border: 1px solid #e0ebf0;
        border-radius: 8px;
        font-size: 13px;
        text-align: center;
    }

    .nav .nav-cta {
        border-color: var(--brand);
    }

    .breadcrumbs {
        display: none;
    }

    main {
        padding: 18px 10px 46px;
    }

    .home-hero {
        margin-top: 12px;
        margin-bottom: 34px;
        padding: 32px 16px 24px;
    }

    .home-hero h1 {
        font-size: 34px;
    }

    .home-hero p {
        font-size: 15px;
    }

    .home-search-card {
        gap: 10px;
        margin-top: 22px;
        padding: 12px;
    }

    .home-quick-filters {
        justify-content: flex-start;
        text-align: left;
    }

    .home-section,
    .home-intro,
    .home-copy-section,
    .home-cta,
    .marketing-block {
        margin-top: 36px;
    }

    .home-section-head.centered {
        text-align: left;
    }

    .home-section-head h2 {
        font-size: 25px;
    }

    .city-card-grid,
    .region-grid {
        grid-template-columns: 1fr;
    }

    .city-card {
        min-height: 66px;
    }

    .home-cta {
        padding: 24px 18px;
    }

    .home-cta h2 {
        font-size: 24px;
    }

    .button.light {
        width: 100%;
    }

    .long-copy.refined {
        padding: 18px;
    }

    .marketing-block h2 {
        font-size: 31px;
    }

    .decision-grid,
    .case-card-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 22px;
    }

    .decision-card,
    .case-card-grid article {
        min-height: auto;
        padding: 20px;
        border-radius: 10px;
    }

    .timeline-list article {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 12px;
        padding: 18px;
        border-radius: 10px;
    }

    .timeline-list strong {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }

    .search-box {
        grid-template-columns: 1fr;
    }

    .business-card {
        grid-template-columns: 1fr;
    }

    .profile-header {
        grid-template-columns: 62px minmax(0, 1fr);
        gap: 14px;
        align-items: start;
        margin-bottom: 18px;
    }

    .avatar.large {
        width: 62px;
        height: 62px;
        font-size: 21px;
    }

    .profile-header .eyebrow {
        font-size: 11px;
    }

    .profile-header h1 {
        margin: 4px 0 8px;
        font-size: 23px;
        line-height: 1.12;
    }

    .profile-header p {
        margin-bottom: 10px;
        font-size: 15px;
        line-height: 1.45;
    }

    .meta-row {
        gap: 7px 10px;
        font-size: 12px;
    }

    .stars {
        font-size: 14px;
    }

    .profile-grid,
    .stack {
        gap: 12px;
    }

    .panel,
    .article {
        padding: 18px;
    }

    .panel h2 {
        font-size: 22px;
        line-height: 1.2;
    }

    .page-hero h1 {
        font-size: 34px;
    }

    .form-hero h1 {
        font-size: 30px;
    }

    .knowledge-hero,
    .article-hero {
        gap: 18px;
        margin-top: 18px;
        padding: 28px 0 24px;
        text-align: left;
    }

    .knowledge-hero h1,
    .article-hero h1 {
        font-size: 34px;
    }

    .article-hero h1,
    .article-hero p {
        margin-left: 0;
        margin-right: 0;
    }

    .article-meta {
        justify-content: flex-start;
    }

    .knowledge-hero aside {
        display: none;
    }

    .knowledge-card,
    .knowledge-card.featured,
    .article {
        padding: 20px;
    }

    .knowledge-card h2,
    .knowledge-card.featured h2 {
        font-size: 24px;
    }

    .article h2 {
        font-size: 23px;
        align-items: flex-start;
    }

    .page-hero-aside {
        display: none;
    }

    .district-panel {
        padding: 16px;
    }

    .results-bar {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .details {
        grid-template-columns: 1fr;
    }

    .details dt,
    .details dd {
        padding-left: 0;
        padding-right: 0;
    }

    .details dt {
        padding-top: 10px;
        padding-bottom: 0;
        border-bottom: 0;
        font-size: 14px;
    }

    .details dd {
        padding-top: 3px;
        padding-bottom: 11px;
        font-size: 15px;
    }

    .map-panel iframe {
        height: 260px;
    }

    .tag-row {
        gap: 7px;
    }

    .tag {
        font-size: 13px;
    }

    .site-footer {
        padding: 0 10px 24px;
    }

    .site-footer-inner {
        padding: 22px 18px;
    }
}
