/* ============================================================
   JTG Capital Group — brand system
   Deep forest #2E7D46 · Light green #5CB874 · Dark #246A39
   Display: Bitter (slab serif) · Body: Public Sans
   ============================================================ */

:root {
  --forest: #2E7D46;
  --forest-dark: #246A39;
  --leaf: #5CB874;
  --ink: #1C2A20;
  --ink-soft: #45564B;
  --paper: #F7F5EF;
  --card: #FFFFFF;
  --line: #DDE3DA;
  --brass: #B98A45;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

body {
  font-family: "Public Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
}

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

h1, h2, h3, .logo { font-family: "Bitter", Georgia, serif; }

a { color: var(--forest-dark); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid var(--leaf);
  outline-offset: 2px;
}

/* ---------- header ---------- */
.site-header {
  background: var(--forest-dark);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 10px rgba(20, 40, 28, 0.25);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.logo { display: flex; align-items: baseline; gap: 8px; text-decoration: none; color: #fff; }
.logo-mark {
  font-weight: 800;
  font-size: 1.7rem;
  letter-spacing: 0.02em;
  background: #fff;
  color: var(--forest-dark);
  padding: 1px 9px;
  border-radius: 4px;
}
.logo-text { font-weight: 600; font-size: 1.15rem; letter-spacing: 0.01em; }
.header-right { display: flex; align-items: center; gap: 18px; }
.header-tag { font-size: 0.82rem; opacity: 0.85; }
.phone-btn {
  background: var(--leaf);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  padding: 9px 16px;
  border-radius: 6px;
  white-space: nowrap;
  transition: background 0.15s ease;
}
.phone-btn:hover { background: #6cc785; }

/* ---------- hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--forest-dark) 0%, var(--forest) 60%, #3a9257 100%);
  color: #fff;
  padding: 64px 0 72px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: start;
}
.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--leaf);
  margin-bottom: 14px;
}
.eyebrow.center { text-align: center; color: var(--forest); }
.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 18px;
  text-wrap: balance;
}
.hero-sub { font-size: 1.08rem; max-width: 34em; opacity: 0.95; margin-bottom: 22px; }
.hero-bullets { list-style: none; margin-bottom: 22px; }
.hero-bullets li {
  padding-left: 30px;
  position: relative;
  margin-bottom: 10px;
}
.hero-bullets li::before {
  content: "";
  position: absolute;
  left: 0; top: 6px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--leaf);
  box-shadow: inset 0 0 0 3px var(--forest-dark);
}
.hero-call { font-size: 0.98rem; }
.hero-call a { color: #fff; font-weight: 700; }

/* ---------- form card ---------- */
.form-card {
  background: var(--card);
  color: var(--ink);
  border-radius: 12px;
  padding: 28px 26px;
  box-shadow: 0 16px 40px rgba(15, 35, 22, 0.35);
}
.form-card h2 { font-size: 1.5rem; margin-bottom: 4px; }
.form-sub { font-size: 0.92rem; color: var(--ink-soft); margin-bottom: 18px; }
.hidden-field { display: none; }
.field { margin-bottom: 14px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field label { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 5px; }
.field input, .field select {
  width: 100%;
  padding: 11px 12px;
  border: 1.5px solid var(--line);
  border-radius: 7px;
  font: inherit;
  font-size: 0.95rem;
  background: #fff;
  color: var(--ink);
}
.field input:focus, .field select:focus { border-color: var(--forest); }
.consent { margin-top: 4px; }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-weight: 400 !important; }
.checkbox input { width: auto; margin-top: 4px; flex-shrink: 0; }
.checkbox span { font-size: 0.78rem; color: var(--ink-soft); line-height: 1.5; }
.btn-primary {
  display: inline-block;
  width: 100%;
  text-align: center;
  background: var(--forest);
  color: #fff;
  font-family: inherit;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 14px 22px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease;
}
.btn-primary:hover { background: var(--forest-dark); }
.form-fine { font-size: 0.8rem; color: var(--ink-soft); margin-top: 10px; text-align: center; }

/* ---------- trust strip ---------- */
.trust-strip { background: var(--ink); color: #E8EFE9; padding: 18px 0; }
.trust-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 40px;
  justify-content: center;
  font-size: 0.92rem;
}
.trust-inner strong { color: var(--leaf); }

/* ---------- sections shared ---------- */
section { scroll-margin-top: 80px; }
.section-title {
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 14px;
  text-wrap: balance;
}
.section-title.left { text-align: left; }
.section-sub {
  text-align: center;
  max-width: 44em;
  margin: 0 auto 40px;
  color: var(--ink-soft);
}

/* ---------- exits ---------- */
.exits { padding: 72px 0; }
.exit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.exit-card {
  background: var(--card);
  border: 1.5px solid var(--line);
  border-top: 5px solid var(--forest);
  border-radius: 10px;
  padding: 22px 20px;
}
.exit-card:nth-child(2) { border-top-color: var(--leaf); }
.exit-card:nth-child(3) { border-top-color: var(--brass); }
.exit-card:nth-child(4) { border-top-color: var(--ink-soft); }
.exit-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--forest-dark);
  background: #E7F2EA;
  padding: 3px 9px;
  border-radius: 99px;
  margin-bottom: 12px;
}
.exit-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.exit-card p { font-size: 0.92rem; color: var(--ink-soft); }

/* ---------- situations ---------- */
.situations { background: #EEF2EA; padding: 72px 0; }
.sit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 32px;
}
.sit {
  background: var(--card);
  border-radius: 10px;
  padding: 22px 20px;
  border: 1.5px solid var(--line);
}
.sit h3 { font-size: 1.05rem; margin-bottom: 8px; color: var(--forest-dark); }
.sit p { font-size: 0.92rem; color: var(--ink-soft); }

/* ---------- steps ---------- */
.steps { padding: 72px 0; }
.steps-list {
  counter-reset: step;
  list-style: none;
  max-width: 720px;
  margin: 36px auto 0;
}
.steps-list li {
  counter-increment: step;
  position: relative;
  padding: 0 0 34px 70px;
}
.steps-list li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 24px; top: 52px; bottom: 6px;
  width: 2px;
  background: var(--line);
}
.steps-list li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: 0;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--forest);
  color: #fff;
  font-family: "Bitter", serif;
  font-weight: 800;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.steps-list h3 { font-size: 1.15rem; margin-bottom: 6px; }
.steps-list p { color: var(--ink-soft); }

/* ---------- about ---------- */
.about { background: var(--forest-dark); color: #F0F5F0; padding: 72px 0; }
.about .section-title { color: #fff; }
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: start;
}
.about p { margin-bottom: 16px; opacity: 0.95; }
.about .eyebrow { color: var(--leaf); }
.counties-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  padding: 26px 24px;
}
.counties-card h3 { font-size: 1.2rem; margin-bottom: 4px; }
.counties-sub { font-size: 0.88rem; opacity: 0.8; margin-bottom: 14px; }
.county-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px 12px;
}
.county-list li {
  font-size: 0.95rem;
  font-weight: 600;
  padding-left: 16px;
  position: relative;
}
.county-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 7px; height: 7px;
  border-radius: 2px;
  background: var(--leaf);
}

/* ---------- faq ---------- */
.faq { padding: 72px 0; }
.faq details {
  max-width: 760px;
  margin: 0 auto 12px;
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 0 20px;
}
.faq summary {
  font-family: "Bitter", serif;
  font-weight: 700;
  font-size: 1.02rem;
  padding: 16px 0;
  cursor: pointer;
  list-style-position: outside;
}
.faq details[open] summary { border-bottom: 1.5px solid var(--line); }
.faq details p { padding: 14px 0 18px; color: var(--ink-soft); }

/* ---------- final CTA ---------- */
.final-cta {
  background: var(--forest);
  color: #fff;
  text-align: center;
  padding: 64px 0;
}
.final-cta h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 800; margin-bottom: 10px; }
.final-cta p { opacity: 0.95; margin-bottom: 26px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.final-cta .btn-primary { width: auto; background: #fff; color: var(--forest-dark); }
.final-cta .btn-primary:hover { background: var(--paper); }
.btn-ghost {
  display: inline-block;
  border: 2px solid rgba(255, 255, 255, 0.7);
  color: #fff;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s ease;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #C8D3CA; padding: 48px 0 28px; font-size: 0.9rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1.2fr 0.6fr;
  gap: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-logo { font-family: "Bitter", serif; font-weight: 800; font-size: 1.15rem; color: #fff; margin-bottom: 8px; }
.footer-head { font-weight: 700; color: #fff; margin-bottom: 8px; }
.site-footer a { color: var(--leaf); }
.site-footer p { margin-bottom: 8px; }
.footer-disclosure { padding-top: 22px; font-size: 0.78rem; opacity: 0.75; line-height: 1.6; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .about-grid { grid-template-columns: 1fr; }
  .exit-grid { grid-template-columns: 1fr 1fr; }
  .sit-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .header-tag { display: none; }
}
@media (max-width: 560px) {
  .exit-grid, .sit-grid, .field-row { grid-template-columns: 1fr; }
  .hero { padding: 44px 0 56px; }
  .logo-text { display: none; }
  body { font-size: 16px; }
}

/* ---------- polish round ---------- */
.logo img { display: block; height: 104px; width: auto; }

.exit-card, .sit {
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.exit-card:hover, .sit:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(20, 40, 28, 0.13);
  border-color: transparent;
}

.btn-primary, .phone-btn, .btn-ghost {
  transition: background 0.15s ease, transform 0.12s ease, box-shadow 0.15s ease;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(36, 106, 57, 0.3); }
.phone-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25); }
.btn-ghost:hover { transform: translateY(-1px); }

.hero { position: relative; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  top: -32%; right: -10%;
  width: 680px; height: 680px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(92, 184, 116, 0.3) 0%, rgba(92, 184, 116, 0) 65%);
  pointer-events: none;
}
.hero .wrap { position: relative; }

.form-card { border-top: 5px solid var(--leaf); }

.trust-strip { border-top: 3px solid var(--leaf); }

.faq details { transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.faq details:hover { border-color: var(--forest); }
.faq summary::marker { color: var(--forest); }

.section-title { letter-spacing: -0.01em; }

.county-list li::before { border-radius: 50%; }

@media (max-width: 560px) {
  .logo img { height: 76px; }
}

/* ---------- rebrand round: skyline + hero ---------- */
.hero { padding: 64px 0 72px; }
.hero-skyline {
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  line-height: 0;
  pointer-events: none;
}
.hero-skyline svg { width: 100%; height: 120px; display: block; opacity: 0.9; }

.hero-promise {
  background: rgba(255, 255, 255, 0.1);
  border-left: 4px solid var(--leaf);
  border-radius: 0 8px 8px 0;
  padding: 12px 16px;
  font-size: 0.98rem;
  margin-bottom: 18px;
  max-width: 34em;
}

.header-inner { padding-top: 10px; padding-bottom: 10px; justify-content: center; }

@media (max-width: 560px) {
  .hero { padding: 44px 0 56px; }
  .hero-skyline svg { height: 70px; }
}

/* ---------- skyline header ---------- */
.site-header { position: relative; overflow: hidden; }
.header-inner {
  position: relative;
  z-index: 2;
  padding-top: 20px;
  padding-bottom: 74px;
}
.header-skyline {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  z-index: 1;
  line-height: 0;
  pointer-events: none;
}
.header-skyline svg { width: 100%; height: 132px; display: block; }
.header-skyline path { fill: #163F22; }

@media (max-width: 560px) {
  .header-skyline svg { height: 78px; }
  .header-inner { padding-top: 14px; padding-bottom: 48px; }
  .logo img { height: 76px; }
}
