/* Homepage premium price estimator.
   Intentionally scoped to homepage hero components only. CookieYes selectors are not touched. */

.page-home .hero {
  /* Keep the current desktop composition, but give the hero more breathing room
     on taller screens so the next section does not peek into the first viewport. */
  min-height: clamp(790px, 90vh, 860px);
  padding: 72px 0 58px;
}

.page-home .hero-in {
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 58px;
}

.page-home .hero-btns-single {
  margin-bottom: 0;
}

.page-home .hero-explore-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  color: rgba(255,255,255,.78);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
  border-bottom: 1px solid rgba(240,165,0,.42);
  transition: color .18s ease, border-color .18s ease;
}
.page-home .hero-explore-link:hover {
  color: var(--white);
  border-color: var(--gold);
}
.page-home .hero-explore-link svg {
  color: var(--gold);
  transition: transform .18s ease;
}
.page-home .hero-explore-link:hover svg { transform: translateX(3px); }
.page-home .hero-explore-link:focus-visible { outline: 3px solid var(--gold); outline-offset: 5px; }

.home-price-estimator {
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(240,165,0,.30);
  border-radius: 20px;
  background: rgba(18,18,18,.975);
  box-shadow: 0 28px 74px rgba(0,0,0,.38), 0 0 0 1px rgba(240,165,0,.045);
  color: var(--white);
  animation: cardrise .7s .15s cubic-bezier(.22,1,.36,1) both;
}

.hpe-head {
  position: relative;
  padding: 27px 28px 23px;
  border-bottom: 1px solid rgba(255,255,255,.075);
  background: linear-gradient(145deg, rgba(255,255,255,.028), rgba(240,165,0,.035));
}
.hpe-head::before {
  content: '';
  position: absolute;
  top: 0;
  left: 28px;
  right: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), rgba(240,165,0,.16));
}
.hpe-kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .10em;
  text-transform: uppercase;
}
.home-price-estimator .hpe-head h2 {
  margin: 0;
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -.035em;
  text-transform: none;
}
.hpe-head p {
  max-width: 335px;
  margin: 9px 0 0;
  color: rgba(255,255,255,.52);
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.55;
}

.hpe-body {
  padding: 23px 24px 24px;
  background: radial-gradient(circle at 100% 0, rgba(240,165,0,.055), transparent 38%);
}

.hpe-types {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 8px;
  margin-bottom: 18px;
  padding: 4px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 11px;
  background: rgba(255,255,255,.025);
}
.hpe-type {
  min-width: 0;
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: rgba(255,255,255,.58);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 9px 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}
.hpe-type:hover { color: rgba(255,255,255,.88); }
.hpe-type.is-active {
  color: var(--gold);
  background: rgba(240,165,0,.105);
  box-shadow: inset 0 0 0 1px rgba(240,165,0,.34);
}
.hpe-type:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.hpe-type .icon { width: 17px; height: 17px; flex: 0 0 17px; }

.hpe-value-block {
  padding: 2px 2px 17px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.hpe-value-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 7px;
}
.hpe-value-head label {
  color: rgba(255,255,255,.65);
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}
.hpe-value-head output {
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
  white-space: nowrap;
}
.hpe-range {
  width: 100%;
  height: 30px;
  margin: 0;
  background: transparent;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.hpe-range::-webkit-slider-runnable-track {
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold) 0 var(--range-progress,0%), rgba(255,255,255,.15) var(--range-progress,0%) 100%);
}
.hpe-range::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  margin-top: -6.5px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: #151515;
  box-shadow: 0 0 0 4px rgba(240,165,0,.12);
}
.hpe-range::-moz-range-track { height: 5px; border-radius: 999px; background: rgba(255,255,255,.15); }
.hpe-range::-moz-range-progress { height: 5px; border-radius: 999px; background: var(--gold); }
.hpe-range::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: #151515;
  box-shadow: 0 0 0 4px rgba(240,165,0,.12);
}
.hpe-range:focus-visible { outline: none; }
.hpe-range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 5px rgba(240,165,0,.30); }
.hpe-range-scale {
  display: flex;
  justify-content: space-between;
  margin-top: -2px;
  color: rgba(255,255,255,.36);
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  line-height: 1.3;
}

.hpe-price-panel {
  position: relative;
  overflow: hidden;
  margin-bottom: 12px;
  padding: 18px 19px 17px;
  border: 1px solid rgba(240,165,0,.26);
  border-radius: 11px;
  background: #f6f0e3;
  box-shadow: 0 11px 30px rgba(0,0,0,.14);
}
.hpe-price-label {
  position: relative;
  z-index: 1;
  display: block;
  color: rgba(28,22,13,.56);
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .075em;
  text-transform: uppercase;
}
.hpe-price-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 5px;
}
.hpe-price-row strong {
  color: #b67800;
  font-family: 'DM Sans', sans-serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.045em;
}
.hpe-price-row span {
  color: rgba(28,22,13,.62);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
}
.hpe-month {
  position: relative;
  z-index: 1;
  margin-top: 7px;
  color: rgba(28,22,13,.52);
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  line-height: 1.35;
}
.hpe-discount-note {
  margin: 0 2px 17px;
  color: rgba(255,255,255,.45);
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.55;
}
.hpe-cta {
  min-height: 52px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 18px;
  border-radius: 7px;
  background: linear-gradient(135deg,var(--gold),var(--gold-d));
  color: var(--dark);
  box-shadow: 0 7px 24px rgba(240,165,0,.25);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.hpe-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 11px 34px rgba(240,165,0,.38);
}
.hpe-cta svg { flex: 0 0 auto; transition: transform .18s ease; }
.hpe-cta:hover svg { transform: translateX(3px); }
.hpe-cta:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }

@media (max-width: 1160px) and (min-width: 1025px) {
  .page-home .hero-in { grid-template-columns: minmax(0,1fr) 410px; gap: 40px; }
  .home-price-estimator .hpe-head { padding-left: 24px; padding-right: 24px; }
  .home-price-estimator .hpe-body { padding-left: 22px; padding-right: 22px; }
}

@media (max-width: 1024px) {
  .page-home .hero { min-height: auto; padding: 56px 0 48px; }
  .page-home .hero-in { grid-template-columns: 1fr; gap: 34px; }
  .home-price-estimator { width: min(100%, 500px); justify-self: center; }
  .page-home .hero-btns-single { justify-content: center; margin-bottom: 0; }
}

@media (max-width: 780px) {
  .page-home .hero { padding-bottom: 42px; }
}

@media (max-width: 560px) {
  .home-price-estimator { border-radius: 16px; }
  .home-price-estimator .hpe-head { padding: 23px 19px 20px; }
  .home-price-estimator .hpe-head::before { left: 19px; right: 19px; }
  .home-price-estimator .hpe-head h2 { font-size: 25px; }
  .home-price-estimator .hpe-head p { font-size: 12.5px; }
  .home-price-estimator .hpe-body { padding: 18px; }
  .hpe-type { font-size: 13.5px; }
  .hpe-price-row strong { font-size: 37px; }
  .hpe-discount-note { font-size: 11px; }
}

/* ===== Production refinements: native typography, hero risks, responsive CTA ===== */
.page-home .hero-btns-single { margin-top: 2px; margin-bottom: 0; }
.page-home .hero-secondary-cta {
  min-height: 46px; padding: 12px 24px; border-width: 1px;
  border-color: rgba(255,255,255,.28); border-radius: 5px;
  background: rgba(12,12,12,.20); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.page-home .hero-secondary-cta:hover { border-color: rgba(240,165,0,.65); background: rgba(240,165,0,.08); }

.hero-risk-row {
  display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px;
  width: min(100%,540px); margin-top: 20px;
}
.hero-risk-item {
  min-width: 0; display: flex; align-items: center; gap: 9px;
  color: rgba(255,255,255,.72); font-family: 'DM Sans',sans-serif;
  font-size: 12.5px; font-weight: 500; line-height: 1.25;
}
.hero-risk-icon {
  width: 36px; height: 36px; flex: 0 0 36px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(240,165,0,.25); border-radius: 50%; background: rgba(240,165,0,.08);
  color: var(--gold); box-shadow: inset 0 0 0 1px rgba(255,255,255,.015);
}
.hero-risk-icon .icon { width: 17px; height: 17px; }

/* The site's self-hosted font system: Barlow Condensed for display/UI, DM Sans for reading text. */
.hpe-kicker { font-family: 'Barlow Condensed',sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .13em; }
.home-price-estimator .hpe-head h2 {
  font-family: 'Barlow Condensed',sans-serif; font-size: 31px; font-weight: 800;
  line-height: 1.02; letter-spacing: .025em; text-transform: uppercase;
}
.hpe-head p { font-family: 'DM Sans',sans-serif; font-size: 13px; line-height: 1.55; }
.hpe-type { font-family: 'Barlow Condensed',sans-serif; font-size: 15px; font-weight: 700; letter-spacing: .02em; }
.hpe-value-head label,.hpe-value-head output,.hpe-range-scale,.hpe-month,.hpe-discount-note { font-family: 'DM Sans',sans-serif; }
.hpe-value-head output { font-size: 19px; font-weight: 500; letter-spacing: 0; }
.hpe-price-label { font-family: 'Barlow Condensed',sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.hpe-price-row strong {
  font-family: 'Barlow Condensed',sans-serif; font-size: 46px; font-weight: 800;
  line-height: .95; letter-spacing: .005em;
}
.hpe-price-row span { font-family: 'DM Sans',sans-serif; font-size: 13px; font-weight: 500; }
.hpe-price-panel { background: linear-gradient(135deg,#f8f2e6 0%,#f2eadb 100%); }
.hpe-discount-note { margin-top: 1px; color: rgba(255,255,255,.50); font-size: 11.5px; line-height: 1.55; }
.hpe-cta {
  position: relative; justify-content: center; min-height: 54px; padding: 13px 46px; border-radius: 5px;
  font-family: 'Barlow Condensed',sans-serif; font-size: 15px; font-weight: 800;
  letter-spacing: .085em; text-transform: uppercase;
}
.hpe-cta-calculator { position: absolute; left: 17px; width: 19px; height: 19px; transition: none!important; }
.hpe-cta-arrow { position: absolute; right: 17px; }
.hpe-cta:hover .hpe-cta-calculator { transform: none; }
.hpe-cta:hover .hpe-cta-arrow { transform: translateX(3px); }

@media (max-width:1180px) and (min-width:1025px) {
  .hero-risk-row { grid-template-columns: repeat(2,minmax(0,1fr)); max-width: 360px; }
}
@media (max-width:1024px) {
  .hero-risk-row { width: min(100%,520px); margin-left: auto; margin-right: auto; }
}
@media (max-width:620px) {
  .page-home .hero-btns-single { width: 100%; }
  .page-home .hero-secondary-cta { width: min(100%,300px); justify-content: center; margin-left: auto; margin-right: auto; }
  .hero-risk-row { grid-template-columns: repeat(2,minmax(0,1fr)); width: min(100%,330px); gap: 11px 14px; margin-top: 18px; }
  .hero-risk-item { font-size: 12px; }
  .hero-risk-icon { width: 34px; height: 34px; flex-basis: 34px; }
  .home-price-estimator .hpe-head h2 { font-size: 29px; }
  .hpe-price-row strong { font-size: 43px; }
}
@media (max-width:360px) {
  .hero-risk-row { gap: 9px 10px; }
  .hero-risk-item { gap: 7px; font-size: 11.5px; }
  .hero-risk-icon { width: 32px; height: 32px; flex-basis: 32px; }
  .hpe-cta { padding-left: 42px; padding-right: 42px; font-size: 14px; letter-spacing: .065em; }
}

/* ===== Final homepage polish ===== */
.page-home .hero {
  border-bottom: 1px solid rgba(240,165,0,.38);
}

/* Homepage-only CookieYes colour hardening.
   The global CookieYes rules stay untouched; these selectors only ensure that
   the asynchronously injected CookieYes CSS cannot win on the homepage. */
html body.page-home button.cky-btn.cky-btn-accept,
html body.page-home .cky-btn.cky-btn-accept,
html body.page-home .cky-btn-accept {
  background-color: #f0a500 !important;
  border-color: #f0a500 !important;
  color: #141414 !important;
}
html body.page-home button.cky-btn.cky-btn-reject,
html body.page-home .cky-btn.cky-btn-reject,
html body.page-home .cky-btn-reject {
  background-color: #242424 !important;
  border-color: #242424 !important;
  color: #ffffff !important;
}
html body.page-home button.cky-btn.cky-btn-customize,
html body.page-home .cky-btn.cky-btn-customize,
html body.page-home .cky-btn-customize,
html body.page-home button.cky-btn.cky-btn-preferences,
html body.page-home .cky-btn.cky-btn-preferences,
html body.page-home .cky-btn-preferences {
  background-color: #ffffff !important;
  border-color: #f0a500 !important;
  color: #141414 !important;
}
html body.page-home button.cky-btn.cky-btn-accept:hover,
html body.page-home button.cky-btn.cky-btn-accept:focus-visible,
html body.page-home .cky-btn-accept:hover,
html body.page-home .cky-btn-accept:focus-visible {
  background-color: #d99500 !important;
  border-color: #d99500 !important;
  color: #141414 !important;
}
html body.page-home button.cky-btn.cky-btn-reject:hover,
html body.page-home button.cky-btn.cky-btn-reject:focus-visible,
html body.page-home .cky-btn-reject:hover,
html body.page-home .cky-btn-reject:focus-visible {
  background-color: #111111 !important;
  border-color: #111111 !important;
  color: #ffffff !important;
}
html body.page-home button.cky-btn.cky-btn-customize:hover,
html body.page-home button.cky-btn.cky-btn-customize:focus-visible,
html body.page-home .cky-btn-customize:hover,
html body.page-home .cky-btn-customize:focus-visible,
html body.page-home button.cky-btn.cky-btn-preferences:hover,
html body.page-home button.cky-btn.cky-btn-preferences:focus-visible,
html body.page-home .cky-btn-preferences:hover,
html body.page-home .cky-btn-preferences:focus-visible {
  background-color: #fff7e6 !important;
  border-color: #d99500 !important;
  color: #141414 !important;
}
html body.page-home .cky-btn-revisit-wrapper {
  background: #f0a500 !important;
  background-color: #f0a500 !important;
  border-color: #f0a500 !important;
}
html body.page-home .cky-btn-revisit-wrapper:hover,
html body.page-home .cky-btn-revisit-wrapper:focus-visible {
  background: #d99500 !important;
  background-color: #d99500 !important;
  border-color: #d99500 !important;
}
html body.page-home .cky-btn-revisit-wrapper .cky-btn-revisit img,
html body.page-home .cky-btn-revisit-wrapper img {
  filter: brightness(0) invert(1) !important;
}


/* ===== Readability pass 2026-09-25 =====
   Improves small-text contrast and sizing inside the homepage price estimator.
   Layout, calculator logic and controls are unchanged. */
.home-price-estimator .hpe-head p {
  color: rgba(255,255,255,.74);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
}

.home-price-estimator .hpe-type {
  color: rgba(255,255,255,.78);
}
.home-price-estimator .hpe-type:hover {
  color: rgba(255,255,255,.96);
}
.home-price-estimator .hpe-type.is-active {
  color: var(--gold);
}

.home-price-estimator .hpe-value-head label {
  color: rgba(255,255,255,.82);
  font-size: 14px;
  font-weight: 600;
}
.home-price-estimator .hpe-value-head output {
  color: #ffffff;
  font-size: 21px;
  font-weight: 700;
}
.home-price-estimator .hpe-range-scale {
  color: rgba(255,255,255,.68);
  font-size: 12px;
  font-weight: 500;
}

.home-price-estimator .hpe-price-label {
  color: rgba(28,22,13,.76);
  font-size: 12.5px;
}
.home-price-estimator .hpe-price-row strong {
  color: #8f5d00;
}
.home-price-estimator .hpe-price-row span {
  color: rgba(28,22,13,.76);
  font-size: 14px;
  font-weight: 600;
}
.home-price-estimator .hpe-month {
  color: rgba(28,22,13,.70);
  font-size: 13px;
  font-weight: 500;
}

.home-price-estimator .hpe-discount-note {
  color: rgba(255,255,255,.72);
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.58;
}

@media (max-width: 560px) {
  .home-price-estimator .hpe-head p { font-size: 13.5px; }
  .home-price-estimator .hpe-value-head label { font-size: 13.5px; }
  .home-price-estimator .hpe-range-scale { font-size: 11.5px; }
  .home-price-estimator .hpe-discount-note { font-size: 12px; }
}
