/* =========================================================
   Real Estate Funnel — Shared Styles
   Edit the CSS variables below to match your brand.
   ========================================================= */

:root {
  --navy: #1a1d23;
  --navy-dark: #101216;
  --gold: #c9a227;
  --gold-light: #e0c05f;
  --green: #1e8e5a;
  --white: #ffffff;
  --off-white: #f6f7f9;
  --gray: #6b7280;
  --gray-light: #e5e7eb;
  --text: #1a1f2b;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(10, 37, 64, 0.12);
  --max-width: 1140px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  line-height: 1.55;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  color: var(--white);
  padding: 14px 0;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  color: var(--white);
}

.brand img {
  height: 34px;
  width: auto;
  display: block;
}

.brand span { color: var(--gold-light); }

@media (max-width: 480px) {
  .brand { font-size: 1.05rem; }
  .brand img { height: 28px; }
}

.header-phone {
  font-weight: 700;
  color: var(--gold-light);
  font-size: 1rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 16px 32px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  text-align: center;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); }

.btn-block { display: block; width: 100%; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 72px 0 80px;
}

.hero .eyebrow {
  color: var(--gold-light);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 18px;
}

.hero p.lead {
  font-size: 1.15rem;
  color: #cbd5e1;
  max-width: 640px;
  margin-bottom: 30px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
}

.trust-row {
  margin-top: 28px;
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  color: #9fb0c3;
  font-size: 0.9rem;
}

.trust-row span { font-weight: 600; color: var(--white); }

/* ---------- Form Card ---------- */
.form-card {
  background: var(--white);
  color: var(--text);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}

.form-card h3 {
  font-size: 1.3rem;
  margin-bottom: 6px;
  color: var(--navy);
}

.form-card .sub {
  color: var(--gray);
  font-size: 0.92rem;
  margin-bottom: 18px;
}

.ghl-embed-slot {
  min-height: 380px;
  border: 2px dashed var(--gray-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  color: var(--gray);
  font-size: 0.9rem;
}

/* Fallback static form (styling only — see README for wiring options) */
.fallback-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin: 14px 0 6px;
  color: var(--navy);
}
.fallback-form input,
.fallback-form select,
.fallback-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--gray-light);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
}
.fallback-form input:focus,
.fallback-form select:focus,
.fallback-form textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.fallback-form .btn { margin-top: 20px; }
.form-status { margin-top: 12px; font-size: 0.9rem; }
.form-status.success { color: var(--green); }
.form-status.error { color: #c0392b; }

/* ---------- Sections ---------- */
.section {
  padding: 64px 0;
}

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

.section h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--navy);
  margin-bottom: 12px;
  text-align: center;
}

.section .section-sub {
  text-align: center;
  color: var(--gray);
  max-width: 620px;
  margin: 0 auto 40px;
}

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

@media (max-width: 860px) {
  .grid-3 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 28px;
}

.card .icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-bottom: 16px;
}

.card h3 { color: var(--navy); margin-bottom: 8px; font-size: 1.1rem; }
.card p { color: var(--gray); font-size: 0.95rem; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; }
.step {
  display: flex;
  gap: 18px;
  margin-bottom: 28px;
}
.step .num {
  counter-increment: step;
  min-width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy-dark);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step h4 { color: var(--navy); margin-bottom: 4px; }
.step p { color: var(--gray); font-size: 0.95rem; }

/* ---------- Testimonials ---------- */
.testimonial {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-light);
  padding: 24px;
}
.testimonial p { font-style: italic; color: var(--text); margin-bottom: 14px; }
.testimonial .who { font-weight: 700; color: var(--navy); font-size: 0.9rem; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 56px 0;
}
.cta-banner h2 { color: var(--white); }
.cta-banner .btn { margin-top: 18px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-dark);
  color: #9fb0c3;
  padding: 36px 0;
  font-size: 0.85rem;
}
.site-footer .disclaimer {
  max-width: 780px;
  margin: 14px auto 0;
  text-align: center;
  color: #7c8ea3;
  line-height: 1.6;
}
.site-footer .footer-links {
  text-align: center;
  margin-bottom: 8px;
}
.site-footer .footer-links a { margin: 0 10px; color: #cbd5e1; }
.site-footer .footer-links a:hover { color: var(--gold-light); }

/* ---------- Split hero cards (home page) ---------- */
.choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}
@media (max-width: 760px) { .choice-grid { grid-template-columns: 1fr; } }

.choice-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
  color: var(--text);
}
.choice-card h3 { color: var(--navy); font-size: 1.4rem; margin-bottom: 10px; }
.choice-card p { color: var(--gray); margin-bottom: 20px; }

/* ---------- Utility ---------- */
.center { text-align: center; }
.mt-24 { margin-top: 24px; }
