/* ============================================================
   BuyHomeGTA — Main stylesheet
   Theme: DARK warm near-black #12100E, light text #F7F0E8,
   accent CORAL #FF6F61, supporting #E85D4F / #FFB4A9 / #3A1D18
   ============================================================ */

:root {
  --bg: #12100E;
  --bg-soft: #1A1512;
  --bg-card: #201A16;
  --text: #F7F0E8;
  --text-dim: #D8CEC2;
  --text-faint: #B3A79A;
  --coral: #FF6F61;
  --coral-deep: #E85D4F;
  --coral-soft: #FFB4A9;
  --coral-dark: #3A1D18;
  --line: #2A231E;
  --line-bright: #4A3A32;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-size: 16px;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background-color: #12100E;
  color: #F7F0E8;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: #FFB4A9;
  text-decoration: none;
}

h1, h2, h3 {
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.overline {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #FF6F61;
  margin-bottom: 14px;
}

.section-lead {
  color: #D8CEC2;
  max-width: 640px;
  margin: 0 auto 40px;
}

.cta-btn {
  display: inline-block;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 8px;
  border: 2px solid transparent;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  cursor: pointer;
  text-align: center;
}

.cta-solid {
  background-color: #FF6F61;
  color: #12100E;
}
.cta-solid:hover {
  background-color: #E85D4F;
  transform: translateY(-2px);
}

.cta-ghost {
  border-color: #FF6F61;
  color: #FFB4A9;
  background-color: transparent;
}
.cta-ghost:hover {
  background-color: #3A1D18;
  transform: translateY(-2px);
}

/* ---------------- KEY NAVIGATION ---------------- */
.key-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #12100E;
  border-bottom: 1px solid #2A231E;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #F7F0E8;
}

.wordmark {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.wordmark .accent {
  color: #FF6F61;
}

/* CSS-drawn house key */
.key-mark {
  position: relative;
  width: 22px;
  height: 38px;
  display: inline-block;
  flex-shrink: 0;
}
.key-mark .key-bow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 13px;
  height: 13px;
  border: 3px solid #FF6F61;
  border-radius: 50%;
}
.key-mark .key-shaft {
  position: absolute;
  top: 11px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 25px;
  background-color: #FF6F61;
  border-radius: 2px;
}
.key-mark .key-tooth {
  position: absolute;
  left: 50%;
  margin-left: 4px;
  height: 4px;
  background-color: #FF6F61;
  border-radius: 1px;
}
.key-mark .key-tooth-1 { top: 27px; width: 9px; }
.key-mark .key-tooth-2 { top: 33px; width: 7px; }
.key-mark .key-tooth-3 { top: 39px; width: 5px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  color: #D8CEC2;
  font-size: 15px;
  font-weight: 600;
  transition: color 0.2s ease;
}
.nav-links a:hover {
  color: #FF6F61;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-cta {
  padding: 11px 22px;
  font-size: 14px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background-color: #201A16;
  border: 1px solid #2A231E;
  border-radius: 8px;
  cursor: pointer;
}
.nav-toggle .bar {
  display: block;
  height: 2px;
  width: 100%;
  background-color: #F7F0E8;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.is-open .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open .bar:nth-child(2) { opacity: 0; }
.nav-toggle.is-open .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px 24px 20px;
  border-top: 1px solid #2A231E;
  background-color: #12100E;
}
.mobile-menu a {
  padding: 12px 4px;
  color: #F7F0E8;
  font-weight: 600;
  border-bottom: 1px solid #1E1915;
}
.mobile-menu .mobile-cta {
  margin-top: 12px;
  text-align: center;
  border-bottom: none;
  color: #12100E;
}
.mobile-menu.is-open {
  display: flex;
}

/* ---------------- HOUSE HERO ---------------- */
.house-hero {
  position: relative;
  padding: 84px 24px 96px;
  background-color: #12100E;
  background-image: radial-gradient(ellipse 70% 55% at 78% 40%, #2A1510 0%, rgba(42, 21, 16, 0) 60%);
  overflow: hidden;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero-copy {
  max-width: 580px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #FF6F61;
  margin-bottom: 18px;
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  margin-bottom: 22px;
}

.hero-sub {
  color: #D8CEC2;
  font-size: 17px;
  margin-bottom: 30px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* CSS-drawn house */
.hero-visual {
  display: flex;
  justify-content: center;
}

.house {
  position: relative;
  width: 340px;
  height: 300px;
}

.house-glow {
  position: absolute;
  top: -30px;
  left: 10px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255, 111, 97, 0.28) 0%, rgba(255, 111, 97, 0) 68%);
  z-index: 0;
}

.house-chimney {
  position: absolute;
  top: 0;
  left: 112px;
  width: 28px;
  height: 52px;
  border: 4px solid #FF6F61;
  border-bottom: none;
  border-radius: 3px 3px 0 0;
  background-color: #12100E;
  z-index: 1;
}

.house-roof {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 170px solid transparent;
  border-right: 170px solid transparent;
  border-bottom: 102px solid #FF6F61;
  z-index: 2;
}
.house-roof .roof-inner {
  position: absolute;
  top: 5px;
  left: -164px;
  width: 0;
  height: 0;
  border-left: 164px solid transparent;
  border-right: 164px solid transparent;
  border-bottom: 93px solid #12100E;
}

.house-body {
  position: absolute;
  top: 98px;
  left: 50%;
  transform: translateX(-50%);
  width: 230px;
  height: 140px;
  border: 4px solid #FF6F61;
  border-top: none;
  border-radius: 0 0 4px 4px;
  z-index: 3;
}

.house-window {
  position: absolute;
  top: 20px;
  width: 46px;
  height: 46px;
  border: 3px solid #FF6F61;
  border-radius: 3px;
  background-color: #1A1512;
}
.window-left { left: 26px; }
.window-right { right: 26px; }

.house-window .pane-v {
  position: absolute;
  top: 0;
  left: 50%;
  width: 3px;
  height: 100%;
  background-color: #FF6F61;
  transform: translateX(-50%);
}
.house-window .pane-h {
  position: absolute;
  left: 0;
  top: 50%;
  height: 3px;
  width: 100%;
  background-color: #FF6F61;
  transform: translateY(-50%);
}

.house-door {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 52px;
  height: 74px;
  border: 3px solid #FF6F61;
  border-bottom: none;
  border-radius: 4px 4px 0 0;
  background-color: #1A1512;
}
.house-door .door-knob {
  position: absolute;
  right: 8px;
  top: 38px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #FFB4A9;
}

.house-key-mini {
  position: absolute;
  right: 20px;
  bottom: 12px;
  width: 16px;
  height: 30px;
  animation: keyFloat 3.2s ease-in-out infinite;
}
.house-key-mini .mini-bow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 9px;
  height: 9px;
  border: 2px solid #FFB4A9;
  border-radius: 50%;
}
.house-key-mini .mini-shaft {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 20px;
  background-color: #FFB4A9;
  border-radius: 1px;
}
.house-key-mini .mini-tooth {
  position: absolute;
  left: 50%;
  margin-left: 2px;
  height: 3px;
  background-color: #FFB4A9;
  border-radius: 1px;
}
.house-key-mini .mini-tooth-1 { top: 22px; width: 6px; }
.house-key-mini .mini-tooth-2 { top: 27px; width: 4px; }

@keyframes keyFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.house-step {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 270px;
  height: 5px;
  background-color: #FF6F61;
  border-radius: 3px;
  z-index: 4;
}

/* ---------------- STATEMENT SECTION ---------------- */
.statement-section {
  padding: 88px 24px;
  background-color: #1A1512;
  border-top: 1px solid #2A231E;
  border-bottom: 1px solid #2A231E;
}

.statement-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.statement-inner h2 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  max-width: 760px;
  margin-bottom: 28px;
}

.statement-copy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 48px;
}
.statement-copy p {
  color: #D8CEC2;
  font-size: 17px;
}

.pillar-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pillar {
  background-color: #201A16;
  border: 1px solid #2A231E;
  border-top: 3px solid #FF6F61;
  border-radius: 12px;
  padding: 26px;
}
.pillar-num {
  display: inline-block;
  font-weight: 800;
  color: #FF6F61;
  font-size: 14px;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}
.pillar h3 {
  font-size: 19px;
  margin-bottom: 10px;
}
.pillar p {
  color: #D8CEC2;
}

/* ---------------- STATS SECTION ---------------- */
.stats-section {
  padding: 64px 24px;
  background-color: #12100E;
}

.stats-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.stat {
  text-align: center;
  padding: 26px 16px;
  border-left: 1px solid #2A231E;
}
.stat:first-child { border-left: none; }

.stat-value {
  display: block;
  font-size: clamp(2.6rem, 6vw, 3.6rem);
  font-weight: 800;
  color: #FF6F61;
  letter-spacing: -0.02em;
  line-height: 1;
}
.stat-plus {
  color: #FFB4A9;
}
.stat-label {
  display: block;
  margin-top: 12px;
  font-size: 15px;
  color: #D8CEC2;
  letter-spacing: 0.04em;
}

/* ---------------- PROCESS SECTION ---------------- */
.process-section {
  padding: 96px 24px;
  background-color: #1A1512;
  border-top: 1px solid #2A231E;
  border-bottom: 1px solid #2A231E;
}

.process-inner {
  max-width: 1120px;
  margin: 0 auto;
  text-align: center;
}
.process-inner h2 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  margin-bottom: 12px;
}

.process-list {
  list-style: none;
  margin-top: 56px;
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.process-list::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 10%;
  right: 10%;
  height: 2px;
  background-color: #4A3A32;
  z-index: 0;
}

.process-step {
  position: relative;
  z-index: 1;
  padding: 0 6px;
}

.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background-color: #FF6F61;
  color: #12100E;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.04em;
  box-shadow: 0 0 0 5px #12100E, 0 0 0 6px #FF6F61;
}
.process-step h3 {
  font-size: 18px;
  margin-bottom: 10px;
}
.process-step p {
  color: #D8CEC2;
  font-size: 15px;
}

/* ---------------- COMPARE SECTION ---------------- */
.compare-section {
  padding: 96px 24px;
  background-color: #12100E;
}

.compare-inner {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}
.compare-inner h2 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  margin-bottom: 12px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid #2A231E;
  border-radius: 12px;
  background-color: #1A1512;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}
.compare-table th,
.compare-table td {
  padding: 18px 20px;
  text-align: left;
  border-bottom: 1px solid #2A231E;
  font-size: 15px;
}
.compare-table thead th {
  background-color: #3A1D18;
  color: #FFB4A9;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.compare-table tbody th {
  color: #F7F0E8;
  font-weight: 700;
  white-space: nowrap;
}
.compare-table tbody tr:nth-child(even) {
  background-color: #201A16;
}
.compare-table tbody td {
  color: #D8CEC2;
}
.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: none;
}

/* ---------------- NEIGHBOURHOOD SECTION ---------------- */
.neighbourhood-section {
  padding: 96px 24px;
  background-color: #1A1512;
  border-top: 1px solid #2A231E;
  border-bottom: 1px solid #2A231E;
}

.neighbourhood-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.neighbourhood-inner h2 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  margin-bottom: 12px;
}

.tabs {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 36px;
  padding: 6px;
  background-color: #12100E;
  border: 1px solid #2A231E;
  border-radius: 12px;
}

.tab-btn {
  padding: 11px 20px;
  font-size: 14px;
  font-weight: 700;
  color: #D8CEC2;
  background-color: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.tab-btn:hover {
  color: #FFB4A9;
}
.tab-btn.is-active {
  background-color: #FF6F61;
  color: #12100E;
}

.tab-panel {
  display: none;
}
.tab-panel.is-active {
  display: block;
}

.hood-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 8px 4px 18px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.hood-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  text-align: left;
  background-color: #201A16;
  border: 1px solid #2A231E;
  border-radius: 12px;
  padding: 24px;
}
.hood-card h3 {
  font-size: 19px;
  color: #FFB4A9;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #2A231E;
}
.hood-card ul {
  list-style: none;
}
.hood-card li {
  position: relative;
  padding-left: 18px;
  color: #D8CEC2;
  font-size: 15px;
  margin-bottom: 10px;
}
.hood-card li:last-child { margin-bottom: 0; }
.hood-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #FF6F61;
}

/* ---------------- CONTACT SECTION ---------------- */
.contact-section {
  padding: 96px 24px;
  background-color: #12100E;
}

.contact-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.contact-copy h2 {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  margin-bottom: 16px;
}
.contact-lead {
  color: #D8CEC2;
  font-size: 17px;
  margin-bottom: 28px;
}

.contact-facts {
  list-style: none;
}
.contact-facts li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 0;
  border-bottom: 1px solid #2A231E;
}
.contact-facts li:last-child { border-bottom: none; }
.fact-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #FF6F61;
}
.contact-facts a,
.contact-facts span {
  color: #F7F0E8;
  font-size: 16px;
}
.contact-facts a:hover {
  color: #FFB4A9;
}

.contact-form {
  background-color: #1A1512;
  border: 1px solid #2A231E;
  border-radius: 14px;
  padding: 32px;
}
.field {
  margin-bottom: 20px;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #D8CEC2;
  margin-bottom: 8px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  font-size: 16px;
  font-family: inherit;
  color: #F7F0E8;
  background-color: #12100E;
  border: 1px solid #2A231E;
  border-radius: 8px;
  transition: border-color 0.2s ease;
}
.field input::placeholder,
.field textarea::placeholder {
  color: #B3A79A;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: #FF6F61;
}
.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #FF6F61 50%),
    linear-gradient(135deg, #FF6F61 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.form-submit {
  width: 100%;
  font-size: 16px;
}
.form-status {
  margin-top: 14px;
  font-size: 14px;
  color: #FFB4A9;
  min-height: 20px;
}

/* ---------------- CTA BAND ---------------- */
.cta-band {
  padding: 72px 24px;
  background-color: #FF6F61;
}

.cta-band-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band-copy h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  color: #12100E;
  margin-bottom: 8px;
}
.cta-band-copy p {
  color: #3A1D18;
  font-size: 17px;
}
.cta-band-btn {
  background-color: #12100E;
  color: #F7F0E8;
  border: 2px solid #12100E;
  font-size: 16px;
  padding: 15px 30px;
}
.cta-band-btn:hover {
  background-color: #3A1D18;
  border-color: #3A1D18;
  color: #FFB4A9;
  transform: translateY(-2px);
}

/* ---------------- FOOTER ---------------- */
.site-footer {
  background-color: #12100E;
  border-top: 1px solid #2A231E;
  padding: 22px 24px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-copy {
  color: #B3A79A;
  font-size: 14px;
}
.footer-links {
  display: flex;
  gap: 22px;
}
.footer-links a {
  color: #D8CEC2;
  font-size: 14px;
  font-weight: 600;
}
.footer-links a:hover {
  color: #FF6F61;
}
.footer-contact {
  display: flex;
  gap: 18px;
}
.footer-contact a {
  color: #D8CEC2;
  font-size: 14px;
}
.footer-contact a:hover {
  color: #FF6F61;
}

/* ---------------- SCROLL REVEAL ---------------- */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: none;
}

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-copy {
    max-width: none;
  }
  .hero-visual {
    order: -1;
  }
  .statement-copy {
    grid-template-columns: 1fr;
  }
  .pillar-row {
    grid-template-columns: 1fr;
  }
  .process-list {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .process-list::before {
    display: none;
  }
  .contact-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .nav-cta {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .stats-inner {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .stat {
    border-left: none;
    border-top: 1px solid #2A231E;
    padding: 22px 16px;
  }
  .stat:first-child { border-top: none; }
  .field-row {
    grid-template-columns: 1fr;
  }
  .cta-band-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .house {
    transform: scale(0.85);
  }
}

@media (max-width: 480px) {
  .house {
    transform: scale(0.7);
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}
