/* =====================================================================
   DRUG FREE PROJECT — public site design system
   Light & dark themes · mobile-first · no frameworks
   ===================================================================== */
:root {
  --red: #E5232B; --red-600: #C9161E; --red-50: #FDECEC;
  --blue: #1E5C96; --blue-600: #154675; --blue-50: #E8F0F8;
  --sun: #F6C71F; --green: #16A34A; --amber: #D97706;
  --bg: #FAF8F4; --bg-2: #F2EFE8; --surface: #FFFFFF; --surface-2: #F7F5F0;
  --ink: #0F172A; --ink-2: #334155; --muted: #64748B; --line: #E7E3DA; --line-2: #D9D4C8;
  --shadow-sm: 0 1px 2px rgba(15,23,42,.06), 0 2px 8px rgba(15,23,42,.05);
  --shadow: 0 10px 30px -10px rgba(15,23,42,.18), 0 4px 10px -6px rgba(15,23,42,.08);
  --shadow-lg: 0 30px 70px -20px rgba(15,23,42,.28);
  --radius: 20px; --radius-sm: 12px; --radius-xs: 8px;
  --f-display: "Bricolage Grotesque", "Plus Jakarta Sans", system-ui, sans-serif;
  --f-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1220px; --nav-h: 76px;
  --ease: cubic-bezier(.2,.7,.2,1);
  color-scheme: light;
}
[data-theme="dark"] {
  --bg: #0A0F1D; --bg-2: #0E1527; --surface: #121A2E; --surface-2: #172138;
  --ink: #EDF1F8; --ink-2: #C7D0E0; --muted: #94A0B8; --line: #22304D; --line-2: #2C3B5C;
  --red-50: rgba(229,35,43,.14); --blue-50: rgba(56,130,200,.16);
  --blue: #5B9BE0; --blue-600: #3B82C9;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.4); --shadow: 0 14px 34px -12px rgba(0,0,0,.6); --shadow-lg: 0 30px 70px -20px rgba(0,0,0,.7);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--f-body); font-size: 16px; line-height: 1.65; color: var(--ink-2); background: var(--bg); -webkit-font-smoothing: antialiased; transition: background .3s, color .3s; overflow-x: hidden; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4, h5 { font-family: var(--f-display); color: var(--ink); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.9rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }
small, .small { font-size: .875rem; }
.muted { color: var(--muted); }
.hp { position: absolute !important; left: -9999px !important; height: 0; width: 0; opacity: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section-sm { padding: clamp(44px, 6vw, 72px) 0; }
.bg-alt { background: var(--bg-2); }
.center { text-align: center; }
.grid { display: grid; gap: 24px; }
.g-2 { grid-template-columns: repeat(2, 1fr); } .g-3 { grid-template-columns: repeat(3, 1fr); } .g-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .g-4 { grid-template-columns: repeat(2, 1fr); } .g-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .g-2, .g-3, .g-4 { grid-template-columns: 1fr; } }
.flex { display: flex; gap: 12px; align-items: center; } .wrap-row { flex-wrap: wrap; } .between { justify-content: space-between; }
.mt-0 { margin-top: 0 } .mt-1 { margin-top: 8px } .mt-2 { margin-top: 16px } .mt-3 { margin-top: 28px } .mt-4 { margin-top: 44px } .mb-0 { margin-bottom: 0 }

/* ---------- Section headings ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 700 .78rem/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 26px; height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--blue) 0 40%, var(--red) 40%); }
.head { max-width: 720px; margin-bottom: 44px; }
.head.center { margin-inline: auto; }
.head p { font-size: 1.08rem; color: var(--muted); }
.head-row { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 36px; flex-wrap: wrap; }
.head-row .head { margin-bottom: 0; }
.hl { color: var(--red); position: relative; white-space: nowrap; }
.hl-blue { color: var(--blue); }

/* ---------- Buttons ---------- */
.btn { --b: var(--red); display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 24px; border-radius: 999px; font: 700 .95rem/1 var(--f-body); border: 2px solid transparent; background: var(--b); color: #fff; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s, background .2s, color .2s; white-space: nowrap; position: relative; overflow: hidden; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -10px var(--b); }
.btn:active { transform: translateY(0); }
.btn i { font-size: .95em; }
.btn-blue { --b: var(--blue); }
.btn-dark { --b: #0F172A; } [data-theme="dark"] .btn-dark { --b: #EDF1F8; color: #0F172A; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); box-shadow: none; }
.btn-white { background: #fff; color: #0F172A; } .btn-white:hover { box-shadow: 0 12px 24px -10px rgba(0,0,0,.5); }
.btn-outline-white { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.55); backdrop-filter: blur(6px); }
.btn-outline-white:hover { background: #fff; color: #0F172A; box-shadow: none; }
.btn-sm { padding: 10px 16px; font-size: .85rem; } .btn-lg { padding: 18px 30px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn.loading { opacity: .75; pointer-events: none; }
.btn.loading::after { content: ""; width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.link { color: var(--red); font-weight: 700; display: inline-flex; gap: 8px; align-items: center; }
.link i { transition: transform .2s; } .link:hover i { transform: translateX(4px); }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--surface); border: 1px solid var(--line); color: var(--ink); cursor: pointer; transition: .2s; position: relative; }
.icon-btn:hover { border-color: var(--ink); transform: translateY(-1px); }
.badge-dot { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px; background: var(--red); color: #fff; font-size: .7rem; font-weight: 800; display: grid; place-items: center; border: 2px solid var(--bg); }

/* ---------- Topbar & navigation ---------- */
.topbar { background: #0B1222; color: #B8C3D9; font-size: .82rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar a:hover { color: #fff; }
.topbar .tb-left, .topbar .tb-right { display: flex; gap: 20px; align-items: center; }
.topbar .tb-left i { color: var(--red); margin-right: 6px; }
.topbar .socials a { width: 26px; height: 26px; display: inline-grid; place-items: center; border-radius: 50%; }
.topbar .socials a:hover { background: rgba(255,255,255,.1); }
#google_translate_element select { background: transparent; color: #cfd8ea; border: 1px solid rgba(255,255,255,.2); border-radius: 6px; font-size: .78rem; padding: 3px 4px; }
#google_translate_element .goog-te-gadget { color: transparent; font-size: 0; } #google_translate_element .goog-te-gadget > span { display: none; }
body > .skiptranslate, .goog-te-banner-frame { display: none !important; } body { top: 0 !important; }
@media (max-width: 860px) { .topbar .tb-left .hide-sm, .topbar .socials { display: none; } }

.nav { position: sticky; top: 0; z-index: 60; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s; }
.nav.scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 30px -18px rgba(15,23,42,.35); }
.nav .wrap { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 54px; width: auto; }
.logo-dark { display: none !important; } [data-theme="dark"] .logo-light { display: none !important; } [data-theme="dark"] .logo-dark { display: block !important; }
.menu { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.menu > li { position: relative; }
.menu > li > a, .menu > li > button { display: flex; align-items: center; gap: 6px; padding: 10px 12px; white-space: nowrap; border-radius: 99px; font-weight: 600; font-size: .94rem; color: var(--ink); background: none; border: 0; cursor: pointer; font-family: inherit; transition: background .2s; }
.menu > li > a:hover, .menu > li > button:hover, .menu > li.open > button { background: var(--surface-2); }
.menu > li.active > a, .menu > li.active > button { color: var(--red); }
.menu .caret { font-size: .65rem; transition: transform .2s; }
.menu > li.open .caret { transform: rotate(180deg); }
.dropdown { position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 8px); min-width: 260px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 10px; opacity: 0; visibility: hidden; transition: .22s var(--ease); }
.dropdown::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.menu > li:hover .dropdown, .menu > li.open .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown a { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; color: var(--ink); }
.dropdown a:hover { background: var(--surface-2); }
.dropdown a i { width: 34px; height: 34px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--red-50); color: var(--red); font-size: .9rem; }
.dropdown a:nth-child(even) i { background: var(--blue-50); color: var(--blue); }
.dropdown b { display: block; font-size: .92rem; } .dropdown span { display: block; font-size: .8rem; color: var(--muted); line-height: 1.35; }
.dropdown.wide { min-width: 540px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.theme-toggle .fa-sun { display: none; } [data-theme="dark"] .theme-toggle .fa-sun { display: inline; } [data-theme="dark"] .theme-toggle .fa-moon { display: none; }
.burger { display: none; }
@media (max-width: 1480px) { .nav-actions .hide-xl { display: none; } .menu > li > a, .menu > li > button { padding: 10px 10px; font-size: .9rem; } }
@media (max-width: 1100px) { .menu, .nav-actions .hide-md { display: none; } .burger { display: inline-grid; } }
@media (max-width: 480px) { .brand img { height: 46px; } .nav-actions .btn { display: none; } :root { --nav-h: 66px; } }

/* Mobile drawer */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(5,10,20,.55); backdrop-filter: blur(4px); z-index: 90; opacity: 0; visibility: hidden; transition: .3s; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(400px, 90vw); background: var(--surface); z-index: 91; transform: translateX(100%); transition: transform .35s var(--ease); display: flex; flex-direction: column; box-shadow: var(--shadow-lg); }
body.drawer-open .drawer { transform: none; } body.drawer-open .drawer-backdrop { opacity: 1; visibility: visible; } body.drawer-open { overflow: hidden; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.drawer-body { overflow-y: auto; padding: 12px 14px 30px; flex: 1; }
.drawer-body details { border-bottom: 1px solid var(--line); }
.drawer-body summary, .drawer-body > a { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 15px 8px; font-weight: 700; color: var(--ink); cursor: pointer; font-size: 1.02rem; }
.drawer-body > a { border-bottom: 1px solid var(--line); }
.drawer-body summary::-webkit-details-marker { display: none; }
.drawer-body summary i { transition: transform .2s; font-size: .8rem; } details[open] summary i { transform: rotate(180deg); }
.drawer-body details a { display: flex; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--ink-2); font-weight: 500; }
.drawer-body details a:hover { background: var(--surface-2); }
.drawer-body details a i { width: 20px; color: var(--red); }
.drawer-body details > div { padding: 0 0 12px; }
.drawer-foot { padding: 16px 20px; border-top: 1px solid var(--line); display: grid; gap: 10px; }

/* ---------- HERO SLIDER ---------- */
.hero { position: relative; height: min(92vh, 860px); min-height: 560px; overflow: hidden; background: #0B1222; color: #fff; }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 1s; }
.hero-slide.active { opacity: 1; visibility: visible; z-index: 2; }
.hero-bg { position: absolute; inset: -2%; background-size: cover; background-position: center; transform: scale(1.12); transition: transform 8s linear; }
.hero-slide.active .hero-bg { transform: scale(1); }
.hero-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(8,13,28,var(--ov,.72)) 0%, rgba(8,13,28,calc(var(--ov,.72) * .75)) 45%, rgba(8,13,28,.15) 100%), linear-gradient(0deg, rgba(8,13,28,.7), transparent 40%); }
.hero-slide.align-center::after { background: rgba(8,13,28,var(--ov,.6)); }
.hero-slide.align-right::after { background: linear-gradient(260deg, rgba(8,13,28,var(--ov,.72)) 0%, rgba(8,13,28,.2) 100%), linear-gradient(0deg, rgba(8,13,28,.7), transparent 40%); }
.hero-content { position: relative; z-index: 3; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-bottom: 60px; }
.hero-content .inner { max-width: 760px; }
.align-center .hero-content { align-items: center; text-align: center; } .align-center .hero-content .inner { margin-inline: auto; }
.align-right .hero-content { align-items: flex-end; text-align: right; }
.hero .eyebrow { color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); padding: 9px 14px; border-radius: 99px; backdrop-filter: blur(8px); }
.hero h1, .hero h2.h1 { color: #fff; font-size: clamp(2.1rem, 5.4vw, 4.4rem); margin-bottom: 18px; text-wrap: balance; }
.hero p.lead { font-size: clamp(1rem, 1.6vw, 1.22rem); color: rgba(255,255,255,.86); max-width: 600px; margin-bottom: 30px; }
.align-center .hero p.lead { margin-inline: auto; } .align-right .hero p.lead { margin-left: auto; }
.hero .cta { display: flex; gap: 14px; flex-wrap: wrap; }
.align-center .hero .cta { justify-content: center; } .align-right .hero .cta { justify-content: flex-end; }
/* caption animations (chosen per slide in admin) */
.hero [data-a] { opacity: 0; }
.hero-slide.active [data-a] { animation-duration: .9s; animation-fill-mode: forwards; animation-timing-function: var(--ease); }
.hero-slide.active [data-a="1"] { animation-delay: .25s } .hero-slide.active [data-a="2"] { animation-delay: .45s } .hero-slide.active [data-a="3"] { animation-delay: .65s } .hero-slide.active [data-a="4"] { animation-delay: .85s }
.anim-fade-up.active [data-a] { animation-name: fadeUp; }
.anim-slide-left.active [data-a] { animation-name: slideLeft; }
.anim-slide-right.active [data-a] { animation-name: slideRight; }
.anim-zoom.active [data-a] { animation-name: zoomIn; }
.anim-blur-in.active [data-a] { animation-name: blurIn; }
.anim-flip.active [data-a] { animation-name: flipIn; }
.anim-typewriter.active [data-a] { animation-name: fadeUp; }
.anim-typewriter .tw-caret { display: inline-block; width: 3px; height: .9em; background: var(--red); margin-left: 4px; vertical-align: -0.05em; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(34px); } to { opacity: 1; transform: none; } }
@keyframes slideLeft { from { opacity: 0; transform: translateX(-70px); } to { opacity: 1; transform: none; } }
@keyframes slideRight { from { opacity: 0; transform: translateX(70px); } to { opacity: 1; transform: none; } }
@keyframes zoomIn { from { opacity: 0; transform: scale(.82); } to { opacity: 1; transform: none; } }
@keyframes blurIn { from { opacity: 0; filter: blur(14px); letter-spacing: .06em; } to { opacity: 1; filter: none; } }
@keyframes flipIn { from { opacity: 0; transform: perspective(600px) rotateX(-70deg); transform-origin: top; } to { opacity: 1; transform: none; } }
.hero-ui { position: absolute; z-index: 5; left: 0; right: 0; bottom: 28px; }
.hero.has-stats .hero-ui { bottom: 104px; } .hero.has-stats .hero-content { padding-bottom: 150px; }
.hero-ui .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.hero-dots { display: flex; gap: 10px; flex: 1; max-width: 560px; }
.hero-dot { flex: 1; height: 44px; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; color: rgba(255,255,255,.6); font: 600 .75rem/1.3 var(--f-body); }
.hero-dot .bar { display: block; height: 3px; background: rgba(255,255,255,.25); border-radius: 3px; overflow: hidden; margin-bottom: 8px; }
.hero-dot .bar span { display: block; height: 100%; width: 0; background: #fff; }
.hero-dot.active { color: #fff; } .hero-dot.active .bar span { animation: progress var(--dur, 7s) linear forwards; }
.hero.paused .hero-dot.active .bar span { animation-play-state: paused; }
.hero-dot .t { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
@keyframes progress { to { width: 100%; } }
.hero-arrows { display: flex; gap: 10px; }
.hero-arrows button { width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.08); color: #fff; cursor: pointer; backdrop-filter: blur(6px); transition: .2s; }
.hero-arrows button:hover { background: #fff; color: #0B1222; }
.hero-count { font: 700 .85rem var(--f-display); color: rgba(255,255,255,.7); letter-spacing: .1em; }
.hero-count b { color: #fff; font-size: 1.3rem; }
@media (max-width: 720px) { .hero.has-stats .hero-ui { bottom: 92px; } .hero.has-stats .hero-content { padding-bottom: 150px; } .hero { height: 86vh; min-height: 540px; } .hero-dot .t, .hero-count { display: none; } .hero-dot { height: 14px; } .hero-arrows button { width: 42px; height: 42px; } .hero-content { padding-bottom: 90px; } .align-right .hero-content { text-align: left; align-items: flex-start; } .align-right .hero .cta { justify-content: flex-start; } }

/* ---------- Page header ---------- */
.page-hero { position: relative; padding: clamp(80px, 12vw, 150px) 0 clamp(60px, 8vw, 100px); color: #fff; background: #0B1222 center/cover no-repeat; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, rgba(8,13,28,.9) 20%, rgba(8,13,28,.55)); }
.page-hero .wrap { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.8rem); margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,.82); font-size: 1.1rem; max-width: 640px; }
.crumbs { display: flex; gap: 8px; font-size: .85rem; color: rgba(255,255,255,.7); margin-bottom: 18px; flex-wrap: wrap; }
.crumbs a:hover { color: #fff; } .crumbs i { font-size: .6rem; align-self: center; }

/* ---------- Cards ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; position: relative; }
.card.hover:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card-body { padding: 24px; }
.card-media { display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--surface-2); position: relative; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card.hover:hover .card-media img { transform: scale(1.06); }
.card h3 { margin-bottom: 8px; }
.card .meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: .82rem; color: var(--muted); margin-bottom: 10px; }
.card .meta i { color: var(--red); margin-right: 4px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; background: var(--surface-2); border: 1px solid var(--line); font-size: .78rem; font-weight: 700; color: var(--ink-2); }
.chip-red { background: var(--red-50); color: var(--red); border-color: transparent; } .chip-blue { background: var(--blue-50); color: var(--blue); border-color: transparent; }
.chip-green { background: rgba(22,163,74,.12); color: #16A34A; border-color: transparent; } .chip-amber { background: rgba(217,119,6,.13); color: #D97706; border-color: transparent; }
.card-media .chip { position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,.92); color: #0F172A; border: 0; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 34px); }
.clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- Impact stats ---------- */
.stats-band { margin-top: -70px; position: relative; z-index: 6; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--surface); border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow); overflow: hidden; }
.stat { padding: 30px 26px; position: relative; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--red-50); color: var(--red); font-size: 1.15rem; margin-bottom: 16px; }
.stat:nth-child(even) .ic { background: var(--blue-50); color: var(--blue); }
.stat .num { font: 800 clamp(1.9rem, 3.2vw, 2.6rem)/1 var(--f-display); color: var(--ink); letter-spacing: -.03em; }
.stat .lbl { font-weight: 600; color: var(--muted); font-size: .9rem; margin-top: 6px; }
.stat .goal { margin-top: 14px; height: 6px; background: var(--surface-2); border-radius: 9px; overflow: hidden; }
.stat .goal span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), var(--red)); border-radius: 9px; transition: width 1.8s var(--ease); }
.stat .goal-t { font-size: .74rem; color: var(--muted); margin-top: 6px; }
@media (max-width: 900px) { .stats { grid-template-columns: 1fr 1fr; } .stat:nth-child(3) { border-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 420px) { .stat { padding: 22px 18px; } }

/* ---------- About split ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.split.rev { grid-template-columns: 1fr 1.05fr; } .split.rev > :first-child { order: 2; }
@media (max-width: 900px) { .split, .split.rev { grid-template-columns: 1fr; } .split.rev > :first-child { order: 0; } }
.photo-stack { position: relative; padding: 0 0 50px 50px; }
.photo-stack .p1 { border-radius: 28px; overflow: hidden; aspect-ratio: 4/4.4; box-shadow: var(--shadow-lg); }
.photo-stack .p1 img { width: 100%; height: 100%; object-fit: cover; }
.photo-stack .p2 { position: absolute; left: 0; bottom: 0; width: 46%; aspect-ratio: 1; border-radius: 22px; overflow: hidden; border: 8px solid var(--bg); box-shadow: var(--shadow); }
.photo-stack .p2 img { width: 100%; height: 100%; object-fit: cover; }
.photo-stack .floater { position: absolute; right: -14px; top: 30px; background: var(--surface); border-radius: 18px; padding: 16px 18px; box-shadow: var(--shadow); display: flex; gap: 12px; align-items: center; animation: floaty 5s ease-in-out infinite; border: 1px solid var(--line); }
.photo-stack .floater b { display: block; font: 800 1.4rem var(--f-display); color: var(--ink); line-height: 1; }
.photo-stack .floater i { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--red); color: #fff; }
@keyframes floaty { 50% { transform: translateY(-10px); } }
.caption-tag { position: absolute; right: 18px; bottom: 68px; background: rgba(10,15,29,.78); color: #fff; padding: 8px 14px; border-radius: 99px; font-size: .78rem; backdrop-filter: blur(6px); max-width: 70%; }
@media (max-width: 560px) { .photo-stack { padding: 0 0 40px 24px; } .photo-stack .floater { right: 0; } }
.checks { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li::before { content: "\f00c"; font: 900 .72rem "Font Awesome 6 Free"; width: 24px; height: 24px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--red-50); color: var(--red); margin-top: 2px; }
.values { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Features / programs ---------- */
.feature { padding: 30px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: .35s var(--ease); position: relative; overflow: hidden; }
.feature::after { content: ""; position: absolute; width: 180px; height: 180px; right: -70px; top: -70px; border-radius: 50%; background: var(--red-50); transition: .5s var(--ease); z-index: 0; }
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature:hover::after { transform: scale(1.7); }
.feature > * { position: relative; z-index: 1; }
.feature .ic { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; font-size: 1.4rem; color: #fff; background: var(--red); margin-bottom: 20px; box-shadow: 0 12px 24px -12px var(--red); }
.feature:nth-child(even) .ic { background: var(--blue); box-shadow: 0 12px 24px -12px var(--blue); } .feature:nth-child(even)::after { background: var(--blue-50); }
.feature ul { padding-left: 18px; margin: 10px 0 0; color: var(--muted); font-size: .93rem; }

/* ---------- Marquee (live pledges) ---------- */
.marquee { overflow: hidden; background: var(--red); color: #fff; padding: 16px 0; position: relative; }
.marquee.blue { background: var(--blue); }
.marquee-track { display: flex; gap: 44px; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: flex; align-items: center; gap: 10px; font-weight: 600; white-space: nowrap; font-size: .95rem; }
.marquee-item .avatar { width: 30px; height: 30px; font-size: .7rem; border: 2px solid rgba(255,255,255,.6); }
.marquee-item i.fa-heart { color: var(--sun); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Avatars & community wall ---------- */
.avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; background: var(--surface-2); }
.avatar-i { display: inline-grid; place-items: center; font: 800 .85rem var(--f-body); color: #fff; background: linear-gradient(135deg, hsl(var(--h) 70% 48%), hsl(calc(var(--h) + 40) 70% 38%)); letter-spacing: .02em; }
.avatar.lg { width: 84px; height: 84px; font-size: 1.4rem; } .avatar.xl { width: 120px; height: 120px; font-size: 2rem; }
.avatar-stack { display: flex; } .avatar-stack .avatar { width: 40px; height: 40px; border: 3px solid var(--surface); margin-left: -12px; font-size: .75rem; } .avatar-stack .avatar:first-child { margin-left: 0; }
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.person { text-align: center; padding: 22px 12px 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); transition: .3s var(--ease); animation: popIn .5s var(--ease) both; }
.person:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.person .avatar { width: 74px; height: 74px; margin: 0 auto 12px; font-size: 1.25rem; box-shadow: 0 0 0 4px var(--surface), 0 0 0 6px var(--line); }
.person b { display: block; color: var(--ink); font-size: .95rem; line-height: 1.3; }
.person small { color: var(--muted); display: block; margin-top: 2px; }
.person .tag { display: inline-block; line-height: 1.3; max-width: 100%; margin-top: 8px; font-size: .7rem; font-weight: 700; padding: 3px 9px; border-radius: 99px; background: var(--red-50); color: var(--red); }
.person.v .tag { background: var(--blue-50); color: var(--blue); }
.person q { display: block; font-size: .8rem; color: var(--muted); margin-top: 8px; font-style: italic; }
@keyframes popIn { from { opacity: 0; transform: scale(.92) translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Tabs ---------- */
.tabs { display: inline-flex; gap: 4px; padding: 5px; background: var(--surface); border: 1px solid var(--line); border-radius: 99px; flex-wrap: wrap; }
.tab { border: 0; background: none; padding: 10px 18px; border-radius: 99px; font: 700 .88rem var(--f-body); color: var(--muted); cursor: pointer; transition: .2s; }
.tab.active { background: var(--ink); color: var(--bg); }
.tab-panel { display: none; } .tab-panel.active { display: block; animation: fadeUp .45s var(--ease); }

/* ---------- Campaign / flyers ---------- */
.flyers { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.flyer { display: block; position: relative; border-radius: 20px; overflow: hidden; background: #0B1222; box-shadow: var(--shadow-sm); cursor: zoom-in; }
.flyer img, .flyer video { width: 100%; aspect-ratio: 4/5; object-fit: cover; transition: transform .6s var(--ease); }
.flyer:hover img { transform: scale(1.05); }
.flyer .ov { position: absolute; inset: auto 0 0; padding: 50px 18px 16px; background: linear-gradient(0deg, rgba(8,13,28,.92), transparent); color: #fff; }
.flyer .ov b { display: block; font-family: var(--f-display); font-size: 1.05rem; line-height: 1.25; }
.flyer .ov small { color: rgba(255,255,255,.75); }
.flyer .play { position: absolute; inset: 0; display: grid; place-items: center; }
.flyer .play span { width: 70px; height: 70px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-size: 1.4rem; box-shadow: 0 0 0 10px rgba(229,35,43,.25); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 18px rgba(229,35,43,0); } }
.flyer .type { position: absolute; top: 12px; left: 12px; }
.share-row { display: flex; gap: 8px; flex-wrap: wrap; }
.share-row a, .share-row button { width: 38px; height: 38px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line); color: var(--ink); cursor: pointer; transition: .2s; font-size: .95rem; }
.share-row a:hover, .share-row button:hover { background: var(--ink); color: var(--bg); transform: translateY(-2px); }

/* ---------- Video ---------- */
.video-card { display: block; width: 100%; position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/9; background: #000 center/cover; cursor: pointer; }
.video-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.75), rgba(0,0,0,.05) 60%); transition: .3s; }
.video-card:hover::before { background: linear-gradient(0deg, rgba(0,0,0,.85), rgba(0,0,0,.2)); }
.video-card .play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 72px; height: 72px; border-radius: 50%; background: rgba(255,255,255,.95); color: var(--red); display: grid; place-items: center; font-size: 1.3rem; transition: .3s; }
.video-card:hover .play { transform: translate(-50%, -50%) scale(1.1); background: var(--red); color: #fff; }
.video-card .vt { position: absolute; left: 18px; right: 18px; bottom: 16px; color: #fff; font: 700 1.05rem/1.3 var(--f-display); }
.embed { position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; background: #000; } .embed iframe, .embed video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Testimonials ---------- */
.reviews-slider { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 2px 18px; scrollbar-width: none; }
.reviews-slider::-webkit-scrollbar { display: none; }
@media (max-width: 1000px) { .reviews-slider { grid-auto-columns: calc((100% - 24px) / 2); } } @media (max-width: 640px) { .reviews-slider { grid-auto-columns: 88%; } }
.review { scroll-snap-align: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 16px; position: relative; }
.review::before { content: "\201C"; position: absolute; top: 6px; right: 22px; font: 800 6rem/1 Georgia, serif; color: var(--red-50); }
.review .stars { color: var(--sun); letter-spacing: 2px; font-size: .9rem; }
.review p { color: var(--ink-2); flex: 1; margin: 0; }
.review .who { display: flex; gap: 12px; align-items: center; } .review .who b { color: var(--ink); display: block; } .review .who small { color: var(--muted); }
.slider-nav { display: flex; gap: 10px; }

/* ---------- Store ---------- */
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.product .card-media { aspect-ratio: 1/1.05; }
.product .card-media img { object-fit: cover; }
.product.ebook .card-media { background: linear-gradient(135deg, var(--blue-50), var(--red-50)); display: grid; place-items: center; }
.product.ebook .card-media img { width: 64%; height: auto; aspect-ratio: 3/4.3; object-fit: cover; border-radius: 4px 10px 10px 4px; box-shadow: -6px 10px 24px -8px rgba(0,0,0,.45), inset 6px 0 rgba(0,0,0,.1); }
.price { font: 800 1.15rem var(--f-display); color: var(--ink); } .price del { color: var(--muted); font-weight: 500; font-size: .85rem; margin-left: 6px; }
.product .card-body { display: flex; flex-direction: column; gap: 6px; padding: 18px; }
.product .row-b { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.add-btn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--ink); color: var(--bg); cursor: pointer; transition: .2s; }
.add-btn:hover { background: var(--red); color: #fff; transform: rotate(90deg); }
.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 30px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 99px; overflow: hidden; }
.qty button { width: 38px; height: 38px; border: 0; background: none; color: var(--ink); cursor: pointer; font-size: 1rem; } .qty input { width: 44px; text-align: center; border: 0; background: none; color: var(--ink); font-weight: 700; padding: 0; }
.cart-line { display: grid; grid-template-columns: 76px 1fr auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-line img { width: 76px; height: 76px; object-fit: cover; border-radius: 12px; }
.summary-row { display: flex; justify-content: space-between; padding: 8px 0; } .summary-row.total { border-top: 1px dashed var(--line-2); margin-top: 8px; padding-top: 14px; font: 800 1.2rem var(--f-display); color: var(--ink); }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; } .form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field label, .label { display: block; font-weight: 700; font-size: .86rem; color: var(--ink); margin-bottom: 7px; }
.field label .req { color: var(--red); }
.input, .field input:not([type=checkbox]):not([type=radio]):not([type=file]), .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line-2); background: var(--surface); color: var(--ink); font: 500 .97rem var(--f-body); transition: border-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2394A0B8' d='M6 8 0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field textarea { min-height: 130px; resize: vertical; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-50); }
.field .hint { font-size: .78rem; color: var(--muted); margin-top: 6px; }
.pw-wrap { position: relative; } .pw-wrap input { padding-right: 50px !important; }
.pw-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; background: none; color: var(--muted); cursor: pointer; border-radius: 10px; }
.pw-eye:hover { color: var(--ink); background: var(--surface-2); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--red); flex: none; margin-top: 2px; }
.dropzone { border: 2px dashed var(--line-2); border-radius: 18px; padding: 26px; text-align: center; cursor: pointer; transition: .2s; background: var(--surface-2); position: relative; }
.dropzone:hover, .dropzone.drag { border-color: var(--red); background: var(--red-50); }
.dropzone input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone i { font-size: 1.7rem; color: var(--red); margin-bottom: 8px; display: block; }
.dropzone b { color: var(--ink); display: block; }
.dropzone .preview { margin-top: 12px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.dropzone .preview img { width: 90px; height: 90px; object-fit: cover; border-radius: 12px; }
.dropzone .fname { font-weight: 700; color: var(--ink); margin-top: 8px; font-size: .9rem; }
.photo-picker { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.photo-picker .pp-preview { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; background: var(--surface-2); display: grid; place-items: center; border: 3px dashed var(--line-2); color: var(--muted); font-size: 1.8rem; flex: none; }
.photo-picker .pp-preview img { width: 100%; height: 100%; object-fit: cover; }
.photo-picker .pp-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.photo-picker input[type=file] { display: none; }
.alert { padding: 14px 18px; border-radius: 14px; display: flex; gap: 12px; align-items: flex-start; font-weight: 500; margin-bottom: 18px; border: 1px solid; }
.alert-success { background: rgba(22,163,74,.1); border-color: rgba(22,163,74,.3); color: #15803D; } [data-theme="dark"] .alert-success { color: #4ADE80; }
.alert-error { background: var(--red-50); border-color: rgba(229,35,43,.3); color: var(--red-600); } [data-theme="dark"] .alert-error { color: #FB7185; }
.alert-info { background: var(--blue-50); border-color: rgba(30,92,150,.25); color: var(--blue); }

/* ---------- Pledge ---------- */
.pledge-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: 30px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
@media (max-width: 960px) { .pledge-wrap { grid-template-columns: 1fr; } }
.pledge-text { background: #0B1222; color: #E6ECF7; padding: clamp(28px, 4vw, 54px); position: relative; overflow: hidden; }
.pledge-text::before { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(229,35,43,.35), transparent 70%); top: -120px; right: -140px; }
.pledge-text h2 { color: #fff; position: relative; }
.pledge-line { position: relative; padding: 10px 0 10px 36px; font-size: 1.06rem; line-height: 1.5; opacity: .35; transition: opacity .5s, transform .5s; }
.pledge-line::before { content: ""; position: absolute; left: 0; top: 14px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255,255,255,.3); transition: .4s; }
.pledge-line.on { opacity: 1; } .pledge-line.on::before { background: var(--red); border-color: var(--red); box-shadow: 0 0 0 5px rgba(229,35,43,.2); }
.pledge-line.strong { font-family: var(--f-display); font-size: 1.25rem; color: #fff; font-weight: 700; }
.pledge-form { padding: clamp(28px, 4vw, 54px); }
.sig-pad { border: 1.5px dashed var(--line-2); border-radius: 14px; background: var(--surface-2); width: 100%; height: 140px; touch-action: none; cursor: crosshair; display: block; }
.certificate-preview { max-width: 640px; margin: 0 auto; border-radius: 16px; box-shadow: var(--shadow-lg); }
.pledge-counter { font: 800 clamp(2.4rem, 6vw, 4.6rem)/1 var(--f-display); color: var(--ink); letter-spacing: -.03em; }

/* ---------- Timeline (order tracking) ---------- */
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 17px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding: 0 0 22px 52px; }
.timeline li .dot { position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--surface-2); border: 2px solid var(--line); display: grid; place-items: center; color: var(--muted); font-size: .8rem; }
.timeline li.done .dot { background: var(--green); border-color: var(--green); color: #fff; }
.timeline li.current .dot { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 0 0 6px var(--red-50); }
.timeline li b { color: var(--ink); display: block; } .timeline li small { color: var(--muted); }
.steps { display: flex; justify-content: space-between; position: relative; margin: 10px 0 30px; }
.steps::before { content: ""; position: absolute; top: 18px; left: 6%; right: 6%; height: 3px; background: var(--line); }
.steps .s { position: relative; text-align: center; flex: 1; font-size: .78rem; font-weight: 700; color: var(--muted); }
.steps .s i { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 8px; background: var(--surface); border: 3px solid var(--line); position: relative; z-index: 1; }
.steps .s.done { color: var(--ink); } .steps .s.done i { background: var(--green); border-color: var(--green); color: #fff; }
.steps .s.cur i { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 0 0 6px var(--red-50); }
@media (max-width: 560px) { .steps .s span { display: none; } }

/* ---------- Tables (customer area) ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
table.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th { text-align: left; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 14px 16px; background: var(--surface-2); white-space: nowrap; }
.table td { padding: 14px 16px; border-top: 1px solid var(--line); vertical-align: middle; }
.table tr:hover td { background: var(--surface-2); }

/* ---------- Account layout ---------- */
.acct { display: grid; grid-template-columns: 270px 1fr; gap: 28px; align-items: start; }
.acct-nav { position: sticky; top: calc(var(--nav-h) + 20px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.acct-nav .me { display: flex; gap: 12px; align-items: center; padding: 8px 8px 16px; border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.acct-nav .me b { color: var(--ink); display: block; line-height: 1.2; } .acct-nav .me small { color: var(--muted); }
.acct-nav a { display: flex; gap: 12px; align-items: center; padding: 11px 12px; border-radius: 12px; font-weight: 600; color: var(--ink-2); font-size: .93rem; }
.acct-nav a i { width: 20px; text-align: center; color: var(--muted); }
.acct-nav a:hover { background: var(--surface-2); } .acct-nav a.active { background: var(--red-50); color: var(--red); } .acct-nav a.active i { color: var(--red); }
@media (max-width: 900px) { .acct { grid-template-columns: 1fr; } .acct-nav { position: static; display: flex; overflow-x: auto; gap: 4px; padding: 8px; } .acct-nav .me { display: none; } .acct-nav a { white-space: nowrap; } }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px; display: flex; gap: 14px; align-items: center; }
.kpi i { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--red-50); color: var(--red); font-size: 1.1rem; }
.kpi:nth-child(even) i { background: var(--blue-50); color: var(--blue); }
.kpi b { font: 800 1.5rem var(--f-display); color: var(--ink); display: block; line-height: 1.1; } .kpi small { color: var(--muted); font-weight: 600; }

/* ---------- Auth pages ---------- */
.auth { min-height: calc(100vh - var(--nav-h)); display: grid; grid-template-columns: 1.1fr 1fr; }
.auth-media { position: relative; background: #0B1222 center/cover; color: #fff; display: flex; align-items: flex-end; padding: 50px; }
.auth-media::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,13,28,.92), rgba(8,13,28,.2) 70%); }
.auth-media > div { position: relative; max-width: 480px; } .auth-media h2 { color: #fff; } .auth-media p { color: rgba(255,255,255,.8); }
.auth-form { display: grid; place-items: center; padding: 40px 20px; }
.auth-form .box { width: min(440px, 100%); }
@media (max-width: 900px) { .auth { grid-template-columns: 1fr; } .auth-media { min-height: 240px; padding: 30px; } }

/* ---------- Blog / article ---------- */
.article { max-width: 780px; margin-inline: auto; font-size: 1.08rem; color: var(--ink-2); }
.article h2, .article h3 { margin-top: 1.6em; } .article img { border-radius: 16px; margin: 1.4em 0; } .article a { color: var(--red); text-decoration: underline; }
.article blockquote { border-left: 4px solid var(--red); margin: 1.6em 0; padding: 6px 0 6px 22px; font: 600 1.2rem/1.5 var(--f-display); color: var(--ink); }
.article p:empty { display: none; }
.cover { border-radius: 26px; overflow: hidden; aspect-ratio: 21/10; margin-bottom: 40px; box-shadow: var(--shadow); } .cover img { width: 100%; height: 100%; object-fit: cover; }
.prose ul, .prose ol { padding-left: 22px; } .prose li { margin-bottom: 6px; }

/* ---------- Gallery ---------- */
.masonry { columns: 3 280px; column-gap: 18px; }
.masonry a { display: block; margin-bottom: 18px; border-radius: 16px; overflow: hidden; break-inside: avoid; position: relative; }
.masonry img { width: 100%; transition: transform .6s var(--ease); } .masonry a:hover img { transform: scale(1.05); }
.album { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 4/3.2; display: block; }
.album img { width: 100%; height: 100%; object-fit: cover; transition: .7s var(--ease); } .album:hover img { transform: scale(1.07); }
.album .ov { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,13,28,.85), transparent 60%); display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; color: #fff; }
.album .ov b { font: 700 1.25rem var(--f-display); } .album .ov small { opacity: .8; }

/* ---------- Lightbox & modal ---------- */
.lightbox { position: fixed; inset: 0; background: rgba(5,8,16,.94); z-index: 200; display: none; align-items: center; justify-content: center; padding: 60px 20px; }
.lightbox.open { display: flex; animation: fadeIn .25s; }
.lightbox img, .lightbox video, .lightbox iframe { max-width: min(1200px, 100%); max-height: 82vh; border-radius: 12px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lightbox iframe { width: min(1100px, 100%); aspect-ratio: 16/9; height: auto; border: 0; }
.lightbox .lb-close, .lightbox .lb-prev, .lightbox .lb-next { position: absolute; width: 50px; height: 50px; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; border: 0; cursor: pointer; font-size: 1.1rem; }
.lightbox .lb-close { top: 18px; right: 18px; } .lightbox .lb-prev { left: 18px; top: 50%; } .lightbox .lb-next { right: 18px; top: 50%; }
.lightbox .lb-cap { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: #cbd5e1; font-size: .9rem; padding: 0 20px; }
@keyframes fadeIn { from { opacity: 0; } }
.modal { position: fixed; inset: 0; z-index: 150; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(5,10,20,.6); backdrop-filter: blur(6px); }
.modal.open { display: flex; animation: fadeIn .2s; }
.modal-box { background: var(--surface); border-radius: 24px; width: min(560px, 100%); max-height: 90vh; overflow: auto; box-shadow: var(--shadow-lg); animation: fadeUp .35s var(--ease); position: relative; }
.modal-box.lg { width: min(860px, 100%); }
.modal-head { padding: 20px 24px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.modal-head h3 { margin: 0; } .modal-body { padding: 24px; }
.popup-ad .modal-box { width: min(460px, 100%); overflow: hidden; } .popup-ad img { width: 100%; }
.camera-box video, .camera-box canvas { width: 100%; border-radius: 16px; background: #000; aspect-ratio: 1; object-fit: cover; transform: scaleX(-1); }

/* ---------- Toast ---------- */
.toasts { position: fixed; right: 18px; bottom: 18px; z-index: 300; display: grid; gap: 10px; }
.toast { background: #0F172A; color: #fff; padding: 14px 18px; border-radius: 14px; box-shadow: var(--shadow-lg); display: flex; gap: 12px; align-items: center; min-width: 260px; max-width: 380px; animation: fadeUp .35s var(--ease); font-weight: 600; font-size: .92rem; }
.toast i { color: #4ADE80; } .toast.error i { color: #FB7185; }
[data-theme="dark"] .toast { background: #EDF1F8; color: #0F172A; }

/* ---------- CTA band & footer ---------- */
.cta-band { position: relative; border-radius: 34px; overflow: hidden; padding: clamp(40px, 7vw, 90px); color: #fff; background: #0B1222 center/cover; isolation: isolate; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(229,35,43,.95), rgba(30,92,150,.85)); z-index: -1; }
.cta-band h2 { color: #fff; max-width: 680px; } .cta-band p { color: rgba(255,255,255,.88); max-width: 560px; font-size: 1.08rem; }
.cta-band .shape { position: absolute; right: -60px; bottom: -80px; width: 340px; opacity: .18; transform: rotate(-18deg); z-index: -1; }
.footer { background: #0A0F1D; color: #9AA6BD; padding-top: 80px; margin-top: 0; }
.footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 18px; }
.footer a:hover { color: #fff; }
.footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
@media (max-width: 960px) { .footer .cols { grid-template-columns: 1fr 1fr; } } @media (max-width: 560px) { .footer .cols { grid-template-columns: 1fr; } }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer .contact li { display: flex; gap: 12px; } .footer .contact i { color: var(--red); margin-top: 5px; width: 16px; }
.footer .socials { display: flex; gap: 10px; margin-top: 18px; }
.footer .socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.06); color: #fff; transition: .2s; }
.footer .socials a:hover { background: var(--red); transform: translateY(-3px); }
.newsletter { display: flex; background: rgba(255,255,255,.06); border-radius: 99px; padding: 5px; border: 1px solid rgba(255,255,255,.1); }
.newsletter input { flex: 1; background: none; border: 0; color: #fff; padding: 0 16px; font: inherit; min-width: 0; } .newsletter input:focus { outline: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 60px; padding: 24px 0; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .87rem; }
.footer-bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }
.to-top { position: fixed; right: 18px; bottom: 18px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--red); color: #fff; cursor: pointer; z-index: 40; opacity: 0; transform: translateY(20px); transition: .3s; box-shadow: var(--shadow); }
.to-top.show { opacity: 1; transform: none; }
.wa-float { position: fixed; left: 18px; bottom: 18px; width: 54px; height: 54px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; font-size: 1.6rem; z-index: 40; box-shadow: 0 10px 24px -8px rgba(37,211,102,.7); transition: .2s; }
.wa-float:hover { transform: scale(1.08); }

/* ---------- Misc ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s } .reveal-d2 { transition-delay: .2s } .reveal-d3 { transition-delay: .3s }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } .reveal { opacity: 1; transform: none; } }
.empty { text-align: center; padding: 60px 20px; color: var(--muted); border: 2px dashed var(--line); border-radius: var(--radius); }
.empty i { font-size: 2.4rem; color: var(--line-2); margin-bottom: 14px; display: block; }
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 42px; height: 42px; padding: 0 12px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line); background: var(--surface); font-weight: 700; color: var(--ink); }
.pagination .on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.search-box { display: flex; align-items: center; background: var(--surface); border: 1.5px solid var(--line-2); border-radius: 99px; padding: 4px 4px 4px 18px; gap: 8px; }
.search-box input { border: 0; background: none; flex: 1; font: inherit; color: var(--ink); padding: 10px 0; min-width: 0; } .search-box input:focus { outline: none; }
.search-box:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-50); }
.ticket { max-width: 560px; margin: 0 auto; background: var(--surface); border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.ticket-top { background: linear-gradient(120deg, var(--red), var(--blue)); color: #fff; padding: 28px; } .ticket-top h2 { color: #fff; }
.ticket-mid { padding: 26px 28px; border-bottom: 2px dashed var(--line-2); position: relative; }
.ticket-mid::before, .ticket-mid::after { content: ""; position: absolute; bottom: -14px; width: 28px; height: 28px; border-radius: 50%; background: var(--bg); } .ticket-mid::before { left: -14px; } .ticket-mid::after { right: -14px; }
.ticket-code { font: 800 1.8rem var(--f-display); letter-spacing: .12em; color: var(--ink); }
.ticket-qr { padding: 26px; display: grid; place-items: center; } .ticket-qr canvas, .ticket-qr img { background: #fff; padding: 10px; border-radius: 12px; }
.kv { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; } .kv small { color: var(--muted); display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; } .kv b { color: var(--ink); }
.job { display: grid; grid-template-columns: 74px 1fr auto; gap: 20px; align-items: center; padding: 22px; }
.job .logo { width: 74px; height: 74px; border-radius: 18px; overflow: hidden; background: var(--surface-2); display: grid; place-items: center; }
.job .logo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) { .job { grid-template-columns: 56px 1fr; } .job .logo { width: 56px; height: 56px; } .job > .go { grid-column: 1 / -1; } }
.progress { height: 10px; border-radius: 9px; background: var(--surface-2); overflow: hidden; } .progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--red)); border-radius: 9px; width: 0; transition: width 1.6s var(--ease); }
.goal-row { margin-bottom: 18px; } .goal-row .gl { display: flex; justify-content: space-between; font-weight: 700; color: var(--ink); font-size: .92rem; margin-bottom: 8px; } .goal-row .gl span { color: var(--muted); font-weight: 600; }
.list-clean { list-style: none; padding: 0; margin: 0; }
.visit-list { columns: 2 260px; column-gap: 30px; } .visit-list li { break-inside: avoid; padding: 10px 0; border-bottom: 1px dashed var(--line); display: flex; gap: 10px; } .visit-list i { color: var(--red); margin-top: 5px; }
@media print { .nav, .topbar, .footer, .to-top, .wa-float, .no-print { display: none !important; } body { background: #fff; } }

/* ---------- additions ---------- */
.hp { position: absolute !important; left: -10000px !important; top: auto; width: 1px; height: 1px; overflow: hidden; }
.recaptcha-box { min-height: 78px; } .recaptcha-box .g-recaptcha { transform-origin: 0 0; }
@media (max-width: 360px) { .recaptcha-box .g-recaptcha { transform: scale(.88); } }
.tb-pledge { display: inline-flex; gap: 6px; align-items: center; color: #fff !important; background: rgba(229,35,43,.85); padding: 4px 12px; border-radius: 99px; font-weight: 700; font-size: .78rem; }
.tb-pledge:hover { background: var(--red); }
.auth-logo { height: 64px; width: auto; margin-bottom: 22px; }
.auth-media .auth-logo { height: 70px; margin-bottom: 26px; }
/* language switcher (pledge page) */
.lang-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 14px 16px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 22px; box-shadow: var(--shadow-sm); }
.lang-bar .lb-t { font-weight: 800; color: var(--ink); margin-right: 4px; display: flex; gap: 8px; align-items: center; }
.lang-bar .lb-t i { color: var(--red); }
.lang-btn { border: 1.5px solid var(--line-2); background: var(--surface); color: var(--ink); padding: 8px 14px; border-radius: 99px; font: 700 .85rem var(--f-body); cursor: pointer; transition: .2s; display: inline-flex; gap: 6px; align-items: center; }
.lang-btn:hover { border-color: var(--red); color: var(--red); } .lang-btn.on { background: var(--red); border-color: var(--red); color: #fff; }
.lang-more { position: relative; }
#google_translate_element { display: inline-block; }
#google_translate_element .goog-te-gadget { font-size: 0 !important; color: transparent !important; }
#google_translate_element .goog-te-gadget > span, #google_translate_element .goog-logo-link { display: none !important; }
#google_translate_element select.goog-te-combo { margin: 0 !important; padding: 9px 34px 9px 14px; border-radius: 99px; border: 1.5px solid var(--line-2); background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath fill='%2394A0B8' d='M6 8 0 0h12z'/%3E%3C/svg%3E") no-repeat right 12px center; color: var(--ink); font: 700 .85rem var(--f-body); appearance: none; -webkit-appearance: none; cursor: pointer; }
.goog-te-banner-frame, .skiptranslate iframe, #goog-gt-tt, .goog-te-balloon-frame { display: none !important; } body { top: 0 !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }
/* ---------- responsive polish ---------- */
@media (max-width: 1100px) { .nav .wrap { height: 72px; } }
@media (max-width: 760px) {
  .section { padding: 56px 0; } .head { margin-bottom: 28px; } .head-row { margin-bottom: 24px; }
  h2 { font-size: clamp(1.6rem, 6.4vw, 2.1rem); }
  .page-hero { padding: 64px 0 46px; } .page-hero h1 { font-size: clamp(1.9rem, 8vw, 2.6rem); } .page-hero p { font-size: 1rem; }
  .panel { padding: 20px; } .card-body { padding: 18px; }
  .cta-band { padding: 34px 22px; border-radius: 24px; } .cta-band .shape { width: 200px; }
  .btn-lg { padding: 15px 22px; font-size: .98rem; }
  .flex.wrap-row > .btn { flex: 1 1 auto; }
  .pledge-wrap { border-radius: 22px; } .pledge-text, .pledge-form { padding: 24px 20px; }
  .stats-band { margin-top: -56px; } .stat .num { font-size: 1.7rem; }
  .footer { padding-top: 56px; } .footer-bottom { flex-direction: column; text-align: center; align-items: center; }
  .wa-float { width: 50px; height: 50px; left: 14px; bottom: 14px; } .to-top { right: 14px; bottom: 14px; }
  .lang-bar .lb-t { width: 100%; }
  .table-wrap { border-radius: 12px; }
  .hide-sm { display: none !important; }
}
@media (min-width: 761px) and (max-width: 1100px) {
  .split { gap: 36px; } .section { padding: 80px 0; }
}
@media (hover: none) { .card.hover:hover { transform: none; } }
input, select, textarea { font-size: 16px; } /* stops iPhone zooming into fields */

/* Donate button in the header — visible on every screen size */
.btn-donate { --b: var(--red); box-shadow: 0 8px 18px -8px rgba(229,35,43,.7); }
.btn-donate i { animation: beat 1.8s ease-in-out infinite; }
@keyframes beat { 0%,60%,100% { transform: scale(1); } 30% { transform: scale(1.25); } }
.nav-actions .btn-donate { display: inline-flex !important; }
@media (max-width: 480px) { .nav-actions .btn-donate { padding: 9px 13px; font-size: .82rem; gap: 6px; } .nav-actions { gap: 6px; } .nav-actions .icon-btn { width: 38px; height: 38px; } }
@media (max-width: 350px) { .nav-actions .btn-donate span { display: none; } }
.badge-dot[hidden] { display: none !important; }
.tb-link { color: #cfd8ea !important; font-weight: 600; display: inline-flex; gap: 6px; align-items: center; } .tb-link i { color: var(--sun); } .tb-link:hover { color: #fff !important; }
@media (max-width: 900px) { .auth-media .auth-logo { display: none; } }
.video-card .vt { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-shadow: 0 2px 8px rgba(0,0,0,.6); }
.video-card { background-color: #0B1222; background-size: cover; background-position: center; }
@media (max-width: 640px) { .video-card .play { width: 58px; height: 58px; } }
