/* =====================================================================
   Mukund Education Society — site styles
   Colours are defined once below (:root). Change them here to re-theme.
   ===================================================================== */
:root {
  --maroon: #7a1f2b;
  --maroon-dark: #561520;
  --maroon-deep: #3d0f17;
  --maroon-soft: #f4e6e3;
  --gold: #c9a227;
  --gold-light: #e7cd6e;
  --gold-soft: #f8efd2;
  --cream: #fbf7f0;
  --sand: #f3ece0;
  --ink: #2b2522;
  --muted: #6b5e58;
  --line: #e8ddd0;
  --white: #fff;
  --ok: #2f7a4b;
  --err: #b3261e;

  --font-body: 'Mukta', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-head: 'Poppins', 'Mukta', system-ui, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px -12px rgba(61, 15, 23, 0.25);
  --shadow-sm: 0 4px 14px -6px rgba(61, 15, 23, 0.2);
  --container: 1200px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--maroon); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--maroon-dark); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.22; margin: 0 0 0.6em; color: var(--maroon-deep); font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.small { font-size: 0.92rem; color: var(--muted); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0.5rem; background: var(--gold); color: var(--ink); padding: 0.5rem 1rem; z-index: 200; border-radius: var(--radius-sm); }
.skip-link:focus { left: 0.5rem; }
.icon { flex-shrink: 0; vertical-align: middle; }

.h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.35rem); }
.h3 { font-size: 1.3rem; }
.lead { font-size: 1.15rem; color: var(--muted); }
.eyebrow { font-family: var(--font-head); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--maroon); margin-bottom: 0.6rem; display: inline-flex; align-items: center; gap: 0.6rem; }
.eyebrow::before { content: ''; width: 26px; height: 2px; background: var(--gold); }
.eyebrow--light { color: var(--gold-light); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; font-family: var(--font-head); font-weight: 600; font-size: 0.98rem; padding: 0.8rem 1.4rem; border-radius: 999px; border: 2px solid transparent; text-decoration: none; transition: transform 0.15s, background 0.2s, color 0.2s, box-shadow 0.2s; line-height: 1.2; }
.btn:hover { transform: translateY(-1px); }
.btn--sm { padding: 0.55rem 1.05rem; font-size: 0.88rem; }
.btn--block { width: 100%; }
.btn--maroon { background: var(--maroon); color: var(--white); }
.btn--maroon:hover { background: var(--maroon-dark); color: var(--white); box-shadow: var(--shadow-sm); }
.btn--gold { background: var(--gold); color: var(--maroon-deep); }
.btn--gold:hover { background: var(--gold-light); color: var(--maroon-deep); }
.btn--outline { border-color: var(--maroon); color: var(--maroon); background: transparent; }
.btn--outline:hover { background: var(--maroon); color: var(--white); }
.btn--ghost { border-color: rgba(255,255,255,0.55); color: var(--white); }
.btn--ghost:hover { background: rgba(255,255,255,0.12); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.btn-row--center { justify-content: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 0.35rem; font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; text-decoration: none; }
.link-arrow:hover .icon { transform: translateX(3px); }
.link-arrow .icon { transition: transform 0.2s; }

/* ---------- top bar ---------- */
.topbar { background: var(--maroon-deep); color: #f1e3d9; font-size: 0.86rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 40px; flex-wrap: wrap; }
.topbar a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 0.35rem; }
.topbar a:hover { color: var(--gold-light); }
.topbar__contact, .topbar__links { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; }
.topbar__links a { color: var(--gold-light); }
.translate { min-height: 24px; }
.translate .goog-te-gadget { font-size: 0 !important; color: transparent; }
.translate .goog-te-gadget .goog-te-combo { margin: 0; font-size: 0.8rem; padding: 2px 4px; border-radius: 4px; border: 0; background: rgba(255,255,255,0.12); color: #fff; }
.translate .goog-te-combo option { color: var(--ink); }
.goog-te-banner-frame, .skiptranslate iframe { display: none !important; }
body { top: 0 !important; }

/* ---------- header / nav ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--ink); min-width: 0; }
.brand__logo { width: 56px; height: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-family: var(--font-head); font-weight: 700; color: var(--maroon); font-size: 1.08rem; }
.brand__sub { font-size: 0.8rem; color: var(--muted); font-weight: 500; }
.mainnav { display: none; }
.mainnav__list { list-style: none; display: flex; align-items: center; gap: 0.1rem; margin: 0; padding: 0; }
.mainnav__item { position: relative; }
.mainnav__link { display: inline-flex; align-items: center; gap: 0.2rem; background: none; border: 0; padding: 0.55rem 0.62rem; font-family: var(--font-head); font-weight: 500; font-size: 0.92rem; color: var(--ink); text-decoration: none; border-radius: var(--radius-sm); }
.mainnav__link:hover, .mainnav__link[aria-expanded="true"] { color: var(--maroon); background: var(--maroon-soft); }
.mainnav__link.is-active { color: var(--maroon); box-shadow: inset 0 -2px 0 var(--gold); }
.mainnav__link .icon { transition: transform 0.2s; }
.mainnav__link[aria-expanded="true"] .icon { transform: rotate(180deg); }
.mainnav .btn { margin-left: 0.4rem; }
.submenu { position: absolute; top: calc(100% + 6px); left: 0; min-width: 250px; list-style: none; margin: 0; padding: 0.5rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity 0.18s, transform 0.18s, visibility 0.18s; }
.submenu--wide { display: grid; grid-template-columns: 1fr 1fr; min-width: 520px; }
.mainnav__item:nth-last-child(-n+3) .submenu { left: auto; right: 0; }
.has-sub:hover > .submenu, .has-sub.is-open > .submenu { opacity: 1; visibility: visible; transform: none; }
.submenu a { display: block; padding: 0.45rem 0.7rem; border-radius: var(--radius-sm); color: var(--ink); text-decoration: none; font-size: 0.93rem; line-height: 1.3; }
.submenu a:hover { background: var(--cream); color: var(--maroon); }
.submenu li:first-child a { font-weight: 700; color: var(--maroon); }
.menu-toggle { background: none; border: 0; color: var(--maroon); padding: 0.4rem; border-radius: var(--radius-sm); }

@media (min-width: 1180px) {
  .mainnav { display: block; }
  .menu-toggle { display: none; }
}

/* ---------- mobile drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 150; background: rgba(43, 13, 18, 0.55); }
.drawer[hidden] { display: none; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 90vw); background: var(--white); display: flex; flex-direction: column; animation: slideIn 0.25s ease-out; }
@keyframes slideIn { from { transform: translateX(100%); } }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); }
.drawer__close { background: none; border: 0; color: var(--maroon); }
.drawer__list { list-style: none; margin: 0; padding: 0.5rem 0; overflow-y: auto; flex: 1; }
.drawer__list > li > a, .drawer__list summary { display: flex; justify-content: space-between; align-items: center; padding: 0.8rem 1.25rem; font-family: var(--font-head); font-weight: 500; color: var(--ink); text-decoration: none; cursor: pointer; list-style: none; }
.drawer__list summary::-webkit-details-marker { display: none; }
.drawer__list details[open] summary { color: var(--maroon); background: var(--cream); }
.drawer__list details[open] summary .icon { transform: rotate(180deg); }
.drawer__list details ul { list-style: none; margin: 0; padding: 0.25rem 0 0.5rem; background: var(--cream); }
.drawer__list details a { display: block; padding: 0.5rem 1.25rem 0.5rem 2rem; color: var(--ink); text-decoration: none; font-size: 0.97rem; }
.drawer__foot { padding: 1rem 1.25rem; border-top: 1px solid var(--line); }
body.no-scroll { overflow: hidden; }

/* ---------- hero slider ---------- */
.hero { position: relative; color: var(--white); background: radial-gradient(1200px 500px at 85% 20%, rgba(201,162,39,0.18), transparent 60%), linear-gradient(135deg, var(--maroon-deep), var(--maroon) 60%, #8f2a37); overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,0.07) 1px, transparent 1px); background-size: 22px 22px; pointer-events: none; }
.hero__track { position: relative; display: grid; }
.slide { grid-area: 1 / 1; display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity 0.7s ease, visibility 0.7s; }
.slide.is-active { opacity: 1; visibility: visible; }
.slide__inner { display: grid; gap: 2rem; align-items: center; padding: 3rem 0 5.5rem; position: relative; }
.slide__title { font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3.2rem); color: var(--white); margin-bottom: 0.9rem; }
.slide__lead { font-size: 1.12rem; color: #f3e5df; max-width: 36rem; }
.slide.is-active .slide__text > * { animation: rise 0.7s both; }
.slide.is-active .slide__text > *:nth-child(2) { animation-delay: 0.08s; }
.slide.is-active .slide__text > *:nth-child(3) { animation-delay: 0.16s; }
.slide.is-active .slide__text > *:nth-child(4) { animation-delay: 0.24s; }
.slide.is-active .slide__graphic { animation: rise 0.8s 0.15s both; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
.hero__controls { position: absolute; left: 50%; transform: translateX(-50%); bottom: 1.3rem; display: flex; align-items: center; gap: 0.75rem; z-index: 3; }
.hero__arrow, .hero__pause { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.35); background: rgba(255,255,255,0.08); color: var(--white); display: grid; place-items: center; }
.hero__arrow:hover, .hero__pause:hover { background: rgba(255,255,255,0.2); }
.hero__dots { display: flex; gap: 0.45rem; }
.hero__dots button { width: 10px; height: 10px; padding: 0; border-radius: 999px; border: 0; background: rgba(255,255,255,0.4); transition: width 0.3s, background 0.3s; }
.hero__dots button[aria-selected="true"] { width: 30px; background: var(--gold); }
.pause-ico { width: 10px; height: 12px; border-left: 3px solid #fff; border-right: 3px solid #fff; }
.hero__pause.is-paused .pause-ico { width: 0; height: 0; border: 0; border-left: 11px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }
@media (min-width: 900px) {
  .slide__inner { grid-template-columns: 1.05fr 1fr; padding: 4.5rem 0 6rem; min-height: 540px; }
}

/* ---------- slide graphics ---------- */
.g-card { margin: 0; background: var(--white); color: var(--ink); border-radius: 18px; padding: 1.4rem; box-shadow: 0 30px 60px -25px rgba(0,0,0,0.55); border-top: 5px solid var(--gold); }
.g-card__title { font-family: var(--font-head); font-weight: 600; font-size: 0.98rem; color: var(--maroon-deep); margin-bottom: 1rem; }
.g-note { font-size: 0.82rem; color: var(--muted); margin: 0.75rem 0 0; }
.g-svg { width: 100%; height: auto; }
.g-grid { stroke: var(--line); stroke-width: 1; }
.g-axis { font: 500 11px var(--font-body); fill: var(--muted); }
.g-axis--x { font-size: 13px; fill: var(--ink); font-weight: 700; }
.g-val { font: 700 10.5px var(--font-body); fill: var(--maroon); }
.g-val--b { fill: #8a6d12; }
.g-bar-a { fill: var(--maroon); }
.g-bar-b { fill: var(--gold); }
.slide.is-active .g-bar-a, .slide.is-active .g-bar-b { transform-box: fill-box; transform-origin: bottom; animation: grow 0.8s calc(0.3s + var(--i) * 0.12s) both cubic-bezier(.2,.8,.2,1); }
@keyframes grow { from { transform: scaleY(0); } }
.g-legend { display: flex; gap: 1.2rem; flex-wrap: wrap; font-size: 0.88rem; color: var(--muted); }
.g-legend span, .g-keys li { display: inline-flex; align-items: center; gap: 0.45rem; }
.g-sw { display: inline-block; width: 14px; height: 14px; border-radius: 4px; flex-shrink: 0; }
.g-sw--a { background: var(--maroon); }
.g-sw--b { background: var(--gold); }

.g-ger__scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px; border-radius: 8px; overflow: hidden; }
.g-ger__band { padding: 0.6rem 0.2rem; text-align: center; font: 600 0.8rem var(--font-head); color: #fff; }
.g-b1 { background: #a3202f; } .g-b2 { background: #d99a2b; } .g-b3 { background: #9bbf6a; } .g-b4 { background: #4f9a5d; } .g-b5 { background: #2f6b45; }
.g-ger__pointer { font: 600 0.78rem var(--font-head); color: #a3202f; margin: 0.35rem 0 0.9rem 2%; }
.g-ger__lead { font-size: 0.92rem; margin-bottom: 0.5rem; color: var(--muted); }
.g-ger__list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.45rem; }
.g-ger__list li { padding: 0.35rem 0.8rem; border-radius: 999px; background: #f6dfe1; color: #7b1824; font-weight: 700; font-size: 0.92rem; }
.g-ger__list li.is-home { background: #a3202f; color: #fff; }

.g-waffle { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; margin: 0 auto 1rem; max-width: 300px; }
.g-waffle i { aspect-ratio: 1; border-radius: 5px; display: block; }
.slide.is-active .g-waffle i { animation: pop 0.4s calc(0.25s + var(--k) * 0.025s) both; }
@keyframes pop { from { opacity: 0; transform: scale(0.4); } }
.g-low { background: var(--maroon); } .g-mid { background: var(--gold); } .g-high { background: #3b7d67; }
.g-keys { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; font-size: 0.9rem; }
.g-keys strong { font-family: var(--font-head); color: var(--maroon-deep); min-width: 1.6rem; }
.g-keys span { color: var(--muted); line-height: 1.3; }
.g-keys--compact { font-size: 0.84rem; }

.g-health__wrap { display: grid; gap: 1rem; align-items: center; }
@media (min-width: 520px) { .g-health__wrap { grid-template-columns: 190px 1fr; } }
.g-donut { width: 100%; max-width: 210px; margin: auto; transform: rotate(-90deg); }
.g-donut circle { fill: none; stroke-width: 34; }
.g-donut text { transform: rotate(90deg); transform-origin: 110px 110px; }
.g-donut__big { font: 700 34px var(--font-head); fill: var(--maroon); }
.g-donut__small { font: 500 11px var(--font-body); fill: var(--muted); }
.g-c1 { stroke: var(--maroon); background: var(--maroon); } .g-c2 { stroke: #c76b4a; background: #c76b4a; } .g-c3 { stroke: var(--gold); background: var(--gold); } .g-c4 { stroke: #8f7a3a; background: #8f7a3a; }

.g-welcome { position: relative; display: grid; place-items: center; min-height: 340px; }
.g-welcome__ring { width: min(320px, 72vw); aspect-ratio: 1; border-radius: 50%; background: var(--white); display: grid; place-items: center; box-shadow: 0 0 0 12px rgba(255,255,255,0.08), 0 0 0 26px rgba(201,162,39,0.14), 0 30px 60px -20px rgba(0,0,0,0.5); }
.g-welcome__ring img { width: 72%; }
.chip { position: absolute; display: inline-flex; align-items: center; gap: 0.4rem; background: var(--white); color: var(--maroon-deep); font: 600 0.86rem var(--font-head); padding: 0.5rem 0.95rem; border-radius: 999px; box-shadow: var(--shadow); }
.chip .icon { color: var(--gold); }
.chip--1 { top: 8%; left: 0; } .chip--2 { bottom: 14%; left: 2%; } .chip--3 { top: 46%; right: 0; }
@media (min-width: 900px) { .chip--1 { left: 6%; } .chip--3 { right: 2%; } }

.g-wheel { position: relative; width: min(460px, 100%); aspect-ratio: 1; margin: auto; }
.g-wheel__lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.g-wheel__lines line { stroke: rgba(231, 205, 110, 0.55); stroke-width: 0.4; stroke-dasharray: 1.2 1.2; }
.g-wheel__hub { position: absolute; left: 50%; top: 50%; width: 36%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: var(--gold); color: var(--maroon-deep); display: grid; place-items: center; text-align: center; padding: 1rem; font: 700 clamp(0.78rem, 0.6rem + 0.6vw, 1.02rem)/1.25 var(--font-head); box-shadow: 0 0 0 10px rgba(201,162,39,0.25); }
.g-wheel__spoke { position: absolute; transform: translate(-50%, -50%); width: 25%; text-align: center; background: var(--white); color: var(--maroon-deep); border-radius: 12px; padding: 0.45rem 0.4rem; font: 600 clamp(0.62rem, 0.5rem + 0.45vw, 0.82rem)/1.2 var(--font-head); box-shadow: var(--shadow-sm); }
.slide.is-active .g-wheel__spoke { animation: pop 0.45s calc(0.3s + var(--i) * 0.07s) both; }

/* ---------- strips & sections ---------- */
.trust-strip { background: var(--gold-soft); border-bottom: 1px solid #eadcae; font-size: 0.92rem; }
.trust-strip__inner { display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; align-items: center; justify-content: center; padding: 0.85rem 0; color: var(--maroon-deep); font-weight: 500; }
.trust-strip__badge { display: inline-flex; align-items: center; gap: 0.4rem; background: var(--maroon); color: var(--white); padding: 0.25rem 0.8rem; border-radius: 999px; font-family: var(--font-head); font-weight: 600; font-size: 0.85rem; }
.section { padding: clamp(3rem, 2rem + 4vw, 5.5rem) 0; }
.section--cream { background: var(--cream); }
.section--maroon { background: linear-gradient(135deg, var(--maroon-deep), var(--maroon)); color: #f4e6e3; }
.section--maroon .h2 { color: var(--white); }
.section-head { margin-bottom: 2.2rem; }
.section-head--row { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 1rem; }
.split { display: grid; gap: 2.5rem; align-items: center; }
.split--wide { align-items: start; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 4rem; } .split--wide { grid-template-columns: 1.5fr 1fr; } }

/* impact */
.impact { padding: 2.6rem 0; border-bottom: 1px solid var(--line); }
.impact__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; text-align: center; }
.impact__grid strong { display: block; font: 700 clamp(2rem, 1.5rem + 1.8vw, 2.8rem)/1 var(--font-head); color: var(--maroon); }
.impact__grid strong::after { content: ''; display: block; width: 28px; height: 3px; background: var(--gold); margin: 0.6rem auto; }
.impact__grid span { color: var(--muted); font-size: 0.95rem; line-height: 1.35; display: block; }
@media (min-width: 760px) { .impact__grid { grid-template-columns: repeat(5, 1fr); } }

/* area cards */
.area-grid { display: grid; gap: 1rem; }
@media (min-width: 560px) { .area-grid { grid-template-columns: 1fr 1fr; } }
.area-card { position: relative; display: flex; flex-direction: column; gap: 0.3rem; padding: 1.4rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; }
.area-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--gold); color: var(--ink); }
.area-card strong { font-family: var(--font-head); font-size: 1.12rem; color: var(--maroon-deep); }
.area-card > span:not(.area-card__icon) { color: var(--muted); font-size: 0.95rem; line-height: 1.4; }
.area-card__icon { width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center; background: var(--maroon-soft); color: var(--maroon); margin-bottom: 0.5rem; }
.area-card__go { position: absolute; top: 1.4rem; right: 1.3rem; color: var(--gold); }

/* leader */
.leader { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 860px) { .leader { grid-template-columns: 340px 1fr; gap: 3.5rem; } }
.leader__photo { margin: 0; position: relative; max-width: 340px; }
.leader__photo::before { content: ''; position: absolute; inset: 18px -18px -18px 18px; border: 3px solid var(--gold); border-radius: var(--radius); }
.leader__photo img { position: relative; border-radius: var(--radius); aspect-ratio: 4/5; object-fit: cover; width: 100%; background: var(--sand); box-shadow: var(--shadow); }
.leader__quote { color: var(--gold); display: block; margin-bottom: 0.5rem; }
.leader__text { font-size: 1.15rem; line-height: 1.7; }
.leader__sign { display: flex; flex-direction: column; border-left: 3px solid var(--gold); padding-left: 1rem; margin-top: 1.5rem; }
.leader__sign strong { font-family: var(--font-head); color: var(--maroon-deep); font-size: 1.1rem; }
.leader__sign span { color: var(--muted); font-size: 0.95rem; }

/* logos */
.logo-grid { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 1rem; }
.logo-grid a { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; padding: 1.1rem 0.8rem; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); border-radius: var(--radius); text-align: center; text-decoration: none; color: #f4e6e3; font-size: 0.92rem; line-height: 1.3; height: 100%; transition: background 0.2s; }
.logo-grid a:hover { background: rgba(255,255,255,0.14); color: var(--white); }
.logo-grid img { width: 72px; height: 60px; object-fit: contain; background: var(--white); border-radius: 10px; padding: 4px; }

/* involve cards */
.cards-3 { display: grid; gap: 1.25rem; }
@media (min-width: 820px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } }
.involve-card { display: flex; flex-direction: column; padding: 1.8rem; border-radius: var(--radius); border: 1px solid var(--line); text-decoration: none; color: var(--ink); background: var(--white); transition: transform 0.2s, box-shadow 0.2s; }
.involve-card > .icon { color: var(--maroon); background: var(--gold-soft); padding: 10px; width: 54px; height: 54px; border-radius: 14px; margin-bottom: 1rem; }
.involve-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.involve-card p { color: var(--muted); flex: 1; }
.involve-card .link-arrow { color: var(--maroon); }

/* cta band */
.cta-band { background: var(--maroon-deep); color: #f1e3d9; padding: 2.6rem 0; }
.cta-band__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem; }
.cta-band h2 { color: var(--white); font-size: 1.45rem; margin-bottom: 0.3rem; }
.cta-band p { margin: 0; }
.cta-band a:not(.btn) { color: var(--gold-light); }
.cta-band .btn-row { margin: 0; }

/* ---------- inner pages ---------- */
.page-hero { background: linear-gradient(120deg, var(--maroon-deep), var(--maroon)); color: #f4e6e3; padding: 2.4rem 0 2.8rem; position: relative; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; border: 40px solid rgba(201,162,39,0.12); }
.page-hero h1 { color: var(--white); font-size: clamp(1.8rem, 1.3rem + 2vw, 2.8rem); margin-bottom: 0.5rem; }
.page-hero__lead { max-width: 46rem; font-size: 1.1rem; margin: 0; color: #f0ddd6; }
.crumbs { display: flex; flex-wrap: wrap; gap: 0.4rem; font-size: 0.85rem; margin-bottom: 1rem; color: #e3c9c1; }
.crumbs a { color: var(--gold-light); text-decoration: none; }
.prose p, .prose li { max-width: 68ch; }

.facts { display: grid; gap: 1.2rem; }
.minority-card { background: var(--maroon); color: #f6e9e5; border-radius: var(--radius); padding: 1.6rem; position: relative; overflow: hidden; }
.minority-card .icon { color: var(--gold-light); margin-bottom: 0.5rem; }
.minority-card h3 { color: var(--white); margin-bottom: 0.4rem; }
.minority-card .small { color: #e9cfc8; margin: 0; }
.fact-list { margin: 0; background: var(--cream); border-radius: var(--radius); padding: 0.4rem 1.3rem; }
.fact-list div { padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
.fact-list div:last-child { border: 0; }
.fact-list dt { font-size: 0.82rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.fact-list dd { margin: 0; font-weight: 600; }
.note-card, .bank-card { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
.note-card h3, .bank-card h3 { font-size: 1.1rem; }
.bank-card dl { margin: 0; }
.bank-card dl div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.45rem 0; border-bottom: 1px dashed var(--line); }
.bank-card dt { color: var(--muted); }
.bank-card dd { margin: 0; font-weight: 600; text-align: right; }
.tba { display: inline-block; background: #fff4cc; color: #7a5a00; border: 1px dashed #d9b84a; padding: 0.05rem 0.55rem; border-radius: 6px; font-size: 0.88em; font-weight: 600; }

.link-cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.link-cards a { display: flex; flex-direction: column; gap: 0.2rem; padding: 1.3rem; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: border-color 0.2s, box-shadow 0.2s; }
.link-cards a:hover { border-color: var(--gold); box-shadow: var(--shadow-sm); color: var(--ink); }
.link-cards .icon { color: var(--maroon); margin-bottom: 0.4rem; }
.link-cards strong { font-family: var(--font-head); color: var(--maroon-deep); }
.link-cards span { color: var(--muted); font-size: 0.93rem; }

.ticks { list-style: none; padding: 0; }
.ticks li { position: relative; padding-left: 1.8rem; margin-bottom: 0.5rem; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 0.42em; width: 1.05rem; height: 1.05rem; border-radius: 50%; background: var(--gold-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a1f2b' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/62% no-repeat; }
.ticks--sm li { font-size: 0.95rem; margin-bottom: 0.3rem; }

.vm-grid { display: grid; gap: 1.4rem; }
@media (min-width: 820px) { .vm-grid { grid-template-columns: 1fr 1fr; } .vm-card--wide { grid-column: 1 / -1; } }
.vm-card { padding: 2rem; border-radius: var(--radius); background: var(--cream); border-top: 4px solid var(--gold); }
.vm-card__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: var(--maroon); color: var(--gold-light); margin-bottom: 1rem; }
.vm-card p { font-size: 1.1rem; }

.contrib-grid { display: grid; gap: 1.2rem; }
@media (min-width: 760px) { .contrib-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .contrib-grid { grid-template-columns: repeat(4, 1fr); } }
.contrib { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
.contrib h3 { font-size: 1.05rem; border-bottom: 2px solid var(--gold); padding-bottom: 0.5rem; }
.contrib h3 a { text-decoration: none; }
.contrib ul { padding-left: 1.1rem; margin: 0; }
.contrib li { font-size: 0.95rem; margin-bottom: 0.25rem; }
.contrib li a { color: var(--ink); text-decoration: none; }
.contrib li a:hover { color: var(--maroon); text-decoration: underline; }
.roadmap { counter-reset: r; list-style: none; padding: 0; display: grid; gap: 0.6rem; }
.roadmap li { counter-increment: r; position: relative; padding: 0.8rem 1rem 0.8rem 3.4rem; background: var(--white); border-radius: var(--radius-sm); border: 1px solid var(--line); }
.roadmap li::before { content: counter(r); position: absolute; left: 0.8rem; top: 0.7rem; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--maroon); color: var(--gold-light); display: grid; place-items: center; font: 600 0.85rem var(--font-head); }

.reg-table { width: 100%; border-collapse: collapse; font-size: 0.98rem; }
.reg-table th, .reg-table td { text-align: left; padding: 0.8rem 0.6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.reg-table th { font-weight: 500; color: var(--muted); width: 55%; }
.reg-table td { font-weight: 600; }
.doc-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.doc-list li { display: flex; align-items: center; gap: 0.8rem; padding: 1rem 1.1rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.doc-list li > span:first-of-type { flex: 1; font-weight: 600; }
.doc-list .icon { color: var(--maroon); }
.doc-list .is-missing { opacity: 0.85; }

/* entities (institutions) */
.entity-grid { display: grid; gap: 1.2rem; }
@media (min-width: 760px) { .entity-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .entity-grid { grid-template-columns: repeat(3, 1fr); } }
.entity { display: flex; flex-direction: column; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: box-shadow 0.2s; }
.entity:target { box-shadow: 0 0 0 3px var(--gold); }
.entity__head { display: flex; gap: 0.9rem; align-items: center; margin-bottom: 0.8rem; }
.entity__head img { width: 64px; height: 54px; object-fit: contain; flex-shrink: 0; }
.entity h3 { font-size: 1.08rem; margin: 0; }
.entity__tag { margin: 0; color: var(--muted); font-size: 0.9rem; }
.entity > p { font-size: 0.97rem; }
.entity .ticks { flex: 1; }

/* project lists */
.area-layout { display: grid; gap: 2rem; }
@media (min-width: 1000px) { .area-layout { grid-template-columns: 260px 1fr; gap: 3rem; } .area-toc { position: sticky; top: 100px; align-self: start; } }
.area-toc { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.2rem 0.6rem; }
.area-toc__title { font: 600 0.8rem var(--font-head); text-transform: uppercase; letter-spacing: 0.1em; color: var(--maroon); }
.area-toc ol { padding-left: 1.2rem; font-size: 0.93rem; }
.area-toc li { margin-bottom: 0.35rem; }
.area-toc a { color: var(--ink); text-decoration: none; }
.area-toc a:hover, .area-toc a.is-current { color: var(--maroon); text-decoration: underline; }
.project { display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; padding: 2rem 0; border-bottom: 1px solid var(--line); }
.project:first-of-type { padding-top: 0; }
.project:last-child { border-bottom: 0; }
.project__num { font: 700 1.6rem/1 var(--font-head); color: var(--gold); padding-top: 0.25rem; }
.project__title { font-size: 1.45rem; }
.project__summary { font-size: 1.08rem; color: var(--maroon); font-weight: 500; }
.project:target .project__title { text-decoration: underline var(--gold) 3px; text-underline-offset: 6px; }

/* galleries */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem; margin-top: 1.2rem; }
.gallery--2 { grid-template-columns: repeat(2, 1fr); }
.gallery__item { aspect-ratio: 4/3; border-radius: var(--radius-sm); overflow: hidden; background: var(--sand); display: block; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item--empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.35rem; color: #b4a28f; font-size: 0.82rem; border: 2px dashed #e0d3c2; background: repeating-linear-gradient(45deg, #faf6ef, #faf6ef 10px, #f6f0e5 10px, #f6f0e5 20px); text-align: center; padding: 0.5rem; }
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(20, 6, 9, 0.92); display: grid; place-items: center; padding: 1.5rem; cursor: zoom-out; }
.lightbox img { max-height: 90vh; border-radius: var(--radius-sm); }

/* digital */
.digital-list { display: grid; gap: 3rem; }
.digital { display: grid; gap: 1.5rem; align-items: center; padding-bottom: 3rem; border-bottom: 1px solid var(--line); }
.digital:last-child { border: 0; padding: 0; }
@media (min-width: 860px) { .digital { grid-template-columns: 300px 1fr; gap: 3rem; } }
.digital__logo { background: var(--cream); border-radius: var(--radius); padding: 2rem; display: grid; place-items: center; aspect-ratio: 1; }
.digital__logo img { max-height: 200px; object-fit: contain; }

/* get involved */
.benefit { display: flex; gap: 1rem; padding: 1.3rem; background: var(--gold-soft); border-radius: var(--radius); margin: 1.5rem 0; }
.benefit .icon { color: var(--maroon); }
.benefit p { margin: 0.3rem 0 0; }
.steps { padding-left: 1.3rem; }
.steps li { margin-bottom: 0.6rem; }
.csr-areas { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0.7rem; margin: 1.2rem 0 2rem; }
.csr-areas a { display: flex; align-items: center; gap: 0.6rem; padding: 0.85rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-sm); text-decoration: none; color: var(--ink); font-weight: 600; font-size: 0.96rem; }
.csr-areas a:hover { border-color: var(--gold); background: var(--cream); color: var(--ink); }
.csr-areas .icon { color: var(--maroon); }

/* contact */
.contact-layout { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .contact-layout { grid-template-columns: 380px 1fr; gap: 3.5rem; } }
.contact-cards { display: grid; gap: 0.8rem; align-content: start; }
.contact-card { display: flex; gap: 0.9rem; align-items: flex-start; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: var(--radius-sm); text-decoration: none; color: var(--ink); background: var(--white); }
a.contact-card:hover { border-color: var(--gold); color: var(--ink); }
.contact-card > .icon { color: var(--maroon); background: var(--maroon-soft); padding: 8px; width: 40px; height: 40px; border-radius: 10px; }
.contact-card small { display: block; color: var(--muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; }
.contact-card strong { font-weight: 600; line-height: 1.4; display: block; }
.map-wrap iframe { display: block; width: 100%; height: 380px; border: 0; filter: saturate(0.9); }

/* ---------- forms ---------- */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.2rem, 1rem + 1vw, 2rem); box-shadow: var(--shadow-sm); }
.form { display: grid; gap: 0 1.2rem; }
@media (min-width: 640px) { .form { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; margin-bottom: 0.4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 0.95rem; margin-bottom: 0.3rem; }
.req { color: var(--err); }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; padding: 0.7rem 0.85rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--white); color: var(--ink); width: 100%; transition: border-color 0.2s, box-shadow 0.2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--maroon); box-shadow: 0 0 0 3px rgba(122, 31, 43, 0.12); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--err); }
.field__err { color: var(--err); font-size: 0.86rem; min-height: 1.3em; margin: 0.2rem 0 0; }
.form__actions { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 0.5rem; }
.form__note { font-size: 0.86rem; color: var(--muted); margin: 0; flex: 1; min-width: 200px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.alert { display: flex; gap: 0.7rem; align-items: flex-start; padding: 0.9rem 1.1rem; border-radius: var(--radius-sm); margin-bottom: 1.2rem; font-weight: 500; }
.alert--ok { background: #e6f4ea; color: var(--ok); border: 1px solid #b9dfc5; }
.alert--err { background: #fdecea; color: var(--err); border: 1px solid #f3c2bd; }

/* ---------- footer ---------- */
.site-footer { background: #26090e; color: #d9c5bf; font-size: 0.97rem; }
.footer__grid { display: grid; gap: 2rem; padding: 3.5rem 0 2.5rem; }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; } }
.footer__brand { display: flex; gap: 0.8rem; align-items: center; margin-bottom: 1rem; }
.footer__brand img { background: var(--white); border-radius: 12px; padding: 4px; width: 64px; }
.footer__brand strong { display: block; color: var(--white); font-family: var(--font-head); }
.footer__brand span { font-size: 0.85rem; color: var(--gold-light); }
.footer__title { color: var(--white); font-size: 1rem; margin-bottom: 1rem; }
.footer__links { list-style: none; padding: 0; margin: 0; }
.footer__links li { margin-bottom: 0.45rem; }
.site-footer a { color: #f0e0da; text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); }
.footer__contact { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.footer__contact li { display: flex; gap: 0.6rem; margin-bottom: 0.65rem; line-height: 1.45; }
.footer__contact .icon { color: var(--gold); margin-top: 0.2rem; }
.site-footer .btn--gold { color: var(--maroon-deep); }
.footer__social { display: flex; gap: 0.6rem; }
.footer__social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,0.08); }
.footer__social a:hover { background: var(--gold); color: var(--maroon-deep); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.86rem; }
.footer__bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem; padding: 1.1rem 0 5rem; }
@media (min-width: 760px) { .footer__bottom-inner { padding-bottom: 1.1rem; } }

/* ---------- WhatsApp floating button ---------- */
.whatsapp-float { position: fixed; right: 1rem; bottom: 1rem; z-index: 90; display: inline-flex; align-items: center; gap: 0.5rem; background: #1f9d55; color: var(--white); padding: 0.75rem; border-radius: 999px; text-decoration: none; font-family: var(--font-head); font-weight: 600; box-shadow: 0 10px 25px -8px rgba(0,0,0,0.45); transition: transform 0.2s; }
.whatsapp-float:hover { color: var(--white); transform: scale(1.05); }
.whatsapp-float span { display: none; padding-right: 0.3rem; }
@media (min-width: 760px) { .whatsapp-float { right: 1.5rem; bottom: 1.5rem; padding: 0.75rem 1.1rem 0.75rem 0.85rem; } .whatsapp-float span { display: inline; } }

/* ---------- small screens ---------- */
@media (max-width: 600px) {
  .hide-sm { display: none !important; }
  .topbar__inner { justify-content: center; padding: 0.35rem 0; }
  .topbar__links { gap: 0.8rem; font-size: 0.8rem; }
  .brand__name { font-size: 0.98rem; }
  .brand__logo { width: 46px; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .project { grid-template-columns: 1fr; gap: 0.2rem; }
  .project__num { font-size: 1.1rem; }
  .g-card { padding: 1rem; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- print ---------- */
@media print {
  .topbar, .site-header, .drawer, .whatsapp-float, .hero__controls, .site-footer, .cta-band, .map-wrap { display: none !important; }
  .page-hero { background: none; color: var(--ink); }
  .page-hero h1 { color: var(--ink); }
}
