/*
 * LocalFound — consolidated stylesheet.
 *
 * Source of truth: design/styles.css (base + 17 Oct visual refresh + readability pass).
 * The three override layers have been folded into single declarations using the final
 * approved values (blue/yellow palette, Poppins, larger readable type, mobile layout).
 * Sections: 1 tokens · 2 base · 3 header/footer · 4 buttons & forms · 5 home ·
 * 6 directory & profile · 7 content pages · 8 utilities · 9 responsive.
 * App UI (portal, account, request wizard) lives in app.css.
 */

/* 1. Tokens ------------------------------------------------------------- */
:root {
	--blue: #173e91;
	--blue-hover: #123373;
	--blue-deep: #163b87;
	--navy: #0b2455;
	--ink: #19233c;
	--ink-soft: #253a62;
	--muted: #566176;
	--muted-2: #727b8e;
	--line: #e6e9f1;
	--line-2: #dfe5ef;
	--paper: #fff;
	--tint: #f5f7fc;
	--tint-2: #f6f7fb;
	--tint-3: #f5f6fb;
	--pale: #f2f4fa;
	--soft-blue: #edf2ff;
	--chip: #eef2fa;
	--chip-ink: #586d92;
	--gold: #d5a113;
	--gold-ink: #17233c;
	--gold-mark: #d6a00c;
	--gold-text: #ca9407;
	--purple: #9151dc;
	--purple-ink: #6735ab;
	--success: #1e6b34;
	--success-bg: #e6f4ea;
	--danger: #a23424;
	--danger-bg: #fde8e6;
	--warn-bg: #fff6d8;
	--warn-ink: #5c4500;

	--font: 'Poppins', 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--radius-sm: 5px;
	--radius: 8px;
	--radius-lg: 10px;
	--shadow: 0 3px 12px #1e397308;
	--shadow-lift: 0 8px 22px #203a2b0b;
	--gutter: 5.3%;
	--content: 1320px;
	--focus: 3px solid var(--gold);
}

/* 2. Base --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 95px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.7 var(--font); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .5; }
img { max-width: 100%; height: auto; object-fit: cover; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { font-family: var(--font); line-height: 1.13; letter-spacing: -.035em; }
h1, h2 { font-weight: 600; }
h1 { font-size: clamp(42px, 5.4vw, 78px); }
h2 { font-size: clamp(30px, 3.25vw, 46px); }
h3 { font-size: 23px; font-weight: 600; }
p { color: var(--muted); line-height: 1.8; }
:focus-visible { outline: var(--focus); outline-offset: 3px; border-radius: 2px; }
.sr-only, .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--blue); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; }
.wrap { max-width: var(--content); margin: 0 auto; padding: 0 var(--gutter); }

/* 3. Header / footer ---------------------------------------------------- */
.preview-bar { min-height: 34px; background: var(--navy); color: #f2f3e8; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 6px var(--gutter); font-size: 11px; letter-spacing: .7px; }
.preview-bar span { font-size: 12px; line-height: 1.5; letter-spacing: .3px; color: #c5cec1; }
.preview-bar a { text-decoration: underline; text-underline-offset: 3px; }

.header { position: relative; z-index: 10; height: 151px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px; padding: 15px var(--gutter) 59px; background: linear-gradient(to bottom, var(--tint-2) 0, var(--tint-2) 105px, var(--blue) 105px, var(--blue) 100%); }
.brand { display: flex; align-items: center; font: 700 30px var(--font); letter-spacing: -1.2px; color: var(--blue); white-space: nowrap; }
.branddot { color: var(--gold-mark); }
.brandmark { position: relative; display: inline-block; font: 38px/1 Georgia, serif; margin-right: 10px; transform: translateY(-2px); color: var(--blue); }
.brandmark i { position: absolute; width: 6px; height: 6px; background: var(--gold-mark); border-radius: 50%; right: -1px; top: 8px; }
.header-search { margin: 0 auto; display: flex; align-items: center; flex: 1; min-width: 210px; max-width: 600px; background: #fff; border: 1px solid #e1e5ef; border-radius: 7px; padding: 5px; }
.search-location { font-size: 13px; white-space: nowrap; padding: 0 12px; color: var(--muted); border-right: 1px solid #e5e8ef; }
.header-search input { flex: 1; min-width: 0; border: 0; padding: 11px 12px; font-size: 14px; background: transparent; color: var(--ink); }
.header-search input:focus { outline: none; }
.header-search:focus-within { outline: var(--focus); outline-offset: 2px; }
.header-search button { border: 0; border-radius: 4px; background: var(--gold); color: var(--gold-ink); font-size: 14px; font-weight: 600; padding: 12px 18px; min-height: 44px; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-account { font-size: 14px; font-weight: 550; color: var(--blue); padding: 10px 4px; white-space: nowrap; }
.nav-cta { display: inline-flex; align-items: center; background: var(--blue); color: #fff; border-radius: 7px; padding: 12px 17px; min-height: 46px; font-size: 14px; font-weight: 600; white-space: nowrap; }
.nav-cta:hover { background: var(--blue-hover); }
.nav-cta span { margin-left: 10px; }
.menu-toggle { display: none; background: none; border: 0; font-size: 23px; color: var(--blue); padding: 6px 8px; }
.header nav { position: absolute; bottom: 0; left: var(--gutter); right: var(--gutter); height: 46px; display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin: 0; color: #fff; font-size: 14px; font-weight: 550; }
.header nav a { padding: 5px 15px; background: #ffffff12; border-radius: 3px; }
.header nav a:hover, .header nav a[aria-current="page"], .header nav a.active { background: #ffffff26; }
.header nav a:focus-visible { outline-color: #fff; }

footer.site-footer { margin-top: 20px; background: var(--tint-2); padding: 48px var(--gutter) 20px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
footer.site-footer .brand { font-size: 25px; }
footer.site-footer p { font-size: 14px; line-height: 1.8; margin-top: 16px; }
footer.site-footer > div > a:not(.brand) { display: block; font-size: 14px; line-height: 1.8; margin: 10px 0; }
footer.site-footer > div > a:not(.brand):hover { color: var(--blue); text-decoration: underline; }
footer.site-footer .eyebrow { color: var(--blue); font-size: 12px; margin-bottom: 18px; }
.footer-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 15px; border-top: 1px solid #e0e5ef; padding-top: 20px; margin-top: 20px; font-size: 12px; line-height: 1.8; color: var(--muted-2); }
.footer-bottom span { display: flex; flex-wrap: wrap; gap: 12px; }
.footer-bottom a { text-decoration: underline; text-underline-offset: 3px; }

/* 4. Buttons, links, forms --------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; border: 0; background: var(--blue); color: #fff; font-weight: 550; font-size: 15px; line-height: 1.5; min-height: 46px; padding: 13px 21px; border-radius: var(--radius-sm); text-align: center; transition: background .2s, transform .2s; }
.btn:hover { background: var(--blue-hover); transform: translateY(-1px); }
.btn.orange, .btn.gold { background: var(--gold); color: #18294a; }
.btn.orange:hover, .btn.gold:hover { background: #c7950d; }
.btn.light { background: var(--soft-blue); color: var(--blue); }
.btn.light:hover { background: #e1e9ff; }
.btn.outline { background: transparent; border: 1px solid #dfe5f1; color: var(--blue); }
.btn.outline:hover { background: var(--tint); }
.btn.danger { background: transparent; border: 1px solid #f0c9c3; color: var(--danger); }
.btn.white { background: #fff; color: var(--purple-ink); }
.btn.small { font-size: 14px; min-height: 44px; padding: 10px 16px; }
.btn.full { width: 100%; }
.arrow-link { font-size: 14px; line-height: 1.65; border-bottom: 1px solid var(--ink); padding-bottom: 5px; white-space: nowrap; }
.arrow-link:hover { color: var(--blue); border-color: var(--blue); }
.textlink { background: transparent; border: 0; padding: 0; text-align: left; font-size: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.eyebrow { display: block; font-size: 12px; letter-spacing: 1.2px; line-height: 1.6; font-weight: 700; color: var(--muted); margin-bottom: 20px; text-transform: uppercase; }
.eyebrow .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #e0aa19; margin-right: 9px; }
.input { width: 100%; min-width: 0; min-height: 48px; padding: 12px 13px; border: 1px solid var(--line-2); background: #fff; border-radius: var(--radius-sm); color: var(--ink); font-size: 16px; line-height: 1.6; }
.input:focus { border-color: var(--blue); outline: 2px solid #173e9133; outline-offset: 0; }
textarea.input { min-height: 120px; resize: vertical; }
.input[aria-invalid="true"] { border-color: var(--danger); }
.field > label, .filter-group > label, .label { display: block; font-size: 14px; line-height: 1.6; font-weight: 600; margin-bottom: 8px; color: var(--ink); }
.field small, .hint { display: block; font-size: 13px; line-height: 1.75; color: var(--muted); margin-top: 6px; }
.field-error { color: var(--danger); font-size: 14px; line-height: 1.6; margin-top: 6px; font-weight: 500; }
.field-error::before { content: '! '; font-weight: 700; }
.check-label { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; font-size: 14px; line-height: 1.75; }
.check-label input { width: 18px; height: 18px; flex-shrink: 0; margin-top: 4px; accent-color: var(--blue); }
.notice { font-size: 13px; line-height: 1.8; background: #f3f5fa; border: 1px solid #e4e9f3; border-radius: 7px; padding: 15px 18px; margin-bottom: 22px; color: #66738c; }
.notice strong { color: var(--blue); }
.notice.warn { background: var(--warn-bg); border-color: #f1df9b; color: var(--warn-ink); }
.notice.warn strong { color: var(--warn-ink); }
.tag { display: inline-flex; align-items: center; gap: 5px; background: var(--chip); color: var(--chip-ink); border-radius: 4px; padding: 5px 9px; font-size: 12px; line-height: 1.5; }
.tag.demo { background: var(--warn-bg); color: var(--warn-ink); }
.tag.ok { background: var(--success-bg); color: var(--success); }
.subtle { font-size: 13px; line-height: 1.75; color: var(--muted); }

/* 5. Home --------------------------------------------------------------- */
.hero { position: relative; isolation: isolate; overflow: hidden; display: block; min-height: 610px; margin: 0; padding: 76px max(var(--gutter), calc((100vw - 1160px) / 2)) 64px; background: var(--navy); }
.hero-copy { position: relative; z-index: 2; max-width: 700px; }
.hero h1 { color: #fff; font-size: clamp(45px, 4.5vw, 66px); font-weight: 650; line-height: 1.16; letter-spacing: -1.7px; max-width: 700px; }
.hero-copy > .eyebrow { color: #d2ddf6; margin-bottom: 20px; }
.hero-copy > p { color: #ccd6ec; max-width: 490px; font-size: 17px; line-height: 1.85; margin: 22px 0 25px; }
.hero-image { position: absolute; inset: 0 0 0 35%; z-index: 0; margin: 0; }
.hero-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy) 0%, #0b2455dd 17%, #0b24554d 52%, #0b245508 100%); }
.hero-image > img { width: 100%; height: 100%; border-radius: 0; object-position: 60% center; }
.hero-tag { position: absolute; z-index: 2; top: 25px; right: 5vw; background: #fffffff0; color: var(--blue); padding: 10px 15px; border-radius: 30px; font-size: 12px; }
.image-note { position: absolute; z-index: 2; bottom: 12px; right: 30px; font-size: 11px; color: #fff; background: #0b245580; padding: 3px 7px; border-radius: 3px; }
.search-box { display: flex; gap: 8px; max-width: 590px; padding: 8px; background: #fffffffa; border-radius: 6px; box-shadow: 0 5px 25px #00123329; }
.search-box label { flex: 1; min-width: 0; padding: 4px 0 0 12px; }
.search-box label span { display: block; font-size: 11px; letter-spacing: .7px; color: var(--muted); }
.search-box select { width: 100%; min-height: 35px; border: 0; background: transparent; padding: 4px 0; color: #34415a; font-size: 15px; }
.search-box .btn { background: var(--gold); color: var(--gold-ink); font-size: 14px; font-weight: 600; padding: 14px 17px; gap: 10px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 16px; }
.hero-actions a { color: #fff; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }
.micro-trust { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 17px; color: #d5dded; font-size: 12px; line-height: 1.6; }
.micro-trust span::first-letter { color: #e7b62c; }

.category-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; padding: 17px var(--gutter); background: #f7f8fc; border-bottom: 1px solid #eceef4; color: #25416c; }
.category-strip > span { margin-right: auto; font-size: 12px; letter-spacing: 1.4px; color: var(--muted); }
.category-strip a { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.category-strip a:hover { color: var(--blue); text-decoration: underline; }
.category-strip b { font-size: 22px; font-weight: 400; color: var(--gold-text); }

.section { padding-top: 55px; padding-bottom: 55px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.section-head .eyebrow { margin-bottom: 13px; }
.section-head h2 { font-size: 36px; line-height: 1.25; letter-spacing: -1px; color: var(--blue); }
.section-head p { font-size: 15px; max-width: 360px; }
.center-heading { text-align: center; margin-bottom: 25px; }
.center-heading .eyebrow { margin-bottom: 9px; color: #7b8496; }
.center-heading h2 { font-size: 30px; line-height: 1.3; font-weight: 500; letter-spacing: -.8px; color: var(--blue); }
.center-heading p { font-size: 15px; margin-top: 10px; }

.growth-section { padding-top: 43px; padding-bottom: 30px; }
.growth-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.growth-tile { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 28px 23px; background: var(--tint-3); border: 1px solid transparent; border-radius: 9px; transition: .2s; }
.growth-tile:hover { background: #eef2fc; border-color: #ced9f5; transform: translateY(-2px); }
.growth-icon { display: grid; place-items: center; width: 66px; height: 66px; margin-bottom: 17px; border-radius: 50%; border: 5px solid #fff; background: linear-gradient(140deg, #fff, #e6edff); color: #3767c5; font-size: 30px; box-shadow: 0 5px 12px #193d8f08; }
.growth-tile:nth-child(2n) .growth-icon { background: linear-gradient(140deg, #fff9dc, #fff); color: #c08a03; }
.growth-tile:nth-child(3n) .growth-icon { background: linear-gradient(140deg, #eee4ff, #fff); color: #9561d9; }
.growth-tile strong { font-size: 16px; line-height: 1.5; font-weight: 600; color: var(--blue); }
.growth-tile strong span { margin-left: 5px; }
.growth-tile small { margin-top: 10px; max-width: 290px; font-size: 14px; line-height: 1.7; color: var(--muted); }

.categories-section { width: 89.4%; max-width: 1180px; margin: 15px auto 0; padding: 30px 28px; background: var(--tint-3); border-radius: var(--radius-lg); }
.categories-section .section-head { justify-content: center; text-align: center; margin-bottom: 25px; }
.categories-section .section-head h2 { font-size: 30px; line-height: 1.3; font-weight: 500; letter-spacing: -.6px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 23px; }
.category-card { position: relative; display: block; height: 270px; overflow: hidden; border-radius: 7px; color: #fff; background: var(--blue); }
.category-card img { width: 100%; height: 100%; transition: transform .5s; }
.category-card:hover img { transform: scale(1.04); }
.category-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, #0b2455ed, transparent 90%); }
.category-card .cat-content { position: absolute; z-index: 1; left: 20px; right: 20px; bottom: 20px; }
.category-card small { font-size: 13px; color: #e4e7df; }
.category-card h3 { margin-top: 8px; max-width: 230px; font-size: 25px; line-height: 1.25; font-weight: 600; }
.circle-arrow { position: absolute; right: 0; bottom: 0; display: grid; place-items: center; width: 35px; height: 35px; border-radius: 50%; border: 1px solid #ffffff6b; }
.stock-note { margin-top: 14px; font-size: 12px; line-height: 1.7; color: var(--muted-2); }

.how { background: #fff; margin-top: 30px; }
.how-inner { display: grid; grid-template-columns: .85fr 1.5fr; gap: 75px; border-bottom: 1px solid var(--line); }
.how h2 { max-width: 320px; font-size: 38px; line-height: 1.25; color: var(--blue); }
.how p { font-size: 15px; margin: 20px 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.step-number { margin-bottom: 23px; padding-bottom: 18px; border-bottom: 1px solid #e5e9f2; font-size: 30px; font-weight: 500; color: #cba124; }
.steps h3 { font-size: 20px; line-height: 1.3; letter-spacing: -.5px; color: var(--blue); }
.steps p { font-size: 14px; line-height: 1.8; margin: 12px 0 0; }

.match-explainer { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.match-explainer ul { list-style: none; padding: 0; margin: 0; }
.match-explainer li { display: flex; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.75; color: var(--muted); }
.match-explainer li b { flex-shrink: 0; width: 30px; height: 30px; display: grid; place-items: center; background: var(--soft-blue); color: var(--blue); border-radius: 50%; font-size: 13px; }
.match-explainer li strong { color: var(--ink); display: block; }

.callout { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 30px; margin: 15px 0 70px; padding: 40px; border-radius: var(--radius); background: var(--purple); color: #fff; }
.callout h2 { max-width: 560px; font-size: 37px; line-height: 1.25; font-weight: 600; color: #fff; }
.callout .eyebrow { color: #efe3ff; }
.callout p { max-width: 620px; margin-top: 15px; font-size: 16px; color: #f1e7ff; }
.callout .btn { background: #fff; color: var(--purple-ink); white-space: normal; }
.callout .little { margin-top: 10px; font-size: 12px; line-height: 1.65; color: #f1e7ff; }

.faq { max-width: 750px; margin: 0 auto 70px; }
.faq h2 { font-size: 34px; margin-bottom: 25px; color: var(--blue); }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-size: 17px; line-height: 1.6; font-weight: 550; color: var(--ink-soft); }
.faq details p { font-size: 15px; line-height: 1.8; margin-top: 14px; }

/* 6. Directory, cards and profiles ------------------------------------- */
.page-top { margin-bottom: 30px; padding: 42px max(var(--gutter), calc((100vw - 1160px) / 2)) 35px; background: var(--tint); }
.page-top .eyebrow { color: #6c7d9e; }
.page-top h1 { font-size: 48px; line-height: 1.25; font-weight: 600; color: var(--blue-deep); }
.page-top p { margin-top: 15px; max-width: 760px; font-size: 17px; line-height: 1.8; }
.page-top .btn { margin-top: 22px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; font-size: 14px; color: var(--muted); }
.breadcrumb a:hover { color: var(--blue); text-decoration: underline; }
.directory-layout { display: grid; grid-template-columns: 260px 1fr; gap: 28px; padding-bottom: 70px; align-items: start; }
.filters { padding: 22px; height: fit-content; background: #f7f8fc; border: 1px solid #e7ebf3; border-radius: var(--radius); }
.filters h2, .filters h3 { margin: 0 0 18px; font-size: 20px; line-height: 1.35; letter-spacing: -.4px; color: var(--blue); }
.filter-group { padding: 18px 0; border-bottom: 1px solid var(--line); }
.filter-group:first-of-type { padding-top: 0; }
.filter-group fieldset { border: 0; padding: 0; margin: 0; }
.filter-group legend { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.filter-item { display: flex; align-items: center; gap: 9px; margin: 12px 0; font-size: 14px; line-height: 1.6; cursor: pointer; }
.filter-item input { width: 17px; height: 17px; flex-shrink: 0; accent-color: var(--blue); }
.filter-item span { margin-left: auto; font-size: 12px; color: var(--muted); }
.filters .btn { margin-top: 18px; }
.filter-note { margin-top: 23px; padding: 17px; border-radius: var(--radius); background: #eaf0fd; color: var(--blue); font-size: 14px; line-height: 1.75; }
.filter-note p { margin-top: 9px; font-size: 14px; color: var(--blue); }
.results-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 22px; font-size: 14px; }
.business-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.empty { grid-column: 1 / -1; padding: 50px 25px; text-align: center; background: #fff; border: 1px dashed var(--line-2); border-radius: var(--radius-lg); }
.empty h2, .empty h3 { font-size: 23px; color: var(--blue); }
.empty p { margin: 12px auto 18px; max-width: 480px; }

.business-card { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); transition: box-shadow .2s; }
.business-card:hover { box-shadow: var(--shadow-lift); }
.business-card .card-top { position: relative; height: 80px; padding: 20px; display: flex; justify-content: space-between; align-items: center; background: #f3f5fb; border-bottom: 1px solid #ebedf4; }
.business-card .card-top.has-image { height: 150px; padding: 0; }
.business-card .card-top.has-image img { width: 100%; height: 100%; }
.card-top.fencing { background: #f5f3eb; }
.card-top.blinds { background: #f3eff9; }
.monogram { font-size: 23px; font-weight: 600; letter-spacing: -1px; color: #244c9a; }
.save-btn { display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: #ffffffaa; font-size: 22px; color: var(--blue); }
.save-btn[aria-pressed="true"] { color: #ba8700; background: #fff6d8; }
.card-body { flex: 1; display: flex; flex-direction: column; padding: 24px; }
.card-body .eyebrow { margin-bottom: 10px; font-size: 11px; letter-spacing: 1px; color: #78829a; }
.card-body h3 { margin-bottom: 8px; font-size: 21px; line-height: 1.4; letter-spacing: -.6px; color: var(--blue); }
.card-body h3 a:hover { text-decoration: underline; }
.meta { font-size: 13px; line-height: 1.65; color: var(--muted); }
.card-body p { margin: 14px 0 21px; font-size: 15px; line-height: 1.8; }
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.card-foot { margin-top: auto; padding-top: 15px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; row-gap: 12px; }
.card-foot a.more { font-size: 14px; font-weight: 600; color: var(--blue); min-height: 40px; display: inline-flex; align-items: center; }
.card-foot a.more:hover { text-decoration: underline; }

.profile-layout { display: grid; grid-template-columns: 1.5fr .8fr; gap: 28px; align-items: start; padding-bottom: 70px; }
.profile-head { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; margin-bottom: 10px; }
.profile-mark { display: grid; place-items: center; width: 74px; height: 74px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-size: 28px; font-weight: 600; color: #244c9a; flex-shrink: 0; }
.profile-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.info-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 20px 0; }
.info-list > div { background: #f4f6fb; border-radius: 6px; padding: 16px; font-size: 15px; line-height: 1.7; overflow-wrap: anywhere; }
.info-list small { display: block; margin-bottom: 4px; font-size: 12px; line-height: 1.6; color: var(--muted); letter-spacing: .5px; text-transform: uppercase; }
.check-list { list-style: none; padding: 0; margin: 14px 0 0; }
.check-list li { padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.7; }
.check-list li strong { display: block; color: var(--success); }
.check-list li strong::before { content: '✓ '; }
.portfolio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.portfolio img { aspect-ratio: 4 / 3; width: 100%; border-radius: 6px; }

/* 7. Content pages ------------------------------------------------------ */
.prose { max-width: 760px; padding-bottom: 60px; }
.prose h2 { font-size: 28px; line-height: 1.3; color: var(--blue); margin: 36px 0 12px; }
.prose h3 { font-size: 21px; color: var(--blue); margin: 26px 0 10px; }
.prose p, .prose li { font-size: 16px; line-height: 1.85; color: var(--muted); }
.prose p + p { margin-top: 16px; }
.prose ul, .prose ol { padding-left: 20px; }
.prose a { color: var(--blue); text-decoration: underline; }
.content-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.content-card { padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: 9px; display: flex; flex-direction: column; }
.content-card h3 { margin: 10px 0; font-size: 22px; line-height: 1.35; color: var(--blue); }
.content-card p { font-size: 15px; margin-bottom: 18px; }
.content-card .arrow-link { margin-top: auto; align-self: flex-start; }
.fee-box { padding: 28px; border-radius: var(--radius); background: var(--soft-blue); }
.fee-box .amount { display: block; margin: 8px 0; font-size: 44px; font-weight: 600; letter-spacing: -1px; color: var(--blue); }
.two-col { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: start; }

/* 8. Utilities ---------------------------------------------------------- */
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 12px; }
.mt-2 { margin-top: 22px; }
.mt-3 { margin-top: 34px; }
.mb-2 { margin-bottom: 22px; }
.nowrap { white-space: nowrap; }
.stack > * + * { margin-top: 16px; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* 9. Responsive --------------------------------------------------------- */
@media (min-width: 1500px) {
	.header, .preview-bar { padding-left: calc((100vw - var(--content)) / 2); padding-right: calc((100vw - var(--content)) / 2); }
	.header nav { left: calc((100vw - var(--content)) / 2); right: calc((100vw - var(--content)) / 2); }
}
@media (max-width: 1120px) {
	.header-search { max-width: 440px; }
	.search-location { display: none; }
	.hero h1 { font-size: 55px; }
	.category-strip { justify-content: center; }
	.category-strip > span { display: none; }
	.directory-layout { grid-template-columns: 235px 1fr; gap: 22px; }
	.how-inner { grid-template-columns: 1fr; gap: 30px; }
	.how h2 { max-width: none; }
	.steps { gap: 26px; }
	footer.site-footer { grid-template-columns: 1fr 1fr 1fr; }
	footer.site-footer > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 1050px) {
	.header { gap: 15px; }
	.header-account { display: none; }
}
@media (max-width: 900px) {
	.header .brand { font-size: 27px; }
	.header .nav-cta { font-size: 13px; }
	.business-grid { grid-template-columns: 1fr; }
	.callout { flex-direction: column; align-items: flex-start; }
	.growth-tile { padding: 24px 16px; }
	.growth-tile strong { font-size: 15px; }
	.profile-layout, .two-col, .match-explainer { grid-template-columns: 1fr; }
	.content-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
	:root { --gutter: 6%; }
	.preview-bar { font-size: 10px; gap: 10px; }
	.preview-bar span { font-size: 10px; max-width: 170px; text-align: right; }
	.header { height: 158px; align-content: flex-start; gap: 10px; padding: 13px var(--gutter) 65px; background: var(--tint); }
	.header .brand { font-size: 27px; }
	.header-actions { margin-left: auto; gap: 6px; }
	.header .nav-cta { font-size: 12px; padding: 11px 13px; min-height: 43px; }
	.nav-cta span { display: none; }
	.menu-toggle { display: block; }
	.header-search { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 14px; width: auto; max-width: none; height: 51px; }
	.header-search input { font-size: 16px; padding: 9px; }
	.header-search button { font-size: 13px; min-height: 40px; padding: 10px 13px; }
	.header nav { top: 158px; bottom: auto; left: 0; right: 0; height: auto; display: none; flex-direction: column; align-items: stretch; gap: 8px; padding: 18px var(--gutter); background: var(--blue); font-size: 15px; box-shadow: 0 10px 20px #00133e20; }
	.header nav.open { display: flex; }
	.header nav a { padding: 11px; }
	.header nav .mobile-only { display: block; }

	.hero { min-height: 570px; padding: 42px var(--gutter) 38px; }
	.hero h1 { font-size: 44px; line-height: 1.2; letter-spacing: -1.2px; }
	.hero-copy { max-width: 100%; }
	.hero-copy > .eyebrow { font-size: 11px; }
	.hero-copy > p { font-size: 16px; max-width: 420px; margin: 20px 0; }
	.hero-image { inset: 0; opacity: .65; }
	.hero-image > img { object-position: 65%; }
	.hero-image::after { background: linear-gradient(90deg, #0b2455f5 0%, #0b2455db 45%, #0b245575 100%); }
	.hero-tag { display: none; }
	.image-note { font-size: 10px; right: 20px; bottom: 8px; }
	.search-box { flex-wrap: wrap; gap: 9px; padding: 10px; max-width: none; }
	.search-box label { flex-basis: 100%; padding-left: 5px; }
	.search-box select { font-size: 16px; min-height: 40px; }
	.search-box .btn { width: 100%; font-size: 15px; min-height: 46px; }
	.micro-trust { font-size: 11px; gap: 10px 17px; }
	.category-strip { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; gap: 23px; padding: 13px var(--gutter); }
	.category-strip a { flex-shrink: 0; font-size: 13px; }
	.eyebrow { font-size: 11px; }
	.section { padding-top: 38px; padding-bottom: 38px; }
	.section-head { flex-wrap: wrap; align-items: flex-start; gap: 12px; }
	.section-head h2 { font-size: 30px; line-height: 1.3; }
	.section-head > p { display: none; }
	.center-heading h2 { font-size: 27px; }
	.center-heading p { font-size: 14px; }
	.growth-section { padding-top: 33px; padding-bottom: 20px; }
	.growth-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
	.growth-tile { padding: 21px 13px; }
	.growth-icon { width: 55px; height: 55px; font-size: 25px; margin-bottom: 13px; }
	.growth-tile strong { font-size: 14px; line-height: 1.6; }
	.growth-tile small { font-size: 13px; }
	.categories-section { width: 88%; padding: 25px 16px; }
	.categories-section .section-head h2 { font-size: 27px; }
	.grid3 { grid-template-columns: 1fr; gap: 18px; }
	.category-card { height: 250px; }
	.category-card h3 { font-size: 26px; }
	.how { margin-top: 10px; }
	.how h2 { font-size: 32px; }
	.steps { grid-template-columns: 1fr; gap: 20px; }
	.step-number { font-size: 27px; margin-bottom: 14px; padding-bottom: 10px; }
	.steps h3 { font-size: 21px; }
	.steps p { font-size: 15px; }
	.card-body { padding: 23px; }
	.card-body h3 { font-size: 22px; }
	.callout { padding: 28px; gap: 22px; margin-bottom: 45px; }
	.callout h2 { font-size: 31px; }
	.callout p { font-size: 15px; }
	.faq { margin: 0 var(--gutter) 45px; }
	.faq h2 { font-size: 31px; }
	.faq summary { font-size: 16px; }
	footer.site-footer { grid-template-columns: 1fr 1fr; gap: 30px; padding: 35px var(--gutter) 20px; }
	.footer-bottom { flex-direction: column; }
	.page-top { margin-bottom: 25px; padding: 24px var(--gutter) 28px; }
	.page-top h1 { font-size: 36px; }
	.page-top p { font-size: 16px; }
	.breadcrumb { font-size: 13px; margin-bottom: 20px; }
	.directory-layout { grid-template-columns: 1fr; gap: 20px; }
	.filters { padding: 20px; }
	.filter-group { padding: 10px 0; border: 0; }
	.filter-note { display: none; }
	.info-list { grid-template-columns: 1fr; }
	.content-grid, .portfolio { grid-template-columns: 1fr; }
	.prose h2 { font-size: 25px; }
}
@media (max-width: 390px) {
	.header .brand { font-size: 23px; }
	.brandmark { font-size: 32px; margin-right: 7px; }
	.header .nav-cta { font-size: 11px; padding: 10px; }
	.hero h1 { font-size: 39px; }
	.growth-grid { grid-template-columns: 1fr; }
	.growth-tile strong { font-size: 16px; }
	.growth-tile small { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
	.btn:hover, .growth-tile:hover { transform: none; }
	.category-card:hover img { transform: none; }
}

/* Google Business Profile photos (via Places API): credited, never stored locally. */
.business-card .card-top.has-image { position: relative; }
.photo-credit { position: absolute; right: 6px; bottom: 6px; max-width: 45%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 1px 6px; border-radius: 3px; background: #0b245580; color: #ffffffe6; font-size: 10px; line-height: 1.6; cursor: help; }
.photo-credit:hover { max-width: calc(100% - 12px); background: #0b2455cc; }
.photo-attribution { margin-top: 10px; }
.gphotos img { background: var(--tint); }

/* Service pages and hub links */
.service-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 22px; font-size: 14px; }
.service-links span { color: var(--muted); margin-right: 4px; }
.service-links a { padding: 7px 13px; border: 1px solid #d8e2fb; border-radius: 30px; background: #fff; color: var(--blue); font-weight: 550; }
.service-links a:hover { background: var(--soft-blue); }
.service-content h2:first-child { margin-top: 0; }
.service-content table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; }
.service-content th, .service-content td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.service-content th { color: var(--ink); background: var(--tint); }
