/**
 * @deprecated FROZEN — do not extend. Replaced by assets/css/v2/ after client mockups.
 * See _deprecated/css/README.md and _design/REFACTOR-PLAN.md
 */
/* Homepage rebuild template. Isolated from the legacy home.css pass. */
body.page-home {
  background: #f6f3ed;
  color: #152033;
}

.hm {
  --hm-ink: #101827;
  --hm-ink-2: #1c2a42;
  --hm-paper: #fbfaf6;
  --hm-paper-2: #f1ece3;
  --hm-line: rgba(16, 24, 39, .12);
  --hm-muted: #667085;
  --hm-accent: #9ac244;
  --hm-accent-2: #9a6bd6;
  --hm-shadow: 0 24px 80px rgba(16, 24, 39, .14);
  --hm-radius: 24px;
  font-family: var(--font-body);
  background: var(--hm-paper);
}

.hm[data-home-theme="electrical"] {
  --hm-accent: #9ac244;
  --hm-accent-2: #9a6bd6;
}

.hm[data-home-theme="hvac"] {
  --hm-accent: #9ac244;
  --hm-accent-2: #9a6bd6;
}

.hm[data-home-theme="plumbing"] {
  --hm-accent: #9ac244;
  --hm-accent-2: #9a6bd6;
}

.hm-container {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.hm a { text-decoration: none; }

.hm-hero {
  position: relative;
  overflow: hidden;
  padding: 30px 0 78px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(6, 13, 27, .98) 0%, rgba(9, 18, 34, .92) 48%, rgba(9, 18, 34, .64) 100%),
    url('/ads/assets/images/shared/hero-bg.webp') center / cover no-repeat;
}

.hm-hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  background: linear-gradient(0deg, rgba(6, 13, 27, .98), rgba(6, 13, 27, 0));
  pointer-events: none;
}

.hm-utility {
  position: relative;
  z-index: 2;
  width: min(1200px, calc(100% - 48px));
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  margin: 0 auto 28px;
  display: none;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .08);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.hm-utility span {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  color: rgba(255, 255, 255, .88);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-right: 1px solid rgba(255, 255, 255, .12);
}

.hm-utility span:last-child { border-right: 0; }

.hm-hero__inner {
  position: relative;
  z-index: 2;
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  min-height: 620px;
}

.hm-hero__copy {
  display: grid;
  gap: 24px;
  position: relative;
  z-index: 3;
}

.hm-review {
  width: fit-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
}

.hm-review img {
  width: 82px;
  height: auto;
  flex: 0 0 auto;
}

.hm-review span {
  max-width: 260px;
  color: rgba(255, 255, 255, .78);
  font-size: .9rem;
  line-height: 1.35;
}

.hm-review strong {
  display: block;
  color: #fff;
}

.hm-trade-switch {
  display: grid;
  gap: 10px;
}

.hm-hero__inner > .hm-trade-switch {
  grid-column: 1 / -1;
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 36px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 5;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .35);
}

.hm-hero__inner > .hm-trade-switch > span {
  margin: 0;
  color: rgba(255, 255, 255, .82);
  white-space: nowrap;
}

.hm-hero__inner > .hm-trade-switch div {
  display: inline-flex;
  flex-wrap: nowrap;
  gap: 6px;
}

.hm-hero__inner > .hm-trade-switch button {
  min-height: 38px;
  padding: 0 16px;
  font-size: .85rem;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, .74);
  box-shadow: none;
}

.hm-hero__inner > .hm-trade-switch button.is-active {
  background: linear-gradient(135deg, var(--hm-accent), var(--hm-accent-2));
  color: #fff;
}

.hm-trade-switch > span,
.hm-eyebrow {
  margin: 0;
  color: var(--hm-accent);
  font-size: .78rem;
  font-weight: 950;
  letter-spacing: .14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hm-trade-switch div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hm-trade-switch button {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  color: var(--hm-ink);
  font-weight: 900;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease;
}

.hm-trade-switch button:hover { transform: translateY(-1px); }
.hm-trade-switch button.is-active {
  background: linear-gradient(135deg, var(--hm-accent), var(--hm-accent-2));
  color: #fff;
  box-shadow: 0 16px 36px rgba(0, 0, 0, .24);
}

.hm-hero h1 {
  max-width: 720px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.75rem, 4.65vw, 4.9rem);
  line-height: .98;
  letter-spacing: 0;
}

.hm-hero-title-main { color: #fff; }

/* Cohesive multi-trade palette (premium, less "traffic-light") */
.hm-hero-title-electrical { color: #b6e35d; }
.hm-hero-title-plumbing { color: #4da6ff; }
.hm-hero-title-hvac { color: #e8664f; }

.hm-hero-title-electrical,
.hm-hero-title-plumbing,
.hm-hero-title-hvac {
  text-shadow: 0 10px 24px rgba(0, 0, 0, .22);
}

.hm-hero__lead {
  max-width: 590px;
  margin: 0;
  color: rgba(255, 255, 255, .86);
  font-size: clamp(1.02rem, 1.35vw, 1.22rem);
  line-height: 1.62;
}

.hm-hero__actions,
.hm-final__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease;
}

.hm-btn:hover {
  transform: translateY(-2px);
}

.hm-btn--primary {
  background: linear-gradient(135deg, #9a6bd6, #b389e8);
  color: #fff;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .2);
}

.hm-btn--trade {
  background: linear-gradient(135deg, #9ac244, #7a9038);
  color: #fff;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .2);
}

.hm-btn--secondary {
  background: #fff;
  color: var(--hm-ink);
  border: 1px solid rgba(16, 24, 39, .1);
}

.hm-proof-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hm-proof-list li {
  position: relative;
  display: block;
  padding-left: 44px;
  color: rgba(255, 255, 255, .9);
  font-weight: 800;
  line-height: 1.42;
}

.hm-proof-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: -1px;
  width: 28px;
  height: 28px;
  border: 2px solid rgba(255, 255, 255, .72);
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
}

.hm-proof-list li::after {
  content: '\2714';
  position: absolute;
  left: 8px;
  top: 5px;
  color: #9ac244;
  font-size: 1rem;
  line-height: 1;
  font-weight: 900;
}

.hm-hero__media {
  position: absolute;
  z-index: 2;
  left: auto;
  right: clamp(16px, 5vw, 84px);
  bottom: 18px;
  width: min(290px, 22vw);
  min-height: 460px;
  transform: none;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}

.hm-hero__media img {
  width: auto;
  height: min(42vw, 470px);
  max-width: none;
  filter: drop-shadow(0 26px 50px rgba(0, 0, 0, .28));
  -webkit-mask-image: linear-gradient(to top, transparent 0, black 52px);
  mask-image: linear-gradient(to top, transparent 0, black 52px);
}

.hm-live-card {
  position: absolute;
  left: auto;
  right: -18px;
  bottom: 112px;
  width: min(238px, 88%);
  transform: none;
  padding: 16px 18px;
  background: rgba(255, 255, 255, .92);
  color: var(--hm-ink);
  border: 1px solid rgba(255, 255, 255, .5);
  box-shadow: var(--hm-shadow);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.hm-live-card span {
  display: block;
  margin-bottom: 6px;
  color: var(--hm-accent);
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hm-live-card strong {
  display: block;
  color: var(--hm-ink);
  line-height: 1.25;
}

.hm-quote-card {
  align-self: center;
  padding: 28px;
  color: var(--hm-ink);
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(255, 255, 255, .56);
  box-shadow: var(--hm-shadow);
  position: relative;
  z-index: 4;
}

.hm-quote-card h2 {
  margin: 10px 0 10px;
  color: var(--hm-ink);
  font-size: 1.72rem;
  line-height: 1.05;
}

.hm-quote-card p:not(.hm-eyebrow) {
  margin: 0 0 18px;
  color: var(--hm-muted);
  line-height: 1.55;
}

.hm-quote-card form {
  display: grid;
  gap: 9px;
}

.hm-quote-card label {
  margin-top: 2px;
  color: #475467;
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hm-quote-card input,
.hm-quote-card select {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(16, 24, 39, .14);
  border-radius: var(--hm-radius);
  padding: 0 13px;
  background: #fff;
  color: var(--hm-ink);
}

.hm-quote-card input:focus,
.hm-quote-card select:focus {
  outline: 3px solid rgba(154, 107, 214, .18);
  border-color: var(--hm-accent);
}

.hm-quote-card button {
  min-height: 48px;
  margin-top: 8px;
  border: 0;
  border-radius: var(--hm-radius);
  background: linear-gradient(135deg, var(--hm-accent), var(--hm-accent-2));
  color: #fff;
  font-weight: 950;
  cursor: pointer;
}

.hm-offers,
.hm-services,
.hm-process,
.hm-pricing,
.hm-guarantee,
.hm-locations,
.hm-reviews,
.hm-final {
  padding: clamp(72px, 8vw, 116px) 0;
}

.hm-offers,
.hm-pricing,
.hm-reviews {
  background: #fff;
}

.hm-services,
.hm-guarantee,
.hm-final {
  background: var(--hm-paper);
}

.hm-process,
.hm-locations {
  background: var(--hm-paper-2);
}

.hm-section-head {
  display: grid;
  gap: 14px;
  max-width: 760px;
  margin-bottom: 34px;
}

.hm-section-head--split {
  max-width: none;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 28px;
}

.hm-section-head h2,
.hm-pricing h2,
.hm-locations h2,
.hm-final h2 {
  margin: 0;
  color: var(--hm-ink);
  font-size: clamp(2.1rem, 4.6vw, 4rem);
  line-height: .98;
}

.hm-section-head p:not(.hm-eyebrow),
.hm-pricing p,
.hm-locations p {
  max-width: 700px;
  margin: 0;
  color: var(--hm-muted);
  font-size: 1.04rem;
  line-height: 1.7;
}

.hm-section-head--split > a {
  color: var(--hm-accent);
  font-weight: 950;
}

.hm-offer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.hm-offer-card {
  --offer-img: url('/ads/assets/images/shared/service-van-new.webp');
  position: relative;
  display: block;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(16, 24, 39, .35), rgba(16, 24, 39, .92)),
    var(--offer-img) center / cover no-repeat;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 54px rgba(16, 24, 39, .14);
  transition: transform .28s ease, box-shadow .28s ease;
}

.hm-offer-card:hover { transform: translateY(-3px); box-shadow: 0 26px 64px rgba(16, 24, 39, .22); }

.hm-offer-card[open] {
  box-shadow: 0 28px 70px rgba(16, 24, 39, .28);
  outline: 1px solid rgba(255, 255, 255, .18);
}

.hm-offer-card--electrical { --offer-img: url('/ads/assets/images/services/elec-fault-power-outage.webp'); }
.hm-offer-card--plumbing { --offer-img: url('/ads/assets/images/emergency-gallery/emg-04.jpg'); }
.hm-offer-card--hvac { --offer-img: url('/ads/assets/images/shared/heating-cooling-installation-melbourne.webp'); }

.hm-offer-card > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  min-height: 310px;
  padding: 28px;
  position: relative;
}
.hm-offer-card > summary::-webkit-details-marker { display: none; }
.hm-offer-card > summary::marker { content: ''; }

.hm-offer-card__pill {
  width: fit-content;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  font-size: .73rem;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hm-offer-card h3 {
  margin: 0;
  color: #fff;
  font-size: 1.55rem;
  line-height: 1.08;
}

.hm-offer-card > summary > p {
  margin: 0;
  color: rgba(255, 255, 255, .84);
  line-height: 1.55;
}

.hm-offer-card__toggle {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
  transition: transform .28s ease, background .2s ease;
}
.hm-offer-card[open] .hm-offer-card__toggle {
  transform: rotate(45deg);
  background: linear-gradient(135deg, var(--hm-accent), var(--hm-accent-2));
}

.hm-offer-card__body {
  padding: 0 28px 28px;
  display: grid;
  gap: 16px;
  animation: hmOfferReveal .35s ease both;
}

@keyframes hmOfferReveal {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.hm-offer-card__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.hm-offer-card__links a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  color: #fff;
  font-weight: 800;
  font-size: .92rem;
  transition: background .2s ease, transform .2s ease;
}
.hm-offer-card__links a:hover { background: rgba(255, 255, 255, .16); transform: translateX(3px); }
.hm-offer-card__links a::before {
  content: '\\2192';
  color: var(--hm-accent);
  font-weight: 900;
}

.hm-offer-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hm-offer-card__actions .hm-btn { flex: 1 1 140px; min-height: 44px; font-size: .92rem; }

/* Review marquee */
.hm-rev-marquee {
  position: relative;
  padding: 84px 0 96px;
  background:
    radial-gradient(900px 380px at 80% 0%, rgba(154, 107, 214, .12), transparent 60%),
    radial-gradient(900px 380px at 0% 100%, rgba(154, 194, 68, .10), transparent 65%),
    linear-gradient(180deg, #0f1322 0%, #161b30 100%);
  color: #fff;
  overflow: hidden;
}

.hm-rev-marquee__head {
  text-align: center;
  display: grid;
  gap: 14px;
  margin: 0 auto 44px;
  max-width: 720px;
}
.hm-rev-marquee__head .hm-eyebrow { color: #b389e8; }
.hm-rev-marquee__head h2 { color: #fff; margin: 0; }

.hm-rev-badge {
  margin: 8px auto 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  color: #fff;
  font-weight: 800;
  font-size: .92rem;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.hm-rev-badge__g {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: none;
  border-radius: 0;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}
.hm-rev-badge__g svg,
.hm-rev-badge-g {
  width: 24px;
  height: 24px;
  display: block;
}
.hm-rev-badge strong { font-size: 1.06rem; }
.hm-rev-badge__stars { color: #FBBC05; letter-spacing: 1px; }

.hm-rev-track {
  position: relative;
  width: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.hm-rev-track__row {
  display: flex;
  gap: 22px;
  width: max-content;
  padding: 8px 0;
  animation: hmRevScroll 56s linear infinite;
}
.hm-rev-track:hover .hm-rev-track__row { animation-play-state: paused; }

@keyframes hmRevScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.hm-rev-item {
  flex: 0 0 auto;
  width: 360px;
  display: grid;
  gap: 14px;
  padding: 24px 22px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .03));
  border: 1px solid rgba(255, 255, 255, .12);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  position: relative;
  transition: transform .25s ease, border-color .25s ease;
}
.hm-rev-item:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, .22); }

.hm-rev-item__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.hm-rev-item__stars {
  color: #FBBC05;
  font-size: .98rem;
  letter-spacing: 1px;
}
.hm-rev-item__g {
  width: 22px; height: 22px;
  display: grid; place-items: center;
  border-radius: 999px;
  background: #fff;
  color: #4285F4;
  font-weight: 900;
  font-size: .72rem;
}
.hm-rev-item blockquote {
  margin: 0;
  font-size: .98rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, .92);
}
.hm-rev-item__author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.hm-rev-item__avatar {
  width: 38px; height: 38px;
  border-radius: 999px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--hm-accent), var(--hm-accent-2));
  color: #fff;
  font-weight: 900;
}
.hm-rev-item__meta { display: grid; gap: 2px; }
.hm-rev-item__name { font-weight: 800; color: #fff; }
.hm-rev-item__sub { font-size: .8rem; color: rgba(255, 255, 255, .58); }

@media (max-width: 720px) {
  .hm-rev-marquee { padding: 64px 0 72px; }
  .hm-rev-track { -webkit-mask-image: none; mask-image: none; }
  .hm-rev-track__row {
    animation: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 8px 16px;
  }
  .hm-rev-item { width: 84vw; scroll-snap-align: center; }
}

.hm-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.hm-service-card {
  display: grid;
  grid-template-rows: 190px auto auto;
  gap: 13px;
  padding: 14px 14px 22px;
  background: #fff;
  border: 1px solid var(--hm-line);
  color: var(--hm-ink);
  box-shadow: 0 14px 34px rgba(16, 24, 39, .06);
  transition: transform .18s ease, box-shadow .18s ease;
}

.hm-service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(16, 24, 39, .12);
}

.hm-service-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: var(--hm-radius);
}

.hm-service-card strong {
  padding: 0 6px;
  font-size: 1.15rem;
  line-height: 1.2;
}

.hm-service-card span {
  padding: 0 6px;
  color: var(--hm-muted);
  line-height: 1.55;
}

.hm-process__grid {
  display: grid;
  grid-template-columns: minmax(280px, .78fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: start;
}

.hm-section-head--sticky {
  position: sticky;
  top: 96px;
  margin-bottom: 0;
}

.hm-step-list {
  display: grid;
  gap: 14px;
}

.hm-step-list article {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 10px 22px;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--hm-line);
}

.hm-step-list span {
  grid-row: span 2;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  background: var(--hm-ink);
  color: #fff;
  font-weight: 950;
}

.hm-step-list h3 {
  margin: 0;
  color: var(--hm-ink);
  font-size: 1.32rem;
}

.hm-step-list p {
  margin: 0;
  color: var(--hm-muted);
  line-height: 1.6;
}

.hm-pricing__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) repeat(3, minmax(160px, .55fr));
  gap: 18px;
  align-items: stretch;
}

.hm-price-card {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
  background: var(--hm-ink);
  color: #fff;
}

.hm-price-card strong {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--hm-accent);
  color: #fff;
  border-radius: 50%;
}

.hm-price-card span {
  color: rgba(255, 255, 255, .9);
  font-size: 1.04rem;
  font-weight: 800;
  line-height: 1.45;
}

.hm-guarantee .hm-section-head img {
  width: min(360px, 35vw);
  height: 220px;
  object-fit: cover;
  border-radius: var(--hm-radius);
  box-shadow: var(--hm-shadow);
}

.hm-guarantee-grid,
.hm-review-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.hm-guarantee-grid article,
.hm-review-grid article {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--hm-line);
}

.hm-guarantee-grid h3 {
  margin: 0 0 10px;
  color: var(--hm-ink);
  font-size: 1.1rem;
}

.hm-guarantee-grid p,
.hm-review-grid p {
  margin: 0;
  color: var(--hm-muted);
  line-height: 1.62;
}

.hm-locations__grid {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.hm-locations .hm-btn { margin-top: 22px; }

.hm-location-chip-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.hm-location-chip-grid a {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--hm-line);
  color: var(--hm-ink);
  font-weight: 900;
}

.hm-location-chip-grid a::after {
  content: '>';
  color: var(--hm-accent);
}

.hm-review-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hm-review-grid span {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--hm-accent);
  font-size: 2rem;
  font-weight: 950;
}

.hm-review-grid strong {
  display: block;
  margin-top: 18px;
  color: var(--hm-ink);
}

.hm-final {
  color: #fff;
  background: linear-gradient(135deg, var(--hm-ink), var(--hm-ink-2));
}

.hm-final__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}

.hm-final h2 {
  max-width: 800px;
  color: #fff;
}

.hm-final .hm-eyebrow { color: var(--hm-accent); margin-bottom: 12px; }

@media (max-width: 1120px) {
  .hm-hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(290px, 360px);
  }

  .hm-hero__media {
    position: absolute;
    inset: auto 350px 0 auto;
    width: 300px;
    min-height: 520px;
    opacity: .78;
  }

  .hm-hero__media img { height: 560px; }

  .hm-quote-card { grid-column: 2; grid-row: 1; }

  .hm-service-grid,
  .hm-offer-grid,
  .hm-review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .hm-pricing__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hm-pricing__grid > div:first-child { grid-column: 1 / -1; }

  .hm-guarantee-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .hm-container,
  .hm-hero__inner,
  .hm-utility { width: min(100%, calc(100% - 32px)); }

  .hm-hero { padding: 24px 0 58px; }

  .hm-utility {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 30px;
  }

  .hm-utility span:nth-child(2) { border-right: 0; }
  .hm-utility span:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .12); }

  .hm-hero__inner,
  .hm-process__grid,
  .hm-locations__grid,
  .hm-final__inner {
    grid-template-columns: 1fr;
  }

  .hm-hero__inner {
    min-height: 0;
    align-items: start;
    gap: 22px;
  }

  .hm-hero__inner > .hm-trade-switch {
    order: 0;
    width: min(100%, 560px);
    margin: 0 auto 2px;
    justify-content: center;
  }

  .hm-hero__copy { order: 1; }
  .hm-hero__media {
    order: 2;
    position: relative;
    inset: auto;
    width: 100%;
    min-height: 390px;
    opacity: 1;
  }

  .hm-hero__media img { height: 430px; }
  .hm-live-card { left: 16px; bottom: 28px; }

  .hm-quote-card {
    order: 3;
    grid-column: auto;
    grid-row: auto;
    width: 100%;
  }

  .hm-hero h1 {
    max-width: 640px;
    font-size: clamp(2.55rem, 9.4vw, 3.8rem);
    line-height: 1;
  }

  .hm-section-head--split {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .hm-section-head--sticky {
    position: static;
  }

  .hm-guarantee .hm-section-head img {
    width: 100%;
    height: 240px;
  }

  .hm-service-grid,
  .hm-offer-grid,
  .hm-review-grid,
  .hm-guarantee-grid,
  .hm-pricing__grid {
    grid-template-columns: 1fr;
  }

  .hm-location-chip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hm-final__actions {
    width: 100%;
  }

  .hm-final__actions .hm-btn {
    flex: 1 1 180px;
  }
}

@media (max-width: 700px) {
  .hm-hero__media { display: none; }

  .hm-hero__copy {
    max-width: none;
    gap: 18px;
  }

  .hm-hero h1 {
    font-size: clamp(2.24rem, 8.8vw, 3.2rem);
    line-height: 1.02;
  }

  .hm-hero__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hm-hero__actions .hm-btn {
    width: 100%;
    min-height: 52px;
    padding: 0 14px;
  }
}

@media (max-width: 560px) {
  .hm-hero {
    padding: 18px 0 42px;
  }

  .hm-utility {
    display: none;
  }

  .hm-review {
    align-items: flex-start;
    width: 100%;
    padding: 9px 11px;
  }

  .hm-review img { width: 70px; }

  .hm-trade-switch button {
    flex: 1 1 auto;
    padding: 0 12px;
    min-height: 42px;
  }

  .hm-hero__inner > .hm-trade-switch {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: stretch;
    gap: 8px;
    padding: 10px;
    border-radius: 22px;
  }

  .hm-hero__inner > .hm-trade-switch > span {
    text-align: center;
  }

  .hm-hero__inner > .hm-trade-switch div {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }

  .hm-hero__inner > .hm-trade-switch button {
    min-height: 38px;
    padding: 0 8px;
    font-size: .78rem;
  }

  .hm-hero h1 {
    max-width: 100%;
    font-size: clamp(1.9rem, 8.7vw, 2.28rem);
    line-height: 1.07;
  }

  .hm-hero__lead {
    font-size: .98rem;
    line-height: 1.58;
  }

  .hm-hero__actions .hm-btn,
  .hm-btn {
    width: 100%;
  }

  .hm-hero__actions {
    grid-template-columns: 1fr;
  }

  .hm-hero__media {
    display: none;
  }

  .hm-proof-list {
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .06);
  }

  .hm-proof-list li {
    font-size: .9rem;
  }

  .hm-quote-card { padding: 22px; }

  .hm-location-chip-grid {
    grid-template-columns: 1fr;
  }

  .hm-step-list article {
    grid-template-columns: 1fr;
  }

  .hm-step-list span {
    grid-row: auto;
  }
}

/* Homepage conversion additions rebuilt in the 24/7 Service Mate system. */
.hm-hero__inner > .hm-trade-switch {
  width: min(1080px, 100%);
  justify-self: stretch;
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 14px;
  margin-top: 28px;
  padding: 0;
  border: 0;
  border-radius: 0;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  background: none;
  box-shadow: none;
}

.hm-trade-switch > span {
  color: rgba(255, 255, 255, .86);
  font-size: .76rem;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hm-trade-switch__cards,
.hm-tradies-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  justify-content: center;
}

.hm-trade-tab,
.hm-hero__inner > .hm-trade-switch button.hm-trade-tab,
.hm-tradies-tabs button.hm-trade-tab {
  --trade-accent: #9a6bd6;
  --trade-accent-soft: rgba(154, 107, 214, .1);
  --trade-accent-strong: rgba(154, 107, 214, .3);
  min-height: 132px;
  padding: 20px;
  border-radius: 28px;
  border: 1px solid rgba(16, 24, 39, .1);
  background: linear-gradient(180deg, #fff 0%, #fbfaf6 100%);
  color: var(--hm-ink);
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: start;
  justify-content: flex-start;
  gap: 16px;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(16, 24, 39, .08);
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.hm-trade-tab[data-home-theme-button="electrical"] {
  --trade-accent: #86b53a;
  --trade-accent-soft: rgba(154, 194, 68, .14);
  --trade-accent-strong: rgba(154, 194, 68, .38);
}

.hm-trade-tab[data-home-theme-button="plumbing"] {
  --trade-accent: #1e88e5;
  --trade-accent-soft: rgba(30, 136, 229, .12);
  --trade-accent-strong: rgba(30, 136, 229, .36);
}

.hm-trade-tab[data-home-theme-button="hvac"] {
  --trade-accent: #d84b43;
  --trade-accent-soft: rgba(216, 75, 67, .12);
  --trade-accent-strong: rgba(216, 75, 67, .34);
}

.hm-trade-tab:hover {
  transform: translateY(-3px);
  border-color: rgba(16, 24, 39, .16);
  box-shadow: 0 14px 32px rgba(16, 24, 39, .12);
}

.hm-trade-tab.is-active {
  border-color: var(--trade-accent-strong);
  background:
    radial-gradient(circle at 14% 16%, var(--trade-accent-soft), transparent 42%),
    linear-gradient(180deg, #fff 0%, #fff 100%);
  color: var(--hm-ink);
  box-shadow:
    0 16px 36px rgba(16, 24, 39, .12),
    inset 0 0 0 1px var(--trade-accent-soft);
}

.hm-trade-tab__icon {
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  color: var(--hm-ink);
  background:
    radial-gradient(circle at 24% 18%, var(--trade-accent-soft), transparent 48%),
    linear-gradient(180deg, #fff 0%, #f7f1e7 100%);
  border: 1px solid rgba(16, 24, 39, .08);
  box-shadow: 0 8px 18px rgba(16, 24, 39, .08);
}

.hm-trade-tab__icon svg {
  width: 25px;
  height: 25px;
  display: block;
}

.hm-trade-tab.is-active .hm-trade-tab__icon {
  border-color: var(--trade-accent-strong);
  box-shadow:
    0 10px 22px rgba(16, 24, 39, .1),
    inset 0 0 0 1px var(--trade-accent-soft);
}

.hm-trade-tab__text {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.hm-trade-tab__text strong {
  color: currentColor;
  font-size: 1.14rem;
  line-height: 1.1;
}

.hm-trade-tab__text small {
  display: block;
  color: var(--hm-muted);
  font-size: .92rem;
  font-weight: 650;
  line-height: 1.45;
}

.hm-trade-tab.is-active .hm-trade-tab__text strong {
  color: var(--trade-accent);
}

.hm-tradies {
  position: relative;
  overflow: hidden;
  padding: clamp(78px, 8vw, 118px) 0;
  background:
    radial-gradient(780px 420px at 12% 0%, rgba(154, 107, 214, .14), transparent 64%),
    radial-gradient(760px 360px at 92% 16%, rgba(154, 194, 68, .14), transparent 62%),
    linear-gradient(180deg, #fff 0%, #fbfaf6 100%);
}

.hm-tradies .hm-section-head {
  margin-bottom: 28px;
}

.hm-tradies .hm-section-head .hm-btn {
  align-self: end;
}

.hm-tradies-tabs {
  position: relative;
  margin-bottom: 26px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hm-tradies-tabs .hm-trade-tab {
  min-height: 132px;
  padding: 20px;
}

.hm-tradies-tabs .hm-trade-tab:hover {
  border-color: rgba(16, 24, 39, .16);
}

.hm-tradies-tabs .hm-trade-tab__text small {
  color: var(--hm-muted);
}

.hm-tradies-tabs .hm-trade-tab.is-active {
  color: var(--hm-ink);
}

.hm-tradies-tabs .hm-trade-tab.is-active .hm-trade-tab__text small {
  color: var(--hm-ink-2);
}

.hm-tradies-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  animation: hmPanelIn .28s ease both;
}

.hm-tradies-panel[hidden] {
  display: none;

}
.hm-finance-form__panel {
  display: none;
  opacity: 0;
  transition: opacity 0.25s;
  max-width: 420px;
  margin: 0 auto;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(16,24,39,0.08);
  padding: 28px 22px 22px 22px;
  position: relative;
  z-index: 1;
}
.hm-finance-form__panel.is-active {
  display: block;
  opacity: 1;
}

.hm-finance-form__trade-picker {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 18px;
}

.hm-quote-form__trade-option {
  display: block;
  margin: 0;
}

.hm-quote-form__trade-card {
  min-width: 110px;
  min-height: 110px;
  padding: 16px 10px;
  border-radius: 12px;
  border: 1px solid rgba(16,24,39,0.10);
  background: #fafbfc;
  box-shadow: 0 2px 8px rgba(16,24,39,0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
}
.hm-quote-form__trade-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.hm-quote-form__trade-option input[type="radio"]:checked + .hm-quote-form__trade-card {
  border-color: #9a6bd6;
  background: #fff;
  box-shadow: 0 4px 16px rgba(154,107,214,0.10);
}
.hm-quote-form__trade-card strong {
  font-size: 1rem;
  color: #425b7c;
  font-weight: 600;
}

@keyframes hmPanelIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.hm-tradie-card {
  min-height: 256px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 24px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(16, 24, 39, .1);
  color: var(--hm-ink);
  box-shadow: 0 14px 38px rgba(16, 24, 39, .07);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.hm-service-icon {
  width: 66px;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 22px;
  overflow: visible;
  color: #111827;
  padding: 8px;
  box-sizing: border-box;
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 255, 255, .9), transparent 42%),
    linear-gradient(135deg, rgba(154, 194, 68, .22), rgba(154, 107, 214, .16));
  box-shadow:
    inset 0 0 0 1px rgba(16, 24, 39, .08),
    0 14px 28px rgba(16, 24, 39, .08);
}

.hm-service-icon svg {
  width: 42px;
  height: 42px;
  display: block;
}

.hm-tradie-card:nth-child(3n+2) .hm-service-icon {
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 255, 255, .9), transparent 42%),
    linear-gradient(135deg, rgba(154, 107, 214, .22), rgba(179, 137, 232, .18));
}

.hm-tradie-card:nth-child(3n+3) .hm-service-icon {
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 255, 255, .9), transparent 42%),
    linear-gradient(135deg, rgba(154, 194, 68, .28), rgba(122, 144, 56, .16));
}

.hm-tradie-card::before {
  content: '';
  position: absolute;
  z-index: -1;
  width: 150px;
  height: 150px;
  right: -58px;
  top: -70px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(154, 107, 214, .18), transparent 70%);
  transition: transform .28s ease, opacity .28s ease;
}

.hm-tradie-card:hover {
  transform: translateY(-5px);
  border-color: rgba(154, 107, 214, .28);
  box-shadow: 0 26px 70px rgba(16, 24, 39, .14);
}

.hm-tradie-card:hover::before {
  transform: scale(1.35);
  opacity: .95;
}

.hm-tradie-card strong {
  color: var(--hm-ink);
  font-size: 1.08rem;
  line-height: 1.18;
}

.hm-tradie-card span:not(.hm-service-icon) {
  color: var(--hm-muted);
  line-height: 1.56;
}

.hm-tradie-card em {
  margin-top: auto;
  color: var(--hm-accent);
  font-style: normal;
  font-weight: 950;
}

.hm-tradie-card em::after {
  content: ' ->';
}

.hm-finance {
  position: relative;
  overflow: hidden;
  padding: clamp(78px, 8vw, 118px) 0;
  color: #fff;
  background:
    radial-gradient(680px 360px at 78% 18%, rgba(154, 194, 68, .26), transparent 62%),
    radial-gradient(780px 420px at 4% 8%, rgba(154, 107, 214, .3), transparent 64%),
    linear-gradient(135deg, #101827 0%, #18243a 58%, #0f1c13 100%);
}

.hm-finance::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 42px 42px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .7), transparent 88%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .7), transparent 88%);
  pointer-events: none;
}

.hm-finance__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(360px, .9fr);
  grid-template-areas:
    "copy form"
    "card form"
    "steps form";
  gap: 20px;
  align-items: stretch;
}

.hm-finance__copy {
  grid-area: copy;
  align-self: center;
}

.hm-finance .hm-eyebrow {
  color: #b8f06b;
}

.hm-finance h2 {
  max-width: 740px;
  margin: 10px 0 18px;
  color: #fff;
  font-size: clamp(2.15rem, 4.6vw, 4rem);
  line-height: .98;
}

.hm-finance__copy p {
  max-width: 690px;
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: 1.04rem;
  line-height: 1.7;
}

.hm-finance__checks {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.hm-finance__checks li {
  display: flex;
  gap: 10px;
  color: rgba(255, 255, 255, .9);
  font-weight: 850;
  line-height: 1.45;
}

.hm-finance__checks li::before {
  content: '';
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 2px;
  border-radius: 999px;
  background:
    linear-gradient(135deg, #9ac244, #b8f06b);
  box-shadow: inset 0 0 0 5px rgba(16, 24, 39, .18);
}

.hm-finance__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hm-afterpay-card {
  grid-area: card;
  min-height: 520px;
  align-self: start;
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 28px;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .06)),
    linear-gradient(135deg, rgba(178, 252, 228, .22), rgba(154, 107, 214, .16));
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .28);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.hm-afterpay-card__brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.hm-afterpay-card__brand span {
  color: rgba(255, 255, 255, .72);
  font-size: .76rem;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hm-afterpay-card__brand img {
  width: 90px;
  height: auto;
  padding: 5px 8px;
  border-radius: 999px;
  background: #b2fce4;
}

.hm-afterpay-card__screen {
  padding: 26px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 18% 10%, rgba(178, 252, 228, .7), transparent 42%),
    linear-gradient(135deg, #f7fffb, #e7fff6);
  color: #102421;
  box-shadow: inset 0 0 0 1px rgba(16, 24, 39, .08);
}

.hm-afterpay-card__screen span {
  display: block;
  color: #247765;
  font-size: .76rem;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hm-afterpay-card__screen strong {
  display: block;
  margin: 12px 0 8px;
  color: #111827;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  line-height: .95;
}

.hm-afterpay-card__screen p {
  margin: 0;
  color: rgba(16, 24, 39, .68);
  line-height: 1.55;
}

.hm-afterpay-card__rows {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.hm-afterpay-card__rows span {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .2);
}

.hm-afterpay-card__rows span:nth-child(1),
.hm-afterpay-card__rows span:nth-child(2) {
  background: #b2fce4;
}

.hm-finance-steps {
  grid-area: steps;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hm-finance-steps article {
  padding: 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.hm-finance-steps span {
  color: #b8f06b;
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .14em;
}

.hm-finance-steps h3 {
  margin: 10px 0 8px;
  color: #fff;
  font-size: 1.18rem;
}

.hm-finance-steps p {
  margin: 0;
  color: rgba(255, 255, 255, .72);
  line-height: 1.58;
}

.hm-finance-form {
  grid-area: form;
  align-self: start;
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 18px 18px 20px 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .97);
  color: var(--hm-ink);
  border: 1px solid rgba(255, 255, 255, .55);
  box-shadow: 0 16px 48px rgba(0, 0, 0, .18);
  max-width: 410px;
  margin: 0 auto;
  min-height: unset;
}

@media (max-width: 680px) {
  .hm-finance-form {
    max-width: 100%;
    padding: 14px 6px 18px 6px;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(0,0,0,.13);
  }
}
}

.hm-finance-form h3 {
  margin: 0;
  color: var(--hm-ink);
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
  line-height: 1.05;
}

.hm-finance-form form {
  display: grid;
  gap: 9px;
}

.hm-finance-form label {
  margin-top: 4px;
  color: #475467;
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hm-finance-form input,
.hm-finance-form select,
.hm-finance-form textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(16, 24, 39, .14);
  border-radius: 12px;
  padding: 0 13px;
  background: #fff;
  color: var(--hm-ink);
  font-family: inherit;
}

.hm-finance-form textarea {
  min-height: 92px;
  padding-top: 12px;
  resize: vertical;
}

.hm-finance-form input:focus,
.hm-finance-form select:focus,
.hm-finance-form textarea:focus {
  outline: 3px solid rgba(154, 107, 214, .18);
  border-color: var(--hm-accent);
}

.hm-finance-form button {
  min-height: 50px;
  margin-top: 8px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #9a6bd6, #b389e8);
  color: #fff;
  font-weight: 950;
  cursor: pointer;
  box-shadow: 0 16px 38px rgba(154, 107, 214, .28);
}

.hm-finance-form__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 24px;
}

.hm-finance-form__step {
  min-height: 54px;
  border: 1px solid rgba(16, 24, 39, .12);
  border-radius: 18px;
  background: #fff;
  color: #101827;
  font-weight: 800;
  padding: 0 16px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
}

.hm-finance-form__step:hover {
  transform: translateY(-1px);
}

.hm-finance-form__step.is-active {
  border-color: transparent;
  background: linear-gradient(135deg, #9a6bd6, #b389e8);
  color: #fff;
  box-shadow: 0 18px 38px rgba(154, 107, 214, .24);
}

.hm-finance-form__panel {
  display: none;
  gap: 14px;
}

.hm-finance-form__panel.is-active {
  display: grid;
}

.hm-finance-form__trade-picker {
  display: grid;
  gap: 12px;
  border: none;
  padding: 0;
  margin: 0;
}

.hm-finance-form__trade-option {
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(16, 24, 39, .14);
  border-radius: 16px;
  background: #fff;
  color: #101827;
  font-weight: 700;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.hm-finance-form__trade-option.is-active {
  border-color: transparent;
  background: linear-gradient(135deg, #9a6bd6, #b389e8);
  color: #fff;
}

.hm-finance-form__trade-option:hover {
  transform: translateY(-1px);
}

@media (max-width: 1120px) {
  .hm-tradies-panel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hm-finance__grid {
    grid-template-columns: minmax(0, 1fr) minmax(300px, .8fr);
    grid-template-areas:
      "copy card"
      "steps steps"
      "form form";
  }
}

@media (max-width: 860px) {
  .hm-hero__inner > .hm-trade-switch {
    grid-template-columns: 1fr;
    justify-items: stretch;
    margin-top: 4px;
  }

  .hm-trade-switch > span {
    text-align: center;
  }

  .hm-tradies-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hm-finance__grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "card"
      "steps"
      "form";
  }

  .hm-afterpay-card {
    min-height: 0;
  }

  .hm-finance-steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .hm-trade-switch__cards,
  .hm-tradies-tabs,
  .hm-hero__inner > .hm-trade-switch div {
    grid-template-columns: 1fr;
  }

  .hm-hero__inner > .hm-trade-switch button.hm-trade-tab,
  .hm-tradies-tabs button.hm-trade-tab {
    min-height: 118px;
  }

  .hm-tradies-panel {
    grid-template-columns: 1fr;
  }

  .hm-tradie-card {
    min-height: 0;
  }

  .hm-finance__actions {
    display: grid;
  }

  .hm-afterpay-card,
  .hm-finance-form {
    border-radius: 24px;
    padding: 22px;
  }
}

/* Polish pass: image-led rounded cards, real Google mark, and calmer finance design. */
.hm-review,
.hm-quote-card,
.hm-step-list article,
.hm-guarantee-grid article,
.hm-review-grid article,
.hm-location-chip-grid a {
  border-radius: 24px;
}

.hm-quote-card,
.hm-finance-form {
  position: relative;
  background: linear-gradient(135deg, #fff 0%, #fbfaf6 100%);
  box-shadow:
    0 24px 60px rgba(16, 24, 39, .14),
    0 0 0 1px rgba(154, 107, 214, .16);
  overflow: hidden;
}

.hm-quote-card::before,
.hm-finance-form::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, #9a6bd6, #b389e8, #9ac244);
}

.hm-google-mark {
  display: block;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
}

.hm-rev-item .hm-google-mark {
  width: 22px;
  height: 22px;
  padding: 2px;
  border-radius: 999px;
  background: #fff;
}

.hm-icon-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
/* Line-art WebPs already carry trade accent colour — never invert. */
.hm-icon-img--line {
  filter: none !important;
}

.hm-trade-tab__icon,
.hm-trade-tab.is-active .hm-trade-tab__icon {
  color: var(--hm-ink);
  background:
    radial-gradient(circle at 25% 20%, var(--trade-accent-soft), transparent 42%),
    linear-gradient(135deg, #fff, #f6f0e6);
  box-shadow:
    inset 0 0 0 1px rgba(16, 24, 39, .08),
    0 14px 30px rgba(16, 24, 39, .18);
}

.hm-trade-tab__icon .hm-icon-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(16, 24, 39, .12));
}
.hm-trade-tab__icon .hm-icon-img--line {
  width: 48px;
  height: 48px;
  filter: none !important;
}

.hm-tradies-panel {
  gap: 20px;
}

.hm-tradie-card {
  min-height: 0;
  display: grid;
  align-content: stretch;
  gap: 0;
  padding: 10px 10px 22px;
  border-radius: 30px;
  background: linear-gradient(180deg, #fff 0%, #fbfaf6 100%);
  border: 1px solid rgba(16, 24, 39, .08);
  box-shadow: 0 18px 46px rgba(16, 24, 39, .08);
  overflow: visible; /* Ensure nothing inside the card is clipped */
}

.hm-tradie-card::before {
  display: none;
}

.hm-tradie-card__media {
  position: relative;
  display: block;
  aspect-ratio: 1.42;
  overflow: visible !important; /* Force visible to prevent clipping overlapping icons */
  border-radius: 24px;
  background: #ece7dc;
}

.hm-tradie-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(16, 24, 39, .48));
  pointer-events: none;
  border-radius: 24px;
}

.hm-tradie-card__media > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 24px;
  transform: scale(1.015);
  transition: transform .35s ease;
}

.hm-tradie-card:hover .hm-tradie-card__media > img {
  transform: scale(1.07);
}

.hm-tradie-card__body {
  display: grid;
  gap: 10px;
  padding: 28px 16px 0;
}

.hm-tradie-card .hm-service-icon,
.hm-tradie-card:nth-child(3n+2) .hm-service-icon,
.hm-tradie-card:nth-child(3n+3) .hm-service-icon {
  position: absolute;
  z-index: 10;
  top: -38px;
  left: 50%;
  bottom: auto;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  overflow: visible;
  padding: 18px;
  box-sizing: border-box;
  transform: translateX(-50%);
  transition: transform .24s ease, background .24s ease, box-shadow .24s ease, filter .24s ease;
  color: var(--hm-ink);
  background:
    radial-gradient(circle at 24% 18%, var(--service-trade-accent-soft, rgba(154, 194, 68, .24)), transparent 40%),
    linear-gradient(135deg, #fff 0%, #f6f1e7 100%);
  box-shadow:
    inset 0 0 0 2px var(--service-trade-accent-ring, rgba(154, 194, 68, .32)),
    0 0 0 8px white,
    0 0 0 11px var(--service-trade-accent-ring, rgba(154, 194, 68, .32)),
    0 14px 30px rgba(16, 24, 39, .18);
}

.hm-tradie-card .hm-service-icon svg,
.hm-tradie-card .hm-service-icon .hm-icon-img {
  border-radius: 0 !important;
  width: 52px;
  height: 52px;
  position: relative;
  z-index: 11;
  object-fit: contain;
  filter: drop-shadow(0 5px 9px rgba(16, 24, 39, .12));
}
.hm-tradie-card .hm-service-icon .hm-icon-img--line {
  width: 64px;
  height: 64px;
  filter: none !important;
}

.hm-tradie-card strong {
  font-size: 1.14rem;
}

.hm-tradie-card span:not(.hm-service-icon):not(.hm-tradie-card__media):not(.hm-tradie-card__body) {
  color: var(--hm-muted);
}

.hm-tradie-card em {
  width: fit-content;
  margin-top: 4px;
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(154, 107, 214, .1);
}

.hm-tradie-card em::after {
  content: '';
}

.hm-finance {
  color: var(--hm-ink);
  background:
    radial-gradient(680px 360px at 80% 4%, rgba(178, 252, 228, .42), transparent 64%),
    radial-gradient(760px 420px at 0% 18%, rgba(154, 107, 214, .16), transparent 62%),
    linear-gradient(180deg, #f7f2e9 0%, #fff 100%);
}

.hm-finance::before {
  opacity: .34;
  background-image:
    radial-gradient(circle at center, rgba(154, 107, 214, .2) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .52), transparent 72%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .52), transparent 72%);
}

.hm-finance .hm-eyebrow {
  color: #6f8a28;
}

.hm-finance h2 {
  color: var(--hm-ink);
}

.hm-finance__copy p,
.hm-finance__checks li {
  color: var(--hm-muted);
}

.hm-finance__checks li::before {
  box-shadow: inset 0 0 0 5px rgba(255, 255, 255, .58);
}

.hm-afterpay-card {
  min-height: 430px;
  padding: 24px;
  border-radius: 36px;
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .88), rgba(247, 255, 251, .72)),
    radial-gradient(circle at 25% 12%, rgba(178, 252, 228, .74), transparent 40%);
  border: 1px solid rgba(16, 24, 39, .08);
  box-shadow: 0 28px 80px rgba(16, 24, 39, .16);
  overflow: hidden;
}

.hm-afterpay-card::before {
  content: '';
  position: absolute;
  z-index: -1;
  width: 230px;
  height: 230px;
  right: -70px;
  top: -84px;
  border-radius: 48% 52% 60% 40%;
  background: rgba(178, 252, 228, .84);
  filter: blur(2px);
  transform: rotate(-14deg);
}

.hm-afterpay-card::after {
  content: '';
  position: absolute;
  inset: auto -72px 48px auto;
  z-index: -1;
  width: 220px;
  height: 130px;
  border-radius: 999px;
  background: rgba(154, 107, 214, .14);
  transform: rotate(-18deg);
}

.hm-afterpay-stack {
  position: relative;
  min-height: 278px;
  margin: -8px -8px 14px;
}

.hm-pay-card {
  position: absolute;
  width: 235px;
  min-height: 154px;
  left: 50%;
  top: 50%;
  border-radius: 28px;
  border: 1px solid rgba(16, 24, 39, .08);
  box-shadow:
    0 24px 56px rgba(16, 24, 39, .2),
    inset 0 1px 0 rgba(255, 255, 255, .72);
}

.hm-pay-card--back::before,
.hm-pay-card--mid::before {
  content: '';
  position: absolute;
  right: 20px;
  top: 22px;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(154, 107, 214, .24), transparent 58%),
    rgba(255, 255, 255, .72);
}

.hm-pay-card--back {
  transform: translate(-66%, -58%) rotate(-14deg);
  background: linear-gradient(135deg, #eee7fa, #fff);
}

.hm-pay-card--mid {
  transform: translate(-36%, -48%) rotate(10deg);
  background: linear-gradient(135deg, #e5f8d1, #fff);
}

.hm-pay-card--front {
  z-index: 3;
  transform: translate(-52%, -35%) rotate(-2deg);
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 28px 24px 24px;
  position: relative;
  min-height: 380px;
  color: #102421;
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 255, 255, .86), transparent 44%),
    linear-gradient(135deg, #b2fce4, #e8fff8 58%, #fff);
}

.hm-pay-card__chip {
  position: absolute;
  top: 18px;
  left: 24px;
  width: 58px;
  height: 42px;
  border-radius: 16px;
  background: linear-gradient(135deg, #f7d97c, #d6b55a);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, .5);
}

.hm-pay-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.hm-pay-card__logo {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: #101827;
  color: #fff;
}

.hm-pay-card__logo svg {
  width: 20px;
  height: 20px;
}

.hm-pay-card__top span {
  color: #102421;
  font-size: .9rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hm-pay-card--front::before {
  content: '';
  position: absolute;
  left: 20px;
  bottom: 18px;
  width: 44px;
  height: 32px;
  border-radius: 10px;
  background:
    linear-gradient(90deg, rgba(16, 36, 33, .18), transparent 1px) 0 0 / 12px 100%,
    linear-gradient(135deg, #f8e3a0, #fff2bd);
  box-shadow: inset 0 0 0 1px rgba(16, 24, 39, .1);
}

.hm-pay-card--back span,
.hm-pay-card--mid span {
  position: absolute;
  left: 24px;
  right: 24px;
  height: 10px;
  border-radius: 999px;
  background: rgba(16, 24, 39, .12);
}

.hm-pay-card--back span:nth-child(1),
.hm-pay-card--mid span:nth-child(1) { top: 30px; width: 44%; }
.hm-pay-card--back span:nth-child(2),
.hm-pay-card--mid span:nth-child(2) { top: 58px; }
.hm-pay-card--back span:nth-child(3),
.hm-pay-card--mid span:nth-child(3) { top: 84px; width: 62%; }

.hm-pay-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hm-pay-card__top img {
  width: 94px;
  height: auto;
  padding: 5px 8px;
  border-radius: 999px;
  background: #102421;
}

.hm-pay-card__top span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #6f8a28;
  font-weight: 950;
}

.hm-pay-card strong {
  font-size: 2.2rem;
  line-height: .95;
}

.hm-pay-card p {
  margin: -10px 0 0;
  color: rgba(16, 24, 39, .68);
  font-weight: 800;
  line-height: 1.35;
}

.hm-pay-card__bars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
}

.hm-pay-card__bars span {
  height: 9px;
  border-radius: 999px;
  background: rgba(16, 24, 39, .14);
}

.hm-pay-card__bars span:nth-child(-n+2) {
  background: #102421;
}

.hm-afterpay-card__copy {
  position: relative;
  z-index: 4;
  display: grid;
  gap: 8px;
  padding: 20px;
  border-radius: 26px;
  background: rgba(255, 255, 255, .76);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px rgba(16, 24, 39, .06);
}

.hm-afterpay-card__copy span {
  color: #6f8a28;
  font-size: .76rem;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hm-afterpay-card__copy strong {
  color: var(--hm-ink);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1;
}

.hm-afterpay-card__copy p {
  margin: 0;
  color: var(--hm-muted);
  line-height: 1.5;
}

.hm-finance-steps article {
  background: rgba(255, 255, 255, .76);
  border-color: rgba(16, 24, 39, .08);
  box-shadow: 0 16px 42px rgba(16, 24, 39, .07);
}

.hm-finance-steps h3 {
  color: var(--hm-ink);
}

.hm-finance-steps span {
  color: #6f8a28;
}

.hm-finance-steps p {
  color: var(--hm-muted);
}

@media (max-width: 680px) {
  .hm-tradie-card {
    padding: 8px 8px 20px;
    border-radius: 26px;
  }

  .hm-tradie-card__media {
    border-radius: 22px;
  }

  .hm-afterpay-stack {
    min-height: 232px;
  }

  .hm-pay-card {
    width: min(232px, 78vw);
  }
}

/* Interaction polish: quote form, service carousel, and van satisfaction block. */
.hm-hero__inner {
  grid-template-columns: minmax(0, 1fr);
  min-height: min(700px, calc(100vh - 120px));
  align-items: center;
}

.hm-hero__copy {
  max-width: 720px;
}

.hm-hero__inner > .hm-trade-switch.hm-trade-switch--hero {
  max-width: 940px;
  margin: 2px auto 0;
}

.hm-hero__media {
  right: clamp(8px, 4vw, 58px);
  top: 50%;
  bottom: auto;
  width: min(276px, 21vw);
  transform: translateY(-50%);
}

.hm-quote-section {
  position: relative;
  overflow: hidden;
  padding: clamp(58px, 7vw, 94px) 0;
  background:
    radial-gradient(700px 360px at 8% 0%, rgba(154, 194, 68, .2), transparent 62%),
    radial-gradient(720px 420px at 92% 12%, rgba(154, 107, 214, .16), transparent 66%),
    linear-gradient(180deg, #fff 0%, #f7f2e9 100%);
}

.hm-quote-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at center, rgba(154, 107, 214, .16) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: .36;
  pointer-events: none;
}

.hm-quote-section__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .84fr) minmax(360px, 1.08fr);
  gap: clamp(24px, 5vw, 66px);
  align-items: center;
}

.hm-quote-section__copy h2 {
  margin: 10px 0 16px;
  color: var(--hm-ink);
  font-size: clamp(2.25rem, 5vw, 4.35rem);
  line-height: .95;
}

.hm-quote-section__copy p:not(.hm-eyebrow) {
  max-width: 560px;
  color: var(--hm-muted);
  font-size: 1.06rem;
  line-height: 1.72;
}

.hm-quote-section__van {
  margin-top: 26px;
  width: min(410px, 100%);
  border-radius: 34px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 24px 70px rgba(16, 24, 39, .14);
  transform: rotate(-1.5deg);
}

.hm-quote-section__van img {
  width: 100%;
  display: block;
  aspect-ratio: 1.55;
  object-fit: cover;
}

.hm-quote-form {
  position: relative;
  padding: clamp(22px, 3.5vw, 36px);
  border-radius: 38px;
  background:
    radial-gradient(circle at 10% 10%, rgba(154, 194, 68, .18), transparent 36%),
    radial-gradient(circle at 92% 12%, rgba(154, 107, 214, .12), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(255, 250, 241, .94));
  border: 1px solid rgba(16, 24, 39, .08);
  box-shadow:
    0 32px 92px rgba(16, 24, 39, .18),
    0 0 0 1px rgba(255, 255, 255, .5) inset;
}

.hm-quote-form::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 8px;
  border-radius: 38px 38px 0 0;
  background: linear-gradient(90deg, #9a6bd6, #b389e8, #9ac244);
}

.hm-quote-form__header {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
}

.hm-quote-form__header span {
  color: #6f8a28;
  font-size: .78rem;
  font-weight: 950;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.hm-quote-form__header strong {
  color: var(--hm-ink);
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1;
}

.hm-quote-form__header p {
  max-width: 44ch;
  margin: 0;
  color: var(--hm-muted);
  font-size: .98rem;
  line-height: 1.65;
}

.hm-quote-form__trade-picker {
  margin: 0 0 18px;
  padding: 0;
  border: 0;
  display: grid;
  gap: 12px;
}

.hm-quote-form__trade-picker legend {
  padding: 0;
  color: #475467;
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hm-quote-form__trade-picker {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hm-quote-form__trade-option {
  display: block;
}

.hm-quote-form__trade-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.hm-quote-form__trade-card {
  --quote-trade: #9a6bd6;
  --quote-trade-soft: rgba(154, 107, 214, .12);
  --quote-trade-strong: rgba(154, 107, 214, .28);
  display: grid;
  place-items: center;
  gap: 10px;
  min-height: 142px;
  padding: 22px 18px;
  border-radius: 12px;
  border: 1px solid rgba(16, 24, 39, .08);
  background: #fff;
  box-shadow: 0 10px 24px rgba(16, 24, 39, .05);
  cursor: pointer;
  text-align: center;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.hm-quote-form__trade-card[data-quote-trade="electrical"] {
  --quote-trade: #86b53a;
  --quote-trade-soft: rgba(154, 194, 68, .14);
  --quote-trade-strong: rgba(154, 194, 68, .34);
}

.hm-quote-form__trade-card[data-quote-trade="plumbing"] {
  --quote-trade: #1e88e5;
  --quote-trade-soft: rgba(30, 136, 229, .12);
  --quote-trade-strong: rgba(30, 136, 229, .34);
}

.hm-quote-form__trade-card[data-quote-trade="hvac"] {
  --quote-trade: #d84b43;
  --quote-trade-soft: rgba(216, 75, 67, .12);
  --quote-trade-strong: rgba(216, 75, 67, .34);
}

.hm-quote-form__trade-option:hover .hm-quote-form__trade-card {
  transform: translateY(-2px);
  border-color: rgba(16, 24, 39, .14);
  box-shadow: 0 16px 28px rgba(16, 24, 39, .08);
}

.hm-quote-form__trade-option input:checked + .hm-quote-form__trade-card {
  border-color: var(--quote-trade-strong);
  background: #fff;
  box-shadow:
    0 16px 30px rgba(16, 24, 39, .08),
    inset 0 0 0 1px var(--quote-trade-soft);
}

.hm-quote-form__trade-option input:focus-visible + .hm-quote-form__trade-card {
  outline: 3px solid rgba(154, 107, 214, .18);
  outline-offset: 2px;
}

.hm-quote-form__trade-card .hm-icon-img,
.hm-quote-form__trade-card svg {
  width: 52px;
  height: 52px;
  display: block;
  object-fit: contain;
}

.hm-quote-form__trade-card strong {
  color: #425b7c;
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -.01em;
}

.hm-quote-form__trade-option input:checked + .hm-quote-form__trade-card strong {
  color: var(--quote-trade);
}

.hm-quote-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.hm-quote-form label {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.hm-quote-form label span {
  color: #475467;
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hm-quote-form input,
.hm-quote-form select,
.hm-quote-form textarea {
  width: 100%;
  min-height: 54px;
  border: 1px solid rgba(16, 24, 39, .12);
  border-radius: 18px;
  padding: 0 16px;
  background: #fff;
  color: var(--hm-ink);
  font: inherit;
  font-weight: 750;
  box-shadow: 0 12px 28px rgba(16, 24, 39, .05);
}

.hm-quote-form textarea {
  min-height: 118px;
  padding-top: 14px;
  resize: vertical;
}

.hm-quote-form input:focus,
.hm-quote-form select:focus,
.hm-quote-form textarea:focus {
  outline: 3px solid rgba(154, 107, 214, .18);
  border-color: #9a6bd6;
}

.hm-quote-form__wide,
.hm-quote-form__actions {
  grid-column: 1 / -1;
}

.hm-quote-form__actions {
  display: block;
  margin-top: 18px;
}

.hm-quote-form button {
  min-height: 56px;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #9a6bd6, #7f52bc);
  color: #fff;
  font-weight: 950;
  cursor: pointer;
  box-shadow: 0 18px 42px rgba(154, 107, 214, .24);
}

.hm-quote-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 48px rgba(154, 107, 214, .28);
}

.hm-quote-form__button-icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hm-quote-form__button-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.hm-quote-form__meta {
  margin: 12px 0 0;
  color: var(--hm-muted);
  font-size: .9rem;
  text-align: center;
  font-weight: 700;
  line-height: 1.5;
}

.hm-tradies-panel {
  display: block;
}

.hm-tradies-carousel {
  position: relative;
  margin-inline: calc((100vw - min(1200px, calc(100vw - 48px))) / -2);
  padding-inline: calc((100vw - min(1200px, calc(100vw - 48px))) / 2);
}

.hm-tradies-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: calc((100vw - min(1200px, calc(100vw - 48px))) / 2);
  cursor: grab;
  -ms-overflow-style: none;
  /* 'scrollbar-width' is not supported by Chrome < 121, Safari, iOS, Samsung Internet. */
  scrollbar-width: none;
}

.hm-tradies-viewport::-webkit-scrollbar {
  display: none;
}

.hm-tradies-viewport.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.hm-tradies-track {
  display: flex;
  gap: 24px;
  width: max-content;
  padding: 74px 0 46px;
}

.hm-tradies-panel[data-tradies-panel="electrical"] {
  --service-trade-accent: #9ac244;
  --service-trade-accent-dark: #7a9038;
  --service-trade-accent-soft: rgba(154, 194, 68, .14);
  --service-trade-accent-ring: rgba(154, 194, 68, .42);
  --service-trade-shadow: rgba(122, 144, 56, .24);
}

.hm-tradies-panel[data-tradies-panel="plumbing"] {
  --service-trade-accent: #1e88e5;
  --service-trade-accent-dark: #1565c0;
  --service-trade-accent-soft: rgba(30, 136, 229, .14);
  --service-trade-accent-ring: rgba(30, 136, 229, .4);
  --service-trade-shadow: rgba(21, 101, 192, .22);
}

.hm-tradies-panel[data-tradies-panel="hvac"] {
  --service-trade-accent: #d84b43;
  --service-trade-accent-dark: #b5322b;
  --service-trade-accent-soft: rgba(216, 75, 67, .14);
  --service-trade-accent-ring: rgba(216, 75, 67, .4);
  --service-trade-shadow: rgba(181, 50, 43, .22);
}

.hm-tradie-card {
  flex: 0 0 clamp(292px, 29vw, 374px);
  scroll-snap-align: start;
  transform-origin: center bottom;
  border-width: 2px;
  border-color: var(--service-trade-accent-ring, rgba(154, 194, 68, .34));
  box-shadow:
    0 18px 46px rgba(16, 24, 39, .08),
    inset 0 0 0 1px var(--service-trade-accent-soft, rgba(154, 194, 68, .12));
  transition:
    transform .28s ease,
    border-color .28s ease,
    box-shadow .28s ease,
    background .28s ease;
}

.hm-tradie-card::before {
  display: none;
}

.hm-tradie-card.is-active {
  transform: translateY(-6px);
  border-color: var(--service-trade-accent-ring, rgba(154, 194, 68, .42));
  background: linear-gradient(180deg, #fff 0%, #fbfaf6 100%);
  box-shadow:
    0 22px 58px rgba(16, 24, 39, .14),
    inset 0 0 0 2px var(--service-trade-accent-soft, rgba(154, 194, 68, .14));
}

.hm-tradie-card:hover,
.hm-tradie-card:focus-visible {
  transform: translateY(-9px);
  border-color: var(--service-trade-accent, #9ac244);
  background: linear-gradient(180deg, var(--service-trade-accent, #9ac244) 0%, var(--service-trade-accent-dark, #7a9038) 100%);
  box-shadow: 0 30px 72px var(--service-trade-shadow, rgba(122, 144, 56, .26));
}

.hm-tradie-card:hover strong,
.hm-tradie-card:hover span:not(.hm-service-icon):not(.hm-tradie-card__media):not(.hm-tradie-card__body),
.hm-tradie-card:hover em,
.hm-tradie-card:focus-visible strong,
.hm-tradie-card:focus-visible span:not(.hm-service-icon):not(.hm-tradie-card__media):not(.hm-tradie-card__body),
.hm-tradie-card:focus-visible em {
  color: #fff;
}

.hm-tradie-card:hover em,
.hm-tradie-card:focus-visible em {
  background: rgba(255, 255, 255, .18);
}

.hm-tradie-card:hover .hm-service-icon,
.hm-tradie-card:focus-visible .hm-service-icon {
  transform: translateX(-50%) translateY(-4px) scale(1.04);
  color: #fff;
  background: linear-gradient(135deg, var(--service-trade-accent, #9ac244) 0%, var(--service-trade-accent-dark, #7a9038) 100%);
  box-shadow:
    0 0 0 7px white,
    0 0 0 11px var(--service-trade-accent, #9ac244),
    0 18px 42px var(--service-trade-shadow, rgba(122, 144, 56, .28));
}
.hm-tradie-card:hover .hm-service-icon:has(.hm-icon-img--line),
.hm-tradie-card:focus-visible .hm-service-icon:has(.hm-icon-img--line) {
  color: var(--hm-ink);
  background: rgba(255,255,255,.98);
}

.hm-tradie-card:hover .hm-service-icon .hm-icon-img,
.hm-tradie-card:focus-visible .hm-service-icon .hm-icon-img {
  filter: brightness(0) invert(1) drop-shadow(0 4px 8px rgba(16, 24, 39, .16));
}
.hm-tradie-card:hover .hm-service-icon .hm-icon-img--line,
.hm-tradie-card:focus-visible .hm-service-icon .hm-icon-img--line {
  filter: none !important;
}

.hm-carousel-btn {
  position: absolute;
  top: 44%;
  z-index: 5;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  color: var(--hm-ink);
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 18px 44px rgba(16, 24, 39, .14);
}

.hm-carousel-btn--prev {
  left: max(16px, calc((100vw - 1200px) / 2 - 26px));
}

.hm-carousel-btn--next {
  right: max(16px, calc((100vw - 1200px) / 2 - 26px));
}

.hm-satisfaction {
  position: relative;
  overflow: hidden;
  padding: clamp(78px, 8vw, 118px) 0;
  background:
    radial-gradient(820px 380px at 84% 10%, rgba(154, 194, 68, .2), transparent 62%),
    linear-gradient(180deg, #fff 0%, #f6f3ed 100%);
}

.hm-satisfaction__shell {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(360px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  margin-bottom: 28px;
  padding: clamp(26px, 4vw, 46px);
  border-radius: 42px;
  background:
    radial-gradient(circle at 12% 0%, rgba(154, 107, 214, .16), transparent 48%),
    linear-gradient(135deg, #101827 0%, #18243a 66%, #102019 100%);
  color: #fff;
  box-shadow: 0 32px 90px rgba(16, 24, 39, .2);
}

.hm-satisfaction__copy h2 {
  margin: 10px 0 18px;
  color: #fff;
  font-size: clamp(2.1rem, 4.5vw, 4rem);
  line-height: .96;
}

.hm-satisfaction__copy p:not(.hm-eyebrow) {
  max-width: 640px;
  color: rgba(255, 255, 255, .78);
  line-height: 1.7;
}

.hm-satisfaction__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.hm-satisfaction__stats span {
  display: grid;
  gap: 4px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .78);
  font-weight: 800;
}

.hm-satisfaction__stats strong {
  color: #9ac244;
  font-size: 1.7rem;
}

.hm-satisfaction__media {
  position: relative;
  min-height: 320px;
}

.hm-satisfaction__media img {
  width: 100%;
  height: 360px;
  display: block;
  object-fit: cover;
  border-radius: 34px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, .28);
  transform: rotate(1.5deg);
}

.hm-satisfaction__badge {
  position: absolute;
  left: -18px;
  bottom: 18px;
  max-width: 240px;
  display: grid;
  gap: 6px;
  padding: 18px 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, .94);
  color: var(--hm-ink);
  box-shadow: 0 20px 52px rgba(16, 24, 39, .18);
}

.hm-satisfaction__badge span {
  color: #6f8a28;
  font-size: .74rem;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hm-satisfaction__badge strong {
  line-height: 1.25;
}

.hm-proof-six {
  position: relative;
  overflow: hidden;
  padding: clamp(78px, 8vw, 118px) 0;
  background:
    linear-gradient(rgba(255, 255, 255, .58), rgba(255, 255, 255, .72)),
    url('/ads/assets/images/shared/background-pattern.webp') center / cover fixed,
    linear-gradient(180deg, #f7f2e9 0%, #fff 100%);
}

.hm-proof-six::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(680px 280px at 10% 14%, rgba(154, 194, 68, .22), transparent 64%),
    radial-gradient(760px 340px at 88% 20%, rgba(154, 107, 214, .18), transparent 64%),
    linear-gradient(90deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.hm-proof-six .hm-container {
  position: relative;
  z-index: 1;
}

.hm-proof-six__head {
  max-width: 820px;
  margin: 0 auto 36px;
  text-align: center;
}

.hm-proof-six__head h2 {
  margin: 10px 0 16px;
  color: var(--hm-ink);
  font-size: clamp(2.1rem, 4.7vw, 4.05rem);
  line-height: .98;
}

.hm-proof-six__head p:not(.hm-eyebrow) {
  margin: 0 auto;
  max-width: 690px;
  color: var(--hm-muted);
  font-size: 1.04rem;
  line-height: 1.7;
}

.hm-proof-six__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.hm-proof-six__card {
  min-height: 252px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  padding: 30px 24px 26px;
  border: 1px solid rgba(16, 24, 39, .1);
  border-radius: 28px;
  background: rgba(255, 255, 255, .78);
  color: var(--hm-ink);
  text-align: center;
  box-shadow: 0 20px 54px rgba(16, 24, 39, .1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.hm-proof-six__card:hover {
  transform: translateY(-4px);
  border-color: rgba(154, 107, 214, .24);
  box-shadow: 0 28px 70px rgba(16, 24, 39, .15);
}

.hm-proof-six__icon {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background:
    radial-gradient(circle at 28% 20%, rgba(255, 255, 255, .9), transparent 48%),
    linear-gradient(135deg, #9ac244, #7a9038);
  box-shadow:
    0 0 0 8px rgba(255, 255, 255, .78),
    0 18px 38px rgba(122, 144, 56, .26);
}

.hm-proof-six__icon .hm-icon-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: brightness(0) invert(1) drop-shadow(0 4px 8px rgba(16, 24, 39, .16));
}
.hm-proof-six__icon .hm-icon-img--line {
  width: 56px;
  height: 56px;
  filter: none !important;
}
.hm-proof-six__icon:has(.hm-icon-img--line) {
  background: rgba(255,255,255,.96);
}

.hm-proof-six__card h3 {
  margin: 8px 0 0;
  color: var(--hm-ink);
  font-size: 1.18rem;
  line-height: 1.16;
}

.hm-proof-six__card p {
  margin: 0;
  color: var(--hm-muted);
  font-size: .96rem;
  line-height: 1.62;
}

.hm-rev-marquee__head p {
  margin: 0 auto;
  max-width: 660px;
  color: rgba(255, 255, 255, .72);
  line-height: 1.65;
}

/* Per-trade accent tints for the proof band - shifts the radial-gradient
   accent colour so each category hub feels distinct without losing the band's
   shared layout. Default (no theme class) keeps the homepage greenish glow. */
.hm-proof-six--electrical::before {
  background:
    radial-gradient(680px 280px at 10% 14%, rgba(245, 158, 11, .22), transparent 64%),
    radial-gradient(760px 340px at 88% 20%, rgba(154, 107, 214, .22), transparent 64%),
    linear-gradient(90deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, 0));
}
.hm-proof-six--hvac::before {
  background:
    radial-gradient(680px 280px at 10% 14%, rgba(239, 68, 68, .22), transparent 64%),
    radial-gradient(760px 340px at 88% 20%, rgba(56, 189, 248, .22), transparent 64%),
    linear-gradient(90deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, 0));
}
.hm-proof-six--plumbing::before {
  background:
    radial-gradient(680px 280px at 10% 14%, rgba(56, 189, 248, .26), transparent 64%),
    radial-gradient(760px 340px at 88% 20%, rgba(154, 194, 68, .2), transparent 64%),
    linear-gradient(90deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, 0));
}

@media (max-width: 980px) {
  .hm-proof-six__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .hm-proof-six {
    background-attachment: scroll;
  }

  .hm-proof-six__grid {
    grid-template-columns: 1fr;
  }

  .hm-proof-six__card {
    min-height: 0;
    align-items: center;
    text-align: center;
    border-radius: 24px;
  }
}

@media (max-width: 980px) {
  .hm-hero__media {
    display: none;
  }

  .hm-quote-section__grid,
  .hm-satisfaction__shell {
    grid-template-columns: 1fr;
  }

  .hm-quote-section__van {
    display: none;
  }

  .hm-satisfaction__stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .hm-hero__inner {
    gap: 18px;
  }

  .hm-hero__copy {
    display: flex;
    flex-direction: column;
  }

  .hm-proof-list {
    order: 4;
  }

  .hm-hero__inner > .hm-trade-switch.hm-trade-switch--hero {
    order: 5;
    margin-top: 0;
  }

  .hm-hero__inner > .hm-trade-switch .hm-trade-switch__cards {
    grid-template-columns: 1fr;
  }

  .hm-hero__inner > .hm-trade-switch button.hm-trade-tab {
    min-height: 96px;
  }

  .hm-quote-section {
    padding: 42px 0 58px;
  }

  .hm-quote-form,
  .hm-satisfaction__shell {
    border-radius: 30px;
  }

  .hm-quote-form__grid {
    grid-template-columns: 1fr;
  }

  .hm-quote-form__trade-picker {
    grid-template-columns: 1fr;
  }

  .hm-quote-form__wide,
  .hm-quote-form__actions {
    grid-column: auto;
  }

  .hm-tradies-carousel {
    margin-inline: -16px;
    padding-inline: 16px;
  }

  .hm-tradies-viewport {
    scroll-padding-inline: 16px;
  }

  .hm-tradies-track {
    gap: 16px;
    padding: 44px 0 34px;
  }

  .hm-tradie-card {
    flex-basis: calc(100vw - 48px);
  }

  .hm-carousel-btn {
    display: none;
  }

  .hm-tradie-card:hover {
    transform: none;
  }

  .hm-satisfaction__media img {
    height: 250px;
    transform: none;
  }

  .hm-satisfaction__badge {
    left: 14px;
    right: 14px;
    bottom: 14px;
    max-width: none;
  }
}


/* ===========================================================================
 * How-it-works - 4-step process cards
 * inc/components/how-it-works.php
 * =========================================================================== */
.hm-howto {
  position: relative;
  padding: clamp(70px, 7vw, 110px) 0;
  background: linear-gradient(180deg, #fff 0%, #f7f2e9 100%);
}
.hm-howto .hm-container { position: relative; z-index: 1; }
.hm-howto__head {
  max-width: 820px;
  margin: 0 auto 40px;
  text-align: center;
}
.hm-howto__head h2 {
  margin: 10px 0 16px;
  color: var(--hm-ink, #1f1d1a);
  font-size: clamp(2.05rem, 4.4vw, 3.85rem);
  line-height: 1.02;
  font-weight: 800;
}
.hm-howto__head p:not(.hm-eyebrow) {
  margin: 0 auto;
  max-width: 640px;
  color: rgba(31, 29, 26, .72);
  font-size: 1.05rem;
  line-height: 1.6;
}
.hm-howto__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: hm-howto;
}
.hm-howto__card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 32px 26px 30px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(17, 24, 39, .08);
  box-shadow: 0 18px 36px rgba(17, 24, 39, .06);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.hm-howto__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 48px rgba(17, 24, 39, .10);
  border-color: rgba(154, 107, 214, .35);
}
.hm-howto__num {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 2.6rem;
  font-weight: 900;
  color: rgba(154, 107, 214, .12);
  line-height: 1;
  letter-spacing: -0.04em;
}
.hm-howto__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(154, 107, 214, .12), rgba(154, 194, 68, .12));
}
.hm-howto__icon .hm-icon-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}
.hm-howto__card h3 {
  margin: 0;
  color: var(--hm-ink, #1f1d1a);
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.25;
}
.hm-howto__card p {
  margin: 0;
  color: rgba(31, 29, 26, .76);
  font-size: .98rem;
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .hm-howto__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .hm-howto__grid { grid-template-columns: 1fr; }
  .hm-howto__num { font-size: 2.1rem; top: 14px; right: 18px; }
  .hm-howto__card { padding: 26px 22px 24px; }
}

/* ===========================================================================
 * Trust strip - Google rating, licensed, 24/7, same-day, dispatch
 * inc/components/trust-strip.php
 * =========================================================================== */
.hm-trust-strip {
  position: relative;
  padding: 18px 0;
  background: linear-gradient(180deg, #0b1b35 0%, #08111f 100%);
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, .06);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.hm-trust-strip--compact { padding: 12px 0; }
.hm-trust-strip__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.hm-trust-strip__item {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 0;
  min-width: 0;
}
.hm-trust-strip__icon {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(154, 107, 214, .25), rgba(154, 194, 68, .18));
  position: relative;
}
.hm-trust-strip__icon::before {
  content: '';
  position: absolute;
  inset: 0;
  display: block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px 18px;
}
.hm-trust-strip__icon--star::before { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f59e0b'><path d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/></svg>"); }
.hm-trust-strip__icon--shield::before { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%239ac244'><path d='M12 2L4 5v6c0 5.55 3.84 10.74 8 12 4.16-1.26 8-6.45 8-12V5l-8-3zm-1.5 13.5L7 12l1.5-1.5 2 2 5-5L17 9l-6.5 6.5z'/></svg>"); }
.hm-trust-strip__icon--phone::before { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%239a6bd6'><path d='M20 15.5c-1.25 0-2.45-.2-3.57-.57a1 1 0 00-1.02.24l-2.2 2.2a15.07 15.07 0 01-6.59-6.58l2.2-2.21c.27-.27.35-.66.24-1.02A11.36 11.36 0 018.5 4a1 1 0 00-1-1H4a1 1 0 00-1 1c0 9.39 7.61 17 17 17a1 1 0 001-1v-3.5a1 1 0 00-1-1z'/></svg>"); }
.hm-trust-strip__icon--clock::before { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff' opacity='0.86'><path d='M12 2a10 10 0 100 20 10 10 0 000-20zm.5 11H7v-2h3.5V6h2v7z'/></svg>"); }
.hm-trust-strip__icon--pin::before { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%239ac244'><path d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5A2.5 2.5 0 1112 6.5a2.5 2.5 0 010 5z'/></svg>"); }
.hm-trust-strip__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.hm-trust-strip__text strong {
  color: #fff;
  font-size: .98rem;
  font-weight: 700;
  line-height: 1.2;
}
.hm-trust-strip__small {
  color: rgba(255, 255, 255, .58);
  font-size: .8rem;
  line-height: 1.2;
}

@media (max-width: 1100px) {
  .hm-trust-strip__row { justify-content: flex-start; }
  .hm-trust-strip__item { flex: 1 1 calc(50% - 14px); min-width: 0; }
}
@media (max-width: 640px) {
  .hm-trust-strip__item { flex: 1 1 100%; }
  .hm-trust-strip__small { display: none; }
}

/* ===========================================================================
 * Phase 6 interaction polish
 * =========================================================================== */
.hm a:focus-visible,
.hm button:focus-visible,
.hm input:focus-visible,
.hm select:focus-visible,
.hm textarea:focus-visible,
.hm summary:focus-visible {
  outline: 3px solid rgba(154, 107, 214, .58);
  outline-offset: 4px;
}

.hm .btn:focus-visible,
.hm-trade-tab:focus-visible,
.hm-tradie-card:focus-visible,
.hm-quote-form__trade-option input:focus-visible + .hm-quote-form__trade-card,
.hm-finance-form__trade-option:focus-visible {
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, .95),
    0 0 0 8px rgba(154, 107, 214, .36);
}

.hm-proof-six__card,
.hm-howto__card,
.hm-trust-strip__item {
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.hm-proof-six__card:hover,
.hm-howto__card:hover {
  transform: translateY(-3px);
}

@media (hover: none) {
  .hm-proof-six__card:hover,
  .hm-howto__card:hover,
  .hm-tradie-card:hover,
  .hm-trade-tab:hover {
    transform: none;
  }
}

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

/* ===========================================================================
 * Senior design correction - homepage hero
 * Replace the decorative worker cut-out with a usable trade selection panel.
 * =========================================================================== */
.hm .hm-hero {
  color: var(--hm-ink);
  padding: 22px 0 54px;
  background:
    linear-gradient(135deg, #fffdf8 0%, #fff 48%, #f0f4e8 100%);
  border-bottom: 1px solid rgba(16, 24, 39, .08);
}

.hm .hm-hero::after {
  display: none;
}

.hm .hm-hero__inner {
  width: min(1220px, calc(100% - 48px));
  min-height: auto;
  padding: clamp(38px, 5vw, 64px) 0 clamp(42px, 5.5vw, 72px);
  display: grid;
  grid-template-columns: minmax(0, .98fr) minmax(360px, .72fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
}

.hm .hm-hero__copy {
  max-width: 720px;
}

.hm .hm-review {
  color: var(--hm-ink);
  background: rgba(255, 255, 255, .78);
  border-color: rgba(16, 24, 39, .09);
  box-shadow: 0 14px 34px rgba(16, 24, 39, .08);
}

.hm .hm-review span {
  color: rgba(16, 24, 39, .68);
}

.hm .hm-review strong,
.hm .hm-hero h1,
.hm .hm-hero-title-main {
  color: var(--hm-ink);
}

.hm .hm-hero h1 {
  max-width: 760px;
  text-wrap: balance;
}

.hm .hm-hero-title-electrical,
.hm .hm-hero-title-plumbing,
.hm .hm-hero-title-hvac {
  text-shadow: none;
}

.hm .hm-hero-title-electrical {
  color: #6f8a28;
}

.hm .hm-hero-title-plumbing {
  color: #1565a9;
}

.hm .hm-hero-title-hvac {
  color: #b63a32;
}

.hm .hm-hero__lead {
  max-width: 660px;
  color: rgba(16, 24, 39, .74);
}

.hm .hm-proof-list {
  width: min(640px, 100%);
  gap: 12px;
}

.hm .hm-proof-list li {
  color: rgba(16, 24, 39, .82);
}

.hm .hm-proof-list li::before {
  border-color: rgba(154, 194, 68, .42);
  background: rgba(154, 194, 68, .08);
}

.hm .hm-btn--primary {
  background: #101827;
  color: #fff;
  box-shadow: 0 18px 42px rgba(16, 24, 39, .2);
}

.hm .hm-btn--trade {
  background: linear-gradient(135deg, #8fb73d, #6f8a28);
  color: #fff;
  box-shadow: 0 18px 38px rgba(111, 138, 40, .22);
}

.hm .hm-hero__media {
  display: none;
}

.hm .hm-hero__inner > .hm-trade-switch.hm-trade-switch--hero {
  grid-column: auto;
  justify-self: stretch;
  align-self: center;
  display: grid;
  gap: 16px;
  width: 100%;
  max-width: 460px;
  margin: 0 0 0 auto;
  padding: clamp(20px, 2.7vw, 26px);
  border-radius: 18px;
  border: 1px solid rgba(16, 24, 39, .08);
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: 0 28px 80px rgba(16, 24, 39, .13);
}

.hm .hm-trade-switch__top {
  display: grid;
  gap: 8px;
}

.hm .hm-trade-switch__top > span {
  color: #6f8a28;
  font-size: .76rem;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hm .hm-trade-switch__top strong {
  color: var(--hm-ink);
  font-size: clamp(1.32rem, 1.9vw, 1.72rem);
  line-height: 1.1;
}

.hm .hm-trade-switch__top p {
  margin: 0;
  color: rgba(16, 24, 39, .66);
  line-height: 1.55;
}

.hm .hm-hero__inner > .hm-trade-switch .hm-trade-switch__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  width: 100%;
}

.hm .hm-hero__inner > .hm-trade-switch button.hm-trade-tab {
  --trade-accent: #8fb73d;
  min-height: 92px;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(16, 24, 39, .09);
  border-radius: 12px;
  background: #fff;
  color: var(--hm-ink);
  box-shadow: 0 14px 32px rgba(16, 24, 39, .06);
  text-align: left;
}

.hm .hm-hero__inner > .hm-trade-switch button.hm-trade-tab:hover,
.hm .hm-hero__inner > .hm-trade-switch button.hm-trade-tab:focus-visible {
  transform: translateY(-2px);
  border-color: var(--trade-accent-strong);
  box-shadow: 0 22px 48px rgba(16, 24, 39, .11);
}

.hm .hm-hero__inner > .hm-trade-switch button.hm-trade-tab.is-active {
  color: var(--hm-ink);
  background: linear-gradient(180deg, #fff, #f8faf6);
  border-color: var(--trade-accent-strong);
  box-shadow:
    inset 0 0 0 1px var(--trade-accent-soft),
    0 24px 52px rgba(16, 24, 39, .12);
}

.hm .hm-hero__inner > .hm-trade-switch .hm-trade-tab__icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, #fff, #f4f7ef);
  border: 1px solid var(--trade-accent-strong);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.76);
}

.hm .hm-hero__inner > .hm-trade-switch .hm-trade-tab__text {
  display: grid;
  gap: 5px;
}

.hm .hm-hero__inner > .hm-trade-switch .hm-trade-tab__text strong {
  color: var(--hm-ink);
  font-size: 1.05rem;
}

.hm .hm-hero__inner > .hm-trade-switch .hm-trade-tab__text small {
  color: rgba(16, 24, 39, .64);
  font-size: .88rem;
  line-height: 1.35;
}

.hm .hm-trade-switch__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 50px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #101827;
  color: #fff;
}

.hm .hm-trade-switch__footer span {
  color: rgba(255,255,255,.62);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hm .hm-trade-switch__footer strong {
  color: #fff;
  font-size: .94rem;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .hm .hm-hero__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hm .hm-hero__inner > .hm-trade-switch.hm-trade-switch--hero {
    max-width: none;
    margin: 0;
  }
}

@media (max-width: 700px) {
  .hm .hm-hero {
    padding: 0;
  }

  .hm .hm-hero__inner {
    width: min(100%, calc(100% - 32px));
    padding: 34px 0 46px;
  }

  .hm .hm-hero__copy {
    gap: 18px;
  }

  .hm .hm-hero h1 {
    font-size: clamp(2.05rem, 10vw, 3rem);
  }

  .hm .hm-hero__inner > .hm-trade-switch.hm-trade-switch--hero {
    order: 2;
    border-radius: 26px;
    padding: 18px;
  }

  .hm .hm-hero__inner > .hm-trade-switch button.hm-trade-tab {
    min-height: 88px;
    grid-template-columns: 54px minmax(0, 1fr);
    padding: 14px;
  }

  .hm .hm-hero__inner > .hm-trade-switch .hm-trade-tab__icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
  }

  .hm .hm-trade-switch__footer {
    align-items: flex-start;
    flex-direction: column;
    min-height: 0;
  }
}

/* ===========================================================================
 * Senior design correction - proof/process bands
 * Calm down the heavy decorative treatment and make the two trust sections feel
 * like one deliberate conversion system.
 * =========================================================================== */
.hm .hm-proof-six {
  padding: clamp(66px, 7vw, 94px) 0;
  background: linear-gradient(180deg, #fffdf8 0%, #f7f3ec 100%);
}

.hm .hm-proof-six::before {
  display: none;
}

.hm .hm-proof-six__head,
.hm .hm-howto__head {
  max-width: 760px;
  margin-bottom: 32px;
}

.hm .hm-proof-six__head h2,
.hm .hm-howto__head h2 {
  font-size: clamp(2rem, 3.25vw, 3.2rem);
  line-height: 1.08;
}

.hm .hm-proof-six__head p:not(.hm-eyebrow),
.hm .hm-howto__head p:not(.hm-eyebrow) {
  max-width: 620px;
  font-size: 1rem;
}

.hm .hm-proof-six__grid,
.hm .hm-howto__grid {
  gap: 14px;
}

.hm .hm-proof-six__card {
  min-height: 232px;
  padding: 26px 22px 24px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 14px 34px rgba(16, 24, 39, .075);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.hm .hm-proof-six__icon {
  width: 70px;
  height: 70px;
  border-radius: 14px;
  background: #101827;
  box-shadow: 0 14px 30px rgba(16, 24, 39, .14);
}
.hm .hm-proof-six__icon:has(.hm-icon-img--line) {
  background: rgba(255,255,255,.96);
}

.hm .hm-proof-six__icon .hm-icon-img {
  width: 34px;
  height: 34px;
}
.hm .hm-proof-six__icon .hm-icon-img--line {
  width: 52px;
  height: 52px;
  filter: none !important;
}

.hm .hm-howto {
  padding: clamp(66px, 7vw, 96px) 0;
  background-color: #e8f0f7;
  background-image:
    linear-gradient(180deg, rgba(232, 240, 247, .93) 0%, rgba(236, 242, 248, .97) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cg fill='none' stroke='%237a92a8' stroke-width='1' stroke-linecap='round' stroke-linejoin='round' opacity='.55'%3E%3Cpath d='M12 48h44v32h52M56 80v44h68M128 36h48v58h-26M18 148h58v36M148 148h40v34M96 18v28M178 110h24'/%3E%3Ccircle cx='56' cy='48' r='2.4' fill='%237a92a8' stroke='none'/%3E%3Ccircle cx='108' cy='80' r='2.4' fill='%237a92a8' stroke='none'/%3E%3Ccircle cx='124' cy='124' r='2.4' fill='%237a92a8' stroke='none'/%3E%3Ccircle cx='128' cy='36' r='2.4' fill='%237a92a8' stroke='none'/%3E%3Ccircle cx='176' cy='94' r='2.4' fill='%237a92a8' stroke='none'/%3E%3Ccircle cx='76' cy='148' r='2.4' fill='%237a92a8' stroke='none'/%3E%3Ccircle cx='188' cy='148' r='2.4' fill='%237a92a8' stroke='none'/%3E%3C/g%3E%3C/svg%3E");
  background-size: auto, 220px 220px;
  background-repeat: repeat;
  border-top: 1px solid rgba(122, 146, 168, .18);
  border-bottom: 1px solid rgba(122, 146, 168, .18);
}

.hm .hm-howto__card {
  min-height: 252px;
  justify-content: flex-start;
  padding: 28px 22px 24px;
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: 0 12px 30px rgba(16, 24, 39, .065);
}

.hm .hm-howto__num {
  top: 14px;
  right: 16px;
  color: rgba(16, 24, 39, .09);
  letter-spacing: 0;
}

.hm .hm-howto__icon {
  width: 62px;
  height: 62px;
  border-radius: 14px;
  border: 1px solid rgba(16, 24, 39, .08);
  background: #f2f6ea;
}

.hm .hm-howto__icon .hm-icon-img {
  width: 34px;
  height: 34px;
}

.hm .hm-howto__icon--premium {
  overflow: hidden;
  width: 112px;
  height: 112px;
  padding: 0;
  border-radius: 18px;
  background: #faf9f7;
  box-shadow: 0 12px 28px rgba(16, 24, 39, .08);
}

.hm .hm-howto__icon--premium .hm-howto__process-art {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 700px) {
  .hm .hm-proof-six,
  .hm .hm-howto {
    padding: 54px 0;
  }

  .hm .hm-proof-six__grid,
  .hm .hm-howto__grid {
    gap: 12px;
  }

  .hm .hm-proof-six__card,
  .hm .hm-howto__card {
    min-height: 0;
    align-items: center;
    text-align: center;
    padding: 24px 20px 22px;
  }
}

/* ---------- Emergency band (L2/L3/L4 upward link to L5 money pages) ---------- */
.emergency-band {
  position: relative;
  background: linear-gradient(135deg, #0f1a2f 0%, #2a1c3f 55%, #1b2c44 100%);
  color: #fff;
  padding: 56px 0;
  overflow: hidden;
}
.emergency-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 18% 30%, rgba(154,107,214,.22), transparent 55%),
              radial-gradient(circle at 82% 70%, rgba(154,194,68,.18), transparent 55%);
  pointer-events: none;
}
.emergency-band .hm-container { position: relative; z-index: 1; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.emergency-band__head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  margin-bottom: 32px;
}
.emergency-band__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(226,72,58,.18);
  border: 1px solid rgba(226,72,58,.4);
  color: #ffd5cf;
  font-size: 12.5px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.emergency-band__pulse {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e2483a;
  box-shadow: 0 0 0 0 rgba(226,72,58,.6);
  animation: emergency-band-pulse 1.6s ease-out infinite;
}
@keyframes emergency-band-pulse {
  0%   { box-shadow: 0 0 0 0   rgba(226,72,58,.6); }
  70%  { box-shadow: 0 0 0 12px rgba(226,72,58,0); }
  100% { box-shadow: 0 0 0 0   rgba(226,72,58,0); }
}
.emergency-band__head h2 {
  margin: 0 0 10px;
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.15;
  letter-spacing: -.01em;
}
.emergency-band__lead {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255,255,255,.82);
  max-width: 720px;
}
.emergency-band__phone {
  display: inline-grid;
  gap: 4px;
  padding: 16px 24px;
  border-radius: 16px;
  background: linear-gradient(135deg, #9a6bd6 0%, #7d4fc4 100%);
  color: #fff;
  text-decoration: none;
  text-align: right;
  box-shadow: 0 22px 48px rgba(154,107,214,.34);
  transition: transform .15s ease, box-shadow .15s ease;
}
.emergency-band__phone span { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.78); }
.emergency-band__phone strong { font-size: 22px; font-weight: 900; letter-spacing: -.01em; }
.emergency-band__phone:hover { transform: translateY(-2px); box-shadow: 0 26px 54px rgba(154,107,214,.46); color: #fff; }
.emergency-band__phone:focus-visible { outline: 3px solid rgba(255,255,255,.6); outline-offset: 3px; }
.emergency-band__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.emergency-band__card a {
  display: grid;
  gap: 10px;
  padding: 22px 22px 20px;
  border-radius: 18px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  color: #fff;
  text-decoration: none;
  height: 100%;
  transition: transform .15s ease, border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.emergency-band__card a:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,.1);
  border-color: rgba(154,194,68,.55);
  box-shadow: 0 22px 48px rgba(0,0,0,.30);
}
.emergency-band__card a:focus-visible { outline: 3px solid rgba(154,194,68,.7); outline-offset: 3px; }
.emergency-band__card--primary a {
  background: linear-gradient(135deg, rgba(154,107,214,.28) 0%, rgba(154,194,68,.20) 100%);
  border-color: rgba(154,194,68,.55);
  box-shadow: 0 18px 44px rgba(0,0,0,.22);
}
.emergency-band__card-label { font-weight: 900; font-size: 16px; line-height: 1.3; }
.emergency-band__card-label em { font-style: normal; font-weight: 700; color: #cfeba0; margin-left: 4px; font-size: 13px; }
.emergency-band__card-copy { font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.78); }
.emergency-band__card-cta { font-size: 13px; font-weight: 800; color: #cfeba0; letter-spacing: .04em; margin-top: 4px; }
@media (max-width: 900px) {
  .emergency-band__head { grid-template-columns: 1fr; }
  .emergency-band__grid { grid-template-columns: 1fr; }
  .emergency-band__phone { justify-self: start; text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  .emergency-band__pulse { animation: none; }
  .emergency-band__card a:hover { transform: none; }
}

/* ---------- Money page coverage map (L5 -> 65 L3 pages) ---------- */
.money-coverage-map h2 { font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -.01em; }
.money-coverage-map__groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
}
.money-coverage-map__group {
  background: #fff;
  border: 1px solid rgba(17,24,39,.08);
  border-radius: 18px;
  padding: 22px 22px 18px;
  box-shadow: 0 10px 28px rgba(17,24,39,.06);
}
.money-coverage-map__group h3 {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 14px;
  font-size: 17px;
  color: #1f2c45;
  border-bottom: 1px solid rgba(17,24,39,.08);
  padding-bottom: 10px;
}
.money-coverage-map__group h3 span { color: rgba(31,44,69,.55); font-weight: 600; font-size: 13px; }
.money-coverage-map__group ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 16px;
}
.money-coverage-map__group li { margin: 0; }
.money-coverage-map__group a {
  display: block;
  padding: 6px 0;
  color: #223149;
  text-decoration: none;
  font-weight: 600;
  font-size: 14.5px;
  transition: color .14s ease, transform .14s ease;
}
.money-coverage-map__group a:hover { color: var(--purple, #9a6bd6); transform: translateX(2px); }
.money-coverage-map__foot { text-align: center; margin-top: 28px; }
@media (max-width: 900px) {
  .money-coverage-map__groups { grid-template-columns: 1fr; }
}

