/*
Theme Name: 360 Rapid Response
Theme URI: https://360rapidresponse.co.uk/
Author: 360 Rapid Response
Description: High-conversion electrical engineering WordPress theme for 360 Rapid Response. Fully editable via WordPress Customizer and page editors with exact bespoke mega-menu styling.
Version: 2.0.0
License: GPL-2.0-or-later
Text Domain: rapid-response
*/

:root {
  --red: #e11d2a;
  --red-dark: #c9101d;
  --ink: #0a0a0a;
  --muted: #6e6e6e;
  --paper: #fafafa;
  --line: #e5e5e5;
  --yellow: #ffc400;
  --condensed: "Barlow Condensed", "Roboto Condensed", Impact, sans-serif;
  --sans: "Manrope", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max: 1240px;
  --ease-brand: cubic-bezier(.2,.8,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: var(--sans); line-height: 1.6; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.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; }

.wrap { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; }
.eyebrow { margin: 0 0 12px; color: var(--red); font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.section-heading { max-width: 780px; }
.section-heading h2 { margin: 0; font-family: var(--condensed); font-size: clamp(42px, 5vw, 70px); line-height: .98; letter-spacing: -.03em; text-transform: uppercase; }
.section-heading p { max-width: 680px; margin: 20px 0 0; color: var(--muted); }
.accent { color: var(--red); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 23px; border: 0; border-radius: 8px; background: var(--red); color: #fff; font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; transition: transform .2s var(--ease-brand), background .2s var(--ease-brand), box-shadow .2s var(--ease-brand); }
.btn:hover { background: var(--red-dark); transform: translateY(-3px); box-shadow: 0 10px 24px rgba(225,29,42,.2); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #f0f0f0; }
.btn--outline { border: 1px solid rgba(255,255,255,.45); background: transparent; }
.btn--outline:hover { background: #fff; color: var(--ink); }

.site-header { position: relative; z-index: 20; background: #fff; border-bottom: 1px solid #e8e8e8; }
.nav-row { position: relative; display: flex; align-items: center; gap: 28px; min-height: 74px; }
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; font-family: var(--condensed); font-size: 19px; font-weight: 900; line-height: .9; text-transform: uppercase; }
.brand--image { width: 142px; height: 74px; flex: 0 0 142px; }
.brand--image img { width: 142px; height: auto; max-height: 76px; object-fit: contain; }
.brand-logo { display: block; width: 142px; height: 74px; }
.brand-mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 5px; background: var(--red); color: #fff; font-size: 17px; }
.brand span:last-child { max-width: 110px; }
.primary-nav { display: flex; align-items: stretch; gap: 26px; height: 74px; font-size: 12px; font-weight: 900; letter-spacing: .025em; text-transform: uppercase; }
.primary-nav a, .nav-trigger { position: relative; display: inline-flex; align-items: center; gap: 7px; height: 74px; padding: 0; border: 0; background: transparent; color: var(--ink); cursor: pointer; font: inherit; text-transform: inherit; }
.primary-nav a:hover, .primary-nav a[aria-current="page"], .nav-trigger:hover, .nav-item.is-open > .nav-trigger { color: var(--red); }
.nav-link--red { color: var(--red) !important; }
.nav-chevron { display: inline-block; font-size: 18px; line-height: 1; transform: translateY(-2px); transition: transform .25s var(--ease-brand); }
.nav-item.is-open .nav-chevron { transform: rotate(180deg) translateY(2px); }
.nav-item { position: relative; display: flex; align-items: stretch; }
.mega-menu { position: absolute; top: 70px; left: 50%; z-index: 30; width: 332px; overflow: hidden; border: 1px solid #dedede; border-radius: 16px; background: #fff; box-shadow: 0 24px 55px rgba(0,0,0,.18); opacity: 0; pointer-events: none; transform: translate(-50%, 9px); transition: opacity .22s var(--ease-brand), transform .22s var(--ease-brand); text-transform: none; }
.mega-menu--services { width: 405px; }
.mega-menu--coverage { width: 332px; }
.mega-menu--account { width: 350px; }
.mega-menu--company { width: 350px; }
.nav-item.is-open .mega-menu, .nav-item:focus-within .mega-menu { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.mega-heading { display: flex; align-items: center; gap: 11px; min-height: 61px; padding: 0 20px; border-bottom: 1px solid #e7e7e7; color: var(--red); font-family: var(--condensed); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.mega-icon { display: grid; place-items: center; width: 37px; height: 37px; border: 1px solid rgba(225,29,42,.18); border-radius: 8px; background: #fff5f5; font-family: var(--sans); font-size: 17px; }
.mega-links { padding: 10px 0; }
.mega-links a { display: flex; align-items: center; justify-content: space-between; width: 100%; height: auto; min-height: 59px; padding: 0 22px; border: 0; color: var(--red); font-size: 18px; font-weight: 500; letter-spacing: 0; text-transform: none; transition: background .18s ease, padding-left .18s ease; }
.mega-links a:hover { background: #fff5f5; padding-left: 27px; }
.mega-links a span { font-size: 27px; line-height: 1; }
.mega-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; padding: 13px 20px 15px; border-top: 1px solid #e7e7e7; background: #fcfcfc; }
.mega-foot a { height: auto; min-height: 27px; padding: 0; color: var(--red); font-size: 13px; font-weight: 700; letter-spacing: 0; text-transform: none; }
.mega-foot a:hover { color: var(--red-dark); }
.header-actions { display: flex; align-items: center; gap: 16px; font-size: 14px; font-weight: 900; white-space: nowrap; }
.phone { font-family: var(--condensed); font-size: 20px; }
.menu-toggle { display: none; position: relative; z-index: 50; border: 0; background: transparent; font-size: 24px; cursor: pointer; pointer-events: auto; }

.hero { position: relative; min-height: 1098px; overflow: hidden; background: #1b0c0d; color: #fff; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.86) 0%, rgba(0,0,0,.62) 42%, rgba(0,0,0,.18) 100%), url("https://hqmaintenance.co.uk/wp-content/uploads/2025/11/hqmaintenance8.jpg") center/cover; }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 50px; min-height: 1098px; padding-top: 45px; padding-bottom: 80px; }
.hero-copy { max-width: 700px; }
.status-pill { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 28px; padding: 9px 14px; border-radius: 5px; background: var(--red); font-size: 11px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.status-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.2); animation: pulse-red 2s ease-in-out infinite; }
.hero h1 { margin: 0; font-family: var(--condensed); font-size: clamp(64px, 6.9vw, 88px); font-weight: 900; line-height: 1.05; letter-spacing: -.04em; text-transform: uppercase; }
.hero h1 em { color: var(--red); font-style: normal; }
.hero-lede { max-width: 585px; margin: 28px 0 0; color: rgba(255,255,255,.88); font-size: 17px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-review { align-self: end; max-width: 500px; margin-bottom: 34px; padding: 22px; border-radius: 18px; background: #fff; color: var(--ink); box-shadow: 0 20px 60px rgba(0,0,0,.24); }
.review-top, .review-bottom { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.review-top { padding-bottom: 14px; border-bottom: 1px solid #ececec; font-size: 11px; font-weight: 900; text-transform: uppercase; }
.google-mark { color: #4285f4; font-size: 22px; font-weight: 900; }
.stars { color: var(--yellow); letter-spacing: 2px; }
.review-quote { margin: 18px 0; font-size: 14px; line-height: 1.65; }
.review-name { font-weight: 800; }
.review-dots { display: flex; gap: 8px; }
.review-dots i { width: 7px; height: 7px; border-radius: 50%; background: #c8c8c8; }
.review-dots i:first-child { width: 18px; border-radius: 9px; background: var(--red); }
.review-bottom a { color: var(--red); font-size: 11px; font-weight: 900; }
.hero-form { padding: 21px; border-radius: 14px; background: rgba(255,255,255,.95); color: var(--ink); box-shadow: 0 18px 50px rgba(0,0,0,.22); }
.hero-form label { display: block; margin-bottom: 10px; font-size: 11px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.postcode-row { display: flex; gap: 8px; }
.postcode-row input { width: 100%; min-width: 0; height: 48px; padding: 0 14px; border: 1px solid #d8d8d8; border-radius: 8px; outline: none; }
.postcode-row input:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(237,27,46,.14); }
.postcode-row .btn { min-width: 76px; padding: 0 14px; }
.form-result { min-height: 20px; margin: 11px 0 0; color: var(--red); font-size: 12px; font-weight: 800; }

.trust-strip { position: relative; z-index: 2; margin-top: -43px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; padding: 0; overflow: hidden; border-radius: 12px; background: #ddd; box-shadow: 0 10px 35px rgba(0,0,0,.14); }
.trust-item { min-height: 84px; padding: 17px 22px; background: #fff; }
.trust-item strong { display: block; font-family: var(--condensed); font-size: 26px; line-height: 1; }
.trust-item span { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }

.section { padding: 105px 0; }
.section--paper { background: var(--paper); }
.section--dark { background: var(--ink); color: #fff; }
.section--red { background: var(--red); color: #fff; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 48px; background: var(--line); border: 1px solid var(--line); }
.service-card { display: flex; flex-direction: column; min-height: 260px; padding: 30px; background: #fff; }
.service-card, .price-card, .feature-grid article, .review-small, .review-feature, .gallery figure { transition: transform .25s var(--ease-brand), box-shadow .25s var(--ease-brand), border-color .25s var(--ease-brand); }
.service-card:hover, .price-card:hover, .feature-grid article:hover, .review-small:hover, .review-feature:hover { transform: translateY(-5px); box-shadow: 0 16px 36px rgba(0,0,0,.1); }
.service-card h3 { margin: 0 0 14px; font-family: var(--condensed); font-size: 31px; line-height: .95; text-transform: uppercase; }
.service-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.service-card a { margin-top: auto; padding-top: 22px; color: var(--red); font-size: 11px; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
.service-number { margin-bottom: 25px; color: var(--red); font-family: var(--condensed); font-size: 18px; font-weight: 900; }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 48px; background: #3b3b3b; }
.price-card { padding: 32px; background: #181818; }
.price-card .eyebrow { color: var(--yellow); }
.price-card h3 { margin: 0 0 14px; font-family: var(--condensed); font-size: 34px; line-height: .95; text-transform: uppercase; }
.price-card p { margin: 0; color: #bfbfbf; font-size: 14px; }
.price-note { margin: 34px 0 0; color: #c3c3c3; font-size: 13px; }

.coverage-layout, .why-layout, .dispatch-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.map-card { position: relative; min-height: 420px; overflow: hidden; border-radius: 14px; background: #dce1dd; background-image: linear-gradient(rgba(255,255,255,.28), rgba(255,255,255,.28)), url("https://a.basemaps.cartocdn.com/rastertiles/voyager/9/255/169.png"); background-size: cover; background-position: center; }
.map-card::before { content: ""; position: absolute; inset: 13% 19%; border: 3px solid var(--red); border-radius: 48% 52% 57% 43%; transform: rotate(-12deg); opacity: .78; }
.map-pin { position: absolute; display: grid; place-items: center; width: 18px; height: 18px; border: 3px solid #fff; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(237,27,46,.2); }
.map-pin { animation: leaflet-pulse-red 2.2s ease-out infinite; }
.map-pin:nth-child(2) { top: 33%; left: 46%; } .map-pin:nth-child(3) { top: 49%; left: 59%; } .map-pin:nth-child(4) { top: 58%; left: 38%; } .map-pin:nth-child(5) { top: 68%; left: 53%; }
.coverage-form { margin-top: 28px; }
.coverage-form .postcode-row { max-width: 430px; }
.coverage-bullets, .check-list { display: grid; gap: 14px; margin: 28px 0 0; padding: 0; list-style: none; }
.coverage-bullets li, .check-list li { position: relative; padding-left: 28px; color: var(--muted); font-size: 14px; }
.coverage-bullets li::before, .check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--red); font-weight: 900; }
.why-layout { align-items: start; }
.dispatch-image { min-height: 520px; border-radius: 14px; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.7)), url("https://hqmaintenance.co.uk/wp-content/uploads/2025/11/hqmaintenance8.jpg") center/cover; }
.dispatch-label { margin: 18px 0 0; color: var(--muted); font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 48px; }
.gallery figure { position: relative; min-height: 225px; margin: 0; overflow: hidden; border-radius: 8px; background: #222; }
.gallery figure:first-child { grid-column: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; right: 0; bottom: 0; left: 0; padding: 50px 16px 14px; background: linear-gradient(transparent, rgba(0,0,0,.8)); color: #fff; font-size: 11px; font-weight: 800; }

.reviews-shell { display: grid; grid-template-columns: .7fr 1.3fr; gap: 60px; align-items: center; }
.review-feature { padding: 36px; border-radius: 14px; background: #fff; box-shadow: 0 12px 40px rgba(0,0,0,.08); }
.review-feature blockquote { margin: 18px 0 25px; font-size: 19px; line-height: 1.55; }
.review-feature cite { color: var(--muted); font-size: 13px; font-style: normal; font-weight: 800; }
.review-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.review-small { padding: 24px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.review-small p { margin: 12px 0 18px; color: #444; font-size: 14px; }
.review-small strong { font-size: 12px; }

.faq-list { max-width: 920px; margin-top: 48px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; padding: 22px 0; border: 0; background: transparent; cursor: pointer; text-align: left; font-family: var(--condensed); font-size: 25px; font-weight: 900; text-transform: uppercase; }
.faq-question span:last-child { color: var(--red); font-family: var(--sans); font-size: 24px; }
.faq-answer { display: none; max-width: 750px; padding: 0 50px 23px 0; color: var(--muted); font-size: 14px; }
.faq-item.is-open .faq-answer { display: block; }
.faq-item.is-open .faq-question span:last-child { transform: rotate(45deg); }

.cta { padding: 82px 0; background: var(--red); color: #fff; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta h2 { max-width: 680px; margin: 0; font-family: var(--condensed); font-size: clamp(46px, 5vw, 72px); line-height: .9; text-transform: uppercase; }
.cta p { max-width: 480px; margin: 18px 0 0; color: rgba(255,255,255,.86); }

.site-footer { position: relative; padding: 0 0 25px; background: #0a0a0a; color: #d7d7d7; }
.footer-rule { height: 10px; background: var(--red); }
.footer-grid { display: grid; grid-template-columns: 1.45fr 1fr 1fr 1fr 1.18fr; gap: 36px; padding-top: 72px; padding-bottom: 42px; }
.footer-brand .brand--image { display: block; width: 180px; height: 100px; margin: 0 0 20px; }
.footer-brand .brand--image img { width: 180px; max-height: 100px; }
.footer-brand .brand-logo { width: 180px; height: 100px; }
.footer-brand p { max-width: 310px; margin: 0 0 20px; color: #c7c7c7; font-size: 15px; line-height: 1.45; }
.footer-contact { display: block; margin: 0 0 9px; color: var(--red); font-size: 16px; }
.footer-contact:hover { color: #fff; }
.social-links { display: flex; gap: 14px; margin: 25px 0 20px; }
.social-links a { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid #373737; border-radius: 8px; background: #191919; color: #f3f3f3; font-size: 22px; transition: border-color .2s ease, transform .2s ease, color .2s ease; }
.social-links a:hover { border-color: var(--red); color: var(--red); transform: translateY(-3px); }
.accreditations { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; max-width: 410px; }
.accreditations img { width: auto; height: 40px; padding: 5px 9px; border: 1px solid #363636; border-radius: 7px; background: #fff; object-fit: contain; }
.accreditations img:last-child { width: 196px; height: 52px; }
.accreditations span { display: inline-flex; align-items: center; min-height: 40px; padding: 5px 10px; border: 1px solid #363636; border-radius: 7px; background: #191919; color: #fff; font-family: var(--condensed); font-size: 14px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.footer-col h3 { margin: 0 0 18px; color: #fff; font-family: var(--condensed); font-size: 16px; letter-spacing: .11em; text-transform: uppercase; }
.footer-col a, .footer-col p { display: block; margin: 0 0 11px; color: #c7c7c7; font-size: 15px; line-height: 1.35; }
.footer-col a:hover { color: var(--red); }
.company-number { margin-top: 21px !important; color: #8f8f8f !important; font-size: 13px !important; }
.company-number a { display: inline; color: #8f8f8f; text-decoration: underline; }
.footer-all-link { margin-top: 13px !important; color: #fff !important; }
.footer-bottom { display: grid; grid-template-columns: 1.6fr 1fr auto; gap: 22px; padding-top: 22px; border-top: 1px solid #2c2c2c; color: #808080; font-size: 12px; }
.footer-bottom p { margin: 0; line-height: 1.45; }
.footer-bottom a { color: var(--red); text-decoration: underline; }
.fixed-call-dock { position: fixed; left: 14px; bottom: 20px; z-index: 40; display: flex; align-items: center; min-height: 67px; overflow: hidden; border-left: 5px solid var(--red); border-radius: 17px; background: #0a0a0a; box-shadow: 0 10px 28px rgba(0,0,0,.22); }
.fixed-call-dock > div { min-width: 177px; padding: 9px 17px 8px 13px; }
.fixed-call-dock small, .fixed-call-dock strong { display: block; font-family: var(--condensed); line-height: 1; text-transform: uppercase; }
.fixed-call-dock small { color: #aaa; font-size: 10px; letter-spacing: .06em; }
.fixed-call-dock strong { margin-top: 3px; color: #fff; font-size: 20px; }
.live-dot { width: 8px; height: 8px; margin-left: 17px; border-radius: 50%; background: var(--red); animation: pulse-red 2s ease-in-out infinite; }
.dock-whatsapp, .dock-book { display: grid; place-items: center; align-self: stretch; min-width: 56px; padding: 0 15px; color: #fff; font-family: var(--condensed); font-size: 20px; font-weight: 900; }
.dock-whatsapp { background: #078b45; }
.dock-book { min-width: 113px; background: var(--red); font-size: 13px; text-transform: uppercase; }
.floating-whatsapp { position: fixed; right: 28px; bottom: 28px; z-index: 39; display: grid; place-items: center; width: 80px; height: 80px; border-radius: 50%; background: var(--red); color: #fff; font-size: 34px; box-shadow: 0 8px 28px rgba(225,29,42,.32); transition: transform .2s ease, box-shadow .2s ease; }
.floating-whatsapp:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(225,29,42,.42); }

/* Inner-page system */
.inner-page { background: #fff; }
.page-hero { padding: 110px 0 120px; }
.page-hero--dark { background: var(--ink); color: #fff; }
.page-hero--red { background: var(--red); color: #fff; }
.page-hero h1 { max-width: 950px; margin: 0; font-family: var(--condensed); font-size: clamp(62px, 8vw, 112px); line-height: .9; letter-spacing: -.04em; text-transform: uppercase; }
.page-hero p:not(.eyebrow) { max-width: 680px; margin: 25px 0 0; color: inherit; opacity: .82; font-size: 18px; }
.page-hero-grid { display: grid; grid-template-columns: 1fr .7fr; gap: 60px; align-items: center; }
.detail-hero-image { min-height: 400px; border-radius: 14px; background: linear-gradient(180deg, transparent, rgba(0,0,0,.7)), url("https://hqmaintenance.co.uk/wp-content/uploads/2025/11/hqmaintenance8.jpg") center/cover; }
.detail-grid { display: grid; grid-template-columns: 1fr .85fr; gap: 80px; align-items: start; }
.detail-grid h2, .contact-grid h2 { margin: 0; font-family: var(--condensed); font-size: clamp(42px, 5vw, 68px); line-height: .95; text-transform: uppercase; }
.form-card { padding: 30px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 16px 45px rgba(0,0,0,.08); }
.form-card h3 { margin: 0 0 22px; font-family: var(--condensed); font-size: 36px; line-height: .95; text-transform: uppercase; }
.form-card label { display: block; margin: 0 0 7px; color: #444; font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.form-card input, .form-card textarea { width: 100%; margin: 0 0 17px; padding: 13px 14px; border: 1px solid #d8d8d8; border-radius: 7px; outline: none; resize: vertical; }
.form-card input:focus, .form-card textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(237,27,46,.12); }
.form-card .postcode-row { align-items: stretch; }
.form-card .postcode-row .btn { flex: 0 0 auto; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 50px; background: var(--line); }
.feature-grid article { min-height: 220px; padding: 30px; background: #fff; }
.feature-grid strong { color: var(--red); font-family: var(--condensed); font-size: 20px; }
.feature-grid h3 { margin: 22px 0 10px; font-family: var(--condensed); font-size: 30px; line-height: .95; text-transform: uppercase; }
.feature-grid p { margin: 0; color: var(--muted); font-size: 14px; }
.borough-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 28px; }
.borough-grid span { padding: 14px; border: 1px solid var(--line); border-radius: 6px; color: #444; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.contact-grid { display: grid; grid-template-columns: .85fr 1fr; gap: 80px; align-items: start; }
.contact-form .btn { width: 100%; }
.page-reviews .review-list { max-width: 1000px; margin: 0 auto; }
.page-reviews .review-feature { grid-column: span 2; }
.page-faq .faq-list { margin-top: 0; }
.service-detail .check-list { margin-top: 30px; }
.article-layout { display: grid; grid-template-columns: 1.25fr .75fr; gap: 70px; align-items: start; }
.article-copy { max-width: 760px; }
.article-copy h2 { margin: 0 0 20px; font-family: var(--condensed); font-size: clamp(42px, 5vw, 68px); line-height: .95; text-transform: uppercase; }
.article-copy p { color: #555; font-size: 16px; }
.article-copy .btn { margin-top: 20px; }
.article-aside { position: sticky; top: 30px; }
.legal-copy { max-width: 820px; }
.legal-copy h2 { margin: 0 0 25px; font-family: var(--condensed); font-size: clamp(42px, 5vw, 68px); line-height: .95; text-transform: uppercase; }
.legal-copy h3 { margin: 35px 0 7px; font-family: var(--condensed); font-size: 30px; text-transform: uppercase; }
.legal-copy p { color: var(--muted); }
.snapshot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 45px; background: var(--line); }
.snapshot-card { min-height: 180px; padding: 26px; background: #fff; }
.snapshot-card h3 { margin: 18px 0 9px; font-family: var(--condensed); font-size: 28px; line-height: .96; text-transform: uppercase; }
.snapshot-card p { margin: 0; color: var(--muted); font-size: 13px; }
.source-copy { max-width: 900px; margin-top: 25px; }
.source-copy p { margin: 0 0 14px; color: #454545; font-size: 16px; line-height: 1.65; }
.snapshot-images { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 28px; }
.snapshot-images img { width: 100%; height: 190px; border-radius: 8px; object-fit: cover; }

/* Original service-page system */
.service-original-hero { position: relative; min-height: 590px; overflow: hidden; background: #160b0b; color: #fff; }
.service-original-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.86), rgba(0,0,0,.48) 58%, rgba(0,0,0,.22)), var(--service-photo) center/cover; }
.service-original-hero .wrap { position: relative; z-index: 1; padding-top: 38px; padding-bottom: 55px; }
.breadcrumb { margin: 0 0 33px; color: rgba(255,255,255,.82); font-size: 14px; }
.service-original-hero h1 { max-width: 950px; margin: 0; font-family: var(--condensed); font-size: clamp(58px, 8vw, 110px); line-height: .88; letter-spacing: -.04em; text-transform: uppercase; }
.service-hero-lede { max-width: 760px; margin: 24px 0 0; color: rgba(255,255,255,.92); font-size: 18px; line-height: 1.45; }
.service-original-hero .hero-ctas { margin-top: 28px; }
.service-original-hero .btn--outline { border-color: rgba(255,255,255,.9); }
.service-trust-line { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 38px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.25); color: #fff; font-size: 14px; }
.service-trust-line span::before { content: "✓"; margin-right: 8px; color: var(--red); font-weight: 900; }
.service-trust-strip { position: relative; z-index: 2; margin-top: -1px; border-top: 5px solid var(--red); background: #0a0a0a; }
.service-trust-strip .trust-grid { border-radius: 0; background: transparent; box-shadow: none; }
.service-trust-strip .trust-item { background: #0a0a0a; color: #fff; text-align: center; }
.service-trust-strip .trust-item strong { color: var(--red); }
.service-trust-strip .trust-item span { color: #fff; }
.service-section { padding-top: 94px; padding-bottom: 94px; }
.service-guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 45px; }
.service-guide-card { position: relative; display: flex; flex-direction: column; min-height: 188px; padding: 22px; border: 1px solid #ececec; border-radius: 10px; background: #fff; box-shadow: 0 5px 14px rgba(0,0,0,.05); transition: transform .25s var(--ease-brand), border-color .25s var(--ease-brand), box-shadow .25s var(--ease-brand); }
.service-guide-card:hover { border-color: var(--red); box-shadow: 0 13px 28px rgba(225,29,42,.13); transform: translateY(-4px); }
.guide-arrow { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid rgba(225,29,42,.18); border-radius: 7px; background: #fff5f5; color: var(--red); font-size: 17px; }
.service-guide-card h3 { max-width: 290px; margin: 22px 0 10px; font-family: var(--condensed); font-size: 25px; line-height: .98; text-transform: uppercase; }
.service-guide-card > span:last-child, .service-guide-card > a:last-child, .feature-grid article > a { margin-top: auto; color: var(--red); font-size: 11px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.service-guide-card > a:last-child, .feature-grid article > a { text-decoration: none; }
.form-result--success { color: #087f47; }
.symptom-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 45px; }
.symptom-grid article { min-height: 190px; padding: 24px; border: 1px solid #ececec; border-radius: 10px; background: #fff; transition: transform .25s var(--ease-brand), box-shadow .25s var(--ease-brand); }
.symptom-grid article:hover { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(0,0,0,.09); }
.symptom-grid h3 { margin: 12px 0 9px; font-family: var(--condensed); font-size: 25px; line-height: .98; text-transform: uppercase; }
.symptom-grid p { margin: 0; color: #555; font-size: 14px; }
.process-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 78px; align-items: start; }
.service-process { margin: 0; padding: 0; list-style: none; counter-reset: service-step; }
.service-process li { position: relative; display: grid; grid-template-columns: 42px 1fr; gap: 17px; min-height: 85px; padding: 0 0 22px; }
.service-process li:not(:last-child)::before { content: ""; position: absolute; top: 42px; bottom: 0; left: 20px; width: 2px; background: #f4b5b9; }
.service-process li > span { position: relative; z-index: 1; display: grid; place-items: center; width: 42px; height: 42px; border: 2px solid var(--red); border-radius: 50%; background: #fff; color: var(--red); font-family: var(--condensed); font-size: 20px; font-weight: 900; }
.service-process h3 { margin: 3px 0 5px; font-family: var(--condensed); font-size: 24px; line-height: 1; text-transform: uppercase; }
.service-process p { margin: 0; color: #5a5a5a; font-size: 14px; line-height: 1.45; }
.service-context { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: start; }
.context-copy p { margin: 0 0 19px; color: #4b4b4b; font-size: 16px; line-height: 1.65; }
.service-cta-band { border-top: 5px solid var(--red); }
.service-cta-band .eyebrow { color: #fff; }
.service-cta-band h2 { max-width: 650px; margin: 0; font-family: var(--condensed); font-size: clamp(43px, 5vw, 70px); line-height: .9; text-transform: uppercase; }
.service-cta-band p:not(.eyebrow) { max-width: 650px; color: #c9c9c9; }
.related-service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 38px; }
.related-service-grid a { display: flex; flex-direction: column; justify-content: space-between; min-height: 130px; padding: 22px; border: 1px solid #e6e6e6; border-radius: 9px; background: #fff; transition: border-color .2s ease, transform .2s ease; }
.related-service-grid a:hover { border-color: var(--red); transform: translateY(-3px); }
.related-service-grid strong { font-family: var(--condensed); font-size: 24px; line-height: .98; text-transform: uppercase; }
.related-service-grid span { color: var(--red); font-size: 11px; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }

@keyframes pulse-red {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .45; transform: scale(.78); }
}
@keyframes leaflet-pulse-red {
  0% { box-shadow: rgba(225,29,42,.5) 0 0; }
  70% { box-shadow: rgba(225,29,42,0) 0 0 0 14px; }
  100% { box-shadow: rgba(225,29,42,0) 0 0; }
}
@keyframes fade-in-up {
  0% { opacity: 0; transform: translateY(16px); }
  100% { opacity: 1; transform: none; }
}
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease-brand), transform .6s var(--ease-brand); }
.reveal.is-visible { opacity: 1; transform: none; }
.hero-copy, .hero-review, .hero-form { animation: fade-in-up .6s var(--ease-brand) both; }
.hero-review { animation-delay: .12s; }
.hero-form { animation-delay: .2s; }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .12; background-image: radial-gradient(rgba(255,255,255,.5) .5px, transparent .5px); background-size: 5px 5px; mix-blend-mode: soft-light; }

@media (max-width: 1050px) {
  .primary-nav { gap: 13px; }
  .header-actions .phone { display: none; }
  .hero h1 { font-size: clamp(62px, 8vw, 92px); }
}
@media (max-width: 800px) {
  .wrap { width: min(calc(100% - 32px), var(--max)); }
  .menu-toggle { display: block; }
  .primary-nav { position: absolute; z-index: 40; top: 64px; right: 16px; left: 16px; display: none; flex-direction: column; align-items: stretch; gap: 0; height: auto; padding: 8px 20px; border-radius: 10px; background: #fff; box-shadow: 0 14px 30px rgba(0,0,0,.15); }
  .primary-nav.is-open { display: flex; }
  .primary-nav a, .primary-nav .nav-trigger { width: 100%; height: 49px; padding: 13px 0; border-bottom: 1px solid #eee; justify-content: space-between; }
  .nav-item { display: block; }
  .mega-menu, .mega-menu--services, .mega-menu--coverage, .mega-menu--account, .mega-menu--company { position: static; width: 100%; max-height: 0; border: 0; border-radius: 0; box-shadow: none; opacity: 0; overflow: hidden; transform: none; transition: max-height .3s var(--ease-brand), opacity .2s ease; }
  .nav-item.is-open .mega-menu, .nav-item:focus-within .mega-menu { max-height: 620px; opacity: 1; pointer-events: auto; transform: none; }
  .mega-heading { min-height: 45px; padding: 0 4px; font-size: 11px; }
  .mega-icon { width: 28px; height: 28px; font-size: 13px; }
  .mega-links { padding: 3px 0; }
  .mega-links a { min-height: 39px; padding: 0 8px; font-size: 15px; }
  .mega-links a:hover { padding-left: 12px; }
  .mega-foot { padding: 7px 8px 9px; }
  .mega-foot a { min-height: 24px; border: 0; font-size: 11px; }
  .nav-row { min-height: 64px; }
  .brand--image { width: 112px; height: 64px; flex-basis: 112px; }
  .brand--image img, .brand-logo { width: 112px; }
  .brand-mark { width: 38px; height: 38px; font-size: 15px; }
  .brand { font-size: 16px; }
  .header-actions .btn { min-height: 42px; padding: 0 13px; font-size: 10px; }
  .hero, .hero .wrap { min-height: auto; }
  .hero .wrap { grid-template-columns: 1fr; gap: 25px; padding-top: 75px; padding-bottom: 100px; }
  .hero h1 { font-size: clamp(58px, 16vw, 94px); }
  .hero-review { margin: 15px 0 0; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 75px 0; }
  .services-grid, .pricing-grid { grid-template-columns: 1fr; }
  .coverage-layout, .why-layout, .dispatch-layout, .reviews-shell { grid-template-columns: 1fr; gap: 35px; }
  .service-original-hero { min-height: auto; }
  .service-original-hero h1 { font-size: clamp(56px, 15vw, 92px); }
  .service-hero-lede { font-size: 16px; }
  .service-trust-line { gap: 12px 20px; font-size: 12px; }
  .service-guide-grid, .related-service-grid { grid-template-columns: 1fr 1fr; }
  .process-layout, .service-context { grid-template-columns: 1fr; gap: 34px; }
  .page-hero { padding: 78px 0 82px; }
  .page-hero-grid, .detail-grid, .contact-grid { grid-template-columns: 1fr; gap: 35px; }
  .article-layout { grid-template-columns: 1fr; gap: 35px; }
  .article-aside { position: static; }
  .page-hero h1 { font-size: clamp(58px, 15vw, 90px); }
  .detail-hero-image { min-height: 300px; }
  .feature-grid { grid-template-columns: 1fr; }
  .snapshot-grid { grid-template-columns: 1fr; }
  .page-reviews .review-feature { grid-column: auto; }
  .map-card { min-height: 340px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery figure:first-child { grid-column: span 2; }
  .reviews-shell { gap: 30px; }
  .cta-inner { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 22px; padding-top: 48px; }
  .footer-brand { grid-column: span 2; }
  .footer-bottom { grid-template-columns: 1fr; gap: 9px; }
  .floating-whatsapp { right: 16px; bottom: 16px; width: 58px; height: 58px; font-size: 25px; }
  .fixed-call-dock { left: 8px; bottom: 8px; min-height: 58px; }
  .fixed-call-dock > div { min-width: 142px; padding-right: 10px; }
  .fixed-call-dock small { font-size: 8px; }
  .fixed-call-dock strong { font-size: 17px; }
  .dock-book { min-width: 94px; font-size: 11px; }
}
@media (max-width: 460px) {
  .header-actions .btn { display: none; }
  .hero h1 { font-size: 57px; }
  .hero-lede { font-size: 15px; }
  .postcode-row { flex-direction: column; }
  .postcode-row .btn { width: 100%; }
  .gallery { grid-template-columns: 1fr; }
  .gallery figure:first-child { grid-column: auto; }
  .review-list { grid-template-columns: 1fr; }
  .symptom-grid { grid-template-columns: 1fr; }
  .service-guide-grid, .related-service-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-brand .brand--image, .footer-brand .brand--image img, .footer-brand .brand-logo { width: 150px; }
  .footer-brand .brand--image { height: 84px; }
  .fixed-call-dock > div { min-width: 118px; }
  .fixed-call-dock .live-dot { margin-left: 10px; }
  .dock-whatsapp { min-width: 45px; padding: 0 10px; }
  .dock-book { min-width: 85px; padding: 0 9px; }
}
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after { transition-duration: 0s !important; animation-duration: 0s !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Client content polish and resilient service imagery */
.detail-hero-image {
  background-color: #160b0b;
  background-image: linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.78)), url("https://hqmaintenance.co.uk/wp-content/uploads/2025/11/hqmaintenance8.jpg"), linear-gradient(135deg, #2a0d10 0%, #9d1b25 50%, #160b0b 100%);
  background-position: center;
  background-size: cover;
}
.service-original-hero::before {
  background-color: #160b0b;
  background-image: linear-gradient(90deg, rgba(0,0,0,.86), rgba(0,0,0,.48) 58%, rgba(0,0,0,.22)), var(--service-photo), linear-gradient(135deg, #2a0d10 0%, #9d1b25 50%, #160b0b 100%);
  background-position: center;
  background-size: cover;
}
.source-copy p { max-width: 850px; margin-bottom: 24px; font-size: 17px; line-height: 1.8; }
.source-copy .client-highlight { color: var(--red); font-weight: 900; }
.snapshot-card .service-number, .service-card .service-number { letter-spacing: .02em; }

/* WordPress Editor / Gutenberg & Elementor Content Styling */
.entry-content { max-width: 900px; margin: 0 auto; font-size: 18px; line-height: 1.8; color: #222; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content p { margin-bottom: 24px; }
.entry-content p.lead { font-size: 22px; font-weight: 600; line-height: 1.6; color: #111; margin-bottom: 30px; }
.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5, .entry-content h6 {
  font-family: var(--condensed); text-transform: uppercase; color: #0a0a0a; letter-spacing: -.02em; line-height: 1.1; margin-top: 40px; margin-bottom: 16px;
}
.entry-content h1 { font-size: clamp(36px, 5vw, 56px); }
.entry-content h2 { font-size: clamp(30px, 4vw, 44px); border-bottom: 2px solid var(--line); padding-bottom: 10px; }
.entry-content h3 { font-size: clamp(24px, 3vw, 32px); }
.entry-content ul, .entry-content ol { margin: 0 0 24px 24px; padding: 0; }
.entry-content li { margin-bottom: 10px; line-height: 1.6; }
.entry-content blockquote {
  border-left: 4px solid var(--red); margin: 30px 0; padding: 15px 24px; background: var(--paper); font-style: italic; color: #444; border-radius: 0 8px 8px 0;
}
.entry-content img { max-width: 100%; height: auto; border-radius: 8px; margin: 20px 0; }
.entry-content a { color: var(--red); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.entry-content a:hover { color: var(--red-dark); }
.entry-content table { width: 100%; border-collapse: collapse; margin: 30px 0; }
.entry-content table th, .entry-content table td { padding: 12px 16px; border: 1px solid var(--line); text-align: left; }
.entry-content table th { background: #f0f0f0; font-weight: 800; font-family: var(--condensed); text-transform: uppercase; }
.entry-content .wp-block-button__link { display: inline-block; padding: 14px 28px; background: var(--red); color: #fff; text-decoration: none; border-radius: 4px; font-weight: 800; text-transform: uppercase; }
.entry-content .wp-block-button__link:hover { background: var(--red-dark); color: #fff; }
.page-editor-content { background: #fff; border-bottom: 1px solid var(--line); padding-top: 60px; padding-bottom: 60px; }

/* Custom Logo Support */
.custom-logo-link { display: inline-flex; align-items: center; }
.custom-logo-link img { max-height: 52px; width: auto; object-fit: contain; }

/* Dynamic WordPress Menu Dropdown Support */
.primary-nav .menu-item-has-children { position: relative; }
.primary-nav .sub-menu {
  position: absolute; top: 100%; left: 0; min-width: 240px; padding: 10px 0;
  background: #fff; border: 1px solid #dedede; border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0,0,0,.15); list-style: none; margin: 0;
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease; z-index: 99;
}
.primary-nav .menu-item-has-children:hover > .sub-menu,
.primary-nav .menu-item-has-children:focus-within > .sub-menu {
  opacity: 1; pointer-events: auto; transform: translateY(0);
}
.primary-nav .sub-menu li { margin: 0; padding: 0; list-style: none; }
.primary-nav .sub-menu a {
  display: block; padding: 10px 20px; color: #111; font-size: 15px; font-weight: 600;
  text-decoration: none; transition: background .15s ease, color .15s ease;
}
.primary-nav .sub-menu a:hover {
  background: #fff5f5; color: var(--red);
}

/* Footer Widget Support */
.footer-brand--widgets .widget { margin-bottom: 24px; color: rgba(255,255,255,.8); font-size: 14px; line-height: 1.6; }
.footer-col .widget { margin-bottom: 24px; }
.footer-col .widget-title, .footer-col .widget h2, .footer-col .widget h3 {
  font-family: var(--condensed); font-size: 18px; text-transform: uppercase; color: #fff; margin-bottom: 16px;
}
.footer-col .widget ul { list-style: none; margin: 0; padding: 0; }
.footer-col .widget li { margin-bottom: 8px; }
.footer-col .widget a { color: rgba(255,255,255,.75); text-decoration: none; transition: color .15s; }
.footer-col .widget a:hover { color: #fff; }
