/* Any Home Buyer — site styles */
:root {
  --navy: #0E2A47;
  --navy-deep: #081C31;
  --navy-soft: #1D3F63;
  --amber: #F5A524;
  --amber-dark: #D98A0B;
  --ink: #16212C;
  --muted: #5A6878;
  --line: #E3E8EF;
  --bg: #FFFFFF;
  --bg-soft: #F5F7FA;
  --cream: #FFF8EC;
  --ok: #1F8A5B;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 10px 30px rgba(8, 28, 49, .10);
  --shadow-lg: 0 24px 60px rgba(8, 28, 49, .18);
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--navy-soft); }
h1, h2, h3, h4 { font-family: "Manrope", system-ui, sans-serif; line-height: 1.15; margin: 0 0 .5em; color: var(--navy-deep); letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--amber-dark); margin-bottom: .75rem; }
.lead { font-size: 1.15rem; color: var(--muted); }
.center { text-align: center; }
.section { padding: 88px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 100; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font: inherit; font-weight: 800; font-size: 1rem; padding: 15px 26px; border-radius: 999px; border: 2px solid transparent; cursor: pointer; text-decoration: none; transition: transform .15s ease, background .15s ease, box-shadow .15s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--amber); color: var(--navy-deep); box-shadow: 0 8px 20px rgba(245, 165, 36, .35); }
.btn-primary:hover { background: #FFB43F; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-light { background: #fff; color: var(--navy-deep); }
.btn-block { width: 100%; }

/* Header */
.topbar { background: var(--navy-deep); color: #C9D5E3; font-size: .88rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 12px; }
.topbar a { color: #fff; font-weight: 700; text-decoration: none; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 74px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy-deep); font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; }
.brand img { width: 40px; height: 40px; }
.brand span b { color: var(--amber-dark); font-weight: 800; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: .97rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--amber-dark); }
.header-cta { display: flex; align-items: center; gap: 14px; }
.phone-link { font-weight: 800; color: var(--navy); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.menu-btn { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-btn span { display: block; width: 24px; height: 2px; background: var(--navy-deep); margin: 5px 0; border-radius: 2px; }

/* Hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 500px at 85% -10%, #24507D 0%, transparent 60%), linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%); color: #fff; padding: 84px 0 96px; }
.hero::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px); background-size: 22px 22px; pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--amber); }
.hero .lead { color: #C9D5E3; font-size: 1.2rem; max-width: 560px; }
.hero-points { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; }
.hero-points li { display: flex; gap: 10px; align-items: center; font-weight: 600; color: #E6EDF5; }
.check { flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%; background: rgba(245,165,36,.18); color: var(--amber); display: grid; place-items: center; font-size: 13px; font-weight: 900; }

/* Offer card / form */
.offer-card { background: #fff; color: var(--ink); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-lg); }
.offer-card h2 { font-size: 1.5rem; margin-bottom: .25em; }
.offer-card .sub { color: var(--muted); font-size: .95rem; margin-bottom: 18px; }
.steps-dots { display: flex; gap: 6px; margin-bottom: 16px; }
.steps-dots i { height: 5px; flex: 1; border-radius: 4px; background: var(--line); }
.steps-dots i.on { background: var(--amber); }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 6px; color: var(--navy-deep); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-soft); box-shadow: 0 0 0 4px rgba(29,63,99,.12); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-step { display: none; }
.form-step.active { display: block; }
.form-note { font-size: .8rem; color: var(--muted); margin: 12px 0 0; }
.form-error { display: none; background: #FDECEC; color: #9B1C1C; border-radius: 10px; padding: 10px 12px; font-size: .9rem; margin-bottom: 12px; }
.form-error.show { display: block; }
.back-link { background: none; border: 0; color: var(--muted); font: inherit; font-size: .9rem; cursor: pointer; padding: 10px 0 0; }
.hp { position: absolute; left: -5000px; }

/* Trust strip */
.trust { background: var(--cream); border-bottom: 1px solid #F3E3C3; }
.trust .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 22px 20px; }
.trust div { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--navy-deep); font-size: .97rem; }
.trust .ic { width: 38px; height: 38px; border-radius: 10px; background: #fff; display: grid; place-items: center; box-shadow: 0 2px 8px rgba(8,28,49,.06); flex: 0 0 38px; }

/* Cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card p { color: var(--muted); margin: 0; }
.card .ic { width: 52px; height: 52px; border-radius: 14px; background: var(--bg-soft); display: grid; place-items: center; margin-bottom: 18px; }
.card .ic svg { width: 26px; height: 26px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; }
.step { position: relative; background: #fff; border-radius: var(--radius-lg); padding: 34px 28px 28px; box-shadow: var(--shadow); }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: -22px; left: 28px; width: 46px; height: 46px; border-radius: 50%; background: var(--amber); color: var(--navy-deep); font-weight: 900; font-size: 1.2rem; display: grid; place-items: center; box-shadow: 0 6px 16px rgba(245,165,36,.4); }
.step h3 { margin-top: 10px; }
.step p { color: var(--muted); margin: 0; }

/* Compare table */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); font-size: .98rem; }
.compare thead th { background: var(--navy); color: #fff; font-weight: 800; }
.compare thead th.us { background: var(--amber); color: var(--navy-deep); }
.compare td.us { background: #FFFBF2; font-weight: 700; color: var(--navy-deep); }
.compare tr:last-child td { border-bottom: 0; }
.table-scroll { overflow-x: auto; border-radius: var(--radius-lg); }

/* Situations */
.chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.chip { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; font-weight: 700; color: var(--navy-deep); font-size: .95rem; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks li .check { background: rgba(31,138,91,.12); color: var(--ok); margin-top: 3px; }
.illus { background: linear-gradient(160deg, #EAF0F7, #F8FAFC); border-radius: var(--radius-lg); padding: 30px; }

/* Cities */
.cities { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.city { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; font-weight: 700; color: var(--navy-deep); display: flex; align-items: center; gap: 8px; }
.city::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); flex: 0 0 8px; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 22px; margin-bottom: 12px; }
.faq summary { cursor: pointer; list-style: none; font-weight: 800; color: var(--navy-deep); padding: 20px 30px 20px 0; position: relative; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 16px; font-size: 1.6rem; color: var(--amber-dark); font-weight: 600; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 6px; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%); color: #fff; border-radius: var(--radius-lg); padding: 56px; display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.cta-band h2 { color: #fff; margin: 0 0 .3em; }
.cta-band p { color: #C9D5E3; margin: 0; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-actions .btn-ghost { color: #fff; border-color: rgba(255,255,255,.5); }

/* Page hero (inner pages) */
.page-hero { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%); color: #fff; padding: 72px 0 64px; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3rem); }
.page-hero .lead { color: #C9D5E3; max-width: 680px; }
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose p, .prose li { color: #2E3B49; }
.prose ul { padding-left: 1.2em; }

/* Blog */
.post-card { display: block; text-decoration: none; color: inherit; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: box-shadow .15s, transform .15s; }
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.post-card .meta { font-size: .85rem; color: var(--muted); margin-bottom: 8px; }
.post-card h3 { margin-bottom: 8px; }
.post-card p { color: var(--muted); margin: 0; }
.post-meta { color: #C9D5E3; font-size: .95rem; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #9FB0C3; padding: 64px 0 28px; margin-top: 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; letter-spacing: 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #C9D5E3; text-decoration: none; }
.site-footer a:hover { color: var(--amber); }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; }

/* Sticky mobile call bar */
.mobile-bar { display: none; }

/* Thank you */
.thanks { text-align: center; max-width: 640px; margin: 0 auto; }
.thanks .big-check { width: 84px; height: 84px; border-radius: 50%; background: rgba(31,138,91,.12); color: var(--ok); display: grid; place-items: center; margin: 0 auto 24px; font-size: 40px; font-weight: 900; }

@media (max-width: 980px) {
  .hero .wrap, .split { grid-template-columns: 1fr; gap: 40px; }
  .grid-3, .steps { grid-template-columns: 1fr; gap: 36px; }
  .grid-4, .trust .wrap { grid-template-columns: 1fr 1fr; }
  .cities { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 40px 28px; }
  .nav { display: none; position: absolute; top: 74px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: flex-start; gap: 0; border-bottom: 1px solid var(--line); padding: 8px 20px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .menu-btn { display: block; }
  .header-cta .btn { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .hero { padding: 48px 0 64px; }
  .offer-card { padding: 22px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .topbar .hide-sm { display: none; }
  .header-cta .phone-link span { display: none; }
  .grid-4, .trust .wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60; box-shadow: 0 -6px 20px rgba(8,28,49,.12); }
  .mobile-bar a { padding: 15px; text-align: center; font-weight: 800; text-decoration: none; }
  .mobile-bar .call { background: var(--navy); color: #fff; }
  .mobile-bar .offer { background: var(--amber); color: var(--navy-deep); }
  .mobile-bar.no-phone { grid-template-columns: 1fr; }
  body { padding-bottom: 54px; }
}
.is-hidden { display: none !important; }
h1 em { white-space: nowrap; }
/* Header fit on mid-width screens */
.nav a, .phone-link, .brand { white-space: nowrap; }
@media (max-width: 1240px) and (min-width: 981px) { .nav { gap: 18px; } .nav a { font-size: .92rem; } .header-cta .phone-link { display: none; } }
