/* Direct Home Offer — visual refresh
   Navy + teal with warm cream surfaces; premium, trustworthy cash-buyer feel */

:root {
  --navy-950: #06121f;
  --navy-900: #0b1f3a;
  --navy-800: #123056;
  --navy-700: #1a406e;
  --teal-500: #0d9488;
  --teal-400: #14b8a6;
  --teal-300: #5eead4;
  --teal-600: #0f766e;
  --teal-700: #115e59;
  --cream: #faf6f1;
  --cream-deep: #f3ebe3;
  --warm-gray: #f5f1ec;
  --ink: #0f172a;
  --ink-muted: #3d4a5c;
  --ink-soft: #5b6b7c;
  --surface: #ffffff;
  --surface-alt: var(--warm-gray);
  --surface-warm: var(--cream);
  --border: #e8e0d6;
  --border-strong: #d4cbc0;
  --amber: #d97706;
  --coral: #e07a5f;
  --coral-soft: rgba(224, 122, 95, 0.12);
  --danger: #b91c1c;
  --success: #047857;
  --success-bg: #ecfdf5;
  --shadow-sm: 0 1px 3px rgba(11, 31, 58, 0.05), 0 1px 2px rgba(11, 31, 58, 0.04);
  --shadow-md: 0 10px 28px rgba(11, 31, 58, 0.08), 0 2px 8px rgba(11, 31, 58, 0.04);
  --shadow-lg: 0 24px 56px rgba(11, 31, 58, 0.14), 0 8px 16px rgba(11, 31, 58, 0.06);
  --shadow-form: 0 20px 50px rgba(11, 31, 58, 0.16), 0 4px 14px rgba(11, 31, 58, 0.06);
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 22px;
  --header-h: 72px;
  --font: "DM Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --container: 1120px;
  --narrow: 720px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface-warm);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--teal-700);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--navy-800);
}

:focus-visible {
  outline: 3px solid var(--teal-400);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy-900);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
  border-radius: 8px;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.narrow {
  width: min(100% - 2rem, var(--narrow));
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 31, 58, 0.97);
  backdrop-filter: blur(12px);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
}

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--teal-400) 0%, var(--teal-600) 100%);
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.28),
    0 2px 8px rgba(0, 0, 0, 0.2);
  position: relative;
  flex-shrink: 0;
  display: grid;
  place-items: center;
}

.logo-mark svg {
  width: 24px;
  height: 24px;
  display: block;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-text strong {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo-sub {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.68);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.header-nav {
  display: none;
  align-items: center;
  gap: 1.35rem;
}

.header-nav a:not(.btn) {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.header-nav a:not(.btn):hover {
  color: #fff;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 1px;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.5rem 1rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--navy-900);
}

.mobile-nav[hidden] {
  display: none !important;
}

.mobile-nav a:not(.btn) {
  color: #fff;
  text-decoration: none;
  padding: 0.75rem 0.5rem;
  font-weight: 500;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.2;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease,
    transform 0.12s ease, box-shadow 0.18s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--teal-500);
  color: #fff;
  border-color: var(--teal-500);
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.28);
}

.btn-primary:hover {
  background: var(--teal-600);
  border-color: var(--teal-600);
  color: #fff;
  box-shadow: 0 6px 18px rgba(15, 118, 110, 0.32);
}

.btn-call {
  background: var(--teal-500);
  color: #fff !important;
  border-color: var(--teal-500);
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(13, 148, 136, 0.25);
}

.btn-call:hover {
  background: var(--teal-400);
  border-color: var(--teal-400);
  color: var(--navy-900) !important;
}

.btn-ghost {
  background: transparent;
  color: var(--navy-900);
  border-color: var(--border-strong);
}

.btn-ghost:hover {
  border-color: var(--navy-800);
  color: var(--navy-900);
  background: rgba(11, 31, 58, 0.03);
}

.section-alt .btn-ghost,
.mid-cta .btn-ghost {
  background: var(--surface);
}

.cta-band .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
  background: transparent;
}

.cta-band .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
}

.btn-block {
  width: 100%;
}

.btn-icon {
  font-style: normal;
}

/* Hero — full-bleed generated house photo + navy overlay */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 2.75rem 0 4rem;
  background-color: var(--navy-900);
  background-image:
    linear-gradient(105deg, rgba(6, 18, 31, 0.88) 0%, rgba(11, 31, 58, 0.78) 42%, rgba(6, 18, 31, 0.58) 100%),
    url("images/hero-home.jpg");
  background-size: cover, cover;
  background-position: center, center 45%;
  background-repeat: no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(6, 18, 31, 0.42) 0%, rgba(6, 18, 31, 0.18) 52%, rgba(6, 18, 31, 0.28) 100%),
    linear-gradient(180deg, rgba(6, 18, 31, 0.18) 0%, transparent 28%, rgba(6, 18, 31, 0.35) 100%);
}

/* Hide CSS skyline decoration — it fights the photo */
.hero::after {
  content: none;
  display: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.25rem;
  align-items: start;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-300);
}

.hero .eyebrow {
  color: var(--teal-300);
  background: rgba(20, 184, 166, 0.12);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(94, 234, 212, 0.25);
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 3.15rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0 0 1.1rem;
  max-width: 16ch;
  text-wrap: balance;
}

.hero-lead {
  margin: 0 0 1.4rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 40ch;
}

.hero-bullets {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.hero-bullets li {
  position: relative;
  padding-left: 1.6rem;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
  font-size: 1rem;
}

.hero-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4em;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--teal-400);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.28);
}

/* Cards & forms */
.card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.hero-form-wrap .lead-form {
  box-shadow: var(--shadow-form);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--radius-lg);
}

.lead-form {
  padding: 1.65rem 1.5rem 1.5rem;
  color: var(--ink);
}

.lead-form-compact {
  padding: 1.35rem;
}

.form-title {
  margin: 0 0 0.4rem;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy-900);
}

.form-sub {
  margin: 0 0 1.35rem;
  color: var(--ink-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.field {
  margin-bottom: 1.05rem;
}

.field-row {
  display: grid;
  gap: 0;
}

.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--navy-800);
  letter-spacing: 0.01em;
}

.req {
  color: var(--coral);
  font-weight: 700;
}

.field input {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 1rem;
  background: var(--cream);
  color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

.field input::placeholder {
  color: #8b9aab;
}

.field input:hover {
  border-color: #b8a99a;
  background: #fff;
}

.field input:focus {
  outline: none;
  border-color: var(--teal-500);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.22);
}

.field input[aria-invalid="true"] {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.12);
}

.field-error {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  color: var(--danger);
}

.form-fine {
  margin: 0.9rem 0 0;
  font-size: 0.78rem;
  color: var(--ink-soft);
  line-height: 1.45;
}

.form-success {
  margin-top: 1rem;
  padding: 0.95rem 1rem;
  background: var(--success-bg);
  color: var(--success);
  border-radius: var(--radius-sm);
  border: 1px solid #a7f3d0;
  font-size: 0.95rem;
}

.lead-form.is-success .form-success {
  display: block !important;
}

/* Trust strip — cream band */
.trust-strip {
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  padding: 2rem 0;
  margin-top: -1.75rem;
  position: relative;
  z-index: 2;
  box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.5) inset;
}

.trust-grid {
  display: grid;
  gap: 1.5rem;
}

.trust-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 0.25rem 0;
}

.trust-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(13, 148, 136, 0.14), rgba(13, 148, 136, 0.06));
  color: var(--teal-700);
  display: grid;
  place-items: center;
  border: 1px solid rgba(13, 148, 136, 0.18);
}

.trust-icon svg {
  width: 22px;
  height: 22px;
}

.trust-item strong {
  display: block;
  font-size: 1rem;
  color: var(--navy-900);
  letter-spacing: -0.01em;
}

.trust-item p {
  margin: 0.2rem 0 0;
  font-size: 0.9rem;
  color: var(--ink-muted);
  line-height: 1.45;
}

/* Sections */
.section {
  padding: 4.25rem 0;
  scroll-margin-top: calc(var(--header-h) + 16px);
}

section[id],
[id^="areas"],
[id^="faq"],
[id^="how"],
[id^="contact"],
[id^="benefits"],
[id^="situations"],
[id^="compare"],
[id^="homes"] {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.section-alt {
  background: var(--surface-alt);
}

.section-head {
  margin-bottom: 2.5rem;
  max-width: 42rem;
}

.section-head .eyebrow {
  color: var(--teal-700);
}

.section-head h2 {
  font-family: var(--display);
  font-size: clamp(1.7rem, 3.2vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--navy-900);
  margin: 0 0 0.75rem;
  line-height: 1.2;
}

.section-lead {
  margin: 0;
  color: var(--ink-muted);
  font-size: 1.08rem;
  line-height: 1.6;
}

.benefits-grid {
  display: grid;
  gap: 1.25rem;
}

.benefit {
  padding: 1.5rem 1.45rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  border-color: var(--border);
}

.benefit:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(13, 148, 136, 0.28);
}

.benefit-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--cream-deep);
  color: var(--teal-700);
  margin-bottom: 0.9rem;
}

.benefit-icon svg {
  width: 20px;
  height: 20px;
}

.benefit h3 {
  margin: 0 0 0.5rem;
  font-size: 1.12rem;
  color: var(--navy-900);
  letter-spacing: -0.015em;
}

.benefit p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.98rem;
}

/* Steps — numbered circles + connecting line */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
  position: relative;
}

.step {
  padding: 1.65rem 1.5rem 1.5rem;
  position: relative;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--navy-800), var(--navy-900));
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 1rem;
  box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.18);
  position: relative;
  z-index: 1;
}

.step h3 {
  margin: 0 0 0.45rem;
  font-size: 1.18rem;
  color: var(--navy-900);
  letter-spacing: -0.015em;
}

.step p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.98rem;
}

.mid-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.25rem;
  align-items: center;
  justify-content: center;
}

/* Comparison table */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-md);
  -webkit-overflow-scrolling: touch;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  min-width: 560px;
}

.compare-table th,
.compare-table td {
  padding: 1rem 1.15rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}

.compare-table thead th {
  background: var(--navy-900);
  color: #fff;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
}

.compare-table thead th:nth-child(2) {
  background: var(--teal-600);
  box-shadow: inset 0 -3px 0 var(--teal-300);
}

.compare-table tbody th {
  font-weight: 600;
  color: var(--navy-900);
  background: var(--cream);
  width: 22%;
}

.compare-table tbody tr:nth-child(even) th {
  background: var(--cream-deep);
}

.compare-table tbody tr:nth-child(even) td {
  background: rgba(250, 246, 241, 0.55);
}

.compare-table tbody tr:nth-child(even) td:nth-child(2) {
  background: rgba(13, 148, 136, 0.1);
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: none;
}

.compare-table tbody td:nth-child(2) {
  background: rgba(13, 148, 136, 0.07);
  font-weight: 600;
  color: var(--navy-900);
  border-left: 2px solid rgba(13, 148, 136, 0.25);
  border-right: 2px solid rgba(13, 148, 136, 0.25);
}

.compare-table tbody tr:last-child td:nth-child(2) {
  border-bottom: 2px solid rgba(13, 148, 136, 0.25);
}

.compare-table tbody td:nth-child(3) {
  color: var(--ink-muted);
}

/* Situations — pill / chip grid */
.situations {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.situations li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.15rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy-900);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.situations li:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(13, 148, 136, 0.35);
}

.situations .sit-emoji {
  font-size: 1.05rem;
  line-height: 1;
}

/* Markets */
.markets {
  list-style: none;
  margin: 0 0 1.35rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.markets li {
  padding: 0.5rem 0.95rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy-800);
  box-shadow: var(--shadow-sm);
}

.areas-note {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.98rem;
}

/* CTA band — calm, strong (not aggressive red) */
.cta-band {
  background:
    radial-gradient(ellipse 60% 80% at 100% 50%, rgba(20, 184, 166, 0.18), transparent 55%),
    linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 55%, #153a62 100%);
  color: #fff;
  padding: 4.5rem 0;
}

.cta-band-inner {
  display: grid;
  gap: 1.85rem;
  align-items: start;
}

.cta-band h2 {
  font-family: var(--display);
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  margin: 0 0 0.55rem;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.cta-band > .cta-band-inner > div > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
  max-width: 36ch;
}

.cta-band .lead-form {
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-lg);
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0;
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  cursor: pointer;
  padding: 1.1rem 1.2rem;
  font-weight: 600;
  color: var(--navy-900);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--teal-600);
  font-weight: 500;
  flex-shrink: 0;
  width: 1.5rem;
  text-align: center;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item[open] {
  border-color: rgba(13, 148, 136, 0.3);
}

.faq-item p {
  margin: 0;
  padding: 0 1.2rem 1.2rem;
  color: var(--ink-muted);
  font-size: 0.98rem;
}

/* Bottom CTA */
.bottom-cta {
  text-align: center;
  max-width: 560px;
  margin-inline: auto;
}

.bottom-cta h2 {
  font-family: var(--display);
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  margin: 0 0 0.7rem;
  color: var(--navy-900);
  letter-spacing: -0.025em;
}

.bottom-cta .section-lead {
  margin-bottom: 1.6rem;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  margin-bottom: 2.15rem;
}

.bottom-cta .lead-form {
  text-align: left;
  box-shadow: var(--shadow-md);
}

/* Demo panel */
.demo-panel {
  background: #fffbeb;
  border-top: 2px dashed #f59e0b;
}

.demo-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.demo-output {
  margin: 0;
  padding: 1.15rem;
  overflow: auto;
  font-size: 0.85rem;
  line-height: 1.5;
  max-height: 320px;
  white-space: pre-wrap;
  word-break: break-word;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
  background: rgba(0, 0, 0, 0.06);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}


/* Homes photo grid */
.homes-section {
  background: var(--surface);
}

.homes-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.15rem;
  grid-template-columns: 1fr;
}

.home-card {
  margin: 0;
}

.home-card figure {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.home-card img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center 60%;
}

.home-card figcaption {
  padding: 0.85rem 1rem 0.95rem;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--navy-900);
  letter-spacing: -0.01em;
  background: var(--cream);
  border-top: 1px solid var(--border);
}

.photo-credit {
  margin: 0.45rem 0 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.42);
}

/* Footer */
.site-footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.82);
  padding: 3.25rem 0 1.5rem;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand {
  display: block;
  color: #fff;
  font-size: 1.12rem;
  margin-bottom: 0.5rem;
}

.footer-heading {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal-300);
}

.site-footer a {
  color: #fff;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--teal-300);
}

.site-footer p {
  margin: 0 0 0.5rem;
}

.privacy-note {
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.65);
}

.footer-market {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-bottom {
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom p {
  margin: 0;
}

/* Responsive */
@media (min-width: 640px) {
  .field-row {
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem;
  }

  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1.4fr;
  }

  .homes-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-card img {
    height: 210px;
  }
}

@media (min-width: 900px) {
  .header-nav {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }

  .hero {
    padding: 4.75rem 0 5.5rem;
  }

  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.25rem;
    align-items: center;
  }

  .lead-form {
    padding: 1.85rem 1.75rem 1.65rem;
  }

  .trust-strip {
    margin-top: -2.25rem;
    padding: 2.25rem 0;
  }

  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  /* Connecting line between step numbers */
  .steps::before {
    content: "";
    position: absolute;
    top: calc(1.65rem + 1.375rem);
    left: calc(16.66% + 0.5rem);
    right: calc(16.66% + 0.5rem);
    height: 2px;
    background: linear-gradient(90deg, var(--teal-400), var(--teal-600), var(--teal-400));
    opacity: 0.45;
    z-index: 0;
    pointer-events: none;
  }

  .cta-band-inner {
    grid-template-columns: 1fr 1.1fr;
    align-items: center;
  }

  .homes-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .home-card img {
    height: 230px;
  }

  .section {
    padding: 5.25rem 0;
  }

  .mid-cta {
    justify-content: flex-start;
  }
}

@media (max-width: 639px) {
  .hero {
    padding: 2.25rem 0 3.5rem;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(1.85rem, 8vw, 2.25rem);
  }

  .hero-form-wrap .lead-form {
    padding: 1.35rem 1.2rem 1.25rem;
  }

  .trust-strip {
    margin-top: -1.25rem;
    padding: 1.5rem 0;
  }

  .situations li {
    flex: 1 1 calc(50% - 0.75rem);
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .benefit,
  .situations li {
    transition: none;
  }

  .benefit:hover,
  .situations li:hover {
    transform: none;
  }
}
