/* =========================================================
   cm-home-sections.css
   ClimateMaster homeowner page. Extends cm2026.css.
   Namespace: cm-home-
   Do not add rules to cm2026.css.
   ========================================================= */

.cm-home,
.cm-home * {
  box-sizing: border-box;
}

.cm-home {
  --cm-ink: #163029;
  --cm-green: #006241;
  --cm-green-dark: #004f34;
  --cm-sage: #79a889;
  --cm-paper: #f3f7f5;
  --cm-rule: #dbe5e0;
  --cm-rule-strong: #bccdc5;
  --cm-slate: #42544d;
  --cm-white-soft: rgba(255, 255, 255, 0.62);
  --cm-shell: min(1200px, calc(100% - 48px));

  font-family: "source sans pro", "Source Sans 3", sans-serif;
  color: var(--cm-ink);
}

.cm-home h1,
.cm-home h2,
.cm-home h3 {
  font-family: "encode sans", sans-serif;
}


/* =========================================================
   Neutralise SiteVision module chrome
   ========================================================= */

.cm-home .sv-html-portlet,
.cm-home .sv-html-portlet-content,
.cm-home .sv-text-portlet,
.cm-home .sv-text-portlet-content {
  margin: 0;
  padding: 0;
  background: transparent;
}


/* =========================================================
   Above grade
   ========================================================= */

.cm-home-hero {
  width: 100%;
  background: var(--cm-paper);
}

.cm-home-hero__body {
  width: var(--cm-shell);
  margin: 0 auto;
  padding: 0;
}

.cm-home-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: 48px;
  align-items: stretch;
  min-height: 470px;
}

.cm-home-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 54px 0;
}

.cm-home-hero__figure {
  align-self: stretch;
  height: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
}

.cm-home-hero__figure img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 470px;
  margin: 0;
  object-fit: cover;
  object-position: center;
}

.cm-home-hero__title,
.cm-home h1.cm-home-hero__title {
  max-width: 17em;
  margin: 0 0 18px;
  padding: 0;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--cm-ink);
}

.cm-home-hero__note,
.cm-home p.cm-home-hero__note {
  max-width: 26em;
  margin: 32px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--cm-rule);
  font-size: 14px;
  line-height: 1.4;
  color: #65736d;
}

.cm-home-hero__sub,
.cm-home p.cm-home-hero__sub {
  max-width: 34em;
  margin: 0 0 30px;
  padding: 0;
  font-size: 18px;
  line-height: 1.55;
  color: var(--cm-slate);
}

.cm-home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}


/* =========================================================
   Buttons
   ========================================================= */

.cm-home a.cm-home-btn,
.cm-home a.cm-home-btn:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  background: var(--cm-green);
  border: 1px solid var(--cm-green);
  border-radius: 0;
  color: #ffffff !important;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none !important;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.cm-home a.cm-home-btn:hover,
.cm-home a.cm-home-btn:focus {
  background: var(--cm-green-dark);
  border-color: var(--cm-green-dark);
  color: #ffffff !important;
  text-decoration: none !important;
}

.cm-home a.cm-home-btn--quiet,
.cm-home a.cm-home-btn--quiet:visited {
  background: #ffffff;
  border-color: #d2ddd7;
  color: var(--cm-ink) !important;
}

.cm-home a.cm-home-btn--quiet:hover,
.cm-home a.cm-home-btn--quiet:focus {
  background: #ffffff;
  border-color: var(--cm-sage);
  color: var(--cm-green) !important;
}

.cm-home a.cm-home-btn:focus-visible {
  outline: 3px solid rgba(0, 98, 65, 0.32);
  outline-offset: 3px;
}


/* =========================================================
   The grade line
   ========================================================= */

.cm-home-grade {
  width: 100%;
  height: 3px;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--cm-sage);
}


/* =========================================================
   Below grade
   ========================================================= */

.cm-home-ground {
  width: 100%;
  background: var(--cm-ink);
}

.cm-home-ground__body {
  width: var(--cm-shell);
  margin: 0 auto;
  padding: 30px 0 36px;
}

.cm-home-ground__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  margin: 0 0 6px;
}

.cm-home-ground__fact,
.cm-home h2.cm-home-ground__fact {
  margin: 0;
  padding: 0;
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.2;
  font-weight: 600;
  color: #ffffff;
}

.cm-home-ground__readout {
  margin: 0;
  padding: 0;
  font-size: 15px;
  line-height: 1.3;
  color: var(--cm-white-soft);
  font-variant-numeric: tabular-nums;
}

.cm-home-chart {
  display: block;
  width: 100%;
  height: auto;
  margin: 10px 0 0;
}

.cm-home-ground__note,
.cm-home p.cm-home-ground__note {
  margin: 14px 0 0;
  padding: 0;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.5);
}


/* =========================================================
   Month scrubber
   ========================================================= */

.cm-home-scrub {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  height: 22px;
  margin: 12px 0 0;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.cm-home-scrub::-webkit-slider-runnable-track {
  height: 4px;
  background: rgba(255, 255, 255, 0.28);
  border: 0;
  border-radius: 0;
}

.cm-home-scrub::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  margin-top: -8px;
  background: var(--cm-sage);
  border: 2px solid var(--cm-ink);
  border-radius: 50%;
}

.cm-home-scrub::-moz-range-track {
  height: 4px;
  background: rgba(255, 255, 255, 0.28);
  border: 0;
  border-radius: 0;
}

.cm-home-scrub::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: var(--cm-sage);
  border: 2px solid var(--cm-ink);
  border-radius: 50%;
}

.cm-home-scrub:focus-visible {
  outline: 3px solid rgba(121, 168, 137, 0.55);
  outline-offset: 4px;
}

.cm-home-scrub__label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}


/* =========================================================
   Legend
   ========================================================= */

.cm-home-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.cm-home-legend > li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.cm-home-legend > li::marker {
  content: "";
}

.cm-home-legend__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.72);
}

.cm-home-legend__key {
  display: block;
  flex: 0 0 auto;
  width: 18px;
  height: 3px;
}

.cm-home-legend__key--air {
  background: rgba(255, 255, 255, 0.72);
}

.cm-home-legend__key--ground {
  background: var(--cm-sage);
}


/* =========================================================
   Three facts
   ========================================================= */

.cm-home-facts {
  width: 100%;
  background: #ffffff;
}

.cm-home-facts__body {
  width: var(--cm-shell);
  margin: 0 auto;
  padding: 52px 0 56px;
}

.cm-home-facts__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cm-home-facts__grid > li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.cm-home-facts__grid > li::marker {
  content: "";
}

.cm-home-fact {
  padding: 20px 0 0;
  border-top: 3px solid var(--cm-sage);
}

.cm-home-fact__title,
.cm-home h3.cm-home-fact__title {
  margin: 0 0 10px;
  padding: 0;
  font-size: 21px;
  line-height: 1.2;
  font-weight: 600;
  color: var(--cm-ink);
}

.cm-home-fact__body,
.cm-home p.cm-home-fact__body {
  margin: 0;
  padding: 0;
  max-width: 32em;
  font-size: 16px;
  line-height: 1.55;
  color: var(--cm-slate);
}


/* =========================================================
   Trilogy 47 (SV)
   ========================================================= */

.cm-home-sv {
  width: 100%;
  background: var(--cm-paper);
}

.cm-home-sv__body {
  width: var(--cm-shell);
  margin: 0 auto;
  padding: 58px 0 62px;
}

.cm-home-sv__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 48px;
  align-items: center;
}

.cm-home-sv__title,
.cm-home h2.cm-home-sv__title {
  max-width: 18em;
  margin: 0 0 8px;
  padding: 0;
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--cm-ink);
}

.cm-home-sv__name,
.cm-home p.cm-home-sv__name {
  margin: 0 0 18px;
  padding: 0;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 600;
  color: var(--cm-green);
}

.cm-home-sv__lede,
.cm-home p.cm-home-sv__lede {
  max-width: 34em;
  margin: 0 0 24px;
  padding: 0;
  font-size: 17px;
  line-height: 1.55;
  color: var(--cm-slate);
}

.cm-home-sv__list {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--cm-rule);
}

.cm-home-sv__list > li {
  margin: 0;
  padding: 11px 0;
  border-top: 1px solid var(--cm-rule);
  list-style: none;
  font-size: 15px;
  line-height: 1.45;
  color: var(--cm-ink);
}

.cm-home-sv__list > li::marker {
  content: "";
}

.cm-home-sv__plate {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 360px;
  margin: 0 auto;
  padding: 22px;
  background: #ffffff;
  border: 1px solid var(--cm-rule-strong);
}

.cm-home-sv__plate img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 340px;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}


/* =========================================================
   Interest form
   ========================================================= */

.cm-home-form {
  width: 100%;
  background: var(--cm-ink);
  border-top: 3px solid var(--cm-sage);
  scroll-margin-top: 112px;
}

.cm-home-form__body {
  width: var(--cm-shell);
  margin: 0 auto;
  padding: 58px 0 66px;
}

.cm-home-form__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 52px;
  align-items: start;
}

.cm-home-form__title,
.cm-home h2.cm-home-form__title {
  max-width: 16em;
  margin: 0 0 14px;
  padding: 0;
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: #ffffff;
}

.cm-home-form__lede,
.cm-home p.cm-home-form__lede {
  max-width: 32em;
  margin: 0 0 26px;
  padding: 0;
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
}

.cm-home-form__steps {
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.cm-home-form__steps > li {
  margin: 0;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  list-style: none;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}

.cm-home-form__steps > li::marker {
  content: "";
}

.cm-home-form__panel {
  padding: 20px;
  background: #ffffff;
  border: 0;
}


/* =========================================================
   Savings and incentives
   ========================================================= */

.cm-home-next {
  width: 100%;
  background: var(--cm-paper);
  border-top: 1px solid var(--cm-rule);
}

.cm-home-next__body {
  width: var(--cm-shell);
  margin: 0 auto;
  padding: 54px 0 58px;
}

.cm-home-next__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
}

.cm-home-next__col:first-child {
  padding: 0 44px 0 0;
}

.cm-home-next__col + .cm-home-next__col {
  padding: 0 0 0 44px;
  border-left: 1px solid var(--cm-rule-strong);
}

.cm-home-next__title,
.cm-home h3.cm-home-next__title {
  margin: 0 0 12px;
  padding: 0;
  font-size: 23px;
  line-height: 1.2;
  font-weight: 600;
  color: var(--cm-ink);
}

.cm-home-next__text,
.cm-home p.cm-home-next__text {
  max-width: 30em;
  margin: 0 0 18px;
  padding: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--cm-slate);
}

.cm-home a.cm-home-next__link,
.cm-home a.cm-home-next__link:visited,
.cm-home a.cm-home-link,
.cm-home a.cm-home-link:visited {
  display: inline-block;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--cm-green) !important;
  text-decoration: none !important;
  border-bottom: 2px solid var(--cm-sage);
}

.cm-home a.cm-home-next__link:hover,
.cm-home a.cm-home-next__link:focus,
.cm-home a.cm-home-link:hover,
.cm-home a.cm-home-link:focus {
  color: var(--cm-green-dark) !important;
  border-bottom-color: var(--cm-green-dark);
  text-decoration: none !important;
}

.cm-home a.cm-home-next__link:focus-visible,
.cm-home a.cm-home-link:focus-visible {
  outline: 3px solid rgba(0, 98, 65, 0.32);
  outline-offset: 3px;
}

.cm-home-next__fine,
.cm-home p.cm-home-next__fine {
  max-width: 32em;
  margin: 18px 0 0;
  padding: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #65736d;
}


/* =========================================================
   Existing owners
   ========================================================= */

.cm-home-owners {
  width: 100%;
  background: var(--cm-paper);
  border-top: 3px solid var(--cm-sage);
}

.cm-home-owners__body {
  width: var(--cm-shell);
  margin: 0 auto;
  padding: 30px 0 34px;
}

.cm-home-owners__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 28px;
}

.cm-home-owners__text,
.cm-home p.cm-home-owners__text {
  max-width: 40em;
  margin: 0;
  padding: 0;
  font-family: "encode sans", sans-serif;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 600;
  color: var(--cm-ink);
}


/* =========================================================
   Simple page head
   ========================================================= */

.cm-home-phead {
  width: 100%;
  background: var(--cm-paper);
}

.cm-home-phead__body {
  width: var(--cm-shell);
  margin: 0 auto;
  padding: 56px 0 54px;
}

.cm-home-phead__title,
.cm-home h1.cm-home-phead__title {
  max-width: 20em;
  margin: 0 0 16px;
  padding: 0;
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--cm-ink);
}

.cm-home-phead__sub,
.cm-home p.cm-home-phead__sub {
  max-width: 36em;
  margin: 0;
  padding: 0;
  font-size: 18px;
  line-height: 1.55;
  color: var(--cm-slate);
}


/* =========================================================
   Comfort tiers
   ========================================================= */

.cm-home-tiers {
  width: 100%;
  background: #ffffff;
}

.cm-home-tiers__body {
  width: var(--cm-shell);
  margin: 0 auto;
  padding: 52px 0 58px;
}

.cm-home-tiers__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cm-home-tiers__grid > li {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cm-home-tiers__grid > li::marker {
  content: "";
}

.cm-home-tier {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 20px 0 0;
  border-top: 3px solid var(--cm-sage);
}

.cm-home-tier__plate {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 210px;
  margin: 0 0 20px;
  padding: 18px;
  background: var(--cm-paper);
  border: 1px solid var(--cm-rule-strong);
}

.cm-home-tier__plate img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 170px;
  height: auto;
  object-fit: contain;
}

.cm-home-tier__eyebrow,
.cm-home p.cm-home-tier__eyebrow {
  margin: 0 0 6px;
  padding: 0;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--cm-green);
}

.cm-home-tier__name,
.cm-home h2.cm-home-tier__name {
  margin: 0 0 10px;
  padding: 0;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--cm-ink);
}

.cm-home-tier__desc,
.cm-home p.cm-home-tier__desc {
  margin: 0 0 20px;
  padding: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--cm-slate);
}

.cm-home-tier__foot {
  margin-top: auto;
}


/* =========================================================
   Closing ask
   ========================================================= */

.cm-home-ask {
  width: 100%;
  background: var(--cm-ink);
  border-top: 3px solid var(--cm-sage);
}

.cm-home-ask__body {
  width: var(--cm-shell);
  margin: 0 auto;
  padding: 44px 0 50px;
}

.cm-home-ask__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 36px;
}

.cm-home-ask__title,
.cm-home h2.cm-home-ask__title {
  margin: 0 0 8px;
  padding: 0;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.15;
  font-weight: 700;
  color: #ffffff;
}

.cm-home-ask__text,
.cm-home p.cm-home-ask__text {
  max-width: 40em;
  margin: 0;
  padding: 0;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
}

.cm-home a.cm-home-btn--light,
.cm-home a.cm-home-btn--light:visited {
  background: #ffffff;
  border-color: #ffffff;
  color: var(--cm-ink) !important;
}

.cm-home a.cm-home-btn--light:hover,
.cm-home a.cm-home-btn--light:focus {
  background: var(--cm-paper);
  border-color: var(--cm-paper);
  color: var(--cm-green) !important;
}


/* Single-column variant for a dedicated form page */

.cm-home-form--single .cm-home-form__grid {
  display: block;
}

.cm-home-form__steps--row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 32px;
  border-bottom: 0;
}

.cm-home-form__steps--row > li {
  padding: 15px 0 0;
  border-top: 3px solid var(--cm-sage);
}

.cm-home-form__panel--center {
  max-width: 720px;
  margin: 34px auto 0;
}


/* =========================================================
   Motion
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  .cm-home *,
  .cm-home *::before,
  .cm-home *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}


/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 780px) {

  .cm-home {
    --cm-shell: min(100% - 32px, 1200px);
  }

  .cm-home-hero__body {
    padding: 0;
  }

  .cm-home-hero__grid {
    grid-template-columns: 1fr;
    gap: 0;
    min-height: 0;
  }

  .cm-home-hero__copy {
    padding: 44px 0 34px;
  }

  .cm-home-hero__note,
  .cm-home p.cm-home-hero__note {
    margin-top: 26px;
  }

  .cm-home-hero__figure {
    height: auto;
  }

  .cm-home-hero__figure img {
    height: clamp(210px, 52vw, 320px);
    min-height: 0;
  }

  .cm-home-hero__sub,
  .cm-home p.cm-home-hero__sub {
    font-size: 17px;
    margin-bottom: 26px;
  }

  .cm-home-ground__body {
    padding: 24px 0 30px;
  }

  .cm-home-facts__body {
    padding: 40px 0 42px;
  }

  .cm-home-facts__grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .cm-home-sv__body {
    padding: 42px 0 46px;
  }

  .cm-home-sv__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .cm-home-sv__plate {
    padding: 20px;
  }

  .cm-home-sv__plate img {
    max-height: 300px;
  }

  .cm-home-form__body {
    padding: 42px 0 48px;
  }

  .cm-home-form {
    scroll-margin-top: 84px;
  }

  .cm-home-form__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .cm-home-form__steps--row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .cm-home-form__steps--row > li {
    margin-bottom: 14px;
  }

  .cm-home-form__panel--center {
    margin-top: 26px;
  }

  .cm-home-form__panel {
    padding: 14px;
  }

  .cm-home-next__body {
    padding: 40px 0 44px;
  }

  .cm-home-next__grid {
    grid-template-columns: 1fr;
  }

  .cm-home-next__col:first-child {
    padding: 0 0 30px 0;
  }

  .cm-home-next__col + .cm-home-next__col {
    padding: 30px 0 0 0;
    border-left: 0;
    border-top: 1px solid var(--cm-rule-strong);
  }

  .cm-home-owners__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .cm-home-phead__body {
    padding: 40px 0 38px;
  }

  .cm-home-tiers__body {
    padding: 40px 0 44px;
  }

  .cm-home-tiers__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .cm-home-ask__body {
    padding: 34px 0 38px;
  }

  .cm-home-ask__row {
    flex-direction: column;
    align-items: flex-start;
  }
}


@media (max-width: 520px) {

  .cm-home-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cm-home a.cm-home-btn,
  .cm-home a.cm-home-btn:visited {
    width: 100%;
  }

  .cm-home-ground__head {
    flex-direction: column;
    align-items: flex-start;
  }
}
