/* Flagstaff Cornerstone Christian Academy Inc — Brand Styles */
:root {
  --navy: #1a2744;
  --navy-dark: #0f1829;
  --burgundy: #6b1f2e;
  --burgundy-light: #8a2a3d;
  --gold: #c9a84c;
  --gold-light: #e8d5a3;
  --cream: #faf8f4;
  --white: #ffffff;
  --text: #2c2c2c;
  --text-muted: #5a5a5a;
  --border: #e2ddd4;
  --shadow: 0 4px 24px rgba(26, 39, 68, 0.1);
  --shadow-lg: 0 12px 48px rgba(26, 39, 68, 0.15);
  --radius: 8px;
  --radius-lg: 16px;
  --font-serif: "Libre Baskerville", "Georgia", serif;
  --font-sans: "Source Sans 3", "Segoe UI", sans-serif;
  --max-width: 1200px;
  --header-height: 80px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--cream);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--burgundy); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--burgundy-light); }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy);
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.625rem, 3.5vw, 2.25rem); }
h3 { font-size: 1.375rem; }

p + p { margin-top: 1rem; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 3px solid var(--gold);
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 1rem;
  transition: height 0.35s ease;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  text-decoration: none;
  color: var(--navy);
}

.logo-link img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  transition: width 0.35s ease, height 0.35s ease;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-text strong {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.logo-text span {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.main-nav { display: flex; align-items: center; gap: 0.25rem; }

.main-nav a {
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  border-radius: var(--radius);
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a.active {
  background: var(--cream);
  color: var(--burgundy);
}

.nav-cta {
  background: var(--burgundy) !important;
  color: var(--white) !important;
  margin-left: 0.5rem;
}

.nav-cta:hover {
  background: var(--burgundy-light) !important;
  color: var(--white) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: transform 0.3s, opacity 0.3s;
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  background: var(--navy-dark);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0.35;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,24,41,0.92) 0%, rgba(107,31,46,0.75) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 4rem 0;
  color: var(--white);
  max-width: 720px;
}

.hero-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--navy-dark);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.35rem 0.875rem;
  border-radius: 2px;
  margin-bottom: 1.25rem;
}

.hero h1 { color: var(--white); margin-bottom: 1rem; }

.hero p {
  font-size: 1.2rem;
  opacity: 0.92;
  margin-bottom: 2rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
  border-color: var(--gold);
}

.btn-primary:hover {
  background: var(--gold-light);
  color: var(--navy-dark);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
}

.btn-burgundy {
  background: var(--burgundy);
  color: var(--white);
  border-color: var(--burgundy);
}

.btn-burgundy:hover {
  background: var(--burgundy-light);
  color: var(--white);
}

/* ── Sections ── */
section { padding: 5rem 0; }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-header .eyebrow {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--burgundy);
  margin-bottom: 0.75rem;
}

.section-header p { color: var(--text-muted); margin-top: 1rem; }

.bg-white { background: var(--white); }
.bg-navy { background: var(--navy); color: var(--white); }
.bg-navy h2, .bg-navy h3 { color: var(--white); }
.bg-navy p { color: rgba(255,255,255,0.85); }

/* ── Cards Grid ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: var(--navy);
}

.card-body { padding: 1.75rem; }

.card-body h3 { margin-bottom: 0.75rem; }

.card-body p { color: var(--text-muted); font-size: 0.95rem; }

.card-link {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 700;
  font-size: 0.9rem;
}

/* ── Values Strip ── */
.values-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 3px solid var(--gold);
  border-bottom: 3px solid var(--gold);
}

.value-item {
  padding: 2.5rem 2rem;
  text-align: center;
  background: var(--navy);
  color: var(--white);
  border-right: 1px solid rgba(201,168,76,0.3);
}

.value-item:last-child { border-right: none; }

.value-item .icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
}

.value-item h3 {
  color: var(--gold);
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.value-item p { font-size: 0.9rem; opacity: 0.85; }

/* ── Stats ── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.stat-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.5rem;
  opacity: 0.8;
}

/* ── Two Column ── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split-img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  min-height: 280px;
  object-fit: cover;
}

.split-content ul {
  list-style: none;
  margin-top: 1.5rem;
}

.split-content li {
  padding: 0.625rem 0;
  padding-left: 1.75rem;
  position: relative;
  border-bottom: 1px solid var(--border);
}

.split-content li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--gold);
}

/* ── Page Header ── */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 4rem 0 3rem;
  text-align: center;
  border-bottom: 4px solid var(--gold);
}

.page-hero h1 { color: var(--white); margin-bottom: 0.75rem; }

.page-hero p {
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.88;
  font-size: 1.1rem;
}

.breadcrumb {
  font-size: 0.85rem;
  margin-bottom: 1rem;
  opacity: 0.7;
}

.breadcrumb a { color: var(--gold-light); }

/* ── Content Page ── */
.content-section { padding: 4rem 0; }

.content-narrow { max-width: 760px; margin: 0 auto; }

.content-wide { max-width: 960px; margin: 0 auto; }

/* ── Leadership ── */
.leader-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.leader-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border-top: 4px solid var(--burgundy);
}

.leader-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 1.25rem;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--gold);
  font-weight: 700;
}

.leader-card h3 { font-size: 1.125rem; }

.leader-role {
  color: var(--burgundy);
  font-weight: 600;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* ── Forms ── */
.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--navy);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 1rem;
  background: var(--white);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--burgundy);
  box-shadow: 0 0 0 3px rgba(107,31,46,0.1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.form-success {
  display: none;
  padding: 1rem 1.25rem;
  background: #e8f5e9;
  border: 1px solid #a5d6a7;
  border-radius: var(--radius);
  color: #2e7d32;
  margin-top: 1rem;
}

/* ── Donate Tiers ── */
.donate-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.tier-card {
  padding: 2rem;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}

.tier-card:hover,
.tier-card.selected {
  border-color: var(--burgundy);
  box-shadow: var(--shadow);
}

.tier-amount {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--burgundy);
  font-weight: 700;
}

.tier-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.tier-desc {
  font-size: 0.9rem;
  margin-top: 1rem;
  color: var(--text-muted);
}

/* ── Blog ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.blog-card .card-img { height: 220px; }

.blog-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.blog-meta span + span::before {
  content: " · ";
}

.article-header { margin-bottom: 2rem; }

.article-meta {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

.article-featured-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
}

.article-body h2 { margin: 2rem 0 1rem; font-size: 1.5rem; }
.article-body h3 { margin: 1.5rem 0 0.75rem; font-size: 1.25rem; }
.article-body ul, .article-body ol { margin: 1rem 0 1rem 1.5rem; }
.article-body li { margin-bottom: 0.5rem; }

/* ── Transparency Table ── */
.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.info-table th,
.info-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.info-table th {
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  width: 35%;
}

.info-table tr:last-child td,
.info-table tr:last-child th { border-bottom: none; }

.verify-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.verify-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
  text-decoration: none;
}

.verify-link:hover {
  border-color: var(--burgundy);
  color: var(--burgundy);
}

/* ── Contact ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--navy);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg { width: 22px; height: 22px; fill: var(--gold); }

.contact-info-item h3 { font-size: 1rem; margin-bottom: 0.25rem; }
.contact-info-item p { font-size: 0.95rem; color: var(--text-muted); }

.map-placeholder {
  width: 100%;
  height: 280px;
  background: var(--navy);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-size: 0.95rem;
  margin-top: 2rem;
  overflow: hidden;
}

.map-placeholder img { width: 100%; height: 100%; object-fit: cover; opacity: 1; }

.split-image-wrap {
  position: relative;
}

.split-logo-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid var(--gold);
  box-shadow: var(--shadow-lg);
  background: var(--white);
  object-fit: contain;
  padding: 6px;
}

.page-hero-with-image .container {
  position: relative;
  z-index: 1;
}

/* duplicate removed below */

/* ── Membership Steps ── */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}

.step-card {
  position: relative;
  padding: 2rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  text-align: center;
}

.step-card::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--burgundy);
  color: var(--white);
  font-weight: 700;
  border-radius: 50%;
  margin: 0 auto 1rem;
  font-family: var(--font-serif);
}

.step-card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.step-card p { font-size: 0.9rem; color: var(--text-muted); }

/* ── Footer ── */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.8);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand img {
  width: 88px;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-top: 0.75rem;
}

.footer-col h4 {
  color: var(--gold);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
  font-family: var(--font-sans);
  font-weight: 700;
}

.footer-col ul { list-style: none; }

.footer-col li { margin-bottom: 0.625rem; }

.footer-col a {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  text-decoration: none;
}

.footer-col a:hover { color: var(--gold); }

.footer-legal {
  padding: 1.5rem 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  opacity: 0.65;
}

.footer-legal .ein { font-weight: 600; color: var(--gold-light); }

/* ══════════════════════════════════════════
   ADVANCED — Animations & Interactions
   ══════════════════════════════════════════ */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--burgundy), var(--gold));
  transform-origin: left;
  transform: scaleX(0);
  z-index: 1100;
  pointer-events: none;
}

.site-header {
  transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(26, 39, 68, 0.12);
}

.site-header.is-scrolled .header-inner {
  height: 68px;
}

.site-header.is-scrolled .logo-link img {
  width: 52px;
  height: 52px;
}

.nav-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

body.nav-open { overflow: hidden; }

/* Hero advanced */
.hero {
  min-height: clamp(560px, 85vh, 780px);
}

.hero-bg {
  opacity: 0.45;
  will-change: transform;
  animation: heroKenBurns 20s ease-in-out infinite alternate;
}

@keyframes heroKenBurns {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

.hero-overlay {
  background: linear-gradient(135deg, rgba(15,24,41,0.88) 0%, rgba(107,31,46,0.72) 50%, rgba(15,24,41,0.85) 100%);
}

.hero-content > * {
  opacity: 0;
  transform: translateY(24px);
  animation: heroFadeUp 0.8s ease forwards;
}

.hero-badge { animation-delay: 0.15s; }
.hero h1 { animation-delay: 0.3s; }
.hero p { animation-delay: 0.45s; }
.hero-actions { animation-delay: 0.6s; }

@keyframes heroFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.6);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  animation: heroFadeUp 0.8s 1s ease forwards;
  opacity: 0;
}

.hero-scroll-hint .mouse {
  width: 22px;
  height: 34px;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 11px;
  position: relative;
}

.hero-scroll-hint .mouse::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 8px;
  background: var(--gold);
  border-radius: 2px;
  animation: scrollWheel 1.8s ease infinite;
}

@keyframes scrollWheel {
  0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
  50% { opacity: 0.3; transform: translateX(-50%) translateY(8px); }
}

/* Scroll reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Cards advanced */
.card {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.35s ease;
  border: 1px solid transparent;
}

.card:hover {
  border-color: rgba(201, 168, 76, 0.25);
}

.card-img-wrap {
  overflow: hidden;
  position: relative;
}

.card .card-img {
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.card:hover .card-img {
  transform: scale(1.06);
}

.card-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--burgundy);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.75rem;
  border-radius: 2px;
  z-index: 1;
}

/* Buttons advanced */
.btn {
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 39, 68, 0.18);
}

.btn:active { transform: translateY(0); }

.btn.is-loading {
  pointer-events: none;
  opacity: 0.75;
}

.btn.is-loading::after {
  content: '';
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  margin-left: 0.5rem;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* Stats */
.stat-item {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(201,168,76,0.15);
  transition: background 0.3s, border-color 0.3s;
}

.stat-item:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(201,168,76,0.35);
}

/* Trust bar */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
}

.trust-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem 3rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
}

.trust-item svg {
  width: 20px;
  height: 20px;
  fill: var(--gold);
  flex-shrink: 0;
}

/* Testimonials */
.testimonials {
  background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border-left: 4px solid var(--gold);
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  font-family: var(--font-serif);
  font-size: 4rem;
  color: var(--gold);
  opacity: 0.25;
  position: absolute;
  top: 0.5rem;
  right: 1.5rem;
  line-height: 1;
}

.testimonial-text {
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.75;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 0.9rem;
}

.testimonial-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy);
}

.testimonial-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* CTA banner */
.cta-banner {
  position: relative;
  overflow: hidden;
  text-align: center;
  color: var(--white);
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--burgundy) 0%, var(--navy) 100%);
  z-index: 0;
}

.cta-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../assets/images/hero-flagstaff.jpg') center/cover no-repeat;
  opacity: 0.12;
  z-index: 0;
}

.cta-banner .container {
  position: relative;
  z-index: 1;
  padding: 5rem 1.5rem;
}

.cta-banner h2 { color: var(--white); margin-bottom: 1rem; }

/* Form validation */
.form-group input.is-invalid,
.form-group select.is-invalid,
.form-group textarea.is-invalid {
  border-color: #c62828;
  box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.1);
}

.form-group input.is-valid,
.form-group textarea.is-valid {
  border-color: #2e7d32;
}

.field-error {
  display: block;
  font-size: 0.8rem;
  color: #c62828;
  margin-top: 0.35rem;
}

.form-success.is-visible {
  animation: heroFadeUp 0.5s ease;
}

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--burgundy);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s, background 0.2s;
  z-index: 999;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--burgundy-light);
}

/* Value items hover */
.value-item {
  transition: background 0.3s ease;
}

.value-item:hover {
  background: #1f3054;
}

.value-item .icon {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.value-item:hover .icon {
  transform: scale(1.12) rotate(-4deg);
}

/* Split image */
.split-image-wrap .split-img {
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.split-image-wrap:hover .split-img {
  transform: scale(1.02);
}

.split-logo-badge {
  transition: transform 0.4s ease;
}

.split-image-wrap:hover .split-logo-badge {
  transform: rotate(-6deg) scale(1.05);
}

/* Page load */
body { opacity: 0; transition: opacity 0.4s ease; }
body.is-loaded { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .hero-content > * { opacity: 1; transform: none; animation: none; }
  .hero-bg { animation: none; }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .testimonial-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .donate-tiers { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .main-nav {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--white);
    padding: 1rem;
    box-shadow: var(--shadow-lg);
    border-bottom: 3px solid var(--gold);
  }

  .main-nav.open { display: flex; }

  .main-nav a { width: 100%; padding: 0.75rem 1rem; }

  .nav-cta { margin-left: 0 !important; }

  .split { grid-template-columns: 1fr; gap: 2rem; }
  .values-strip { grid-template-columns: 1fr; }
  .value-item { border-right: none; border-bottom: 1px solid rgba(201,168,76,0.3); }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
}
