/*
Theme Name: Legacy Inspection
Theme URI: https://legacyinspection.ca
Author: Honest Legacy
Author URI: https://legacyinspection.ca
Description: Premium responsive WordPress theme for Legacy Inspection, with nine detailed inspection services, local SEO foundations, an inspection-request form, and Honest Legacy branding.
Version: 1.3.0
Requires at least: 6.2
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: legacy-inspection
Tags: custom-logo, custom-menu, featured-images, one-column, accessibility-ready
*/

:root {
	--ink: #10201c;
	--forest: #173b31;
	--deep: #071c22;
	--navy: #06131f;
	--gold: #d9a84e;
	--gold-light: #ecc574;
	--paper: #fbfaf6;
	--muted: #63716c;
	--line: #d9ded9;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; }
body.admin-bar .site-header { top: 32px; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { position: fixed; z-index: 99999; top: 10px; left: 10px; width: auto; height: auto; padding: 12px 18px; margin: 0; clip: auto; background: white; color: var(--ink); }

.site-header { height: 92px; padding: 0 5vw; display: flex; align-items: center; justify-content: space-between; gap: 24px; background: rgba(251, 250, 246, .97); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(16, 32, 28, .1); backdrop-filter: blur(12px); }
.brand { display: flex; align-items: center; gap: 12px; letter-spacing: .08em; flex: 0 0 auto; }
.brand-logo { width: 70px; height: 70px; object-fit: contain; border-radius: 8px; box-shadow: 0 5px 18px rgba(7, 28, 23, .16); }
.brand > span { display: flex; flex-direction: column; }
.brand strong { font-family: Georgia, serif; font-size: 18px; }
.brand small { font-size: 9px; letter-spacing: .33em; margin-top: 2px; }
.primary-navigation .menu { display: flex; align-items: center; gap: 30px; margin: 0; padding: 0; list-style: none; font-size: 13px; }
.primary-navigation a:hover { color: #9b6d20; }
.menu-toggle { display: none; width: 42px; height: 42px; padding: 10px; border: 0; background: transparent; cursor: pointer; }
.menu-toggle > span:not(.screen-reader-text) { display: block; height: 2px; margin: 5px 0; background: var(--ink); }
.nav-cta { background: var(--forest); color: white; padding: 13px 20px; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; flex: 0 0 auto; }
.nav-cta:hover { background: var(--deep); }

.hero { min-height: 700px; position: relative; display: flex; align-items: center; overflow: hidden; }
.hero-photo { position: absolute; inset: 0; background-position: center; background-size: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 24, 19, .95) 0%, rgba(7, 30, 24, .84) 46%, rgba(7, 25, 21, .18) 78%); }
.hero-content { position: relative; z-index: 1; color: white; width: min(1180px, 90%); margin: auto; padding: 80px 0; }
.eyebrow { text-transform: uppercase; letter-spacing: .24em; color: #e3bb70; font-weight: 700; font-size: 11px; margin: 0 0 22px; }
.eyebrow.dark { color: #9b6d20; }
.hero h1, .section h1, .section h2, .report-band h2, .archive-hero h1, .service-book-band h2 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; }
.hero h1 { font-size: clamp(48px, 6.3vw, 88px); line-height: .96; letter-spacing: -.04em; margin: 0; max-width: 820px; }
.hero h1 em, .report-band h2 em { color: #e3bb70; font-weight: 400; }
.hero-copy { font-size: 18px; line-height: 1.7; max-width: 620px; color: #dfe7e3; margin: 28px 0; }
.hero-actions { display: flex; align-items: center; gap: 30px; }
.button { border: 0; display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; padding: 18px 24px; text-transform: uppercase; letter-spacing: .12em; font-size: 11px; font-weight: 700; cursor: pointer; }
.button-gold { background: var(--gold); color: #12211d; }
.button-gold:hover { background: var(--gold-light); }
.text-link { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; border-bottom: 1px solid rgba(255,255,255,.5); padding-bottom: 6px; }
.trust-strip { display: flex; gap: 42px; margin-top: 72px; color: #dce5e1; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.trust-strip span { display: flex; align-items: center; gap: 10px; }
.trust-strip b { color: #e3bb70; font-family: Georgia, serif; font-size: 18px; }

.section { padding: 100px max(5vw, 24px); max-width: 1440px; margin: auto; }
.intro { display: grid; grid-template-columns: 1.1fr .9fr; gap: 100px; align-items: end; }
.section h1, .section h2 { font-size: clamp(40px, 5vw, 67px); line-height: 1.05; letter-spacing: -.035em; margin: 0; }
.intro > p, .areas > div > p, .service-entry { font-family: Georgia, serif; font-size: 20px; line-height: 1.75; color: #52625c; margin: 0; }
.services { padding-top: 60px; }
.section-heading { max-width: 760px; }
.section-lead { color: var(--muted); line-height: 1.7; max-width: 640px; margin: 24px 0 0; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 55px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { min-height: 330px; padding: 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: .25s; background: rgba(255,255,255,.3); display: block; }
.service-card:hover { background: white; transform: translateY(-3px); box-shadow: 0 15px 40px rgba(18,42,34,.08); }
.service-number { font-size: 10px; letter-spacing: .15em; color: #9b6d20; }
.service-icon { font-family: Georgia, serif; font-size: 35px; color: var(--gold); margin: 35px 0 25px; }
.service-card h2, .service-card h3 { font-family: Georgia, serif; font-size: 25px; font-weight: 400; margin: 0 0 14px; text-transform: capitalize; }
.service-card p { font-size: 14px; line-height: 1.7; color: var(--muted); margin: 0; }
.card-link { display: inline-block; margin-top: 25px; color: #8d621c; text-transform: uppercase; letter-spacing: .11em; font-size: 10px; font-weight: 700; }

.report-band { background: var(--deep); color: white; padding: 105px max(5vw, calc((100vw - 1296px)/2)); display: grid; grid-template-columns: 1fr 1fr; gap: 100px; }
.report-band h2 { font-size: clamp(38px, 4.3vw, 64px); line-height: 1.08; margin: 0; }
.report-band ol { list-style: none; padding: 0; margin: 0; }
.report-band li { display: flex; gap: 24px; padding: 25px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.report-band li > span { color: var(--gold); font-family: Georgia, serif; font-size: 20px; }
.report-band strong { font-family: Georgia, serif; font-size: 21px; font-weight: 400; }
.report-band li p { color: #aebdb7; line-height: 1.6; font-size: 14px; margin: 7px 0 0; }

.areas { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; }
.areas > div > p { margin-top: 25px; font-family: Arial, sans-serif; font-size: 16px; }
.area-list { display: grid; grid-template-columns: 1fr 1fr; align-content: start; }
.area-list span { padding: 20px 0; border-bottom: 1px solid var(--line); font-family: Georgia, serif; font-size: 20px; }
.area-list span:nth-child(odd) { margin-right: 25px; }

.booking { max-width: none; background: var(--forest); color: white; display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; padding-left: max(5vw, calc((100vw - 1296px)/2)); padding-right: max(5vw, calc((100vw - 1296px)/2)); }
.booking-copy p { color: #c9d5d0; line-height: 1.7; }
.callout { border-left: 2px solid var(--gold); padding-left: 18px; margin-top: 40px; display: flex; flex-direction: column; gap: 7px; }
.callout span { font-size: 13px; color: #b9c8c2; }
.booking form { background: var(--paper); color: var(--ink); padding: 40px; }
.booking label { font-size: 10px; text-transform: uppercase; letter-spacing: .14em; font-weight: 700; display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.booking input, .booking select, .booking textarea { width: 100%; border: 0; border-bottom: 1px solid #b9c3bd; background: transparent; padding: 12px 2px; font: 15px Arial, sans-serif; color: var(--ink); outline: none; }
.booking input:focus, .booking select:focus, .booking textarea:focus { border-color: var(--gold); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.booking button { width: 100%; margin-top: 8px; }
.booking form > small { display: block; color: #718079; line-height: 1.5; margin-top: 14px; }
.website-field { position: absolute !important; left: -9999px !important; }
.form-notice { padding: 14px; font-size: 13px; line-height: 1.5; margin: 0 0 22px; }
.form-notice.success { background: #e2eee8; color: #174834; }
.form-notice.error { background: #f7e3df; color: #7a2d22; }

.service-hero { background: linear-gradient(115deg, rgba(7, 20, 31, .98), rgba(13, 48, 47, .94)); color: white; padding: 60px max(5vw, calc((100vw - 1296px)/2)) 100px; }
.service-breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; color: #acbbb5; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 70px; }
.service-breadcrumb a:hover { color: white; }
.service-breadcrumb b { color: #e3bb70; }
.service-hero h1 { font-family: Georgia, serif; font-size: clamp(48px, 6.2vw, 86px); font-weight: 400; letter-spacing: -.04em; line-height: 1; margin: 0; max-width: 1000px; }
.service-hero > p:not(.eyebrow) { font-size: 18px; line-height: 1.7; color: #d7e2dd; max-width: 720px; margin: 26px 0 32px; }
.service-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: end; }
.service-entry p { margin: 0; }
.service-details { max-width: none; background: #f0ece3; display: grid; grid-template-columns: repeat(3, 1fr); padding-left: max(5vw, calc((100vw - 1296px)/2)); padding-right: max(5vw, calc((100vw - 1296px)/2)); gap: 1px; }
.service-details article { background: var(--paper); padding: 38px; }
.detail-no { font-family: Georgia, serif; color: #a6792a; }
.service-details h2 { font-size: 31px; margin: 25px 0; }
.service-details ul { list-style: none; padding: 0; margin: 0; }
.service-details li { border-top: 1px solid var(--line); padding: 14px 0 14px 22px; color: #53635d; line-height: 1.5; font-size: 14px; position: relative; }
.service-details li::before { content: '✓'; color: #a6792a; position: absolute; left: 0; }
.scope-note { background: var(--deep); color: white; padding: 90px max(5vw, calc((100vw - 1296px)/2)); display: grid; grid-template-columns: 1fr 1fr; gap: 100px; }
.scope-note h2 { font-family: Georgia, serif; font-size: clamp(35px, 4vw, 55px); font-weight: 400; line-height: 1.1; margin: 0; }
.scope-note > p { color: #b7c6c0; line-height: 1.8; font-size: 16px; margin: 15px 0 0; }
.faq-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; }
.faq-list details { border-top: 1px solid var(--line); padding: 0; }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; padding: 25px 0; display: flex; justify-content: space-between; gap: 20px; font-family: Georgia, serif; font-size: 22px; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: #a6792a; }
.faq-list p { color: var(--muted); line-height: 1.7; max-width: 650px; margin: 0 0 25px; }
.service-explorer { padding-top: 35px; }
.mini-service-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 45px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.mini-service-grid a { min-height: 125px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px; display: grid; grid-template-columns: 1fr auto; gap: 10px; transition: .2s; }
.mini-service-grid a:hover, .mini-service-grid a.active { background: var(--forest); color: white; }
.mini-service-grid small { grid-column: 1/-1; color: #9b6d20; }
.mini-service-grid strong { font-family: Georgia, serif; font-size: 18px; font-weight: 400; }
.mini-service-grid span { color: var(--gold); }
.service-book-band { background: var(--navy); color: white; padding: 72px max(5vw, calc((100vw - 1296px)/2)); display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.service-book-band h2 { font-size: clamp(34px, 4vw, 54px); margin: 0; }
.archive-hero { padding: 100px max(5vw, calc((100vw - 1296px)/2)); background: linear-gradient(115deg, #07151f, #124136); color: white; }
.archive-hero h1 { font-size: clamp(48px, 6vw, 82px); line-height: 1; margin: 0 0 24px; }
.archive-hero > p:last-child { max-width: 680px; color: #d7e2dd; line-height: 1.7; }

.content-shell { min-height: 55vh; max-width: 1050px; }
.content-shell h1 { margin-bottom: 38px; }
.entry-content { font-family: Georgia, serif; color: #465951; font-size: 19px; line-height: 1.8; }
.entry-content a { color: #8d621c; text-decoration: underline; }
.content-card { padding: 30px 0; border-bottom: 1px solid var(--line); }
.content-card h2 { font-size: 34px; }
.error-page { min-height: 60vh; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.error-page p:not(.eyebrow) { color: var(--muted); font-size: 18px; line-height: 1.7; }

.site-footer { background: #06131f; color: #a8b8b1; padding: 60px 5vw 30px; display: grid; grid-template-columns: 1fr 1fr auto; gap: 35px; align-items: center; }
.footer-brand { display: inline-flex; width: 155px; }
.footer-brand .brand-logo { display: block; width: 100%; height: auto; border-radius: 12px; box-shadow: 0 12px 34px rgba(0,0,0,.25); }
.footer-summary { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.footer-summary p { font-size: 13px; max-width: 380px; line-height: 1.6; margin: 0 0 8px; }
.footer-summary a { font-size: 12px; color: #dbe4e0; }
.footer-navigation .menu { display: flex; gap: 20px; margin: 0; padding: 0; list-style: none; font-size: 12px; }
.footer-navigation a:hover { color: var(--gold-light); }
.copyright { grid-column: 1/-1; border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; }

@media (max-width: 1000px) {
	.primary-navigation .menu { gap: 18px; }
	.site-header { padding-left: 3vw; padding-right: 3vw; }
}

@media (max-width: 900px) {
	body.admin-bar .site-header { top: 46px; }
	.menu-toggle { display: block; margin-left: auto; }
	.primary-navigation { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 20px 5vw 26px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 18px 34px rgba(10, 31, 25, .12); }
	.primary-navigation.is-open { display: block; }
	.primary-navigation .menu { align-items: flex-start; flex-direction: column; gap: 0; }
	.primary-navigation .menu li { width: 100%; border-bottom: 1px solid var(--line); }
	.primary-navigation .menu a { display: block; padding: 14px 0; }
	.hero { min-height: 640px; }
	.hero-shade { background: rgba(7, 28, 23, .76); }
	.intro, .report-band, .areas, .booking, .service-intro, .scope-note, .faq-section { grid-template-columns: 1fr; gap: 50px; }
	.service-grid, .service-details, .mini-service-grid { grid-template-columns: 1fr 1fr; }
	.trust-strip { flex-wrap: wrap; }
	.section { padding-top: 75px; padding-bottom: 75px; }
	.service-book-band { align-items: flex-start; flex-direction: column; }
	.site-footer { grid-template-columns: 1fr; }
	.copyright { grid-column: 1; }
}

@media (max-width: 600px) {
	.site-header { height: 78px; padding-left: 16px; padding-right: 16px; gap: 10px; }
	.brand-logo { width: 56px; height: 56px; }
	.brand strong { font-size: 15px; }
	.brand small { font-size: 7px; }
	.nav-cta { padding: 11px; font-size: 9px; }
	.menu-toggle { width: 36px; padding: 7px; }
	.hero-content { padding: 70px 0; }
	.hero-actions { align-items: flex-start; flex-direction: column; }
	.trust-strip { gap: 18px; margin-top: 50px; flex-direction: column; }
	.service-grid, .service-details, .mini-service-grid { grid-template-columns: 1fr; }
	.service-card { min-height: auto; }
	.form-row { grid-template-columns: 1fr; gap: 0; }
	.booking form { padding: 25px; }
	.section, .report-band, .booking, .scope-note, .service-hero, .archive-hero, .service-book-band { padding-left: 22px; padding-right: 22px; }
	.areas { gap: 40px; }
	.area-list span { font-size: 17px; }
	.service-breadcrumb { margin-bottom: 45px; }
	.footer-navigation .menu { flex-wrap: wrap; }
}

@media (max-width: 420px) {
	.brand > span { display: none; }
	.nav-cta { letter-spacing: .05em; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* 1.1.0 reliability refinements */
.brand-logo { border-radius: 50%; background: #fff; }
.footer-brand .brand-logo { border-radius: 50%; }
.menu-toggle[aria-expanded="true"] > span:not(.screen-reader-text):nth-of-type(2) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] > span:not(.screen-reader-text):nth-of-type(3) { opacity: 0; }
.menu-toggle[aria-expanded="true"] > span:not(.screen-reader-text):nth-of-type(4) { transform: translateY(-7px) rotate(-45deg); }
.menu-toggle > span:not(.screen-reader-text) { transition: transform .2s ease, opacity .2s ease; }
.hero-photo { background-color: var(--deep); }
@media (max-width: 600px) {
	.hero { min-height: 660px; }
	.hero h1 { font-size: clamp(42px, 13vw, 64px); }
	.hero-copy { font-size: 16px; }
	.nav-cta { white-space: nowrap; }
}


/* 1.2.0 SEO, trust, reviews, and local positioning */
.trust-section { padding-top: 70px; }
.trust-heading { max-width: 820px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 46px; background: var(--line); border: 1px solid var(--line); }
.trust-card { background: var(--paper); padding: 32px; min-height: 235px; }
.trust-card > span { color: #9b6d20; font-family: Georgia, serif; font-size: 16px; }
.trust-card h3 { font-family: Georgia, serif; font-size: 25px; line-height: 1.2; font-weight: 400; margin: 22px 0 14px; }
.trust-card p { color: var(--muted); font-size: 14px; line-height: 1.7; margin: 0; }
.credibility-bar { margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); background: white; }
.credibility-bar > div { padding: 22px 26px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.credibility-bar > div:last-child { border-right: 0; }
.credibility-bar small { text-transform: uppercase; letter-spacing: .12em; font-size: 9px; color: #8d621c; }
.credibility-bar strong { font-family: Georgia, serif; font-size: 18px; font-weight: 400; }

.reviews { background: #f3efe6; max-width: none; padding-left: max(5vw, calc((100vw - 1296px)/2)); padding-right: max(5vw, calc((100vw - 1296px)/2)); }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 45px; }
.review-card { background: white; padding: 32px; border: 1px solid #e1dbcf; min-height: 280px; display: flex; flex-direction: column; }
.review-stars { color: #9b6d20; letter-spacing: .12em; font-size: 17px; }
.review-card blockquote { font-family: Georgia, serif; font-size: 20px; line-height: 1.55; margin: 24px 0 30px; color: #354841; }
.review-card footer { margin-top: auto; display: flex; flex-direction: column; gap: 5px; }
.review-card footer strong { font-size: 13px; }
.review-card footer span { color: var(--muted); font-size: 11px; }
.button-outline { margin-top: 30px; border: 1px solid var(--forest); color: var(--forest); background: transparent; }
.button-outline:hover { background: var(--forest); color: white; }

.local-positioning { max-width: 1440px; }
.local-area-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); margin-top: 45px; }
.local-area-card { padding: 30px; min-height: 230px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.3); transition: .2s ease; }
.local-area-card:hover { background: white; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(18,42,34,.07); }
.local-area-card > span { display: block; color: #9b6d20; text-transform: uppercase; letter-spacing: .12em; font-size: 9px; font-weight: 700; }
.local-area-card h2, .local-area-card h3 { font-family: Georgia, serif; font-size: 28px; font-weight: 400; margin: 18px 0 12px; }
.local-area-card p { color: var(--muted); font-size: 14px; line-height: 1.7; margin: 0 0 22px; }
.local-area-card b { color: #8d621c; text-transform: uppercase; letter-spacing: .1em; font-size: 9px; }

.seo-content { display: grid; grid-template-columns: 1.3fr .7fr; gap: 90px; align-items: start; border-top: 1px solid var(--line); }
.seo-copy h2 { font-size: clamp(38px, 4.2vw, 58px); }
.seo-copy p { color: #52625c; line-height: 1.8; margin: 22px 0 0; }
.seo-links { background: var(--deep); color: white; padding: 30px; display: flex; flex-direction: column; gap: 0; }
.seo-links strong { font-family: Georgia, serif; font-size: 22px; font-weight: 400; margin-bottom: 15px; }
.seo-links a { border-top: 1px solid rgba(255,255,255,.14); padding: 17px 0; color: #d9e4df; font-size: 13px; }
.seo-links a:hover { color: var(--gold-light); }

.depth-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.depth-lead > p:last-child { color: #53635d; font-size: 17px; line-height: 1.8; margin-top: 24px; }
.depth-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.depth-columns article { background: white; padding: 32px; }
.depth-columns h3 { font-family: Georgia, serif; font-size: 27px; font-weight: 400; margin: 20px 0; }
.depth-columns ul { list-style: none; margin: 0; padding: 0; }
.depth-columns li { position: relative; padding: 13px 0 13px 22px; border-top: 1px solid var(--line); color: #53635d; font-size: 14px; line-height: 1.55; }
.depth-columns li::before { content: '•'; position: absolute; left: 3px; color: #a6792a; }

.service-local { padding-top: 55px; }
.area-chip-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 36px; }
.area-chip-grid a { border: 1px solid var(--line); background: white; padding: 16px 18px; display: flex; justify-content: space-between; gap: 12px; font-family: Georgia, serif; font-size: 16px; }
.area-chip-grid a:hover { border-color: var(--gold); color: #8d621c; }
.area-chip-grid span { color: #a6792a; }

.local-focus { padding-top: 70px; }
.local-focus .trust-grid { grid-template-columns: repeat(4, 1fr); }
.local-services { padding-top: 45px; }
.local-scope { margin-top: 0; }
.nearby-areas { padding-top: 70px; padding-bottom: 70px; }
.local-hero .eyebrow { margin-bottom: 18px; }

@media (max-width: 1050px) {
	.trust-grid { grid-template-columns: 1fr 1fr; }
	.review-grid { grid-template-columns: 1fr 1fr; }
	.review-card:last-child { grid-column: 1 / -1; }
	.area-chip-grid { grid-template-columns: repeat(3, 1fr); }
	.seo-content, .depth-section { grid-template-columns: 1fr; gap: 50px; }
}

@media (max-width: 900px) {
	.credibility-bar { grid-template-columns: 1fr; }
	.credibility-bar > div { border-right: 0; border-bottom: 1px solid var(--line); }
	.credibility-bar > div:last-child { border-bottom: 0; }
	.depth-columns { grid-template-columns: 1fr; }
	.local-focus .trust-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 650px) {
	.trust-grid, .review-grid, .local-area-grid, .local-focus .trust-grid { grid-template-columns: 1fr; }
	.review-card:last-child { grid-column: auto; }
	.area-chip-grid { grid-template-columns: 1fr 1fr; }
	.trust-card, .local-area-card { min-height: auto; }
}

@media (max-width: 430px) {
	.area-chip-grid { grid-template-columns: 1fr; }
}


/* 1.3.0 official Legacy Inspection branding */
.site-header {
	height: 104px;
	background: rgba(3, 12, 23, .97);
	border-bottom: 1px solid rgba(217, 168, 78, .30);
	box-shadow: 0 10px 30px rgba(0, 0, 0, .16);
	backdrop-filter: blur(14px);
}
.brand {
	gap: 13px;
	min-width: 235px;
	color: #f7f2e7;
}
.brand-picture { display: block; line-height: 0; }
.brand-logo,
.footer-brand .brand-logo {
	background: transparent;
	border-radius: 0;
	box-shadow: none;
}
.brand-logo-mark {
	width: 78px;
	height: 78px;
	object-fit: cover;
	border-radius: 14px;
	filter: drop-shadow(0 8px 18px rgba(0,0,0,.28));
}
.brand-wordmark {
	display: flex;
	flex-direction: column;
	line-height: 1;
	text-shadow: 0 2px 10px rgba(0,0,0,.32);
}
.brand-wordmark strong {
	font-family: Georgia, 'Times New Roman', serif;
	font-size: 21px;
	font-weight: 400;
	letter-spacing: .10em;
	color: #c8d0d7;
}
.brand-wordmark small {
	font-size: 9px;
	font-weight: 700;
	letter-spacing: .38em;
	color: #e4b95e;
	margin-top: 7px;
}
.primary-navigation .menu { color: #e8ecef; }
.primary-navigation a { color: #e8ecef; }
.primary-navigation a:hover,
.primary-navigation .current-menu-item > a,
.primary-navigation .current_page_item > a { color: var(--gold-light); }
.menu-toggle > span:not(.screen-reader-text) { background: #f5f6f7; }
.nav-cta {
	background: var(--gold);
	color: #07131f;
	border: 1px solid rgba(255,255,255,.06);
	box-shadow: 0 8px 24px rgba(0,0,0,.20);
}
.nav-cta:hover { background: var(--gold-light); color: #07131f; }

.footer-brand {
	display: inline-flex;
	width: min(250px, 100%);
	align-items: center;
}
.footer-brand .brand-logo-full {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 18px;
	box-shadow: 0 16px 38px rgba(0,0,0,.30);
}
.site-footer {
	border-top: 1px solid rgba(217,168,78,.22);
}

@media (max-width: 900px) {
	.primary-navigation {
		background: #07131f;
		border-bottom-color: rgba(217,168,78,.22);
		box-shadow: 0 18px 34px rgba(0,0,0,.32);
	}
	.primary-navigation .menu li { border-bottom-color: rgba(255,255,255,.10); }
	.primary-navigation .menu a { color: #eef1f2; }
}

@media (max-width: 600px) {
	.site-header {
		height: 78px;
		padding-left: 12px;
		padding-right: 12px;
		gap: 8px;
	}
	.brand {
		min-width: 0;
		gap: 0;
	}
	.brand-logo-mark {
		width: 58px;
		height: 58px;
		border-radius: 12px;
	}
	.brand-wordmark { display: none; }
	.nav-cta {
		padding: 10px 11px;
		font-size: 8px;
		letter-spacing: .07em;
	}
	.menu-toggle { margin-left: auto; }
}

@media (max-width: 380px) {
	.nav-cta { padding: 9px 8px; font-size: 7.5px; }
	.brand-logo-mark { width: 54px; height: 54px; }
}
