/* Homepage layout, Opendoor-style rhythm in Home Pros colors: one centered
 * photo hero, white sections with generous space, rounded media, pill buttons.
 * home.css carries !important on the old hero, so the hero overrides need it. */
:root {
  --od-navy: #001F54;
  --od-ink: #0B1F3A;
  --od-text: #2B3445;
  --od-muted: #5B6577;
  --od-line: #E7E4DE;
  --od-warm: #F7F5F1;
  --od-green: #12805C;
  --od-radius: 24px;
}

/* ---------- hero ---------- */
.hero.od-hero {
  background-color: var(--od-ink) !important;
  background-image:
    linear-gradient(180deg, rgba(11,31,58,.62) 0%, rgba(11,31,58,.38) 42%, rgba(11,31,58,.70) 100%), /* taste-skill-ignore: neutral scrim over the hero photo */
    url('/assets/images/hero-house.webp') !important;
  background-size: cover !important;
  background-position: center 40% !important;
  padding: 5.5rem 0 3.25rem !important;
  text-align: center !important;
}
.od-hero-inner { display: flex; flex-direction: column; align-items: center; gap: 1.6rem; }
.od-hero-copy { max-width: 760px; }
.od-eyebrow {
  margin: 0 0 1rem; font-family: var(--hp-sans); font-size: .78rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.78);
}
.hero.od-hero .od-hero-h1 {
  margin: 0 0 1rem !important; color: #fff !important;
  font-family: 'DM Serif Display', Georgia, serif !important; font-weight: 400 !important;
  font-size: clamp(2.3rem, 5.2vw, 4.1rem) !important; line-height: 1.04 !important; letter-spacing: -.01em !important;
  text-wrap: balance;
}
.od-hero-sub { margin: 0 auto; max-width: 600px; color: rgba(255,255,255,.86); font-size: 1.08rem; line-height: 1.6; text-wrap: pretty; }
.hero.od-hero .hero-form-centered { width: 100% !important; max-width: 600px !important; margin: 0 auto !important; }
.od-hero-links { margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem .75rem; color: rgba(255,255,255,.7); font-size: .95rem; }
.od-hero-links a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.45); }
.od-hero-links a:hover { text-decoration-color: #fff; }
.od-hero-stats {
  list-style: none; margin: .4rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, auto);
  gap: .5rem 2.75rem; justify-content: center; color: #fff;
}
.od-hero-stats li { display: flex; flex-direction: column; align-items: center; gap: .1rem; }
.od-hero-stats strong { font-family: 'DM Serif Display', Georgia, serif; font-weight: 400; font-size: 1.7rem; line-height: 1.1; }
.od-hero-stats span { font-size: .82rem; color: rgba(255,255,255,.72); }

/* ---------- shared ---------- */
.od-section { padding: 6rem 0; background: #fff; }
.od-section .container { max-width: 1200px; }
.od-head { max-width: 720px; margin: 0 0 2.75rem; }
.od-h2 {
  margin: 0 0 1rem; color: var(--od-ink); font-family: var(--hp-sans); font-weight: 600;
  font-size: clamp(1.85rem, 3.3vw, 2.75rem); line-height: 1.12; letter-spacing: -.025em; text-wrap: balance;
}
.od-lede { margin: 0; color: var(--od-muted); font-size: 1.08rem; line-height: 1.65; max-width: 62ch; text-wrap: pretty; }
.od-kicker { margin: 0 0 .75rem; color: var(--od-green); font-weight: 700; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; }
.od-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 1.4rem;
  border-radius: 999px; font-weight: 600; font-size: 1rem; text-decoration: none; transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.od-btn-primary { background: var(--od-navy); color: #fff; border: 1.5px solid var(--od-navy); }
.od-btn-primary:hover { background: #0a2f73; border-color: #0a2f73; color: #fff; }
.od-btn-ghost { background: transparent; color: var(--od-navy); border: 1.5px solid #C9CED8; }
.od-btn-ghost:hover { border-color: var(--od-navy); color: var(--od-navy); }
.od-btn:focus-visible, .od-inv-card:focus-visible, .od-faq-item summary:focus-visible, .od-addr button:focus-visible { outline: 3px solid #3B82F6; outline-offset: 3px; }
.od-btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.od-checks { list-style: none; margin: 1.25rem 0 1.75rem; padding: 0; display: grid; gap: .7rem; }
.od-checks li { position: relative; padding-left: 1.85rem; color: var(--od-text); line-height: 1.5; }
.od-checks li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 1.15rem; height: 1.15rem; border-radius: 50%;
  background: #E3F2EC url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312805C' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 70% no-repeat;
}
.od-split { display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: center; }

/* ---------- two paths ---------- */
.od-paths { background: var(--od-warm); }
.od-paths-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.od-paths-grid.od-three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1040px) { .od-paths-grid.od-three { grid-template-columns: 1fr; } }
.od-flow.od-flow-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1040px) { .od-flow.od-flow-5 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .od-flow.od-flow-5 { grid-template-columns: 1fr; } }
.od-roadmap { display: block; width: 100%; height: auto; max-width: 980px; margin: 0 auto 1.5rem; }
.od-quote { margin: 0; padding: 1.75rem; border-radius: 20px; background: var(--od-warm); border: 1px solid var(--od-line); color: var(--od-ink); font-size: 1.12rem; line-height: 1.65; }
.od-quote footer { margin-top: 1rem; color: var(--od-muted); font-size: .95rem; }
.od-script { margin: 0; padding: 1.25rem 1.5rem; border-radius: 16px; background: #fff; border: 1px solid var(--od-line); }
.od-script + .od-script { margin-top: 1rem; }
.od-script b { display: block; color: var(--od-ink); margin-bottom: .35rem; }
.od-script p { margin: 0; color: var(--od-muted); line-height: 1.6; }
.od-path { display: flex; flex-direction: column; padding: 2.5rem; border-radius: var(--od-radius); background: #fff; border: 1px solid var(--od-line); }
.od-path-cash { background: var(--od-navy); border-color: var(--od-navy); color: #fff; }
.od-path-tag { margin: 0 0 .9rem; align-self: flex-start; padding: .3rem .75rem; border-radius: 999px; font-size: .78rem; font-weight: 700; letter-spacing: .03em; background: #E3F2EC; color: var(--od-green); }
.od-path-cash .od-path-tag { background: rgba(255,255,255,.14); color: #fff; }
.od-path h3 { margin: 0 0 .5rem; font-family: 'DM Serif Display', Georgia, serif; font-weight: 400; font-size: 2rem; line-height: 1.1; color: var(--od-ink); }
.od-path-cash h3 { color: #fff; }
.od-path-sum { margin: 0; color: var(--od-muted); line-height: 1.6; }
.od-path-cash .od-path-sum, .od-path-cash .od-checks li { color: rgba(255,255,255,.86); }
.od-path-cash .od-checks li::before { background-color: rgba(255,255,255,.16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E"); }
.od-path .od-btn { margin-top: auto; align-self: flex-start; }
.od-path-cash .od-btn-primary { background: #fff; color: var(--od-navy); border-color: #fff; }
.od-path-cash .od-btn-primary:hover { background: #E9EEF7; border-color: #E9EEF7; color: var(--od-navy); }

/* ---------- how it works ---------- */
.od-how-media { position: relative; border-radius: var(--od-radius); overflow: hidden; aspect-ratio: 4 / 3.4; background: var(--od-warm); }
.od-how-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.od-float-card {
  position: absolute; left: 1.25rem; bottom: 1.25rem; width: min(300px, calc(100% - 2.5rem));
  padding: 1.1rem 1.2rem; border-radius: 18px; background: #fff; color: var(--od-ink);
  box-shadow: 0 10px 30px rgba(11,31,58,.18); /* taste-skill-ignore: lifts the mock offer card off the photo */
}
.od-float-k { margin: 0; font-weight: 700; font-size: 1rem; }
.od-float-v { margin: .15rem 0 .7rem; color: var(--od-muted); font-size: .88rem; }
.od-float-row { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; border-top: 1px solid var(--od-line); font-size: .88rem; } /* taste-skill-ignore: rows of the mock offer card */
.od-float-row span { color: var(--od-muted); }
.od-steps { list-style: none; margin: 1.5rem 0 2rem; padding: 0; display: grid; gap: 1.4rem; }
.od-steps li { display: grid; grid-template-columns: 2.4rem 1fr; gap: 1rem; align-items: start; }
.od-step-n { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--od-warm); border: 1px solid var(--od-line); color: var(--od-navy); font-weight: 700; }
.od-steps h3 { margin: .15rem 0 .25rem; font-size: 1.1rem; font-weight: 600; color: var(--od-ink); }
.od-steps p { margin: 0; color: var(--od-muted); line-height: 1.55; }

/* ---------- reviews (existing carousel, new frame) ---------- */
.testimonials.od-reviews { background: var(--od-warm) !important; padding: 6rem 0 !important; }
.testimonials.od-reviews .testimonials-section-title {
  font-family: var(--hp-sans) !important; font-weight: 600 !important; letter-spacing: -.025em !important;
  font-size: clamp(1.85rem, 3.3vw, 2.75rem) !important; color: var(--od-ink) !important; text-align: left !important; max-width: 640px;
}

/* ---------- banner ---------- */
.od-banner-sec { padding-bottom: 4.5rem; }
.od-banner-h { max-width: 860px; }
.od-rotor { display: inline-block; color: var(--od-green); }
.od-rotor-word { display: inline-block; transition: opacity .26s ease, transform .26s ease; }
.od-rotor-word.is-out { opacity: 0; transform: translateY(.3em); }
.od-banner { margin-top: 2rem; border-radius: 28px; overflow: hidden; aspect-ratio: 21 / 8; background: var(--od-warm); }
.od-banner img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; display: block; }

/* ---------- listing agent ---------- */
.od-agent { background: #fff; padding-top: 2rem; }
.od-agent-card { margin: 0; justify-self: center; width: min(360px, 100%); border-radius: var(--od-radius); overflow: hidden; background: #0d0d0f; border: 1px solid var(--od-line); }
.od-agent-card img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.od-agent-card figcaption { display: grid; gap: .2rem; padding: 1.1rem 1.3rem 1.3rem; background: #fff; }
.od-agent-card b { font-size: 1.15rem; color: var(--od-ink); }
.od-agent-card span { color: var(--od-muted); font-size: .9rem; }
.od-agent-card a { margin-top: .35rem; color: var(--od-navy); font-weight: 600; font-size: .95rem; }
.od-split-rev .od-agent-card { order: -1; }

/* ---------- investors ---------- */
.od-investors { background: var(--od-warm); }
.od-inv-media { border-radius: var(--od-radius); overflow: hidden; aspect-ratio: 16 / 9; }
.od-inv-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.od-inv-grid { margin-top: 3rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.od-inv-card {
  display: flex; flex-direction: column; gap: .5rem; padding: 1.6rem; border-radius: 20px; background: #fff;
  border: 1px solid var(--od-line); text-decoration: none; color: var(--od-text); transition: border-color .15s ease, transform .15s ease;
}
.od-inv-card:hover { border-color: var(--od-navy); transform: translateY(-2px); }
.od-inv-card h3 { margin: 0; font-size: 1.12rem; font-weight: 600; color: var(--od-ink); }
.od-inv-card p { margin: 0; color: var(--od-muted); line-height: 1.55; font-size: .95rem; }
.od-arrow { margin-top: auto; padding-top: .6rem; color: var(--od-navy); font-weight: 600; font-size: .95rem; }
.od-arrow::after { content: " \2192"; }

/* ---------- situations (existing grid) ---------- */
.hp-situations.od-situations { background: #fff !important; padding: 6rem 0 !important; }
.hp-situations.od-situations .btn-cash-offer {
  width: auto !important; display: inline-flex !important; min-height: 48px; padding: 0 1.6rem !important; border-radius: 999px !important;
  background: var(--od-navy) !important; box-shadow: none !important; /* taste-skill-ignore: removes the old shadow */ text-transform: none !important; letter-spacing: 0 !important; font-size: 1rem !important;
}
@media (min-width: 769px) { .od-reviews .google-review-card:nth-child(n+7) { display: none; } }

/* ---------- FAQ ---------- */
.od-faq { background: var(--od-warm); }
.od-faq-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 4rem; align-items: start; }
.od-faq-intro .od-btn { margin-top: 1.5rem; }
.od-faq-list { display: grid; gap: .75rem; }
.od-faq-item { background: #fff; border: 1px solid var(--od-line); border-radius: 16px; }
.od-faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.15rem 1.35rem; font-weight: 600; color: var(--od-ink); border-radius: 16px; min-height: 48px;
}
.od-faq-item summary::-webkit-details-marker { display: none; }
.od-faq-item summary::after { content: "+"; flex: none; font-size: 1.4rem; font-weight: 400; color: var(--od-navy); transition: transform .2s ease; }
.od-faq-item[open] summary::after { transform: rotate(45deg); }
.od-faq-item p { margin: 0; padding: 0 1.35rem 1.25rem; color: var(--od-muted); line-height: 1.65; }

/* ---------- final CTA ---------- */
.od-final-card { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; padding: 3.5rem; border-radius: 28px; background: var(--od-warm); border: 1px solid var(--od-line); }
.od-addr { margin-top: 1.75rem; display: flex; align-items: center; gap: .5rem; max-width: 520px; padding: .4rem .4rem .4rem 1.2rem; background: #fff; border: 1.5px solid #CBD2DD; border-radius: 999px; }
.od-addr:focus-within { border-color: var(--od-navy); }
.od-addr input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 1rem; color: var(--od-ink); min-height: 44px; }
.od-addr button { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--od-navy); color: #fff; cursor: pointer; }
.od-addr button:hover { background: #0a2f73; }
.od-final-media { border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 5; max-height: 440px; justify-self: end; width: 100%; max-width: 340px; }
.od-final-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .od-section, .testimonials.od-reviews, .hp-situations.od-situations { padding: 4rem 0 !important; }
  .od-split, .od-faq-grid, .od-final-card { grid-template-columns: 1fr; gap: 2.25rem; }
  .od-split-rev .od-agent-card { order: 0; }
  .od-inv-grid { grid-template-columns: 1fr 1fr; }
  .od-final-media { justify-self: stretch; max-width: none; aspect-ratio: 16 / 10; }
}
@media (max-width: 720px) {
  .hero.od-hero { padding: 3rem 0 2.5rem !important; }
  .od-hero-sub { font-size: 1rem; }
  .od-hero-stats { grid-template-columns: 1fr 1fr; gap: 1rem 1.5rem; }
  .od-paths-grid, .od-inv-grid { grid-template-columns: 1fr; }
  .od-path { padding: 1.75rem; }
  .od-banner { aspect-ratio: 4 / 3; border-radius: 20px; }
  .od-final-card { padding: 1.75rem; border-radius: 22px; }
  .od-agent { padding-top: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .od-rotor-word, .od-inv-card, .od-faq-item summary::after { transition: none; }
}

/* ---------- inner pages (/list-with-us, /novations) ---------- */
.od-page-hero { padding: 4.5rem 0 4rem; background: var(--od-warm); }
.od-page-h1 {
  margin: 0 0 1rem; color: var(--od-ink); font-family: 'DM Serif Display', Georgia, serif; font-weight: 400;
  font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.06; letter-spacing: -.01em; text-wrap: balance;
}
.od-page .od-agent-card figcaption a { margin-top: .1rem; }
.od-inv-card.od-static:hover { border-color: var(--od-line); transform: none; }
.od-table-wrap { overflow-x: auto; border: 1px solid var(--od-line); border-radius: 20px; }
.od-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .98rem; }
.od-table th, .od-table td { padding: 1rem 1.25rem; text-align: left; border-bottom: 1px solid var(--od-line); vertical-align: top; }
.od-table thead th { background: var(--od-warm); color: var(--od-ink); font-weight: 600; }
.od-table tbody th { color: var(--od-ink); font-weight: 600; width: 22%; }
.od-table td { color: var(--od-text); }
.od-table tr:last-child th, .od-table tr:last-child td { border-bottom: 0; }
.od-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; counter-reset: flow; }
.od-flow li { counter-increment: flow; display: grid; gap: .4rem; padding: 1.5rem; border-radius: 20px; background: var(--od-warm); border: 1px solid var(--od-line); }
.od-flow li::before { content: counter(flow); display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--od-navy); color: #fff; font-weight: 700; margin-bottom: .4rem; }
.od-flow b { color: var(--od-ink); font-size: 1.08rem; }
.od-flow span { color: var(--od-muted); line-height: 1.55; }
.od-legal { margin: 1.75rem 0 0; color: var(--od-muted); font-size: .88rem; line-height: 1.6; max-width: 80ch; }
.od-legal a { color: var(--od-navy); }
.od-related { padding: 4rem 0; }
.od-links { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .75rem 2rem; }
.od-links a { color: var(--od-navy); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(0,31,84,.3); }
.od-links a:hover { text-decoration-color: var(--od-navy); }

.od-formsec { background: #fff; }
.od-form { display: grid; gap: 1rem; padding: 2rem; border-radius: var(--od-radius); background: var(--od-warm); border: 1px solid var(--od-line); }
.od-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.od-field { display: grid; gap: .4rem; }
.od-field label { font-weight: 600; font-size: .92rem; color: var(--od-ink); }
.od-opt { font-weight: 400; color: var(--od-muted); }
.od-field input, .od-field select, .od-field textarea {
  width: 100%; min-height: 48px; padding: .7rem .9rem; border: 1.5px solid #CBD2DD; border-radius: 12px;
  background: #fff; color: var(--od-ink); font: inherit; font-size: 1rem;
}
.od-field textarea { min-height: 96px; resize: vertical; }
.od-field input:focus, .od-field select:focus, .od-field textarea:focus { outline: none; border-color: var(--od-navy); box-shadow: 0 0 0 3px rgba(0,31,84,.12); } /* taste-skill-ignore: focus ring */
.od-field input:invalid, .od-field select:invalid, .od-field textarea:invalid { border-color: #CBD2DD; }
.od-field input.is-bad, .od-field select.is-bad, .od-field textarea.is-bad { border-color: #C2410C; }
.od-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; } /* taste-skill-ignore: honeypot */
.od-consent { margin: 0; font-size: .8rem; line-height: 1.5; color: var(--od-muted); }
.od-consent a { color: var(--od-navy); }
.od-btn-block { width: 100%; border: 0; cursor: pointer; }
.od-btn-block[disabled] { opacity: .7; cursor: progress; }
.od-form-msg { margin: 0; min-height: 1.2em; font-size: .95rem; color: var(--od-ink); }
.od-form-msg.is-ok { color: var(--od-green); font-weight: 600; }
.od-form-msg.is-err { color: #B91C1C; }

@media (max-width: 960px) {
  .od-flow { grid-template-columns: 1fr 1fr; }
  .od-page-hero { padding: 3rem 0; }
}
@media (max-width: 720px) {
  .od-flow, .od-links, .od-row2 { grid-template-columns: 1fr; }
  .od-form { padding: 1.4rem; }
}
@media (max-width: 960px) { .od-page-hero .od-agent-card { width: min(300px, 100%); justify-self: start; } }
