/* SB Home & Building Inspections — site styles */
:root {
  --navy: #0b2a4a;
  --navy-900: #071d34;
  --navy-700: #163c63;
  --orange: #f26a1b;
  --orange-600: #d9560c;
  --orange-50: #fff3eb;
  --ink: #1b2533;
  --muted: #5a6677;
  --line: #e3e8ef;
  --bg-soft: #f4f6f9;
  --white: #fff;
  --radius: 10px;
  --shadow: 0 6px 24px rgba(11, 42, 74, .08);
  --shadow-lg: 0 14px 40px rgba(11, 42, 74, .14);
  --serif: "Merriweather", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 1rem/1.65 var(--sans); color: var(--ink); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-700); }
a:hover { color: var(--orange-600); }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--navy); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 900; letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 900; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--orange); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 10px; }
.ic { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .8em 1.4em; border-radius: 6px; border: 2px solid var(--orange); background: var(--orange); color: #fff; font: 600 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s, transform .15s; }
.btn:hover { background: var(--orange-600); border-color: var(--orange-600); color: #fff; transform: translateY(-1px); }
.btn--sm { padding: .5em .95em; font-size: .9rem; }
.btn--lg { padding: .95em 1.6em; font-size: 1.05rem; }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn--outline-orange { background: transparent; color: var(--orange-600); border-color: var(--orange); }
.btn--outline-orange:hover { background: var(--orange); color: #fff; }
.btn--ghost { background: transparent; border-color: rgba(255,255,255,.7); color: #fff; }
.btn--ghost:hover { background: #fff; border-color: #fff; color: var(--navy); }
.btn--ghost-dark { background: transparent; border-color: var(--navy); color: var(--navy); }
.link-arrow { display: inline-flex; align-items: center; gap: .35em; color: var(--orange-600); font-weight: 600; text-decoration: none; font-size: .95rem; }
.link-arrow:hover { gap: .6em; }

/* Top bar */
.topbar { background: var(--navy); color: #cdd8e5; font-size: .82rem; letter-spacing: .06em; }
.topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; }
.topbar__areas { margin: 0; display: flex; align-items: center; gap: .5em; text-transform: uppercase; }
.topbar__areas span { opacity: .5; }
.topbar__cta { display: flex; align-items: center; gap: 18px; }
.topbar__phone { color: #fff; text-decoration: none; font-weight: 600; font-size: 1.05rem; letter-spacing: 0; display: inline-flex; align-items: center; gap: .4em; }
.topbar__phone:hover { color: var(--orange); }
.topbar .btn { letter-spacing: 0; border-radius: 0; align-self: stretch; padding: 0 1.1em; }

/* Header + nav */
.site-header { background: #fff; position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 14px rgba(11,42,74,.08); }
.site-header__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.brand { display: block; flex: none; background: var(--navy); border-radius: 0 0 10px 10px; padding: 8px 12px; margin: -1px 0 -18px; box-shadow: var(--shadow); align-self: flex-start; position: relative; z-index: 2; }
.brand img { width: 220px; }
.nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav li { position: relative; }
.nav a { display: block; padding: 10px 11px; text-decoration: none; color: var(--navy); font-weight: 600; font-size: .93rem; white-space: nowrap; border-bottom: 3px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--orange-600); }
.nav > ul > li > a[aria-current="page"] { border-bottom-color: var(--orange); }
.has-sub { display: flex; align-items: center; }
.has-sub > a { padding-right: 2px; }
.sub-toggle { background: none; border: 0; padding: 6px 4px; color: var(--navy); cursor: pointer; display: flex; }
.sub { list-style: none; margin: 0; padding: 8px 0; position: absolute; top: 100%; left: 0; min-width: 270px; background: #fff; border-radius: 8px; box-shadow: var(--shadow-lg); border-top: 3px solid var(--orange); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s; }
.sub a { font-weight: 500; padding: 9px 18px; border: 0; }
.sub a:hover { background: var(--orange-50); }
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.open .sub { opacity: 1; visibility: visible; transform: none; }
.nav__mobile-cta { display: none; }
.nav-toggle { display: none; }

/* Sections */
.section { padding: 76px 0; }
.section--soft { background: var(--bg-soft); }
.section--tight { padding: 52px 0; }
.eyebrow { display: block; color: var(--orange-600); text-transform: uppercase; letter-spacing: .12em; font: 700 .8rem/1.3 var(--sans); margin-bottom: .7em; }
.section-head { text-align: center; max-width: 780px; margin: 0 auto 40px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.lead { font-size: 1.15rem; color: var(--muted); }

/* Hero */
.hero { position: relative; background: #fff; overflow: hidden; }
.hero__media { position: absolute; inset: 0 0 0 auto; width: 72%; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.85) 18%, rgba(255,255,255,0) 45%); }
.hero__in { position: relative; z-index: 1; padding: 96px 20px 54px; }
.hero__copy { max-width: 640px; }
.hero h1 { margin-bottom: .35em; }
.hero h1 .accent { color: var(--orange); display: block; }
.hero__sub { font-size: 1.22rem; color: var(--ink); max-width: 520px; margin-bottom: 1.6em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero__stats { display: flex; flex-wrap: nowrap; gap: 0; background: rgba(255,255,255,.92); border-radius: var(--radius); box-shadow: var(--shadow); width: fit-content; max-width: 100%; }
.stat { display: flex; align-items: center; gap: 10px; padding: 14px 18px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat .ic { width: 34px; height: 34px; color: var(--navy); stroke-width: 1.5; }
.stat strong { display: block; font: 900 1.35rem/1.1 var(--serif); color: var(--navy); }
.stat span { font-size: .85rem; color: var(--muted); line-height: 1.3; display: block; }

/* Trust strip */
.trust { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.trust__in { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust__item { display: flex; align-items: center; gap: 14px; padding: 22px 18px; }
.trust__item + .trust__item { border-left: 1px solid var(--line); }
.trust__item .ic { width: 40px; height: 40px; color: var(--navy); stroke-width: 1.4; }
.trust__item strong { display: block; color: var(--navy); font-size: .98rem; }
.trust__item span { color: var(--muted); font-size: .86rem; }

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; border: 1px solid var(--line); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card__img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.card__body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.card__title { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; }
.card__title .ic { width: 30px; height: 30px; color: var(--orange); stroke-width: 1.6; margin-top: 2px; }
.card__title h3 { margin: 0; font-size: 1.04rem; }
.card__title h3 a { color: inherit; text-decoration: none; }
.card__title h3 a::after { content: ""; position: absolute; inset: 0; }
.card { position: relative; }
.card p { color: var(--muted); font-size: .92rem; flex: 1; }

/* Technology + sample report */
.tech { display: grid; grid-template-columns: 1.15fr 1fr; gap: 28px; align-items: stretch; }
.tech__panel { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; background: linear-gradient(135deg, #fff 0%, #fff 55%, var(--bg-soft) 100%); border-radius: var(--radius); padding: 40px; border: 1px solid var(--line); }
.tech__icons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 26px 0 30px; list-style: none; padding: 0; }
.tech__icons li { text-align: center; font-weight: 600; font-size: .88rem; color: var(--navy); line-height: 1.3; }
.tech__icons .bubble { width: 64px; height: 64px; margin: 0 auto 10px; border-radius: 50%; border: 2px solid var(--orange); display: grid; place-items: center; color: var(--orange); background: #fff; }
.tech__icons .ic { width: 28px; height: 28px; stroke-width: 1.6; }
.report-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); padding: 28px; display: flex; flex-direction: column; }
.report-card h3 { font-size: 1.3rem; margin-bottom: .2em; }
.report-card > p { color: var(--muted); font-size: .95rem; }
.report-ui { display: grid; grid-template-columns: 150px 1fr; gap: 16px; background: var(--bg-soft); border-radius: 8px; padding: 14px; margin: 8px 0 20px; flex: 1; }
.report-ui__nav { list-style: none; margin: 0; padding: 0; font-size: .8rem; color: var(--muted); }
.report-ui__nav li { padding: 5px 8px; border-radius: 4px; display: flex; gap: 6px; align-items: center; }
.report-ui__nav li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #b8c3d1; }
.report-ui__nav li.on { background: var(--navy); color: #fff; }
.report-ui__nav li.on::before { background: var(--orange); }
.report-ui__finding { background: #fff; border-radius: 6px; padding: 12px; font-size: .84rem; box-shadow: 0 2px 8px rgba(11,42,74,.06); }
.report-ui__finding img { border-radius: 4px; aspect-ratio: 16 / 9; object-fit: cover; width: 100%; margin-bottom: 10px; }
.pill { display: inline-block; font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 99px; background: #fde5e1; color: #b42318; margin-bottom: 6px; }
.report-ui__finding strong { display: block; color: var(--navy); font-size: .95rem; margin-bottom: 4px; }
.report-ui__finding p { margin: 0 0 8px; color: var(--muted); }
.report-ui__meta { display: flex; flex-direction: column; gap: 3px; color: var(--ink); }
.report-ui__meta b { color: var(--orange-600); }
.example-note { font-size: .75rem; color: var(--muted); font-style: italic; margin: 6px 0 0; }

/* Meet Shane */
.meet { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; }
.meet__card { display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: center; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; }
.meet__card img { height: 100%; width: 100%; object-fit: cover; min-height: 340px; }
.meet__copy { padding: 26px 26px 26px 0; }
.meet__role { color: var(--muted); font-weight: 600; font-size: .9rem; margin-bottom: 1em; }
.features { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; align-content: center; }
.features li { display: flex; gap: 14px; align-items: center; }
.features .ic { width: 38px; height: 38px; color: var(--orange); stroke-width: 1.5; }
.features strong { display: block; color: var(--navy); }
.features span { color: var(--muted); font-size: .9rem; }
.meet__side { display: flex; align-items: center; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); padding: 28px; }

/* Client photos */
.clients { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.clients img { border-radius: 8px; aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.clients__more { text-align: center; margin-top: 28px; }

/* Realtors + service areas band */
.band { background: var(--navy) linear-gradient(135deg, var(--navy-900), var(--navy-700)); color: #dbe5f0; }
.band h2, .band h3 { color: #fff; }
.band__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.band__icons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; list-style: none; padding: 0; margin: 26px 0 30px; }
.band__icons li { font-size: .88rem; line-height: 1.35; color: #fff; }
.band__icons .ic { width: 38px; height: 38px; stroke-width: 1.4; margin-bottom: 8px; color: #fff; }
.areas { columns: 3; list-style: none; padding: 0; margin: 22px 0 30px; }
.areas li { display: flex; align-items: center; gap: 8px; padding: 3px 0; break-inside: avoid; }
.areas .ic { color: var(--orange); stroke-width: 2.4; width: 1em; height: 1em; }
.band .areas li { color: #fff; }

/* CTA band */
.cta-band { background: var(--orange); color: #fff; padding: 44px 0; }
.cta-band__in { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 .25em; }
.cta-band p { margin: 0; font-size: 1.05rem; opacity: .95; }
.cta-band__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-band .btn:not(.btn--ghost) { background: var(--navy); border-color: var(--navy); }
.cta-band .btn:not(.btn--ghost):hover { background: var(--navy-900); }

/* Footer */
.site-footer { background: var(--navy-900); color: #b9c7d6; font-size: .94rem; padding-top: 60px; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer__brand img { width: 230px; border-radius: 6px; margin-bottom: 16px; }
.site-footer__h { font: 700 .82rem/1.2 var(--sans); color: #fff; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer a { color: #dbe5f0; text-decoration: none; }
.site-footer a:hover { color: var(--orange); }
.site-footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.site-footer__contact .ic { color: var(--orange); margin-top: 3px; }
.social { display: flex; gap: 10px; }
.social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; }
.social a:hover { background: var(--orange); color: #fff; }
.site-footer__base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; padding-top: 20px; padding-bottom: 24px; font-size: .85rem; }
.site-footer__base p { margin: 0; }
.mobile-call, .mobile-book { display: none; }

/* Inner pages */
.page-hero { background-color: var(--navy); background-image: linear-gradient(120deg, rgba(7,29,52,.94), rgba(22,60,99,.8)), var(--hero-img, none); background-size: cover; background-position: center; color: #dbe5f0; padding: 64px 0 58px; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 3rem); max-width: 860px; }
.page-hero p { font-size: 1.15rem; max-width: 720px; margin: 0; }
.crumbs { font-size: .85rem; margin-bottom: 16px; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "›"; margin-right: 6px; opacity: .6; }
.crumbs a { color: #fff; }
.page-hero .btn { margin-top: 26px; }
.prose { max-width: 780px; }
.prose h2 { margin-top: 1.6em; font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.prose h3 { margin-top: 1.4em; }
.prose img { border-radius: var(--radius); margin: 1.5em 0; }
.prose li { margin-bottom: .4em; }
.split { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: start; }
.aside-card { background: var(--bg-soft); border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); position: sticky; top: 110px; }
.aside-card h2, .aside-card h3 { font-size: 1.25rem; }
.aside-card .btn { width: 100%; margin-top: 8px; }
.checklist { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist .ic { color: var(--orange); stroke-width: 2.4; margin-top: 4px; }
.checklist--2 { grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.tile .ic { width: 36px; height: 36px; color: var(--orange); stroke-width: 1.5; margin-bottom: 12px; }
.tile h3 { margin-bottom: .4em; }
.tile p { color: var(--muted); font-size: .95rem; margin: 0; }
.tile--link { text-decoration: none; display: block; color: inherit; transition: transform .2s; }
.tile--link:hover { transform: translateY(-3px); color: inherit; }
.price-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 30px; }
.price-table caption { text-align: left; font: 900 1.3rem/1.2 var(--serif); color: var(--navy); padding: 0 0 12px; }
.price-table th, .price-table td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.price-table thead th { background: var(--navy); color: #fff; font-size: .88rem; text-transform: uppercase; letter-spacing: .06em; }
.price-table td:last-child { font-weight: 700; color: var(--navy); white-space: nowrap; }
.price-table tr:last-child td { border-bottom: 0; }
.note { background: var(--orange-50); border-left: 4px solid var(--orange); padding: 14px 18px; border-radius: 6px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 8px; margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 18px 52px 18px 20px; font-weight: 600; color: var(--navy); position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--orange); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 20px 18px; color: var(--muted); }
.faq details > div p:last-child { margin: 0; }

/* Contact form */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; background: #fff; padding: 30px; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-weight: 600; font-size: .9rem; color: var(--navy); margin-bottom: 6px; }
.form input, .form select, .form textarea { width: 100%; padding: 12px 14px; border: 1.5px solid #cfd7e2; border-radius: 6px; font: inherit; color: var(--ink); background: #fff; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--navy-700); outline: none; box-shadow: 0 0 0 3px rgba(22,60,99,.15); }
.form textarea { min-height: 120px; resize: vertical; }
.form .hp { position: absolute; left: -5000px; }
.form small { color: var(--muted); }
.form-status { padding: 14px 18px; border-radius: 6px; margin-bottom: 18px; font-weight: 600; }
.form-status--ok { background: #e7f6ec; color: #17663a; }
.form-status--err { background: #fde5e1; color: #b42318; }
.contact-list { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .ic { width: 26px; height: 26px; color: var(--orange); margin-top: 2px; }
.contact-list strong { display: block; color: var(--navy); }

/* Blog */
.post-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); position: relative; display: flex; flex-direction: column; }
.post-card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.post-card__body { padding: 22px 24px 26px; }
.post-card h2 { font-size: 1.3rem; }
.post-card h2 a { color: inherit; text-decoration: none; }
.post-card h2 a::after { content: ""; position: absolute; inset: 0; }
.post-meta { font-size: .85rem; color: var(--muted); margin-bottom: .6em; }

/* Responsive */
@media (max-width: 1360px) {
  .nav a { padding: 10px 7px; font-size: .86rem; }
  .site-header__in { gap: 14px; }
  .brand img { width: 180px; }
  .cards { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1200px) {
  .site-header__in { min-height: 72px; }
  .brand { margin-bottom: -12px; }
  .brand img { width: 180px; }
  .nav-toggle { display: grid; place-items: center; width: 48px; height: 48px; border: 0; background: var(--bg-soft); border-radius: 8px; cursor: pointer; }
  .nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; display: block; width: 22px; height: 2.5px; background: var(--navy); border-radius: 2px; position: relative; transition: .2s; }
  .nav-toggle__bars::before { position: absolute; top: -7px; }
  .nav-toggle__bars::after { position: absolute; top: 7px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { top: 0; transform: rotate(-45deg); }
  .nav { position: fixed; inset: 116px 0 0 0; background: #fff; overflow-y: auto; padding: 12px 20px 120px; transform: translateX(100%); transition: transform .25s; visibility: hidden; }
  .nav.open { transform: none; visibility: visible; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav > ul > li { border-bottom: 1px solid var(--line); }
  .nav a { font-size: 1.05rem; padding: 15px 4px; border: 0; }
  .nav > ul > li > a[aria-current="page"] { border: 0; }
  .has-sub { flex-wrap: wrap; justify-content: space-between; }
  .sub-toggle { padding: 12px; }
  .sub-toggle[aria-expanded="true"] .ic { transform: rotate(180deg); }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 10px 10px; width: 100%; display: none; min-width: 0; }
  .has-sub.open .sub { display: block; }
  .has-sub:hover .sub { display: none; }
  .has-sub.open:hover .sub { display: block; }
  .sub a { padding: 10px 8px; font-size: .98rem; }
  .nav__mobile-cta { display: grid; gap: 12px; margin-top: 22px; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 1020px) {
  .hero__stats { flex-wrap: wrap; }
  .topbar__areas { display: none; }
  .topbar__in { justify-content: flex-end; }
  .site-header__in { min-height: 72px; }
  .brand { margin-bottom: -12px; }
  .brand img { width: 180px; }
  .nav-toggle { display: grid; place-items: center; width: 48px; height: 48px; border: 0; background: var(--bg-soft); border-radius: 8px; cursor: pointer; }
  .nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; display: block; width: 22px; height: 2.5px; background: var(--navy); border-radius: 2px; position: relative; transition: .2s; }
  .nav-toggle__bars::before { position: absolute; top: -7px; }
  .nav-toggle__bars::after { position: absolute; top: 7px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { top: 0; transform: rotate(-45deg); }
  .nav { position: fixed; inset: 116px 0 0 0; background: #fff; overflow-y: auto; padding: 12px 20px 120px; transform: translateX(100%); transition: transform .25s; visibility: hidden; }
  .nav.open { transform: none; visibility: visible; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav > ul > li { border-bottom: 1px solid var(--line); }
  .nav a { font-size: 1.05rem; padding: 15px 4px; border: 0; }
  .nav > ul > li > a[aria-current="page"] { border: 0; }
  .has-sub { flex-wrap: wrap; justify-content: space-between; }
  .sub-toggle { padding: 12px; }
  .sub-toggle[aria-expanded="true"] .ic { transform: rotate(180deg); }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 10px 10px; width: 100%; display: none; min-width: 0; }
  .has-sub.open .sub { display: block; }
  .has-sub:hover .sub { display: none; }
  .has-sub.open:hover .sub { display: block; }
  .sub a { padding: 10px 8px; font-size: .98rem; }
  .nav__mobile-cta { display: grid; gap: 12px; margin-top: 22px; }
  body.nav-open { overflow: hidden; }

  .hero__media { position: relative; width: 100%; height: 300px; }
  .hero__media::after { background: linear-gradient(0deg, #fff 0%, rgba(255,255,255,0) 40%); }
  .hero__in { padding: 0 20px 44px; margin-top: -40px; }
  .trust__in { grid-template-columns: 1fr 1fr; }
  .trust__item:nth-child(3) { border-left: 0; }
  .trust__item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .tech, .meet, .band__grid, .split { grid-template-columns: 1fr; }
  .aside-card { position: static; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { font-size: .98rem; padding-bottom: 62px; }
  .topbar { display: none; }
  .nav { inset: 72px 0 0 0; }
  .section { padding: 54px 0; }
  .hero__media { height: 240px; }
  .hero__media img { object-position: 78% center; }
  .hero__sub { font-size: 1.08rem; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__stats { flex-direction: column; width: 100%; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }
  .trust__in { grid-template-columns: 1fr; }
  .trust__item { border-left: 0 !important; border-top: 1px solid var(--line); padding: 16px 4px; }
  .trust__item:first-child { border-top: 0; }
  .cards { grid-template-columns: 1fr; }
  .card { flex-direction: row; }
  .card__img { width: 36%; aspect-ratio: auto; }
  .card__body { padding: 14px; }
  .card p { font-size: .88rem; margin-bottom: .6em; }
  .tech__panel, .report-card, .meet__side { padding: 24px 20px; }
  .tech__icons { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
  .report-ui { grid-template-columns: 1fr; }
  .report-ui__nav { display: flex; flex-wrap: wrap; gap: 4px; }
  .meet__card { grid-template-columns: 1fr; }
  .meet__card img { min-height: 0; aspect-ratio: 4 / 3; }
  .meet__copy { padding: 0 22px 24px; }
  .clients { grid-template-columns: repeat(2, 1fr); }
  .band__icons { grid-template-columns: repeat(2, 1fr); }
  .areas { columns: 2; }
  .cta-band__actions, .cta-band__actions .btn { width: 100%; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .grid-3, .grid-2, .post-list, .checklist--2 { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; padding: 22px 18px; }
  .price-table th, .price-table td { padding: 11px 12px; font-size: .92rem; }
  .mobile-call, .mobile-book { display: flex; position: fixed; bottom: 0; z-index: 60; height: 62px; align-items: center; justify-content: center; gap: 8px; font-weight: 700; text-decoration: none; color: #fff; }
  .mobile-call { left: 0; width: 38%; background: var(--navy); }
  .mobile-book { right: 0; width: 62%; background: var(--orange); }
  .mobile-call:hover, .mobile-book:hover { color: #fff; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
.nav .nav__mobile-cta .btn { display: flex; padding: .9em 1.4em; border: 2px solid var(--orange); color: #fff; font-size: 1.05rem; }
.nav .nav__mobile-cta .btn--ghost-dark { border-color: var(--navy); color: var(--navy); background: transparent; }
.stat--reviews { text-decoration: none; color: inherit; }
.stat--reviews:hover strong { color: var(--orange-600); }
.stars { color: #f5a623; font-size: 1.05rem; letter-spacing: 1px; line-height: 1; }
.stat .stars { display: block; width: 62px; font-size: .9rem; letter-spacing: 0; }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; margin: 0; display: flex; flex-direction: column; }
.review blockquote { margin: 10px 0 16px; font: 700 1.05rem/1.5 var(--serif); color: var(--navy); flex: 1; }
.review figcaption { font-size: .9rem; color: var(--muted); }
.review figcaption strong { color: var(--ink); }
.reviews-note { text-align: center; color: var(--muted); font-size: .88rem; margin-top: 22px; }
.nachi-seals { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 1em; }
.prose .nachi-seals img { width: 104px; height: auto; margin: 0; border-radius: 0; }
@media (max-width: 1020px) { .reviews { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .reviews { grid-template-columns: 1fr; } }

/* Johnni app + Inspect Canada Network */
.app-hero { background: var(--navy) linear-gradient(135deg, var(--navy-900), var(--navy-700)); color: #dbe5f0; overflow: hidden; }
.app-hero__in { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.app-hero h1 { color: #fff; font-size: clamp(2rem, 4.2vw, 3.2rem); }
.app-hero p { font-size: 1.12rem; }
.app-hero strong { color: #fff; }
.badge-free { display: inline-block; background: var(--orange); color: #fff; font: 700 .78rem/1 var(--sans); text-transform: uppercase; letter-spacing: .1em; padding: 8px 12px; border-radius: 99px; margin-bottom: 16px; }
.app-hero__points { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.app-hero__points li { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; font-size: .95rem; }
.app-hero__points .ic { color: var(--orange); stroke-width: 2.6; }
.app-hero__phones { position: relative; height: 520px; }
.phone { width: 240px; aspect-ratio: 540 / 1170; height: auto; border-radius: 28px; border: 8px solid #10161f; box-shadow: 0 24px 60px rgba(0,0,0,.35); background: #fff; }
.app-hero__phones .phone { position: absolute; top: 0; left: 50%; transform: translateX(-30%); }
.app-hero__phones .phone--back { transform: translateX(-95%) rotate(-6deg); top: 30px; opacity: .9; }
.feature-row { display: grid; grid-template-columns: 280px 1fr; gap: 56px; align-items: center; max-width: 960px; margin: 0 auto 64px; }
.feature-row .phone { width: 240px; justify-self: center; }
.feature-row--flip { grid-template-columns: 1fr 280px; }
.feature-row--flip .phone { order: 2; }
.feature-row h3 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); }
.feature-row p { color: var(--muted); font-size: 1.05rem; }
.steps { list-style: none; padding: 0; margin: 0 0 30px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.steps__n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--orange); color: #fff; font: 900 1.2rem/1 var(--serif); margin-bottom: 14px; }
.steps p { color: var(--muted); margin: 0; }
.store-links { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.app-promo { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; }
.app-promo__phones { display: flex; justify-content: center; gap: 18px; }
.app-promo__phones .phone { width: 200px; }
.app-promo__phones .phone:nth-child(2) { margin-top: 40px; }
.icn { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: center; }
.icn__badge { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px; text-align: center; }
.icn__badge img { width: 200px; margin: 0 auto 14px; }
.icn__rating { font: 900 2.4rem/1 var(--serif); color: var(--navy); }
.icn__rating .stars { font-size: 1.4rem; vertical-align: middle; }
.icn__badge p { color: var(--muted); margin: 8px 0 18px; }
.icn__perks { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 22px; list-style: none; padding: 0; margin: 20px 0 26px; }
.icn__perks li { display: flex; gap: 12px; align-items: flex-start; }
.icn__perks .ic { width: 30px; height: 30px; color: var(--orange); stroke-width: 1.6; flex: none; }
.icn__perks strong { display: block; color: var(--navy); }
.icn__perks span { color: var(--muted); font-size: .92rem; }
@media (max-width: 1020px) {
  .app-hero__in, .app-promo, .icn { grid-template-columns: 1fr; }
  .app-hero__phones { height: 440px; }
  .app-hero__phones .phone { width: 200px; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .feature-row, .feature-row--flip { grid-template-columns: 1fr; gap: 22px; margin-bottom: 48px; }
  .feature-row--flip .phone { order: 0; }
  .feature-row .phone { width: 200px; }
  .app-hero__phones { height: 380px; }
  .app-hero__phones .phone { width: 170px; }
  .app-promo__phones .phone { width: 140px; }
  .icn__perks { grid-template-columns: 1fr; }
}
.nav a.nav__app { color: var(--orange-600); }
.app-hero a:not(.btn) { color: #fff; }
.agent-app-head { display: grid; grid-template-columns: 150px 1fr; gap: 32px; align-items: center; max-width: 960px; margin: 0 auto 40px; }
.agent-app-head img { width: 150px; border-radius: 28px; box-shadow: var(--shadow-lg); }
.app-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.app-feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.app-feature img { width: 100%; aspect-ratio: 488 / 240; object-fit: cover; object-position: center; background: #f6f7f9; }
.app-feature div { padding: 18px 20px 22px; }
.app-feature h3 { margin-bottom: .35em; }
.app-feature p { color: var(--muted); font-size: .93rem; margin: 0; }
@media (max-width: 1020px) { .app-features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .app-features { grid-template-columns: 1fr; } .agent-app-head { grid-template-columns: 1fr; text-align: left; } .agent-app-head img { width: 96px; border-radius: 20px; } }
/* Medium screens: menu collapses, so the phone + Book button move into the white header bar */
.header-cta { display: none; }
@media (max-width: 1200px) {
  .topbar { display: none; }
  .site-header__in { min-height: 76px; }
  .brand { margin: -1px 0 -10px; }
  .header-cta { display: flex; align-items: center; gap: 18px; margin-left: auto; }
  .header-cta__phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 1.1rem; color: var(--navy); text-decoration: none; }
  .header-cta__phone:hover { color: var(--orange-600); }
  .header-cta .btn { padding: .65em 1.1em; font-size: .95rem; }
  .nav { inset: 76px 0 0 0; }
}
@media (max-width: 720px) {
  .header-cta { display: none; }
  .site-header__in { min-height: 72px; }
  .nav { inset: 72px 0 0 0; }
}
.topbar__left { display: flex; align-items: center; gap: 22px; }
.topbar__licence { margin: 0; display: inline-flex; align-items: center; gap: .5em; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); color: #fff; padding: 4px 12px; border-radius: 99px; text-transform: uppercase; font-weight: 600; }
.topbar__licence strong { color: var(--orange); font-weight: 800; letter-spacing: .04em; }
.topbar__licence .ic { color: var(--orange); }
.header-cta__licence { display: none; }
@media (max-width: 1200px) {
  .header-cta__licence { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 700; color: var(--navy); background: var(--orange-50); border: 1px solid #f7c9a8; padding: 5px 10px; border-radius: 99px; }
  .header-cta__licence .ic { color: var(--orange-600); }
}
@media (max-width: 900px) { .header-cta__licence { display: none; } }
@media (max-width: 1360px) { .topbar__left { gap: 14px; } .topbar__areas { font-size: .76rem; } }

/* Interactive sample report */
.report-demo > p { color: var(--muted); }
.report-demo .report-ui { grid-template-columns: 210px 1fr; align-items: start; }
.report-ui__nav a { display: flex; gap: 8px; align-items: center; padding: 8px 10px; border-radius: 6px; color: var(--muted); text-decoration: none; font-size: .92rem; }
.report-ui__nav a::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #b8c3d1; flex: none; }
.report-ui__nav a:hover { background: #e8edf3; color: var(--navy); }
.report-ui__nav a[aria-selected="true"] { background: var(--navy); color: #fff; }
.report-ui__nav a[aria-selected="true"]::before { background: var(--orange); }
.report-demo .report-ui__nav li { padding: 0; display: block; }
.report-demo .report-ui__nav li::before { display: none; }
.report-panel { background: #fff; border-radius: 8px; padding: 18px; box-shadow: 0 2px 8px rgba(11,42,74,.06); scroll-margin-top: 120px; }
.report-panel + .report-panel { margin-top: 16px; }
.js .report-panel { display: none; }
.js .report-panel.is-active { display: block; animation: rp-in .2s ease; }
@keyframes rp-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.report-panel img { width: 100%; max-height: 380px; object-fit: cover; border-radius: 6px; margin-bottom: 14px; }
.report-panel__title { display: block; font: 700 1.15rem/1.3 var(--sans); color: var(--navy); margin: 8px 0 6px; }
.report-panel__eyebrow { display: block; font: 700 .75rem/1 var(--sans); text-transform: uppercase; letter-spacing: .1em; color: var(--orange-600); }
.report-panel p { color: var(--muted); margin: 0 0 12px; }
.report-panel .report-ui__meta { font-size: .9rem; }
.report-panel__hint { font-size: .85rem; font-style: italic; }
.report-credit { display: block; margin-top: 10px; font-size: .72rem; color: var(--muted); }
.report-credit a { color: inherit; }
.report-counts { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 14px; }
.report-summary { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 6px; }
.report-summary a { display: flex; gap: 10px; align-items: center; padding: 8px 10px; border: 1px solid var(--line); border-radius: 6px; text-decoration: none; color: var(--ink); font-size: .92rem; }
.report-summary a:hover { border-color: var(--navy-700); background: var(--bg-soft); }
.report-summary .pill { margin: 0; flex: none; min-width: 112px; text-align: center; }
.pill--high { background: #fde5e1; color: #b42318; }
.pill--attention { background: #fff0e0; color: #b54708; }
.pill--monitor { background: #e6f0fb; color: #1d4f91; }
.pill--maintenance { background: #e7f6ec; color: #17663a; }
@media (max-width: 720px) {
  .report-demo .report-ui { grid-template-columns: 1fr; }
  .report-demo .report-ui__nav { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 6px; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
  .report-ui__nav a { white-space: nowrap; background: #fff; border: 1px solid var(--line); }
  .report-summary .pill { min-width: 0; }
  .report-summary a { flex-direction: column; align-items: flex-start; gap: 4px; }
}
.gbp-badge { text-align: center; margin: 26px auto 0; font-size: 1rem; color: var(--ink); }
.gbp-badge .stars { font-size: 1.1rem; }
/* Meet Shane: keep the headshot in a natural portrait shape */
.meet__card { align-items: center; }
.meet__card img { height: auto; min-height: 0; aspect-ratio: 4 / 5; object-position: center top; align-self: stretch; max-height: 100%; }
@media (max-width: 1200px) {
  .meet { grid-template-columns: 1fr; }
  .meet__card { grid-template-columns: 320px 1fr; }
}
@media (max-width: 720px) {
  .meet__card { grid-template-columns: 1fr; }
  .meet__card img { aspect-ratio: 1 / 1; }
}
