/* ==========================================================
   Njua Nursery & Primary School · NICEVUC
   ========================================================== */
:root {
  --red: #c8101e;
  --red-600: #a80c18;
  --red-700: #860a13;
  --red-50: #fdf0f0;
  --cream: #fbf7f2;
  --sand: #f3ebe0;
  --ink: #1d1416;
  --ink-2: #4a3d40;
  --muted: #7a6b6e;
  --line: #eadfd6;
  --gold: #f2b33d;
  --white: #fff;
  --green: #1fa855;
  --blue: #1b5fc1;
  --blue-700: #0f3f8a;
  --blue-50: #eef4fd;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 20px 50px -20px rgba(60, 10, 15, .25);
  --shadow-sm: 0 6px 20px -8px rgba(60, 10, 15, .18);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, sans-serif;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.section { padding: clamp(72px, 10vw, 128px) 0; }
.muted { color: var(--muted); font-size: .95rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--red); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.eyebrow--light { color: #ffd7d9; }
.eyebrow--blue { color: var(--blue); }
.eyebrow .dot { display: none; }

.section-head { max-width: 760px; margin-bottom: 56px; }
.section-lead { font-size: 1.15rem; color: var(--ink-2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; border: 2px solid transparent;
  font: 700 .98rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .2s, background .2s, box-shadow .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 10px 24px -10px rgba(200, 16, 30, .7); }
.btn--primary:hover { background: var(--red-600); }
.btn--ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--ink); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--red); }
.btn--whatsapp { background: var(--green); color: #fff; }
.btn--sm { padding: 10px 20px; font-size: .9rem; }
.btn--lg { padding: 17px 32px; font-size: 1.05rem; }
.btn--block { width: 100%; }
.link-arrow { font-weight: 700; color: var(--red); text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  display: flex; align-items: center;
  transition: background .3s, box-shadow .3s, color .3s;
  color: #fff;
}
.site-header.scrolled { background: rgba(255,255,255,.96); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); color: var(--ink); }
.nav-wrap { display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand-logos { display: flex; align-items: center; gap: 6px; flex: none; }
.brand { min-width: 0; }
.brand-text { min-width: 0; }
.brand-nicevuc { height: 46px; width: 46px; object-fit: contain; background: #fff; border-radius: 50%; padding: 3px; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.brand-emblem { height: 42px; width: auto; }
.brand-emblem--red { display: none; }
.site-header.scrolled .brand-emblem--red { display: block; }
.site-header.scrolled .brand-emblem--white { display: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-body); font-weight: 800; font-size: 1.2rem; letter-spacing: .04em; white-space: nowrap; }
.brand-name .amp { font-weight: 500; opacity: .7; }
.brand-sub { font-size: .62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .85; margin-top: 3px; }
.site-header.scrolled .brand-name { color: var(--blue); }
.site-header.scrolled .brand-name .amp { color: var(--ink); }

.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav a { display: block; padding: 8px 12px; border-radius: 8px; font-weight: 600; font-size: .92rem; text-decoration: none; opacity: .92; }
.main-nav a:hover, .main-nav a.active { opacity: 1; background: rgba(255,255,255,.15); }
.site-header.scrolled .main-nav a:hover, .site-header.scrolled .main-nav a.active { background: var(--red-50); color: var(--red); }

.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; color: inherit; }
.nav-toggle span { display: block; height: 2px; background: currentColor; margin: 5px 0; border-radius: 2px; transition: transform .3s, opacity .3s; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(100vh, 940px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; animation: heroZoom 20s ease-out forwards; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-overlay { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(20,6,8,.55) 0%, rgba(20,6,8,.05) 30%, rgba(20,6,8,.35) 55%, rgba(60,4,10,.92) 100%); }
.hero-content { position: relative; padding: 160px 0 72px; }
.hero h1 { font-size: clamp(2.6rem, 6.6vw, 5.4rem); font-weight: 800; max-width: 14ch; margin-bottom: 22px; letter-spacing: -.02em; }
.hero h1 em { font-style: italic; font-weight: 500; color: #ffd0d3; }
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 600px; opacity: .95; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
/* ---------- Stats ---------- */
.stats { background: var(--red); color: #fff; position: relative; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 38px 24px; display: flex; flex-direction: column; gap: 6px; border-left: 1px solid rgba(255,255,255,.18); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-num { font-family: var(--font-display); font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: 800; line-height: 1; }
.stat-label { font-size: .92rem; opacity: .9; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.about-media { position: relative; padding-bottom: 60px; }
.about-img-main { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/3.4; object-fit: cover; width: 100%; }
.about-founder {
  position: absolute; right: -24px; bottom: 0; width: 42%; margin: 0;
  background: #fff; padding: 10px; border-radius: var(--radius); box-shadow: var(--shadow); transform: rotate(2deg);
}
.about-founder img { border-radius: 12px; aspect-ratio: 3/3.6; object-fit: cover; width: 100%; }
.about-founder figcaption { padding: 10px 6px 4px; display: flex; flex-direction: column; line-height: 1.3; }
.about-founder figcaption strong { font-family: var(--font-display); font-size: 1.1rem; }
.about-founder figcaption span { font-size: .8rem; color: var(--muted); }
.pull-quote {
  margin: 28px 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--red);
  font-family: var(--font-display); font-style: italic; font-size: 1.3rem; line-height: 1.45; color: var(--ink);
}
.values { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.values li { display: flex; gap: 14px; align-items: flex-start; }
.values strong { display: block; }
.values span { color: var(--ink-2); font-size: .95rem; }
.v-icon { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--red-50); color: var(--red); display: grid; place-items: center; font-size: 1.1rem; }

/* ---------- Programmes ---------- */
.programmes { background: #fff; }
.prog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.prog-card { background: var(--cream); border-radius: calc(var(--radius) + 4px); overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; }
.prog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.prog-img { aspect-ratio: 16/10; overflow: hidden; }
.prog-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; transition: transform .6s; }
.prog-card:hover .prog-img img { transform: scale(1.05); }
.prog-body { padding: 32px; display: flex; flex-direction: column; flex: 1; }
.prog-tag { font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 10px; }
.prog-body h3 { font-size: 1.7rem; }
.prog-body p { color: var(--ink-2); }
.ticks { list-style: none; padding: 0; margin: 4px 0 24px; display: grid; gap: 8px; }
.ticks li { padding-left: 30px; position: relative; font-weight: 500; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--red); color: #fff; font-size: .7rem; display: grid; place-items: center; font-weight: 800; }
.prog-body .link-arrow { margin-top: auto; }

/* ---------- Results ---------- */
.results { background: radial-gradient(1200px 600px at 0% 0%, #e0222f 0%, var(--red-700) 60%, #5c0710 100%); color: #fff; overflow: hidden; }
.results-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.results-copy > p { font-size: 1.15rem; opacity: .92; }
.result-rows { margin: 32px 0; display: grid; gap: 2px; }
.result-row { display: flex; align-items: baseline; gap: 22px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.rr-num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1; min-width: 4.2ch; color: var(--gold); }
.rr-text { font-weight: 600; font-size: 1.05rem; }
.results-note { font-family: var(--font-display); font-style: italic; font-size: 1.3rem !important; }
.results-media { position: relative; min-height: 560px; }
.results-media img { position: absolute; border-radius: var(--radius); box-shadow: 0 30px 60px -20px rgba(0,0,0,.5); object-fit: cover; border: 6px solid #fff; }
.rm-1 { width: 62%; height: 78%; left: 0; top: 0; transform: rotate(-3deg); z-index: 2; }
.rm-2 { width: 54%; height: 72%; right: 0; bottom: 0; transform: rotate(3deg); }

/* ---------- Transition ---------- */
.transition { background: var(--cream); }
.timeline { list-style: none; padding: 0; margin: 0 0 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 22px; height: 3px; background: repeating-linear-gradient(90deg, var(--red) 0 10px, transparent 10px 18px); opacity: .35; }
.timeline li { position: relative; padding-top: 64px; }
.timeline li::before { content: ""; position: absolute; top: 12px; left: 0; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 4px solid var(--red); }
.tl-highlight::before { background: var(--red) !important; box-shadow: 0 0 0 8px rgba(200,16,30,.15); }
.tl-year { display: inline-block; font-weight: 800; color: var(--red); font-size: .9rem; letter-spacing: .08em; margin-bottom: 6px; }
.timeline h3 { font-size: 1.4rem; }
.timeline p { color: var(--ink-2); font-size: .98rem; }

.fee-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: #fff; border-radius: calc(var(--radius) + 6px); box-shadow: var(--shadow); overflow: hidden; }
.fee-panel > * { padding: 36px; }
.fee-main { background: var(--ink); color: #fff; display: flex; flex-direction: column; gap: 8px; }
.fee-label { font-size: .85rem; font-weight: 600; opacity: .8; text-transform: uppercase; letter-spacing: .1em; }
.fee-amount { font-family: var(--font-display); font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 800; line-height: 1; }
.fee-amount small { font-size: 1rem; font-family: var(--font-body); font-weight: 600; opacity: .8; }
.fee-was { margin-top: auto; color: var(--gold); font-weight: 600; }
.fee-list { list-style: none; margin: 0; display: grid; align-content: center; gap: 14px; }
.fee-list li { padding-left: 30px; position: relative; font-weight: 600; }
.fee-list li::before { content: "✓"; position: absolute; left: 0; color: var(--red); font-weight: 800; }

.donate-card { background: #fff; color: var(--ink); border-radius: calc(var(--radius) + 6px); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); border: 1px solid var(--line); }
.donate-card h3 { margin-bottom: 18px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--sand); padding: 5px; border-radius: 999px; margin-bottom: 22px; }
.seg label, .cur-switch label { cursor: pointer; }
.seg input, .cur-switch input, .amounts input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; text-align: center; padding: 11px; border-radius: 999px; font-weight: 700; transition: background .2s, color .2s; }
.seg input:checked + span { background: var(--red); color: #fff; box-shadow: var(--shadow-sm); }
.seg input:focus-visible + span, .cur-switch input:focus-visible + span, .amounts input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.currency-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; gap: 12px; flex-wrap: wrap; }
.cur-switch { display: flex; gap: 4px; }
.cur-switch span { display: block; padding: 5px 11px; border-radius: 8px; font-size: .8rem; font-weight: 700; border: 1px solid var(--line); }
.cur-switch input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.amounts label { cursor: pointer; }
.amounts span { display: block; text-align: center; padding: 15px 6px; border-radius: var(--radius-sm); border: 2px solid var(--line); font-weight: 800; font-size: 1.02rem; transition: all .2s; }
.amounts label:hover span { border-color: var(--red); }
.amounts input:checked + span { border-color: var(--red); background: var(--red-50); color: var(--red); }
.field-label { display: block; font-size: .8rem; font-weight: 700; color: var(--ink-2); margin-bottom: 6px; }
.custom-amt { display: block; margin-bottom: 16px; }
.custom-wrap { display: flex; align-items: center; border: 2px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.custom-wrap:focus-within { border-color: var(--red); }
.cur-sym { padding: 0 12px; font-weight: 800; color: var(--muted); background: var(--sand); align-self: stretch; display: grid; place-items: center; font-size: .85rem; }
.custom-wrap input { border: 0; outline: 0; padding: 13px; flex: 1; font: inherit; min-width: 0; }
.field { display: block; margin-bottom: 16px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 2px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; font-size: .98rem; background: #fff; color: var(--ink); transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--red); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-hint { font-size: .82rem; color: var(--muted); text-align: center; margin: 12px 0 0; }
.pay-methods { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line); }
.pay-methods span { font-size: .75rem; font-weight: 700; padding: 5px 10px; border-radius: 6px; background: var(--sand); color: var(--ink-2); }

/* ---------- Gallery ---------- */
.gallery { background: #fff; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px; grid-auto-flow: dense; }
.g-item { border: 0; padding: 0; border-radius: 14px; overflow: hidden; cursor: zoom-in; background: var(--sand); position: relative; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.g-item:hover img { transform: scale(1.06); }
.g-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 60%, rgba(200,16,30,.4)); opacity: 0; transition: opacity .3s; }
.g-item:hover::after { opacity: 1; }
.g-wide { grid-column: span 2; }
.g-tall { grid-row: span 2; }

/* ---------- Admissions ---------- */
.admissions { background: var(--sand); }
.adm-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.adm-grid > div > p { font-size: 1.08rem; color: var(--ink-2); }
.adm-card { background: #fff; border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.steps { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 16px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; font-weight: 500; }
.steps span { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .9rem; }

/* ---------- Contact ---------- */
.contact { background: var(--cream); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); }
.c-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 18px; }
.c-list li { display: flex; gap: 14px; }
.c-list strong { display: block; }
.c-list span:not(.c-ico) { color: var(--ink-2); }
.c-ico { flex: none; width: 44px; height: 44px; border-radius: 12px; background: #fff; box-shadow: var(--shadow-sm); display: grid; place-items: center; }
.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); height: 260px; }
.map iframe { width: 100%; height: 100%; border: 0; }
.contact-form { background: #fff; border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-row .btn { flex: 1; }
.form-status { margin: 12px 0 0; font-weight: 600; color: var(--red); min-height: 1.4em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.8); padding: 72px 0 28px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.12); }
.f-logos { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.f-nicevuc { width: 72px; height: 72px; background: #fff; border-radius: 50%; padding: 5px; object-fit: contain; }
.f-njua { height: 60px; width: auto; }
.f-col span { font-size: .95rem; }
.f-brand p { font-size: .95rem; max-width: 34ch; }
.f-col { display: flex; flex-direction: column; gap: 8px; }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; }
.f-col a { text-decoration: none; font-size: .95rem; }
.f-col a:hover { color: #fff; }
.f-cta h4 { font-family: var(--font-display); text-transform: none; letter-spacing: 0; font-size: 1.5rem; margin-bottom: 18px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 24px; font-size: .85rem; opacity: .7; }

/* ---------- Floating / overlays ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(15,5,7,.92); display: grid; place-items: center; padding: 24px; opacity: 0; pointer-events: none; transition: opacity .3s; }
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img { max-height: 88vh; max-width: 100%; border-radius: 12px; }
.lb-close, .modal-close { position: absolute; top: 16px; right: 18px; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 44px; height: 44px; border-radius: 50%; font-size: 1.6rem; cursor: pointer; }
.modal { position: fixed; inset: 0; z-index: 110; background: rgba(15,5,7,.7); display: grid; place-items: center; padding: 20px; opacity: 0; pointer-events: none; transition: opacity .25s; }
.modal.open { opacity: 1; pointer-events: auto; }
.modal-card { background: #fff; border-radius: var(--radius); padding: 36px; max-width: 460px; width: 100%; position: relative; transform: translateY(20px); transition: transform .3s; }
.modal.open .modal-card { transform: none; }
.modal-close { background: var(--sand); color: var(--ink); top: 12px; right: 12px; }
.modal-actions { display: grid; gap: 10px; margin-top: 20px; }
#giftSummary { font-weight: 700; font-size: 1.1rem; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-img { animation: none; }
}

/* ---------- Hero pillars ---------- */
.hero-pillars { display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); gap: 14px; margin-top: 34px; }
.pillar { display: flex; align-items: center; gap: 14px; padding: 14px 18px 14px 14px; border-radius: 16px; text-decoration: none; color: #fff; backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.25); transition: transform .2s, background .2s; }
.pillar:hover { transform: translateY(-3px); }
.pillar--blue { background: rgba(27, 95, 193, .78); }
.pillar--red { background: rgba(200, 16, 30, .78); }
.pillar img { width: 52px; height: 52px; flex: none; object-fit: contain; }
.pillar--blue img { background: #fff; border-radius: 50%; padding: 3px; }
.pillar strong { display: block; font-size: 1rem; line-height: 1.25; }
.pillar small { display: block; font-size: .82rem; opacity: .9; line-height: 1.35; margin-top: 2px; }
.pillar strong::after { content: " →"; }

.v-icon--blue { background: var(--blue-50); color: var(--blue); }

/* ---------- NICEVUC ---------- */
.nicevuc { background: linear-gradient(180deg, var(--blue-50) 0%, #fff 100%); position: relative; }
.nicevuc::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: linear-gradient(90deg, var(--blue), #f39a1e, var(--red), #6dbb2c); }
.nv-head { display: grid; grid-template-columns: 260px 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; margin-bottom: 56px; }
.nv-logo { background: #fff; border-radius: 50%; padding: 18px; box-shadow: 0 20px 50px -20px rgba(15, 63, 138, .35); aspect-ratio: 1; display: grid; place-items: center; }
.nv-head h2 { color: var(--blue-700); }
.nv-tagline { font-family: var(--font-display); font-style: italic; font-size: 1.35rem; color: var(--red); margin-bottom: 14px; }
.nv-photos { display: grid; grid-template-columns: 1.2fr 1fr 1fr; grid-template-rows: 220px 220px; gap: 14px; margin-bottom: 64px; }
.nv-ph { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.nv-ph img { width: 100%; height: 100%; object-fit: cover; }
.nv-ph--a { grid-row: span 2; }
.nv-ph--b { grid-column: span 2; }
.nv-ph--b img { object-position: center 22%; }
.nv-sub { font-size: clamp(1.5rem, 2.6vw, 2rem); color: var(--blue-700); margin-bottom: 28px; }
.nv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.nv-card { background: #fff; border-radius: var(--radius); padding: 28px; border: 1px solid #dbe6f7; border-top: 4px solid var(--blue); }
.nv-card h4 { font-size: 1.2rem; margin-bottom: 6px; }
.nv-card p { color: var(--ink-2); margin: 0; font-size: .97rem; }
.nv-ico { font-size: 1.8rem; display: block; margin-bottom: 10px; }
.nv-day { margin-top: 56px; background: var(--blue-700); color: #fff; border-radius: calc(var(--radius) + 4px); padding: clamp(28px, 4vw, 44px); }
.nv-day h3 { font-size: 1.6rem; margin-bottom: 22px; }
.nv-day ol { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.nv-day li { border-top: 2px solid rgba(255,255,255,.3); padding-top: 14px; font-size: .97rem; opacity: .95; }
.nv-day li span { display: block; font-weight: 800; color: #ffd27a; text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; margin-bottom: 4px; }

/* ---------- School ---------- */
.school { background: #fff; }
.school-intro { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; margin-bottom: 64px; }
.motto { font-family: var(--font-display); font-size: 1.5rem; font-style: italic; color: var(--red); margin-bottom: 14px; }
.class-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.class-chips span { padding: 8px 16px; border-radius: 999px; background: var(--red-50); color: var(--red); font-weight: 700; font-size: .9rem; }
.school-img img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/4.4; object-fit: cover; width: 100%; }
.school-sub { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 28px; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.why { background: var(--cream); padding: 26px; }
.why strong { display: block; font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 6px; }
.why span { color: var(--ink-2); font-size: .96rem; }

/* ---------- Admissions extras ---------- */
.hours { display: flex; gap: 14px; flex-wrap: wrap; margin: 22px 0 14px; }
.hours div { background: #fff; padding: 14px 18px; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); }
.hours strong { display: block; font-size: .85rem; }
.hours span { color: var(--red); font-weight: 700; }
.adm-card .ticks { margin-bottom: 26px; }

/* ---------- Support ---------- */
.support { background: var(--cream); }
.support-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.support-ways { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.way { background: #fff; border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); }
.way h3 { font-size: 1.2rem; }
.way p { color: var(--ink-2); font-size: .96rem; }
.c-list a { color: inherit; }

/* ---------- Hero donation banner & nav donate ---------- */
.hero-donate { margin-top: 26px; max-width: 734px; display: flex; align-items: center; gap: 20px; padding: 18px 18px 18px 24px; border-radius: 16px; background: var(--gold); color: var(--ink); box-shadow: var(--shadow); }
.hd-text { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.hd-text strong { font-family: var(--font-display); font-size: 1.2rem; line-height: 1.25; }
.hd-text span { font-size: .9rem; color: var(--ink-2); }
.hero-donate .btn { flex: none; }
.nav-donate { margin-left: 8px; }
.nav-donate-mobile { display: none; }

.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 45; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; box-shadow: 0 10px 24px -8px rgba(200,16,30,.7); opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .3s, transform .3s, background .2s; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--red-600); transform: translateY(-3px); }
.to-top:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .main-nav { position: fixed; inset: var(--header-h) 0 auto; background: #fff; color: var(--ink); padding: 12px 20px 24px; box-shadow: var(--shadow); transform: translateY(-120%); transition: transform .35s; z-index: -1; }
  .main-nav.open { transform: none; }
  .main-nav ul { flex-direction: column; }
  .main-nav a { padding: 14px 8px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-toggle { display: block; }
  .nav-donate { margin-left: auto; }
  .brand { margin-right: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .about-grid, .results-grid, .adm-grid, .contact-grid, .prog-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 26px 18px; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.18); }
  .results-media { min-height: 460px; }
  .timeline { grid-template-columns: 1fr; gap: 8px; }
  .timeline::before { left: 10px; right: auto; top: 0; bottom: 0; width: 3px; height: auto; background: repeating-linear-gradient(180deg, var(--red) 0 10px, transparent 10px 18px); }
  .timeline li { padding: 0 0 20px 48px; }
  .timeline li::before { top: 2px; }
  .fee-panel { grid-template-columns: 1fr; }
  .support-grid { grid-template-columns: 1fr; }
  .nv-head, .school-intro { grid-template-columns: 1fr; }
  .nv-logo { max-width: 200px; }
  .nv-grid, .why-grid { grid-template-columns: 1fr 1fr; }
  .nv-day ol { grid-template-columns: 1fr 1fr; }
  .hero-pillars { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { width: calc(100% - 32px); }
  :root { --header-h: 66px; }
  .brand-emblem { height: 34px; }
  .brand-nicevuc { height: 38px; width: 38px; }
  .brand-name { font-size: .95rem; white-space: normal; line-height: 1.15; }
  .brand-emblem { display: none !important; }
  .brand-sub { display: none; }
  .nv-grid, .why-grid, .nv-day ol, .support-ways { grid-template-columns: 1fr; }
  .nv-photos { grid-template-columns: 1fr 1fr; grid-template-rows: 180px 180px; }
  .nv-ph--a { grid-row: auto; }
  .hero { min-height: 92vh; }
  .hero-content { padding: 120px 0 48px; }
  .about-founder { right: 8px; width: 46%; }
  .field-row { grid-template-columns: 1fr; }
  .nav-donate { display: none; }
  .nav-donate-mobile { display: block; }
  .nav-donate-mobile a { color: var(--red); font-weight: 800; }
  .brand { margin-right: auto; }
  .hero-donate { flex-direction: column; align-items: stretch; padding: 18px; }
  .results-media { min-height: 380px; }
  .amounts span { padding: 13px 4px; font-size: .92rem; }
  .footer-top { grid-template-columns: 1fr; }
}

