/* ===========================
   Legacy Homes – Global Styles
   =========================== */

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

:root {
  --navy: #1a2b47;
  --navy-light: #243856;
  --gold: #c9a84c;
  --gold-light: #e0bf7a;
  --white: #ffffff;
  --off-white: #f8f7f4;
  --gray-light: #f0eeea;
  --gray-mid: #d4d0c8;
  --gray-text: #6b6560;
  --text: #2c2c2c;
  --radius: 8px;
  --shadow: 0 2px 16px rgba(26,43,71,0.10);
  --shadow-lg: 0 6px 32px rgba(26,43,71,0.14);
  --font-head: 'Georgia', 'Times New Roman', serif;
  --font-body: 'Helvetica Neue', Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}

img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── NAV ── */
nav {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 68px;
  max-width: 1120px;
  margin: 0 auto;
}
.nav-logo {
  font-family: var(--font-head);
  font-size: 1.25rem;
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
}
.nav-logo span { color: var(--gold); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,0.82);
  font-size: 0.93rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }
.nav-cta {
  background: var(--gold);
  color: var(--navy) !important;
  padding: 9px 20px;
  border-radius: var(--radius);
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--gold-light) !important; text-decoration: none !important; }

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-align: center;
  text-decoration: none;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy);
}
.btn-primary:hover { background: var(--gold-light); text-decoration: none; }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); text-decoration: none; }

/* ── HERO ── */
.hero {
  background: var(--navy);
  padding: 72px 0 80px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.hero-left h1 {
  font-family: var(--font-head);
  font-size: 2.6rem;
  color: var(--white);
  line-height: 1.22;
  margin-bottom: 20px;
}
.hero-left p {
  color: rgba(255,255,255,0.78);
  font-size: 1.08rem;
  margin-bottom: 28px;
  line-height: 1.65;
}
.trust-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.trust-bullets li {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.trust-bullets li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
}

/* ── FORM CARD ── */
.form-card {
  background: var(--white);
  border-radius: 12px;
  padding: 36px 32px;
  box-shadow: var(--shadow-lg);
}
.form-card h3 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-card p.sub {
  color: var(--gray-text);
  font-size: 0.9rem;
  margin-bottom: 24px;
}
/* Honeypot spam field — visually removed from the page for real visitors */
.hidden {
  display: none !important;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 5px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--gray-mid);
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--text);
  font-family: var(--font-body);
  background: var(--white);
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
}
.form-group textarea { resize: vertical; min-height: 80px; }

.address-section {
  margin-bottom: 16px;
}
.address-section .address-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1.5px solid var(--gray-light);
}
.address-grid {
  display: grid;
  gap: 12px;
}
.address-row-2 { grid-template-columns: 2fr 1fr 1fr; }

.consent-block {
  background: var(--gray-light);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 18px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.consent-block input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--gold);
  cursor: pointer;
}
.consent-block label {
  font-size: 0.78rem;
  color: var(--gray-text);
  line-height: 1.5;
  cursor: pointer;
}
.consent-block label a { color: var(--navy); font-weight: 600; }

.honeypot-field { display: none !important; }

.btn-submit {
  width: 100%;
  padding: 15px;
  font-size: 1.05rem;
  border-radius: var(--radius);
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-submit:hover { background: var(--gold-light); }

.form-success {
  display: none;
  text-align: center;
  padding: 24px 0 8px;
}
.form-success .check { font-size: 2.5rem; margin-bottom: 10px; }
.form-success p { color: var(--navy); font-weight: 600; font-size: 1rem; }
.form-success p.sub { color: var(--gray-text); font-weight: 400; font-size: 0.9rem; margin-top: 4px; }

/* ── SECTIONS ── */
section { padding: 72px 0; }
.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-head);
  font-size: 2rem;
  color: var(--navy);
  line-height: 1.28;
  margin-bottom: 16px;
}
.section-title.white { color: var(--white); }
.section-body {
  font-size: 1.05rem;
  color: var(--gray-text);
  max-width: 600px;
  line-height: 1.7;
}

/* ── STATS ── */
.stats-section { background: var(--off-white); }
.stats-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.stats-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.stat-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow);
}
.stat-item .num {
  font-family: var(--font-head);
  font-size: 2.4rem;
  color: var(--navy);
  font-weight: 700;
}
.stat-item .label {
  font-size: 0.82rem;
  color: var(--gray-text);
  margin-top: 4px;
}

/* ── STEPS ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.step-card {
  background: var(--white);
  border: 1.5px solid var(--gray-light);
  border-radius: 12px;
  padding: 32px 28px;
  position: relative;
}
.step-num {
  width: 44px; height: 44px;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.step-card h4 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 10px;
}
.step-card p { font-size: 0.93rem; color: var(--gray-text); line-height: 1.6; }

/* ── SITUATIONS ── */
.situations-section { background: var(--off-white); }
.situations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.situation-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 22px;
  box-shadow: var(--shadow);
}
.situation-card h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 8px;
}
.situation-card p { font-size: 0.88rem; color: var(--gray-text); line-height: 1.55; }

/* ── WHY US ── */
.why-section { background: var(--navy); }
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.why-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.why-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255,255,255,0.88);
  font-size: 0.97rem;
  line-height: 1.55;
}
.why-list li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── CTA BAND ── */
.cta-band {
  background: var(--gray-light);
  text-align: center;
  padding: 72px 0;
}
.cta-band .section-title { max-width: 520px; margin: 0 auto 16px; }
.cta-band p { color: var(--gray-text); margin-bottom: 32px; font-size: 1.02rem; }

/* ── PAGE HEADER ── */
.page-header {
  background: var(--navy);
  padding: 56px 0 52px;
  text-align: center;
}
.page-header h1 {
  font-family: var(--font-head);
  font-size: 2.4rem;
  color: var(--white);
  margin-bottom: 10px;
}
.page-header p { color: rgba(255,255,255,0.72); font-size: 1rem; }

/* ── ABOUT ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}
.value-card {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 24px 22px;
}
.value-card h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 8px;
}
.value-card p { font-size: 0.88rem; color: var(--gray-text); line-height: 1.55; }

/* ── CONTACT ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 24px; padding-top: 8px; }
.contact-info-item h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}
.contact-info-item p, .contact-info-item a {
  color: var(--navy);
  font-size: 1rem;
  font-weight: 500;
}

/* ── SELL PAGE ── */
.sell-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 64px;
  align-items: start;
}
.sell-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}
.sell-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.96rem;
  color: var(--gray-text);
}
.sell-list li::before { content: '→'; color: var(--gold); font-weight: 700; }

/* ── LEGAL PAGES ── */
.legal-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 24px;
}
.legal-content h2 {
  font-family: var(--font-head);
  font-size: 1.8rem;
  color: var(--navy);
  margin-bottom: 8px;
}
.legal-content .meta {
  font-size: 0.85rem;
  color: var(--gray-text);
  margin-bottom: 40px;
}
.legal-content h3 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  color: var(--navy);
  margin: 32px 0 10px;
}
.legal-content p, .legal-content li {
  font-size: 0.97rem;
  color: var(--gray-text);
  line-height: 1.72;
  margin-bottom: 12px;
}
.legal-content ul { padding-left: 20px; margin-bottom: 12px; }
.legal-content strong { color: var(--navy); }

/* ── THANK YOU ── */
.thankyou-wrap {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
}
.thankyou-wrap .icon { font-size: 3.5rem; margin-bottom: 20px; }
.thankyou-wrap h1 {
  font-family: var(--font-head);
  font-size: 2.2rem;
  color: var(--navy);
  margin-bottom: 14px;
}
.thankyou-wrap p { color: var(--gray-text); font-size: 1.05rem; max-width: 480px; margin: 0 auto 28px; line-height: 1.65; }

/* ── FOOTER ── */
footer {
  background: var(--navy);
  padding: 56px 0 0;
  color: rgba(255,255,255,0.75);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 40px;
}
.footer-brand .logo {
  font-family: var(--font-head);
  font-size: 1.15rem;
  color: var(--white);
  font-weight: 700;
  margin-bottom: 12px;
}
.footer-brand .logo span { color: var(--gold); }
.footer-brand p { font-size: 0.88rem; line-height: 1.6; }
.footer-col h5 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col ul a { color: rgba(255,255,255,0.72); font-size: 0.9rem; text-decoration: none; }
.footer-col ul a:hover { color: var(--white); }
.footer-col address { font-style: normal; font-size: 0.9rem; line-height: 1.65; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
}
.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-sms {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.55;
}
.footer-legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-legal p { font-size: 0.82rem; color: rgba(255,255,255,0.45); }
.footer-legal-links { display: flex; gap: 20px; }
.footer-legal-links a { font-size: 0.82rem; color: rgba(255,255,255,0.55); }
.footer-legal-links a:hover { color: var(--white); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero-grid, .stats-grid-2, .why-grid, .about-grid, .contact-grid, .sell-grid { grid-template-columns: 1fr; gap: 40px; }
  .situations-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-left h1 { font-size: 2rem; }
}
@media (max-width: 600px) {
  .nav-links { display: none; }
  .situations-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .address-row-2 { grid-template-columns: 1fr; }
  .stats-box { grid-template-columns: 1fr 1fr; }
  .about-values { grid-template-columns: 1fr; }
}
