/* ============================================================
   Founders Initiative Africa — Main Stylesheet
   Black & White theme | Mobile-first
   ============================================================ */

/* ─── CSS VARIABLES ─────────────────────────────────────── */
:root {
  --bg:           #ffffff;
  --bg-alt:       #f5f5f5;
  --text:         #111111;
  --muted:        #555555;
  --border:       #dddddd;
  --border-dark:  #333333;
  --card:         #ffffff;
  --card-alt:     #f9f9f9;
  --shadow:       0 2px 16px rgba(0,0,0,.08);
  --shadow-md:    0 4px 32px rgba(0,0,0,.12);
  --btn-bg:       #111111;
  --btn-text:     #ffffff;
  --link:         #111111;
  --link-hover:   #333333;
  --accent:       #111111;
  --max-w:        1180px;
  --radius:       4px;
  --radius-lg:    8px;
  --nav-h:        68px;
  --font-sans:    'Georgia', 'Times New Roman', serif;
  --font-mono:    'Courier New', monospace;
}

[data-theme="dark"] {
  --bg:           #0a0a0a;
  --bg-alt:       #141414;
  --text:         #f0f0f0;
  --muted:        #888888;
  --border:       #2a2a2a;
  --border-dark:  #444444;
  --card:         #141414;
  --card-alt:     #1a1a1a;
  --shadow:       0 2px 16px rgba(0,0,0,.4);
  --shadow-md:    0 4px 32px rgba(0,0,0,.6);
  --btn-bg:       #f0f0f0;
  --btn-text:     #0a0a0a;
  --link:         #f0f0f0;
  --link-hover:   #cccccc;
}

/* ─── RESET ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  transition: background .2s, color .2s;
}
img { max-width: 100%; height: auto; display: block; }
iframe, video, embed { max-width: 100%; }
a { color: var(--link); text-decoration: underline; transition: color .15s; }
a:hover { color: var(--link-hover); text-decoration: underline; text-decoration-thickness: 2px; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; }
input, textarea, select, button { font-family: inherit; font-size: 1rem; }
table { border-collapse: collapse; width: 100%; }
h1, h2, h3, h4, h5, h6, p, li, a, span { overflow-wrap: anywhere; }
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

/* ─── TYPOGRAPHY ─────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -.02em;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.2rem; }
h5 { font-size: 1rem; }
p  { margin-bottom: 1.2em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 700; }
em { font-style: italic; }
small { font-size: .85rem; color: var(--muted); }

/* ─── LAYOUT UTILITIES ───────────────────────────────────── */
.container    { max-width: var(--max-w); margin: 0 auto; padding: 0 1.25rem; }
.section      { padding: 5rem 0; }
.section-sm   { padding: 3rem 0; }
.section-lg   { padding: 7rem 0; }

.grid         { display: grid; gap: 2rem; }
.grid-2       { grid-template-columns: repeat(auto-fill, minmax(min(100%, 440px), 1fr)); }
.grid-3       { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.grid-4       { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }

.flex         { display: flex; }
.flex-center  { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-wrap    { flex-wrap: wrap; }
.gap-1        { gap: .5rem; }
.gap-2        { gap: 1rem; }
.gap-3        { gap: 1.5rem; }
.gap-4        { gap: 2rem; }

.text-center  { text-align: center; }
.text-right   { text-align: right; }
.text-muted   { color: var(--muted); }
.text-sm      { font-size: .875rem; }
.text-lg      { font-size: 1.125rem; }
.text-xl      { font-size: 1.25rem; }
.font-mono    { font-family: var(--font-mono); }

.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: .5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.hidden { display: none !important; }

/* ─── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.75rem;
  font-size: .9rem; font-weight: 600; letter-spacing: .03em;
  border-radius: var(--radius);
  border: 2px solid transparent;
  text-decoration: none;
  transition: background .15s, color .15s, border-color .15s, transform .1s;
  white-space: nowrap;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--btn-bg); color: var(--btn-text);
  border-color: var(--btn-bg);
}
.btn-primary:hover { opacity: .85; color: var(--btn-text); text-decoration: none; }

.btn-outline {
  background: transparent; color: var(--text);
  border-color: var(--border-dark);
}
.btn-outline:hover { background: var(--text); color: var(--bg); text-decoration: none; border-color: var(--text); }

.btn-ghost {
  background: transparent; color: var(--muted);
  border-color: var(--border);
}
.btn-ghost:hover { background: var(--bg-alt); color: var(--text); text-decoration: none; }

.btn-sm { padding: .5rem 1.2rem; font-size: .8rem; }
.btn-lg { padding: 1rem 2.5rem; font-size: 1rem; }
.btn-block { width: 100%; justify-content: center; }

/* ─── FORMS ──────────────────────────────────────────────── */
.form-group { margin-bottom: 1.5rem; }
.form-label {
  display: block; margin-bottom: .4rem;
  font-size: .875rem; font-weight: 600; color: var(--text);
}
.form-label .required { color: var(--text); }
.form-control {
  width: 100%;
  padding: .65rem 1rem;
  background: var(--bg);
  color: var(--text);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: .95rem;
  transition: border-color .15s, box-shadow .15s;
  outline: none;
}
.form-control:focus { border-color: var(--text); box-shadow: 0 0 0 3px rgba(0,0,0,.08); }
.form-control::placeholder { color: var(--muted); }
.form-control.is-error { border-color: #333; background: #f5f5f5; }
.form-error { font-size: .8rem; color: #111; margin-top: .3rem; }
.form-hint  { font-size: .8rem; color: var(--muted); margin-top: .3rem; }
textarea.form-control { min-height: 130px; resize: vertical; }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; padding-right: 2.5rem; }

/* ─── CARDS ──────────────────────────────────────────────── */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card-body  { padding: 1.5rem; }
.card-img   { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.card-meta  { font-size: .8rem; color: var(--muted); display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; margin-bottom: .5rem; }
.card-title { font-size: 1.1rem; font-weight: 700; margin-bottom: .5rem; line-height: 1.3; }
.card-title a { text-decoration: none; color: var(--text); }
.card-title a:hover { text-decoration: underline; }
.card-excerpt { font-size: .9rem; color: var(--muted); line-height: 1.6; }

/* ─── TAGS / BADGES ──────────────────────────────────────── */
.badge {
  display: inline-block; padding: .2rem .7rem;
  font-size: .75rem; font-weight: 600; letter-spacing: .05em;
  border-radius: 2px;
  text-transform: uppercase;
  background: var(--bg-alt); color: var(--muted);
  border: 1px solid var(--border);
}
.badge-dark  { background: var(--text); color: var(--bg); border-color: var(--text); }
.badge-outline { background: transparent; color: var(--text); border-color: var(--border-dark); }

/* ─── SECTION HEADERS ────────────────────────────────────── */
.section-header { margin-bottom: 3rem; }
.section-label  {
  display: inline-block;
  font-size: .75rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: .75rem;
}
.section-title  { margin-bottom: .75rem; }
.section-desc   { font-size: 1.1rem; color: var(--muted); max-width: 560px; line-height: 1.7; }

/* ─── DIVIDER ────────────────────────────────────────────── */
.divider       { border: none; border-top: 1px solid var(--border); margin: 2.5rem 0; }
.divider-thick { border-top-width: 3px; border-color: var(--text); }

/* ─── NAVIGATION ─────────────────────────────────────────── */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center;
  transition: box-shadow .2s;
}
.site-nav.scrolled { box-shadow: var(--shadow); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 1.25rem;
}
.nav-logo {
  font-size: 1rem; font-weight: 800; letter-spacing: -.02em;
  color: var(--text); text-decoration: none; line-height: 1.2;
  display: flex; align-items: center; gap: .5rem;
}
.nav-logo:hover { text-decoration: none; color: var(--text); }
.nav-logo span { display: block; font-size: .65rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.nav-links { display: none; align-items: center; gap: .85rem; }
.nav-links a {
  padding: .25rem .15rem; font-size: .875rem; font-weight: 500;
  color: var(--muted); text-decoration: none;
  transition: color .15s;
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); background: none; }
.nav-links .nav-cta a { padding: .55rem 1.2rem; }
.nav-cta { margin-left: .9rem; }
.nav-toggle {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; background: none; border: none; padding: .5rem;
}
.nav-toggle span {
  display: block; height: 2px; background: var(--text);
  transition: transform .2s, opacity .2s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none; position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: var(--bg); border-bottom: 1px solid var(--border);
  padding: 1rem 1.25rem; z-index: 999;
  flex-direction: column; gap: .25rem;
  max-height: calc(100vh - var(--nav-h));
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: .4rem 0; font-size: .95rem; font-weight: 500;
  color: var(--text); text-decoration: none;
  transition: color .15s;
}
.mobile-menu a:hover,
.mobile-menu a.active { background: none; color: var(--accent); }
.mobile-menu .btn { margin-top: .75rem; }

@media (min-width: 900px) {
  .nav-links  { display: flex; }
  .nav-toggle { display: none; }
}

/* Page content offset for fixed nav */
.page-content { padding-top: var(--nav-h); }

/* ─── HERO ───────────────────────────────────────────────── */
.hero {
  min-height: calc(100vh - var(--nav-h));
  display: flex; align-items: center;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.hero-pattern {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, var(--border) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: .5;
}
.hero-content {
  position: relative; z-index: 1; max-width: 860px;
  display: flex; flex-direction: column; gap: 1.25rem;
  padding: clamp(3rem, 6vw, 5rem) 0;
}
.hero-eyebrow {
  font-size: .75rem; font-weight: 700; letter-spacing: .15em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: .75rem;
}
.hero-eyebrow::before {
  content: ''; display: block; width: 32px; height: 2px; background: var(--text);
}
.hero h1 { margin-bottom: 0; line-height: 1.08; }
.hero-desc { font-size: 1.2rem; color: var(--muted); margin-bottom: 0; max-width: 620px; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: .25rem; }
.hero-stats {
  display: flex; gap: clamp(1.5rem, 4vw, 3rem); margin-top: 2rem; padding-top: 2.25rem;
  border-top: 1px solid var(--border); flex-wrap: wrap;
}
.hero-stats > div { min-width: 140px; }
.hero-stat-value { font-size: 2.5rem; font-weight: 800; line-height: 1; letter-spacing: -.04em; }
.hero-stat-label { font-size: .8rem; color: var(--muted); margin-top: .4rem; text-transform: uppercase; letter-spacing: .06em; }

/* ─── DARK SECTION ───────────────────────────────────────── */
.section-dark {
  background: #111;
  color: #f0f0f0;
  --text: #f0f0f0; --muted: #888; --border: #2a2a2a;
  --card: #1a1a1a; --bg-alt: #141414; --bg: #111;
  --btn-bg: #f0f0f0; --btn-text: #111;
}
.section-dark .section-label { color: #666; }
.section-dark .section-desc  { color: #888; }
.section-dark .card           { border-color: #2a2a2a; background: #1a1a1a; }
.section-dark .card-excerpt   { color: #888; }

/* ─── FEATURE GRID ───────────────────────────────────────── */
.feature-card {
  padding: 2rem; border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color .2s, box-shadow .2s;
}
.feature-card:hover { border-color: var(--text); box-shadow: var(--shadow); }
.feature-icon {
  width: 48px; height: 48px; margin-bottom: 1.25rem;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--border); border-radius: var(--radius);
}

/* ─── CTA BLOCK ──────────────────────────────────────────── */
.cta-block {
  background: var(--text); color: var(--bg);
  padding: 5rem 0; text-align: center;
}
.cta-block h2 { color: inherit; margin-bottom: 1rem; }
.cta-block p  { color: rgba(255,255,255,.7); max-width: 560px; margin: 0 auto 2rem; font-size: 1.1rem; }
[data-theme="dark"] .cta-block { background: #f0f0f0; color: #111; }
[data-theme="dark"] .cta-block p { color: rgba(0,0,0,.7); }

/* ─── PROGRAM / EVENT CARDS ──────────────────────────────── */
.program-card { display: flex; flex-direction: column; }
.program-card .card-body { flex: 1; display: flex; flex-direction: column; }
.program-card .card-actions { margin-top: auto; padding-top: 1.25rem; }

.event-card .event-date {
  display: inline-block; padding: .6rem 1rem;
  background: var(--text); color: var(--bg);
  font-size: .75rem; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; margin-bottom: 1rem;
  border-radius: var(--radius);
}
.event-meta-row { display: flex; align-items: center; gap: .5rem; font-size: .85rem; color: var(--muted); margin-bottom: .4rem; }

/* ─── SPOTLIGHT GRID ─────────────────────────────────────── */
.spotlight-card { position: relative; }
.spotlight-card .card-img { aspect-ratio: 4/3; }
.spotlight-badge {
  position: absolute; top: 1rem; left: 1rem;
  background: var(--bg); color: var(--text);
  font-size: .7rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; padding: .3rem .75rem;
  border: 1px solid var(--border); border-radius: var(--radius);
}

/* ─── TESTIMONIALS ───────────────────────────────────────── */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%,280px),1fr)); gap: 1.5rem; }
.testimonial-card {
  padding: 2rem; border: 1px solid var(--border);
  border-radius: var(--radius-lg); position: relative;
}
.testimonial-quote {
  font-size: 1rem; line-height: 1.7; color: var(--text);
  margin-bottom: 1.5rem; font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: .75rem; }
.testimonial-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--bg-alt); border: 1px solid var(--border);
  object-fit: cover; flex-shrink: 0;
}
.testimonial-name { font-weight: 700; font-size: .9rem; }
.testimonial-role { font-size: .8rem; color: var(--muted); }

/* ─── NEWSLETTER SECTION ─────────────────────────────────── */
.newsletter-form { display: flex; gap: .75rem; max-width: 480px; flex-wrap: wrap; }
.newsletter-form .form-control { flex: 1; min-width: 200px; }

/* ─── TEAM GRID ──────────────────────────────────────────── */
.team-card { text-align: center; }
.team-photo {
  width: 120px; height: 120px; border-radius: 50%;
  margin: 0 auto 1rem; object-fit: cover;
  border: 2px solid var(--border);
  background: var(--bg-alt);
}
.team-name { font-size: 1rem; font-weight: 700; margin-bottom: .25rem; }
.team-role { font-size: .85rem; color: var(--muted); margin-bottom: .75rem; }
.team-socials a { font-size: .8rem; margin: 0 .25rem; color: var(--muted); }
.team-socials a:hover { color: var(--text); }

/* ─── PARTNER LOGOS ──────────────────────────────────────── */
.partner-grid { display: flex; flex-wrap: wrap; gap: 2rem; align-items: center; justify-content: center; }
.partner-logo {
  height: 44px; width: auto; object-fit: contain; opacity: .6;
  transition: opacity .2s; filter: grayscale(100%);
}
.partner-logo:hover { opacity: 1; }
.partner-name {
  font-size: .9rem; font-weight: 600; color: var(--muted);
  padding: .6rem 1.25rem; border: 1px solid var(--border);
  border-radius: var(--radius); transition: border-color .2s;
}
.partner-name:hover { border-color: var(--text); color: var(--text); text-decoration: none; }

/* ─── BREADCRUMB ─────────────────────────────────────────── */
.breadcrumb {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: .5rem; font-size: .8rem; color: var(--muted);
  padding: 1rem 0;
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb-sep { color: var(--border-dark); }

/* ─── PAGE HEADER ────────────────────────────────────────── */
.page-header {
  padding: 4rem 0 3rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 4rem;
}
.page-header h1 { margin-bottom: .75rem; }
.page-header .lead { font-size: 1.15rem; color: var(--muted); max-width: 560px; }

/* ─── ARTICLE / RICH TEXT ────────────────────────────────── */
.prose h2 { font-size: 1.5rem; margin: 2.5rem 0 1rem; }
.prose h3 { font-size: 1.2rem; margin: 2rem 0 .75rem; }
.prose p  { margin-bottom: 1.4em; line-height: 1.8; }
.prose ul, .prose ol { margin: 1em 0 1.4em 1.5rem; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: .5em; line-height: 1.7; }
.prose blockquote {
  border-left: 3px solid var(--text); padding-left: 1.5rem;
  margin: 2rem 0; color: var(--muted); font-style: italic;
}
.prose code { font-family: var(--font-mono); font-size: .875em; background: var(--bg-alt); padding: .1em .4em; border-radius: 3px; }
.prose pre  { background: var(--bg-alt); padding: 1.5rem; border-radius: var(--radius); overflow-x: auto; margin: 1.5rem 0; }
.prose img  { border-radius: var(--radius-lg); margin: 2rem auto; }
.prose a    { text-decoration: underline; font-weight: 500; }

/* ─── PAGINATION ─────────────────────────────────────────── */
.pagination { display: flex; align-items: center; gap: .5rem; justify-content: center; padding: 3rem 0; }
.page-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border: 1px solid var(--border);
  border-radius: var(--radius); font-size: .875rem; font-weight: 600;
  color: var(--text); text-decoration: none; transition: all .15s;
}
.page-link:hover, .page-link.active { background: var(--text); color: var(--bg); border-color: var(--text); text-decoration: none; }
.page-link.disabled { opacity: .4; pointer-events: none; }

/* ─── MODAL ──────────────────────────────────────────────── */
.modal-backdrop {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.6); z-index: 2000;
  align-items: center; justify-content: center; padding: 1rem;
}
.modal-backdrop.open { display: flex; }
.modal {
  background: var(--bg); border-radius: var(--radius-lg);
  width: 100%; max-width: 600px; max-height: 90vh;
  overflow-y: auto; position: relative;
}
.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem; border-bottom: 1px solid var(--border);
  position: sticky; top: 0; background: var(--bg); z-index: 1;
}
.modal-title    { font-size: 1.2rem; font-weight: 700; }
.modal-close    { background: none; border: none; font-size: 1.5rem; line-height: 1; color: var(--muted); padding: .25rem; }
.modal-close:hover { color: var(--text); }
.modal-body     { padding: 1.5rem; }
.modal-footer   { padding: 1.5rem; border-top: 1px solid var(--border); display: flex; gap: 1rem; justify-content: flex-end; }

/* ─── ALERT ──────────────────────────────────────────────── */
.alert {
  padding: 1rem 1.25rem; border: 1px solid var(--border);
  border-radius: var(--radius); margin-bottom: 1.5rem;
  font-size: .9rem;
}
.alert-success { background: var(--bg-alt); border-color: #333; color: #111; }
.alert-error   { background: #f5f5f5; border-color: #333; color: #111; }
.alert-info    { background: var(--bg-alt); border-color: var(--border-dark); color: var(--text); }

/* ─── TABLE ──────────────────────────────────────────────── */
.table-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.data-table th, .data-table td { padding: .75rem 1rem; text-align: left; border-bottom: 1px solid var(--border); font-size: .875rem; }
.data-table th { font-weight: 700; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.data-table tbody tr:hover { background: var(--bg-alt); }
.data-table .actions { display: flex; gap: .5rem; }

/* ─── FOOTER ─────────────────────────────────────────────── */
.site-footer {
  background: #0a0a0a; color: #f0f0f0;
  padding: 5rem 0 2rem; margin-top: 0;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 4rem; }
.footer-brand .footer-logo { font-size: 1.1rem; font-weight: 800; letter-spacing: -.02em; color: #f0f0f0; margin-bottom: 1rem; text-decoration: none; display: block; }
.footer-brand .footer-desc { font-size: .875rem; color: #666; line-height: 1.7; max-width: 280px; }
.footer-col h4 { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #888; margin-bottom: 1.25rem; }
.footer-col ul li { margin-bottom: .6rem; }
.footer-col a { font-size: .875rem; color: #888; text-decoration: none; transition: color .15s; }
.footer-col a:hover { color: #f0f0f0; }
.footer-bottom { padding-top: 2rem; border-top: 1px solid #1a1a1a; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { font-size: .8rem; color: #555; }
.footer-social { display: flex; gap: 1rem; }
.footer-social a { color: #555; text-decoration: none; font-size: .8rem; transition: color .15s; }
.footer-social a:hover { color: #f0f0f0; }

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > *:first-child { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ─── UTILITY STATES ─────────────────────────────────────── */
.loading { opacity: .5; pointer-events: none; }
.skeleton {
  background: linear-gradient(90deg, var(--bg-alt) 25%, var(--border) 50%, var(--bg-alt) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: var(--radius);
}
@keyframes shimmer { to { background-position: -200% 0; } }

/* ─── MEDIA QUERIES ──────────────────────────────────────── */
@media (max-width: 640px) {
  .container { padding: 0 1rem; }
  .section { padding: 3.5rem 0; }
  .nav-inner { padding: 0 1rem; gap: .75rem; }
  .nav-logo { max-width: calc(100% - 52px); min-width: 0; }
  .nav-logo span { white-space: normal; }
  .hero-content { gap: 1rem; padding: 2.5rem 0; }
  .hero h1 { line-height: 1.12; }
  .hero-desc,
  .page-header .lead,
  .section-desc { font-size: 1rem; max-width: none; }
  .hero-stats { gap: 1.25rem 1.5rem; margin-top: 1.25rem; padding-top: 1.5rem; width: 100%; }
  .hero-stat-value { font-size: 2.1rem; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .btn-lg { width: 100%; justify-content: center; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form .form-control { width: 100%; }
  .modal-footer { flex-direction: column; }
  .modal-footer .btn { width: 100%; justify-content: center; }
  .page-header { padding: 2.5rem 0 2rem; margin-bottom: 2.5rem; }
  .footer-social { flex-wrap: wrap; }
}

@media (min-width: 641px) and (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ─── PRINT ──────────────────────────────────────────────── */
@media print {
  .site-nav, .site-footer, .btn, .no-print { display: none; }
  body { font-size: 12pt; background: white; color: black; }
}
