/* ============================================================
   KODA PROPERTY GROUP — Shared Design System
   ============================================================ */

/* ── Variables ── */
:root {
  --cream: #f7f4ef;
  --black: #111111;
  --text: #3a3a3a;
  --red: #c8392b;
  --red-dark: #a82d22;
  --red-bg: rgba(200, 57, 43, 0.06);
  --grey: #888888;
  --grey-light: #eeebe4;
  --green: #2d6a4f;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, -apple-system, sans-serif;

  --max-width: 1140px;
  --max-width-article: 780px;
  --nav-height: 68px;

  --section-v: 96px;
  --section-h: 48px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--black);
  line-height: 1.2;
  font-weight: 700;
}
h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.125rem; font-weight: 600; }
p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

.section-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.75rem;
}

/* ── SMS Disclosure Bar ── */
.sms-bar {
  background: var(--black);
  color: rgba(255,255,255,0.75);
  font-size: 0.72rem;
  text-align: center;
  padding: 7px var(--section-h);
  line-height: 1.4;
}

/* ── Nav ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid var(--grey-light);
  height: var(--nav-height);
  transition: box-shadow 0.2s;
}
.nav.scrolled { box-shadow: 0 2px 16px rgba(0,0,0,0.07); }
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--section-h);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--black);
  flex-shrink: 0;
  line-height: 1;
}
.nav-logo-img {
  height: 36px;
  width: 36px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--red); }
.nav-links .btn {
  padding: 9px 20px;
  font-size: 0.85rem;
}
.nav-toggle {
  display: none;
  padding: 4px;
  font-size: 1.4rem;
  color: var(--black);
  line-height: 1;
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
}
.btn-primary {
  background: var(--red);
  color: white;
  border-color: var(--red);
}
.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: white;
}
.btn-secondary {
  background: transparent;
  color: var(--red);
  border-color: var(--red);
}
.btn-secondary:hover {
  background: var(--red);
  color: white;
}
.btn-lg { padding: 18px 36px; font-size: 1rem; }
.btn-white {
  background: white;
  color: var(--black);
  border-color: white;
}
.btn-white:hover {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--black);
}

/* ── Section Layout ── */
.section {
  padding: var(--section-v) var(--section-h);
}
.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.section-inner-narrow {
  max-width: 860px;
  margin: 0 auto;
}
.section-header { margin-bottom: 3rem; }
.section-alt { background: white; }
.section-dark {
  background: var(--black);
  color: white;
}
.section-dark h2 { color: white; }
.section-dark p { color: rgba(255,255,255,0.7); }

/* ── Hero ── */
.hero {
  padding: var(--section-v) var(--section-h);
  padding-top: calc(var(--section-v) + 16px);
}
.hero-inner { max-width: var(--max-width); margin: 0 auto; }
.hero-content {
  max-width: 680px;
  border-left: 4px solid var(--red);
  padding-left: 2.5rem;
}
.hero-content h1 { margin-bottom: 1.25rem; }
.hero-content .lead {
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 2.25rem;
  line-height: 1.75;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.hero-phone {
  font-size: 0.9rem;
  color: var(--grey);
}
.hero-phone a {
  color: var(--red);
  font-weight: 600;
}

/* ── Situations Grid ── */
.situations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.situation-card {
  background: white;
  border: 1px solid var(--grey-light);
  padding: 1.75rem;
  transition: border-color 0.2s;
}
.situation-card:hover { border-color: var(--red); }
.situation-card h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--black);
  margin-bottom: 0.5rem;
}
.situation-card p {
  font-size: 0.875rem;
  color: var(--text);
  margin-bottom: 0.75rem;
  line-height: 1.6;
}
.situation-link {
  font-size: 0.82rem;
  color: var(--red);
  font-weight: 500;
}
.situation-link:hover { text-decoration: underline; }

/* ── Steps ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 2.5rem;
}
.step { position: relative; }
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--red);
  color: white;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.step h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--black);
}
.step p { font-size: 0.875rem; color: var(--grey); }

/* ── Market Pills ── */
.markets-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}
.market-pill {
  display: inline-block;
  padding: 9px 20px;
  border: 1px solid rgba(0,0,0,0.15);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  transition: all 0.2s;
  background: white;
}
.market-pill:hover {
  background: var(--red);
  color: white;
  border-color: var(--red);
}
.market-note {
  font-size: 0.875rem;
  color: var(--grey);
  align-self: center;
}

/* ── Why Us Grid ── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}
.why-item { display: flex; gap: 1rem; align-items: flex-start; }
.why-check {
  width: 28px;
  height: 28px;
  background: var(--green);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}
.why-item h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--black);
}
.why-item p { font-size: 0.875rem; color: var(--grey); }

/* ── Deal Cards ── */
.deals-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.deal-card {
  background: white;
  border: 1px solid var(--grey-light);
  padding: 2rem;
}
.deal-outcome-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(45, 106, 79, 0.1);
  padding: 3px 10px;
  margin-bottom: 1rem;
}
.deal-card h4 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 0.4rem;
}
.deal-location {
  font-size: 0.82rem;
  color: var(--grey);
  margin-bottom: 0.75rem;
}
.deal-situation {
  font-size: 0.875rem;
  color: var(--text);
  margin-bottom: 1rem;
  line-height: 1.6;
}
.deal-stats {
  display: flex;
  gap: 1.5rem;
  border-top: 1px solid var(--grey-light);
  padding-top: 1rem;
}
.deal-stat { font-size: 0.82rem; color: var(--grey); }
.deal-stat strong { display: block; font-size: 1rem; color: var(--black); font-weight: 600; }

/* ── CTA Band ── */
.cta-band {
  background: var(--black);
  color: white;
  padding: 80px var(--section-h);
  text-align: center;
}
.cta-band h2 { color: white; margin-bottom: 1rem; }
.cta-band p {
  color: rgba(255,255,255,0.65);
  max-width: 480px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
}
.cta-band .cta-sub {
  margin-top: 1.25rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
}
.cta-band .cta-sub a { color: rgba(255,255,255,0.75); }

/* ── Contact Form ── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 5rem;
  align-items: start;
}
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 0.4rem;
}
.form-label .required { color: var(--red); margin-left: 2px; }
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(0,0,0,0.18);
  background: white;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
}
.form-control:focus { border-color: var(--red); }
textarea.form-control { resize: vertical; min-height: 110px; }
.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 0.25rem;
}
.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--red);
  cursor: pointer;
}
.form-checkbox label {
  font-size: 0.84rem;
  color: var(--grey);
  line-height: 1.5;
  cursor: pointer;
}
.form-submit {
  width: 100%;
  padding: 16px;
  background: var(--red);
  color: white;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 0.75rem;
  text-align: center;
}
.form-submit:hover { background: var(--red-dark); }

/* ── Contact Sidebar ── */
.contact-sidebar { padding-top: 0.5rem; }
.contact-sidebar h3 { font-size: 1.2rem; margin-bottom: 1.25rem; }
.trust-list { display: flex; flex-direction: column; gap: 1rem; }
.trust-item { display: flex; gap: 0.75rem; align-items: flex-start; }
.trust-check {
  color: var(--green);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 1px;
}
.trust-item-text h5 {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 0.2rem;
}
.trust-item-text p { font-size: 0.84rem; color: var(--grey); margin: 0; }
.contact-direct {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--grey-light);
}
.contact-direct h4 {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--black);
}
.contact-direct a {
  display: block;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--red);
  margin-bottom: 0.25rem;
}

/* ── Legal Pages ── */
.legal-page {
  padding: var(--section-v) var(--section-h);
  padding-top: calc(var(--section-v) + 16px);
}
.legal-inner {
  max-width: 780px;
  margin: 0 auto;
}
.legal-inner h1 { margin-bottom: 0.5rem; }
.legal-meta {
  font-size: 0.85rem;
  color: var(--grey);
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--grey-light);
}
.legal-inner h2 {
  font-size: 1.3rem;
  margin: 2.5rem 0 0.75rem;
}
.legal-inner h3 {
  font-size: 1.05rem;
  font-family: var(--font-body);
  margin: 1.75rem 0 0.5rem;
  color: var(--black);
}
.legal-inner p,
.legal-inner li {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text);
}
.legal-inner ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1em;
}
.legal-inner ol {
  list-style: decimal;
  padding-left: 1.5rem;
  margin-bottom: 1em;
}
.legal-inner li { margin-bottom: 0.4em; }

/* ── Thank You Page ── */
.thankyou-wrap {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--section-v) var(--section-h);
  text-align: center;
}
.thankyou-inner { max-width: 540px; }
.thankyou-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  display: block;
}
.thankyou-inner h1 { font-size: 2rem; margin-bottom: 1rem; }
.thankyou-inner p {
  font-size: 1.05rem;
  color: var(--grey);
  margin-bottom: 1.5rem;
}
.thankyou-direct {
  margin-top: 2rem;
  padding: 1.5rem 2rem;
  background: white;
  border: 1px solid var(--grey-light);
  font-size: 0.9rem;
  color: var(--text);
}
.thankyou-direct a {
  color: var(--red);
  font-weight: 600;
}

/* Thank-you reading links */
.thankyou-reading {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--grey-light);
  text-align: left;
}
.thankyou-reading-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 1rem;
}
.thankyou-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.ty-link {
  color: var(--red);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: none;
  padding: 0.625rem 0;
  border-bottom: 1px solid var(--grey-light);
  display: block;
}
.ty-link:hover { color: #a82d22; }

/* ── Footer ── */
.footer {
  background: var(--black);
  color: rgba(255,255,255,0.65);
  padding: 64px var(--section-h) 40px;
}
.footer-inner { max-width: var(--max-width); margin: 0 auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: white;
  margin-bottom: 0.75rem;
  line-height: 1;
}
.footer-logo-img {
  height: 38px;
  width: 38px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  filter: invert(1);
  opacity: 0.9;
}
.footer-tagline {
  font-size: 0.875rem;
  line-height: 1.65;
  max-width: 260px;
  margin-bottom: 1.25rem;
}
.footer-contact a {
  display: block;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.3rem;
  transition: color 0.2s;
}
.footer-contact a:hover { color: white; }
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: white;
  margin-bottom: 1rem;
}
.footer-col li { margin-bottom: 0.6rem; }
.footer-col a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.footer-col a:hover { color: white; }
.footer-sms {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.65;
  margin-bottom: 1rem;
  max-width: 640px;
}
.footer-bottom {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-bottom a { color: rgba(255,255,255,0.4); transition: color 0.2s; }
.footer-bottom a:hover { color: rgba(255,255,255,0.7); }

/* ── Utilities ── */
.text-center { text-align: center; }
.text-red { color: var(--red); }
.text-grey { color: var(--grey); }
.text-green { color: var(--green); }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* ── Fade-in animation ── */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* ── Responsive: Tablet ── */
@media (max-width: 1024px) {
  :root { --section-h: 32px; }
  .situations-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer-col:first-child { grid-column: 1 / -1; }
}

/* ── Responsive: Mobile ── */
@media (max-width: 768px) {
  :root {
    --section-v: 64px;
    --section-h: 24px;
    --nav-height: 60px;
  }

  /* Nav mobile */
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--cream);
    border-top: 1px solid var(--grey-light);
    border-bottom: 2px solid var(--grey-light);
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem 0;
    gap: 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    display: block;
    padding: 13px 24px;
    font-size: 0.95rem;
  }
  .nav-links .btn {
    margin: 8px 24px 12px;
    display: block;
    text-align: center;
    padding: 12px 20px;
  }
  .nav-toggle { display: block; }
  .nav-logo-img { height: 30px; width: 30px; }
  .nav-logo { gap: 8px; font-size: 0.72rem; }

  .hero-content {
    border-left: 3px solid var(--red);
    padding-left: 1.5rem;
  }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 1rem; }
  .btn-lg { width: 100%; text-align: center; }

  .situations-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; gap: 2rem; }
  .why-grid { grid-template-columns: 1fr; }
  .deals-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-col:first-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ── How It Works / Process Steps ── */
.process-step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 2rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--grey-light);
}
.process-step:last-child { border-bottom: none; }
.process-step-num {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 4px;
}
.process-step-num span {
  width: 48px;
  height: 48px;
  background: var(--red);
  color: white;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.process-step-body h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}
.process-step-body p { font-size: 0.95rem; line-height: 1.75; }
.process-meta {
  margin-top: 1rem;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.process-meta-item {
  font-size: 0.82rem;
  color: var(--grey);
}
.process-meta-item strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 1px;
}

.buy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2.5rem;
}
.buy-col h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.buy-col.buy-yes h4 { color: var(--green); }
.buy-col.buy-no h4 { color: var(--grey); }
.buy-list { display: flex; flex-direction: column; gap: 0.6rem; }
.buy-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text);
}
.buy-list li::before {
  content: '—';
  color: var(--grey);
  flex-shrink: 0;
  margin-top: 1px;
}
.buy-col.buy-yes .buy-list li::before { content: '✓'; color: var(--green); font-weight: 700; }

/* About Page */
.about-story {
  max-width: 720px;
}
.about-story p {
  font-size: 1.05rem;
  line-height: 1.85;
  margin-bottom: 1.5em;
}
.about-story p:last-child { margin-bottom: 0; }
.fill-in-block {
  background: #fffbe6;
  border-left: 3px solid #e6c200;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  font-size: 0.875rem;
  color: #5a4a00;
  font-style: italic;
}

.promise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.promise-item {
  padding: 1.75rem;
  background: white;
  border: 1px solid var(--grey-light);
  border-top: 3px solid var(--red);
}
.promise-item h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 0.5rem;
}
.promise-item p { font-size: 0.875rem; color: var(--grey); }

@media (max-width: 768px) {
  .process-step { grid-template-columns: 1fr; gap: 1rem; }
  .process-step-num { justify-content: flex-start; }
  .buy-grid { grid-template-columns: 1fr; }
  .promise-grid { grid-template-columns: 1fr; }
}

/* ── Market Pages ── */
.county-stats {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  padding: 2rem 0;
  border-top: 1px solid var(--grey-light);
  border-bottom: 1px solid var(--grey-light);
  margin: 2.5rem 0;
}
.county-stat .stat-value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.county-stat .stat-label { font-size: 0.8rem; color: var(--grey); text-transform: uppercase; letter-spacing: 0.06em; }

.prop-types-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.prop-type {
  background: white;
  border: 1px solid var(--grey-light);
  padding: 1.25rem 1.5rem;
}
.prop-type h4 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 0.3rem;
}
.prop-type p { font-size: 0.82rem; color: var(--grey); margin: 0; }

.faq-list { margin-top: 2rem; }
.faq-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--grey-light);
}
.faq-item:first-child { border-top: 1px solid var(--grey-light); }
.faq-q {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 0.6rem;
}
.faq-a { font-size: 0.9rem; color: var(--text); line-height: 1.75; margin: 0; }
.faq-a a { color: var(--red); text-decoration: underline; }

.breadcrumb {
  font-size: 0.82rem;
  color: var(--grey);
  margin-bottom: 1.25rem;
}
.breadcrumb a { color: var(--grey); }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb span { margin: 0 0.4rem; }

.activity-band {
  background: var(--red-bg);
  border-left: 4px solid var(--red);
  padding: 1.25rem 1.5rem;
  margin-top: 2.5rem;
}
.activity-band p { font-size: 0.9rem; color: var(--text); margin: 0; }
.activity-band strong { color: var(--black); }

@media (max-width: 768px) {
  .county-stats { gap: 1.5rem; }
  .prop-types-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .prop-types-grid { grid-template-columns: 1fr; }
}

/* ── Deal Case Study Pages ── */
.deal-page-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 4rem;
  align-items: start;
}
.deal-main > h2 {
  font-size: 1.5rem;
  margin: 2.5rem 0 1rem;
}
.deal-main > h2:first-child { margin-top: 0; }
.deal-main p { font-size: 0.975rem; line-height: 1.8; margin-bottom: 1em; }
.deal-main p:last-child { margin-bottom: 0; }

.deal-sidebar-inner {
  position: sticky;
  top: calc(var(--nav-height) + 2rem);
}
.deal-numbers-box {
  background: var(--black);
  color: white;
  padding: 2rem;
  margin-bottom: 1.5rem;
}
.deal-numbers-box h4 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1.5rem;
}
.deal-number-row {
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.deal-number-row:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.deal-number-value {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: white;
  line-height: 1;
  margin-bottom: 0.2rem;
}
.deal-number-label { font-size: 0.78rem; color: rgba(255,255,255,0.45); }

.deal-timeline {
  margin-top: 1.5rem;
  position: relative;
  padding-left: 0;
}
.deal-timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 30px;
  bottom: 12px;
  width: 2px;
  background: var(--grey-light);
}
.deal-timeline-item {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
  position: relative;
}
.deal-timeline-item:last-child { margin-bottom: 0; }
.deal-timeline-marker {
  width: 32px;
  height: 32px;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  margin-top: 2px;
}
.deal-timeline-marker span {
  font-size: 0.7rem;
  font-weight: 700;
  color: white;
}
.deal-timeline-day {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--red);
  margin-bottom: 0.2rem;
}
.deal-timeline-text { font-size: 0.875rem; color: var(--text); line-height: 1.6; }

.deal-page-fill {
  background: #fffbe6;
  border-left: 3px solid #e6c200;
  padding: 0.875rem 1.25rem;
  margin: 0.75rem 0;
  font-size: 0.875rem;
  color: #5a4a00;
  font-style: italic;
}

@media (max-width: 960px) {
  .deal-page-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .deal-sidebar-inner { position: static; }
  .deal-numbers-box { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .deal-numbers-box h4 { grid-column: 1 / -1; margin-bottom: 0; }
  .deal-number-row { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
}

/* ============================================================
   Inline Lead Capture Forms (Session 9)
   ============================================================ */

.inline-form-section {
  background: var(--black);
  padding: 3rem var(--section-h);
}
.inline-form-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.inline-form-copy h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: white;
  margin-bottom: 0.75rem;
}
.inline-form-copy p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
}
.inline-form-copy .cta-sub {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}
.inline-form-copy .cta-sub a {
  color: white;
  font-weight: 600;
}
.inline-form-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.inline-form-form .form-group {
  margin-bottom: 0.75rem;
}
.inline-form-form label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 0.35rem;
}
.inline-form-form input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: white;
  font-size: 0.95rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.inline-form-form input::placeholder { color: rgba(255,255,255,0.3); }
.inline-form-form input:focus { border-color: rgba(255,255,255,0.5); }
.inline-form-form .btn-inline-submit {
  width: 100%;
  background: var(--red);
  color: white;
  border: none;
  padding: 0.875rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-body);
  letter-spacing: 0.03em;
  cursor: pointer;
  margin-top: 0.25rem;
  transition: background 0.2s;
}
.inline-form-form .btn-inline-submit:hover { background: #a82d22; }
.inline-form-consent {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
  margin-top: 0.75rem;
  line-height: 1.5;
}

/* Article mini form inside CTA box */
.article-cta-form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 0.5rem;
  margin-top: 1rem;
}
.article-cta-form input {
  padding: 0.7rem 0.875rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  font-size: 0.875rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.2s;
}
.article-cta-form input::placeholder { color: rgba(255,255,255,0.4); }
.article-cta-form input:focus { border-color: rgba(255,255,255,0.5); }
.article-cta-form button {
  background: var(--red);
  color: white;
  border: none;
  padding: 0.7rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}
.article-cta-form button:hover { background: #a82d22; }

@media (max-width: 768px) {
  .inline-form-inner { grid-template-columns: 1fr; gap: 2rem; }
  .inline-form-form .form-row { grid-template-columns: 1fr; }
  .article-cta-form { grid-template-columns: 1fr; }
  .article-cta-form button { width: 100%; }
}
