/* ==========================================================================
   Appraisals DFW — shared styles
   ========================================================================== */

:root {
  --navy: #1b3875;
  --navy-deep: #11284f;
  --paper: #f1efe7;
  --paper-raised: #fbfaf6;
  --green: #2f6b52;
  --green-deep: #204a39;
  --blue: #2f5da8;
  --blue-deep: #1f3f7a;
  --brass: #a9895f;
  --ink: #1c2b3a;
  --ink-soft: #4c5a67;
  --ink-mute: #7c8894;
  --line: #d9d4c6;
  --line-strong: #c3bda9;
  --danger: #a8432f;
  --radius: 4px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "IBM Plex Sans", -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", "Courier New", monospace;
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

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

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; margin: 0; color: var(--navy); }
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1rem; color: var(--ink-soft); }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  background: var(--green);
  border-radius: 50%;
  display: inline-block;
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 24px;
  border-radius: var(--radius);
  border: 1.5px solid var(--navy);
  background: transparent;
  color: var(--navy);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { background: var(--navy); color: var(--paper-raised); }
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-deep); border-color: var(--blue-deep); color: #fff; }
.btn-block { width: 100%; justify-content: center; }
.btn-sm { padding: 9px 16px; font-size: 0.85rem; }

/* header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--paper-raised);
  position: sticky;
  top: 0;
  z-index: 40;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 150px;
}
.logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  text-decoration: none;
  color: var(--navy);
  letter-spacing: -0.01em;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.logo-img { height: 108px; width: auto; display: block; }
.logo-text { font-family: var(--font-body); font-weight: 600; font-size: 0.95rem; color: #000; letter-spacing: 0.01em; margin-top: -26px; }
.nav-links { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-size: 0.92rem; color: var(--ink-soft); font-weight: 500; }
.nav-links a:hover { color: var(--navy); }
.nav-links a.active { color: var(--navy); border-bottom: 2px solid var(--green); padding-bottom: 4px; }
.header-call {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--navy);
  text-decoration: none;
}
.header-nav-wrap { display: flex; align-items: center; gap: 40px; }
.mobile-toggle { display: none; }

/* section rhythm */
section { padding: 76px 0; }
.section-tight { padding: 48px 0; }
.section-alt { background: var(--paper-raised); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-navy { background: var(--navy); color: var(--paper); }
.section-navy h2, .section-navy h3 { color: var(--paper); }
.section-navy p { color: #b8c2cc; }

/* perforated divider — the signature motif */
.perf {
  border: none;
  border-top: 1.5px dashed var(--line-strong);
  margin: 0;
  position: relative;
}
.perf::before, .perf::after {
  content: "";
  position: absolute;
  top: -8px;
  width: 16px; height: 16px;
  background: var(--paper);
  border-radius: 50%;
}
.perf::before { left: -8px; }
.perf::after { right: -8px; }

/* hero */
.hero { padding: 64px 0 80px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 18px; }
.hero-sub { font-size: 1.08rem; max-width: 46ch; margin-bottom: 30px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* claim comparison card — signature visual */
.claim-card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
}
.claim-card::before {
  content: "Actual Appraisals DFW Result — June 2026";
  position: absolute;
  top: -12px; left: 24px; right: 24px;
  background: var(--navy);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  padding: 5px 12px;
  border-radius: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: fit-content;
  max-width: calc(100% - 48px);
}
.claim-row { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; }
.claim-row + .claim-row { border-top: 1px dashed var(--line); }
.claim-label { font-size: 0.85rem; color: var(--ink-mute); }
.claim-value { font-family: var(--font-mono); font-size: 1.3rem; font-weight: 500; }
.claim-value.low { color: var(--danger); }
.claim-value.fair { color: var(--green-deep); }
.claim-diff {
  margin-top: 10px; padding-top: 16px; border-top: 1.5px solid var(--navy);
  display: flex; justify-content: space-between; align-items: baseline;
}
.claim-diff .claim-label { color: var(--navy); font-weight: 600; }
.claim-diff .claim-value { color: var(--green-deep); font-size: 1.5rem; }

/* trust strip */
.trust-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.trust-item { background: var(--paper-raised); padding: 24px; text-align: center; }
.trust-item .num { font-family: var(--font-mono); font-size: 1rem; color: var(--green); margin-bottom: 6px; }
.trust-item p { font-size: 0.88rem; color: var(--ink-soft); margin: 0; }

/* path cards */
.path-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.path-card {
  border: 1px solid var(--line);
  background: var(--paper-raised);
  border-radius: var(--radius);
  padding: 32px;
}
.path-card .icon-tag {
  font-family: var(--font-mono); font-size: 1rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--brass); margin-bottom: 14px; display: block;
}
.path-card h3 { margin-bottom: 10px; }
.path-card p { margin-bottom: 20px; }

/* process steps */
.steps { display: flex; flex-direction: column; }
.step { display: flex; gap: 24px; padding: 26px 0; }
.step + .step { border-top: 1px dashed var(--line); }
.step-num { font-family: var(--font-mono); font-size: 0.95rem; color: var(--brass); flex-shrink: 0; width: 48px; padding-top: 2px; }
.step-body h3 { margin-bottom: 6px; font-size: 1.05rem; }
.step.step-muted .step-num { color: var(--ink-mute); }
.step.step-muted h3 { color: var(--ink-soft); }

/* value grid (4 up) */
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value-item { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-raised); }
.value-item .icon-tag { font-family: var(--font-mono); font-size: 0.7rem; color: var(--green); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 10px; display: block; }
.value-item h3 { font-size: 0.98rem; margin-bottom: 6px; }
.value-item p { font-size: 0.87rem; }

/* faq */
.faq-item { padding: 20px 0; border-top: 1px dashed var(--line); }
.faq-item:last-child { border-bottom: 1px dashed var(--line); }
.faq-item h3 { font-size: 1rem; margin-bottom: 8px; font-family: var(--font-body); font-weight: 600; }
.faq-item p { font-size: 0.94rem; }

/* service area chips */
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-family: var(--font-mono); font-size: 0.8rem;
  border: 1px solid var(--line-strong); border-radius: 30px;
  padding: 6px 16px; color: var(--ink-soft); text-decoration: none;
}
.chip:hover { border-color: var(--green); color: var(--green-deep); }

/* form */
.form-card { background: var(--paper-raised); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.field input, .field select {
  width: 100%; padding: 12px 14px; font-family: var(--font-body); font-size: 0.95rem;
  border: 1px solid var(--line-strong); border-radius: var(--radius); background: #fff; color: var(--ink);
}
.field input:focus, .field select:focus { outline: 2px solid var(--green); outline-offset: 1px; }

/* map placeholder */
.map-block {
  background: var(--paper); border: 1px dashed var(--line-strong); border-radius: var(--radius);
  height: 180px; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 0.8rem; color: var(--ink-mute); margin-bottom: 20px;
}

/* footer */
.site-footer { background: var(--navy-deep); color: #93a0ab; padding: 48px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.site-footer h4 { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: #6b7885; margin-bottom: 14px; }
.site-footer .logo { color: var(--paper); }
.site-footer .logo span { color: #6fbf9a; }
.site-footer a { color: #b8c2cc; text-decoration: none; font-size: 0.9rem; display: block; margin-bottom: 8px; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #2a3a48; padding-top: 20px; font-size: 0.8rem; color: #6b7885; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* sticky mobile CTA bar */
.mobile-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--paper-raised); border-top: 1px solid var(--line);
  padding: 12px 20px; z-index: 50;
  gap: 10px;
}
.mobile-bar .btn { flex: 1; }

/* responsive */
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .path-grid { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .nav-links, .header-call { display: none; }
  .mobile-bar { display: flex; }
  body { padding-bottom: 68px; }
  section { padding: 52px 0; }
  .site-header .wrap { height: 92px; }
  .logo-img { height: 46px; }
  .logo-text { font-size: 0.68rem; margin-top: -4px; }
}
@media (max-width: 560px) {
  .value-grid { grid-template-columns: 1fr; }
  .trust-strip { grid-template-columns: 1fr; }
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
