/* Veteran Service Coalition — shared site styles */

:root {
  --navy: #0a1a2c;
  --navy-2: #122a44;
  --navy-3: #1b3a5c;
  --blue: #3f7ac4;
  --red: #b3272d;
  --red-bright: #d03c3c;
  --gold: #c9a227;
  --off-white: #f4f1ea;
  --text: #eef1f5;
  --muted: rgba(238, 241, 245, 0.72);
  --muted-2: rgba(238, 241, 245, 0.5);
  --border: rgba(238, 241, 245, 0.14);
  --max: 1120px;
  --serif: Georgia, 'Times New Roman', Times, serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--navy);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

/* ── HEADER / NAV ─────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 26, 44, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--max);
  margin: 0 auto;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand img { width: 58px; height: 58px; }

.brand-text {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.03em;
  line-height: 1.15;
}

.brand-text span { display: block; font-size: 0.6rem; letter-spacing: 0.18em; color: var(--gold); font-family: var(--sans); font-weight: 600; margin-top: 2px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 0.92rem;
  color: var(--muted);
  font-weight: 500;
  transition: color 0.15s;
  white-space: nowrap;
}

.nav-links a:hover, .nav-links a.active { color: var(--text); }

.nav-links a.active { color: var(--gold); }

.btn {
  display: inline-block;
  padding: 11px 22px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  text-align: center;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.12s, background 0.15s, border-color 0.15s;
}

.btn:active { transform: scale(0.98); }

.btn-gold { background: var(--gold); color: #1a1403; }
.btn-gold:hover { background: #ddb52d; }

.btn-outline { border-color: var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--text); }

.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-bright); }

.nav-cta { flex-shrink: 0; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
}

.mobile-donate { display: none; }

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 90px 24px 80px;
  background:
    radial-gradient(ellipse at 20% -10%, rgba(63, 122, 196, 0.25), transparent 55%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 55%, var(--navy-3) 100%);
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.025) 0 2px, transparent 2px 60px);
  pointer-events: none;
}

.hero-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 18px;
}

.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--gold); }

h1.display {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.08;
  font-weight: 700;
  margin-bottom: 22px;
}

.hero p.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--muted);
  max-width: 540px;
  margin-bottom: 32px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-seal {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-seal .seal-plate {
  background: radial-gradient(circle at 35% 30%, #fff 0%, #ede7d8 60%, #ddd5bf 100%);
  border-radius: 50%;
  padding: 10px;
  box-shadow: 0 30px 70px -20px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.08);
  width: min(470px, 100%);
}

.hero-seal img { width: 100%; height: 100%; }

/* ── PAGE HERO (interior pages) ───────────────────────────── */
.page-hero {
  padding: 64px 24px 48px;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.page-hero h1 { font-family: var(--serif); font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 14px; }
.page-hero p { color: var(--muted); max-width: 640px; margin: 0 auto; font-size: 1.05rem; }

/* ── SECTIONS ─────────────────────────────────────────────── */
section { padding: 72px 24px; }

.section-dark { background: var(--navy); }
.section-raised { background: var(--navy-2); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head h2 { font-family: var(--serif); font-size: clamp(1.7rem, 3.4vw, 2.3rem); margin-bottom: 14px; }
.section-head p { color: var(--muted); }

.divider-gold { width: 56px; height: 3px; background: var(--gold); margin: 0 auto 22px; }

/* ── VALUES / MISSION STRIP ───────────────────────────────── */
.mission-quote {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.2rem, 2.4vw, 1.5rem);
  color: var(--off-white);
  line-height: 1.5;
}

.values-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.value-chip {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 24px;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}

/* ── CARDS / GRID ─────────────────────────────────────────── */
.grid {
  display: grid;
  gap: 24px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--navy-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 32px 28px;
}

.card h3 { font-family: var(--serif); font-size: 1.25rem; margin-bottom: 12px; color: var(--off-white); }
.card p { color: var(--muted); font-size: 0.96rem; }
.card a.card-link { display: inline-block; margin-top: 16px; color: var(--gold); font-weight: 700; font-size: 0.88rem; }

.badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 14px;
}

.badge-active { background: rgba(63, 122, 196, 0.18); color: #8fb8e8; }
.badge-dev { background: rgba(201, 162, 39, 0.16); color: var(--gold); }

/* ── IMPACT / STATS ───────────────────────────────────────── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.stat .num { font-family: var(--serif); font-size: clamp(2.2rem, 5vw, 3rem); color: var(--gold); font-weight: 700; }
.stat .label { color: var(--muted); font-size: 0.9rem; margin-top: 6px; }

.honesty-note {
  max-width: 680px;
  margin: 28px auto 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
  padding: 18px 22px;
  border-left: 3px solid var(--gold);
  background: rgba(201, 162, 39, 0.06);
  text-align: left;
}

/* ── CTA BANNER ───────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(120deg, var(--navy-3), var(--navy-2));
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 44px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.cta-banner h3 { font-family: var(--serif); font-size: 1.5rem; margin-bottom: 8px; }
.cta-banner p { color: var(--muted); max-width: 440px; }

/* ── TEAM ─────────────────────────────────────────────────── */
.team-card {
  text-align: center;
}

.team-avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  margin: 0 auto 18px;
  background: linear-gradient(135deg, var(--navy-3), var(--blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--off-white);
  border: 2px solid var(--gold);
}

.team-card h3 { margin-bottom: 4px; }
.team-card .role { color: var(--gold); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 12px; }

/* ── RESOURCE LIST (Get Help) ─────────────────────────────── */
.resource {
  display: flex;
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid var(--border);
}

.resource:last-child { border-bottom: none; }

.resource .icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--navy-3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.resource h3 { font-size: 1.1rem; margin-bottom: 6px; }
.resource p { color: var(--muted); font-size: 0.94rem; margin-bottom: 6px; }
.resource a.rlink { color: var(--blue); font-weight: 600; font-size: 0.92rem; }

.crisis-banner {
  background: linear-gradient(120deg, rgba(179,39,45,0.18), rgba(179,39,45,0.05));
  border: 1px solid rgba(179,39,45,0.4);
  border-radius: 12px;
  padding: 28px 30px;
  margin-bottom: 20px;
}

.crisis-banner h2 { font-family: var(--serif); font-size: 1.4rem; margin-bottom: 10px; color: #ff9b9b; }
.crisis-banner p { color: var(--text); margin-bottom: 4px; }
.crisis-banner .big { font-size: 1.6rem; font-weight: 700; font-family: var(--serif); color: #fff; }

/* ── CONTACT ──────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
}

.contact-direct .item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 26px;
}

.contact-direct .icon {
  width: 42px; height: 42px; border-radius: 8px;
  background: var(--navy-3);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.contact-direct h3 { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 4px; }
.contact-direct a, .contact-direct p { font-size: 1.05rem; font-weight: 600; }

form.vform { display: flex; flex-direction: column; gap: 14px; }

.vform label { font-size: 0.82rem; color: var(--muted); display: block; margin-bottom: 6px; }

.vform input[type="text"],
.vform input[type="email"],
.vform textarea {
  width: 100%;
  padding: 13px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-family: var(--sans);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.15s;
}

.vform input:focus, .vform textarea:focus { border-color: var(--gold); }

.vform textarea { resize: vertical; min-height: 90px; }

.checkbox-row { display: flex; flex-wrap: wrap; gap: 10px; }

.checkbox-chip {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.85rem;
  cursor: pointer;
  user-select: none;
  transition: all 0.15s;
}

.checkbox-chip input { display: none; }
.checkbox-chip.checked, .checkbox-chip:has(input:checked) {
  background: rgba(201,162,39,0.15);
  border-color: var(--gold);
  color: var(--gold);
}

.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--navy-2);
}

.form-success h3 { font-family: var(--serif); font-size: 1.4rem; margin-bottom: 10px; }
.form-success p { color: var(--muted); }

/* ── DONATE ───────────────────────────────────────────────── */
.donate-box {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  background: var(--navy-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 44px 36px;
}

.donate-box p { color: var(--muted); margin-bottom: 24px; }

/* ── SIGNUP / FOOTER ──────────────────────────────────────── */
.signup {
  text-align: center;
  padding: 56px 24px;
  background: var(--navy-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.signup h2 { font-family: var(--serif); font-size: 1.5rem; margin-bottom: 10px; }
.signup p { color: var(--muted); margin-bottom: 24px; }

.signup-form { display: flex; gap: 10px; max-width: 420px; margin: 0 auto; }
.signup-form input {
  flex: 1;
  padding: 13px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-family: var(--sans);
}

footer {
  padding: 48px 24px 32px;
  background: var(--navy);
}

.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 56px; height: 56px; }

.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); font-size: 0.9rem; }
.footer-links a:hover { color: var(--text); }

.social-row { display: flex; gap: 14px; }
.social-row a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  font-size: 0.9rem;
  transition: all 0.15s;
}
.social-row a:hover { border-color: var(--gold); color: var(--gold); }

.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted-2);
  font-size: 0.82rem;
}

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-seal { order: -1; max-width: 320px; margin: 0 auto 10px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 1000px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .menu-toggle { display: block; }
  .mobile-donate { display: block; margin-top: 4px; }
  .mobile-donate a { color: var(--gold); font-weight: 700; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy-2);
    flex-direction: column;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    gap: 18px;
  }
}

@media (max-width: 760px) {
  .cta-banner { flex-direction: column; text-align: center; }
  .signup-form { flex-direction: column; }
  .footer-grid, .footer-bottom { flex-direction: column; align-items: flex-start; }
}
