/* Providential Support Services — site styles
   Design: trustworthy human-services nonprofit. Navy + warm gold. */

:root {
  --navy: #15375c;
  --navy-dark: #0f2840;
  --gold: #d99a2b;
  --gold-dark: #b97f1c;
  --teal: #2a7d7b;
  --ink: #1f2933;
  --slate: #52606d;
  --line: #e3e0d9;
  --paper: #f7f5f1;
  --white: #ffffff;
  --max: 1120px;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(15, 40, 64, 0.08);
  --font: "Segoe UI", Helvetica, Arial, system-ui, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
}
h1, h2, h3 { font-family: var(--serif); color: var(--navy); line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); margin: 0 0 .5em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); margin: 0 0 .6em; }
h3 { font-size: 1.25rem; margin: 0 0 .4em; }
p { margin: 0 0 1em; }
a { color: var(--navy); text-decoration-color: var(--gold); text-underline-offset: 3px; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section--tight { padding: 48px 0; }
.bg-white { background: var(--white); }
.bg-navy { background: var(--navy); color: #e7eef6; }
.bg-navy h1, .bg-navy h2, .bg-navy h3 { color: #fff; }
.center { text-align: center; }
.lead { font-size: 1.2rem; color: var(--slate); max-width: 60ch; }
.center .lead { margin-left: auto; margin-right: auto; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700; color: var(--gold-dark); margin: 0 0 .6em; }

/* Buttons */
.btn { display: inline-block; padding: 13px 26px; border-radius: 999px; font-weight: 600; text-decoration: none; transition: transform .15s ease, background .15s ease; }
.btn--gold { background: var(--gold); color: #2a1c00; }
.btn--gold:hover { background: var(--gold-dark); color: #fff; transform: translateY(-1px); }
.btn--ghost { border: 2px solid currentColor; color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-dark); }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.center .btn-row { justify-content: center; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(247,245,241,.95); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; max-width: var(--max); margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__mark { width: 42px; height: 42px; border-radius: 10px; background: url("../favicon.svg") center/contain no-repeat; flex: none; }
.brand__name { font-family: var(--serif); font-weight: 700; color: var(--navy); font-size: 1.1rem; line-height: 1.1; }
.brand__name span { display: block; font-family: var(--font); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); font-weight: 600; }
.nav__links { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav__links a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: .98rem; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--gold-dark); }
.nav__toggle { display: none; background: none; border: 0; font-size: 1.6rem; color: var(--navy); cursor: pointer; }

/* Hero */
.hero { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%); color: #e7eef6; padding: 84px 0; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -120px; top: -80px; width: 420px; height: 420px; background: radial-gradient(circle, rgba(217,154,43,.22), transparent 70%); }
.hero h1 { color: #fff; max-width: 16ch; }
.hero .lead { color: #c6d4e3; }
.badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(217,154,43,.16); color: #f0c87a; border: 1px solid rgba(217,154,43,.4); padding: 6px 14px; border-radius: 999px; font-size: .82rem; font-weight: 600; margin-bottom: 18px; }

/* Grid + cards */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.card__icon { width: 52px; height: 52px; border-radius: 12px; background: #eef3f8; color: var(--navy); display: grid; place-items: center; margin-bottom: 16px; }
.card__icon svg { width: 26px; height: 26px; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stat { text-align: center; }
.stat__num { font-family: var(--serif); font-size: 2.4rem; color: var(--gold); font-weight: 700; }
.stat__label { color: #c6d4e3; font-size: .95rem; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.panel { background: var(--white); border-left: 4px solid var(--gold); padding: 24px 28px; border-radius: 0 var(--radius) var(--radius) 0; box-shadow: var(--shadow); }

/* List */
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { padding: 8px 0 8px 32px; position: relative; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 700; }

/* Team */
.person { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; text-align: center; box-shadow: var(--shadow); }
.person__avatar { width: 84px; height: 84px; border-radius: 50%; background: var(--navy); color: var(--gold); display: grid; place-items: center; margin: 0 auto 14px; font-family: var(--serif); font-size: 1.8rem; font-weight: 700; }
.person__role { color: var(--gold-dark); font-weight: 600; font-size: .92rem; }

/* CTA band */
.cta { background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%); color: #2a1c00; text-align: center; }
.cta h2 { color: #2a1c00; }

/* Forms */
.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.field input, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; font: inherit; background: var(--paper); }
.field input:focus, .field textarea:focus { outline: 2px solid var(--navy); border-color: var(--navy); }

/* Info rows */
.info { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.info svg { width: 22px; height: 22px; color: var(--gold-dark); flex: none; margin-top: 3px; }
.placeholder { background: #fff7e6; border: 1px dashed var(--gold-dark); color: #7a5a10; padding: 2px 8px; border-radius: 6px; font-size: .85em; font-weight: 600; }

/* Footer */
.site-footer { background: var(--navy-dark); color: #aebfd0; padding: 56px 0 28px; font-size: .95rem; }
.site-footer h4 { color: #fff; font-family: var(--font); font-size: 1rem; margin: 0 0 14px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 36px; margin-bottom: 32px; }
.site-footer a { color: #c6d4e3; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .85rem; color: #8aa0b8; }
.legal { font-size: .82rem; color: #8aa0b8; }

/* Responsive */
@media (max-width: 860px) {
  .grid--3, .grid--4 { grid-template-columns: 1fr 1fr; }
  .split, .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .nav__toggle { display: block; }
  .nav__links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: var(--paper); border-bottom: 1px solid var(--line); padding: 16px 24px; gap: 14px; }
  .nav__links.open { display: flex; }
}
@media (max-width: 560px) {
  .grid--3, .grid--4, .grid--2, .stats { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
}
