/* =========================================
   HouseGoodbye Landing Page
   Theme: Warm Editorial Real Estate
   ========================================= */

:root {
  --bg: #F9F6F0;
  --bg-alt: #F0EDE6;
  --fg: #1C1917;
  --fg-muted: #57534E;
  --accent: #E05C0A;
  --accent-dark: #C04D07;
  --accent-light: #FEF3E8;
  --white: #FFFFFF;
  --border: #E7E5E0;
  --shadow: rgba(28, 25, 23, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Figtree', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Syne', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.15;
}

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(249, 246, 240, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--fg);
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  text-decoration: none;
  color: var(--fg-muted);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.15s;
}

.nav-links a:hover {
  color: var(--fg);
}

.nav-phone {
  background: var(--accent);
  color: var(--white) !important;
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.01em;
  transition: background 0.15s;
}

.nav-phone:hover {
  background: var(--accent-dark) !important;
  color: var(--white) !important;
}

/* HERO */
.hero {
  position: relative;
  padding: 80px 0 72px;
  overflow: hidden;
}

.hero-bg-shape {
  position: absolute;
  top: -80px;
  right: -120px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(224, 92, 10, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero-headline {
  font-size: clamp(42px, 5vw, 66px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 24px;
  line-height: 1.05;
}

.hero-headline em {
  font-style: normal;
  color: var(--accent);
}

.hero-lede {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-right: 32px;
}

.hero-stat-value {
  font-family: 'Syne', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.03em;
}

.hero-stat-label {
  font-size: 13px;
  color: var(--fg-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.hero-stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
  margin-right: 32px;
}

/* Hero Card */
.hero-visual {
  display: flex;
  justify-content: flex-end;
}

.hero-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  width: 100%;
  max-width: 340px;
  box-shadow: 0 8px 40px var(--shadow);
}

.hero-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.hero-bid-row {
  display: grid;
  grid-template-columns: 90px 1fr 80px;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.hero-bid-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--fg-muted);
}

.hero-bid-bar {
  height: 28px;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--accent-light) var(--fill), var(--bg-alt) 0%);
  transition: width 0.3s;
}

.hero-bid-win .hero-bid-bar {
  background: linear-gradient(90deg, var(--accent) var(--fill), var(--bg-alt) 0%);
}

.hero-bid-value {
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--fg);
  text-align: right;
}

.hero-bid-win .hero-bid-value {
  color: var(--accent);
}

.hero-card-footer {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.hero-winner-tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* PROCESS */
.process {
  padding: 96px 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.process-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
}

.section-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-heading {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 56px;
}

.process-steps {
  display: flex;
  align-items: center;
  gap: 0;
}

.process-step {
  flex: 1;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.process-step-num {
  font-family: 'Syne', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.25;
  line-height: 1;
  flex-shrink: 0;
}

.process-step-body h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 8px;
}

.process-step-body p {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.65;
}

.process-step-arrow {
  flex-shrink: 0;
  color: var(--border);
  padding: 0 20px;
}

/* COMPARISON */
.comparison {
  padding: 96px 0;
  background: var(--bg);
}

.comparison-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
}

.comparison-table-wrap {
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 24px var(--shadow);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  min-width: 560px;
}

.comparison-table thead tr {
  background: var(--fg);
}

.comparison-table th {
  padding: 18px 24px;
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  text-align: left;
  letter-spacing: 0.02em;
}

.comparison-table th.table-hg {
  background: var(--accent);
}

.table-hg-label::before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  background: var(--white);
  border-radius: 2px;
  margin-right: 8px;
  vertical-align: middle;
}

.comparison-table td {
  padding: 16px 24px;
  font-size: 15px;
  color: var(--fg-muted);
  border-bottom: 1px solid var(--bg-alt);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table td:first-child {
  font-weight: 500;
  color: var(--fg);
}

.cell-hg {
  background: rgba(224, 92, 10, 0.04);
}

.cell-hg strong {
  color: var(--accent);
}

.table-total td {
  background: var(--fg);
  color: var(--white) !important;
  font-weight: 700;
  font-size: 16px;
}

.table-total .cell-hg strong {
  color: var(--white);
  font-size: 16px;
}

.comparison-footnote {
  margin-top: 16px;
  font-size: 13px;
  color: var(--fg-muted);
  text-align: center;
}

/* COVERAGE */
.coverage {
  padding: 96px 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.coverage-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
}

.coverage-sub {
  font-size: 18px;
  color: var(--fg-muted);
  margin-bottom: 40px;
}

.coverage-cities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-bottom: 32px;
}

.coverage-col {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.coverage-city {
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-muted);
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: var(--bg);
  font-family: 'Figtree', sans-serif;
}

.coverage-nationwide {
  font-size: 15px;
  color: var(--fg-muted);
  font-weight: 500;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

/* TESTIMONIALS */
.testimonials {
  padding: 96px 0;
  background: var(--bg);
}

.testimonials-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.testimonial-quote {
  font-size: 17px;
  color: var(--fg);
  line-height: 1.65;
  font-style: italic;
}

/* CLOSING */
.closing {
  padding: 112px 0;
  background: var(--fg);
}

.closing-inner {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 32px;
  text-align: center;
}

.closing .section-eyebrow {
  color: var(--accent);
}

.closing-headline {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 20px;
}

.closing-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 40px;
}

.closing-promise {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.closing-promise-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 500;
  color: var(--white);
}

/* FOOTER */
.footer {
  padding: 40px 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand-name {
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--fg);
}

.footer-contact {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-phone {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}

.footer-web {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 15px;
}

.footer-sep {
  color: var(--fg-muted);
}

.footer-legal {
  font-size: 13px;
  color: var(--fg-muted);
  max-width: 480px;
  line-height: 1.6;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-visual {
    justify-content: flex-start;
  }

  .hero-card {
    max-width: 100%;
  }

  .process-steps {
    flex-direction: column;
    gap: 32px;
    align-items: flex-start;
  }

  .process-step-arrow {
    display: none;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .coverage-cities {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav-inner {
    padding: 0 20px;
  }

  .nav-links a:not(.nav-phone) {
    display: none;
  }

  .hero-inner,
  .process-inner,
  .comparison-inner,
  .coverage-inner,
  .testimonials-inner,
  .closing-inner {
    padding: 0 20px;
  }

  .hero {
    padding: 56px 0 64px;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 20px;
  }

  .hero-stat-divider {
    display: none;
  }

  .hero-stat {
    padding-right: 0;
  }

  .comparison-table-wrap {
    border-radius: 0;
    border-left: none;
    border-right: none;
    margin: 0 -20px;
    padding: 0 20px;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 14px 16px;
    font-size: 14px;
  }

  .closing {
    padding: 80px 0;
  }
}