.home-page {
  --nav-height: 64px;
  --chapter-height: 52px;
  --home-gutter: max(24px, calc((100% - 1280px) / 2));
  overflow-x: clip;
}
.home-page .site-header { height: var(--nav-height); }
.home-page :is(.services, .pricing, .replace, .business, .cleaning-story, .choice-help) {
  scroll-margin-top: calc(var(--nav-height) + var(--chapter-height) - 92px);
}

.home-hero {
  padding: clamp(22px, 4vw, 58px) var(--home-gutter) clamp(28px, 4vw, 56px);
  background: radial-gradient(ellipse at 68% 0%, #e8f2ff, transparent 62%), #f5f7fb;
}
.home-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(26px, 5vw, 78px);
  align-items: center;
}
.home-hero-copy { padding-block: 22px; }
.home-eyebrow { margin: 0 0 18px; color: #426187; font-size: 13px; font-weight: 650; }
.home-hero h1 {
  margin: 0;
  font-size: clamp(52px, 6.25vw, 99px);
  line-height: .96;
  letter-spacing: -.075em;
}
.home-hero h1 em { color: #3269a6; }
.home-lead {
  max-width: 32rem;
  margin: 24px 0;
  color: #4a5b71;
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.5;
}
.hero-start h2 { margin: 0 0 10px; font-size: 15px; }
.hero-start-options { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.hero-start-options a {
  position: relative;
  display: grid;
  align-content: center;
  min-height: 76px;
  padding: 12px 30px 12px 14px;
  border: 1px solid #d5e0ed;
  border-radius: 15px;
  background: #fff;
  transition: background .2s ease, border-color .2s ease;
}
.hero-start-options a:hover { background: #eef6ff; border-color: #78ade8; }
.hero-start-options strong { font-size: 14px; line-height: 1.2; }
.hero-start-options span { margin-top: 5px; color: #526379; font-size: 12px; }
.hero-start-options i {
  position: absolute;
  right: 14px;
  top: calc(50% - 5px);
  width: 8px;
  height: 8px;
  border: solid #0066cc;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
.home-maintenance-link { display: inline-block; margin-top: 18px; color: #145894; font-size: 14px; font-weight: 600; }
.home-maintenance-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.home-maintenance-link span { margin-left: 4px; }
.home-hero-image {
  position: relative;
  min-height: 510px;
  height: clamp(510px, 44vw, 670px);
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-large);
  background: #e4e9ef;
  box-shadow: 0 22px 65px #18355316;
}
.home-hero-image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 51% 41%; }
.home-hero-image figcaption {
  position: absolute;
  bottom: 20px;
  left: 20px;
  padding: 11px 15px;
  border-radius: 999px;
  background: #fff;
  color: #263d55;
  font-size: 12px;
  font-weight: 600;
}

.chapter-nav {
  position: sticky;
  top: var(--nav-height);
  z-index: 9;
  background: #f9fbfe;
  border-bottom: 1px solid #d8e2ee;
}
.chapter-links {
  display: flex;
  padding-inline: var(--home-gutter);
  overflow-x: auto;
  scrollbar-width: thin;
}
.chapter-links a {
  display: grid;
  place-items: center;
  flex: none;
  min-height: calc(var(--chapter-height) - 1px);
  padding-inline: clamp(10px, 2vw, 25px);
  color: #455970;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 600;
}
.chapter-links a:is(:hover, [aria-current]) { color: #0055a5; background: #eaf3ff; }
.chapter-links a:focus-visible { outline-offset: -4px !important; }
.chapter-progress {
  position: absolute;
  inset: auto 0 -1px;
  height: 2px;
  background: #0c72d5;
  transform-origin: left center;
  transform: scaleX(var(--page-progress, 0));
  pointer-events: none;
}

.cleaning-story {
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(0, 1fr);
  gap: clamp(38px, 7vw, 110px);
  align-items: center;
  padding: clamp(60px, 9vw, 125px) var(--home-gutter);
  background: #121b29;
  color: #fff;
}
.cleaning-story .home-eyebrow { color: #a7ccf5; }
.cleaning-copy h2 { margin: 0; font-size: clamp(48px, 6vw, 85px); line-height: .96; letter-spacing: -.065em; }
.cleaning-copy > p:not(.home-eyebrow) { max-width: 33rem; margin: 22px 0 26px; color: #d3deec; font-size: 18px; line-height: 1.6; }
.cleaning-compare { min-width: 0; margin: 0; }
.compare-images { position: relative; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border-radius: var(--radius-medium); background: #27394b; }
.compare-images img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.compare-divider { display: none; }
.compare-controls { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 12px 4px 0; font-size: 13px; color: #e4edf7; }
.compare-controls input { display: none; flex: 1; min-width: 0; margin: 0; height: 32px; accent-color: #7abaff; }
.cleaning-compare.is-interactive .compare-images { display: block; }
.cleaning-compare.is-interactive .compare-after {
  position: absolute;
  inset: 0;
  clip-path: inset(0 calc(100% - var(--cleaned, 50%)) 0 0);
}
.cleaning-compare.is-interactive .compare-divider {
  position: absolute;
  display: block;
  inset: 0 auto 0 var(--cleaned, 50%);
  width: 2px;
  translate: -1px;
  background: #fff;
  box-shadow: 0 0 12px #1119;
  pointer-events: none;
}
.cleaning-compare.is-interactive .compare-controls input { display: block; }

.home-page .service-column h3 { margin-top: 0; }
.home-page:not(.can-reveal) .reveal { opacity: 1; transform: none; }
@media (min-width: 981px) {
  .home-page .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-page .service-column:first-child { grid-column: auto; }
}
@media (max-width: 800px) {
  .home-page { --nav-height: 58px; --chapter-height: 48px; }
  .home-hero-inner, .cleaning-story { grid-template-columns: 1fr; }
  .home-hero-inner { gap: 22px; }
  .home-hero-copy { padding-block: 16px 0; }
  .home-hero-image { height: auto; min-height: 0; aspect-ratio: 4 / 3; }
  .chapter-links { padding-inline: 8px; }
}
@media (max-width: 390px) {
  .home-page { --home-gutter: 16px; }
  .home-hero h1 { font-size: clamp(43px, 13vw, 52px); }
  .chapter-links a { padding-inline: 8px; font-size: 12px; }
}

.reviews-partners {
  padding-block: clamp(56px, 8vw, 110px);
  scroll-margin-top: calc(var(--nav-height) + var(--chapter-height) - 92px);
  background: #f6f6f6;
}
.google-reviews { margin-inline: max(24px, calc((100% - 1392px) / 2)); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.google-reviews-frame { display: block; width: 100%; height: 1px; border: 0; }
.google-reviews-frame[aria-hidden="true"] { opacity: 0; pointer-events: none; }
.feedback-source {
  display: table;
  margin: 12px auto 0;
  color: #145894;
  font-size: 14px;
  font-weight: 600;
}
.feedback-source:hover { text-decoration: underline; text-underline-offset: 4px; }
.partner-block { margin-inline: var(--home-gutter); }
.partner-block { margin-top: clamp(40px, 6vw, 78px); }
.partner-block h2 { margin: 0 0 14px; font-size: 22px; letter-spacing: -.035em; }
.partner-logos {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.partner-logos li {
  display: grid;
  place-items: center;
  min-height: 92px;
  padding: 14px 12px;
  border: 1px solid #e1e8f1;
  border-radius: 14px;
  background: #fff;
}
.partner-logos img { width: min(100%, 112px); height: 45px; object-fit: contain; }
.partner-logos li:first-child img { width: min(100%, 85px); height: 53px; }
@media (max-width: 760px) {
  .google-reviews { margin-inline: 12px; }
  .partner-logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .partner-logos li { min-height: 72px; }
}
