/*
Theme Name: VVets
Theme URI: https://tvvf.org
Description: Custom theme for The Venerable Veterans Foundation. Fully content-managed via ACF Pro — pages, header/footer, donations, and forms are editable from the dashboard.
Author: TVVF
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: vvets
*/

/* ============================================
   VVets — The Venerable Veterans Foundation
   Global shared styles (header, nav, footer,
   buttons, typography, shared components).
   Page-specific styles live inline in each
   page template.
   ============================================ */

:root {
  --navy-900: #0f2a5b;
  --navy-800: #163472;
  --navy-700: #1c4296;
  --navy-600: #2456b8;
  --navy-500: #3a6dd1;
  --blue-100: #e9eff8;
  --blue-50: #f4f7fb;
  --red:     #e63946;
  --red-dark:#c4242f;
  --ink:     #1b2333;
  --muted:   #5a6478;
  --line:    #e3e8f0;
  --white:   #ffffff;
  --shadow-sm: 0 2px 8px rgba(15,42,91,0.06);
  --shadow-md: 0 8px 24px rgba(15,42,91,0.10);
  --shadow-lg: 0 16px 48px rgba(15,42,91,0.14);
  --radius:  10px;
  --radius-lg: 14px;
  --container: 1200px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--navy-900);
  letter-spacing: -0.01em;
  margin: 0;
}
h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1.1; }
h2 { font-size: clamp(1.7rem, 2.6vw, 2.4rem); line-height: 1.15; }
h3 { font-size: 1.25rem; }
p  { margin: 0 0 1rem; color: #1c4296; }
a  { color: var(--navy-700); text-decoration: none; }
img { max-width: 100%; display: block; }

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

/* ---------- TOP UTILITY BAR ---------- */
.utility-bar {
  position: absolute;
  top: 14px;
  right: 24px;
  display: flex;
  gap: 22px;
  font-size: 0.85rem;
  color: #fff;
  z-index: 5;
}
.utility-bar a { color: #fff; opacity: .9; display: inline-flex; gap: 6px; align-items: center; }
.utility-bar a:hover { opacity: 1; }

/* ---------- HEADER / NAV ---------- */
.site-header {
  position: relative;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 60%, var(--navy-600) 100%);
  color: #fff;
  padding-top: 44px;
}
.nav {
  max-width: 100%;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 24px;
  position: relative;
  z-index: 5;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
/* Brand is a link in the header; keep its text white, not the global link navy. */
.site-header .brand,
.site-header .brand .name,
.site-header .brand .tag {
  color: #fff;
  text-decoration: none;
}
.brand-mark {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 2px solid #fff;
  display: grid; place-items: center;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 1px;
  color: #fff;
  background: rgba(255,255,255,0.04);
}
.brand-text { line-height: 1.15; }
.brand-text .name {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 600;
  display: block;
}
.brand-text .tag {
  font-size: 0.7rem;
  letter-spacing: 2px;
  opacity: 0.85;
  text-transform: uppercase;
}
.nav-links {
  margin-left: auto;
  margin-right: 32px;
  display: flex;
  gap: 28px;
  list-style: none;
  padding: 0;
}
.nav-links a {
  color: #fff;
  font-size: 0.95rem;
  position: relative;
  padding: 4px 0;
}
.nav-links a.active::after,
.nav-links li.current-menu-item > a::after,
.nav-links a:hover::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 0;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, color .2s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); color: #fff; }
.btn-outline-white { background: transparent; color: #fff; border: 1.5px solid #fff; }
.btn-outline-white:hover { background: #fff; color: var(--navy-700); }
.btn-outline-blue { background: transparent; color: var(--navy-700); border: 1.5px solid var(--navy-700); }
.btn-outline-blue:hover { background: var(--navy-700); color: #fff; }
.btn-blue { background: var(--navy-700); color: #fff; }
.btn-blue:hover { background: var(--navy-800); color: #fff; }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 55%, var(--navy-600) 100%);
  color: #fff;
  overflow: hidden;
  min-height: 580px;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 65%; height: 100%;
  background-image: url('assets/images/flag-bg.jpg');
  background-size: 110% auto;
  background-position: -5% center;
  background-repeat: no-repeat;
  opacity: 0.32;
  -webkit-mask-image: linear-gradient(to right, #000 0%, #000 30%, transparent 95%);
          mask-image: linear-gradient(to right, #000 0%, #000 30%, transparent 95%);
  pointer-events: none;
  z-index: 1;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(15, 42, 91, 0.65) 0%, rgba(28, 66, 150, 0.55) 55%, rgba(28, 66, 150, 0.4) 100%);
  pointer-events: none;
  z-index: 1;
}
.hero-photo-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 58%;
  height: 100%;
  background-size: cover;
  background-position: center;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 12%, #000 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 12%, #000 100%);
  z-index: 2;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 70px 24px 70px;
  max-width: var(--container);
  margin: 0 auto;
  position: relative;
  z-index: 2;
  min-height: 580px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 20px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 2px;
  background: var(--red);
}
.eyebrow .star { color: var(--red); }
.hero h1 { color: #fff; }
.hero h1 .accent { color: #92baf0; }
.hero p.lead {
  max-width: 480px;
  font-size: 1.05rem;
  margin: 18px 0 28px;
  color: #fff !important;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* "WHAT WE DELIVER" floating card */
.deliver-card {
  position: absolute;
  right: 24px;
  bottom: 28px;
  width: 48%;
  max-width: 520px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 14px 36px rgba(10, 25, 60, 0.28);
  padding: 14px 20px 14px;
  z-index: 3;
}
.deliver-card .label {
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.deliver-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}
.deliver-card .item {
  text-align: center;
  padding: 4px 4px;
}
.deliver-card .icon-circle {
  width: 38px; height: 38px;
  border: 1.5px solid var(--navy-700);
  border-radius: 50%;
  display: grid; place-items: center;
  margin: 0 auto 6px;
  color: var(--navy-700);
}
.deliver-card .icon-circle svg { width: 18px; height: 18px; }
.deliver-card .icon-circle-filled {
  background: var(--navy-700);
  color: #fff;
  border-color: var(--navy-700);
}
.deliver-card .item-title {
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--navy-900);
  line-height: 1.2;
}

/* ---------- SECTION COMMONS ---------- */
section { padding: 70px 0; }
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--navy-700);
  margin-bottom: 12px;
}
.section-eyebrow::before,
.section-eyebrow.center::after {
  content: ""; width: 24px; height: 2px; background: var(--red);
}
.center-title { text-align: center; }
.center-title .section-eyebrow { justify-content: center; }
.center-title .section-eyebrow::before { display: inline-block; }

/* ---------- MISSION SPLIT ---------- */
.mission {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr;
  gap: 50px;
  align-items: stretch;
}
.mission-text { display: flex; flex-direction: column; justify-content: center; }
.mission-image-wrap {
  position: relative;
  min-height: 100%;
}
.mission-image-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  display: block;
}
.mission p { color: var(--navy-700); }
.mission-text h2 + p { margin-top: 18px; }

/* ---------- SERVICES GRID ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 40px;
  text-align: left;
}
.svc-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px 22px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  text-align: left;
  display: flex;
  flex-direction: column;
}
.svc-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.svc-card .svc-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.svc-card .icon-square {
  width: 42px; height: 42px;
  border-radius: 8px;
  background: var(--blue-50);
  color: var(--navy-700);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.svc-card h3 { font-size: 1.1rem; margin: 0; }
.svc-card p { color: var(--muted); font-size: 0.92rem; margin-bottom: 14px; flex: 1; }
.svc-card .more {
  color: var(--navy-700);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex; gap: 6px; align-items: center;
}

/* ---------- IMPACT BAR ---------- */
.impact-bar {
  background: #1c2b3a;
  color: #fff;
  border-radius: 12px;
  padding: 35px 20px 25px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 25px;
  position: relative;
}
.impact-bar .label {
  position: absolute;
  top: -14px; left: 50%; transform: translateX(-50%);
  background: #1c2b3a;
  color: #fff;
  padding: 4px 18px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  white-space: nowrap;
  border: 1px solid rgba(255,255,255,0.2);
}
.impact-item {
  display: flex; align-items: center; gap: 15px; min-width: 200px;
}
.impact-item .icon-circle-light {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: grid; place-items: center;
  flex-shrink: 0;
  color: #fff;
}
.impact-item .icon-circle-light svg { width: 34px; height: 34px; }
.impact-item .impact-text { font-size: 18px; font-weight: 700; color: #fff; line-height: 1.1; }
.impact-divider { width: 1px; height: 50px; background: rgba(255,255,255,0.2); }

/* ---------- WHY CHOOSE ---------- */
.why {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: stretch;
}
.why-image-wrap {
  position: relative;
  min-height: 100%;
}
.why-image-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  display: block;
}
.why-text { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.why img { border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.why ul { list-style: none; padding: 0; margin: 18px 0 24px; }
.why li {
  display: grid; grid-template-columns: 24px 1fr; gap: 12px;
  margin-bottom: 14px;
  font-size: 0.95rem;
}
.why li .check {
  width: 22px; height: 22px;
  background: var(--navy-700);
  color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 0.7rem;
  font-weight: 700;
  margin-top: 2px;
}
.why li b { display: block; color: var(--navy-900); margin-bottom: 2px; }
.why li span.txt { color: var(--navy-700); font-size: 0.9rem; }

/* ---------- TESTIMONIALS ---------- */
.testimonials {
  background: var(--blue-50);
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 36px;
}
.tcard {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  position: relative;
  display: flex;
  flex-direction: column;
}
.tcard .quote-mark {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  color: var(--navy-700);
  line-height: 1;
  position: absolute;
  top: 14px; left: 22px;
  opacity: 0.85;
}
.tcard p { padding-top: 32px; color: #1b2333; font-size: 0.95rem; font-style: italic; text-align: justify; hyphens: auto; }
.tcard .author {
  display: flex; align-items: center; gap: 12px;
  margin-top: auto;
  padding-top: 14px;
}
.avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c8a35a, #856528);
  display: grid; place-items: center;
  color: #fff; font-weight: 600;
}
.author .name { font-weight: 600; color: #1c4296; font-size: 0.92rem; text-align: left; }
.author .role { color: #1c4296; font-size: 0.82rem; }

/* ---------- VALUES (about page) ---------- */
.values {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: -60px;
  position: relative;
  z-index: 4;
}
.value-item {
  padding: 28px 22px;
  text-align: center;
  border-right: 1px solid var(--line);
}
.value-item:last-child { border-right: 0; }
.value-item .icon-circle {
  width: 50px; height: 50px;
  border-radius: 50%;
  border: 1.5px solid var(--navy-700);
  color: var(--navy-700);
  display: grid; place-items: center;
  margin: 0 auto 14px;
}
.value-item h4 { font-size: 1.1rem; margin-bottom: 6px; color: var(--navy-900); }
.value-item p { color: #1c4296; font-size: 0.88rem; margin: 0; }

/* ---------- DIFFERENTIATORS ---------- */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 36px;
}
.diff-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  text-align: center;
}
.diff-card .icon-fill {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--navy-700);
  color: #fff;
  display: grid; place-items: center;
  margin: 0 auto 14px;
}
.diff-card h4 { color: var(--navy-900); margin-bottom: 6px; font-size: 1.05rem; }
.diff-card p { color: #1c4296; font-size: 0.88rem; margin: 0; }

/* ---------- FOUNDERS / TRUST ---------- */
.founders-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 30px;
  align-items: stretch;
  margin-top: 30px;
}
.founders {
  background: var(--blue-50);
  padding: 30px;
  border-radius: var(--radius);
}
.founders p { color: var(--navy-700); }
.founder-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 1.2rem;
}
.founder {
  background: #fff;
  border: 1px solid #B5D4F4;
  border-left: 4px solid #185FA5;
  border-radius: 10px;
  padding: 1rem 1.2rem;
}
.founder .fname {
  font-size: 15px;
  font-weight: 600;
  color: #0f2a5b;
  margin: 0 0 4px;
}
.founder .frole {
  font-size: 13px;
  color: #5a6478;
  margin: 0;
}

.trust {
  background: #fff;
  border: 1px solid var(--line);
  padding: 26px;
  border-radius: var(--radius);
}
.trust h3 { display: flex; align-items: center; gap: 10px; }
.trust ul { list-style: none; padding: 0; margin: 16px 0 0; }
.trust li {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 0;
  font-size: 0.92rem;
  color: var(--navy-700);
}
.trust li svg { color: var(--navy-700); flex-shrink: 0; }

/* ---------- CTA STRIP ---------- */
.cta-strip {
  background: var(--blue-50);
  border-radius: var(--radius);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0 0 0;
}
.cta-strip .cta-icon {
  width: 50px; height: 50px;
  display: grid; place-items: center;
  color: var(--navy-700);
}
.cta-strip .cta-text { flex: 1; }
.cta-strip h3 { font-size: 1.2rem; margin-bottom: 4px; }
.cta-strip p { margin: 0; color: var(--muted); font-size: 0.9rem; }
.cta-strip .ctas { display: flex; gap: 12px; }

/* Short hero (used on contact, pillar pages) */
.hero-short { min-height: 380px; }
.hero-short .hero-grid { min-height: 380px; padding: 60px 24px; }
.hero-grid-centered { grid-template-columns: 1fr; max-width: 800px; text-align: center; }
.hero-grid-centered .eyebrow { justify-content: center; }
.hero-grid-centered .eyebrow::before { display: none; }

/* ---------- DONATE PAGE ---------- */
.donate-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}
.gift-impact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gift-item { text-align: center; }
.gift-item .icon-circle {
  width: 50px; height: 50px;
  border: 1.5px solid var(--navy-700);
  color: var(--navy-700);
  border-radius: 50%;
  display: grid; place-items: center;
  margin: 0 auto 12px;
}
.gift-item h4 { color: var(--navy-700); font-size: 1rem; margin-bottom: 6px; font-family: 'Playfair Display', serif; }
.gift-item p { color: var(--muted); font-size: 0.85rem; margin: 0; }

.donate-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-md);
}
.donate-card h3 { text-align: center; color: var(--navy-700); margin-bottom: 20px; }
.toggle-row { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; margin-bottom: 16px; }
.toggle-row button {
  padding: 12px;
  border: 0;
  background: #fff;
  cursor: pointer;
  font-weight: 600;
  color: var(--muted);
  font-size: 0.95rem;
}
.toggle-row button.active { background: var(--navy-700); color: #fff; }
.amount-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}
.amount-grid button {
  padding: 12px 0;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  color: var(--ink);
}
.amount-grid button.active { background: var(--navy-700); color: #fff; border-color: var(--navy-700); }
.pay-row { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; font-size: 0.9rem; }
.pay-row .pay-btn {
  flex: 1;
  padding: 10px; border: 1px solid var(--line);
  border-radius: 6px; background: #fff; display: flex; align-items: center; gap: 8px;
  justify-content: center;
  cursor: pointer;
}
.pay-row .secure { color: var(--muted); font-size: 0.8rem; display: flex; align-items: center; gap: 4px; }
.dedicate-row { font-size: 0.88rem; color: var(--muted); margin-bottom: 16px; }
.donate-card .btn-primary { width: 100%; justify-content: center; }

.why-donate {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 30px;
}
.why-donate .item h4 {
  display: flex; align-items: center; gap: 10px;
  color: var(--navy-700);
  font-size: 1rem;
  font-family: 'Playfair Display', serif;
  margin-bottom: 8px;
}
.why-donate .item p { color: var(--muted); font-size: 0.85rem; margin: 0; }
.why-donate .item .icon-fill-sm {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--navy-700);
  color: #fff;
  display: grid; place-items: center; flex-shrink: 0;
}

/* ---------- PROCESS STEPS (services) ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  position: relative;
  margin-top: 40px;
}
.step {
  background: #fff;
  border-radius: var(--radius);
  padding: 26px 20px;
  border: 1px solid var(--line);
  text-align: left;
  position: relative;
}
.step .icon-fill {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--navy-700);
  color: #fff;
  display: grid; place-items: center;
  margin-bottom: 14px;
}
.step h4 { color: var(--navy-700); font-size: 1rem; margin-bottom: 6px; font-family: 'Playfair Display', serif; }
.step p { color: var(--muted); font-size: 0.88rem; margin: 0; }

/* ---------- DETAILED SERVICE CARDS ---------- */
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 30px;
  align-items: stretch;
}
.sd-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.sd-card .photo {
  width: 100%; aspect-ratio: 16/9;
  object-fit: cover;
}
.sd-card .body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.sd-card h3 { color: var(--navy-700); margin-bottom: 8px; }
.sd-card p { color: var(--muted); font-size: 0.92rem; margin-bottom: 14px; flex: 1; }
.sd-card .btn { align-self: flex-start; margin-top: auto; }

/* ---------- VOLUNTEER ---------- */
.volunteer-three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: -50px;
  position: relative;
  z-index: 4;
}
.v-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow-md);
}
.v-card .icon-circle {
  width: 46px; height: 46px;
  border: 1.5px solid var(--navy-700);
  color: var(--navy-700);
  border-radius: 50%;
  display: grid; place-items: center;
  margin-bottom: 14px;
}
.v-card h3 { color: var(--navy-700); margin-bottom: 8px; font-family: 'Playfair Display', serif; font-size: 1.15rem; }
.v-card p { color: var(--muted); font-size: 0.9rem; margin-bottom: 16px; }

.tabs {
  display: flex; gap: 8px; flex-wrap: wrap; margin: 20px 0 26px; justify-content: center;
}
.tab {
  padding: 9px 18px; border: 1px solid var(--line); border-radius: 6px;
  background: #fff; cursor: pointer; font-size: 0.9rem; color: var(--ink);
}
.tab.active { background: var(--navy-700); color: #fff; border-color: var(--navy-700); }

.opp-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.opp-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 16px;
  text-align: center;
}
.opp-card .icon-square {
  width: 40px; height: 40px;
  margin: 0 auto 12px;
  color: var(--navy-700);
  display: grid; place-items: center;
}
.opp-card h4 { color: var(--navy-700); font-size: 0.95rem; font-family: 'Playfair Display', serif; margin-bottom: 8px; line-height: 1.2; }
.opp-card p { color: var(--muted); font-size: 0.82rem; margin-bottom: 10px; }
.opp-card .more { color: var(--navy-700); font-weight: 600; font-size: 0.85rem; }

.in-kind {
  background: var(--blue-50);
  border-radius: var(--radius);
  padding: 30px;
  margin-top: 30px;
  text-align: center;
}
.kind-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 14px;
  margin: 22px 0 18px;
}
.kind-item { text-align: center; font-size: 0.78rem; color: var(--navy-700); }
.kind-item .icon-circle {
  width: 40px; height: 40px; margin: 0 auto 8px;
  border: 1.5px solid var(--navy-700);
  border-radius: 50%;
  color: var(--navy-700);
  display: grid; place-items: center;
}

/* ---------- CONTACT PAGE ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-info { padding-right: 20px; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin: 22px 0;
}
.contact-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--blue-50);
  color: var(--navy-700);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.contact-item strong {
  display: block;
  color: var(--navy-900);
  margin-bottom: 4px;
}
.contact-item p { color: var(--muted); margin: 0; font-size: 0.92rem; }

.contact-form-wrap {
  background: var(--blue-50);
  border-radius: var(--radius);
  padding: 32px 32px;
}
.contact-form-wrap h3 { color: var(--navy-900); }
.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.contact-form .form-field { margin-bottom: 14px; }
.contact-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 6px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  background: #fff;
  color: var(--ink);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--navy-700);
  border-color: var(--navy-700);
}
.contact-form textarea { resize: vertical; }

/* ---------- FORM FEEDBACK MESSAGES ---------- */
.form-message { padding: 14px 18px; border-radius: 8px; margin-bottom: 18px; font-size: 0.92rem; }
.form-message.success { background: #e8f6ec; border: 1px solid #b6e2c4; color: #1a7a3d; }
.form-message.error { background: #fdeaea; border: 1px solid #f3c2c2; color: #b3261e; }
.field-error { color: var(--red); font-size: 0.8rem; margin-top: 4px; display: block; }
.vvets-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--navy-900);
  color: #cfd8e8;
  padding: 50px 0 24px;
  margin-top: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr;
  gap: 40px;
}
.footer-grid p { color: #9fb0c8 !important; font-size: 0.85rem; max-width: 260px; padding-top: 20px; }
.footer-brand { padding-top: 25px; }
.footer-grid .brand-text .name { color: #fff; }
.footer-grid .brand-text .tag { color: #cfd8e8; }
.footer-grid h5 {
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 14px;
}
.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-grid li {
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: #cfd8e8;
}
.footer-grid a {
  color: #cfd8e8;
  text-decoration: none;
}
.footer-grid a:hover { color: #fff; }
.footer-col.footer-contact .row { margin-bottom: 10px; display: flex; align-items: flex-start; gap: 10px; }
.footer-col.footer-contact .row svg { flex-shrink: 0; margin-top: 3px; }
.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.footer-socials a {
  width: 32px; height: 32px;
  border: 1px solid #3a517a;
  border-radius: 6px;
  display: grid; place-items: center;
  color: #cfd8e8;
}
.footer-socials a svg { width: 20px; height: 20px; }
.footer-socials a:hover { background: #3a517a; color: #fff; }
.footer-bottom {
  border-top: 1px solid #234072;
  margin-top: 40px;
  padding-top: 20px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.82rem; color: #9fb0c8;
  flex-wrap: wrap; gap: 14px;
}
.footer-bottom a { color: #cfd8e8; margin-left: 16px; text-decoration: none; }
.footer-bottom a:hover { color: #fff; }

/* ---------- 404 ---------- */
.error-404 {
  text-align: center;
  padding: 110px 24px 120px;
}
.error-404 .code {
  font-family: 'Playfair Display', serif;
  font-size: clamp(5rem, 16vw, 11rem);
  line-height: 1;
  color: var(--navy-700);
  margin: 0;
}
.error-404 h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 10px 0 14px; }
.error-404 p { color: var(--muted); max-width: 520px; margin: 0 auto 28px; }
.error-404 .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .nav-links { gap: 18px; }
  .services-grid, .diff-grid, .why-donate { grid-template-columns: repeat(2, 1fr); }
  .opp-grid { grid-template-columns: repeat(3, 1fr); }
  .kind-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .deliver-card { width: 60%; }
  .deliver-grid { grid-template-columns: repeat(4, 1fr); }
  .impact-divider { display: none; }
}
@media (max-width: 760px) {
  .utility-bar { display: none; }
  .nav { flex-wrap: wrap; }
  .nav-links { order: 3; width: 100%; justify-content: center; gap: 14px; }
  .nav-links a { font-size: 0.85rem; }
  .hero { min-height: auto; }
  .hero-photo-bg { position: relative; width: 100%; height: 280px; -webkit-mask-image: none; mask-image: none; }
  .hero-grid { grid-template-columns: 1fr; padding: 40px 24px 50px; min-height: auto; }
  .deliver-card { position: static; width: auto; max-width: none; margin: 24px; }
  .mission, .why, .donate-grid, .founders-row, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .services-grid, .diff-grid, .values, .why-donate, .process, .service-detail-grid, .volunteer-three, .testimonial-grid, .gift-impact, .founder-grid { grid-template-columns: 1fr; }
  .deliver-grid { grid-template-columns: repeat(2, 1fr); }
  .values { margin-top: 0; }
  .opp-grid { grid-template-columns: repeat(2, 1fr); }
  .kind-grid { grid-template-columns: repeat(3, 1fr); }
  .cta-strip { flex-direction: column; text-align: center; }
  .contact-form .form-row { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: center; text-align: center; }
}
