/* Suffah Misali High School — website styles */
:root {
  --g9: #072f24;
  --g8: #0d4a35;
  --g7: #126041;
  --g6: #187a52;
  --g1: #e9f3ed;
  --g0: #f3f8f5;
  --gold: #d6a52a;
  --gold-d: #b2861a;
  --gold-l: #f6e7b8;
  --cream: #fbf8f1;
  --ink: #15211b;
  --muted: #5a6a62;
  --line: #e1e7e3;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 10px 30px -12px rgba(7, 47, 36, .22);
  --shadow-sm: 0 4px 14px -6px rgba(7, 47, 36, .18);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.65; color: var(--ink); background: var(--white); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--g7); text-decoration: none; }
a:hover { color: var(--g6); }
h1, h2, h3 { font-family: var(--serif); line-height: 1.2; margin: 0 0 .5em; color: var(--g9); letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.25rem); }
h3 { font-size: 1.2rem; font-family: var(--sans); font-weight: 700; letter-spacing: 0; }
p { margin: 0 0 1em; }
.ic { width: 1.1em; height: 1.1em; flex: none; vertical-align: -.15em; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 860px; }
.center { text-align: center; }
.mt { margin-top: 2rem; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--g9); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .85em 1.4em; border-radius: 999px; font-weight: 600; font-size: .98rem; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .2s, color .2s, box-shadow .2s; line-height: 1.2; font-family: var(--sans); text-align: center; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--g9); box-shadow: 0 6px 18px -8px rgba(214, 165, 42, .8); }
.btn-gold:hover { background: #e3b43a; color: var(--g9); }
.btn-green { background: var(--g7); color: #fff; }
.btn-green:hover { background: var(--g6); color: #fff; }
.btn-outline { border-color: var(--g7); color: var(--g7); background: transparent; }
.btn-outline:hover { background: var(--g7); color: #fff; }
.btn-ghost-light { border-color: rgba(255, 255, 255, .55); color: #fff; background: rgba(255, 255, 255, .06); }
.btn-ghost-light:hover { background: #fff; color: var(--g8); }
.btn-wa { background: #1fa855; color: #fff; }
.btn-wa:hover { background: #18934a; color: #fff; }
.btn-block { width: 100%; }
.btn-sm { padding: .55em 1em; font-size: .9rem; }
.more { display: inline-flex; align-items: center; gap: .35em; font-weight: 600; color: var(--g7); }
.more .ic { transition: transform .2s; }
.more:hover .ic { transform: translateX(4px); }

/* Top bar */
.topbar { background: var(--g9); color: #cfe2d8; font-size: .86rem; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 40px; }
.topbar a, .topbar span { color: #cfe2d8; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: #fff; }
.tb-left, .tb-right { display: flex; align-items: center; gap: 18px; }
.tb-badge { background: var(--gold); color: var(--g9) !important; padding: 3px 12px; border-radius: 999px; font-weight: 700; font-size: .8rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 6px 20px -12px rgba(0, 0, 0, .25); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--g9); min-width: 0; }
.brand img { width: 56px; height: 56px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.brand-text strong { font-family: var(--serif); font-size: 1.22rem; color: var(--g9); }
.brand-text small { color: var(--muted); font-size: .8rem; letter-spacing: .02em; }
.brand-light strong { color: #fff; }
.brand-light small { color: #b9d2c6; }
.site-nav { display: flex; align-items: center; gap: 18px; }
.site-nav > ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 2px; }
.site-nav li { position: relative; }
.site-nav > ul > li > a { display: flex; align-items: center; gap: 4px; padding: 10px 11px; color: var(--ink); font-weight: 500; font-size: .95rem; border-radius: 8px; }
.site-nav > ul > li > a:hover, .site-nav > ul > li.active > a { color: var(--g7); background: var(--g0); }
.site-nav > ul > li.active > a { font-weight: 600; }
.chev { width: 14px; height: 14px; }
.sub { position: absolute; top: 100%; left: 0; min-width: 220px; list-style: none; margin: 0; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--ink); font-size: .94rem; }
.sub a:hover { background: var(--g0); color: var(--g7); }
.nav-toggle { display: none; background: var(--g0); border: 1px solid var(--line); color: var(--g8); width: 46px; height: 46px; border-radius: 12px; align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle .ic { width: 24px; height: 24px; }
.nav-toggle .i-close { display: none; }

/* Ticker */
.ticker { background: var(--gold-l); border-bottom: 1px solid #ecd897; font-size: .92rem; }
.ticker-in { display: flex; align-items: center; gap: 14px; min-height: 42px; }
.ticker-label { flex: none; display: inline-flex; align-items: center; gap: 6px; background: var(--g8); color: #fff; font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; padding: 5px 12px; border-radius: 999px; }
.ticker-track { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker-move { display: inline-flex; gap: 60px; white-space: nowrap; animation: tick 38s linear infinite; padding-left: 20px; }
.ticker:hover .ticker-move { animation-play-state: paused; }
.ticker-item { color: #4a3a07; font-weight: 500; }
.ticker-item a { color: #4a3a07; text-decoration: underline; text-decoration-color: rgba(74, 58, 7, .35); }
.ticker-item::before { content: "◆"; color: var(--gold-d); margin-right: 10px; font-size: .7em; }
@keyframes tick { to { transform: translateX(-50%); } }

/* Hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 500px at 85% 10%, #1b7a52 0%, transparent 60%), linear-gradient(135deg, var(--g9) 0%, var(--g8) 55%, var(--g7) 100%); color: #fff; padding: clamp(48px, 8vw, 96px) 0 clamp(70px, 9vw, 120px); }
.hero-pattern { position: absolute; inset: 0; opacity: .08; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23fff' stroke-width='1.2'%3E%3Cpath d='M40 4l10 26 26 10-26 10-10 26-10-26L4 40l26-10z'/%3E%3Ccircle cx='40' cy='40' r='9'/%3E%3C/g%3E%3C/svg%3E"); }
.hero-in { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; background: rgba(214, 165, 42, .18); border: 1px solid rgba(214, 165, 42, .5); color: var(--gold-l); padding: 6px 14px; border-radius: 999px; font-size: .85rem; font-weight: 600; margin-bottom: 18px; }
.hero h1 { color: #fff; margin-bottom: .3em; }
.hero-place { display: flex; align-items: center; gap: 8px; color: var(--gold-l); font-weight: 500; margin-bottom: 1em; }
.hero-lead { font-size: 1.12rem; color: #d7e8df; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.center-row { justify-content: center; }
.hero-art img { width: 100%; }
.hero-photo { border-radius: 22px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5); border: 6px solid rgba(255, 255, 255, .12); aspect-ratio: 4/3; object-fit: cover; }
.hero-illus { filter: drop-shadow(0 25px 40px rgba(0, 0, 0, .3)); }

/* Stats */
.stats-wrap { position: relative; margin-top: -54px; z-index: 2; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: 18px; box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; }
.stat { padding: 24px 18px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--serif); font-size: 1.65rem; color: var(--g8); line-height: 1.2; }
.stat span { color: var(--muted); font-size: .9rem; }

/* Sections */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section.pt0 { padding-top: 0; }
.section-tint { background: var(--cream); }
.section-green { background: linear-gradient(135deg, var(--g9), var(--g8)); color: #d7e8df; }
.sec-head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.sec-head p { color: var(--muted); }
.sec-head.light h2 { color: #fff; }
.sec-head.light p { color: #c4dbcf; }
.sec-head.row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; text-align: left; }
.sec-head.row h2 { margin: 0; }
.kicker { display: inline-block; color: var(--gold-d); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; margin-bottom: 10px; }
.section-green .kicker { color: var(--gold); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split.top { align-items: start; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.rounded-img { border-radius: 20px; box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.rounded-img.illus { box-shadow: none; background: var(--g0); padding: 20px; }
.prose p:last-child { margin-bottom: 0; }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }
.prose h2 { margin-top: 1.2em; }
.prose.lg { font-size: 1.07rem; }

/* Vision / values */
.vision-card { position: relative; background: linear-gradient(140deg, var(--g8), var(--g7)); color: #fff; border-radius: 22px; padding: clamp(32px, 5vw, 56px); box-shadow: var(--shadow); }
.vision-card p { font-family: var(--serif); font-size: clamp(1.3rem, 2.4vw, 1.75rem); line-height: 1.45; margin: 12px 0 18px; }
.vision-card span { color: var(--gold); font-weight: 600; }
.big-quote { width: 48px; height: 48px; color: var(--gold); opacity: .9; }
.ticks { list-style: none; padding: 0; margin: 1.2em 0 1.6em; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .ic { color: var(--g6); background: var(--g1); border-radius: 50%; padding: 4px; width: 26px; height: 26px; margin-top: 1px; }
.section-green .ticks .ic { background: rgba(255, 255, 255, .1); color: var(--gold); }
.vm-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); }
.vm-card p { font-size: 1.08rem; margin: 0; }
.badge-line { display: inline-flex; align-items: center; gap: 8px; background: var(--gold-l); color: #4a3a07; padding: 6px 14px; border-radius: 999px; font-weight: 600; }
.value-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.value-list li { display: flex; align-items: center; gap: 14px; background: var(--g0); border: 1px solid var(--g1); padding: 14px 16px; border-radius: 12px; font-weight: 500; }
.value-list span { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--g7); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .9rem; }

/* Principal */
.principal-card { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: center; background: #fff; border-radius: 22px; padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); border: 1px solid var(--line); }
.pc-avatar, .pp-avatar { width: 200px; height: 200px; border-radius: 50%; object-fit: cover; border: 6px solid var(--gold-l); }
.avatar-initials { display: grid; place-items: center; background: linear-gradient(135deg, var(--g8), var(--g6)); color: #fff; font-family: var(--serif); font-size: 3.4rem; font-weight: 700; }
.pc-body blockquote { margin: 6px 0 18px; font-family: var(--serif); font-size: clamp(1.1rem, 2vw, 1.35rem); line-height: 1.55; color: var(--g9); }
.pc-name { display: flex; flex-direction: column; margin-bottom: 10px; }
.pc-name span { color: var(--muted); font-size: .92rem; }
.principal-page { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: start; }
.pp-side { position: sticky; top: 110px; background: var(--cream); border-radius: 20px; padding: 32px 24px; text-align: center; border: 1px solid #efe8d6; }
.pp-side .pp-avatar { margin: 0 auto 16px; }
.pp-side h2 { font-size: 1.4rem; margin-bottom: 4px; }
.pp-side p { margin: 0 0 6px; }
.pp-side .btn { margin-top: 12px; }
.pp-body .big-quote { margin-bottom: 8px; }
.signature { margin-top: 28px; padding-top: 20px; border-top: 2px solid var(--gold-l); font-family: var(--serif); font-size: 1.1rem; }

/* Features & levels */
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.feature p { color: var(--muted); margin: 0; }
.f-icon, .l-icon { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: var(--g1); color: var(--g7); margin-bottom: 16px; }
.f-icon .ic, .l-icon .ic { width: 26px; height: 26px; }
.level { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); padding: 26px; transition: background .2s, transform .2s; }
.level:hover { background: rgba(255, 255, 255, .1); transform: translateY(-4px); }
.level h3 { color: #fff; }
.level p { margin: 0; font-size: .95rem; }
.l-icon { background: rgba(214, 165, 42, .16); color: var(--gold); }

/* News */
.news-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.news-img { display: block; aspect-ratio: 16/9; overflow: hidden; background: var(--g0); }
.news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.news-card:hover .news-img img { transform: scale(1.05); }
.card-ph { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(135deg, var(--g8), var(--g6)); color: rgba(255, 255, 255, .5); }
.card-ph .ic { width: 64px; height: 64px; }
.news-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.news-body h3 { font-size: 1.12rem; }
.news-body h3 a { color: var(--g9); }
.news-body h3 a:hover { color: var(--g6); }
.news-body p { color: var(--muted); font-size: .95rem; flex: 1; }
.news-meta { display: flex; align-items: center; gap: 10px; font-size: .85rem; color: var(--muted); margin-bottom: 10px; }
.chip { display: inline-block; background: var(--g1); color: var(--g7); padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 600; }
.chip.light { background: rgba(255, 255, 255, .14); color: #fff; margin-bottom: 12px; }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pager a { min-width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); font-weight: 600; }
.pager a.on { background: var(--g7); color: #fff; border-color: var(--g7); }
.post-img { border-radius: 18px; margin-bottom: 28px; width: 100%; }
.share { display: flex; align-items: center; gap: 10px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-weight: 600; }
.share a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--g0); color: var(--g7); }
.share a:hover { background: var(--g7); color: #fff; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery-grid.big { grid-template-columns: repeat(4, 1fr); }
.g-item { position: relative; display: block; aspect-ratio: 4/3; overflow: hidden; border-radius: 12px; background: var(--g0); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.g-item:hover img { transform: scale(1.06); }
.g-cap { position: absolute; inset: auto 0 0 0; padding: 26px 12px 10px; background: linear-gradient(transparent, rgba(0, 0, 0, .7)); color: #fff; font-size: .86rem; }
.g-item.hide { display: none; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 28px; }
.filters button { border: 1px solid var(--line); background: #fff; padding: 8px 16px; border-radius: 999px; cursor: pointer; font: inherit; font-weight: 500; color: var(--ink); }
.filters button.on { background: var(--g7); color: #fff; border-color: var(--g7); }
.empty { text-align: center; padding: 48px 20px; background: #fff; border: 2px dashed var(--line); border-radius: 18px; color: var(--muted); }
.empty > .ic { width: 48px; height: 48px; color: var(--g6); margin: 0 auto 10px; display: block; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(5, 20, 15, .92); display: flex; align-items: center; justify-content: center; padding: 20px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(1100px, 100%); text-align: center; }
.lightbox img { max-height: 80vh; margin: 0 auto; border-radius: 10px; }
.lightbox figcaption { color: #e8f1ec; margin-top: 12px; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .12); border: 0; color: #fff; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; font-size: 2rem; line-height: 1; display: grid; place-items: center; }
.lightbox button:hover { background: rgba(255, 255, 255, .25); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* Page hero */
.page-hero { background: linear-gradient(135deg, var(--g9), var(--g7)); color: #d7e8df; padding: clamp(40px, 6vw, 72px) 0; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -60px; top: -60px; width: 280px; height: 280px; border-radius: 50%; border: 40px solid rgba(214, 165, 42, .12); }
.page-hero h1 { color: #fff; margin-bottom: .25em; position: relative; }
.page-hero .lead { font-size: 1.1rem; margin: 0; display: flex; align-items: center; gap: 8px; position: relative; }
.page-hero.slim h1 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 14px; font-size: .88rem; position: relative; }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--gold); }
.crumbs a { color: #bfd7cb; }
.crumbs a:hover { color: #fff; }
.crumbs span { color: var(--gold-l); }

/* Panels, timeline, steps */
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.panel h2 { font-size: 1.4rem; display: flex; align-items: center; gap: 10px; }
.panel h2 .ic { color: var(--gold-d); }
.pill-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pill-list li { background: var(--g0); border: 1px solid var(--g1); padding: 7px 14px; border-radius: 999px; font-weight: 500; font-size: .94rem; }
.timeline { display: grid; gap: 16px; max-width: 860px; margin: 0 auto; }
.tl-item { display: flex; gap: 20px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--gold); border-radius: var(--radius); padding: 24px; }
.tl-item p { margin: 0; color: var(--muted); }
.tl-icon { flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--g1); color: var(--g7); }
.tl-icon .ic { width: 24px; height: 24px; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.steps li { counter-increment: s; display: flex; gap: 14px; align-items: center; background: var(--g0); border-radius: 12px; padding: 12px 16px; }
.steps li::before { content: counter(s); flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--gold); color: var(--g9); font-weight: 800; display: grid; place-items: center; }
.status { display: inline-block; padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: .85rem; margin-bottom: 14px; }
.status.open { background: #dcf3e4; color: #13693e; }
.status.closed { background: #fde5e5; color: #9b2121; }
.note { display: flex; gap: 12px; align-items: flex-start; background: var(--gold-l); color: #4a3a07; padding: 16px 18px; border-radius: 12px; }
.note p { margin: 0; }
.note .ic { margin-top: 3px; }
.link-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; color: var(--ink); transition: transform .2s, box-shadow .2s; }
.link-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); }
.link-card > .ic { width: 34px; height: 34px; color: var(--gold-d); margin-bottom: 14px; }
.link-card p { color: var(--muted); }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 0; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { transition: transform .2s; color: var(--g7); }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq details .prose { padding-bottom: 18px; color: var(--muted); }

/* Forms */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: clamp(22px, 4vw, 36px); box-shadow: var(--shadow); scroll-margin-top: 100px; }
.form-card h2 { font-size: 1.6rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; margin-top: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.wide { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .9rem; }
.req { color: #c0392b; }
.field input, .field select { min-height: 50px; }
.field input, .field select, .field textarea { font: inherit; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fcfdfc; color: var(--ink); width: 100%; transition: border-color .15s, box-shadow .15s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--g6); box-shadow: 0 0 0 4px rgba(24, 122, 82, .12); }
.field [aria-invalid="true"] { border-color: #c0392b; }
.err { color: #c0392b; font-size: .85rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { display: flex; gap: 10px; align-items: center; padding: 14px 16px; border-radius: 12px; margin: 14px 0; font-weight: 500; }
.alert.ok { background: #dcf3e4; color: #13693e; }
.alert.bad { background: #fde5e5; color: #9b2121; }
.or { text-align: center; color: var(--muted); margin: 14px 0; position: relative; }
.or::before, .or::after { content: ""; position: absolute; top: 50%; width: 42%; height: 1px; background: var(--line); }
.or::before { left: 0; }
.or::after { right: 0; }

/* Contact */
.contact-list { list-style: none; padding: 0; margin: 20px 0 26px; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list li > .ic { width: 44px; height: 44px; padding: 11px; background: var(--g1); color: var(--g7); border-radius: 12px; }
.contact-list div { display: flex; flex-direction: column; }
.contact-list strong { font-size: .9rem; }
.map { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); position: relative; background: var(--g0); }
.map iframe { width: 100%; height: 400px; border: 0; display: block; }
.map.tall iframe { height: 560px; }
.map-link { position: absolute; left: 14px; bottom: 14px; background: #fff; padding: 8px 14px; border-radius: 999px; box-shadow: var(--shadow-sm); font-weight: 600; font-size: .9rem; display: inline-flex; align-items: center; gap: 6px; }
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.c-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 18px; color: var(--ink); transition: transform .2s, box-shadow .2s; word-break: break-word; }
a.c-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); }
.c-card > .ic { width: 52px; height: 52px; padding: 13px; border-radius: 50%; background: var(--g1); color: var(--g7); margin-bottom: 6px; }
.c-card span { color: var(--muted); font-size: .93rem; }

/* Results */
.result { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: clamp(20px, 4vw, 34px); margin-bottom: 24px; box-shadow: var(--shadow-sm); }
.result-head { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-bottom: 18px; }
.result-head h2 { margin: 8px 0 2px; font-size: 1.6rem; }
.result-head p { margin: 0; }
.pct { --p: 0; flex: none; width: 112px; height: 112px; border-radius: 50%; display: grid; place-content: center; text-align: center; background: radial-gradient(closest-side, #fff 78%, transparent 80% 100%), conic-gradient(var(--g6) calc(var(--p) * 1%), var(--g1) 0); }
.pct strong { font-size: 1.35rem; color: var(--g8); line-height: 1; }
.pct span { font-size: .75rem; color: var(--muted); }
.result-nums { display: flex; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.result-nums div { background: var(--g0); border-radius: 12px; padding: 12px 22px; display: flex; flex-direction: column; }
.result-nums strong { font-size: 1.4rem; color: var(--g8); }
.result-nums span { font-size: .85rem; color: var(--muted); }
.toppers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.topper { display: flex; gap: 12px; align-items: center; background: linear-gradient(135deg, #fff8e3, #fff); border: 1px solid #f0dfa8; border-radius: 12px; padding: 14px; }
.topper div { display: flex; flex-direction: column; }
.topper span { color: var(--muted); font-size: .88rem; }
.medal { width: 42px; height: 42px; border-radius: 50%; background: var(--gold); color: var(--g9); display: grid; place-items: center; flex: none; }
.result-img { border-radius: 12px; margin: 10px 0 16px; }

/* Faculty */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.member { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px 18px; transition: transform .2s, box-shadow .2s; }
.member:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.m-avatar { width: 128px; height: 128px; border-radius: 50%; object-fit: cover; margin: 0 auto 16px; border: 5px solid var(--gold-l); font-size: 2.4rem; }
.member h3 { margin-bottom: 4px; }
.m-role { color: var(--g7); font-weight: 600; margin-bottom: 6px; }
.member p { margin: 0 0 4px; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--gold) 0%, #e8bf4f 100%); padding: 48px 0; }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.cta-in h2 { margin-bottom: .2em; color: var(--g9); }
.cta-in p { margin: 0; color: #3d3005; max-width: 620px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; flex: none; }
.cta-band .btn-gold { background: var(--g8); color: #fff; box-shadow: none; }
.cta-band .btn-gold:hover { background: var(--g9); color: #fff; }
.cta-band .btn-ghost-light { border-color: var(--g8); color: var(--g8); background: transparent; }
.cta-band .btn-ghost-light:hover { background: var(--g8); color: #fff; }

/* Footer */
.site-footer { background: var(--g9); color: #b9d2c6; padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 36px; padding-bottom: 44px; }
.site-footer h3 { color: #fff; font-size: 1.05rem; margin-bottom: 16px; }
.f-about p { margin: 18px 0; font-size: .95rem; }
.f-links, .f-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.f-links a, .f-contact a { color: #b9d2c6; }
.f-links a:hover, .f-contact a:hover { color: var(--gold); }
.f-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; word-break: break-word; }
.f-contact .ic { color: var(--gold); margin-top: 4px; }
.f-social { display: flex; gap: 10px; }
.f-social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #fff; }
.f-social a:hover { background: var(--gold); color: var(--g9); }
.f-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 18px 0; font-size: .88rem; }
.f-bottom-in { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.f-bottom a { color: #b9d2c6; }

.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #1fa855; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(31, 168, 85, .7); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-float .ic { width: 30px; height: 30px; }

.notfound .big-404 { font-family: var(--serif); font-size: clamp(5rem, 16vw, 9rem); color: var(--gold); line-height: 1; margin: 0 0 10px; font-weight: 800; }

/* Reveal animation */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .ticker-move { animation: none; }
  * { transition: none !important; }
}

/* Responsive */
@media (max-width: 1140px) {
  .site-nav > ul > li > a { padding: 10px 8px; font-size: .92rem; }
  .brand-text strong { font-size: 1.08rem; }
}
@media (max-width: 1024px) {
  .nav-toggle { display: inline-flex; }
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .site-nav { position: fixed; inset: 0 0 0 auto; top: 0; width: min(340px, 88vw); height: 100vh; height: 100dvh; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 86px 18px 24px; box-shadow: -20px 0 40px -20px rgba(0, 0, 0, .35); transform: translateX(105%); transition: transform .28s ease; overflow-y: auto; z-index: 49; visibility: hidden; }
  .nav-open .site-nav { transform: none; visibility: visible; }
  .nav-open .nav-toggle { position: relative; z-index: 51; }
  .nav-open .nav-toggle .i-open { display: none; }
  .nav-open .nav-toggle .i-close { display: block; }
  .nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(7, 47, 36, .45); z-index: 40; }
  .site-nav > ul { flex-direction: column; gap: 2px; }
  .site-nav > ul > li > a { padding: 13px 12px; font-size: 1rem; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 14px; min-width: 0; }
  .sub a { padding: 10px 12px; color: var(--muted); }
  .has-sub > a .chev { display: none; }
  .nav-cta { margin-top: 18px; }
  .hero-in { grid-template-columns: 1fr; }
  .hero-art { max-width: 520px; }
  .grid-4, .team-grid, .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid.big { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .principal-page { grid-template-columns: 1fr; }
  .pp-side { position: static; }
  .toppers { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .split, .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .principal-card { grid-template-columns: 1fr; text-align: center; gap: 20px; }
  .pc-photo { display: flex; justify-content: center; }
  .pc-avatar { width: 150px; height: 150px; }
  .cta-in { flex-direction: column; align-items: flex-start; }
  .hide-md { display: none !important; }
  .sec-head.row { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .hide-sm { display: none !important; }
  .header-in { min-height: 66px; }
  .brand img { width: 46px; height: 46px; }
  .brand-text strong { font-size: 1rem; }
  .brand-text small { font-size: .74rem; }
  .grid-3, .grid-4, .contact-cards, .toppers { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .m-avatar { width: 96px; height: 96px; font-size: 1.8rem; }
  .gallery-grid, .gallery-grid.big { grid-template-columns: 1fr 1fr; gap: 10px; }
  .form-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 100%; }
  .result-head { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .map iframe, .map.tall iframe { height: 320px; }
  .stats-wrap { margin-top: -40px; }
  .stat { padding: 18px 10px; }
  .stat strong { font-size: 1.3rem; }
  .tl-item { flex-direction: column; gap: 12px; }
  .ticker-label { padding: 4px 9px; }
  .pc-avatar, .pp-avatar { width: 140px; height: 140px; }
}
.nav-open .wa-float { display: none; }
@media (max-width: 600px) {
  .hero-art { max-width: 380px; margin: 0 auto; }
  .hero-lead { font-size: 1.02rem; }
  .wa-float { width: 52px; height: 52px; right: 14px; bottom: 14px; }
}

/* Board result box */
.board-box { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; background: radial-gradient(600px 240px at 100% 0%, #1b7a52, transparent 70%), linear-gradient(135deg, var(--g9), var(--g8)); color: #d7e8df; border-radius: 20px; padding: clamp(22px, 4vw, 36px); margin-bottom: 36px; box-shadow: var(--shadow); }
.board-box h2 { color: #fff; font-size: clamp(1.35rem, 2.6vw, 1.85rem); margin-bottom: .3em; }
.board-box p { margin: 0 0 .6em; }
.board-box .kicker { color: var(--gold); margin-bottom: 6px; }
.bb-icon { width: 72px; height: 72px; border-radius: 18px; background: rgba(214, 165, 42, .16); color: var(--gold); display: grid; place-items: center; }
.bb-icon .ic { width: 36px; height: 36px; }
.bb-sms { display: flex; align-items: center; gap: 8px; color: var(--gold-l); font-weight: 600; margin: 0 !important; }
.bb-actions { display: flex; flex-direction: column; gap: 10px; align-items: stretch; min-width: 210px; }
.bb-actions small { color: #9fbfb0; font-size: .8rem; text-align: center; }
.section.pb0 { padding-bottom: 0; }
.board-box.compact { margin-bottom: 0; }
.results-title { font-size: 1.6rem; margin: 8px 0 20px; }
@media (max-width: 820px) {
  .board-box { grid-template-columns: 1fr; text-align: left; }
  .bb-icon { width: 56px; height: 56px; }
  .bb-actions { min-width: 0; }
}

/* Principal portrait */
.pp-frame { position: relative; width: 100%; max-width: 250px; margin: 0 auto 26px; }
.pp-frame::before { content: ""; position: absolute; inset: 16px -16px -16px 16px; border: 3px solid var(--gold); border-radius: 24px; z-index: 0; }
.pp-frame::after { content: ""; position: absolute; width: 72px; height: 72px; left: -14px; top: -14px; z-index: 0; border-radius: 16px; background-image: radial-gradient(var(--g6) 1.6px, transparent 1.8px); background-size: 12px 12px; opacity: .45; }
.pp-frame img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border-radius: 20px; border: 6px solid #fff; box-shadow: 0 22px 44px -18px rgba(7, 47, 36, .55); background: var(--g0); }
.pp-badge { position: absolute; z-index: 2; left: 50%; bottom: -14px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; background: linear-gradient(135deg, var(--g8), var(--g7)); color: #fff; border: 2px solid var(--gold); padding: 6px 16px 6px 12px; border-radius: 999px; font-weight: 700; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; box-shadow: 0 8px 18px -8px rgba(0, 0, 0, .4); }
.pp-badge .ic { width: 14px; height: 14px; color: var(--gold); fill: var(--gold); }
.principal-card { grid-template-columns: 270px 1fr; }
.pp-side .pp-frame { max-width: 220px; margin-top: 6px; margin-bottom: 30px; }
@media (max-width: 820px) {
  .principal-card { grid-template-columns: 1fr; }
  .pc-photo .pp-frame { max-width: 220px; }
}
