/*
Theme Name: South Fulton Investors
Theme URI: https://southfultoninvestors.com
Author: The Wyatt Group
Description: Cash buyer / wholesale deal disposition theme. Post deals as "Deals", buyers join the list.
Version: 1.0.0
Requires PHP: 7.4
Text Domain: southfultoninvestors
*/

:root {
  --navy: #0b1c33;
  --navy-2: #12294a;
  --navy-3: #1a3560;
  --gold: #d4a937;
  --gold-2: #e6c15f;
  --ink: #16233a;
  --slate: #52627c;
  --line: #e3e8f0;
  --bg: #f7f9fc;
  --white: #ffffff;
  --green: #1e8e5a;
  --amber: #b07b12;
  --red: #c0392b;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 28, 51, .10);
  --shadow-lg: 0 24px 60px rgba(11, 28, 51, .18);
  --font-head: 'Archivo', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-2); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; color: var(--navy); letter-spacing: -0.02em; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  text-align: center;
  border: 0;
  border-radius: 10px;
  padding: 15px 30px;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  min-height: 48px;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.btn-gold { background: var(--gold); color: var(--navy); box-shadow: 0 8px 22px rgba(212, 169, 55, .35); }
.btn-gold:hover { background: var(--gold-2); }
.btn-navy { background: var(--navy-2); color: #fff; }
.btn-navy:hover { background: var(--navy-3); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.55); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold-2); }
.btn-block { display: block; width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 9px;
  background: linear-gradient(135deg, var(--gold), #b8912a);
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 900; font-size: 1.05rem; color: var(--navy);
}
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; color: #fff; line-height: 1.15; }
.brand-name span { display: block; font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); }
.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a { color: rgba(255,255,255,.85); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 8px 2px; }
.main-nav a:hover { color: var(--gold-2); }
.main-nav .btn { padding: 11px 20px; font-size: .9rem; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(212,169,55,.16), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 70%, #16305a 100%);
  color: #fff;
  padding: 84px 0 96px;
  position: relative;
  overflow: hidden;
}
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero-kicker {
  display: inline-block; font-weight: 700; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-2); background: rgba(212,169,55,.12); border: 1px solid rgba(212,169,55,.35);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 { color: #fff; font-size: clamp(2.3rem, 5.2vw, 3.7rem); font-weight: 900; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero p.lead { font-size: 1.15rem; color: rgba(255,255,255,.82); max-width: 34em; margin-bottom: 30px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; }
.hero-stat b { display: block; font-family: var(--font-head); font-size: 1.7rem; font-weight: 900; color: var(--gold); }
.hero-stat small { color: rgba(255,255,255,.65); font-size: .85rem; }

/* Signup card */
.signup-card {
  background: #fff; color: var(--ink);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 30px 28px;
}
.signup-card h3 { font-size: 1.35rem; margin-bottom: 6px; }
.signup-card > p { color: var(--slate); font-size: .93rem; margin-bottom: 18px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 600; font-size: .86rem; margin-bottom: 5px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; font: inherit; font-size: 1rem;
  border: 1.5px solid var(--line); border-radius: 9px; background: #fbfcfe; color: var(--ink);
  min-height: 46px;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,169,55,.2); }
.form-note { font-size: .78rem; color: var(--slate); margin-top: 10px; }
.form-status { margin-top: 12px; font-weight: 600; font-size: .92rem; display: none; }
.form-status.ok { display: block; color: var(--green); }
.form-status.err { display: block; color: var(--red); }

/* ---------- Sections ---------- */
.section { padding: 78px 0; }
.section-alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-dark { background: linear-gradient(160deg, var(--navy), var(--navy-2)); color: #fff; }
.section-dark h2 { color: #fff; }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow { font-weight: 700; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; display: block; }
.section-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 900; margin-bottom: 12px; }
.section-head p { color: var(--slate); font-size: 1.05rem; }
.section-dark .section-head p { color: rgba(255,255,255,.75); }

/* ---------- Deal cards ---------- */
.deals-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 26px; }
.deal-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}
.deal-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.deal-media { position: relative; aspect-ratio: 16 / 10; background: linear-gradient(140deg, var(--navy-2), var(--navy-3)); }
.deal-media img { width: 100%; height: 100%; object-fit: cover; }
.deal-media .placeholder {
  position: absolute; inset: 0; display: grid; place-items: center;
  color: rgba(255,255,255,.5); font-family: var(--font-head); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .8rem;
}
.deal-badge {
  position: absolute; top: 14px; left: 14px;
  font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px; color: #fff; background: var(--green);
}
.deal-badge.pending { background: var(--amber); }
.deal-badge.sold { background: var(--red); }
.deal-type {
  position: absolute; top: 14px; right: 14px;
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px; color: var(--navy); background: rgba(255,255,255,.92);
}
.deal-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.deal-price { font-family: var(--font-head); font-size: 1.65rem; font-weight: 900; color: var(--navy); }
.deal-price small { font-size: .8rem; font-weight: 600; color: var(--slate); margin-left: 4px; }
.deal-title { font-size: 1.06rem; font-weight: 700; margin: 6px 0 4px; }
.deal-title a { color: var(--navy); text-decoration: none; }
.deal-title a:hover { color: var(--navy-3); text-decoration: underline; }
.deal-loc { color: var(--slate); font-size: .9rem; margin-bottom: 14px; }
.deal-meta {
  display: flex; flex-wrap: wrap; gap: 8px 18px;
  padding: 12px 0; border-top: 1px solid var(--line);
  font-size: .88rem; color: var(--slate); margin-top: auto;
}
.deal-meta b { color: var(--ink); font-weight: 700; }
.deal-card .btn { margin-top: 14px; }

/* ---------- Single deal ---------- */
.deal-hero { background: linear-gradient(160deg, var(--navy), var(--navy-2)); color: #fff; padding: 54px 0 46px; }
.deal-hero h1 { color: #fff; font-size: clamp(1.7rem, 4vw, 2.6rem); font-weight: 900; margin: 10px 0 8px; }
.deal-hero .deal-loc { color: rgba(255,255,255,.75); font-size: 1.05rem; margin: 0; }
.deal-hero .deal-badge, .deal-hero .deal-type { position: static; display: inline-block; margin-right: 8px; }
.deal-hero .deal-type { background: rgba(255,255,255,.14); color: #fff; }
.single-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; padding: 50px 0 80px; }
.numbers-panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden;
}
.numbers-panel .np-head { background: var(--navy); color: #fff; padding: 16px 22px; font-family: var(--font-head); font-weight: 800; }
.numbers-panel table { width: 100%; border-collapse: collapse; }
.numbers-panel td { padding: 13px 22px; border-bottom: 1px solid var(--line); font-size: .95rem; }
.numbers-panel td:last-child { text-align: right; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--navy); }
.numbers-panel tr.hl td { background: rgba(212,169,55,.1); }
.numbers-panel tr.hl td:last-child { color: var(--amber); font-size: 1.05rem; }
.numbers-panel .np-cta { padding: 20px 22px; }
.deal-content { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 34px; }
.deal-content h2, .deal-content h3 { margin: 22px 0 10px; }
.deal-content h2:first-child, .deal-content h3:first-child { margin-top: 0; }
.deal-content p, .deal-content ul, .deal-content ol { margin-bottom: 14px; color: #2c3c57; }
.deal-content ul, .deal-content ol { padding-left: 22px; }
.deal-content img { border-radius: 10px; margin: 10px 0; }
.disclaimer { font-size: .8rem; color: var(--slate); margin-top: 18px; line-height: 1.55; }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 26px; }
.step { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 28px 24px; }
.step-num {
  width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center;
  background: var(--gold); color: var(--navy); font-family: var(--font-head); font-weight: 900; font-size: 1.15rem; margin-bottom: 16px;
}
.step h3 { color: #fff; font-size: 1.12rem; margin-bottom: 8px; }
.step p { color: rgba(255,255,255,.72); font-size: .93rem; }

/* ---------- Value props ---------- */
.props { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 26px; }
.prop { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow); }
.prop svg { width: 34px; height: 34px; stroke: var(--gold); margin-bottom: 14px; }
.prop h3 { font-size: 1.1rem; margin-bottom: 8px; }
.prop p { color: var(--slate); font-size: .93rem; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; padding: 84px 0; }
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 900; margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,.78); max-width: 36em; margin: 0 auto 30px; font-size: 1.08rem; }

/* ---------- Footer ---------- */
.site-footer { background: #081426; color: rgba(255,255,255,.7); padding: 56px 0 30px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; letter-spacing: .04em; }
.site-footer a { color: rgba(255,255,255,.7); text-decoration: none; }
.site-footer a:hover { color: var(--gold-2); }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 9px; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; font-size: .78rem; color: rgba(255,255,255,.45); line-height: 1.6; }

/* ---------- Archive / page ---------- */
.page-hero { background: linear-gradient(160deg, var(--navy), var(--navy-2)); color: #fff; padding: 58px 0; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4.5vw, 2.8rem); font-weight: 900; }
.page-hero p { color: rgba(255,255,255,.75); margin-top: 8px; max-width: 40em; }
.entry-content { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 40px; max-width: 860px; margin: 50px auto 80px; }
.entry-content h2, .entry-content h3 { margin: 24px 0 10px; }
.entry-content p, .entry-content ul, .entry-content ol { margin-bottom: 14px; }
.entry-content ul, .entry-content ol { padding-left: 22px; }
.empty-note { text-align: center; color: var(--slate); padding: 40px 0; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 44px; }
  .single-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: var(--navy); flex-direction: column; align-items: stretch; gap: 0;
    padding: 10px 20px 22px; border-bottom: 1px solid rgba(255,255,255,.1);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 4px; border-bottom: 1px solid rgba(255,255,255,.07); }
  .main-nav .btn { margin-top: 14px; }
  .hero { padding: 56px 0 64px; }
  .section { padding: 56px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
