/* Design: the adileakdetection.co.uk homepage and town pages (October 2026 build): navy wave header,
   photo hero, accreditations trust bar, cyan founding strip, section styles and water-drop footer.
   Values are taken from the live site's stylesheets; see SOURCES.md. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/assets/fonts/inter-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/assets/fonts/montserrat-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Raleway"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/assets/fonts/raleway-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { font-family: "Inter", sans-serif; font-size: 16px; line-height: 1.5; color: #000; background: #fff; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #161e6f; outline-offset: 3px; }
header a:focus-visible, header button:focus-visible, .hero a:focus-visible, .hero button:focus-visible, .hero input:focus-visible, .hero select:focus-visible,
.services-detail-section a:focus-visible, .footer-section a:focus-visible { outline-color: #80eff7; }

/* ---------- Header: navy wave, clear over the photo, solid navy once the page scrolls ---------- */
header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; background-color: rgba(22, 30, 111, min(1, calc(var(--stick, 0) * 2))); box-shadow: 0 6px 20px rgba(9, 16, 58, calc(var(--stick, 0) * 0.25)); }
header::before { content: ""; position: absolute; top: 0; left: 0; z-index: -1; width: 100%; height: 180px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 180' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='0.25'%3E%3Cstop offset='0' stop-color='%23153a8a'/%3E%3Cstop offset='0.55' stop-color='%230a7fcb'/%3E%3Cstop offset='1' stop-color='%2305bdf9'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='url(%23g)' fill-opacity='0.72' d='M0 0H1440V178C1330 150 1240 148 1100 160C900 176 760 112 560 130C360 148 200 152 0 134Z'/%3E%3Cpath fill='%23181f6f' d='M0 0H1440V150C1330 126 1220 116 1080 128C880 144 740 94 540 106C340 118 180 124 0 110Z'/%3E%3C/svg%3E") top center / 100% 100% no-repeat; pointer-events: none; transform-origin: top; transform: scaleY(calc(1 - var(--stick, 0) * 0.55)); opacity: clamp(0, calc((1 - var(--stick, 0)) * 3.3), 1); }
.header-container { max-width: 1400px; margin: 0 auto; display: flex; align-items: center; justify-content: flex-start; gap: 20px; padding: 0 28px; height: calc(100px - var(--stick, 0) * 16px); }
.logo-link { display: block; flex: none; line-height: 0; }
.logo-image { width: 200px; height: auto; }
#nav { margin: 0 auto; }
.nav-menu { display: flex; align-items: center; gap: 20px; list-style: none; }
.nav-menu a { display: block; padding: 8px 0; color: #fff; font-size: 15px; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; text-decoration: none; white-space: nowrap; transition: color 0.3s; }
.nav-menu a:hover { color: #00d4ff; }
.header-right { display: flex; align-items: center; gap: 15px; flex: none; }
.call-button { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.phone-icon { display: flex; align-items: center; justify-content: center; flex: none; width: 46px; height: 46px; border-radius: 50%; background: #80eff7; }
.phone-icon svg { width: 20px; height: 20px; fill: #161e6f; }
.call-info { display: flex; flex-direction: column; text-align: left; }
.call-label { color: #fff; font-size: 11px; font-weight: 700; line-height: 1.5; letter-spacing: 0.1em; text-transform: uppercase; }
.phone-number { color: #fff; font-family: "Montserrat", sans-serif; font-size: 25px; font-weight: 800; line-height: 1.2; white-space: nowrap; }
.menu-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px 4px; border: 0; background: none; cursor: pointer; }
.menu-toggle span { display: block; width: 25px; height: 3px; border-radius: 2px; background: #fff; transition: transform 0.3s, opacity 0.3s; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero: the homepage photo, darkened as on the site, with the quote form beside the heading ---------- */
.hero { position: relative; overflow: hidden; background: #1e3a8a; padding: 180px 40px 72px; }
.hero-background { position: absolute; inset: 0; z-index: 1; }
.hero-background::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(22, 30, 111, 0.6) 0%, rgba(22, 30, 111, 0.3) 55%, rgba(22, 30, 111, 0) 100%); }
.hero-image { width: 100%; height: 100%; object-fit: cover; filter: brightness(60%); }
.hero-inner { position: relative; z-index: 5; max-width: 1344px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) 452px; gap: 56px; align-items: center; }
.hero-content { color: #fff; font-variant-numeric: lining-nums; }
.hero-title { margin: 0 0 22px; font-family: "Raleway", sans-serif; font-size: clamp(40px, 4.3vw, 62px); font-weight: 900; line-height: 1.05; text-transform: uppercase; text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5); text-wrap: balance; }
.hero-title span { display: block; margin-top: 10px; font-size: 0.55em; line-height: 1.15; }
.hero-description { max-width: 640px; font-family: "Raleway", sans-serif; font-size: 17.6px; font-weight: 600; line-height: 1.7; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35); }
.hero-points { display: grid; gap: 10px; max-width: 640px; margin: 22px 0 0; list-style: none; font-family: "Raleway", sans-serif; font-size: 18px; font-weight: 700; line-height: 1.4; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55); }
.hero-points li { position: relative; padding-left: 26px; text-align: left; }
.hero-points li::before { content: ""; position: absolute; left: 4px; top: 0.28em; width: 6px; height: 12px; border: solid #80eff7; border-width: 0 3px 3px 0; transform: rotate(45deg); }
.hero-points a { color: #fff; text-decoration: underline; text-decoration-color: rgba(128, 239, 247, 0.75); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.hero-points a:hover { color: #80eff7; }
.hero-actions { margin-top: 30px; }
.hero-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 60px; padding: 0 42px; border-radius: 8px; background: #80eff7; color: #161e6f; font-family: "Raleway", sans-serif; font-size: 19px; font-weight: 800; font-variant-numeric: lining-nums; line-height: 1; text-decoration: none; white-space: nowrap; transition: background-color 0.2s ease, transform 0.1s ease; }
.hero-cta:hover { background: #fff; }
.hero-cta:active { transform: translateY(1px); }

/* Quote form: the town-page quote card */
.quote-form-container { padding: 24px; border-radius: 8px; background: #2b71b9; color: #fff; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3); }
.quote-form-title { font-size: 26px; font-weight: 700; line-height: 1.2; }
.quote-form-sub { margin: 6px 0 16px; color: rgba(255, 255, 255, 0.92); font-size: 15px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; margin-bottom: 4px; font-size: 16px; font-weight: 500; line-height: 1.5; }
.form-group .required { margin-left: 2px; color: #ff4d4f; }
.form-group input, .form-group select { display: block; width: 100%; height: 46px; padding: 0 12px; border: 0.75px solid #ccc; border-radius: 4px; background: #fff; color: #1e3a8a; font: inherit; font-size: 16px; }
.form-group select:invalid { color: #6b7280; }
.form-group select option { color: #1e3a8a; }
.submit-button { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 56px; margin-top: 4px; padding: 0 24px; border: 0; border-radius: 8px; background: #80eff7; color: #161e6f; font-family: "Raleway", sans-serif; font-size: 19px; font-weight: 800; cursor: pointer; transition: background-color 0.2s ease; }
.submit-button:hover { background: #fff; }
.quote-call { margin-top: 12px; text-align: center; font-size: 15px; }
.quote-call a { color: #fff; font-weight: 700; }
.form-msg { margin-top: 12px; padding: 10px 12px; border-radius: 6px; background: #fff; color: #161e6f; font-size: 14px; font-weight: 600; }

/* ---------- Trust bar: two logos, Trustpilot in the middle, two logos ---------- */
.trust-bar { background: #fff; padding: 18px 28px 30px; }
.trust-bar-inner { max-width: 1344px; margin: 0 auto; }
.trust-bar-logos { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 236px minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 12px 20px; }
.trust-bar-logo { display: block; height: 78px; min-width: 0; border-radius: 12px; perspective: 700px; text-decoration: none; }
.trust-bar-logo-flip { position: relative; display: block; width: 100%; height: 100%; border-radius: 12px; transform-style: preserve-3d; transition: transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1); }
.trust-bar-logo-front, .trust-bar-logo-back { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; border-radius: 12px; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.trust-bar-logo-front { padding: 14px 18px; background: #f4f7fb; border: 1.5px solid #80eff7; }
.trust-bar-logo-back { flex-direction: column; padding: 8px 10px; background: #161e6f; border: 1.5px solid #161e6f; color: #fff; font-size: 14px; font-weight: 500; line-height: 1.3; text-align: center; text-wrap: balance; transform: rotateX(180deg); }
.trust-bar-logo-back strong { display: block; color: #80eff7; font-weight: 700; }
.trust-bar-logo img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.trust-bar-logo:focus-visible .trust-bar-logo-flip { transform: rotateX(180deg); }
@media (hover: hover) { .trust-bar-logo:hover .trust-bar-logo-flip { transform: rotateX(180deg); } }
.trust-bar-reviews { position: relative; display: flex; align-items: center; justify-content: center; justify-self: center; width: 236px; height: 104px; margin: -13px 0; border-radius: 12px; background: #fff; box-shadow: 0 1px 2px rgba(22, 30, 111, 0.1), 0 8px 22px -6px rgba(22, 30, 111, 0.28); }
.trust-bar-reviews::after { content: ""; position: absolute; left: 25px; top: 44px; width: 178px; height: 32px; background: linear-gradient(105deg, rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0) 62%) no-repeat; background-size: 200% 100%; background-position: 125% 0; pointer-events: none; animation: trust-bar-glint 8s linear infinite; }
@keyframes trust-bar-glint { 0%, 81% { background-position: 125% 0; } 100% { background-position: -25% 0; } }
.trust-bar-reviews .trustpilot-widget { flex: none; width: 174px; transform: scale(1.14); }
.trustpilot-widget > a { display: flex; flex-direction: column; align-items: center; gap: 2px; color: #161e6f; font-size: 13px; font-weight: 500; text-decoration: none; text-align: center; }
.trustpilot-widget > a strong { font-size: 18px; font-weight: 800; }

/* Founding strip: the cyan bar under the accreditations */
.founding-strip { background: #80eff7; padding: 9px 20px; text-align: center; }
.founding-strip-title { color: #161e6f; font-size: 15px; font-weight: 800; line-height: 1.4; letter-spacing: 0.14em; text-transform: uppercase; text-wrap: balance; }

/* ---------- Services: the town-page services section and cards ---------- */
.equipment-section { padding: 80px 20px; background: #fff; }
.section-title { margin: 0 auto 32px; max-width: 1400px; color: #1e3a8a; font-size: 48px; font-weight: 700; line-height: 1.2; text-align: center; text-transform: uppercase; text-wrap: balance; }
.section-title .hl { color: #3b82f6; }
.services-lead { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 56px; max-width: 1200px; margin: 0 auto 48px; }
.services-lead p { color: #333; font-size: 16px; line-height: 1.8; }
.services-lead p:first-child { grid-row: span 2; color: #1e3a8a; font-size: 18px; }
.leak-types { display: flex; flex-wrap: wrap; justify-content: center; gap: 32px; max-width: 1344px; margin: 0 auto; }
.leak-type-block { flex: 0 1 calc((100% - 96px) / 4); padding: 24px; border-top: 6px solid #2b71b9; border-radius: 20px; background: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(30, 58, 138, 0.04); }
.leak-type-block h3, .leak-type-block h4 { margin-bottom: 10px; color: #2b71b9; font-size: 20px; font-weight: 800; line-height: 1.3; }
.leak-type-block p { color: #4b5563; font-size: 15.2px; line-height: 1.6; }
.services-note { max-width: 1200px; margin: 40px auto 0; padding: 22px 32px; border-radius: 20px; background: #f3f5f6; color: #1e3a8a; font-size: 17px; font-weight: 600; line-height: 1.6; text-align: center; }

/* ---------- Expert: the homepage's navy rounded panel ---------- */
.services-detail-section { position: relative; max-width: 1400px; width: calc(100% - 40px); margin: 40px auto; padding: 90px 60px; overflow: hidden; border-radius: 32px; background: #161e6f; }
.services-detail-section::before { content: ""; position: absolute; top: -5px; right: -10px; width: 196px; height: 252px; border-radius: 32px; background: url("/assets/img/curve-top.png") no-repeat center / cover; opacity: 0.6; pointer-events: none; }
.services-detail-content { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 72px; align-items: center; }
.expert-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; }
.expert-photo figcaption { margin-top: 12px; color: rgba(255, 255, 255, 0.78); font-size: 14px; }
.services-detail-text { color: #fff; }
.services-detail-title { margin-bottom: 24px; color: #fff; font-size: 42px; font-weight: 700; line-height: 1.2; text-transform: uppercase; }
.highlight-cyan { color: #4ecffb; }
.services-detail-description { margin-bottom: 18px; color: #e6e6e6; font-size: 16px; line-height: 1.7; }
.expert-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; margin: 6px 0 24px; }
.expert-facts div { padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.expert-facts dt { color: #80eff7; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.expert-facts dd { margin-top: 2px; color: #fff; font-size: 18px; font-weight: 700; }
.expert-facts .wide { grid-column: 1 / -1; }
.expert-facts .wide dd { font-size: 16px; font-weight: 600; line-height: 1.5; }
.pill-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 9px 46px; border-radius: 52px; background: #80eff7; color: #192172; font-size: 14px; font-weight: 700; line-height: 1.3; text-align: center; text-decoration: none; text-transform: uppercase; transition: all 0.3s ease; }
.pill-cta:hover { background: #fff; transform: scale(1.05); box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2); }

/* ---------- Reviews ---------- */
.reviews-section { padding: 80px 20px; background: #f3f5f6; }
.reviews-header { max-width: 1344px; margin: 0 auto 40px; }
.reviews-title { color: #1e3a8a; font-size: 42px; font-weight: 700; line-height: 1.3; text-transform: uppercase; }
.reviews-title .hl { color: #3b82f6; }
.reviews-intro { margin-top: 10px; color: #333; font-size: 16px; }
.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; max-width: 1344px; margin: 0 auto; }
.review-card { display: flex; flex-direction: column; padding: 25px; border: 1px solid #f0f0f0; border-radius: 15px; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); }
.review-stars { display: flex; gap: 3px; }
.review-stars i { width: 20px; height: 20px; background: #00b67a; clip-path: polygon(50% 4%, 61% 37%, 96% 37%, 68% 58%, 79% 92%, 50% 71%, 21% 92%, 32% 58%, 4% 37%, 39% 37%); }
.review-meta { margin-top: 12px; color: #6b7280; font-size: 13px; }
.review-meta strong { color: #1f2937; font-weight: 700; }
.review-title { margin-top: 6px; color: #111; font-size: 16px; font-weight: 700; line-height: 1.35; }
.review-text { margin-top: 8px; color: #333; font-size: 15px; line-height: 1.65; white-space: pre-line; }
.review-link { align-self: flex-start; margin-top: auto; padding-top: 16px; color: #1e3a8a; font-size: 14px; font-weight: 700; }

/* ---------- Case study: the homepage benefits band ---------- */
.benefits-section { padding: 80px 20px; background: linear-gradient(135deg, #e6f7ff 0%, #b3e5fc 100%); }
.benefits-container { max-width: 1200px; margin: 0 auto; }
.benefits-title { color: #1a2273; font-size: 40px; font-weight: 700; line-height: 1.2; text-transform: uppercase; }
.benefits-title .hl { color: #2b71b9; }
.case-title { margin: 14px 0 30px; color: #2b71b9; font-size: 22px; font-weight: 800; line-height: 1.3; }
.case-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.benefits-list { margin-bottom: 20px; list-style: none; }
.benefits-list li { position: relative; padding: 6px 0 6px 35px; color: #000; font-size: 17px; font-weight: 500; line-height: 1.45; }
.benefits-list li::before { content: "\25B6\FE0E"; position: absolute; left: 0; top: 8px; color: #1e3a5f; font-size: 12.8px; }
.case-facts div { position: relative; padding: 6px 0 6px 35px; color: #000; font-size: 17px; font-weight: 500; line-height: 1.45; }
.case-facts div::before { content: "\25B6\FE0E"; position: absolute; left: 0; top: 8px; color: #1e3a5f; font-size: 12.8px; }
.case-facts dt, .case-facts dd { display: inline; }
.case-facts dt { font-weight: 700; }
.benefits-footer { margin-top: 16px; color: #1e3a5f; font-size: 16.8px; line-height: 1.6; }
.case-text .pill-cta { margin-top: 26px; }
.case-photos { position: sticky; top: 110px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.case-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; box-shadow: 0 10px 30px rgba(30, 58, 95, 0.18); }
.case-photos figcaption { margin-top: 8px; color: #1e3a5f; font-size: 14px; line-height: 1.4; }

/* ---------- Contact: the homepage call banner ---------- */
.promotional-banner-section { padding: 70px 20px; background: #79e7ec url("/assets/img/promo-bg.webp") center / cover; }
.promotional-headline { max-width: 1344px; margin: 0 auto 40px; color: #1e2677; font-size: 42px; font-weight: 700; line-height: 1.3; letter-spacing: 1px; text-align: center; text-transform: uppercase; text-wrap: balance; }
.promotional-banner-container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; max-width: 1344px; margin: 0 auto; }
.promo-map iframe { display: block; width: 100%; height: 400px; border: 0; border-radius: 16px; background: #f3f5f6; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2); }
.promotional-description { max-width: 90%; margin-bottom: 30px; color: #000; font-size: 16px; line-height: 1.8; }
.promotional-cta-button { display: flex; align-items: center; justify-content: center; width: 100%; max-width: 559px; min-height: 53px; padding: 18px 24px; border-radius: 70px; background: #fff; color: #1e2677; font-size: 14px; font-weight: 700; line-height: 1; text-align: center; text-decoration: none; text-transform: uppercase; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease; }
.promotional-cta-button:hover { background: #1e40af; color: #fff; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(30, 58, 138, 0.6); }
.promo-secondary { margin-top: 18px; color: #000; font-size: 16px; line-height: 1.6; }
.promo-secondary a { color: #1e2677; font-weight: 700; }

/* ---------- Footer: the water-drop footer ---------- */
.footer-section { padding: 80px 20px 30px; background: #79e7ec url("/assets/img/footer-bg.webp") no-repeat center / cover; color: rgba(255, 255, 255, 0.9); }
.footer-container { max-width: 1344px; margin: 0 auto; }
.footer-content { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 50px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.footer-logo img { width: 200px; }
.footer-social { display: flex; gap: 15px; margin-top: 26px; }
.social-icon { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 50%; background: rgba(255, 255, 255, 0.1); transition: all 0.3s; }
.social-icon:hover { border-color: #00d4ff; background: #00d4ff; transform: translateY(-3px); }
.footer-heading { margin-bottom: 25px; color: #fff; font-size: 20px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: rgba(255, 255, 255, 0.8); font-size: 15px; text-decoration: none; transition: color 0.3s; }
.footer-links a:hover { color: #00d4ff; }
.footer-links .footer-phone { color: #fff; font-family: "Montserrat", sans-serif; font-size: 22px; font-weight: 800; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 12px 20px; padding-top: 30px; }
.footer-bottom-left p { color: rgba(255, 255, 255, 0.8); font-size: 14px; }
.footer-bottom-left p + p { margin-top: 6px; }
.footer-bottom-center a { color: rgba(255, 255, 255, 0.8); font-size: 14px; text-decoration: none; }
.footer-bottom-center a:hover { color: #00d4ff; }
.footer-bottom-center span { color: rgba(255, 255, 255, 0.6); font-size: 14px; }

/* ---------- Header sizes step down with the screen, as on the site ---------- */
@media (max-width: 1439px) {
  .header-container { height: calc(100px - var(--stick, 0) * 24px); gap: 18px; }
  .logo-image { width: 170px; }
  .nav-menu { gap: 16px; }
  .nav-menu a { font-size: 14px; letter-spacing: 0.01em; }
  .phone-icon { width: 40px; height: 40px; }
  .call-label { font-size: 10.5px; letter-spacing: 0.06em; }
  .call-button { gap: 10px; }
  .phone-number { font-size: 22px; }
}
@media (max-width: 1279px) {
  .header-container { padding: 0 20px; gap: 16px; }
  .logo-image { width: 150px; }
  .nav-menu { gap: 14px; }
  .nav-menu a { font-size: 13.5px; }
  .phone-icon, .call-label { display: none; }
  .phone-number { font-size: 20px; }
}
@media (max-width: 1200px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr) 420px; gap: 40px; }
  .section-title { font-size: 42px; }
  .services-detail-section { padding: 80px 40px; }
  .services-detail-content { gap: 50px; }
  .services-detail-title { font-size: 36px; }
  .promotional-headline { font-size: 36px; }
}
@media (max-width: 1139px) {
  .header-container { padding: 0 16px; gap: 12px; }
  .logo-image { width: 132px; }
  .nav-menu { gap: 12px; }
  .nav-menu a { font-size: 12.5px; }
  .phone-number { font-size: 18px; }
}
/* Tablet: logo and phone on top, the menu on a row beneath */
@media (max-width: 1024px) {
  header::before { height: 215px; }
  .header-container { flex-wrap: wrap; justify-content: space-between; row-gap: 6px; height: auto; padding: calc(18px - var(--stick, 0) * 6px) 30px calc(12px - var(--stick, 0) * 4px); }
  .logo-image { width: 170px; }
  #nav { order: 3; width: 100%; margin: 0; }
  .nav-menu { justify-content: center; gap: 24px; }
  .nav-menu a { font-size: 13px; }
  .phone-number { font-size: 20px; }
  .hero { padding: 215px 30px 60px; }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-content { text-align: center; }
  .hero-description, .hero-points { margin-left: auto; margin-right: auto; }
  .hero-points { justify-content: center; }
  .quote-form-container { width: 100%; max-width: 560px; margin: 0 auto; }
  .leak-type-block { flex-basis: calc((100% - 32px) / 2); }
  .services-detail-section { padding: 70px 30px; }
  .services-detail-content { grid-template-columns: 1fr; gap: 40px; }
  .expert-photo { max-width: 560px; }
  .review-grid { grid-template-columns: 1fr 1fr; }
  .case-grid { grid-template-columns: 1fr; gap: 40px; }
  .case-photos { position: static; }
  .promotional-banner-container { grid-template-columns: 1fr; gap: 36px; }
  .promotional-description { max-width: 100%; }
  .footer-content { grid-template-columns: 1.2fr 1fr 1fr; gap: 35px; }
}
/* Phones: solid navy header with the wave, menu behind a button */
@media (max-width: 768px) {
  html { scroll-padding-top: 80px; }
  header { background: #161e6f; }
  header::before { height: 150%; background-size: 250% 100%; background-position: right top; }
  .header-container { flex-wrap: nowrap; padding: 12px 15px; }
  .logo-image { width: 150px; }
  .call-info { align-items: flex-end; }
  .call-label { display: block; font-size: 10px; }
  .phone-number { font-size: 20px; }
  .menu-toggle { display: flex; }
  #nav { display: none; position: absolute; top: 100%; left: 0; right: 0; width: auto; order: 0; padding: 6px 20px 18px; background: #161e6f; box-shadow: 0 12px 24px rgba(9, 16, 58, 0.35); }
  .menu-open #nav { display: block; }
  .nav-menu { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-menu a { padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); font-size: 16px; }
  .hero { padding: 132px 20px 36px; }
  .hero-image { filter: brightness(45%); }
  .hero-title { font-size: 35px; line-height: 1.15; }
  .hero-description { font-size: 16.5px; }
  .hero-points { gap: 6px; font-size: 16.5px; }
  .hero-actions { margin-top: 20px; }
  .hero-cta { min-height: 54px; padding: 0 30px; font-size: 17px; }
  .form-row { grid-template-columns: 1fr; }
  .trust-bar { padding: 6px 12px 10px; }
  .trust-bar-logos { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 8px; }
  .trust-bar-reviews { order: -1; grid-column: 1 / -1; width: 170px; height: 72px; margin: 0; border-radius: 10px; }
  .trust-bar-reviews .trustpilot-widget { transform: scale(0.82); }
  .trust-bar-reviews::after { left: 18px; top: 30px; width: 128px; height: 23px; }
  .trust-bar-logo { height: 42px; }
  .trust-bar-logo-flip, .trust-bar-logo-front, .trust-bar-logo-back { border-radius: 10px; }
  .trust-bar-logo-front { padding: 6px 8px; }
  .trust-bar-logo-back { padding: 2px 4px; font-size: 10px; line-height: 1.15; }
  .equipment-section, .reviews-section, .benefits-section { padding: 50px 20px; }
  .section-title { font-size: 30px; letter-spacing: 0.5px; }
  .services-lead { grid-template-columns: 1fr; gap: 16px; margin-bottom: 36px; }
  .services-lead p { font-size: 15px; }
  .services-lead p:first-child { grid-row: auto; font-size: 17px; }
  .leak-types { gap: 20px; }
  .leak-type-block { flex-basis: 100%; padding: 26px; }
  .services-note { padding: 20px; font-size: 16px; }
  .services-detail-section { width: 100%; margin: 0; padding: 50px 20px; border-radius: 0; background: #1e3a8a; }
  .services-detail-section::before { display: none; }
  .services-detail-title { font-size: 30px; letter-spacing: 1px; }
  .services-detail-title .highlight-cyan { display: block; margin-top: 5px; color: #87ceeb; }
  .reviews-title { font-size: 28px; line-height: 1.2; }
  .review-grid { grid-template-columns: 1fr; }
  .benefits-title { font-size: 28px; letter-spacing: 1px; }
  .case-photos { gap: 12px; }
  .promotional-banner-section { padding: 44px 15px; }
  .promotional-headline { margin-bottom: 24px; font-size: 24px; }
  .promo-map iframe { height: 320px; }
  .promotional-description { font-size: 15px; }
  .promotional-cta-button { max-width: 100%; border-radius: 12px; }
  .footer-section { padding: 60px 20px 25px; }
  .footer-content { grid-template-columns: 1fr; gap: 35px; }
  .footer-heading { margin-bottom: 14px; font-size: 18px; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
}
@media (max-width: 600px) {
  .founding-strip { padding: 6px 10px; }
  .founding-strip-title { font-size: 11.5px; line-height: 1.3; letter-spacing: 0.05em; }
}
@media (max-width: 480px) {
  .logo-image { width: 120px; }
  .header-right { gap: 10px; }
  .call-label { font-size: 9px; }
  .phone-number { font-size: 18px; }
  .hero { padding: 112px 15px 30px; }
  .hero-title { font-size: 30px; }
  .hero-description { font-size: 15.5px; }
  .hero-points { font-size: 15.5px; }
  .quote-form-container { padding: 20px; }
  .quote-form-title { font-size: 23px; }
  .section-title { font-size: 26px; }
  .services-detail-title, .reviews-title, .benefits-title { font-size: 24px; }
  .expert-facts { grid-template-columns: 1fr; }
  .promotional-headline { font-size: 21px; }
}
@media (max-width: 360px) {
  .logo-image { width: 104px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .trust-bar-reviews::after { display: none; }
  .trust-bar-logo-flip, .hero-cta, .pill-cta, .promotional-cta-button, .social-icon { transition: none; }
}

/* ---------- Legal pages: the homepage photo band and plain text, as on the site's policy pages ---------- */
.legal-hero { position: relative; overflow: hidden; background: #1e3a8a; padding: 190px 40px 80px; text-align: center; }
.legal-hero .hero-background::after { background: rgba(22, 30, 111, 0.35); }
.legal-hero h1 { position: relative; z-index: 5; max-width: 1100px; margin: 0 auto; color: #fff; font-family: "Raleway", sans-serif; font-size: clamp(32px, 4.6vw, 64px); font-weight: 900; line-height: 1.05; text-transform: uppercase; text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5); text-wrap: balance; }
.legal-updated { position: relative; z-index: 5; margin-top: 18px; color: #fff; font-family: "Raleway", sans-serif; font-size: 17.6px; font-weight: 600; font-variant-numeric: lining-nums; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45); }
.legal-content { max-width: 960px; margin: 0 auto; padding: 70px 20px 90px; color: #1e3a8a; }
.legal-content h2 { margin: 44px 0 16px; color: #1e3a8a; font-size: 30px; font-weight: 700; line-height: 1.25; text-transform: uppercase; }
.legal-content h3 { margin: 30px 0 12px; color: #1e3a8a; font-size: 22px; font-weight: 700; line-height: 1.4; }
.legal-content > :first-child { margin-top: 0; }
.legal-content p, .legal-content li { font-size: 16px; line-height: 1.8; }
.legal-content p { margin-bottom: 18px; }
.legal-content ul, .legal-content ol { margin: 0 0 20px 24px; }
.legal-content ol ol { margin: 8px 0 8px 24px; }
.legal-content li { margin-bottom: 8px; padding-left: 4px; }
.legal-content a { color: #2b71b9; font-weight: 600; }
.legal-content .legal-note { font-weight: 600; }
@media (max-width: 1024px) { .legal-hero { padding: 230px 30px 70px; } }
@media (max-width: 768px) {
  .legal-hero { padding: 140px 20px 50px; }
  .legal-content { padding: 48px 20px 64px; }
  .legal-content h2 { font-size: 24px; }
  .legal-content h3 { font-size: 19px; }
  .legal-content p, .legal-content li { font-size: 15px; }
}
@media (max-width: 480px) { .legal-hero { padding: 118px 15px 44px; } }

/* ---------- Services section (rebuilt 29 Oct 2026): intro, signs table, service cards, methods, who pays ---------- */
.services-intro-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 48px; align-items: start; max-width: 1200px; margin: 0 auto; }
.services-intro-grid .services-lead { display: block; max-width: none; margin: 0; }
.services-intro-grid .services-lead p { margin-bottom: 16px; }
.services-intro-grid .services-lead p:first-child { grid-row: auto; color: #1e3a8a; font-size: 18px; }
.includes-card { overflow: hidden; border: 1px solid #e2e8f0; border-radius: 16px; background: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06); }
.card-head { padding: 15px 20px; background: #171e6f; color: #fff; font-size: 15px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.tick-list { padding: 18px 22px 10px; list-style: none; }
.tick-list li { position: relative; margin-bottom: 12px; padding-left: 28px; color: #1e3a8a; font-size: 15.5px; line-height: 1.55; }
.tick-list li::before { content: ""; position: absolute; left: 5px; top: 0.3em; width: 6px; height: 12px; border: solid #2b71b9; border-width: 0 3px 3px 0; transform: rotate(45deg); }
.services-block { max-width: 1344px; margin: 72px auto 0; }
.block-title { max-width: 1000px; margin: 0 auto 14px; color: #1e3a8a; font-size: 28px; font-weight: 700; line-height: 1.25; text-align: center; text-transform: uppercase; text-wrap: balance; }
.block-lead { max-width: 900px; margin: 0 auto 32px; color: #333; font-size: 16.5px; line-height: 1.7; text-align: center; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.signs-wrap { max-width: 1200px; margin: 0 auto; overflow: hidden; border: 1px solid #e2e8f0; border-radius: 16px; background: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); }
.signs-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.signs-table thead tr { background: #171e6f; }
.signs-table thead th { width: 25.7%; padding: 14px 20px; color: #fff; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-align: left; text-transform: uppercase; }
.signs-table thead th:first-child { width: 31.4%; }
.signs-table thead th:nth-child(2) { width: 42.9%; }
.signs-table tbody tr { border-top: 1px solid #e8edf3; }
.signs-table tbody tr:nth-child(even) { background: #f8fafc; }
.signs-table tbody th, .signs-table tbody td { padding: 16px 20px; color: #333; font-size: 15.5px; font-weight: 400; line-height: 1.55; text-align: left; vertical-align: top; }
.signs-table tbody th { color: #1e3a8a; font-weight: 700; }
.signs-table tbody td:last-child { color: #2b71b9; font-weight: 700; }
.leak-type-block img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 20px; border: 0.75px solid #e2e8f0; border-radius: 12px; }
.leak-type-block .kit { margin-top: 12px; color: #1e3a8a; font-size: 14px; line-height: 1.5; }
.methods-panel { max-width: 1344px; margin: 72px auto 0; padding: 48px 56px; border-radius: 20px; background: #f3f5f6; }
.method-tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.method-tile { padding: 20px 18px; border: 0.75px solid rgba(128, 239, 247, 0.65); border-radius: 16px; background: linear-gradient(135deg, #234a7a 0%, #1e3a5f 100%); box-shadow: 0 8px 20px rgba(30, 58, 95, 0.28); color: #fff; }
.method-tile h4 { margin-bottom: 8px; color: #fff; font-size: 17px; font-weight: 700; }
.method-tile p { color: rgba(255, 255, 255, 0.88); font-size: 14.5px; line-height: 1.55; }
.pay-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 1200px; margin: 0 auto; }
.pay-card { padding: 28px 32px; border-top: 6px solid #2b71b9; border-radius: 20px; background: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(30, 58, 138, 0.04); }
.pay-card h4 { margin-bottom: 10px; color: #2b71b9; font-size: 20px; font-weight: 800; }
.pay-card p { color: #4b5563; font-size: 15.5px; line-height: 1.65; }
.services-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: 1200px; margin: 40px auto 0; padding: 22px 32px; border-radius: 20px; background: #e5f5fb; }
.services-cta p { color: #1e3a8a; font-size: 17px; font-weight: 600; line-height: 1.5; }
.services-cta p a { color: #1e3a8a; font-weight: 800; white-space: nowrap; }
.services-cta .pill-cta { flex: none; }
@media (max-width: 1200px) {
  .leak-type-block { flex-basis: calc((100% - 64px) / 3); }
  .method-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .services-intro-grid { grid-template-columns: 1fr; gap: 32px; }
  .leak-type-block { flex-basis: calc((100% - 32px) / 2); }
  .methods-panel { padding: 40px 30px; }
}
@media (max-width: 768px) {
  .services-block, .methods-panel { margin-top: 52px; }
  .block-title { font-size: 22px; }
  .block-lead { font-size: 15px; text-align: left; }
  .signs-table thead { display: none; }
  .signs-table, .signs-table tbody, .signs-table tbody tr, .signs-table tbody th, .signs-table tbody td { display: block; width: auto; }
  .signs-table tbody tr { padding: 14px 16px; }
  .signs-table tbody th, .signs-table tbody td { padding: 0; font-size: 15px; }
  .signs-table tbody th + td, .signs-table tbody td + td { margin-top: 4px; }
  .signs-table tbody td:last-child::before { content: "Investigation: "; color: #4b5563; font-weight: 600; }
  .leak-type-block { flex-basis: 100%; }
  .methods-panel { padding: 32px 18px; border-radius: 16px; }
  .method-tiles { grid-template-columns: 1fr 1fr; gap: 12px; }
  .pay-cards { grid-template-columns: 1fr; }
  .pay-card { padding: 24px; }
  .services-cta { flex-direction: column; align-items: stretch; text-align: center; padding: 22px 20px; }
}
@media (max-width: 480px) {
  .method-tiles { grid-template-columns: 1fr; }
}
