/* Landrun Home Buyers -- site styles. No framework, no build step. */

:root {
  /* Real brand colors, sampled from the Landrun Home Buyers logo. */
  --navy: #202262;
  --navy-dark: #15173f;
  --navy-mid: #343a8a;
  --navy-tint: #eef0f8;
  --orange: #f14d1c;
  --orange-dark: #cc3d11;
  --orange-tint: #fef1ec;
  --ink: #1b1d27;
  --gray-700: #474a5c;
  --gray-600: #5d6175;
  --gray-500: #767b8f;
  --gray-300: #ced1dd;
  --gray-200: #e5e7ef;
  --gray-100: #f6f7fb;
  --white: #ffffff;
  --red: #a8342a;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(21, 23, 63, .06);
  --shadow: 0 10px 30px rgba(21, 23, 63, .09);
  --shadow-lg: 0 24px 60px rgba(21, 23, 63, .18);
  --max-width: 1220px;
  --font-head: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
body {
  margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--white);
  line-height: 1.65; font-size: 17px; -webkit-font-smoothing: antialiased;
}
img, svg.logo { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-mid); text-decoration: none; transition: color .15s var(--ease); }
a:hover { color: var(--orange-dark); }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 800; line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .5em; color: var(--navy); }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); }
h3 { font-size: 1.16rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
.wrap { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: 10px 16px; z-index: 1000; }
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; font-weight: 700; font-size: .96rem;
  border: 2px solid transparent; cursor: pointer; text-align: center;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .18s var(--ease), color .18s var(--ease);
}
.btn-primary { background: var(--orange); color: var(--white); box-shadow: 0 8px 20px rgba(241, 77, 28, .3); }
.btn-primary:hover { background: var(--orange-dark); color: var(--white); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(241, 77, 28, .38); }
.btn-outline { border-color: rgba(255,255,255,.55); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,.14); border-color: var(--white); color: var(--white); transform: translateY(-2px); }
.btn-secondary { border-color: var(--gray-300); color: var(--navy); background: var(--white); }
.btn-secondary:hover { border-color: var(--navy); background: var(--navy-tint); color: var(--navy); transform: translateY(-2px); }
.btn-lg { padding: 15px 30px; font-size: 1.05rem; }
.btn-block { width: 100%; }

.phone-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--navy); white-space: nowrap; }
.phone-link svg { width: 16px; height: 16px; flex-shrink: 0; }
.phone-link.light { color: var(--white); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.94); backdrop-filter: saturate(180%) blur(10px); box-shadow: var(--shadow-sm); border-bottom: 1px solid var(--gray-200); }
.header-inner { display: flex; align-items: center; gap: 16px; padding: 10px 24px; max-width: 1440px; margin: 0 auto; }
.brand { flex-shrink: 0; display: block; }
.brand .logo { height: 40px; width: auto; }
.footer-brand .logo { height: 44px; width: auto; }
.main-nav { flex: 1; }
.main-nav > ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a { display: flex; align-items: center; gap: 4px; padding: 9px 11px; border-radius: 8px; font-weight: 600; color: var(--ink); font-size: .92rem; white-space: nowrap; transition: background-color .15s var(--ease), color .15s var(--ease); }
.main-nav > ul > li > a:hover { background: var(--navy-tint); color: var(--navy); }
.caret { font-size: .55em; opacity: .6; transition: transform .15s var(--ease); }
.has-children:hover .caret { transform: rotate(180deg); }
.submenu { opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .16s var(--ease), transform .16s var(--ease); position: absolute; top: 100%; left: 0; background: var(--white); box-shadow: var(--shadow-lg); border: 1px solid var(--gray-200); border-radius: var(--radius); list-style: none; margin: 6px 0 0; padding: 8px; min-width: 260px; }
.has-children:hover .submenu, .has-children:focus-within .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu li a { display: block; padding: 9px 12px; border-radius: var(--radius-sm); font-size: .93rem; white-space: nowrap; color: var(--ink); }
.submenu li a:hover { background: var(--orange-tint); color: var(--orange-dark); }
.header-cta { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.header-cta .phone-link { font-family: var(--font-head); font-size: .93rem; }
.nav-toggle { display: none; }
.mobile-nav { display: none; }

@media (max-width: 1280px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: inline-flex; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; margin-left: auto; cursor: pointer; }
  .nav-toggle span { width: 24px; height: 2px; border-radius: 2px; background: var(--navy); display: block; }
  .mobile-nav { display: none; flex-direction: column; gap: 8px; padding: 16px 24px 24px; border-top: 1px solid var(--gray-200); background: var(--white); }
  .mobile-nav.open { display: flex; }
  .mobile-nav ul { list-style: none; margin: 0; padding: 0; }
  .mobile-nav ul ul { padding-left: 16px; }
  .mobile-nav a { display: block; padding: 9px 0; font-weight: 600; color: var(--ink); }
  .mobile-nav .phone-link { display: block; margin-top: 8px; }
  .mobile-nav a.btn { display: inline-flex; padding: 13px 24px; color: var(--white); margin-top: 4px; }
  .mobile-nav .caret { display: none; }
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { padding: 14px 0; font-size: .85rem; color: var(--gray-500); background: var(--navy-tint); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 auto; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: var(--gray-300); }
.breadcrumbs a { color: var(--gray-600); }
.breadcrumbs a:hover { color: var(--orange-dark); }

/* ---------- Hero ---------- */
.hero { position: relative; color: var(--white); overflow: hidden; background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 45%, var(--navy-mid) 100%); }
.hero::after { content: ""; position: absolute; right: -8%; top: -30%; width: 55%; height: 160%; background: radial-gradient(circle, rgba(241,77,28,.22), transparent 62%); pointer-events: none; }
.hero-content { position: relative; z-index: 2; padding: 84px 24px 76px; max-width: 760px; }
.eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: .09em; font-weight: 800; color: var(--orange); font-size: .8rem; margin-bottom: 14px; font-family: var(--font-head); }
.hero h1 { color: var(--white); }
.hero-subtitle { font-size: 1.15rem; color: rgba(255,255,255,.9); max-width: 640px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0 18px; }
.hero-phone { display: inline-flex; align-items: center; gap: 8px; color: var(--white); font-weight: 700; font-size: 1.08rem; font-family: var(--font-head); }
.hero-phone svg { flex-shrink: 0; width: 19px; height: 19px; }

.post-hero { background: var(--navy-tint); padding: 56px 0 44px; border-bottom: 1px solid var(--gray-200); }
.post-hero h1 { max-width: 880px; }
.post-meta { color: var(--gray-500); font-size: .9rem; margin: 0; }

/* ---------- Trust bar ---------- */
.trust-bar { background: var(--navy-dark); color: rgba(255,255,255,.92); }
.trust-bar .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; padding-top: 18px; padding-bottom: 18px; }
.trust-item { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .93rem; }
.trust-item svg { width: 22px; height: 22px; color: var(--orange); flex-shrink: 0; }

/* ---------- Answer box (AEO) ---------- */
/* No negative margin here. The answer box follows the trust bar on ~29 pages (home,
   every city page, every situation page, the offer page), and pulling it upward
   covered the trust bar's text. It only overlapped cleanly on the few pages where it
   sits directly under the hero, so it is spaced normally everywhere instead. */
.answer-box-wrap { padding-top: 44px; position: relative; z-index: 5; }
.answer-box { background: var(--white); border: 1px solid var(--gray-200); border-left: 5px solid var(--orange); border-radius: var(--radius); padding: 28px 32px; box-shadow: var(--shadow); }
.answer-q { font-family: var(--font-head); font-weight: 800; color: var(--navy); font-size: 1.1rem; margin: 0 0 10px; }
.answer-a p { margin: 0; color: var(--gray-700); }
.answer-a strong { color: var(--ink); }

/* ---------- Key takeaways ---------- */
.key-takeaways { padding-top: 40px; padding-bottom: 0; }
.key-takeaways-box { background: var(--navy-tint); border-radius: var(--radius); padding: 26px 30px; }
.key-takeaways-box h2 { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; margin-bottom: .6em; }
.key-takeaways-box h2 svg { width: 22px; height: 22px; color: var(--navy-mid); }
.key-takeaways-box ul { margin: 0; padding-left: 1.2em; }
.key-takeaways-box li { margin-bottom: .5em; color: var(--gray-700); }

/* ---------- Sections ---------- */
.section { padding: 76px 0; }
.section + .section { padding-top: 0; }
.bg-light { background: var(--gray-100); }
.bg-white { background: var(--white); }
.section-head { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.section-lead { color: var(--gray-600); font-size: 1.05rem; }
.center { text-align: center; }
.center-link { text-align: center; margin-top: 28px; }

.prose { color: var(--gray-700); }
.prose.narrow { max-width: 760px; margin: 0 auto; }
.prose h2 { margin-top: 1.5em; }
.prose h3 { margin-top: 1.4em; color: var(--navy-mid); }
.prose .lead { font-size: 1.12rem; color: var(--ink); }
.prose a { text-decoration: underline; text-underline-offset: 2px; }

.check-list, .warn-list { list-style: none; padding-left: 0; }
.check-list li, .warn-list li { position: relative; padding-left: 30px; margin-bottom: .6em; }
.check-list li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 10px; height: 6px; border-left: 2.5px solid var(--navy-mid); border-bottom: 2.5px solid var(--navy-mid); transform: rotate(-45deg); }
.warn-list li::before { content: "!"; position: absolute; left: 2px; top: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--red); color: #fff; font-size: .72rem; font-weight: 800; display: flex; align-items: center; justify-content: center; margin-top: .25em; }
.numbered-list { padding-left: 1.3em; }
.numbered-list li { margin-bottom: .7em; }

.formula { background: var(--navy-tint); border-radius: var(--radius-sm); padding: 16px 20px; font-size: 1.02rem; color: var(--ink); }
.note-block { background: var(--orange-tint); border-left: 4px solid var(--orange); border-radius: var(--radius-sm); padding: 14px 18px; font-size: .92rem; color: var(--gray-700); }
.inline-cta { background: var(--navy-tint); border-radius: var(--radius-sm); padding: 18px 22px; font-weight: 500; }
.table-note { font-size: .88rem; color: var(--gray-500); max-width: 760px; margin: 18px auto 0; text-align: center; }

/* ---------- Grids and cards ---------- */
.grid { display: grid; gap: 22px; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.cols-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1000px) { .cols-4, .cols-5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) { .cols-3, .cols-4, .cols-5 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid { grid-template-columns: 1fr !important; } }

.card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card p { color: var(--gray-600); margin-bottom: 0; font-size: .96rem; }
.icon-circle { width: 48px; height: 48px; border-radius: 50%; background: var(--navy-tint); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.icon-circle svg { width: 24px; height: 24px; color: var(--navy-mid); }
.guide-card .btn { margin-top: 16px; }

/* ---------- Process steps ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 860px) { .steps-grid { grid-template-columns: 1fr; } }
.step-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 30px 26px 26px; position: relative; }
.step-num { position: absolute; top: -18px; left: 26px; width: 40px; height: 40px; border-radius: 50%; background: var(--orange); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 16px rgba(241,77,28,.32); }
.step-card h3 { margin-top: 12px; }
.step-card p { color: var(--gray-600); margin-bottom: 0; font-size: .96rem; }

/* ---------- Comparison table ---------- */
.table-scroll { overflow-x: auto; max-width: 900px; margin: 0 auto; }
.compare-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); font-size: .95rem; min-width: 620px; }
.compare-table thead th { background: var(--navy); color: #fff; font-family: var(--font-head); padding: 16px 18px; text-align: left; font-size: .98rem; }
.compare-table thead th:last-child { background: var(--gray-500); }
.compare-table tbody th { text-align: left; font-weight: 600; color: var(--ink); padding: 14px 18px; background: var(--gray-100); border-bottom: 1px solid var(--gray-200); width: 28%; }
.compare-table td { padding: 14px 18px; border-bottom: 1px solid var(--gray-200); color: var(--gray-700); vertical-align: top; }
.compare-table .col-us { color: var(--ink); font-weight: 600; }
.compare-table .col-us svg { width: 17px; height: 17px; color: var(--navy-mid); display: inline-block; vertical-align: -3px; margin-right: 7px; }
.compare-table tbody tr:last-child th, .compare-table tbody tr:last-child td { border-bottom: 0; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; }
.faq-item summary { cursor: pointer; padding: 18px 22px; font-family: var(--font-head); font-weight: 700; color: var(--navy); list-style: none; position: relative; padding-right: 52px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--orange); font-weight: 400; line-height: 1; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-answer { padding: 0 22px 20px; color: var(--gray-700); }
.faq-answer p { margin: 0; }

/* ---------- Area + situation cards ---------- */
.area-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 20px; display: block; transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease); }
.area-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--orange); }
.area-card h3 { margin-bottom: 4px; font-size: 1.02rem; }
.area-card span { font-size: .84rem; color: var(--gray-500); font-weight: 600; }
.area-card.is-current { border-color: var(--navy-mid); background: var(--navy-tint); }

.situation-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 26px; display: block; transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease); }
.situation-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--orange); }
.situation-card h3 { margin-bottom: 6px; }
.situation-card p { color: var(--gray-600); font-size: .94rem; margin: 0; }
.situation-card.is-current { border-color: var(--navy-mid); background: var(--navy-tint); }

/* ---------- Forms ---------- */
.form-wrap { max-width: 720px; }
.offer-form { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow); }
.offer-form.compact { padding: 24px; }
.offer-form h2 { font-size: 1.5rem; }
.offer-form > p { color: var(--gray-600); font-size: .96rem; }
.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--gray-700); }
.field label span { color: var(--red); }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--gray-300); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 1rem; color: var(--ink); background: var(--white);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy-mid); box-shadow: 0 0 0 3px rgba(52,58,138,.14); }
.form-note { font-size: .86rem; color: var(--gray-500); margin: 14px 0 0; text-align: center; }
/* Netlify Forms honeypot -- must stay in the DOM and stay invisible to people. */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.offer-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 940px) { .offer-split { grid-template-columns: 1fr; gap: 32px; } }
.offer-split-copy h2:first-child { margin-top: 0; }
.contact-block { margin-bottom: 20px; }
.big-phone { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; color: var(--navy); }
.prefer-call { font-weight: 600; }

/* ---------- CTA banner ---------- */
.cta-banner { background: linear-gradient(135deg, var(--navy-dark), var(--navy-mid)); color: var(--white); padding: 66px 0; text-align: center; }
.cta-banner h2 { color: var(--white); }
.cta-banner p { color: rgba(255,255,255,.88); max-width: 660px; margin: 0 auto 28px; }
.cta-actions { display: flex; gap: 20px; align-items: center; justify-content: center; flex-wrap: wrap; }

/* ---------- Blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 800px) { .post-grid { grid-template-columns: 1fr; } }
.post-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 28px; display: block; transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease); }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--orange); }
.post-card time { font-size: .84rem; color: var(--gray-500); font-weight: 600; }
.post-card h2 { font-size: 1.28rem; margin: 8px 0 10px; }
.post-card p { color: var(--gray-600); font-size: .96rem; }
.read-more { font-weight: 700; color: var(--orange-dark); font-size: .92rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,.78); padding: 64px 0 0; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
.site-footer h3 { color: var(--white); font-size: 1rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul.cols-2 { columns: 2; column-gap: 20px; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: rgba(255,255,255,.78); font-size: .93rem; }
.site-footer a:hover { color: var(--orange); }
.footer-brand .logo { margin-bottom: 18px; }
.footer-nap { font-size: .95rem; line-height: 1.7; }
.footer-nap strong { color: var(--white); }
.footer-nap a { font-weight: 700; color: var(--orange); }
.footer-blurb { font-size: .88rem; color: rgba(255,255,255,.6); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; padding-bottom: 12px; font-size: .86rem; }
.footer-bottom p { margin: 0; }
.footer-disclaimer { padding-bottom: 36px; }
.footer-disclaimer p { font-size: .8rem; color: rgba(255,255,255,.45); margin: 0; line-height: 1.6; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
