/* King Security Solutions — site design system
   Compact enterprise layout: a 1200px container, 40px between sections,
   medium-weight Avenir Next headings in near-black, 16/24 body text, pill
   buttons, 5px photo corners, a grey hero and a cream review band that each
   end in a chevron. King blue replaces red as the action colour; red is kept
   for emergency service only. */
:root {
  --ink: #1d1d1d;
  --text: #1d1d1d;
  --muted: #5b5f66;
  --blue: #1b55a8;
  --blue-dark: #134286;
  --blue-bright: #1f63c6;
  --gray: #f4f4f4;
  --gray-2: #e6e6e6;
  --cream: #fcf6ee;
  --line: #dcdcdc;
  --red: #c42b1f;
  --red-dark: #9e2117;
  --footer: #1d1d1d;
  --star: #f5a623;
  --focus: #f0a300;

  --font: "Avenir Next", "Nunito Sans", "Segoe UI", Arial, sans-serif;
  --wrap: 1200px;
  --pad-x: 32px;
  --section: 40px;
  --chevron: clamp(28px, 5.2vw, 56px);
  --radius: 5px;
  --shadow: 0 4px 24px rgba(0, 0, 0, .10);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--text); background: #fff; font: 400 16px/24px var(--font); -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button, summary { cursor: pointer; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { color: var(--ink); font-weight: 500; letter-spacing: .01em; text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 1.6rem + 2vw, 3rem); line-height: 1.2; }
h2 { font-size: clamp(1.625rem, 1.35rem + .9vw, 2rem); line-height: 1.125; }
h3 { font-size: 1.25rem; line-height: 1.3; }
p + p { margin-top: 1em; }
.accent, .hero-display-emphasis { color: var(--blue); font-weight: inherit; }
:where(a, button, summary, input, select, textarea, [tabindex]):focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
[hidden] { display: none !important; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad-x); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 3000; padding: 10px 18px; color: #fff; background: var(--ink); border-radius: 999px; transform: translateY(-200%); }
.skip-link:focus { color: #fff; transform: none; }
main:focus { outline: none; }
.lede { max-width: 34em; }
.muted-line { color: var(--muted); font-size: 14px; }
.section { padding-block: var(--section); }
.section.roomy { padding-block: calc(var(--section) * 2); }
.band-gray { background: var(--gray); }
.band-tint { background: var(--gray); }
.section-intro { max-width: 760px; margin-bottom: 32px; }
.section-intro p { margin-top: 16px; }
.section-intro .text-link { margin-top: 16px; }
.section-intro.center { margin-inline: auto; text-align: center; }
.section-intro.split-intro { max-width: none; }
.section-intro.split-intro p { max-width: 760px; }
.label-bar { display: inline-block; margin-bottom: 8px; padding-left: 10px; color: var(--blue); border-left: 2px solid var(--blue); font-size: 14px; letter-spacing: .06em; line-height: 1.2; }

/* Buttons and links */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 12px 24px; border: 1px solid transparent; border-radius: 999px; color: #fff; background: var(--blue); font-size: 14px; font-weight: 400; line-height: 14px; text-align: center; text-decoration: none; transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
.button:hover { color: #fff; background: var(--blue-dark); }
.button.ghost, .button.services { color: var(--ink); background: #fff; border-color: var(--ink); }
.button.ghost:hover, .button.services:hover { color: #fff; background: var(--ink); }
.button.emergency-service { color: #fff; background: var(--red); }
.button.emergency-service:hover { color: #fff; background: var(--red-dark); }
.button.block { width: 100%; }
.hero-actions, .cta-banner-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.text-link { display: inline-flex; align-items: center; gap: 4px; color: var(--blue); font-size: 14px; text-decoration: none; }
.text-link:hover { color: var(--blue-dark); text-decoration: underline; }

/* Masthead */
.masthead { position: sticky; top: 0; z-index: 1100; background: #fff; box-shadow: 0 1px 0 rgba(0, 0, 0, .06); }
.navrow { display: flex; align-items: center; gap: 28px; min-height: 67px; }
.brand { flex-shrink: 0; display: flex; align-items: center; text-decoration: none; }
.brandmark { display: block; width: 168px; }
.brandmark img { width: 100%; }
.navlinks { display: flex; align-items: center; gap: 26px; margin-right: auto; }
.navlinks > a, .nav-dropdown summary { display: flex; align-items: center; min-height: 67px; color: #0f172a; font-size: 14px; text-decoration: none; white-space: nowrap; }
.navlinks > a:hover, .nav-dropdown summary:hover, .navlinks > a[aria-current="page"], .nav-dropdown summary[aria-current="page"] { color: var(--blue); }
.nav-dropdown { position: relative; }
.nav-dropdown summary { gap: 6px; list-style: none; }
summary::-webkit-details-marker { display: none; }
.nav-dropdown summary::after { content: ""; width: 5px; height: 5px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.nav-dropdown[open] summary::after { transform: translateY(1px) rotate(225deg); }
.nav-dropdown-menu { position: absolute; top: calc(100% - 6px); left: -16px; width: 240px; padding: 8px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.nav-dropdown-menu a { display: block; padding: 9px 12px; color: var(--ink); border-radius: 4px; font-size: 14px; text-decoration: none; }
.nav-dropdown-menu a:hover, .nav-dropdown-menu a[aria-current="page"] { color: var(--blue); background: var(--gray); }
.top-actions { display: flex; align-items: center; gap: 20px; }
.emergency-link { color: var(--ink); font-size: 14px; text-decoration: none; white-space: nowrap; }
.emergency-link:hover { color: var(--red); }
.phone-link { color: #0f172a; font-size: 14px; text-decoration: none; white-space: nowrap; }
.phone-link:hover { color: var(--blue); }
.phone-label { display: none; }
.top-actions .top-quote { padding: 11px 20px; background: var(--blue-bright); }
.top-actions .top-quote:hover { background: var(--blue-dark); }
.navlinks .menu-quote, .navlinks .menu-emergency, .mobile-menu-toggle { display: none; }

/* Heroes: grey ground ending in a chevron. */
.hero, .page-hero { position: relative; padding: clamp(48px, 6vw, 96px) 0 calc(clamp(56px, 6vw, 96px) + var(--chevron)); background: var(--gray); clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--chevron)), 50% 100%, 0 calc(100% - var(--chevron))); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px clamp(48px, 6vw, 96px); align-items: center; }
.hero h1 { font-size: clamp(2.25rem, 1.5rem + 2.4vw, 3rem); }
.hero-copy .lede { margin-top: 28px; }
.hero-copy .hero-actions { margin-top: 36px; }
.hero-area { margin-top: 24px; color: var(--muted); font-size: 14px; }
.crumbs { margin-bottom: 16px; color: var(--muted); font-size: 14px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--blue); text-decoration: underline; }
.hero-media { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--gray-2); }
.hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.media-chip { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 10px; max-width: calc(100% - 32px); padding: 8px 14px; color: #fff; background: rgba(29, 29, 29, .55); border-radius: var(--radius); font-size: 13px; line-height: 1.35; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.media-chip svg { width: 22px; height: 22px; flex: none; }
.hero-tabs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0 32px; margin-top: clamp(56px, 6vw, 88px); }
.hero-tabs a { padding-bottom: 14px; color: var(--ink); border-bottom: 1px solid #cfcfcf; font-size: 15px; font-weight: 500; text-decoration: none; }
.hero-tabs a:hover { margin-bottom: -1px; color: var(--blue); border-bottom: 2px solid var(--blue); }

/* Strip below the hero: four plain statements in place of a logo row. */
.trusted { padding: 32px 0 20px; text-align: center; }
.trusted h2 { font-size: 24px; line-height: 1.3; }
.trusted p { max-width: 640px; margin: 12px auto 0; }
.facts-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 0; margin-top: 28px; list-style: none; }
.facts-list li { padding: 0 28px; border-left: 1px solid var(--line); color: #6b6b6b; text-align: center; }
.facts-list li:first-child { border-left: 0; }
.facts-list strong { display: block; color: #4a4a4a; font-size: 15px; font-weight: 600; letter-spacing: .02em; }
.facts-list span { font-size: 13px; }

/* Tabs */
.tabs-shell { padding: 32px; background: var(--gray); border-radius: var(--radius); }
.tab-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 36px; border-bottom: 1px solid #cfcfcf; counter-reset: tab; }
.tab-list button { display: grid; gap: 2px; justify-items: start; margin-bottom: -1px; padding: 0 16px 14px 0; color: #767676; background: none; border: 0; border-bottom: 2px solid transparent; font-size: 18px; font-weight: 500; line-height: 1.3; text-align: left; counter-increment: tab; }
.tab-list button::before { content: "0" counter(tab); color: #9a9a9a; font-size: 12px; font-weight: 600; letter-spacing: .08em; }
.tab-list button:hover { color: var(--ink); }
.tab-list button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--blue); }
.tab-list button[aria-selected="true"]::before { color: var(--blue); }
.tab-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 48px; align-items: start; }
.tab-panel + .tab-panel { margin-top: 40px; }
.tabs-ready .tab-panel + .tab-panel { margin-top: 0; }
.tab-panel h3 { font-size: 28px; line-height: 32px; }
.tab-panel p { margin-top: 12px; }
.tab-panel .text-link, .tab-panel .button { margin-top: 20px; }
.tab-media { overflow: hidden; border-radius: var(--radius); }
.tab-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.check-list { display: grid; gap: 12px; margin-top: 24px; list-style: none; }
.check-list li { position: relative; padding-left: 28px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }

/* Photo cards */
.service-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; }
.service-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 400px; overflow: hidden; color: #fff; border-radius: var(--radius); text-decoration: none; isolation: isolate; background: #333; }
.service-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.service-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(191deg, rgba(29, 29, 29, 0) 25%, rgba(29, 29, 29, .82) 75%); }
.service-card:hover { color: #fff; }
.service-card-body { display: block; padding: 0 24px 24px; }
.service-card strong { display: block; padding-left: 14px; border-left: 1px solid #fff; font-size: 20px; font-weight: 500; line-height: 24px; }
.service-card .service-desc { display: block; margin-top: 12px; font-size: 14px; line-height: 20px; opacity: .9; }
.service-card .more { display: inline-block; margin-top: 16px; font-size: 14px; }
.service-card:hover .more { text-decoration: underline; }

/* Featured image block */
.feature-frame { width: min(100%, 760px); overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.feature-frame img { width: 100%; }
.feature-caption { margin-top: 10px; color: var(--muted); font-size: 13px; }

/* Customer story on a cream band */
.band-cream { position: relative; padding: var(--section) 0 calc(var(--section) + var(--chevron) + 40px); isolation: isolate; }
.band-cream::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--cream); clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--chevron)), 50% 100%, 0 calc(100% - var(--chevron))); }
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 48px; align-items: center; }
.story-media { overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); background: #fff; }
.story-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.story-media figcaption { padding: 10px 14px; color: var(--muted); font-size: 13px; }
.story-quote { margin: 0; }
.story-label { margin-bottom: 20px; }
.story-quote blockquote { margin: 0; padding-left: 16px; border-left: 2px solid var(--blue); }
.story-quote blockquote p { font-size: 16px; line-height: 24px; }
.story-quote .review-customer { margin-top: 16px; padding-left: 18px; }

/* Reviews */
.reviews-module { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 48px; align-items: start; }
.reviews-module h2 { margin-top: 4px; }
.reviews-module > div > p { margin-top: 12px; }
.big-stars { margin-top: 24px; color: var(--star); font-size: 44px; letter-spacing: .04em; line-height: 1; }
.rating-note { margin-top: 12px; font-size: 14px; }
.rating-note strong { display: block; font-size: 20px; font-weight: 600; }
.reviews-module .text-link { margin-top: 16px; }
.review-notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; list-style: none; }
.review-note { position: relative; display: flex; flex-direction: column; height: 100%; min-height: 256px; margin: 0; padding: 12px 16px 28px; background: var(--cream); border-radius: var(--radius); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 24px), calc(100% - 64px) 100%, 0 100%); }
.review-note::before { content: "\201D"; color: var(--blue); font-family: Georgia, serif; font-size: 40px; line-height: 40px; }
.review-note blockquote { flex: 1; margin: 0; }
.review-note blockquote p { font-size: 15px; line-height: 22px; }
.review-note .review-more { margin-top: 8px; }
.review-customer { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 13px; line-height: 1.35; }
.review-avatar img { width: 36px; height: 36px; border-radius: 50%; }
.review-author { display: block; color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: none; }
.review-author:hover { color: var(--blue); text-decoration: underline; }
.review-source { color: var(--muted); text-decoration: none; }
.review-source:hover { color: var(--blue); text-decoration: underline; }
.review-stars { color: var(--star); font-size: 15px; letter-spacing: .08em; }
.review-more summary { display: inline-flex; align-items: center; gap: 4px; min-height: 36px; color: var(--blue); font-size: 14px; list-style: none; }
.review-more summary::after { content: "›"; }
.review-more[open] summary::after { content: "‹"; }
.review-more p { margin-top: 8px; font-size: 15px; line-height: 22px; }
.review-wall { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; align-items: start; }
.review-wall .review-note { height: auto; }
.review-wall .review-stars { margin-top: 4px; }

/* Service area */
.locations-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 48px; align-items: center; }
.locations-intro p { margin-top: 16px; }
.locations-map-help { color: var(--muted); }
.location-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 16px; margin-top: 24px; list-style: none; }
.location-list li { position: relative; padding-left: 14px; font-size: 14px; }
.location-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.location-list .location-more { grid-column: 1 / -1; padding-left: 0; color: var(--muted); }
.location-list .location-more::before { display: none; }
.locations-visual { overflow: hidden; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.service-area-map { position: relative; z-index: 0; isolation: isolate; width: 100%; aspect-ratio: 16 / 10; background: var(--gray-2); }
.service-area-map-fallback { display: grid; place-items: center; height: 100%; padding: 32px; color: var(--muted); text-align: center; }
.service-area-map.is-ready .service-area-map-fallback { display: none; }
.service-area-legend { display: flex; align-items: center; gap: 10px; padding: 10px 14px; color: var(--muted); font-size: 13px; }
.service-area-swatch { width: 18px; height: 10px; background: rgba(20, 117, 209, .2); border: 2px solid #1475d1; }
.leaflet-container { font: inherit; }

/* Emergency support */
.emergency { padding-block: 44px; color: #c9c9c9; background: #1d1d1d; }
.emergency-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: center; }
.emergency h2 { margin-top: 0; color: #fff; font-size: 28px; line-height: 1.2; }
.emergency-copy > p:last-child { margin-top: 6px; }
.emergency-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.emergency .button.emergency-service, .emergency-callout .button.emergency-service { padding-inline: 28px; font-weight: 500; }
.phone-alt { color: #fff; font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.phone-alt:hover { color: #fff; text-decoration: underline; }
.phone-alt span { color: #a8a8a8; font-weight: 400; }

/* Form card on grey */
.contact-section { padding-block: var(--section); background: var(--gray); }
.contact-card { max-width: 768px; margin-inline: auto; padding: 32px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-card-head { margin-bottom: 24px; text-align: center; }
.contact-card-head h2 { font-size: 28px; line-height: 32px; }
.contact-card-head p { max-width: 560px; margin: 12px auto 0; }
.contact-phone { display: inline-block; margin-top: 12px; color: var(--ink); font-size: 18px; font-weight: 600; text-decoration: none; }
.contact-phone:hover { color: var(--blue); }
.quote-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-field { display: grid; gap: 6px; min-width: 0; }
.form-field.full, .form-footer { grid-column: 1 / -1; }
.form-field label { font-size: 13px; font-weight: 500; }
.form-field input, .form-field select, .form-field textarea { width: 100%; min-height: 44px; padding: 10px 12px; color: var(--ink); background: var(--gray); border: 1px solid #e2e2e2; border-radius: var(--radius); }
.form-field select { appearance: none; padding-right: 36px; background: var(--gray) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%231d1d1d' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 12px center; }
.form-field textarea { min-height: 110px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { background-color: #fff; border-color: var(--blue); outline: 2px solid rgba(27, 85, 168, .2); outline-offset: 0; }
.form-field textarea::placeholder { color: #8a8a8a; }
.form-footer { display: grid; justify-items: center; gap: 6px; margin-top: 4px; text-align: center; }
.form-footer small { color: var(--muted); font-size: 12px; line-height: 1.5; }
.form-footer .button { min-width: 160px; margin-bottom: 6px; }
.form-status { min-height: 1.5em; font-size: 14px; font-weight: 500; }
.form-status[data-state="success"] { color: #1e7a3c; }
.form-status[data-state="error"] { color: var(--red); }
.form-status[data-state="pending"] { color: var(--muted); }

/* Contact page */
.contact-page { position: relative; padding: 40px 0 calc(48px + var(--chevron)); background: var(--gray); clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--chevron)), 50% 100%, 0 calc(100% - var(--chevron))); }
.contact-page-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 48px; align-items: start; }
.contact-page .lede { margin-top: 16px; }
.contact-page .contact-phone { margin-top: 20px; font-size: 22px; }
.contact-page .contact-card { max-width: none; }
.emergency-callout { margin-top: 28px; padding: 24px; color: #c9c9c9; background: #1d1d1d; border-radius: var(--radius); }
.emergency-callout strong { display: block; color: #fff; font-size: 20px; font-weight: 500; line-height: 1.3; }
.emergency-callout p { margin: 4px 0 18px; font-size: 15px; }

/* Service page body */
.service-intro { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px 48px; align-items: start; }
.service-intro-copy > p { margin-top: 16px; }
.highlights { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 32px; margin-top: 28px; }
.highlights > div { position: relative; padding-left: 28px; }
.highlights > div::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.highlights h3 { font-size: 17px; font-weight: 600; letter-spacing: 0; }
.highlights p { margin-top: 2px; color: var(--muted); font-size: 15px; line-height: 22px; }
.approach { position: sticky; top: 90px; padding: 32px; background: var(--gray); border-radius: var(--radius); }
.approach-label { display: inline-block; padding-left: 10px; color: var(--blue); border-left: 2px solid var(--blue); font-size: 14px; letter-spacing: .06em; line-height: 1.2; }
.approach strong { display: block; margin-top: 12px; font-size: 24px; font-weight: 500; line-height: 1.25; }
.approach p { margin-top: 12px; }
.approach .check-list { margin-bottom: 24px; }
.process-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; list-style: none; counter-reset: process; }
.process-steps li { padding: 24px; background: #fff; border-radius: var(--radius); counter-increment: process; }
.process-steps li::before { content: counter(process); display: grid; place-items: center; width: 32px; height: 32px; margin-bottom: 16px; color: #fff; background: var(--blue); border-radius: 50%; font-size: 14px; font-weight: 600; }
.process-steps h3 { font-size: 18px; font-weight: 600; letter-spacing: 0; }
.process-steps p { margin-top: 8px; color: var(--muted); font-size: 15px; line-height: 22px; }
.faq-layout { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px 48px; align-items: start; }
.faq-aside p { margin-top: 12px; }
.faq-aside a { white-space: nowrap; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 60px; padding: 14px 0; font-size: 18px; font-weight: 500; line-height: 1.35; list-style: none; }
.faq-item summary::after { content: "+"; flex: none; color: var(--blue); font-size: 24px; font-weight: 400; line-height: 1; }
.faq-item[open] summary::after { content: "−"; }
.faq-item summary:hover { color: var(--blue); }
.faq-item p { max-width: 64ch; padding: 0 32px 20px 0; }

/* Closing call to action: a centred white card on grey. */
.cta-banner { padding-block: var(--section); background: var(--gray); }
.cta-card { max-width: 768px; margin-inline: auto; padding: 32px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); text-align: center; }
.cta-card h2 { font-size: 28px; line-height: 32px; }
.cta-card p { max-width: 560px; margin: 12px auto 0; }
.cta-banner-actions { justify-content: center; margin-top: 24px; }

/* About */
.about-photo-card { overflow: hidden; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.about-owner-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.about-owner-caption { padding: 10px 14px; color: var(--muted); font-size: 13px; }
.about-owner-caption strong { display: block; color: var(--ink); font-size: 14px; font-weight: 600; }
.about-local-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 48px; align-items: center; }
.about-local-copy p { margin-top: 16px; }
.about-local-copy .hero-actions { margin-top: 28px; }
.split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px 48px; align-items: start; }
.split-copy > p { margin-top: 16px; }
.split-media { overflow: hidden; border-radius: var(--radius); background: #fff; }
.split-media img { width: 100%; }
.product-thumb img { aspect-ratio: 630 / 450; object-fit: contain; }
.panel { padding: 32px; background: var(--gray); border-radius: var(--radius); }
.panel h3 { font-size: 22px; }
.panel > p { margin-top: 10px; }
.panel-foot, .panel .split-media + h3 { margin-top: 24px; }
.panel-foot p { margin-top: 10px; }
.panel-foot .text-link { margin-top: 14px; }
.band-gray .panel { background: #fff; }

/* Policy and licensing pages */
.information-page { padding-block: 48px 64px; }
.information-layout { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 0 64px; align-items: start; }
.information-header { position: sticky; top: 90px; grid-row: 1 / span 12; }
.information-header p { margin-top: 12px; color: var(--muted); }
.information-header .information-date { font-size: 14px; }
.information-layout > section { grid-column: 2; padding: 24px 0 28px; border-top: 1px solid var(--line); }
.information-layout > section:first-of-type { padding-top: 0; border-top: 0; }
.information-layout > section h2 { font-size: 24px; line-height: 1.3; }
.information-layout > section p { margin-top: 12px; }

/* Footer */
.footer { padding-top: 48px; color: #b9b9b9; background: var(--footer); font-size: 14px; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 32px 48px; padding-bottom: 40px; }
.footer-logo { width: 180px; }
.footer-brand p { margin-top: 16px; max-width: 32ch; line-height: 1.55; }
.footer-phone { display: inline-block; margin-top: 16px; font-size: 18px; font-weight: 600; }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-col h2 { margin-bottom: 6px; color: #fff; font-size: 15px; font-weight: 600; letter-spacing: 0; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-block: 20px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 13px; }
.legal-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* Responsive */
@media (max-width: 1180px) {
  .navlinks { gap: 20px; }
  .top-actions { gap: 16px; }
  .top-actions .phone-link { display: none; }
}

@media (max-width: 980px) {
  html { scroll-padding-top: 76px; }
  .navrow { min-height: 60px; gap: 16px; justify-content: space-between; }
  .brandmark { width: 150px; }
  .top-actions .top-quote, .top-actions .emergency-link { display: none; }
  .top-actions .phone-link { display: inline; font-weight: 600; }
  .mobile-menu-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; padding: 0 10px; background: #fff; border: 1px solid #cfcfcf; border-radius: 50%; }
  .mobile-menu-toggle span { display: block; height: 1.5px; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
  .masthead.menu-open .mobile-menu-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .masthead.menu-open .mobile-menu-toggle span:nth-child(2) { opacity: 0; }
  .masthead.menu-open .mobile-menu-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  .navlinks { display: none; position: fixed; top: var(--mobile-menu-top, 60px); right: 0; bottom: 0; left: 0; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 8px var(--pad-x) 32px; overflow-y: auto; background: #fff; border-top: 1px solid var(--line); }
  .masthead.menu-open .navlinks { display: flex; }
  .navlinks > a, .nav-dropdown summary { min-height: 54px; font-size: 18px; border-bottom: 1px solid var(--line); }
  .nav-dropdown summary { justify-content: space-between; }
  .nav-dropdown-menu { position: static; width: auto; padding: 4px 0 10px; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; }
  .nav-dropdown-menu a { padding: 10px 0 10px 12px; font-size: 16px; }
  .navlinks .menu-emergency { display: block; color: var(--red); }
  .navlinks .menu-quote { display: inline-flex; min-height: 48px; margin-top: 24px; color: #fff; font-size: 16px; border-bottom: 0; }
  .navlinks .menu-quote:hover { color: #fff; }
  html.mobile-menu-lock, body.mobile-menu-lock { overflow: hidden; }

  .contact-page-grid, .hero-grid, .service-intro, .faq-layout, .locations-layout, .story, .reviews-module, .about-local-layout, .split, .information-layout { grid-template-columns: minmax(0, 1fr); }
  .approach, .information-header { position: static; }
  .information-header { grid-row: auto; margin-bottom: 24px; }
  .information-layout > section { grid-column: 1; }
  .hero-media img { aspect-ratio: 16 / 10; }
  .hero-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 20px; }
  .tab-panel { grid-template-columns: minmax(0, 1fr); }
  .service-cards, .review-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  :root { --pad-x: 20px; }
  .hero-tabs { display: none; }
  .facts-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts-list li { padding: 0 12px; }
  .facts-list li:nth-child(3) { border-left: 0; }
  .tabs-shell { padding: 20px; }
  .tab-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; border-bottom: 0; }
  .tab-list button { padding: 12px 0; border-bottom: 1px solid #cfcfcf; font-size: 16px; }
  .tab-list button[aria-selected="true"] { border-bottom-width: 2px; padding-bottom: 11px; }
  .tab-panel h3 { font-size: 24px; line-height: 28px; }
  .service-cards, .review-notes, .review-wall, .highlights, .process-steps { grid-template-columns: minmax(0, 1fr); }
  .service-card { min-height: 320px; }
  .location-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .emergency-row { grid-template-columns: minmax(0, 1fr); }
  .emergency h2 { font-size: 24px; }
  .quote-form { grid-template-columns: minmax(0, 1fr); }
  .contact-card, .approach, .panel { padding: 22px; }
  .form-footer .button { width: 100%; }
  .faq-item summary { font-size: 16px; }
  .faq-item p { padding-right: 0; }
  .cta-card { padding: 22px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 420px) {
  .brandmark { width: 132px; }
  .top-actions .phone-link { font-size: 13px; }
  .hero-actions .button, .cta-banner-actions .button { flex: 1 1 100%; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}

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

@media print {
  .masthead, .footer, .emergency, .quote-form, .service-area-map { display: none; }
  .hero, .page-hero, .contact-page, .band-cream::before { clip-path: none; }
}
