/* ============================================================
   ObiFunds – style.css   (Green · Yellow · White)
   ============================================================ */

/* ── Custom Properties ─────────────────────────────────────── */
:root {
  --green:        #1a7a3c;
  --green-dark:   #145f2e;
  --green-light:  #e8f5ee;
  --yellow:       #f5c518;
  --yellow-dark:  #d4a914;
  --yellow-light: #fef9e0;
  --gray-50:      #f8faf9;
  --gray-100:     #f0f4f2;
  --gray-200:     #dde8e2;
  --gray-400:     #8fa89a;
  --gray-500:     #607068;
  --gray-600:     #3d5045;
  --gray-800:     #1c2b23;
  --gray-900:     #0f1a14;
  --white:        #ffffff;
  --red-err:      #dc2626;
  --shadow-sm:    0 1px 4px rgba(26,122,60,.08);
  --shadow-md:    0 4px 20px rgba(26,122,60,.12);
  --shadow-lg:    0 8px 40px rgba(26,122,60,.18);
  --radius-sm:    8px;
  --radius-md:    12px;
  --radius-lg:    20px;
  --radius-xl:    28px;
  --max-w:        1380px;
  --transition:   all .2s ease;
}

/* ── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; font-size: 16px; line-height: 1.6; color: var(--gray-800); background: var(--white); }
img  { max-width: 100%; display: block; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ── Layout ─────────────────────────────────────────────────── */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 48px; }
.container-fluid { width: 100%; padding: 0 48px; }
@media (max-width: 1023px) { .container, .container-fluid { padding: 0 28px; } }
@media (max-width: 767px)  { .container, .container-fluid { padding: 0 16px; } }
.section    { padding: 88px 0; }
.section-sm { padding: 52px 0; }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 30px; border-radius: 99px;
  font-weight: 700; font-size: .9rem;
  transition: var(--transition); white-space: nowrap; border: 2px solid transparent;
}
.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(26,122,60,.35); }
.btn-yellow  { background: var(--yellow); color: var(--gray-900); border-color: var(--yellow); }
.btn-yellow:hover { background: var(--yellow-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(245,197,24,.4); }
.btn-outline { border: 2px solid var(--green); color: var(--green); background: transparent; }
.btn-outline:hover { background: var(--green); color: var(--white); }
.btn-outline-white { border: 2px solid rgba(255,255,255,.55); color: var(--white); background: rgba(255,255,255,.1); backdrop-filter: blur(4px); }
.btn-outline-white:hover { background: rgba(255,255,255,.22); }
.btn-outline-yellow { border: 2px solid var(--yellow); color: var(--yellow); background: transparent; }
.btn-outline-yellow:hover { background: var(--yellow); color: var(--gray-900); }
.btn-sm  { padding: 8px 20px; font-size: .8rem; }
.btn-lg  { padding: 16px 40px; font-size: 1.05rem; }
.btn-block { width: 100%; justify-content: center; }

/* ── Navbar ─────────────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--white); border-bottom: 1px solid var(--gray-200);
  height: 68px; transition: box-shadow .2s;
}
.navbar.scrolled { box-shadow: 0 2px 20px rgba(26,122,60,.12); }
.navbar .container { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.navbar-brand { display: flex; align-items: center; gap: 10px; }
.navbar-logo {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--yellow); font-weight: 900; font-size: .85rem; letter-spacing: -.02em;
}
.navbar-name { font-weight: 900; font-size: 1.18rem; color: var(--green); letter-spacing: -.02em; }
.navbar-name span { color: var(--yellow-dark); }

.navbar-links { display: flex; align-items: center; gap: 28px; }
.navbar-links a { font-size: .9rem; font-weight: 600; color: var(--gray-600); transition: var(--transition); }
.navbar-links a:hover { color: var(--green); }
.navbar-links .nav-cta { margin-left: 6px; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; width: 32px; height: 32px; justify-content: center; align-items: center; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--green); border-radius: 2px; transition: var(--transition); }

/* Mobile drawer */
.mobile-menu {
  display: none; flex-direction: column;
  position: fixed; top: 0; right: -320px; bottom: 0;
  width: 300px; background: var(--white);
  z-index: 1100; padding: 24px;
  box-shadow: -4px 0 28px rgba(0,0,0,.14);
  transition: right .3s ease;
}
.mobile-menu.open { right: 0; }
.mobile-menu-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 1099; }
.mobile-menu-overlay.open { display: block; }
.mobile-menu-close { align-self: flex-end; font-size: 1.4rem; color: var(--gray-500); margin-bottom: 16px; }
.mobile-menu-brand { display: flex; align-items: center; gap: 10px; padding: 10px 0 16px; border-bottom: 2px solid var(--gray-100); margin-bottom: 8px; text-decoration: none; }
.mobile-menu a { padding: 13px 0; border-bottom: 1px solid var(--gray-100); font-weight: 600; color: var(--gray-700); transition: var(--transition); display: block; }
.mobile-menu a:hover { color: var(--green); }
.mobile-menu-cta { margin-top: 20px !important; width: 100%; text-align: center; border-bottom: none !important; border-radius: 99px; padding: 14px 28px; justify-content: center; }

/* User avatar dropdown */
.user-menu { position: relative; }
.user-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--green-light); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .82rem; color: var(--green); cursor: pointer; border: 2px solid var(--gray-200); }
.user-dropdown { display: none; position: absolute; top: calc(100% + 10px); right: 0; background: var(--white); border-radius: var(--radius-md); box-shadow: var(--shadow-lg); border: 1px solid var(--gray-100); min-width: 190px; padding: 8px 0; z-index: 200; }
.user-dropdown.open { display: block; }
.user-dropdown a { display: flex; align-items: center; gap: 10px; padding: 10px 16px; font-size: .88rem; color: var(--gray-700); transition: var(--transition); }
.user-dropdown a:hover { background: var(--gray-50); color: var(--green); }
.user-dropdown .logout { color: #dc2626; }
.user-dropdown .logout:hover { background: #fef2f2; color: #b91c1c; }

@media (max-width: 1023px) { .navbar-links { display: none; } .hamburger { display: flex; } .mobile-menu { display: flex; } }

/* ── Cards ──────────────────────────────────────────────────── */
.card { background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--gray-200); box-shadow: var(--shadow-sm); overflow: hidden; transition: var(--transition); }
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.card-body { padding: 20px; }
.card-img { width: 100%; height: 190px; object-fit: cover; }

/* ── Progress Bar ───────────────────────────────────────────── */
.progress-wrap { height: 7px; background: var(--gray-200); border-radius: 99px; overflow: hidden; margin: 8px 0; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--green), var(--yellow)); border-radius: 99px; width: 0; transition: width 1.2s ease; }

/* ── Campaign Card ──────────────────────────────────────────── */
.campaign-card { display: flex; flex-direction: column; }
.campaign-card .card-body { flex: 1; display: flex; flex-direction: column; }
.campaign-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.category-badge { font-size: .68rem; font-weight: 700; padding: 3px 10px; border-radius: 99px; text-transform: uppercase; letter-spacing: .05em; }
.badge-family    { background: #ede9fe; color: #6d28d9; }
.badge-medical   { background: #fce7f3; color: #9d174d; }
.badge-education { background: #dbeafe; color: #1e40af; }
.badge-community { background: var(--green-light); color: var(--green-dark); }
.badge-business  { background: var(--yellow-light); color: #92400e; }
.badge-emergency { background: #fee2e2; color: #991b1b; }
.badge-other     { background: var(--gray-100); color: var(--gray-600); }

.campaign-title    { font-weight: 700; color: var(--green-dark); font-size: .95rem; line-height: 1.4; margin-bottom: 6px; }
.campaign-stats    { display: flex; justify-content: space-between; font-size: .78rem; color: var(--gray-500); margin-bottom: 4px; }
.campaign-footer   { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 14px; }
.contributors-count { font-size: .78rem; color: var(--gray-400); }
.days-left          { font-size: .78rem; color: var(--green); font-weight: 700; }

/* ── Campaign Grids ─────────────────────────────────────────── */
.campaigns-grid      { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.home-campaigns-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }

@media (max-width:1280px) {
  .home-campaigns-grid { grid-template-columns: repeat(3,1fr); }
}
@media (max-width:1023px) {
  .campaigns-grid { grid-template-columns: repeat(2,1fr); gap: 20px; }
  .home-campaigns-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width:767px) {
  .campaigns-grid { grid-template-columns: 1fr; }
}
@media (max-width:600px) {
  .home-campaigns-grid { display: flex; flex-direction: column; }
}

/* ── Section header ─────────────────────────────────────────── */
.section-header  { text-align: center; margin-bottom: 52px; }
.section-eyebrow { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--green); display: block; margin-bottom: 10px; }
.section-title   { font-size: clamp(1.6rem,4vw,2.2rem); font-weight: 900; color: var(--gray-900); letter-spacing: -.02em; }
.section-sub     { font-size: .95rem; color: var(--gray-500); max-width: 520px; margin: 12px auto 0; }

/* ── Trust bar ──────────────────────────────────────────────── */
.trust-bar { background: var(--green-light); border-bottom: 1px solid var(--gray-200); padding: 14px 0; }
.trust-bar-inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px 36px; align-items: center; }
.trust-badge { display: flex; align-items: center; gap: 7px; font-size: .82rem; font-weight: 600; color: var(--green-dark); }
.trust-badge i { font-size: 1rem; }

/* ── Forms ──────────────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: .88rem; font-weight: 600; color: var(--gray-700); margin-bottom: 6px; }
.form-label .required { color: var(--red-err); }
.form-input { width: 100%; padding: 12px 16px; border: 1.5px solid var(--gray-200); border-radius: var(--radius-md); font-size: .9rem; color: var(--gray-800); background: var(--white); outline: none; transition: var(--transition); }
.form-input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(26,122,60,.12); }
.form-input.error { border-color: var(--red-err); }
.form-error { font-size: .78rem; color: var(--red-err); margin-top: 4px; display: none; }
.form-error.visible { display: block; }
select.form-input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%238fa89a' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
textarea.form-input { resize: vertical; min-height: 120px; }

/* ── Modal ──────────────────────────────────────────────────── */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.5); backdrop-filter: blur(4px); z-index: 2000; align-items: center; justify-content: center; padding: 16px; }
.modal-overlay.open { display: flex; }
.modal { background: var(--white); border-radius: var(--radius-xl); width: 100%; max-width: 520px; max-height: 90vh; overflow-y: auto; animation: modalIn .25s ease; }
@keyframes modalIn { from { transform: scale(.94); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal-header { display: flex; align-items: center; justify-content: space-between; padding: 24px 24px 0; }
.modal-body   { padding: 20px 24px 24px; }
.modal-close  { font-size: 1.4rem; color: var(--gray-400); transition: var(--transition); }
.modal-close:hover { color: var(--gray-700); }

/* ── Toast ──────────────────────────────────────────────────── */
.toast { position: fixed; bottom: 24px; right: 24px; z-index: 9999; background: var(--gray-900); color: var(--white); padding: 12px 20px; border-radius: var(--radius-md); font-size: .88rem; font-weight: 600; transform: translateY(100px); opacity: 0; transition: all .3s ease; pointer-events: none; }
.toast.show    { transform: translateY(0); opacity: 1; }
.toast.success { background: var(--green-dark); }
.toast.error   { background: #991b1b; }

/* ── FAQ ────────────────────────────────────────────────────── */
.faq-item { border-bottom: 1px solid var(--gray-200); }
.faq-question { width: 100%; text-align: left; padding: 20px 0; display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: .95rem; color: var(--green-dark); cursor: pointer; transition: var(--transition); background: none; border: none; }
.faq-question:hover { color: var(--green); }
.faq-icon { font-size: 1.1rem; transition: transform .3s ease; flex-shrink: 0; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s ease; }
.faq-answer-inner { padding-bottom: 16px; font-size: .9rem; color: var(--gray-600); line-height: 1.7; }
.faq-item.open .faq-answer { max-height: 300px; }

/* ── Auth ───────────────────────────────────────────────────── */
.auth-wrapper { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 55%, #2d9e5e 100%); padding: 80px 16px 40px; }
.auth-card { background: var(--white); border-radius: var(--radius-xl); padding: 40px; width: 100%; max-width: 440px; box-shadow: var(--shadow-lg); }
.auth-divider { text-align: center; position: relative; margin: 20px 0; }
.auth-divider::before { content: ''; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: var(--gray-200); }
.auth-divider span { background: var(--white); padding: 0 12px; font-size: .82rem; color: var(--gray-400); position: relative; }

/* ── Dashboard / Sidebar ────────────────────────────────────── */
.dashboard-layout { display: flex; min-height: 100vh; }
.sidebar { width: 240px; flex-shrink: 0; background: var(--white); border-right: 1px solid var(--gray-200); position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 20px 12px; overflow-y: auto; }
.sidebar-brand { display: flex; align-items: center; gap: 10px; padding: 8px 12px 24px; }
.sidebar-nav { flex: 1; }
.sidebar-link { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--radius-md); font-size: .88rem; font-weight: 600; color: var(--gray-600); transition: var(--transition); margin-bottom: 2px; }
.sidebar-link:hover { background: var(--green-light); color: var(--green); }
.sidebar-link.active { background: var(--green); color: var(--white); }
.sidebar-link i { width: 18px; text-align: center; }
.sidebar-footer { border-top: 1px solid var(--gray-100); padding-top: 12px; }
.sidebar-footer .logout-link { color: #dc2626; }
.sidebar-footer .logout-link:hover { background: #fef2f2; }
.main-content { flex: 1; background: var(--gray-50); padding: 32px; min-width: 0; }
.page-header { margin-bottom: 28px; }
.page-header h1 { font-size: 1.5rem; font-weight: 800; color: var(--green-dark); }
.page-header p  { color: var(--gray-400); font-size: .88rem; margin-top: 4px; }

/* ── Table ──────────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .88rem; }
thead tr { border-bottom: 2px solid var(--gray-100); }
th { padding: 10px 14px; text-align: left; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--gray-400); }
td { padding: 14px; color: var(--gray-700); border-bottom: 1px solid var(--gray-100); }
tr:last-child td { border-bottom: none; }
tbody tr:hover { background: var(--gray-50); }

/* ── Status badges ──────────────────────────────────────────── */
.status-badge { display: inline-block; padding: 3px 10px; border-radius: 99px; font-size: .72rem; font-weight: 700; text-transform: uppercase; }
.status-active    { background: var(--green-light); color: var(--green-dark); }
.status-completed { background: #dbeafe; color: #1e40af; }
.status-draft     { background: var(--gray-100); color: var(--gray-600); }
.status-paused    { background: var(--yellow-light); color: #92400e; }
.status-flagged   { background: #fee2e2; color: #991b1b; }
.status-pending   { background: var(--yellow-light); color: #92400e; }
.status-approved  { background: var(--green-light); color: var(--green-dark); }
.status-rejected  { background: #fee2e2; color: #991b1b; }

/* ── Tabs ───────────────────────────────────────────────────── */
.tabs-nav { display: flex; gap: 4px; border-bottom: 2px solid var(--gray-200); margin-bottom: 24px; flex-wrap: wrap; }
.tab-btn { padding: 10px 18px; border-radius: var(--radius-sm) var(--radius-sm) 0 0; font-size: .85rem; font-weight: 600; color: var(--gray-500); transition: var(--transition); border-bottom: 2px solid transparent; margin-bottom: -2px; background: none; border-left: none; border-right: none; border-top: none; cursor: pointer; }
.tab-btn:hover { color: var(--green); }
.tab-btn.active { color: var(--green); border-bottom-color: var(--yellow); background: rgba(245,197,24,.07); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ── Pagination ─────────────────────────────────────────────── */
.pagination { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 40px; }
.page-btn { width: 38px; height: 38px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: .88rem; font-weight: 600; color: var(--gray-600); border: 1.5px solid var(--gray-200); transition: var(--transition); background: none; cursor: pointer; }
.page-btn:hover { border-color: var(--green); color: var(--green); }
.page-btn.active { background: var(--green); color: var(--white); border-color: var(--green); }

/* ── Filter bar ─────────────────────────────────────────────── */
.filter-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 28px; }
.filter-bar .form-input { max-width: 220px; }
.search-input-wrap { position: relative; flex: 1; min-width: 200px; max-width: 360px; }
.search-input-wrap i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--gray-400); }
.search-input-wrap input { padding-left: 40px; }

/* ── Donation widget ────────────────────────────────────────── */
.donation-widget { background: var(--white); border-radius: var(--radius-xl); border: 1px solid var(--gray-200); padding: 24px; box-shadow: var(--shadow-md); }
.quick-amounts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.quick-amount-btn { padding: 7px 16px; border-radius: 99px; border: 1.5px solid var(--gray-200); font-size: .82rem; font-weight: 700; color: var(--gray-600); transition: var(--transition); background: none; cursor: pointer; }
.quick-amount-btn:hover, .quick-amount-btn.selected { background: var(--green); color: var(--white); border-color: var(--green); }

/* ── Step indicator ─────────────────────────────────────────── */
.step-indicator { display: flex; align-items: center; gap: 0; margin-bottom: 28px; }
.step-dot { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .85rem; flex-shrink: 0; border: 2px solid var(--gray-200); color: var(--gray-400); transition: var(--transition); }
.step-dot.active { background: var(--green); color: var(--white); border-color: var(--green); }
.step-dot.done   { background: var(--yellow); color: var(--gray-900); border-color: var(--yellow); }
.step-line { flex: 1; height: 2px; background: var(--gray-200); transition: var(--transition); }
.step-line.done { background: var(--yellow); }

/* ── Misc utilities ─────────────────────────────────────────── */
.divider { border: none; border-top: 1px solid var(--gray-200); margin: 24px 0; }
.text-center { text-align: center; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mb-6 { margin-bottom: 24px; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.ledger-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-radius: var(--radius-md); font-size: .88rem; }
.ledger-row:nth-child(even) { background: var(--gray-50); }
.ledger-name   { font-weight: 600; color: var(--green-dark); }
.ledger-time   { font-size: .75rem; color: var(--gray-400); }
.ledger-amount { font-weight: 700; color: var(--green); }
.section-eyebrow { color: var(--green); }
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar { width: 240px; flex-shrink: 0; background: var(--white); border-right: 1px solid var(--gray-200); position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 20px 12px; }
.admin-main { flex: 1; background: var(--gray-50); padding: 32px; min-width: 0; }
a.campaign-card { cursor: pointer; }
a.campaign-card:hover { text-decoration: none; }
a.campaign-card .btn { pointer-events: none; }
input[type="range"] { accent-color: var(--green); width: 100%; cursor: pointer; }
.file-upload-area { border: 2px dashed var(--gray-200); border-radius: var(--radius-md); padding: 32px; text-align: center; cursor: pointer; transition: var(--transition); }
.file-upload-area:hover, .file-upload-area.dragover { border-color: var(--green); background: var(--green-light); }

/* ── Steps grid (How it works) ──────────────────────────────── */
.steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; margin-top: 48px; }
.step-card { text-align: center; padding: 40px 28px; }
.step-icon-wrap { width: 68px; height: 68px; border-radius: 20px; margin: 0 auto 22px; background: linear-gradient(135deg, var(--green), var(--green-dark)); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: var(--yellow); font-weight: 900; box-shadow: 0 8px 24px rgba(26,122,60,.28); }
.stat-card { background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--gray-200); padding: 20px 24px; transition: var(--transition); }
.stat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.stat-label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--gray-400); }
.stat-value { font-size: 1.7rem; font-weight: 900; color: var(--green-dark); margin: 4px 0 2px; letter-spacing: -.02em; }
.stat-sub { font-size: .75rem; }

/* ── Footer ─────────────────────────────────────────────────── */
.footer { background: var(--gray-900); color: var(--gray-400); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-brand p { font-size: .88rem; margin: 12px 0 20px; line-height: 1.7; }
.footer-socials { display: flex; gap: 14px; }
.footer-socials a { font-size: 1.2rem; color: var(--gray-500); transition: var(--transition); }
.footer-socials a:hover { color: var(--yellow); }
.footer-col h4 { font-size: .9rem; font-weight: 700; color: var(--white); margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: .88rem; transition: var(--transition); }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: .82rem; }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a:hover { color: var(--white); }

/* ── Responsive (global) ────────────────────────────────────── */
@media (max-width: 1023px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid  { grid-template-columns: 1fr; gap: 16px; }
  .campaigns-grid      { grid-template-columns: repeat(2,1fr); }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 767px) {
  html, body { overflow-x: hidden; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .campaigns-grid      { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .section-title { font-size: 1.5rem; }
}
