/* DFW Relist — Data-driven expired listing strategy
   David McElroy, Licensed Texas Broker, TREC #0489516
*/

:root {
  --color-bg: #ffffff;
  --color-bg-soft: #f5f3ee;
  --color-text: #1a1a1a;
  --color-text-muted: #555;
  --color-text-light: #888;
  --color-border: #e2dfd8;
  --color-primary: #0f4c81;
  --color-primary-dark: #0a3a63;
  --color-accent: #c2410c;
  --color-accent-dark: #9a3309;
  --color-success: #1a7a45;
  --color-card: #ffffff;
  --color-card-border: #e8e4dc;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --radius: 8px;
  --max: 1100px;
  --max-narrow: 720px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Charter", "Iowan Old Style", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--color-primary); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--color-primary-dark); }
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin: 0 0 0.5em 0;
}
h1 { font-size: clamp(2rem, 4vw + 1rem, 3rem); }
h2 { font-size: clamp(1.5rem, 2vw + 1rem, 2.25rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em 0; }

/* HEADER */
.site-header {
  background: rgba(255,255,255,0.95);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(8px);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { display: flex; flex-direction: column; text-decoration: none; color: var(--color-text); }
.brand-name { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 700; }
.brand-tag { font-size: 0.72rem; color: var(--color-text-muted); letter-spacing: 0.04em; text-transform: uppercase; margin-top: 2px; }
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a {
  color: var(--color-text);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}
.nav-links a:hover { color: var(--color-primary); }
.nav-cta {
  background: var(--color-primary);
  color: #fff !important;
  padding: 9px 18px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none !important;
}
.nav-cta:hover { background: var(--color-primary-dark); color: #fff !important; }
@media (max-width: 760px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .header-inner { padding: 12px 16px; }
  .brand-tag { display: none; }
}

/* HERO */
.hero {
  background: linear-gradient(180deg, var(--color-bg-soft) 0%, var(--color-bg) 100%);
  padding: 64px 20px 56px;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}
.hero-inner { max-width: 820px; margin: 0 auto; }
.hero-eyebrow {
  display: inline-block;
  background: rgba(15, 76, 129, 0.1);
  color: var(--color-primary-dark);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.hero h1 { margin-bottom: 20px; }
.hero .lead {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  margin-bottom: 28px;
}
.hero-badges {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 24px;
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none !important;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}
.btn-primary {
  background: var(--color-primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--color-primary-dark);
  color: #fff;
}
.btn-large { padding: 16px 36px; font-size: 1.05rem; }
.btn-full { width: 100%; }

/* SECTIONS */
section { padding: 60px 20px; }
.section-inner { max-width: var(--max); margin: 0 auto; }
.section-narrow { max-width: var(--max-narrow); margin: 0 auto; }
.section-soft { background: var(--color-bg-soft); }
.section-lead {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 760px;
}
.disclaimer { font-size: 0.85rem; color: var(--color-text-light); font-style: italic; margin-top: 16px; }

/* CARD GRID */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 36px;
}
.card {
  background: var(--color-card);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.card-icon {
  font-size: 2rem;
  margin-bottom: 12px;
  line-height: 1;
}
.card h3 { margin-bottom: 8px; font-size: 1.2rem; }
.card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin: 0;
}

/* TESTIMONIALS */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 36px;
}
.testimonial {
  background: var(--color-card);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius);
  padding: 28px;
  margin: 0;
  box-shadow: var(--shadow-sm);
}
.testimonial p {
  font-style: italic;
  color: var(--color-text);
  font-size: 0.95rem;
  margin-bottom: 16px;
}
.testimonial cite {
  font-style: normal;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  display: block;
}
.stars { color: #f59e0b; margin: 0 6px; }

/* FORM */
.form-intro {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin-bottom: 28px;
}
.strategy-form {
  background: var(--color-card);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-md);
}
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
}
.req { color: var(--color-accent); }
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
}
.form-row input:focus,
.form-row select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(15, 76, 129, 0.15);
}
.consent-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  background: var(--color-bg-soft);
  padding: 14px;
  border-radius: 6px;
  margin-bottom: 22px;
}
.consent-row input { width: auto; margin-top: 3px; }
.consent-row label {
  font-size: 0.8rem;
  font-weight: 400;
  margin-bottom: 0;
  line-height: 1.5;
}
.form-footer-note {
  font-size: 0.8rem;
  color: var(--color-text-light);
  text-align: center;
  margin-top: 14px;
}

/* ABOUT */
.about-block {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 24px;
  align-items: start;
}
.about-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
}
@media (max-width: 600px) {
  .about-block { grid-template-columns: 1fr; }
  .about-avatar { margin: 0 auto; }
}

/* SUCCESS PAGE */
.success-icon {
  font-size: 3.5rem;
  color: var(--color-success);
  margin-bottom: 16px;
}

/* FOOTER */
.site-footer {
  background: #1a1a1a;
  color: #c9c5bd;
  padding: 40px 20px 28px;
  font-size: 0.85rem;
  text-align: center;
  line-height: 1.8;
}
.footer-inner { max-width: var(--max); margin: 0 auto; }
.site-footer p { margin: 0 0 6px 0; }
.site-footer a { color: #c9c5bd; }
.site-footer a:hover { color: #fff; }
.footer-disclosure {
  margin-top: 20px !important;
  font-size: 0.72rem;
  color: #888;
  line-height: 1.5;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
