/* ============================================================
   NEW AGE HOUSE BUYING — Main Stylesheet
   Colors: Navy #0D1B2A | Cyan #22B5D0 | Green #22C55E | White #FFF
   ============================================================ */

:root {
  --navy:       #0D1B2A;
  --navy-mid:   #152236;
  --navy-light: #1E3348;
  --cyan:       #22B5D0;
  --cyan-dark:  #1A8FA6;
  --green:      #22C55E;
  --green-dark: #16A34A;
  --white:      #FFFFFF;
  --gray-light: #F1F5F9;
  --gray:       #94A3B8;
  --gray-dark:  #475569;
  --text:       #1E293B;
  --shadow:     0 4px 20px rgba(13,27,42,0.15);
  --shadow-lg:  0 8px 40px rgba(13,27,42,0.25);
  --radius:     8px;
  --radius-lg:  16px;
  --transition: all 0.25s ease;
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--cyan-dark); }
ul { list-style: none; }

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: 'Poppins', 'Inter', sans-serif;
  line-height: 1.2;
  font-weight: 700;
}
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
p  { font-size: 1rem; line-height: 1.75; }

/* ── Container ────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 80px 0; }
.section-sm { padding: 50px 0; }

/* ── Header ───────────────────────────────────────────────── */
header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: var(--navy);
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
/* Thin top bar — click-to-call phone + tagline above the main header.
   Uses !important on background/color to defeat third-party JS (CallRail
   swap.js) that occasionally re-skins links it touches. */
.top-bar {
  background: #152236 !important;
  color: #FFFFFF !important;
  padding: 8px 0;
  font-size: 0.88rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.top-bar > .container {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.top-bar a.tb-phone,
.top-bar a.tb-phone:link,
.top-bar a.tb-phone:visited {
  color: #22B5D0 !important;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  padding: 0;
}
.top-bar a.tb-phone:hover { text-decoration: underline; }
.top-bar .top-bar-right {
  color: #CBD5E1 !important;
  font-weight: 500;
  white-space: nowrap;
}
/* Give CallRail's injected "Send Text" widget breathing room — it inserts
   itself right after the phone link. Without spacing the widget collides
   with our tagline. */
.top-bar [class*="callrail"],
.top-bar [data-callrail],
.top-bar .crl_widget,
.top-bar .callrail_text_btn,
.top-bar form {
  margin-left: 14px !important;
  margin-right: 14px !important;
  vertical-align: middle;
}
@media (max-width: 720px) {
  .top-bar { font-size: 0.78rem; padding: 6px 0; }
  .top-bar .top-bar-right { display: none; }
  .top-bar > .container { gap: 10px; justify-content: center; }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 160px;
  gap: 24px;
}
.logo img {
  height: 150px;
  width: auto;
}
nav { display: flex; align-items: center; gap: 8px; }
nav a {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius);
  white-space: nowrap;
}
nav a:hover { background: var(--navy-light); color: var(--cyan); }
.header-cta {
  background: var(--green) !important;
  color: var(--white) !important;
  font-weight: 700 !important;
  padding: 10px 20px !important;
}
.header-cta:hover { background: var(--green-dark) !important; }
.header-phone {
  color: var(--cyan) !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--navy-mid);
  padding: 16px 24px;
  gap: 4px;
}
.mobile-nav a {
  color: var(--white);
  padding: 12px 0;
  border-bottom: 1px solid var(--navy-light);
  font-size: 1rem;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav .header-cta {
  margin-top: 8px;
  text-align: center;
  display: block;
  border-radius: var(--radius);
  border-bottom: none !important;
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, #0A2540 100%);
  color: var(--white);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 50%, rgba(34,181,208,0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(34,197,94,0.08) 0%, transparent 50%);
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(34,181,208,0.15);
  border: 1px solid rgba(34,181,208,0.3);
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero h1 span { color: var(--cyan); }
.hero p { color: rgba(255,255,255,0.8); font-size: 1.1rem; margin-bottom: 32px; }
.hero-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-lg);
}
.hero-form h3 { color: var(--navy); margin-bottom: 6px; }
.hero-form p { color: var(--gray-dark); font-size: 0.9rem; margin-bottom: 24px; }
.hero-bullets {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.hero-bullet {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.9);
  font-size: 0.95rem;
}
.hero-bullet .icon {
  width: 20px;
  height: 20px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 11px;
  color: white;
  font-weight: 700;
}

/* ── Forms ────────────────────────────────────────────────── */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #CBD5E1;
  border-radius: var(--radius);
  font-size: 1rem;
  transition: var(--transition);
  background: var(--white);
}
.form-control:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(34,181,208,0.15); }
textarea.form-control { resize: vertical; min-height: 100px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--radius);
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--green);
  color: var(--white);
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(34,197,94,0.4); }
.btn-secondary {
  background: var(--cyan);
  color: var(--white);
}
.btn-secondary:hover { background: var(--cyan-dark); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--navy); }
.btn-full { width: 100%; }
.btn-lg { padding: 16px 36px; font-size: 1.1rem; }

/* ── Trust Bar ────────────────────────────────────────────── */
.trust-bar {
  background: var(--navy-mid);
  padding: 20px 0;
}
.trust-items {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 20px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.85);
  font-size: 0.83rem;
  font-weight: 500;
  white-space: nowrap;
}
.trust-item .trust-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  background: rgba(34,181,208,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  font-size: 1rem;
}

/* ── Section Headers ─────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 56px; }
.section-header .eyebrow {
  display: inline-block;
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-header h2 { color: var(--navy); margin-bottom: 16px; }
.section-header p { color: var(--gray-dark); max-width: 600px; margin: 0 auto; font-size: 1.05rem; }

/* ── Cards ────────────────────────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 32px; }
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  border: 1px solid #E2E8F0;
  transition: var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--cyan); }
.card-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.card h3 { color: var(--navy); margin-bottom: 10px; }
.card p { color: var(--gray-dark); font-size: 0.95rem; }

/* ── Process Steps ────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; position: relative; }
.steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(16.6% + 16px);
  right: calc(16.6% + 16px);
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--green));
}
.step { text-align: center; padding: 0 24px; }
.step-num {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
}
.step h3 { color: var(--navy); margin-bottom: 10px; }
.step p { color: var(--gray-dark); font-size: 0.95rem; }

/* ── Dark Section ─────────────────────────────────────────── */
.section-dark {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: var(--white);
}
.section-dark .section-header h2 { color: var(--white); }
.section-dark .section-header p  { color: rgba(255,255,255,0.7); }
.section-dark .eyebrow            { color: var(--green); }

/* ── Situations Grid ──────────────────────────────────────── */
.situation-card {
  background: var(--navy-light);
  border: 1px solid rgba(34,181,208,0.2);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: var(--transition);
}
.situation-card:hover { border-color: var(--cyan); background: rgba(34,181,208,0.08); }
.situation-icon {
  font-size: 2rem;
  flex-shrink: 0;
}
.situation-card h3 { color: var(--white); margin-bottom: 6px; font-size: 1rem; }
.situation-card p  { color: rgba(255,255,255,0.65); font-size: 0.88rem; }

/* ── CTA Band ─────────────────────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--green) 100%);
  padding: 70px 0;
  text-align: center;
  color: var(--white);
}
.cta-band h2 { margin-bottom: 16px; }
.cta-band p  { opacity: 0.9; font-size: 1.1rem; margin-bottom: 32px; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-band .btn-outline { border-color: var(--white); }

/* ── State Group Toggle ───────────────────────────────────── */
/* ── State Cards ───────────────────────────────────────────── */
.states-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 44px;
}
.state-card {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.11);
  transition: box-shadow 0.22s, transform 0.22s;
  background: var(--white);
}
.state-card:hover { box-shadow: 0 10px 36px rgba(0,0,0,0.17); transform: translateY(-4px); }
.sc-header {
  background: linear-gradient(150deg, #0d2140 0%, #1b3f6e 100%);
  padding: 22px 20px 16px;
  cursor: pointer;
  color: var(--white);
  user-select: none;
}
.state-card.sc-open .sc-header { background: linear-gradient(150deg, #0d2140 0%, #153457 100%); }
.sc-top {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.sc-info { flex: 1; min-width: 0; }
.sc-name { display: block; font-size: 1.18rem; font-weight: 800; letter-spacing: -0.01em; line-height: 1.2; }
.sc-sub { display: block; font-size: 0.72rem; opacity: 0.55; margin-top: 5px; line-height: 1.5; }
.sc-badge {
  background: var(--cyan);
  color: #0d2140;
  border-radius: 20px;
  padding: 5px 13px;
  font-size: 0.75rem;
  font-weight: 800;
  white-space: nowrap;
  flex-shrink: 0;
  align-self: flex-start;
}
.sc-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.78rem;
  color: var(--cyan);
  font-weight: 600;
  letter-spacing: 0.03em;
}
.sc-arrow { transition: transform 0.25s; font-size: 0.6rem; }
.state-card.sc-open .sc-arrow { transform: rotate(180deg); }
.sc-cities {
  background: #f8fafc;
  border-top: 2px solid var(--cyan);
  padding: 14px;
}
.sc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.sc-grid .city-card {
  padding: 7px 10px;
  font-size: 0.78rem;
  border-radius: 6px;
}

/* ── Cities Grid ──────────────────────────────────────────── */
.cities-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.city-card {
  background: var(--white);
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  font-weight: 600;
  color: var(--navy);
  font-size: 0.85rem;
  text-decoration: none;
}
.city-card:hover { border-color: var(--cyan); color: var(--cyan); background: #f0fdff; }
.city-card .pin { color: var(--cyan); font-size: 0.9rem; flex-shrink: 0; }

/* ── Testimonials ─────────────────────────────────────────── */
.testimonial {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--cyan);
}
.testimonial .stars { color: #F59E0B; font-size: 1.1rem; margin-bottom: 14px; }
.testimonial p { color: var(--gray-dark); font-style: italic; margin-bottom: 18px; }
.testimonial .author { font-weight: 700; color: var(--navy); }
.testimonial .location { font-size: 0.85rem; color: var(--gray); }

/* ── FAQ ──────────────────────────────────────────────────── */
.faq-item {
  border: 1px solid #E2E8F0;
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
  background: var(--white);
  transition: var(--transition);
}
.faq-question:hover { background: var(--gray-light); }
.faq-question .faq-icon { color: var(--cyan); font-size: 1.2rem; transition: var(--transition); }
.faq-answer { padding: 0 24px 20px; color: var(--gray-dark); display: none; }
.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-icon { transform: rotate(45deg); }

/* ── Footer ───────────────────────────────────────────────── */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding: 70px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand img { height: 90px; width: auto; margin-bottom: 18px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; margin-bottom: 16px; }
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.9rem;
}
.footer-contact-item a { color: var(--cyan); }
.footer-contact-item a:hover { color: var(--white); }
.footer-col h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 16px; border-bottom: 1px solid var(--navy-light); padding-bottom: 10px; }
.footer-col a {
  display: block;
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  padding: 4px 0;
  transition: var(--transition);
}
.footer-col a:hover { color: var(--cyan); }
.footer-bottom {
  border-top: 1px solid var(--navy-light);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.83rem;
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: rgba(255,255,255,0.5); }
.footer-bottom-links a:hover { color: var(--cyan); }

/* ── Page Hero (inner pages) ──────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: var(--white);
  padding: 70px 0;
  text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: 14px; }
.page-hero p  { color: rgba(255,255,255,0.75); font-size: 1.05rem; max-width: 640px; margin: 0 auto 24px; }
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--cyan); }
.breadcrumb span { color: rgba(255,255,255,0.3); }

/* ── Utility ──────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-cyan   { color: var(--cyan); }
.text-green  { color: var(--green); }
.text-navy   { color: var(--navy); }
.text-white  { color: var(--white); }
.bg-light    { background: var(--gray-light); }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(34,181,208,0.1);
  color: var(--cyan);
  border: 1px solid rgba(34,181,208,0.25);
  border-radius: 100px;
  padding: 4px 12px;
  font-size: 0.8rem;
  font-weight: 600;
}
.divider { height: 1px; background: #E2E8F0; margin: 40px 0; }
.highlight-box {
  background: linear-gradient(135deg, rgba(34,181,208,0.08) 0%, rgba(34,197,94,0.08) 100%);
  border: 1px solid rgba(34,181,208,0.2);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.check-list { display: flex; flex-direction: column; gap: 10px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--gray-dark);
}
.check-list li::before {
  content: '✓';
  width: 20px;
  height: 20px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: white;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── Blog Post ────────────────────────────────────────────── */
.post-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
}
.blog-tag {
  display: inline-block;
  background: rgba(34,181,208,0.2);
  color: var(--cyan);
  border: 1px solid rgba(34,181,208,0.3);
  border-radius: 100px;
  padding: 3px 13px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.blog-tag--urgent { background: rgba(239,68,68,0.2); color: #F87171; border-color: rgba(239,68,68,0.35); }
.page-hero--urgent { background: linear-gradient(135deg, #1a0808 0%, #2d1010 100%); }

.urgent-alert {
  background: rgba(239,68,68,0.06);
  border: 1px solid rgba(239,68,68,0.2);
  border-left: 4px solid #EF4444;
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 28px;
  font-size: 0.96rem;
  color: var(--gray-dark);
  line-height: 1.72;
}

.blog-post-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 64px;
  align-items: start;
}
.blog-post-content {
  font-size: 1.05rem;
  line-height: 1.82;
  color: var(--gray-dark);
}
.blog-post-content p { margin-bottom: 20px; }
.blog-post-content h2 {
  font-size: 1.42rem;
  color: var(--navy);
  margin: 52px 0 16px;
  padding-top: 44px;
  border-top: 2px solid #E2E8F0;
  line-height: 1.3;
}
.blog-post-content h2:first-of-type { border-top: none; padding-top: 0; margin-top: 36px; }
.blog-post-content h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin: 28px 0 10px;
}
.blog-post-content ul,
.blog-post-content ol {
  padding-left: 28px;
  margin-bottom: 22px;
}
.blog-post-content ul { list-style: disc; }
.blog-post-content ol { list-style: decimal; }
.blog-post-content li { margin-bottom: 10px; line-height: 1.72; color: var(--gray-dark); }
.blog-post-content strong { color: var(--navy); }

.post-cta-inline {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #F0F9FF;
  border: 1px solid rgba(34,181,208,0.2);
  border-left: 4px solid var(--cyan);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin: 32px 0;
  font-size: 0.96rem;
  flex-wrap: wrap;
  line-height: 1.55;
}
.post-cta-inline strong { color: var(--navy); }
.btn-small {
  padding: 9px 20px;
  font-size: 0.84rem;
  white-space: nowrap;
  background: var(--cyan);
  color: var(--navy);
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
  display: inline-block;
}
.btn-small:hover { background: var(--cyan-dark); color: var(--white); }

.post-cta-block {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 44px;
  text-align: center;
  margin-top: 60px;
  box-shadow: var(--shadow-lg);
}
.post-cta-block h3 {
  color: var(--white) !important;
  font-size: 1.5rem !important;
  margin-bottom: 12px !important;
  border: none !important;
  padding: 0 !important;
  margin-top: 0 !important;
}
.post-cta-block p { color: rgba(255,255,255,0.78); margin-bottom: 26px; font-size: 1rem; }
.btn-large {
  padding: 16px 44px;
  font-size: 1.05rem;
  font-weight: 700;
}

/* Blog FAQ (static, not accordion) */
.faq-block .faq-item { cursor: default; }
.faq-block .faq-item h3 {
  padding: 20px 22px 6px;
  font-size: 1rem;
  color: var(--navy);
  margin: 0;
  font-weight: 600;
}
.faq-block .faq-item p {
  padding: 4px 22px 18px;
  margin: 0;
  font-size: 0.95rem;
  color: var(--gray-dark);
}

/* ── Blog Sidebar ─────────────────────────────────────────── */
.blog-sidebar {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.sidebar-widget {
  background: var(--white);
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  box-shadow: var(--shadow);
}
.sidebar-widget h3 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--cyan);
}
.sidebar-post-list { list-style: none; padding: 0; margin: 0; }
.sidebar-post-list li { padding: 9px 0; border-bottom: 1px solid #F1F5F9; }
.sidebar-post-list li:last-child { border-bottom: none; padding-bottom: 0; }
.sidebar-post-list a {
  font-size: 0.88rem;
  color: var(--gray-dark);
  line-height: 1.5;
  transition: var(--transition);
  display: block;
}
.sidebar-post-list a:hover { color: var(--cyan); padding-left: 5px; }
.sidebar-cta {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border: none;
  box-shadow: var(--shadow-lg);
}
.sidebar-cta h3 { color: var(--white); border-bottom-color: rgba(255,255,255,0.15); }
.sidebar-cta p { color: rgba(255,255,255,0.72); font-size: 0.88rem; margin-bottom: 20px; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .grid-4      { grid-template-columns: repeat(2, 1fr); }
  .cities-grid { grid-template-columns: repeat(3, 1fr); }
  .states-grid { grid-template-columns: repeat(2, 1fr); }
  .sc-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-post-layout { grid-template-columns: 1fr; gap: 40px; }
  .blog-sidebar { position: static; }
}
@media (max-width: 768px) {
  nav { display: none; }
  .hamburger { display: flex; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 60px 0 50px; }
  .grid-3  { grid-template-columns: 1fr; }
  .grid-2  { grid-template-columns: 1fr; }
  .steps   { grid-template-columns: 1fr; gap: 32px; }
  .steps::before { display: none; }
  .cities-grid { grid-template-columns: repeat(2, 1fr); }
  .states-grid { grid-template-columns: 1fr; }
  .state-card:hover { transform: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .section { padding: 56px 0; }
  .trust-items { gap: 12px; flex-wrap: wrap; }
  .trust-item { white-space: normal; }
  .post-cta-block { padding: 36px 24px; }
  .post-cta-inline { gap: 12px; }
  .blog-post-content h2 { font-size: 1.25rem; }
}
@media (max-width: 480px) {
  .cities-grid { grid-template-columns: 1fr 1fr; }
  .grid-4      { grid-template-columns: 1fr; }
}

/* ============================================================
   MULTI-STEP LEAD FORM (ported from Fast House Buying, New Age branded)
   Cyan #22B5D0 accents/active · Navy #0D1B2A · Green #22C55E submit CTA
   ============================================================ */
/* Neutral wrapper: the surrounding .hero-form provides the white card,
   so the multi-step-form itself stays transparent to avoid double-nesting. */
.multi-step-form {
  background: transparent;
  padding: 0;
  width: 100%;
}
.form-progress {
  display: flex;
  justify-content: space-between;
  margin-bottom: 36px;
  position: relative;
}
.form-progress::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  height: 3px;
  background: #e0e0e0;
  z-index: 1;
}
.form-progress .progress-bar {
  position: absolute;
  top: 20px;
  left: 0;
  height: 3px;
  background: #22B5D0;
  transition: width 0.3s ease;
  z-index: 2;
  width: 0%;
}
.progress-step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 3;
}
.progress-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
  font-family: 'Poppins', 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #aaa;
  transition: all 0.3s ease;
}
.progress-step.active .progress-circle {
  border-color: #22B5D0;
  background: #22B5D0;
  color: #fff;
  transform: scale(1.1);
}
.progress-step.completed .progress-circle {
  border-color: #22B5D0;
  background: #22B5D0;
  color: #fff;
}
.progress-step.completed .progress-circle::before {
  content: '\2713';
  font-weight: 700;
}
.progress-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.progress-step.active .progress-label {
  color: #22B5D0;
}
.progress-step.completed .progress-label {
  color: #0D1B2A;
}
.form-step {
  display: none;
  animation: msf-slide-in 0.35s ease;
}
.form-step.active {
  display: block;
}
@keyframes msf-slide-in {
  from { opacity: 0; transform: translateX(18px); }
  to   { opacity: 1; transform: translateX(0); }
}
.form-step h3 {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #0D1B2A;
  margin-bottom: 6px;
}
.form-step-subtitle {
  color: #767676;
  font-size: 0.9rem;
  margin-bottom: 28px;
}
.msf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
/* City / State(2-letter) / ZIP row */
.msf-row:has(.msf-state-group) {
  grid-template-columns: 1fr 4.5rem 7rem;
}
.state-2letter {
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 0.06em;
}
.msf-consent input[type="checkbox"] { width: auto; }
/* Consent checkbox required-but-unchecked state */
.msf-consent.consent-error { color: #dc2626; }
.msf-consent.consent-error a { color: #dc2626; }
@media (max-width: 560px) {
  .msf-row:has(.msf-state-group) { grid-template-columns: 1fr; }
}
.msf-group {
  margin-bottom: 16px;
}
.msf-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #0D1B2A;
  margin-bottom: 6px;
}
.msf-group input,
.msf-group select,
.msf-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #ddd;
  border-radius: 7px;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  font-size: 0.95rem;
  color: #333;
  background: #fff;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.msf-group input:focus,
.msf-group select:focus,
.msf-group textarea:focus {
  outline: none;
  border-color: #22B5D0;
  box-shadow: 0 0 0 3px rgba(34,181,208,0.15);
}
.msf-group.error input,
.msf-group.error select {
  border-color: #e53e3e;
}
.msf-error {
  color: #e53e3e;
  font-size: 0.78rem;
  margin-top: 4px;
  display: none;
}
.msf-group.error .msf-error {
  display: block;
}
.msf-summary {
  background: #f8f8f8;
  border-radius: 8px;
  padding: 20px 24px;
  margin-bottom: 24px;
  font-size: 0.9rem;
  line-height: 1.8;
  color: #444;
}
.msf-summary strong {
  color: #0D1B2A;
}
.form-navigation {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}
.btn-msf-prev {
  flex: 1;
  padding: 14px;
  background: #f0f0f0;
  color: #555;
  border: none;
  border-radius: 7px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-msf-prev:hover {
  background: #e0e0e0;
}
.btn-msf-next,
.btn-msf-submit {
  flex: 2;
  padding: 14px;
  color: #ffffff;
  border: none;
  border-radius: 7px;
  font-family: 'Poppins', 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-msf-next {
  background: #22B5D0;
}
.btn-msf-next:hover {
  background: #1A8FA6;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(34,181,208,0.35);
}
.btn-msf-submit {
  background: #22C55E;
}
.btn-msf-submit:hover {
  background: #16A34A;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(34,197,94,0.4);
}
.btn-msf-submit.loading {
  opacity: 0.7;
  cursor: not-allowed;
}
@media (max-width: 540px) {
  .msf-row { grid-template-columns: 1fr; }
}
