/* ============================================
   The Short Sale Desk — Design System
   Palette: ink navy / desk green / mint / gold
   Type: Playfair Display (display) + DM Sans (body)
   ============================================ */

:root {
  --ink: #14283A;
  --ink-soft: #3D5164;
  --green: #0F6E56;
  --green-dark: #0A5140;
  --mint: #E1F5EE;
  --mint-soft: #F2FAF7;
  --gold: #C9A227;
  --paper: #FAFAF7;
  --white: #FFFFFF;
  --line: #E3E7E4;
  --radius: 10px;
  --shadow: 0 2px 14px rgba(20, 40, 58, 0.07);
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: 'DM Sans', -apple-system, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 16px;
}

.serif { font-family: 'Playfair Display', Georgia, serif; }

a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid var(--green); outline-offset: 2px;
}

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

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

/* ---------- Nav ---------- */
.nav {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.nav-inner {
  max-width: 1120px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 66px; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none !important; }
.brand svg { flex-shrink: 0; }
.brand-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 19px; font-weight: 600; color: var(--ink); letter-spacing: -0.2px;
  white-space: nowrap;
}
.brand-name em { font-style: normal; color: var(--green); }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a { font-size: 14px; color: var(--ink-soft); text-decoration: none; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--green); font-weight: 500; }
.btn {
  display: inline-block; background: var(--green); color: var(--white) !important;
  font-size: 14px; font-weight: 500; padding: 11px 22px;
  border-radius: var(--radius); border: none; cursor: pointer;
  text-decoration: none !important; font-family: inherit;
  transition: background 0.15s ease;
}
.btn:hover { background: var(--green-dark); }
.btn-lg { padding: 14px 28px; font-size: 15px; }
.btn-ghost {
  background: transparent; color: var(--green) !important;
  border: 1.5px solid var(--green);
}
.btn-ghost:hover { background: var(--mint); }
.btn-gold { background: var(--gold); color: var(--ink) !important; }
.btn-gold:hover { background: #B8931F; }
.nav-phone { font-size: 14px; font-weight: 500; color: var(--ink); white-space: nowrap; }

@media (max-width: 880px) {
  .nav-links { display: none; }
}

/* ---------- Hero ---------- */
.hero { background: var(--white); padding: 64px 0 56px; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: start; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--mint); color: var(--green);
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.4px;
  padding: 5px 14px; border-radius: 100px; margin-bottom: 20px;
  text-transform: uppercase;
}
.eyebrow-gold { background: #FBF4DC; color: #8A6E14; }
h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(32px, 4.5vw, 46px); font-weight: 600;
  line-height: 1.15; letter-spacing: -0.5px; margin-bottom: 18px;
}
h1 em, h2 em { font-style: italic; color: var(--green); }
.lede { font-size: 18px; color: var(--ink-soft); line-height: 1.65; margin-bottom: 28px; max-width: 54ch; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.trust-row { display: flex; gap: 22px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-soft); }
.trust-item svg { color: var(--green); flex-shrink: 0; }

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

/* ---------- Lead form card ---------- */
.form-card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 14px; padding: 28px; box-shadow: var(--shadow);
}
.form-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 21px; margin-bottom: 6px;
}
.form-card .sub { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 18px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink-soft); margin-bottom: 5px; letter-spacing: 0.2px; }
.field input, .field select {
  width: 100%; padding: 11px 13px; font-size: 14.5px; font-family: inherit;
  border: 1px solid var(--line); border-radius: 8px; background: var(--white); color: var(--ink);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-note { font-size: 12px; color: var(--ink-soft); margin-top: 12px; text-align: center; }

/* ---------- Sections ---------- */
.section { padding: 68px 0; }
.section-alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-dark { background: var(--ink); color: var(--white); }
.section-dark h2, .section-dark p { color: var(--white); }
.section-mint { background: var(--mint-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(26px, 3.4vw, 34px); font-weight: 600;
  line-height: 1.2; letter-spacing: -0.4px; margin-bottom: 14px;
}
.section-intro { font-size: 16.5px; color: var(--ink-soft); max-width: 62ch; margin-bottom: 40px; }
.center { text-align: center; }
.center .section-intro { margin-left: auto; margin-right: auto; }

/* ---------- Cards / grids ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 880px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px;
}
.card h3 { font-family: 'Playfair Display', Georgia, serif; font-size: 19px; margin-bottom: 10px; }
.card p { font-size: 14.5px; color: var(--ink-soft); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: step; }
@media (max-width: 880px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 22px 18px 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 15px; font-weight: 600; color: var(--gold);
  display: block; margin-bottom: 10px;
}
.step h4 { font-size: 15px; margin-bottom: 6px; }
.step p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.55; }

/* ---------- Comparison table ---------- */
.compare { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.compare th, .compare td { padding: 15px 18px; text-align: left; font-size: 14.5px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: var(--ink); color: var(--white); font-weight: 500; font-size: 14px; }
.compare thead th:nth-child(2) { background: var(--green); }
.compare tbody tr:last-child td { border-bottom: none; }
.compare td:first-child { font-weight: 600; width: 22%; color: var(--ink); }
.compare .good { color: var(--green); font-weight: 500; }
.compare .bad { color: #A33B2E; }
.table-scroll { overflow-x: auto; border-radius: var(--radius); }

/* ---------- Fee table ---------- */
.fee-table { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); }
.fee-table th, .fee-table td { padding: 14px 18px; font-size: 15px; text-align: left; border-bottom: 1px solid var(--line); }
.fee-table thead th { background: var(--mint); color: var(--green-dark); font-weight: 600; font-size: 13.5px; letter-spacing: 0.3px; text-transform: uppercase; }
.fee-table td.fee { font-family: 'Playfair Display', Georgia, serif; font-size: 19px; font-weight: 600; color: var(--green); }

/* ---------- About strip ---------- */
.about-grid { display: grid; grid-template-columns: 300px 1fr; gap: 44px; align-items: start; }
@media (max-width: 880px) { .about-grid { grid-template-columns: 1fr; } }
.about-photo { border-radius: 14px; box-shadow: var(--shadow); }
.badge-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.badge {
  font-size: 12px; font-weight: 600; letter-spacing: 0.4px;
  background: var(--mint); color: var(--green-dark);
  padding: 6px 13px; border-radius: 100px;
}
.badge-gold { background: #FBF4DC; color: #8A6E14; }

/* ---------- Scam alert ---------- */
.scam-alert {
  background: var(--ink); border-radius: 14px; padding: 30px 34px;
  display: flex; gap: 20px; align-items: flex-start; color: var(--white);
}
.scam-alert svg { flex-shrink: 0; color: var(--gold); margin-top: 3px; }
.scam-alert h3 { font-family: 'Playfair Display', Georgia, serif; font-size: 19px; margin-bottom: 8px; color: var(--white); }
.scam-alert p { font-size: 14.5px; color: #C6D2DC; }

/* ---------- Service areas ---------- */
.areas { display: flex; flex-wrap: wrap; gap: 12px; }
.area-chip {
  background: var(--white); border: 1px solid var(--line);
  padding: 10px 20px; border-radius: 100px; font-size: 14.5px; color: var(--ink);
}
.area-chip:hover { border-color: var(--green); text-decoration: none; color: var(--green); }

/* ---------- Article layout ---------- */
.article-head { background: var(--white); border-bottom: 1px solid var(--line); padding: 56px 0 44px; }
.article-meta { font-size: 13.5px; color: var(--ink-soft); margin-top: 14px; }
.article-body { max-width: 720px; margin: 0 auto; padding: 52px 24px 24px; }
.article-body h2 { font-size: 27px; margin: 44px 0 14px; }
.article-body h3 { font-family: 'Playfair Display', Georgia, serif; font-size: 20px; margin: 32px 0 10px; }
.article-body p { margin-bottom: 18px; color: #2C3E4E; font-size: 16.5px; line-height: 1.7; }
.article-body ul, .article-body ol { margin: 0 0 18px 24px; color: #2C3E4E; font-size: 16px; }
.article-body li { margin-bottom: 8px; line-height: 1.65; }
.callout {
  background: var(--mint-soft); border-left: 3px solid var(--green);
  padding: 18px 22px; border-radius: 0 var(--radius) var(--radius) 0; margin: 26px 0;
}
.callout p { margin-bottom: 0; font-size: 15px; }
.callout strong { color: var(--green-dark); }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 30px 0; }
@media (max-width: 700px) { .stat-row { grid-template-columns: 1fr; } }
.stat {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; text-align: center;
}
.stat .num { font-family: 'Playfair Display', Georgia, serif; font-size: 26px; font-weight: 600; color: var(--green); }
.stat .lbl { font-size: 12.5px; color: var(--ink-soft); letter-spacing: 0.3px; margin-top: 4px; }

/* ---------- Author bio ---------- */
.author-bio {
  display: flex; gap: 20px; align-items: center;
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  padding: 24px; margin: 48px auto 0; max-width: 720px;
}
.author-bio img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.author-bio h4 { font-family: 'Playfair Display', Georgia, serif; font-size: 17px; margin-bottom: 4px; }
.author-bio p { font-size: 13.5px; color: var(--ink-soft); margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--green); color: var(--white); padding: 56px 0; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: #D3EFE5; font-size: 16px; margin-bottom: 26px; }
.cta-band .btn { background: var(--white); color: var(--green) !important; }
.cta-band .btn:hover { background: var(--mint); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #A9B8C4; padding: 52px 0 36px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer h5 { color: var(--white); font-size: 13px; letter-spacing: 0.6px; text-transform: uppercase; margin-bottom: 14px; }
.footer a { color: #A9B8C4; display: block; margin-bottom: 9px; }
.footer a:hover { color: var(--white); }
.footer-brand { font-family: 'Playfair Display', Georgia, serif; font-size: 18px; color: var(--white); margin-bottom: 10px; }
.footer-legal { border-top: 1px solid #263B4E; padding-top: 22px; font-size: 12.5px; color: #7E92A2; line-height: 1.7; }
