/* ============================================================
   Champion Plumbing — Global Styles
   Brand: #d1142d (red) / #201f1d (charcoal) · Font: Poppins
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ---------- Design tokens ---------- */
:root {
  --brand: #d1142d;
  --brand-dark: #a90f23;
  --brand-soft: #fdecef;
  --dark: #201f1d;
  --dark-2: #2c2b29;
  --text: #201f1d;
  --muted: #6d6c69;
  --line: #e8e7e5;
  --bg: #ffffff;
  --bg-alt: #f7f7f8;

  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 10px rgba(32, 31, 29, .06);
  --shadow-md: 0 18px 44px rgba(32, 31, 29, .14);
  --shadow-brand: 0 10px 24px rgba(209, 20, 45, .28);

  --header-h: 74px;
  --container: 1250px;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

body.no-scroll { overflow: hidden; }

img, svg { display: block; max-width: 100%; }

a { color: var(--brand); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--brand-dark); }

button { font-family: inherit; }

ul { list-style: none; margin: 0; padding: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
  padding-left: max(24px, env(safe-area-inset-left));
  padding-right: max(24px, env(safe-area-inset-right));
}

/* Accessibility helpers */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 2000;
  background: var(--brand);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 8px 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; color: #fff; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

:focus-visible { outline: 3px solid rgba(209, 20, 45, .55); outline-offset: 2px; border-radius: 4px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease), color .2s var(--ease);
}
.btn--brand { background: var(--brand); color: #fff; box-shadow: var(--shadow-brand); }
.btn--brand:hover { background: var(--brand-dark); color: #fff; transform: translateY(-2px); }
.btn--block { width: 100%; }
.btn svg { width: 18px; height: 18px; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg);
  box-shadow: 0 1px 0 var(--line);
}

/* ---------- Top utility bar ---------- */
.topbar {
  background: var(--dark);
  color: #d8d6d2;
  font-size: .8rem;
  max-height: 48px;
  overflow: hidden;
  transition: max-height .35s var(--ease), opacity .25s var(--ease);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 40px;
}
.topbar__list { display: flex; align-items: center; gap: 1.6rem; }
.topbar__item { display: inline-flex; align-items: center; gap: .5rem; white-space: nowrap; }
.topbar a { color: #d8d6d2; }
.topbar a:hover { color: #fff; }
.topbar svg { width: 15px; height: 15px; color: var(--brand); flex: none; }
.topbar__list--right .topbar__item { font-weight: 500; }

/* ---------- Navbar row ---------- */
.navbar { background: var(--bg); transition: box-shadow .3s var(--ease); }
.navbar__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  min-height: var(--header-h);
  transition: min-height .3s var(--ease);
}

/* Brand */
.brand { display: inline-flex; align-items: center; gap: .6rem; justify-self: start; color: var(--dark); }
.brand:hover { color: var(--dark); }
.brand__mark {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 11px;
  background: var(--brand);
  color: #fff;
  box-shadow: var(--shadow-brand);
  flex: none;
}
.brand__mark svg { width: 22px; height: 22px; }
.brand__text {
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: -.01em;
  line-height: 1;
  white-space: nowrap;
}
.brand__text strong { font-weight: 800; color: var(--brand); }

/* Primary navigation */
.mainnav { justify-self: center; }
.mainnav__list { display: flex; align-items: center; gap: .15rem; }
.mainnav__item { position: relative; }

.mainnav__link {
  display: inline-flex;
  align-items: center;
  gap: .32rem;
  padding: .6rem .78rem;
  border: 0;
  background: none;
  font-size: .93rem;
  font-weight: 500;
  color: var(--dark);
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.mainnav__link:hover,
.mainnav__item:hover > .mainnav__link { color: var(--brand); background: var(--brand-soft); }
.mainnav__link.is-active { color: var(--brand); }
.mainnav__link.is-active::after {
  content: "";
  position: absolute;
  left: .78rem; right: .78rem; bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
}
.mainnav__link svg { width: 13px; height: 13px; transition: transform .25s var(--ease); }
.has-dropdown:hover .mainnav__toggle svg,
.has-dropdown.is-open .mainnav__toggle svg { transform: rotate(180deg); }

/* Invisible bridge so the dropdown doesn't close in the gap */
.has-dropdown::after {
  content: "";
  position: absolute;
  top: 100%; left: 0; right: 0;
  height: 16px;
}

/* Dropdown panels */
.dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  width: max-content;
  max-width: min(620px, calc(100vw - 32px));
  max-height: calc(100vh - 140px);
  overflow-y: auto;
  padding: 1.15rem 1.15rem 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .24s var(--ease), transform .24s var(--ease), visibility .24s;
  z-index: 60;
  overscroll-behavior: contain;
}
/* Right-most menu opens leftwards so it never spills past the viewport */
.dropdown--locations { left: auto; right: 0; }
.has-dropdown:focus-within .dropdown,
.has-dropdown.is-open .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
@media (hover: hover) and (pointer: fine) {
  .has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
}
.dropdown__title {
  margin: 0 0 .65rem .6rem;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.dropdown__grid { display: grid; grid-template-columns: repeat(2, minmax(190px, 1fr)); gap: .15rem .5rem; }
.dropdown--locations .dropdown__grid { grid-template-columns: repeat(3, minmax(150px, 1fr)); }
.dropdown__grid a {
  display: block;
  padding: .52rem .6rem;
  border-radius: 9px;
  font-size: .89rem;
  font-weight: 500;
  color: #34332f;
  transition: background-color .18s var(--ease), color .18s var(--ease), padding-left .18s var(--ease);
}
.dropdown__grid a:hover { background: var(--brand-soft); color: var(--brand); padding-left: .9rem; }
.dropdown__all {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin: 1rem 0 0 .6rem;
  padding-top: .85rem;
  width: calc(100% - 1.2rem);
  border-top: 1px solid var(--line);
  font-size: .85rem;
  font-weight: 700;
  color: var(--brand);
}
.dropdown__all svg { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.dropdown__all:hover svg { transform: translateX(4px); }

/* Header call button */
.header-call {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .5rem 1.1rem .5rem .55rem;
  background: var(--brand);
  color: #fff;
  border-radius: 999px;
  box-shadow: var(--shadow-brand);
  transition: background-color .2s var(--ease), transform .2s var(--ease);
}
.header-call:hover { background: var(--brand-dark); color: #fff; transform: translateY(-2px); }
.header-call__icon {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
  flex: none;
  animation: ring 2.6s var(--ease) infinite;
}
.header-call__icon svg { width: 17px; height: 17px; }
.header-call__text { font-size: .95rem; font-weight: 700; line-height: 1; white-space: nowrap; }
@keyframes ring {
  0%, 70%, 100% { transform: rotate(0); }
  75% { transform: rotate(-12deg); }
  82% { transform: rotate(10deg); }
  89% { transform: rotate(-6deg); }
}

/* Hamburger */
.hamburger {
  display: none;
  justify-self: end;
  width: 46px; height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  position: relative;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.hamburger:hover { border-color: var(--brand); }
.hamburger span {
  position: absolute;
  left: 50%;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--dark);
  transform: translateX(-50%);
  transition: transform .28s var(--ease), opacity .2s var(--ease), top .28s var(--ease);
}
.hamburger span:nth-child(1) { top: 15px; }
.hamburger span:nth-child(2) { top: 22px; }
.hamburger span:nth-child(3) { top: 29px; }
.hamburger.is-active span:nth-child(1) { top: 22px; transform: translateX(-50%) rotate(45deg); }
.hamburger.is-active span:nth-child(2) { opacity: 0; }
.hamburger.is-active span:nth-child(3) { top: 22px; transform: translateX(-50%) rotate(-45deg); }

/* Scrolled (sticky) state */
.site-header.is-scrolled .topbar { max-height: 0; opacity: 0; }
.site-header.is-scrolled .navbar { box-shadow: 0 10px 30px rgba(32, 31, 29, .12); }
.site-header.is-scrolled .navbar__inner { min-height: 64px; }

/* ============================================================
   MOBILE DRAWER
   ============================================================ */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(32, 31, 29, .55);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s;
  z-index: 1090;
}
.drawer-overlay.is-visible { opacity: 1; visibility: visible; }

.drawer {
  position: fixed;
  top: 0; right: 0;
  width: min(380px, 92vw);
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  background: #fff;
  box-shadow: -20px 0 60px rgba(32, 31, 29, .2);
  transform: translateX(105%);
  transition: transform .34s var(--ease);
  z-index: 1100;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  overflow: hidden;
}
.drawer.is-open { transform: translateX(0); }

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--line);
}
.drawer__head .brand__text { font-size: 1.15rem; }
.drawer__close {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--dark);
  cursor: pointer;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.drawer__close:hover { border-color: var(--brand); color: var(--brand); }
.drawer__close svg { width: 20px; height: 20px; }

.drawer__nav { flex: 1; overflow-y: auto; padding: .5rem 1rem 1rem; }
.drawer__list > li { border-bottom: 1px solid var(--line); }
.drawer__list > li > a,
.drawer__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1rem .35rem;
  border: 0;
  background: none;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
}
.drawer__list > li > a:hover,
.drawer__toggle:hover { color: var(--brand); }
.drawer__toggle svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.drawer__group.is-open .drawer__toggle { color: var(--brand); }
.drawer__group.is-open .drawer__toggle svg { transform: rotate(180deg); }

.drawer__sub {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s var(--ease);
}
.drawer__sub a {
  display: block;
  padding: .6rem .35rem .6rem 1rem;
  font-size: .92rem;
  font-weight: 500;
  color: #4a4945;
  border-left: 2px solid var(--line);
  margin-left: .2rem;
}
.drawer__sub a:hover { color: var(--brand); border-left-color: var(--brand); }
.drawer__sub--grid { display: block; }

.drawer__foot { padding: 1rem 1.25rem 1.4rem; border-top: 1px solid var(--line); background: var(--bg-alt); }
.drawer__meta { margin: .8rem 0 0; font-size: .78rem; color: var(--muted); text-align: center; }

/* ============================================================
   RESPONSIVE — covers phones → tablets → laptops → desktops
   Breakpoints:
     ≥1161px   Desktop (full nav + full top bar)
     1025–1160 Desktop (tightened to fit)
     768–1024  Tablet  (brand · call + number · hamburger)
     ≤767      Mobile  (brand · call icon · hamburger)
     ≤480      Small phone
     ≤360      Extra small phone
   ============================================================ */

/* ---------- Small desktop / laptop: tighten so all items fit ---------- */
@media (min-width: 1025px) and (max-width: 1160px) {
  .navbar__inner { gap: .75rem; }
  .mainnav__list { gap: 0; }
  .mainnav__link { padding: .55rem .5rem; font-size: .86rem; }
  .brand__text { font-size: 1.1rem; }
  .header-call { padding: .45rem .95rem .45rem .5rem; }
  .header-call__text { font-size: .85rem; }
  .topbar__list--left .topbar__item:nth-child(2) { display: none; }
}

/* ---------- Tablet: brand left · call (icon + number) + hamburger right ---------- */
@media (max-width: 1024px) {
  .topbar { display: none; }
  .navbar__inner {
    grid-template-columns: 1fr auto auto;
    gap: .75rem;
    min-height: 68px;
  }
  .mainnav { display: none; }
  .dropdown { display: none; }
  .hamburger { display: block; }
  .header-call {
    justify-self: end;
    width: auto;
    height: auto;
    padding: .45rem 1.05rem .45rem .5rem;
    border-radius: 999px;
  }
  .header-call__icon { width: 34px; height: 34px; background: rgba(255, 255, 255, .18); }
  .header-call__text { display: inline; font-size: .9rem; }
  .site-header.is-scrolled .navbar__inner { min-height: 62px; }
}

/* ---------- Mobile: brand left · call icon + hamburger alongside right ---------- */
@media (max-width: 767px) {
  .container {
    padding-inline: 20px;
    padding-left: max(20px, env(safe-area-inset-left));
    padding-right: max(20px, env(safe-area-inset-right));
  }
  .navbar__inner {
    grid-template-columns: 1fr auto auto;
    gap: .5rem;
    min-height: 66px;
  }
  .brand { grid-column: 1; }
  .brand__text { font-size: 1.12rem; }
  .brand__mark { width: 36px; height: 36px; }

  .header-call {
    grid-column: 2;
    justify-self: end;
    width: 46px;
    height: 46px;
    padding: 0;
    border-radius: 50%;
  }
  .header-call__text { display: none; }
  .header-call__icon { width: 46px; height: 46px; background: transparent; }

  .hamburger { grid-column: 3; justify-self: end; }
  .site-header.is-scrolled .navbar__inner { min-height: 60px; }
}

/* ---------- Small phones (iPhone SE, Galaxy, etc.) ---------- */
@media (max-width: 480px) {
  .navbar__inner { min-height: 62px; gap: .4rem; }
  .brand__text { font-size: 1.02rem; }
  .brand__mark { width: 34px; height: 34px; border-radius: 10px; }
  .brand__mark svg { width: 19px; height: 19px; }
  .header-call,
  .header-call__icon { width: 42px; height: 42px; }
  .hamburger { width: 42px; height: 42px; }
  .drawer { width: min(380px, 94vw); }
}

/* ---------- Extra small phones (≤360px) ---------- */
@media (max-width: 360px) {
  .container {
    padding-inline: 14px;
    padding-left: max(14px, env(safe-area-inset-left));
    padding-right: max(14px, env(safe-area-inset-right));
  }
  .navbar__inner { min-height: 58px; gap: .3rem; }
  .brand__mark { width: 32px; height: 32px; }
  .brand__text { font-size: .95rem; }
  .header-call,
  .header-call__icon { width: 40px; height: 40px; }
  .hamburger { width: 40px; height: 40px; border-radius: 10px; }
  .hamburger span { width: 18px; }
  .drawer { width: 100vw; }
}

/* ---------- Landscape phones / short viewports ---------- */
@media (max-width: 1024px) and (max-height: 500px) and (orientation: landscape) {
  .navbar__inner { min-height: 56px !important; }
  .drawer__head { padding: .6rem 1rem; }
  .drawer__nav { padding: .25rem .85rem .75rem; }
  .drawer__list > li > a,
  .drawer__toggle { padding: .7rem .3rem; }
}

/* ---------- Large desktop / ultra-wide ---------- */
@media (min-width: 1600px) {
  .mainnav__link { padding: .6rem .95rem; font-size: .96rem; }
}

/* ---------- Accessibility: reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .header-call__icon { animation: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header,
  .drawer,
  .drawer-overlay,
  .to-top,
  .footer__map { display: none !important; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--dark); color: #b9b7b3; }

/* Emergency CTA band */
.footer-cta { background: var(--brand); color: #fff; }
.footer-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 28px;
}
.footer-cta__text h2 { margin: 0 0 .25rem; font-size: clamp(1.15rem, 2.4vw, 1.6rem); font-weight: 700; color: #fff; }
.footer-cta__text p { margin: 0; font-size: .92rem; color: rgba(255, 255, 255, .85); }

.btn--light { background: #fff; color: var(--brand); box-shadow: 0 10px 24px rgba(0, 0, 0, .18); }
.btn--light:hover { background: #fff; color: var(--brand-dark); transform: translateY(-2px); }
.btn--light svg { width: 18px; height: 18px; }

/* Columns */
.footer-main { padding: 60px 0 48px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.5fr;
  gap: 44px 32px;
  align-items: start;
}
.footer-col { min-width: 0; }

.footer-brand { display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1rem; color: #fff; }
.footer-brand:hover { color: #fff; }
.footer-brand .brand__text { color: #fff; font-size: 1.25rem; }
.footer-about { margin: 0 0 1.4rem; font-size: .9rem; line-height: 1.75; color: #b9b7b3; }

.footer-social { display: flex; gap: .65rem; }
.footer-social a {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .16);
  color: #d8d6d2;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.footer-social a:hover { background: var(--brand); border-color: var(--brand); color: #fff; transform: translateY(-3px); }
.footer-social svg { width: 19px; height: 19px; }

.footer-title {
  position: relative;
  margin: 0 0 1.2rem;
  padding-bottom: .7rem;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}
.footer-title::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 34px; height: 3px;
  border-radius: 3px;
  background: var(--brand);
}

.footer-links li { margin-bottom: .1rem; }
.footer-links a {
  display: inline-block;
  padding: .32rem 0;
  font-size: .9rem;
  color: #b9b7b3;
  transition: color .18s var(--ease), transform .18s var(--ease);
}
.footer-links a:hover { color: #fff; transform: translateX(4px); }

/* NAP + map */
.footer-nap { display: grid; gap: .8rem; margin-bottom: 1.4rem; font-style: normal; }
.footer-nap__row { display: flex; gap: .7rem; font-size: .9rem; line-height: 1.6; color: #b9b7b3; }
.footer-nap__row svg { width: 18px; height: 18px; color: var(--brand); flex: none; margin-top: 3px; }
.footer-nap strong { color: #fff; font-weight: 600; }
.footer-nap a { color: #b9b7b3; }
.footer-nap a:hover { color: #fff; }

.footer__map {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  background: var(--dark-2);
}
.footer__map iframe { display: block; width: 100%; height: 100%; border: 0; filter: grayscale(.15); }

/* Bottom bar */
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); background: #191817; }
.footer-bottom__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 1.5rem;
  flex-wrap: wrap;
  padding-block: 20px;
  font-size: .82rem;
  color: #9a9894;
}
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.footer-legal a { color: #9a9894; }
.footer-legal a:hover { color: #fff; }

/* Back to top */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 900;
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  cursor: pointer;
  box-shadow: var(--shadow-brand);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s, background-color .2s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--brand-dark); }
.to-top svg { width: 20px; height: 20px; }

/* ---------- Footer responsive ---------- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 28px; }
  .footer-col--brand { grid-column: 1 / -1; }
  .footer-col--nap { grid-column: 1 / -1; }
  .footer__map { aspect-ratio: 16 / 9; }
}

@media (max-width: 767px) {
  .footer-cta__inner { flex-direction: column; align-items: flex-start; padding-block: 24px; }
  .footer-cta .btn--light { width: 100%; }
  .footer-main { padding: 44px 0 36px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer__map { aspect-ratio: 16 / 10; }
  .footer-bottom__inner { flex-direction: column; text-align: center; }
  .footer-legal { justify-content: center; }
  .to-top { right: 16px; bottom: 16px; }
}

/* ============================================================
   HOME PAGE
   ============================================================ */
.icon-sprite { display: none; }
.ico { width: 1.15em; height: 1.15em; flex: none; }

/* Extra button variants */
.btn--lg { padding: 15px 30px; font-size: 1rem; }
.btn--outline { background: transparent; color: var(--dark); border: 2px solid var(--line); }
.btn--outline:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }
.btn--dark { background: var(--dark); color: #fff; }
.btn--dark:hover { background: #000; color: #fff; transform: translateY(-2px); }
.btn--ghost-light { background: rgba(255, 255, 255, .1); color: #fff; border: 2px solid rgba(255, 255, 255, .45); }
.btn--ghost-light:hover { background: #fff; color: var(--dark); border-color: #fff; }

/* Shared section scaffolding */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin: 0 auto clamp(32px, 4vw, 48px); text-align: center; }
.section-head h2 { margin: .35rem 0 0; font-size: clamp(1.6rem, 3.6vw, 2.4rem); line-height: 1.2; color: var(--dark); letter-spacing: -.02em; }
.section-head p { margin: .7rem 0 0; color: var(--muted); }
.eyebrow { margin: 0; color: var(--brand); font-weight: 600; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow--light { color: #ffb0bb; }
.section-cta { margin: clamp(32px, 4vw, 46px) 0 0; text-align: center; }

/* ---------- 1. Hero ---------- */
.hero { position: relative; background: linear-gradient(180deg, #fff 0%, var(--bg-alt) 100%); overflow: hidden; }
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  padding-block: clamp(40px, 6vw, 72px) clamp(48px, 7vw, 88px);
}
.hero h1 { margin: .55rem 0 0; font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.08; letter-spacing: -.02em; color: var(--dark); }
.hero__lede { margin: 1.1rem 0 0; max-width: 58ch; font-size: clamp(1rem, 1.6vw, 1.15rem); color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: .55rem 1.3rem; margin-top: 1.8rem; }
.hero__trust li { display: inline-flex; align-items: center; gap: .45rem; font-size: .88rem; font-weight: 500; color: var(--dark); }
.hero__trust .ico { width: 1.05em; height: 1.05em; color: var(--brand); }
.hero__media { position: relative; margin: 0; }
.hero__media img { width: 100%; height: auto; aspect-ratio: 622 / 418; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.hero__badge {
  position: absolute;
  left: -14px; bottom: 22px;
  display: flex; align-items: center; gap: .65rem;
  max-width: 230px;
  padding: .7rem 1rem;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-md);
}
.hero__badge .ico { width: 28px; height: 28px; color: var(--brand); }
.hero__badge span { display: flex; flex-direction: column; font-size: .74rem; line-height: 1.25; color: var(--muted); }
.hero__badge strong { font-size: .95rem; color: var(--dark); }

/* ---------- 2. Trust ---------- */
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.trust-card {
  padding: 24px 20px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.trust-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: #e0ded9; }
.trust-card .ico { width: 30px; height: 30px; margin: 0 auto 10px; color: var(--brand); }
.trust-card h3 { margin: 0 0 .35rem; font-size: 1rem; color: var(--dark); }
.trust-card p { margin: 0; font-size: .86rem; line-height: 1.55; color: var(--muted); }

/* ---------- 3. Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 20px; }
.service-card {
  display: flex;
  flex-direction: column;
  padding: 26px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.service-card__icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 16px; border-radius: 14px; background: var(--brand-soft); color: var(--brand); }
.service-card__icon .ico { width: 26px; height: 26px; }
.service-card h3 { margin: 0 0 .5rem; font-size: 1.1rem; color: var(--dark); }
.service-card p { margin: 0 0 1.1rem; font-size: .9rem; color: var(--muted); }
.card-link { display: inline-flex; align-items: center; gap: .4rem; margin-top: auto; font-size: .9rem; font-weight: 600; color: var(--brand); }
.card-link .ico { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.card-link:hover .ico { transform: translateX(4px); }

/* ---------- 4. Emergency ---------- */
.emergency { position: relative; color: #fff; background: var(--dark); overflow: hidden; }
.emergency::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(32, 31, 29, .97) 0%, rgba(32, 31, 29, .9) 52%, rgba(209, 20, 45, .85) 100%);
}
.emergency__inner { position: relative; padding-block: clamp(56px, 8vw, 96px); }
.emergency__content { max-width: 760px; }
.emergency h2 { margin: .45rem 0 0; font-size: clamp(1.7rem, 3.8vw, 2.6rem); line-height: 1.14; color: #fff; }
.emergency p { margin: 1rem 0 0; color: rgba(255, 255, 255, .85); }
.emergency__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: .5rem 1.2rem; margin-top: 1.6rem; }
.emergency__list li { position: relative; padding-left: 1.5rem; font-weight: 500; color: #fff; }
.emergency__list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: #ff6b7f; }
.emergency__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.9rem; }

/* ---------- 5. Why choose us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.why-card {
  padding: 26px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: #e0ded9; }
.why-card .ico { width: 34px; height: 34px; margin-bottom: 14px; color: var(--brand); }
.why-card h3 { margin: 0 0 .45rem; font-size: 1.08rem; color: var(--dark); }
.why-card p { margin: 0; font-size: .9rem; line-height: 1.6; color: var(--muted); }

/* ---------- 6. Problems ---------- */
.problems-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 14px; }
.problem-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: .95rem;
  font-weight: 600;
  color: var(--dark);
  transition: transform .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.problem-card:hover { transform: translateX(4px); border-color: var(--brand); color: var(--brand); }
.problem-card .ico { width: 18px; height: 18px; color: var(--brand); transition: transform .2s var(--ease); }
.problem-card:hover .ico { transform: translateX(3px); }

/* ---------- 7. Areas ---------- */
.areas-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 158px), 1fr)); gap: 12px; }
.areas-grid a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 12px;
  text-align: center;
  font-size: .92rem;
  font-weight: 500;
  color: var(--dark);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.areas-grid a:hover { background: var(--brand); border-color: var(--brand); color: #fff; transform: translateY(-2px); }
.areas-note { margin: 28px 0 0; text-align: center; color: var(--muted); }

/* ---------- 8. How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 24px; padding-top: 14px; counter-reset: step; }
.step {
  position: relative;
  padding: 36px 26px 28px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.step__num {
  position: absolute;
  top: -22px; left: 50%;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  box-shadow: var(--shadow-brand);
}
.step h3 { margin: 0 0 .5rem; font-size: 1.1rem; color: var(--dark); }
.step p { margin: 0; font-size: .9rem; color: var(--muted); }

/* ---------- 9. Reviews ---------- */
.review-summary { display: flex; flex-direction: column; align-items: center; gap: .55rem; }
.stars { display: inline-flex; gap: 2px; color: #f5a623; }
.stars .ico { width: 20px; height: 20px; }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 22px; }
.review {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0;
  padding: 28px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.review:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.review__stars { margin-bottom: .8rem; color: #f5a623; letter-spacing: 2px; }
.review blockquote { margin: 0; }
.review blockquote p { margin: 0; font-size: .95rem; line-height: 1.7; color: #4a4945; }
.review figcaption { display: flex; flex-direction: column; margin-top: auto; padding-top: 1.2rem; }
.review figcaption cite { font-style: normal; font-weight: 700; color: var(--dark); }
.review figcaption span { font-size: .8rem; color: var(--muted); }

/* ---------- 10. About ---------- */
.about { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.about__media { margin: 0; }
.about__media img { width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.about__content h2 { margin: .4rem 0 0; font-size: clamp(1.6rem, 3.4vw, 2.3rem); line-height: 1.18; color: var(--dark); }
.about__content p { margin: 1rem 0 0; color: var(--muted); }
.about-chips { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.4rem; }
.about-chips li { padding: .45rem .85rem; background: var(--brand-soft); color: var(--brand-dark); font-size: .82rem; font-weight: 600; border-radius: 999px; }
.about__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }

/* ---------- 11. FAQ ---------- */
.faq-list { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 20px 22px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.5rem; font-weight: 300; line-height: 1; color: var(--brand); transition: transform .25s var(--ease); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] { border-color: #e5c4c9; box-shadow: var(--shadow-sm); }
.faq-item__body { padding: 0 22px 20px; color: var(--muted); }
.faq-item__body p { margin: 0; }

/* ---------- Home responsive ---------- */

/* Laptops / small desktops */
@media (max-width: 1180px) {
  .hero__inner { gap: 40px; }
}

/* Tablets landscape */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { max-width: 620px; margin-inline: auto; }
  .about { grid-template-columns: 1fr; }
  .about__media { max-width: 460px; margin-inline: auto; }
}

/* Tablets portrait */
@media (max-width: 900px) {
  .trust-grid,
  .why-grid,
  .services-grid,
  .problems-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Large phones */
@media (max-width: 767px) {
  .section { padding: clamp(44px, 8vw, 64px) 0; }
  .section-head { text-align: left; margin-inline: 0; margin-bottom: 28px; }
  .review-summary { align-items: flex-start; }
  .hero__actions .btn,
  .about__actions .btn { flex: 1 1 auto; }
  .hero__badge { left: 10px; bottom: 10px; }
  .section-cta .btn { width: 100%; }
}

/* Phones */
@media (max-width: 560px) {
  .trust-grid,
  .why-grid,
  .services-grid,
  .problems-grid,
  .steps { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .hero__badge {
    position: static;
    max-width: none;
    margin-top: 14px;
    box-shadow: var(--shadow-sm);
  }
}

/* Small phones */
@media (max-width: 480px) {
  .hero__actions .btn,
  .about__actions .btn { width: 100%; }
}

/* Extra small phones */
@media (max-width: 360px) {
  .hero__trust { gap: .45rem .9rem; }
  .service-card { padding: 22px 18px; }
  .areas-grid { grid-template-columns: 1fr; }
  .emergency__list { grid-template-columns: 1fr; }
}

/* ============================================================
   13. CONTACT PAGE
   ============================================================ */
.hero__inner--single { grid-template-columns: 1fr; max-width: 860px; }
.contact { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 56px); align-items: start; }

.contact-form {
  padding: clamp(24px, 4vw, 38px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.contact-form h2 { margin: 0 0 .4rem; font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.2; color: var(--dark); }
.contact-form > p { margin: 0 0 1.6rem; color: var(--muted); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: .4rem; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-size: .85rem; font-weight: 600; color: var(--dark); }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  font-size: .92rem;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}
.form-grid .btn { margin-top: .4rem; }
.form-note { margin: 1rem 0 0; font-size: .8rem; color: var(--muted); }
.form-success {
  margin: 1.4rem 0 0;
  padding: 14px 16px;
  border-radius: 10px;
  background: #eaf7ee;
  color: #1c6b34;
  font-size: .9rem;
  font-weight: 500;
}

.contact-info { display: grid; gap: 16px; }
.contact-card {
  display: flex;
  gap: 1rem;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: #e0ded9; }
.contact-card__icon {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  flex: none;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
}
.contact-card__icon .ico { width: 22px; height: 22px; }
.contact-card h3 { margin: 0 0 .3rem; font-size: 1rem; color: var(--dark); }
.contact-card p { margin: 0; font-size: .9rem; line-height: 1.6; color: var(--muted); }
.contact-card a { color: var(--muted); }
.contact-card a:hover { color: var(--brand); }

.contact-map {
  margin-top: clamp(40px, 6vw, 64px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.contact-map iframe { display: block; width: 100%; height: 380px; border: 0; }

@media (max-width: 900px) {
  .contact { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .form-grid { grid-template-columns: 1fr; }
  .contact-map iframe { height: 300px; }
}

/* ============================================================
   14. REVIEWS PAGE
   ============================================================ */
.review__source {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: .45rem;
}
.review__source svg { width: 14px; height: 14px; }
.reviews-summary {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  margin: 1.4rem 0 0;
}
.reviews-summary p { margin: 0; color: var(--muted); font-size: .9rem; }
