/* Lead & Customer Records: the approved Summit Heating & Air "lead to jobs" road map.
   Phones and tablets stack the seven steps along a vertical road. From 1280px up the steps
   become full-width rows and lead-customer-records.js draws the winding road around them. */

.rb-records-page {
  --rb-bg: #07111c;
  --rb-cyan: #26dff2;
  --rb-line: rgba(170, 205, 229, .17);
  background: var(--rb-bg);
  color: #f6f8fb;
}
.rb-records-main { min-width: 0; }
.rb-records-main > footer { width: auto; margin: 0; padding-inline: 24px; }

.rb-family-nav {
  position: relative;
  z-index: 10;
  display: flex;
  min-height: 72px;
  align-items: center;
  gap: 12px;
  padding: 11px 24px;
  border-block: 1px solid var(--rb-line);
  background: rgba(7, 17, 28, .92);
  backdrop-filter: blur(16px);
}
.rb-family-nav span { display: grid; min-width: 175px; margin-right: auto; }
.rb-family-nav small { color: #7f91a3; font: 600 11px "DM Sans", sans-serif; }
.rb-family-nav strong { font: 700 17px "Space Grotesk", sans-serif; }
.rb-family-nav a { padding: 10px 13px; border: 1px solid transparent; border-radius: 8px; color: #aab8c7; font: 600 13px "DM Sans", sans-serif; text-decoration: none; }
.rb-family-nav a:hover,
.rb-family-nav a[aria-current="page"] { border-color: rgba(38, 223, 242, .34); background: rgba(38, 223, 242, .08); color: #ecfdff; }
.rb-family-nav a:focus-visible,
.hv a:focus-visible { outline: 3px solid var(--rb-cyan); outline-offset: 3px; }

/* ---------------------------------------------------------------- shared */
.hv {
  --navy: #0d1b33;
  --ink2: #33415c;
  --asphalt: #464c54;
  --road-edge: #f5f7f8;
  display: block;
  overflow: hidden;
  color: var(--navy);
  font-family: "DM Sans", sans-serif;
  background:
    radial-gradient(ellipse 40% 30% at 0% 35%, rgba(126, 170, 96, .16), transparent 70%),
    radial-gradient(ellipse 40% 30% at 100% 60%, rgba(126, 170, 96, .14), transparent 70%),
    linear-gradient(180deg, #e8f0f2 0%, #f4f7f1 35%, #f5f6ee 70%, #eef3e8 100%);
}
.hv *, .hv *::before, .hv *::after { box-sizing: border-box; }
:where(.hv) :where(h1, h2, h3, p, ul, ol, figure, blockquote) { margin: 0; padding: 0; }
:where(.hv) :where(ul, ol) { list-style: none; }
.hv img { display: block; max-width: none; }
.hv svg { display: block; overflow: visible; }
.hv h1, .hv h2, .hv h3, .hv-lead__status, .hv-hub__name, .hv-booked, .hv-sign, .hv-pin b {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.hv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 26px;
  border-radius: 9px;
  background: linear-gradient(180deg, #2a86ff 0%, #1766e0 100%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .18) inset, 0 6px 18px rgba(26, 115, 232, .45);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}
.hv-btn:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(255, 255, 255, .22) inset, 0 10px 24px rgba(26, 115, 232, .55); }
.hv-btn svg { width: 18px; height: 18px; }

.hv-note { font-family: "Caveat", cursive; font-weight: 700; font-size: 27px; line-height: .95; color: #12254a; }
.hv-note u { color: #1b6fe0; text-decoration-thickness: 2px; text-underline-offset: 4px; }

.hv-checks { display: flex; flex-direction: column; gap: 6px; }
.hv-checks li { display: flex; align-items: center; gap: 9px; font-size: 15px; line-height: 1.25; }
.hv-checks svg { flex: 0 0 auto; width: 18px; height: 18px; color: var(--chk, #22b35e); }
.hv-stars { color: #f5b301; letter-spacing: 2px; line-height: 1; }

/* hero */
.hv-hero { position: relative; display: flex; flex-direction: column; background: linear-gradient(90deg, #06132a 0%, #0a1d3c 50%, #0c2344 100%); color: #fff; }
.hv-hero__media { position: relative; height: clamp(280px, 56vw, 480px); overflow: hidden; }
.hv-hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 22%; -webkit-mask-image: linear-gradient(180deg, #000 65%, transparent 100%); mask-image: linear-gradient(180deg, #000 65%, transparent 100%); }

.hv-hero__copy { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; width: min(100% - 32px, 640px); margin: -40px auto 0; padding-bottom: 20px; }
.hv h1 { color: #fff; font-size: clamp(38px, 8.6vw, 56px); line-height: 1.02; letter-spacing: -0.025em; }
.hv h1 em { color: #2ea8ff; font-family: inherit; font-style: italic; font-weight: 700; }
.hv h1 em.is-typing::after { content: ""; display: inline-block; width: .07em; height: .9em; margin-left: .06em; background: #2ea8ff; vertical-align: -.08em; animation: hv-caret .8s steps(1) infinite; }
@keyframes hv-caret { 50% { opacity: 0; } }
.hv-hero__lead { color: #e2eaf6; font-size: 17px; line-height: 1.45; }
.hv-hero .hv-btn { align-self: stretch; }
.hv-trust { display: flex; flex-wrap: wrap; gap: 6px 18px; color: #d7e1ef; font-size: 13.5px; }
.hv-note--hero { width: min(100% - 32px, 640px); margin: 8px auto 30px; color: #e3efff; font-size: 35px; -webkit-text-stroke: .7px currentColor; text-shadow: 2px 2px 0 rgba(4, 12, 28, .9), 0 6px 14px rgba(0, 0, 0, .45); }
.hv-note--hero u { color: #5cb8ff; }
.hv-note--hero br:nth-of-type(1), .hv-note--hero br:nth-of-type(3) { display: none; }

/* sign */
.hv-sign {
  position: relative;
  display: flex;
  align-items: stretch;
  width: 260px;
  margin: 26px max(16px, calc(50% - 360px)) 0 auto;
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .3));
  transform: rotate(1.5deg);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: .04em;
}
.hv-sign__board {
  position: relative;
  display: grid;
  flex: 1 1 auto;
  padding: 12px 28px 12px 12px;
  border-radius: 0 7px 7px 0;
  background:
    radial-gradient(circle at calc(100% - 12px) 18px, #2a170b 2.5px, #c9a36b 3px, transparent 4px),
    radial-gradient(circle at calc(100% - 12px) calc(100% - 18px), #2a170b 2.5px, #c9a36b 3px, transparent 4px),
    repeating-linear-gradient(180deg, transparent 0 31.5%, rgba(20, 10, 4, .75) 31.5% 33.3%),
    repeating-linear-gradient(88deg, rgba(255, 210, 150, .07) 0 3px, rgba(0, 0, 0, .06) 3px 9px, rgba(255, 210, 150, .04) 9px 17px),
    linear-gradient(180deg, #7a5230 0%, #5e3c21 55%, #4c2f19 100%);
  box-shadow: inset 0 2px 0 rgba(255, 225, 180, .25), inset 0 -3px 0 rgba(0, 0, 0, .35), inset -3px 0 0 rgba(255, 225, 180, .12);
  color: #f7e8c8;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, .6), 0 1px 0 rgba(255, 230, 190, .25);
}
.hv-sign__arrow {
  display: grid;
  place-items: center;
  width: 58px;
  background: linear-gradient(180deg, #7a5230 0%, #5e3c21 55%, #4c2f19 100%);
  clip-path: polygon(100% 0, 55% 0, 0 50%, 55% 100%, 100% 100%);
  box-shadow: inset 0 2px 0 rgba(255, 225, 180, .25);
}
.hv-sign svg { width: 26px; height: 26px; margin-left: 10px; transform: scaleX(-1); color: #f7e8c8; filter: drop-shadow(0 -1px 0 rgba(0, 0, 0, .5)); }

/* phone / tablet road rail */
.hv-course { position: relative; }
.hv .hv-road, .hv .hv-drive { display: none; }
.hv-step { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 16px; max-width: 760px; margin: 0 auto; padding: 30px 16px 30px 76px; }
.hv-step::before { content: ""; position: absolute; left: 20px; top: 0; bottom: 0; width: 22px; background: var(--asphalt); box-shadow: 0 0 0 2.5px var(--road-edge), 0 0 0 3.5px #c9ced3; }
.hv-step::after { content: ""; position: absolute; left: 30px; top: 0; bottom: 0; border-left: 2px dashed #fff; }
.hv-step > * { min-width: 0; }
.hv-step > .hv-pin { position: absolute; z-index: 1; left: 4px; top: 26px; width: 54px; height: 68px; filter: drop-shadow(0 4px 5px rgba(0, 0, 0, .3)); }
.hv-pin svg { width: 100%; height: 100%; color: var(--pin); }
.hv-pin b { position: absolute; left: 0; right: 0; top: 7px; color: #fff; font-size: 30px; text-align: center; }
.hv h2 { font-size: clamp(26px, 6.4vw, 34px); line-height: 1.06; }
.hv-intro { display: grid; gap: 10px; }
.hv-sub { color: var(--ink2); font-size: 16px; line-height: 1.45; text-wrap: pretty; }

.hv-sources { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 8px; padding: 18px 10px; border-radius: 14px; background: #fff; box-shadow: 0 4px 14px rgba(13, 27, 51, .1), 0 0 0 1px rgba(13, 27, 51, .05); }
.hv-sources li { display: flex; flex-direction: column; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; line-height: 1.2; text-align: center; }
.hv-tile { display: grid; place-items: center; width: 60px; height: 60px; border: 1.5px solid transparent; border-radius: 17px; background: linear-gradient(160deg, #ffffff, #f1f5fc) padding-box, linear-gradient(145deg, #c9dcff, #ffffff 45%, #b9c9e6) border-box; box-shadow: 0 8px 18px rgba(13, 27, 51, .14), 0 2px 4px rgba(13, 27, 51, .08); transition: transform .25s ease, box-shadow .25s ease; }
.hv-tile svg { width: 40px; height: 40px; }
.hv-sources li:hover .hv-tile { transform: translateY(-3px); box-shadow: 0 0 0 1px rgba(47, 134, 240, .25), 0 12px 22px rgba(47, 134, 240, .22), inset 0 1px 0 #fff; }
.hv-sources__trio { display: flex; gap: 4px; width: auto; padding: 0 6px; }
.hv-sources__trio svg { width: 27px; height: 27px; }
.hv .hv-feeds { display: none; }

.hv-leads { display: flex; flex-direction: column; gap: 14px; }
.hv-lead { position: relative; display: flex; gap: 14px; padding: 16px 14px 22px; border: 1.5px solid; border-radius: 16px; }
.hv-lead--ready { --chk: #14925c; border-color: #5fd08f; background: radial-gradient(circle at 12% 18%, rgba(255, 255, 255, .85), transparent 42%), linear-gradient(135deg, #d6f8e2 0%, #a9ecc3 55%, #86e1ac 100%); box-shadow: 0 0 0 4px rgba(60, 200, 120, .13), 0 10px 26px rgba(20, 120, 60, .16); }
.hv-lead--research { --chk: #7440db; border-color: #a584f5; background: radial-gradient(circle at 12% 18%, rgba(255, 255, 255, .85), transparent 42%), linear-gradient(135deg, #ece3ff 0%, #d2bfff 55%, #bda2fb 100%); box-shadow: 0 0 0 4px rgba(140, 100, 240, .13), 0 10px 26px rgba(80, 40, 160, .16); }
.hv-lead h3 { font-size: 20px; line-height: 1.1; }
.hv-lead__status { font-size: 17px; line-height: 1.15; }
.hv-lead__quote { margin: 8px 0 12px; padding: 8px 12px; border-radius: 10px; background: rgba(255, 255, 255, .72); box-shadow: 0 2px 6px rgba(13, 27, 51, .06); color: #0d1b33; font-size: 16px; font-weight: 600; font-style: italic; line-height: 1.38; }
.hv-lead__quote br { display: none; }
.hv-avatar { flex: 0 0 auto; width: 76px; height: 76px; border: 3px solid #fff; border-radius: 50%; background: #dfe6ee; object-fit: cover; box-shadow: 0 4px 12px rgba(13, 27, 51, .25); }
.hv-lead--ready .hv-avatar { box-shadow: 0 0 0 3px #3ccf7e, 0 6px 14px rgba(13, 27, 51, .25); }
.hv-lead--research .hv-avatar { box-shadow: 0 0 0 3px #9b7af0, 0 6px 14px rgba(13, 27, 51, .25); }
.hv-into { align-self: center; width: 22px; height: 22px; transform: rotate(90deg); }
.hv-into svg { width: 100%; height: 100%; }
.hv-into--ready { color: #1fa9d6; }
.hv-into--research { color: #8b5cf6; transform: rotate(-90deg); order: 5; }
.hv-lead--research { order: 4; }

.hv-hub { padding: 20px 22px; border: 2px solid #2f86f0; border-radius: 16px; background: linear-gradient(180deg, #0f2140 0%, #0a1830 100%); box-shadow: 0 0 0 4px rgba(47, 134, 240, .2), 0 0 34px rgba(47, 134, 240, .35), 0 14px 30px rgba(10, 24, 48, .3); color: #fff; }
.hv-hub__name { color: #3aa6ff; font-size: 30px; line-height: 1.05; text-align: center; }
.hv-hub__tag { margin-top: 4px; font-size: 17px; font-weight: 500; text-align: center; }
.hv-hub .hv-checks { --chk: #22b35e; gap: 9px; margin: 16px auto 0; width: max-content; max-width: 100%; }
.hv-hub .hv-checks li { color: #fff; font-size: 16px; }

.hv-booked { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 10px 18px 10px 10px; border: 1px solid #8fd49a; border-radius: 12px; background: linear-gradient(90deg, #dff7e2, #c7efcd); color: #10331f; font-size: 19px; }
.hv-booked svg { width: 38px; height: 38px; border-radius: 50%; color: #0f7a3f; box-shadow: 0 0 0 3px #fff, 0 4px 10px rgba(15, 122, 63, .35); }
.hv-van--front { width: 190px; height: auto; }

.hv-flow { display: flex; flex-direction: column; gap: 20px; }
.hv-flow li { position: relative; display: grid; grid-template-columns: 58px 1fr; align-items: center; column-gap: 16px; padding: 14px 16px; border-radius: 12px; background: #fff; box-shadow: 0 4px 14px rgba(13, 27, 51, .1), 0 0 0 1px rgba(13, 27, 51, .05); }
.hv-flow li > :first-child { grid-row: span 2; justify-self: center; }
.hv-flow li > strong:last-child { grid-row: span 2; }
.hv-flow li + li::before { content: ""; position: absolute; left: 50%; top: -16px; width: 10px; height: 10px; border-right: 2.5px solid #1fb6d6; border-bottom: 2.5px solid #1fb6d6; transform: translateX(-50%) rotate(45deg); }
.hv-flow strong { font-size: 16px; line-height: 1.2; }
.hv-flow small { color: #475467; font-size: 14px; line-height: 1.3; }
.hv-flow .hv-price { color: var(--navy); font-size: 16px; font-weight: 700; }
.hv-flow .hv-stars { color: #f5b301; font-size: 17px; }
.hv-ico { width: 34px; height: 34px; color: #2c7be5; }
.hv-ico--ok { color: #22b35e; }
.hv-ico--purple { color: #8b5cf6; }
.hv-flow .hv-tile, .hv-tiles .hv-tile { width: 58px; height: 58px; border-radius: 16px; }
.hv-flow .hv-tile .hv-ico, .hv-tiles .hv-tile .hv-ico { width: 34px; height: 34px; }
.hv-flow li:hover .hv-tile, .hv-tiles li:hover .hv-tile { transform: translateY(-3px); box-shadow: 0 0 0 1px rgba(47, 134, 240, .25), 0 12px 22px rgba(47, 134, 240, .22), inset 0 1px 0 #fff; }
.hv-tile--photo { position: relative; overflow: hidden; padding: 3px; }
.hv-mini-avatar { width: 100%; height: 100%; border-radius: 12px; background: #dfe6ee; object-fit: cover; object-position: 50% 18%; }
.hv-thumb img { position: absolute; left: -18%; top: -98%; width: 725%; height: auto; }

.hv-aside { display: flex; flex-direction: column; gap: 10px; }
.hv-photo { width: 100%; height: 210px; border-radius: 16px; box-shadow: 0 8px 22px rgba(13, 27, 51, .18); object-fit: cover; }
.hv-photo--walk { object-position: 62% 40%; }
.hv-photo--tablet { object-position: 55% 35%; }

.hv-review { position: relative; align-self: center; width: 264px; padding: 9px; border-radius: 34px; background: linear-gradient(145deg, #3a4150, #111827 40%, #05080f); box-shadow: inset 0 0 0 1.5px #5b6474, 0 18px 34px rgba(13, 27, 51, .32), 0 4px 10px rgba(13, 27, 51, .2); transform: rotate(-3deg); }
.hv-review::before { content: ""; position: absolute; z-index: 1; left: 50%; top: 17px; width: 70px; height: 18px; border-radius: 10px; background: #05080f; transform: translateX(-50%); }
.hv-review__screen { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 42px 20px 30px; border-radius: 26px; background: linear-gradient(180deg, #ffffff, #f4f7fc); }
.hv-review__screen::after { content: ""; position: absolute; left: 50%; bottom: 10px; width: 84px; height: 4px; border-radius: 2px; background: #c3cad6; transform: translateX(-50%); }
.hv-review__head { display: flex; align-items: center; gap: 10px; }
.hv-review__g { flex: 0 0 auto; width: 26px; height: 26px; }
.hv-review .hv-stars { font-size: 24px; letter-spacing: 1px; }
.hv-review blockquote { color: var(--navy); font-size: 17px; font-weight: 600; line-height: 1.4; }

.hv-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.hv-tiles li { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 10px; padding: 16px 6px; border-radius: 12px; background: #fff; box-shadow: 0 4px 14px rgba(13, 27, 51, .1), 0 0 0 1px rgba(13, 27, 51, .05); font-size: 14px; font-weight: 600; line-height: 1.2; text-align: center; }

.hv-people { display: grid; gap: 14px; }
.hv-person { display: flex; align-items: center; gap: 14px; }
.hv-person p { display: flex; flex-direction: column; gap: 2px; }
.hv-person strong { font-family: "Space Grotesk", sans-serif; font-size: 19px; }
.hv-person span { color: #475467; font-size: 15px; }
.hv-more { flex-direction: row; align-items: center; gap: 14px; }
.hv-more svg { flex: 0 0 70px; width: 70px; height: 41px; color: #12254a; }
.hv-more p { font-size: 16px; font-weight: 700; line-height: 1.35; }

/* finish */
.hv-end { position: relative; display: flex; flex-direction: column; align-items: center; gap: 24px; min-height: 600px; padding: 170px 16px 40px; overflow: hidden; }
.hv-end::before { content: ""; position: absolute; z-index: 1; left: 20px; top: 0; width: 22px; height: 150px; background: var(--asphalt); box-shadow: 0 0 0 2.5px var(--road-edge); }
.hv-end > * { position: relative; z-index: 2; }
.hv-end > .hv-end__sky { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%); mask-image: linear-gradient(180deg, transparent 0%, #000 22%); }
.hv-end__sign { display: flex; flex-direction: column; align-items: center; gap: 18px; width: min(100%, 540px); padding: 26px 20px; border: 3px solid #eaf3ed; border-radius: 10px; background: linear-gradient(180deg, #23784b 0%, #1a6440 100%); box-shadow: 0 0 0 2px #1a6440, 0 14px 30px rgba(0, 0, 0, .35); }
.hv-end__sign h2 { color: #fff; font-size: clamp(24px, 6vw, 30px); font-weight: 600; line-height: 1.15; letter-spacing: 0; text-align: center; }
.hv-end__arrow { display: none; }
.hv-end__sign .hv-btn { align-self: stretch; }
.hv-van--rear { order: 3; align-self: flex-start; width: 150px; height: auto; margin-left: 12%; }
.hv-note--end { order: 4; align-self: flex-end; margin-top: -120px; color: #fff; font-size: 30px; text-align: right; text-shadow: 0 2px 8px rgba(0, 0, 0, .55); transform: rotate(-8deg); }

/* motion (only when JavaScript is running and motion is allowed) */
.hv-motion .hv-reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s cubic-bezier(.22, .8, .24, 1), transform .6s cubic-bezier(.22, .8, .24, 1); }
.hv-motion .hv-reveal.is-in { opacity: 1; transform: none; }
.hv-motion .hv-pin { transition: transform .5s cubic-bezier(.3, 1.6, .5, 1); }
.hv-motion .hv-step:not(.is-in) .hv-pin { transform: translateY(-28px) scale(.8); }
.hv-motion .hv-van--front { transition: transform 1.1s cubic-bezier(.22, .8, .24, 1); }
.hv-motion .hv-step--1:not(.is-in) .hv-van--front { transform: translateX(-160px); }

/* ---------------------------------------------------------------- desktop rows */
@media (min-width: 1280px) {
  .hv-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); min-height: clamp(440px, 32vw, 560px); }
  .hv-hero__media { position: absolute; top: 0; right: 0; bottom: 0; left: 40%; height: auto; }
  .hv-hero__img { width: 142%; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%); mask-image: linear-gradient(90deg, transparent 0%, #000 22%); object-position: 0% 20%; }

  .hv-hero__copy { grid-column: 1; grid-row: 1; align-self: center; width: auto; margin: 0; padding: 48px 0 70px clamp(40px, 5vw, 88px); }
  .hv h1 { font-size: clamp(42px, 3.4vw, 64px); }
  .hv-hero__lead { max-width: 470px; font-size: 19px; }
  .hv-hero .hv-btn { align-self: flex-start; min-height: 54px; padding: 0 30px; font-size: 18px; }
  .hv-trust { gap: 0; font-size: 14px; }
  .hv-trust li + li::before { content: "|"; margin: 0 12px; opacity: .7; }
  .hv-note--hero { position: absolute; top: 47px; left: 51%; right: auto; width: auto; margin: 0; color: #0f2247; font-size: clamp(33px, 2.65vw, 41px); line-height: .9; -webkit-text-stroke: .9px currentColor; transform: rotate(-5deg); text-shadow: 2px 2px 0 #fff, 3px 3px 0 rgba(255, 255, 255, .85), 0 0 14px rgba(255, 255, 255, .95), 0 8px 18px rgba(8, 24, 60, .35); }
  .hv-note--hero u { color: #1464d8; text-decoration-thickness: 3px; }
  .hv-note--hero br:nth-of-type(1), .hv-note--hero br:nth-of-type(3) { display: inline; }

  .hv-course { --edge: 92px; max-width: 1680px; margin: 0 auto; padding: 0 var(--edge); }
  .hv .hv-road { position: absolute; left: 0; top: 0; z-index: 1; display: block; pointer-events: none; }
  .hv-road path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
  .hv .hv-drive { position: absolute; z-index: 4; top: 0; left: 0; display: block; width: 158px; visibility: hidden; filter: drop-shadow(0 7px 5px rgba(20, 30, 40, .28)); pointer-events: none; will-change: transform; }
  .hv .hv-drive.is-placed { visibility: visible; }
  .hv-drive img { width: 100%; height: auto; }
  .hv-drive__right, .hv-drive.is-right .hv-drive__left { display: none !important; }
  .hv-drive.is-right .hv-drive__right { display: block !important; }
  .hv-drive.is-moving img { animation: hv-bob .32s ease-in-out infinite; }
  @keyframes hv-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2px); } }
  .hv-road__edge { stroke: var(--road-edge); stroke-width: 36; filter: drop-shadow(0 2px 3px rgba(40, 50, 60, .25)); }
  .hv-road__top { stroke: var(--asphalt); stroke-width: 30; }
  .hv-road__line { stroke: #fff; stroke-width: 2; stroke-dasharray: 12 10; stroke-linecap: butt !important; }
  .hv-road .hv-road__end.hv-road__edge { stroke-width: 58; stroke-linecap: butt; }
  .hv-road .hv-road__end.hv-road__top { stroke-width: 50; stroke-linecap: butt; }
  .hv-road__center { stroke: #f2c230; stroke-width: 3; stroke-dasharray: 16 12; }

  .hv-sign { position: absolute; z-index: 3; top: -158px; right: calc(var(--edge) - 36px); width: 280px; margin: 0; font-size: 23px; }
  .hv-sign::before, .hv-sign::after { content: ""; position: absolute; top: 100%; z-index: -1; width: 14px; height: 70px; border-radius: 2px; background: linear-gradient(90deg, #4a2f1b, #6d4829 45%, #3b2413); box-shadow: inset 0 6px 6px rgba(0, 0, 0, .35); }
  .hv-sign::before { left: 74px; }
  .hv-sign::after { right: 30px; }

  .hv-step { z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(230px, 290px); grid-template-areas: "intro aside" "main aside"; align-items: center; column-gap: clamp(28px, 3vw, 56px); row-gap: 22px; max-width: none; margin: 0; padding: 60px 30px 56px 100px; }
  .hv-intro { grid-area: intro; }
  .hv-flow, .hv-tiles, .hv-people { grid-area: main; }
  .hv-aside { grid-area: aside; }
  .hv-step::before, .hv-step::after, .hv-end::before { content: none; }
  .hv-step > .hv-pin { left: 26px; top: 20px; width: 60px; height: 76px; }
  .hv-pin b { top: 8px; font-size: 32px; }
  .hv h2 { font-size: clamp(28px, 2.1vw, 36px); line-height: 1.04; }
  .hv-sub { font-size: 16px; }

  .hv-flow { flex-direction: row; align-items: stretch; gap: 34px; }
  .hv-flow li { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 6px; min-width: 0; padding: 20px 14px 18px; border-radius: 16px; background: linear-gradient(180deg, #ffffff, #f7f9fd); box-shadow: 0 10px 24px rgba(13, 27, 51, .09), 0 2px 5px rgba(13, 27, 51, .05), 0 0 0 1px rgba(13, 27, 51, .06); text-align: center; }
  .hv-flow li + li::before { left: -24px; top: 50%; width: 12px; height: 12px; transform: translateY(-50%) rotate(-45deg); }
  .hv-flow .hv-tile { width: 68px; height: 68px; margin-bottom: 8px; border-radius: 19px; }
  .hv-flow .hv-tile .hv-ico { width: 42px; height: 42px; }
  .hv-flow strong { font-size: 16px; }
  .hv-flow small { font-size: 14px; }
  .hv-ico { width: 38px; height: 38px; }

  .hv-aside { align-items: center; text-align: center; }
  .hv-photo { height: 230px; border-radius: 0; box-shadow: none; }
  .hv-photo--walk { -webkit-mask-image: radial-gradient(closest-side at 50% 52%, #000 62%, transparent 100%); mask-image: radial-gradient(closest-side at 50% 52%, #000 62%, transparent 100%); }
  .hv-photo--tablet { -webkit-mask-image: radial-gradient(closest-side at 50% 52%, #000 62%, transparent 100%); mask-image: radial-gradient(closest-side at 50% 52%, #000 62%, transparent 100%); }
  .hv-aside .hv-note { margin-top: -34px; transform: rotate(-7deg); text-shadow: 0 0 6px #f4f7f1, 0 0 12px #f4f7f1; }
  .hv-aside--review { flex-direction: row; gap: 18px; }
  .hv-aside--review .hv-note { margin: 0; }

  /* step 1 */
  .hv-step--1 { grid-template-columns: minmax(270px, .62fr) minmax(0, 1.7fr); grid-template-areas: "intro sources" "leads leads" "booked booked"; padding-bottom: 76px; }
  .hv-step--1 .hv-intro { grid-area: intro; padding-left: 10px; }
  .hv-step--1 h2 { font-size: clamp(31px, 2.3vw, 39px); }
  .hv-step--1 .hv-sub { font-size: 19px; line-height: 1.45; }
  .hv-sources { grid-area: sources; display: flex; flex-wrap: nowrap; justify-content: center; align-items: flex-start; gap: 4px; min-width: 0; padding: 0 0 46px; background: none; box-shadow: none; }
  .hv-sources li { flex: 0 0 auto; width: 88px; gap: 8px; font-size: 13.5px; font-weight: 700; }
  .hv-tile { width: 66px; height: 66px; border-radius: 18px; }
  .hv-tile svg { width: 45px; height: 45px; }
  .hv-sources__trio { width: auto; gap: 5px; padding: 0 8px; }
  .hv-sources__trio svg { width: 36px; height: 36px; }
  .hv-sources li.hv-sources__social { width: auto; padding: 0 10px; border-inline: 1px solid rgba(13, 27, 51, .12); }
  .hv .hv-feeds { position: absolute; left: 0; top: 0; z-index: 0; display: block; overflow: visible; pointer-events: none; }
  .hv-feed { fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-dasharray: 7 7; animation: hv-flow 1.1s linear infinite; }
  .hv-feed--left { stroke: #12254a; }
  .hv-feed--mid { stroke: #2f86f0; }
  .hv-feed--right { stroke: #1f7ae0; }
  @keyframes hv-flow { to { stroke-dashoffset: -14; } }
  .hv-leads { grid-area: leads; display: grid; grid-template-columns: minmax(0, 1fr) 26px minmax(236px, 270px) 26px minmax(0, 1fr); align-items: center; gap: 8px; }
  .hv-lead { order: 0 !important; padding: 18px 16px 24px 92px; min-height: 196px; }
  .hv-lead .hv-avatar { position: absolute; left: 12px; top: 18px; width: 70px; height: 70px; }

  .hv-into { order: 0 !important; width: 32px; height: 32px; justify-self: center; transform: none; }
  .hv-into--research { transform: rotate(180deg); }
  .hv-booked { grid-area: booked; justify-self: center; min-width: 360px; }
  .hv-note--s1 { position: absolute; right: 30px; bottom: 44px; transform: rotate(-7deg); }
  .hv-van--front { position: absolute; left: 13%; bottom: -26px; width: 180px; }

  .hv-tiles { display: flex; gap: 0; overflow: hidden; border-radius: 16px; background: linear-gradient(180deg, #ffffff, #f7f9fd); box-shadow: 0 10px 24px rgba(13, 27, 51, .09), 0 2px 5px rgba(13, 27, 51, .05), 0 0 0 1px rgba(13, 27, 51, .06); }
  .hv-tiles li { flex: 1 1 0; gap: 12px; padding: 22px 8px 20px; border-right: 1px solid #e6eaf0; border-radius: 0; background: none; box-shadow: none; font-size: 15px; }
  .hv-tiles .hv-tile { width: 64px; height: 64px; border-radius: 18px; }
  .hv-tiles .hv-tile .hv-ico { width: 38px; height: 38px; }
  .hv-tiles li:last-child { border-right: 0; }
  .hv-tiles li { min-width: 0; }

  .hv-step--7 { padding-bottom: 40px; }
  .hv-step--7 .hv-people { align-self: start; }
  .hv-people { grid-template-columns: repeat(2, minmax(0, 360px)); gap: 24px 40px; }
  .hv-person .hv-avatar { width: 96px; height: 96px; }
  .hv-more { flex-direction: column; gap: 10px; }
  .hv-more svg { flex: none; width: 84px; height: 49px; }
  .hv-more p { font-size: 16px; }

  .hv-end { display: block; min-height: 0; height: 460px; margin: 0 calc(var(--edge) * -1); padding: 0; }
  .hv-end > .hv-end__sky { -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%); mask-image: linear-gradient(180deg, transparent 0%, #000 30%); }
  .hv-end__sign { position: absolute; left: 44%; top: 70px; width: 440px; padding: 24px 20px; }
  .hv-end__sign::before, .hv-end__sign::after { content: ""; position: absolute; top: calc(100% + 3px); width: 11px; height: 220px; background: #4b5563; }
  .hv-end__sign::before { left: 44px; }
  .hv-end__sign::after { right: 44px; }
  .hv-end__sign h2 { padding-right: 34px; font-size: 26px; }
  .hv-end__arrow { position: absolute; right: 16px; top: 28px; display: block; width: 30px; height: 30px; color: #fff; }
  .hv-end__arrow svg { width: 100%; height: 100%; }
  .hv-end__sign .hv-btn { align-self: center; padding: 0 30px; }
  .hv-van--rear { position: absolute; left: 30%; bottom: 8px; width: 170px; margin: 0; transform: translateX(-50%); }
  .hv-note--end { position: absolute; right: clamp(24px, 4vw, 90px); top: 210px; margin: 0; font-size: 36px; }
}

@media (min-width: 1280px) and (max-width: 1799px) {
  .hv-step:is(.hv-step--2, .hv-step--3, .hv-step--4, .hv-step--5, .hv-step--6) { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "intro aside" "main main"; align-items: start; row-gap: 26px; padding-right: 20px; }
  .hv-step:is(.hv-step--2, .hv-step--3) .hv-aside { width: 330px; margin: -46px 0 -12px; }
  .hv-step:is(.hv-step--2, .hv-step--3) .hv-photo { height: 196px; }
  .hv-step--4 .hv-aside, .hv-step--6 .hv-aside { align-self: center; padding-right: 40px; }
  .hv-aside--review { margin-top: -30px; }
  .hv-lead { padding: 16px 16px 24px; }
  .hv-lead .hv-avatar { left: 14px; top: 14px; width: 60px; height: 60px; }
  .hv-lead h3, .hv-lead__status { padding-left: 72px; }
  .hv-lead h3 { padding-top: 8px; }
  .hv-lead__quote { margin-top: 14px; font-size: 15px; }
}

@media (min-width: 1800px) {
  .hv-step--5 { grid-template-columns: minmax(0, 1fr) auto; }
  .hv-lead { padding-left: 112px; }
  .hv-lead .hv-avatar { width: 84px; height: 84px; }
}

@media (prefers-reduced-motion: reduce) {
  .hv-feed, .hv h1 em.is-typing::after { animation: none; }
  .hv-motion .hv-reveal, .hv-motion .hv-pin, .hv-motion .hv-van--front { opacity: 1 !important; transform: none !important; transition: none !important; }
}

@media (max-width: 1020px) {
  .rb-family-nav { overflow-x: auto; padding-inline: 24px; }
  .rb-family-nav span { min-width: 150px; }
  .rb-family-nav a { flex: 0 0 auto; }
}

@media (max-width: 680px) {
  .rb-family-nav { min-height: 58px; gap: 6px; padding: 8px 14px; }
  .rb-family-nav span { min-width: 130px; }
  .rb-family-nav a { padding: 8px 10px; font-size: 16px; }
}
