/* Homepage redesign - loaded on index.html only. Scoped to body.home-redesign. */
.home-redesign { --hx-deep: #052B43; --hx-teal: #08547A; --hx-blue: #0B7CA6; --hx-lime: #BFD32E; --hx-lime-dk: #A9BE1E; --hx-ink: #0B234A; --hx-disp: 'Barlow Condensed', 'Barlow Condensed Fallback', 'Arial Narrow', sans-serif; }

/* ---- header ---- */
.home-redesign .nav-bar { max-width: 1280px; }
.home-redesign nav.links { white-space: nowrap; flex-wrap: nowrap; gap: 22px; }
.home-redesign .header-call .btn { padding: 10px 15px; font-size: .86rem; }
.home-redesign .header-call { flex-direction: row; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 10px; }
.home-redesign .header-call .btn-primary { background: var(--hx-blue); color: #fff; border-color: var(--hx-blue); border-radius: 8px; }
.home-redesign .header-call .btn-lime { background: var(--hx-lime); color: var(--hx-ink); border: 2px solid var(--hx-lime); border-radius: 8px; font-weight: 800; padding: 10px 18px; font-size: .9rem; white-space: nowrap; }
.home-redesign .header-call .btn-lime:hover { background: var(--hx-lime-dk); border-color: var(--hx-lime-dk); }
.home-redesign .header-call .emergency-line { flex: 0 0 100%; text-align: right; }
@media (max-width: 1100px) { .home-redesign .header-call .btn-lime { display: none; } }

/* ---- hero ---- */
.hx { position: relative; background: linear-gradient(100deg, #052B43 0%, #06476A 45%, #0A6B94 100%); color: #fff; overflow: hidden; padding: 34px 0 104px; isolation: isolate; }
.hx-art { position: absolute; z-index: -1; right: 0; bottom: 0; width: min(1096px, 72vw); aspect-ratio: 1096 / 450; }
.hx-art picture, .hx-art img { display: block; width: 100%; height: 100%; }
.hx-art img { object-fit: cover; object-position: 28% 50%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16%), linear-gradient(180deg, transparent 0, #000 30%); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0, #000 16%), linear-gradient(180deg, transparent 0, #000 30%); mask-composite: intersect; }
.hx-bentley { position: absolute; left: 16%; top: 5%; font-family: 'Kaushan Script', 'Brush Script MT', cursive; font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1; color: #fff; transform: rotate(-7deg); text-shadow: 0 2px 10px rgba(0,0,0,.35); }
.hx-bentley::after { content: ''; display: block; height: 5px; margin: 4px 0 0 18%; width: 80%; background: var(--hx-lime); border-radius: 6px; transform: rotate(2deg); }
.hx-wrap { max-width: none; padding-left: clamp(24px, 4.9vw, 150px); padding-right: 24px; }
.hx-copy { max-width: 480px; }
.home-redesign h1.hx-eyebrow { font-family: 'Public Sans', 'Public Sans Fallback', sans-serif; font-weight: 600; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.88); margin: 0 0 12px; line-height: 1.4; }
.hx-display { font-family: var(--hx-disp); font-weight: 800; text-transform: uppercase; font-size: clamp(2.9rem, 4.2vw, 4.2rem); line-height: .93; color: #fff; margin: 0 0 14px; letter-spacing: -.005em; }
.hx-display span { display: block; }
.hx-display em { display: inline-block; font-style: italic; color: var(--hx-lime); padding-right: .08em; }
.hx-sub { color: #fff; font-size: 1.05rem; line-height: 1.4; max-width: 34ch; margin: 0 0 18px; font-weight: 500; }
.hx-trust { list-style: none; display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 12px 14px; margin: 0 0 20px; padding: 0; }
.hx-trust li { display: flex; align-items: center; gap: 7px; font-size: .74rem; line-height: 1.25; font-weight: 600; color: #fff; }
.hx-trust svg { width: 34px; height: 34px; flex: 0 0 auto; color: var(--hx-lime); border: 2px solid var(--hx-lime); border-radius: 50%; padding: 6px; }
.hx-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 10px 26px; border-radius: 10px; font-family: 'Poppins', 'Poppins Fallback', sans-serif; font-weight: 800; font-size: 1rem; letter-spacing: .01em; text-decoration: none; border: 2px solid transparent; transition: background .15s, color .15s, border-color .15s; }
.hx-btn svg { width: 20px; height: 20px; flex: 0 0 auto; }
.hx-call { background: var(--hx-lime); color: var(--hx-ink); border-color: var(--hx-lime); }
.hx-call:hover, .hx-call:focus-visible { background: #D3E64A; border-color: #D3E64A; }
.hx-quote { background: rgba(5,43,67,.55); color: #fff; border-color: rgba(255,255,255,.75); }
.hx-quote:hover, .hx-quote:focus-visible { background: #fff; color: var(--hx-ink); border-color: #fff; }
.hx-text a { color: var(--hx-blue); font-weight: 700; text-underline-offset: 3px; }
.dr-text { margin: 12px 0 0; font-size: .92rem; }
.dr-text a { color: var(--hx-blue); font-weight: 700; text-underline-offset: 3px; }

/* ---- checker row (overlaps hero) ---- */
.hx-check { padding: 0 0 34px; margin-top: -78px; position: relative; z-index: 5; background: transparent; }
.hx-check .wrap { max-width: none; padding: 0 clamp(16px, 3.2vw, 56px); }
.home-redesign .area-checker { max-width: none; display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr); gap: 22px; align-items: stretch; }
.home-redesign .ac-panel { text-align: left; background: #fff; border: 1px solid #E3EAF0; border-radius: 18px; padding: 22px 26px 18px; box-shadow: 0 14px 38px rgba(5,43,67,.16); display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-content: center; }
.home-redesign .ac-pin { width: 36px; height: 44px; margin: 4px 0 0; fill: #BFD32E; grid-row: 1; }
.home-redesign .ac-pin path { fill: var(--hx-lime-dk); }
.home-redesign .ac-ptxt { grid-column: 2; }
.home-redesign .ac-panel form, .home-redesign .ac-examples { grid-column: 1 / -1; }
.home-redesign .ac-heading { font-family: 'Poppins', 'Poppins Fallback', sans-serif; font-weight: 800; font-size: clamp(1.25rem, 1.9vw, 1.7rem); line-height: 1.15; letter-spacing: 0; margin: 0 0 4px; color: var(--hx-ink); text-transform: uppercase; }
.home-redesign .ac-heading .ac-blue { color: var(--hx-blue); }
.home-redesign .ac-intro { font-size: .86rem; color: #4C6672; margin: 0 0 14px; line-height: 1.4; text-align: left; max-width: none; }
.home-redesign .area-checker form { display: flex; gap: 12px; flex-wrap: wrap; margin: 0; }
.home-redesign .area-checker .ac-field { flex: 1 1 220px; }
.home-redesign .area-checker input[type="text"] { min-height: 54px; font-size: 1rem; font-family: 'Public Sans', 'Public Sans Fallback', sans-serif; padding-left: 52px; border-radius: 10px; border: 1.5px solid #D5DEE5; font-weight: 500; }
.home-redesign .ac-field svg { left: 16px; width: 22px; height: 22px; }
.home-redesign .area-checker .ac-go { min-height: 54px; padding: 12px 26px; border-radius: 10px; background: var(--hx-lime); border-color: var(--hx-lime); color: var(--hx-ink); font-family: 'Poppins', 'Poppins Fallback', sans-serif; font-weight: 800; font-size: .98rem; letter-spacing: .01em; flex: 0 0 auto; }
.home-redesign .area-checker .ac-go:hover, .home-redesign .area-checker .ac-go:focus-visible { background: #D3E64A; border-color: #D3E64A; }
.home-redesign .ac-examples { text-align: left; font-size: .8rem; margin: 9px 0 0; color: #5B6670; }
.hx-svc { background: #fff; border: 1px solid #E3EAF0; border-radius: 18px; box-shadow: 0 14px 38px rgba(5,43,67,.16); padding: 14px 12px; display: flex; align-items: center; }
.hx-svc ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); width: 100%; }
.hx-svc li { border-left: 1px solid #E3EAF0; }
.hx-svc li:first-child { border-left: 0; }
.hx-svc a { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; text-decoration: none; color: var(--hx-ink); font-size: .9rem; font-weight: 600; line-height: 1.2; padding: 6px 4px; }
.hx-svc a:hover, .hx-svc a:focus-visible { color: var(--hx-blue); }
.hx-svc svg { width: 46px; height: 46px; color: var(--hx-blue); }
.home-redesign .area-checker .ac-result { grid-column: 1 / -1; }

/* ---- Plumbing done right ---- */
.dr { background: #E9F2F6; padding: 0; }
.dr-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .75fr) minmax(0, .9fr); max-width: 1536px; margin: 0 auto; align-items: stretch; }
.dr-copy { padding: 40px 36px 40px max(28px, calc((100vw - 1280px) / 2 + 28px)); }
.dr-eyebrow { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--hx-ink); margin: 0 0 10px; white-space: nowrap; }
.dr-eyebrow i { font-style: normal; color: #7C93A3; margin: 0 .35em; }
.dr-title { font-family: var(--hx-disp); font-weight: 800; text-transform: uppercase; max-width: 6.3em; font-size: clamp(3rem, 5.6vw, 5.2rem); line-height: .9; color: var(--hx-ink); margin: 0 0 18px; }
.dr-title span { color: #5F7A00; }
.dr-copy p { color: #1F3A52; font-size: .98rem; max-width: 62ch; margin-bottom: .8em; line-height: 1.55; }
.dr-motto { font-weight: 700; color: var(--hx-blue) !important; font-size: 1.1rem !important; margin-bottom: .6em; }
.dr-note { font-size: .92rem !important; font-weight: 600; }
.dr-btn { background: var(--hx-lime); color: var(--hx-ink); border-color: var(--hx-lime); min-height: 50px; padding: 10px 24px; margin-top: 6px; }
.dr-btn:hover, .dr-btn:focus-visible { background: #D3E64A; border-color: #D3E64A; }
.dr-photo { position: relative; min-height: 380px; background: #0A2E45; clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); margin-left: -4%; }
.dr-photo picture, .dr-photo img { display: block; width: 100%; height: 100%; }
.dr-photo img { object-fit: cover; object-position: 50% 55%; position: absolute; inset: 0; }
.dr-panel { background: radial-gradient(circle at 85% 90%, rgba(80,176,208,.35), transparent 45%), radial-gradient(circle at 10% 0%, rgba(191,211,46,.12), transparent 40%), linear-gradient(160deg, #052B43, #08476A); color: #fff; padding: 44px max(28px, calc((100vw - 1280px) / 2 + 28px)) 44px 56px; margin-left: -6%; clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%); display: flex; align-items: center; }
.dr-panel ul { list-style: none; margin: 0; padding: 0 0 0 4%; display: grid; gap: 15px; width: 100%; }
.dr-panel li { display: flex; align-items: center; gap: 14px; font-size: 1.02rem; line-height: 1.3; font-weight: 500; color: #fff; }
.dr-panel li svg { width: 34px; height: 34px; flex: 0 0 auto; color: var(--hx-lime); }
.dr-panel small { display: block; font-size: .8rem; opacity: .8; font-weight: 400; }

/* ---- review strip ---- */
.rv { background: #fff; border-bottom: 1px solid #E3EAF0; padding: 22px 0 16px; }
.rv-wrap { max-width: 1280px; flex-wrap: wrap; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 34px; justify-content: space-between; }
.rv-score { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--hx-ink); flex: 0 1 auto; }
.rv-stars { display: flex; gap: 3px; }
.rv-stars svg { width: 32px; height: 32px; fill: #F5B301; stroke: #F5B301; stroke-width: 8; stroke-linejoin: round; }
.rv-txt b { display: block; font-family: 'Poppins', 'Poppins Fallback', sans-serif; font-size: 1.12rem; }
.rv-txt small { display: block; font-size: .78rem; color: #5B6670; line-height: 1.3; }
.rv-score:hover b, .rv-score:focus-visible b { text-decoration: underline; text-underline-offset: 3px; }
.rv-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 28px; flex: 1 1 560px; justify-content: space-between; }
.rv-list li { display: flex; align-items: center; gap: 10px; font-size: .88rem; white-space: nowrap; font-weight: 500; line-height: 1.25; color: var(--hx-ink); }
.rv-list svg { width: 38px; height: 38px; color: var(--hx-blue); flex: 0 0 auto; }
.rv-facts { flex: 1 1 100%; text-align: center; font-size: .78rem; color: #5B6670; margin: 0; }

/* ---- responsive ---- */
@media (max-width: 1100px) {
  .home-redesign .area-checker { grid-template-columns: 1fr; }
  .hx-svc ul { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .dr-grid { grid-template-columns: 1fr 1fr; }
  .dr-copy { grid-column: 1 / -1; padding: 40px 28px 28px; }
  .dr-photo { margin-left: 0; clip-path: none; min-height: 320px; }
  .dr-panel { margin-left: 0; clip-path: none; padding: 36px 28px; }
  .dr-panel ul { padding-left: 0; }
}
@media (max-width: 900px) {
  .dr-eyebrow { white-space: normal; }
  .dr-copy, .dr-photo, .dr-panel { min-width: 0; }
  .hx { padding: 30px 0 0; }
  .hx-art { position: relative; z-index: 0; width: 100%; height: 300px; aspect-ratio: auto; margin-top: 26px; order: 3; }
  .hx { display: flex; flex-direction: column; }
  .hx-wrap { order: 1; width: 100%; padding-bottom: 0; }
  .hx-art img { object-position: 20% 50%; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%); mask-image: linear-gradient(180deg, transparent 0, #000 22%); -webkit-mask-composite: source-over; mask-composite: add; }
  .hx-bentley { left: 4%; top: 16%; font-size: 2rem; }
  .hx-check { margin-top: -22px; }
  .hx-copy { max-width: none; }
  .hx-sub { max-width: none; }
}
@media (max-width: 640px) {
  .hx-display { font-size: clamp(2.7rem, 13.5vw, 3.5rem); }
  .hx-trust { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .hx-cta .hx-btn { flex: 1 1 100%; }
  .hx-art { height: 260px; }
  .home-redesign .ac-panel { padding: 18px 16px 16px; }
  .home-redesign .area-checker .ac-go { flex: 1 1 100%; }
  .hx-svc ul { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 12px; }
  .hx-svc li:nth-child(4) { border-left: 0; }
  .dr-grid { grid-template-columns: 1fr; }
  .dr-photo { min-height: 260px; }
  .rv-list { justify-content: flex-start; }
  .rv-list li { flex: 1 1 44%; white-space: normal; }
  .rv-facts { text-align: left; }
  .rv-stars svg { width: 28px; height: 28px; }
}

/* Homepage checker uses the site's teal/navy palette (service-areas page keeps the approved red/black result style) */
.home-redesign .area-checker { --ac-red: #0A6E94; --ac-red-dk: #08536F; --ac-ink: #052B43; }
.home-redesign .area-checker input[type="text"]:focus { box-shadow: 0 0 0 4px rgba(10,110,148,.18); }
.home-redesign .ac-list li:hover, .home-redesign .ac-list li[aria-selected="true"] { background: #E9F2F6; }
.home-redesign .ac-pick span { opacity: .8; font-weight: 600; margin-left: 4px; }
.hx-quote-wrap { display: flex; flex-direction: column; gap: 8px; align-items: stretch; }
.hx-quote-note { margin: 0; font-size: .92rem; line-height: 1.35; color: #fff; text-align: center; }
.hx-quote { text-align: center; line-height: 1.2; }
@media (max-width: 760px) { .hx-quote-wrap { flex: 1 1 100%; } }

/* Accessibility: contrast + link target spacing (round 5) */
.dr-motto { color: #08547A !important; }
.dr-text a { color: #08547A; }
