/* ==========================================================================
   /closing-boost: page styles. Builds on styles.css + /rebate/rebate.css (shared
   landing-page components) + /proof.css. Black and gold tokens only:
   the landing-page navy is switched to the site's black/coal here.
   ========================================================================== */
.cb { --navy: var(--coal); --navy-2: var(--black); font-size: 1rem; }
.cb [hidden] { display: none !important; }
.cb :focus-visible { outline: 2px solid var(--gold-2); outline-offset: 2px; }
.cb-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.cb svg { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.cb-star { color: var(--gold-2); text-decoration: none; font-weight: 600; margin-left: .05em; }
.cb-star:hover { text-decoration: underline; }
.cb-fine { font-size: .72rem; line-height: 1.55; color: #8d877d; margin: 1rem 0 0; max-width: 100ch; }
.cb-icon { width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold-2); display: inline-grid; place-items: center; background: rgba(201,164,92,.08); }
.cb-icon svg { width: 26px; height: 26px; }

/* Background-image sections (photos already on the site, under a dark overlay) */
.cb-bg { position: relative; isolation: isolate; background-size: cover; background-position: center; }
.cb-bg::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(10,10,11,.84); }
.cb-bg-living  { background-image: url(/images/r/sell-hero-1280.jpg); }
.cb-bg-living::before { background: linear-gradient(180deg, rgba(10,10,11,.97) 0%, rgba(10,10,11,.9) 40%, rgba(10,10,11,.95) 100%); }
.cb-bg-skyline { background-image: url(/images/r/hero-1-1280.jpg); }
.cb-bg-skyline::before { background: rgba(10,10,11,.7); }
.cb-bg-coffee  { background-image: url(/images/r/contact-hero-1280.jpg); }
.cb-bg-aerial  { background-image: url(/images/r/hero-2-1280.jpg); }
.cb-bg-home    { background-image: url(/images/r/hero-3-1280.jpg); }
.cb-bg-home::before { background: linear-gradient(90deg, rgba(10,10,11,.92), rgba(10,10,11,.7)); }
.cb-bg-desk    { background-image: url(/images/r/guides-hero-1280.jpg); }
@media (max-width: 800px) {
  .cb-bg-living { background-image: url(/images/r/sell-hero-800.jpg); }
  .cb-bg-skyline { background-image: url(/images/r/hero-1-800.jpg); }
  .cb-bg-coffee { background-image: url(/images/r/contact-hero-800.jpg); }
  .cb-bg-aerial { background-image: url(/images/r/hero-2-800.jpg); }
  .cb-bg-home { background-image: url(/images/r/hero-3-800.jpg); }
  .cb-bg-desk { background-image: url(/images/r/guides-hero-800.jpg); }
}

/* 1. Top strip */
.cb-strip { background: var(--coal); border-bottom: 1px solid var(--line); font-size: .78rem; letter-spacing: .06em; color: #d8d2c6; }
.cb-strip .wrap { padding: .55rem 0; text-align: center; }
.cb-native, .cb-langs [lang]:not([lang="en"]) { font-family: var(--indic); letter-spacing: 0; }

/* 2. Hero */
.cb .lp-hero::after { background: linear-gradient(90deg, rgba(10,10,11,.95) 0%, rgba(10,10,11,.8) 55%, rgba(10,10,11,.5) 100%), linear-gradient(0deg, var(--black) 0%, transparent 35%); }
.cb .lp-pill { background: rgba(10,10,11,.7); }
.cb-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.cb-hero h1 { font-size: clamp(2.3rem, 5vw, 4rem); }
.cb-hero h1 em { color: var(--gold-2); font-style: normal; white-space: nowrap; }
.cb-hero .lp-sub { max-width: 46ch; font-size: 1.1rem; }
.cb-chips { list-style: none; padding: 0; margin: 1.3rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.cb-chips li { display: inline-flex; align-items: center; gap: .5rem; border: 1px solid rgba(201,164,92,.45); background: rgba(10,10,11,.55); border-radius: 999px; padding: .5rem .9rem; font-size: .84rem; color: var(--ivory); }
.cb-chips svg { color: var(--gold-2); }
.cb-hero-btns { margin-top: 1.5rem; }
.cb-agent { margin: 1.4rem 0 0; display: grid; gap: .15rem; font-size: .9rem; font-weight: 600; color: var(--ivory); }

/* Quick estimate card in the hero */
.cb-quick { background: rgba(14,14,18,.92); border: 1px solid var(--gold); padding: clamp(1.4rem, 3vw, 2rem); box-shadow: 0 30px 80px rgba(0,0,0,.55); text-align: center; }
.cb-quick-label { margin: 0; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: #ddd6c9; font-weight: 600; }
.cb-quick-price { margin: .4rem 0 0; font-family: var(--serif); font-size: 2rem; color: var(--ivory); font-variant-numeric: tabular-nums; }
.cb-quick-result { margin: .6rem 0 1.1rem; padding: 1rem; border: 1px dashed rgba(201,164,92,.6); background: rgba(201,164,92,.07); display: grid; gap: .2rem; }
.cb-quick-result span { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: #ddd6c9; }
.cb-quick-result b { font-family: var(--serif); font-weight: 500; font-size: clamp(3rem, 7vw, 4.2rem); line-height: 1; color: var(--gold-2); font-variant-numeric: tabular-nums; }
.cb-quick-result small { font-size: .82rem; color: var(--ivory); }
.cb-quick-go { width: 100%; display: inline-flex; justify-content: center; align-items: center; gap: .6rem; padding: 1.15rem 1rem; font-size: .8rem; }
.cb-quick-note { margin: .7rem 0 0; font-size: .78rem; color: #a39d92; }

/* Range slider (hero + calculator) */
.cb-range { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; margin: .5rem 0 0; padding: 0; background: transparent; border: 0; cursor: pointer; --fill: 17%; }
.cb-range::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--gold) var(--fill), rgba(201,164,92,.25) var(--fill)); }
.cb-range::-moz-range-track { height: 6px; border-radius: 3px; background: rgba(201,164,92,.25); }
.cb-range::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--gold); }
.cb-range::-webkit-slider-thumb { -webkit-appearance: none; width: 32px; height: 32px; border-radius: 50%; background: var(--gold); border: 3px solid var(--black); box-shadow: 0 0 0 1px var(--gold), 0 0 18px rgba(201,164,92,.45); margin-top: -13px; }
.cb-range::-moz-range-thumb { width: 28px; height: 28px; border-radius: 50%; background: var(--gold); border: 3px solid var(--black); box-shadow: 0 0 0 1px var(--gold); }
.cb-range:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 4px; }

/* 3. Calculator */
.cb-calc { display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: "inputs figure" "explain form" "tax form"; gap: 1.6rem 2.4rem; align-items: start; }
.cb-top { display: contents; }
.cb-figure { grid-area: figure; } .cb-inputs { grid-area: inputs; } .cb-explain { grid-area: explain; } .cb-tax { grid-area: tax; } .cb-calc .cb-form-card { grid-area: form; }
.cb-figure { border: 1px solid var(--gold); background: var(--coal); padding: clamp(1.4rem, 3vw, 2rem); text-align: center; }
.cb-figure-label { margin: 0; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: #ddd6c9; font-weight: 600; }
.cb-figure-num { margin: .3rem 0 1rem; font-family: var(--serif); font-weight: 500; font-size: clamp(3.4rem, 9vw, 5.2rem); line-height: 1.05; color: var(--gold-2); font-variant-numeric: tabular-nums; }
.cb-timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; font-size: .8rem; color: #e4ddd0; }
.cb-timeline li { display: grid; justify-items: center; gap: .4rem; position: relative; }
.cb-timeline li > span:first-child { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold-2); display: grid; place-items: center; background: var(--coal); position: relative; z-index: 1; }
.cb-timeline li:not(:last-child)::after { content: ""; position: absolute; top: 21px; left: calc(50% + 24px); right: calc(-50% + 24px); height: 1px; background: var(--gold); opacity: .5; }
.cb-inputs { display: grid; gap: 1.2rem; }
.cb-price label { font-size: .74rem; }
.cb-price-field { display: flex; align-items: center; border: 1px solid rgba(201,164,92,.45); background: rgba(255,255,255,.04); }
.cb-price-field span { padding: 0 .2rem 0 1rem; font-family: var(--serif); font-size: 2rem; color: var(--gold-2); }
.cb-price-field input { border: 0; background: transparent; font-family: var(--serif); font-size: 2rem; padding: .5rem 1rem .5rem .2rem; color: var(--ivory); font-variant-numeric: tabular-nums; min-height: 60px; }
.cb-price-field:focus-within { border-color: var(--gold); }
.cb-range-ends { display: flex; justify-content: space-between; margin: .1rem 0 0; font-size: .76rem; color: var(--muted); }
.cb-toggles { display: grid; gap: 1rem; }
.cb-toggle { margin: 0; }
.cb .cb-toggle legend { font-size: .86rem; }
.cb-uses-title { margin: 0 0 .7rem; font-family: var(--serif); font-size: 1.35rem; color: var(--ivory); }
.cb-uses { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: .6rem; }
.cb-uses li { border: 1px solid var(--line); background: var(--panel); padding: .9rem .4rem; display: grid; justify-items: center; gap: .5rem; text-align: center; font-size: .78rem; line-height: 1.3; color: #e4ddd0; }
.cb-uses svg { width: 28px; height: 28px; color: var(--gold-2); }
.cb-explain details { border-bottom: 1px solid var(--line); padding: .8rem 0; margin-top: .8rem; }
.cb-explain summary { font-size: 1.1rem; }
.cb-explain details p { font-size: .9rem; }
.cb-tax { border: 1px solid var(--line); background: var(--panel); padding: 1.1rem 1.3rem; }
.cb-tax h3 { font-size: 1.25rem; margin: 0 0 .5rem; }
.cb-tax h3 small { font-family: var(--sans); font-size: .72rem; color: var(--muted); }
.cb-tax dl { margin: 0; }
.cb-tax dl > div { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; border-bottom: 1px solid rgba(201,164,92,.15); font-size: .9rem; }
.cb-tax dt { color: #e4ddd0; } .cb-tax dd { margin: 0; font-variant-numeric: tabular-nums; color: var(--ivory); white-space: nowrap; }
.cb-tax .cb-tax-total { border-bottom: 0; font-weight: 600; }

/* Forms */
.cb-form-card h3 { font-size: 1.45rem; margin: 0 0 .4rem; }
.cb-form-hot { border-color: var(--gold); box-shadow: 0 0 0 1px rgba(201,164,92,.35), 0 30px 80px rgba(0,0,0,.5); }
.cb-form-sub { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .5rem; margin: 0 0 1rem; font-size: .82rem; color: #ddd6c9; }
.cb-form-sub svg { color: var(--gold-2); }
.cb-form-card .lp-field input, .cb-form-card .lp-field select { font-size: 1rem; }
.cb .consent label, .cb .consent label a { font-size: .78rem; }
.cb .consent label a { color: var(--gold-2); text-decoration: underline; }
.cb-form-card > .cb-icon { margin-bottom: .8rem; }
.cb-success:focus { outline: none; }
.cb-thanks { font-family: var(--serif); font-size: 1.6rem; color: var(--ivory); margin: 0 0 .8rem; }
.cb-success .btn { margin: .4rem 0; }
.cb-success .cb-fine a { color: var(--gold-2); }
.cb-review { display: flex; gap: .8rem; align-items: center; margin-bottom: 1rem; }
.cb-review img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 1px solid var(--gold); }
.cb-review p { margin: 0; font-size: .9rem; }

/* 4. Proof */
.cb-stats-band { border-block: 1px solid var(--line); padding: clamp(2.6rem, 6vw, 4rem) 0; }
.cb-stats-band .pf-tile { background: rgba(10,10,11,.75); backdrop-filter: blur(4px); }
.cb-proof-in { padding: clamp(3rem, 7vw, 5rem) 0; }
.cb-proof [data-proof="reviews-wrap"] { margin-top: clamp(3rem, 7vw, 5rem); }

/* 5. Why HomeTru */
.cb-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.cb-card { border: 1px solid var(--line); background: rgba(23,23,26,.88); padding: clamp(1.5rem, 3vw, 2.2rem); text-align: center; display: grid; justify-items: center; align-content: start; gap: 1rem; }
.cb-card h3 { font-size: 1.45rem; margin: 0; }
.cb-langs { margin: 0; color: #e4ddd0; font-size: .86rem; }

/* 6. Steps */
.cb-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; position: relative; }
.cb-steps::before { content: ""; position: absolute; top: 27px; left: 12.5%; right: 12.5%; height: 1px; background: var(--gold); opacity: .5; }
.cb-steps li { text-align: center; display: grid; justify-items: center; gap: .35rem; position: relative; }
.cb-steps .cb-icon { background: var(--black); }
.cb-steps b { font-family: var(--serif); font-weight: 500; font-size: 1rem; color: var(--gold); margin-top: .4rem; }
.cb-steps h3 { font-size: 1.35rem; margin: 0; }
.cb-steps p { margin: 0; color: #d8d2c6; font-size: .86rem; max-width: 22ch; }

/* 7. CTA band */
.cb-cta-band { padding: clamp(3.5rem, 8vw, 5.5rem) 0; border-block: 1px solid var(--line); }
.cb-cta-band h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin: 0; }
.cb-cta-big { font-family: var(--serif); font-size: clamp(1.4rem, 3vw, 2rem); color: var(--gold-2); margin: .6rem 0 0; }
.cb-cta-band .btn-row { justify-content: center; }

/* 9. Bottom cards */
.cb-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; align-items: start; }
.cb-guide-cover { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 1rem; border: 1px solid var(--line); }

/* 10. Footer block */
.cb-footer-block { border-top: 1px solid var(--line); background: var(--coal); padding: 2rem 0; }
.cb-footer-block .cb-agent { margin-top: 0; }
.cb-contact { margin: .6rem 0 0; }
.cb-contact a { color: var(--gold-2); }
.cb-footer-block .cb-fine:focus { outline: 1px dashed var(--gold); outline-offset: 4px; }

/* Tablets and phones */
@media (max-width: 960px) {
  .cb-hero-grid { grid-template-columns: 1fr; }
  .cb-calc { grid-template-columns: 1fr; grid-template-areas: none; }
  .cb-calc > * { grid-area: auto !important; }
  .cb-top { display: block; }
  .cb-figure { position: sticky; top: 64px; z-index: 5; margin-bottom: 1.2rem; padding: .9rem 1rem; box-shadow: 0 12px 30px rgba(0,0,0,.6); }
  .cb-figure-num { font-size: 3rem; margin: .1rem 0 .6rem; }
  .cb-timeline li > span:first-child { width: 34px; height: 34px; }
  .cb-timeline li:not(:last-child)::after { top: 17px; }
  .cb-timeline { font-size: .72rem; }
  .cb-cards, .cb-bottom { grid-template-columns: 1fr; }
  .cb-steps { grid-template-columns: 1fr 1fr; row-gap: 2rem; }
  .cb-steps::before { display: none; }
  .cb-uses { grid-template-columns: repeat(3, 1fr); }
  .cb-footer-block { padding-bottom: 6rem; }
}
@media (max-width: 560px) {
  .cb-strip { font-size: .68rem; letter-spacing: .02em; }
  .cb-hero h1 em { white-space: normal; }
  .cb-hero .lp-sub { font-size: 1rem; }
  .cb-chips li { font-size: .78rem; padding: .4rem .75rem; }
  .cb-hero-btns .btn { width: 100%; text-align: center; }
  .cb-price-field span, .cb-price-field input { font-size: 1.7rem; }
  .cb .lp-two { grid-template-columns: 1fr; }
  .cb-uses { grid-template-columns: repeat(3, 1fr); }
  .cb-uses li { font-size: .72rem; padding: .75rem .3rem; }
  .cb-cta-band .btn { width: 100%; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { .cb * { scroll-behavior: auto !important; transition: none !important; } }
/* Keep the proof components' own icon styles (stars are solid gold) */
.cb .pf-stars svg { width: 18px; height: 18px; fill: var(--gold); stroke: none; }
.cb .pf-btn svg { width: 20px; height: 20px; }
.cb .pf-toggle svg path[d^="M7 5"] { fill: currentColor; }
/* Phones: the live estimate comes right after the headline */
@media (max-width: 960px) {
  .cb-hero-grid { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .cb-hero-in { display: contents; }
  .cb-hero-in > .lp-pill { order: 1; align-self: flex-start; }
  .cb-hero-in > h1 { order: 2; }
  .cb-hero-in > .lp-sub { order: 3; }
  .cb-quick { order: 4; margin: 1.2rem 0 .4rem; }
  .cb-hero-in > .cb-chips { order: 5; }
  .cb-hero-in > .cb-hero-btns { order: 6; }
  .cb-hero-in > .cb-agent { order: 7; }
}
/* v3: intake form (2 steps), toggles removed, Boost uses under the slider */
.cb-uses-wrap { margin-top: .4rem; }
.cb-calc .cb-explain details { margin-top: 0; }
.cb-form-card .lp-form-head h3 { margin: 0; }
.cb-form-card .lp-progress i { width: 50%; }
.cb-form-card fieldset legend { font-size: .86rem; }
.cb-step .lp-submit { margin-top: .4rem; }
.cb-back { display: block; margin: .8rem auto 0; background: none; border: 0; color: #a39d92; font: 500 .82rem var(--sans); text-decoration: underline; cursor: pointer; padding: .4rem; }
.cb-back:hover { color: var(--gold-2); }
.cb-tax h3 small { display: block; margin-top: .15rem; }
@media (min-width: 961px) { .cb-calc { grid-template-rows: auto auto 1fr; } }
/* v4: calculator = figure + slider + uses on the left (stays in view), intake form on the right */
@media (min-width: 961px) {
  .cb-calc { grid-template-columns: 1fr 1fr; grid-template-areas: none; grid-template-rows: auto; }
  .cb-calc > * { grid-area: auto !important; }
  .cb-top { display: grid; gap: 1.6rem; grid-column: 1; position: sticky; top: 90px; align-self: start; }
  .cb-calc .cb-form-card { grid-column: 2; }
}
@media (min-width: 961px) { .cb-top > * { grid-area: auto !important; } }

/* Benefit tiles on the skyline band (replace the stats tile) */
.cb-benefits { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.cb-benefits li { display: flex; align-items: center; gap: 1rem; border: 1px solid rgba(201,164,92,.55); background: rgba(10,10,11,.78); backdrop-filter: blur(4px); padding: 1.4rem 1.5rem; }
.cb-benefits .cb-icon { width: 60px; height: 60px; flex: 0 0 60px; }
.cb-benefits .cb-icon svg { width: 30px; height: 30px; }
.cb-benefits b { font-family: var(--serif); font-weight: 500; font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.2; color: var(--ivory); }
@media (max-width: 960px) { .cb-benefits { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }
.cb-led { color: var(--ivory); font-weight: 600; }

/* FAQ groups */
.cb-faq-group { font-family: var(--sans); font-size: .74rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin: 2.4rem 0 .4rem; font-weight: 600; }
.cb #faq .section-head + .cb-faq-group { margin-top: .6rem; }
