/* =========================================================
   Dayanand International Public School, Nala (Gharota)
   Combined stylesheet — light theme (Laravel CMS edition)
   ========================================================= */

:root {
  --blue: #1b56b0;
  --blue-d: #134592;
  --blue-dd: #0e3574;
  --blue-l: #e9f0fb;
  --blue-ll: #f4f7fd;
  --red: #d42a2f;
  --red-d: #b21f24;
  --saffron: #f37a1f;
  --saffron-d: #dd6610;
  --gold: #f6b40e;
  --green: #1c9a52;
  --wa: #25d366;
  --ink: #16233f;
  --text: #4a5670;
  --muted: #7b869b;
  --line: #e2e8f2;
  --white: #ffffff;
  --cream: #fff8f0;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(19, 69, 146, .09);
  --shadow-lg: 0 22px 50px rgba(19, 69, 146, .16);
  --ff-head: "Playfair Display", Georgia, "Times New Roman", serif;
  --ff-body: "Poppins", "Segoe UI", Roboto, Arial, sans-serif;
  --container: 1200px;
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--red); }
h1, h2, h3, h4, h5 { color: var(--ink); line-height: 1.25; margin: 0 0 .6em; font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.ic { width: 1em; height: 1em; flex-shrink: 0; vertical-align: -0.14em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.hi-text { color: var(--red); }
.devanagari { font-family: "Poppins", "Noto Sans Devanagari", "Mangal", sans-serif; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 26px; border-radius: 50px; border: 2px solid transparent;
  font-weight: 600; font-size: 14.5px; line-height: 1.2; cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn .ic { width: 17px; height: 17px; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(27, 86, 176, .28); }
.btn-primary:hover { background: var(--blue-d); color: #fff; }
.btn-saffron { background: var(--saffron); color: #fff; box-shadow: 0 8px 20px rgba(243, 122, 31, .3); }
.btn-saffron:hover { background: var(--saffron-d); color: #fff; }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(212, 42, 47, .25); }
.btn-red:hover { background: var(--red-d); color: #fff; }
.btn-outline-white { border-color: rgba(255, 255, 255, .85); color: #fff; }
.btn-outline-white:hover { background: #fff; color: var(--blue); }
.btn-outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-white { background: #fff; color: var(--blue); }
.btn-white:hover { color: var(--red); }
.btn-sm { padding: 9px 18px; font-size: 13.5px; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #1fb457; color: #fff; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14.5px; }
.link-arrow .ic { transition: transform .2s; }
.link-arrow:hover .ic { transform: translateX(4px); }

/* ---------- Top bar ---------- */
.topbar { background: var(--blue-dd); color: #dfe8f8; font-size: 13px; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 42px; flex-wrap: wrap; }
.tb-left, .tb-right { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar b { color: #fff; font-weight: 600; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 7px; color: #dfe8f8; }
.topbar a:hover { color: var(--gold); }
.topbar .ic { color: var(--gold); }
.tb-md { background: var(--saffron); color: #fff !important; padding: 5px 14px; border-radius: 30px; font-weight: 600; }
.tb-md:hover { background: var(--red); }
.tb-social { display: flex; gap: 8px; }
.tb-social a { width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 255, 255, .1); justify-content: center; }
.tb-social a:hover { background: var(--saffron); }
.tb-social .ic { color: #fff; width: 14px; height: 14px; }

/* ---------- Header ---------- */
.site-header { background: #fff; position: relative; z-index: 60; }
.hdr-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 20px; }
.brand { display: flex; align-items: center; gap: 14px; color: var(--ink); }
.brand img { width: 84px; height: auto; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.15; }
.brand-txt strong { font-family: var(--ff-body); font-size: 30px; font-weight: 800; color: var(--red); letter-spacing: .02em; text-transform: uppercase; }
.brand-txt em { font-style: normal; font-size: 16.5px; font-weight: 700; color: var(--blue-d); text-transform: uppercase; letter-spacing: .03em; }
.brand-txt small { font-size: 12.5px; color: var(--muted); margin-top: 5px; font-weight: 500; white-space: nowrap; }
.brand:hover { color: var(--ink); }
.hdr-info { display: flex; align-items: center; gap: 26px; }
.hi { display: flex; align-items: center; gap: 12px; }
.hi-ic { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-l); color: var(--blue); }
.hi-ic .ic { width: 20px; height: 20px; }
.hi small { display: block; font-size: 12px; color: var(--muted); line-height: 1.3; }
.hi a, .hi span { font-weight: 600; color: var(--ink); font-size: 14.5px; line-height: 1.35; white-space: nowrap; }
.nav-toggle { display: none; background: var(--blue); color: #fff; border: 0; width: 46px; height: 46px; border-radius: 10px; cursor: pointer; place-items: center; }
.nav-toggle .ic { width: 24px; height: 24px; }

/* ---------- Main nav ---------- */
.main-nav { background: var(--blue); position: sticky; top: 0; z-index: 90; box-shadow: 0 4px 18px rgba(14, 53, 116, .12); }
.main-nav.scrolled { box-shadow: 0 8px 26px rgba(14, 53, 116, .25); }
.menu { list-style: none; display: flex; align-items: stretch; justify-content: center; flex-wrap: wrap; }
.menu > li { position: relative; }
.menu > li > a, .menu > li > .sub-btn {
  display: flex; align-items: center; gap: 6px; height: 54px; padding: 0 17px;
  color: #fff; font-weight: 500; font-size: 14.5px; letter-spacing: .01em; background: none; border: 0; cursor: pointer;
  position: relative;
}
.menu > li > a::after, .menu > li > .sub-btn::after {
  content: ""; position: absolute; left: 17px; right: 17px; bottom: 0; height: 3px; background: var(--gold);
  transform: scaleX(0); transition: transform .25s; border-radius: 3px 3px 0 0;
}
.menu > li:hover > a::after, .menu > li:hover > .sub-btn::after,
.menu > li.active > a::after, .menu > li.active > .sub-btn::after { transform: scaleX(1); }
.menu > li:hover > a, .menu > li:hover > .sub-btn, .menu > li.active > a, .menu > li.active > .sub-btn { background: rgba(255, 255, 255, .08); color: #fff; }
.menu .caret { width: 14px; height: 14px; transition: transform .25s; }
.menu > li:hover .caret { transform: rotate(180deg); }
.submenu {
  list-style: none; position: absolute; top: 100%; left: 0; min-width: 230px; background: #fff;
  border-radius: 0 0 12px 12px; box-shadow: var(--shadow-lg); padding: 8px 0; border-top: 3px solid var(--saffron);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s;
}
.menu > li:hover > .submenu, .menu > li:focus-within > .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu a { display: flex; align-items: center; gap: 8px; padding: 10px 20px; color: var(--ink); font-size: 14px; font-weight: 500; }
.submenu a .ic { width: 14px; height: 14px; color: var(--saffron); transition: transform .2s; }
.submenu a:hover, .submenu a.current { background: var(--blue-ll); color: var(--blue); }
.submenu a:hover .ic { transform: translateX(3px); }
.nav-head, .nav-foot { display: none; }
.nav-backdrop { display: none; }

/* ---------- Ticker ---------- */
.ticker { background: #fff; border-bottom: 1px solid var(--line); }
.ticker-in { display: flex; align-items: center; gap: 14px; height: 46px; overflow: hidden; }
.tk-label {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 7px; background: var(--red); color: #fff;
  font-weight: 600; font-size: 13px; padding: 6px 16px; border-radius: 30px; text-transform: uppercase; letter-spacing: .04em;
}
.tk-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); }
.tk-move { display: inline-flex; gap: 48px; white-space: nowrap; animation: ticker 45s linear infinite; padding-left: 20px; }
.tk-move a, .tk-move span { color: var(--ink); font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; gap: 9px; }
.tk-move .ic { color: var(--saffron); width: 12px; height: 12px; }
.tk-move a:hover { color: var(--red); }
.ticker:hover .tk-move { animation-play-state: paused; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Hero slider ---------- */
.hero { position: relative; height: clamp(480px, 80vh, 690px); overflow: hidden; background: var(--blue-l); }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.1s ease, visibility 1.1s; }
.slide.active { opacity: 1; visibility: visible; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); transition: transform 7.5s ease-out; }
.slide.active img { transform: scale(1); }
.slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(95deg, rgba(14, 53, 116, .82) 0%, rgba(19, 69, 146, .55) 42%, rgba(19, 69, 146, 0) 78%);
}
.slide-cap { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; }
.slide-cap .container { width: 100%; }
.cap-box { max-width: 640px; color: #fff; }
.cap-box > * { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.slide.active .cap-box > * { opacity: 1; transform: none; }
.slide.active .cap-box > *:nth-child(2) { transition-delay: .15s; }
.slide.active .cap-box > *:nth-child(3) { transition-delay: .3s; }
.slide.active .cap-box > *:nth-child(4) { transition-delay: .45s; }
.cap-tag {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .35);
  padding: 7px 16px; border-radius: 40px; font-size: 13px; font-weight: 500; backdrop-filter: blur(4px); margin-bottom: 18px;
}
.cap-tag .ic { color: var(--gold); }
.cap-box h1, .cap-box h2 { font-family: var(--ff-head); color: #fff; font-size: clamp(32px, 4.6vw, 58px); line-height: 1.12; margin-bottom: 18px; }
.cap-box h1 span, .cap-box h2 span { color: var(--gold); }
.cap-box p { font-size: clamp(15px, 1.4vw, 17.5px); color: #e8effb; max-width: 540px; margin-bottom: 30px; }
.cap-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 50px; height: 50px; border-radius: 50%;
  background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .4); color: #fff; display: grid; place-items: center; cursor: pointer;
  transition: background .2s;
}
.hero-arrow:hover { background: var(--saffron); border-color: var(--saffron); }
.hero-arrow .ic { width: 22px; height: 22px; }
.hero-arrow.prev { left: 22px; }
.hero-arrow.next { right: 22px; }
.hero-dots { position: absolute; bottom: 96px; left: 0; right: 0; z-index: 5; display: flex; justify-content: center; gap: 10px; }
.hero-dots button { width: 12px; height: 12px; border-radius: 20px; border: 2px solid #fff; background: transparent; cursor: pointer; padding: 0; transition: all .3s; }
.hero-dots button.active { width: 34px; background: var(--gold); border-color: var(--gold); }

/* ---------- Quick info cards ---------- */
.quick { position: relative; z-index: 6; margin-top: -72px; }
.quick-grid { display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.q-item { padding: 28px 24px; display: flex; gap: 16px; align-items: flex-start; border-right: 1px solid var(--line); transition: background .25s; }
.q-item:last-child { border-right: 0; }
.q-item:hover { background: var(--blue-ll); }
.q-ic { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0; color: #fff; }
.q-ic .ic { width: 26px; height: 26px; }
.q-item h3 { font-size: 16.5px; margin-bottom: 4px; }
.q-item p { font-size: 13.5px; margin: 0; line-height: 1.55; }
.bg-blue { background: var(--blue); } .bg-red { background: var(--red); } .bg-saffron { background: var(--saffron); } .bg-green { background: var(--green); } .bg-gold { background: var(--gold); }

/* ---------- Sections ---------- */
.section { padding: 70px 0; position: relative; }
.section-sm { padding: 50px 0; }
.section-alt { background: var(--blue-ll); }
.section-cream { background: var(--cream); }
.sec-head { text-align: center; max-width: 740px; margin: 0 auto 38px; }
.sec-head.left { text-align: left; margin-left: 0; margin-bottom: 20px; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px; color: var(--red); font-weight: 600; font-size: 13px;
  letter-spacing: .14em; text-transform: uppercase; margin-bottom: 10px;
}
.kicker .ic { color: var(--saffron); width: 16px; height: 16px; }
.sec-title { font-family: var(--ff-head); font-size: clamp(28px, 3.3vw, 42px); color: var(--blue-dd); margin-bottom: 12px; }
.sec-title span { color: var(--red); }
.divider { display: flex; gap: 5px; justify-content: center; margin: 0 0 14px; }
.sec-head.left .divider { justify-content: flex-start; }
.divider i { display: block; height: 4px; border-radius: 4px; }
.divider i:nth-child(1) { width: 34px; background: var(--saffron); }
.divider i:nth-child(2) { width: 12px; background: var(--red); }
.divider i:nth-child(3) { width: 34px; background: var(--blue); }
.lead { font-size: 16.5px; color: var(--text); }

/* ---------- About (home) ---------- */
.about-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 48px; align-items: center; }
.about-media { position: relative; padding: 0 34px 46px 0; }
.about-media .am-main { border-radius: 18px; box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.about-media .am-small {
  position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 4/3; object-fit: cover; border-radius: 16px;
  border: 7px solid #fff; box-shadow: var(--shadow-lg);
}
.about-media::before {
  content: ""; position: absolute; left: -22px; top: -22px; width: 130px; height: 130px; z-index: -1;
  background-image: radial-gradient(var(--saffron) 2px, transparent 2.5px); background-size: 16px 16px; opacity: .45;
}
.am-badge {
  position: absolute; left: -18px; bottom: 30px; background: var(--red); color: #fff; border-radius: 16px; padding: 16px 20px;
  box-shadow: 0 14px 30px rgba(212, 42, 47, .35); text-align: center; line-height: 1.2;
}
.am-badge strong { display: block; font-size: 22px; font-weight: 700; letter-spacing: .02em; }
.am-badge small { font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; opacity: .9; }
.check-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 22px; margin: 16px 0 24px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; color: var(--ink); font-size: 14.5px; line-height: 1.5; }
.check-list .ic { color: #fff; background: var(--green); border-radius: 50%; padding: 4px; width: 22px; height: 22px; margin-top: 1px; }
.check-list.one { grid-template-columns: 1fr; }
.about-actions { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.call-box { display: flex; gap: 12px; align-items: center; }
.call-box .cb-ic { width: 50px; height: 50px; border-radius: 50%; background: var(--blue-l); color: var(--blue); display: grid; place-items: center; }
.call-box small { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.2; }
.call-box a { font-weight: 700; font-size: 17px; color: var(--ink); }

/* ---------- Motto / values band ---------- */
.motto { background: linear-gradient(120deg, #fff4e8 0%, #fffaf3 50%, #eef4fd 100%); padding: 60px 0; position: relative; overflow: hidden; }
.motto::before {
  content: "ओ३म्"; position: absolute; right: -20px; top: 50%; transform: translateY(-50%); font-size: 260px; font-weight: 700;
  color: rgba(243, 122, 31, .07); line-height: 1; pointer-events: none;
}
.motto-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 50px; align-items: center; position: relative; }
.motto-txt .m-hindi { font-size: clamp(34px, 4vw, 50px); font-weight: 700; color: var(--red); line-height: 1.3; margin: 6px 0 8px; }
.motto-txt .m-eng { font-size: 17px; color: var(--blue-dd); font-weight: 600; font-style: italic; margin-bottom: 14px; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.value { background: #fff; border-radius: var(--radius); padding: 26px 18px; text-align: center; box-shadow: var(--shadow); border-bottom: 4px solid var(--c, var(--blue)); transition: transform .25s; }
.value:hover { transform: translateY(-6px); }
.value .v-ic { width: 58px; height: 58px; border-radius: 50%; margin: 0 auto 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--c, var(--blue)) 12%, #fff); color: var(--c, var(--blue)); }
.value .v-ic .ic { width: 26px; height: 26px; }
.value h3 { font-size: 17px; margin-bottom: 6px; }
.value p { font-size: 13.5px; line-height: 1.6; margin: 0; }

/* ---------- Counters ---------- */
.counters { background: linear-gradient(120deg, var(--blue-d), var(--blue)); position: relative; overflow: hidden; padding: 54px 0; color: #fff; }
.counters::before, .counters::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .06); }
.counters::before { width: 380px; height: 380px; left: -120px; top: -160px; }
.counters::after { width: 300px; height: 300px; right: -80px; bottom: -150px; }
.count-grid { display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); gap: 24px; position: relative; z-index: 1; }
.count { text-align: center; padding: 10px; }
.count .c-ic { width: 70px; height: 70px; margin: 0 auto 14px; border-radius: 50%; border: 2px dashed rgba(255, 255, 255, .45); display: grid; place-items: center; color: var(--gold); }
.count .c-ic .ic { width: 30px; height: 30px; }
.count .num { font-size: clamp(34px, 3.6vw, 46px); font-weight: 700; line-height: 1.1; color: #fff; }
.count .num sup { font-size: .5em; color: var(--gold); top: -.7em; margin-left: 2px; }
.count p { margin: 6px 0 0; color: #d9e5fb; font-weight: 500; font-size: 14.5px; }

/* ---------- Principal message ---------- */
.principal { display: grid; grid-template-columns: 360px 1fr; gap: 44px; align-items: center; }
.pr-card { background: linear-gradient(160deg, var(--blue), var(--blue-dd)); border-radius: 22px; padding: 42px 30px 34px; text-align: center; color: #fff; position: relative; box-shadow: var(--shadow-lg); overflow: hidden; }
.pr-card::before { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: rgba(255, 255, 255, .07); top: -100px; right: -90px; }
.pr-photo { width: 190px; height: 190px; border-radius: 50%; margin: 0 auto 20px; background: #fff; display: grid; place-items: center; border: 6px solid rgba(255, 255, 255, .25); position: relative; overflow: hidden; }
.pr-photo img { width: 82%; height: auto; }
.pr-card h3 { color: #fff; font-size: 21px; margin-bottom: 2px; }
.pr-card p { color: #d6e2f8; margin: 0; font-size: 14px; }
.pr-msg { position: relative; }
.pr-msg .quote-ic { width: 60px; height: 60px; color: var(--saffron); opacity: .25; position: absolute; top: -12px; left: -8px; }
.pr-msg blockquote { margin: 0 0 20px; font-size: 16.5px; color: var(--text); position: relative; }
.pr-msg blockquote p:first-child::first-letter { font-family: var(--ff-head); font-size: 3.1em; float: left; line-height: .9; margin: 6px 10px 0 0; color: var(--red); }
.sign { font-family: var(--ff-head); font-style: italic; font-size: 22px; color: var(--blue-dd); margin-bottom: 0; }
.sign small { display: block; font-family: var(--ff-body); font-style: normal; font-size: 13.5px; color: var(--muted); }

/* ---------- Program / card grids ---------- */
.grid-2 > *, .grid-3 > *, .grid-4 > *, .split > *, .about-grid > *, .fac-wrap > *, .video-grid > *, .news-wrap > *, .motto-grid > *, .principal > *, .feature-row > * { min-width: 0; }
.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: 24px; }
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: transform .3s, box-shadow .3s; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.card-img { position: relative; overflow: hidden; aspect-ratio: 16/11; background: var(--blue-l); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card:hover .card-img img { transform: scale(1.07); }
.card-tag { position: absolute; left: 16px; top: 16px; background: var(--saffron); color: #fff; font-size: 12px; font-weight: 600; padding: 5px 13px; border-radius: 30px; letter-spacing: .03em; }
.card-tag.blue { background: var(--blue); }
.card-tag.red { background: var(--red); }
.card-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 18.5px; margin-bottom: 8px; }
.card-body h3 a { color: var(--ink); }
.card-body h3 a:hover { color: var(--blue); }
.card-body p { font-size: 14.5px; line-height: 1.7; }
.card-body .link-arrow { margin-top: auto; }
.card-meta { display: flex; gap: 16px; font-size: 13px; color: var(--muted); margin-bottom: 10px; flex-wrap: wrap; }
.card-meta span { display: inline-flex; align-items: center; gap: 6px; }
.card-meta .ic { color: var(--saffron); }
.icon-head { aspect-ratio: 16/11; display: grid; place-items: center; position: relative; overflow: hidden; color: #fff; background: linear-gradient(135deg, var(--c1, var(--blue)), var(--c2, var(--blue-dd))); }
.icon-head .ic { width: 76px; height: 76px; opacity: .95; position: relative; z-index: 1; stroke-width: 1.5; }
.icon-head::before { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; background: rgba(255, 255, 255, .1); right: -60px; top: -80px; }
.icon-head::after { content: ""; position: absolute; width: 140px; height: 140px; border-radius: 50%; background: rgba(255, 255, 255, .08); left: -40px; bottom: -60px; }

/* program stage cards */
.stage { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 360px; display: flex; align-items: flex-end; color: #fff; box-shadow: var(--shadow); }
.stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 53, 116, 0) 30%, rgba(14, 53, 116, .92) 100%); }
.stage:hover img { transform: scale(1.08); }
.stage-body { position: relative; z-index: 2; padding: 24px; }
.stage-body .grade { display: inline-block; background: var(--gold); color: var(--ink); font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 20px; margin-bottom: 10px; }
.stage-body h3 { color: #fff; font-size: 21px; margin-bottom: 6px; }
.stage-body p { color: #e3ebfa; font-size: 14px; margin: 0; line-height: 1.6; }

/* ---------- Facilities icon tiles ---------- */
.fac-wrap { display: grid; grid-template-columns: 1fr 1.25fr; gap: 40px; align-items: center; }
.fac-img { position: relative; }
.fac-img img { border-radius: 18px; box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4/4.2; object-fit: cover; }
.fac-img .fi-badge { position: absolute; right: -16px; top: 30px; background: #fff; border-radius: 14px; padding: 14px 18px; box-shadow: var(--shadow-lg); display: flex; gap: 12px; align-items: center; }
.fi-badge .ic { width: 34px; height: 34px; color: var(--saffron); }
.fi-badge strong { display: block; font-size: 22px; color: var(--blue-dd); line-height: 1.1; }
.fi-badge small { font-size: 12.5px; color: var(--muted); }
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.tile { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); transition: all .25s; }
.tile:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-3px); }
.tile .t-ic { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; background: var(--blue-l); color: var(--blue); transition: all .25s; }
.tile:hover .t-ic { background: var(--blue); color: #fff; }
.tile .t-ic .ic { width: 23px; height: 23px; }
.tile h4 { margin: 0 0 3px; font-size: 15.5px; }
.tile p { margin: 0; font-size: 13.5px; line-height: 1.55; }

/* ---------- Video ---------- */
.video-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.video-box { position: relative; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 16/9; background: var(--blue-dd); cursor: pointer; }
.video-box img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.video-box:hover img { transform: scale(1.05); }
.video-box::after { content: ""; position: absolute; inset: 0; background: rgba(14, 53, 116, .35); transition: background .3s; }
.video-box:hover::after { background: rgba(14, 53, 116, .2); }
.video-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 3; }
.play-btn { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2; width: 86px; height: 86px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; border: 0; cursor: pointer; }
.play-btn .ic { width: 32px; height: 32px; margin-left: 5px; fill: currentColor; }
.play-btn::before, .play-btn::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .7); animation: pulse 2.2s infinite; }
.play-btn::after { animation-delay: 1.1s; }
@keyframes pulse { from { transform: scale(1); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }
.video-label { position: absolute; left: 18px; bottom: 16px; z-index: 2; color: #fff; font-weight: 600; font-size: 14px; display: flex; align-items: center; gap: 8px; }

/* ---------- News & notice ---------- */
.news-wrap { display: grid; grid-template-columns: 2fr 1fr; gap: 30px; align-items: start; }
.news-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.notice { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.notice-head { background: var(--red); color: #fff; padding: 16px 22px; display: flex; align-items: center; gap: 10px; }
.notice-head h3 { color: #fff; margin: 0; font-size: 18px; }
.notice-head .ic { width: 22px; height: 22px; }
.notice-list { list-style: none; height: 380px; overflow: hidden; position: relative; }
.notice-list .nl-move { animation: noticeUp 26s linear infinite; }
.notice-list:hover .nl-move { animation-play-state: paused; }
@keyframes noticeUp { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.notice-list li { display: flex; gap: 14px; padding: 16px 22px; border-bottom: 1px dashed var(--line); list-style: none; }
.n-date { flex-shrink: 0; width: 54px; text-align: center; background: var(--blue-l); border-radius: 10px; padding: 6px 0; line-height: 1.15; }
.n-date b { display: block; font-size: 18px; color: var(--blue); }
.n-date small { font-size: 11px; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.notice-list h4 { font-size: 14.5px; margin: 0 0 3px; line-height: 1.4; }
.notice-list p { font-size: 13px; margin: 0; line-height: 1.5; }
.notice-foot { padding: 14px 22px; text-align: center; border-top: 1px solid var(--line); }

/* ---------- Gallery ---------- */
.g-filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.g-filters button { border: 1.5px solid var(--line); background: #fff; padding: 9px 20px; border-radius: 40px; font-weight: 500; font-size: 14px; cursor: pointer; color: var(--ink); transition: all .2s; }
.g-filters button:hover { border-color: var(--blue); color: var(--blue); }
.g-filters button.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery.home-g { grid-auto-rows: 200px; grid-auto-flow: dense; }
.gallery.g5 { grid-template-columns: repeat(5, 1fr); gap: 14px; }
.home-g .g-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.home-g .g-item:nth-child(6) { grid-column: span 2; }
.g-item { margin: 0; position: relative; overflow: hidden; border-radius: 12px; cursor: zoom-in; background: var(--blue-l); aspect-ratio: 4/3; }
.home-g .g-item { aspect-ratio: auto; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.g-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(14, 53, 116, .85)); opacity: 0; transition: opacity .3s; }
.g-item:hover img { transform: scale(1.08); }
.g-item:hover::after { opacity: 1; }
.g-cap { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 2; color: #fff; font-size: 14px; font-weight: 600; line-height: 1.35; display: flex; align-items: center; gap: 8px; opacity: 0; transform: translateY(10px); transition: all .3s; }
.g-item:hover .g-cap { opacity: 1; transform: none; }
.g-item.hide { display: none; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 999; background: rgba(8, 26, 60, .93); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all .3s; padding: 60px 70px; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox figure { margin: 0; max-width: 1100px; width: 100%; text-align: center; }
.lightbox img { max-height: 78vh; margin: 0 auto; border-radius: 10px; box-shadow: 0 20px 60px rgba(0, 0, 0, .4); }
.lightbox figcaption { color: #fff; margin-top: 14px; font-weight: 500; }
.lb-btn { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .15); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .2s; }
.lb-btn:hover { background: var(--saffron); }
.lb-btn .ic { width: 24px; height: 24px; }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }

/* ---------- CTA band ---------- */
.cta { position: relative; padding: 56px 0; color: #fff; overflow: hidden; background-color: var(--saffron); background-position: center; background-size: cover; }
.cta::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(221, 102, 16, .95) 0%, rgba(212, 42, 47, .88) 100%); }
.cta .container { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.cta h2 { color: #fff; font-family: var(--ff-head); font-size: clamp(26px, 3vw, 40px); margin-bottom: 8px; }
.cta p { margin: 0; color: #fff3e6; font-size: 16.5px; max-width: 640px; }
.cta-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Page banner ---------- */
.page-banner { position: relative; padding: 72px 0 70px; color: #fff; overflow: hidden; background: var(--blue-d); }
.page-banner .pb-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-banner::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, rgba(14, 53, 116, .92) 0%, rgba(27, 86, 176, .72) 60%, rgba(27, 86, 176, .45) 100%); }
.page-banner::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; z-index: 2; background: linear-gradient(90deg, var(--saffron) 0 33.3%, #fff 33.3% 66.6%, var(--green) 66.6%); }
.page-banner .container { position: relative; z-index: 2; }
.page-banner h1 { font-family: var(--ff-head); color: #fff; font-size: clamp(32px, 4.4vw, 52px); margin-bottom: 12px; }
.page-banner p { color: #e3ebfa; max-width: 620px; margin-bottom: 18px; font-size: 16px; }
.crumbs { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; list-style: none; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25); padding: 7px 18px; border-radius: 40px; font-size: 14px; }
.crumbs a { color: #fff; display: inline-flex; align-items: center; gap: 6px; }
.crumbs a:hover { color: var(--gold); }
.crumbs li { display: inline-flex; align-items: center; gap: 8px; }
.crumbs li + li::before { content: "›"; color: var(--gold); font-weight: 700; }
.crumbs li:last-child { color: var(--gold); font-weight: 500; }

/* ---------- Generic content blocks ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.split.rev > :first-child { order: 2; }
.split-img { border-radius: 18px; box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.info-card { background: #fff; border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow); border-top: 4px solid var(--c, var(--blue)); height: 100%; transition: transform .25s; }
.info-card:hover { transform: translateY(-6px); }
.info-card .ic-circle { width: 62px; height: 62px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px; background: color-mix(in srgb, var(--c, var(--blue)) 12%, #fff); color: var(--c, var(--blue)); }
.info-card .ic-circle .ic { width: 28px; height: 28px; }
.info-card h3 { font-size: 19px; }
.info-card p:last-child, .info-card ul:last-child { margin-bottom: 0; }
.bullets { list-style: none; display: grid; gap: 9px; }
.bullets li { position: relative; padding-left: 24px; font-size: 14.5px; line-height: 1.6; }
.bullets li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 9px; height: 9px; border-radius: 50%; background: var(--saffron); box-shadow: 0 0 0 3px rgba(243, 122, 31, .18); }
.note { background: var(--cream); border-left: 4px solid var(--saffron); padding: 16px 20px; border-radius: 0 10px 10px 0; font-size: 14.5px; color: var(--ink); }
.note .ic { color: var(--saffron); margin-right: 6px; }

/* Stats glance */
.glance { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gl { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px; text-align: center; transition: all .25s; }
.gl:hover { box-shadow: var(--shadow); border-color: transparent; transform: translateY(-4px); }
.gl .ic { width: 34px; height: 34px; color: var(--saffron); margin-bottom: 8px; }
.gl strong { display: block; font-size: 26px; color: var(--blue-dd); line-height: 1.2; }
.gl span { font-size: 13.5px; color: var(--muted); font-weight: 500; }

/* Houses */
.houses { display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); gap: 20px; }
.house { border-radius: var(--radius); padding: 28px 20px; text-align: center; color: #fff; background: var(--c); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.house::after { content: ""; position: absolute; width: 150px; height: 150px; border-radius: 50%; background: rgba(255, 255, 255, .12); right: -50px; top: -50px; }
.house .ic { width: 40px; height: 40px; margin-bottom: 10px; }
.house h3 { color: #fff; font-size: 19px; margin-bottom: 4px; }
.house p { margin: 0; font-size: 13.5px; opacity: .92; line-height: 1.55; }

/* Timeline (admission steps) */
.steps { display: grid; grid-template-columns: repeat(var(--n, 5), 1fr); gap: 18px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; left: 10%; right: 10%; top: 36px; height: 2px; background: repeating-linear-gradient(90deg, var(--saffron) 0 10px, transparent 10px 18px); }
.step { text-align: center; position: relative; }
.step .s-num { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center; background: #fff; border: 3px solid var(--blue); color: var(--blue); position: relative; z-index: 1; box-shadow: 0 0 0 7px var(--blue-ll); transition: all .25s; }
.step:hover .s-num { background: var(--blue); color: #fff; }
.step .s-num .ic { width: 28px; height: 28px; }
.step .s-num::after { counter-increment: step; content: counter(step); position: absolute; right: -6px; top: -6px; width: 26px; height: 26px; border-radius: 50%; background: var(--saffron); color: #fff; font-size: 13px; font-weight: 700; display: grid; place-items: center; }
.step h4 { margin-bottom: 6px; }
.step p { font-size: 13.5px; line-height: 1.6; margin: 0; }

/* Tables */
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); background: #fff; margin-bottom: 36px; -webkit-overflow-scrolling: touch; }
.table-wrap:last-child { margin-bottom: 0; }
.dtable { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.dtable.wide { min-width: 660px; }
.dtable caption { caption-side: top; text-align: left; padding: 16px 22px; background: var(--blue); color: #fff; font-weight: 600; font-size: 16px; letter-spacing: .01em; }
.dtable caption .ic { color: var(--gold); margin-right: 8px; }
.dtable td { overflow-wrap: anywhere; }
.dtable th, .dtable td { padding: 13px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.55; }
.dtable thead th { background: var(--blue-l); color: var(--blue-dd); font-weight: 600; font-size: 13.5px; text-transform: uppercase; letter-spacing: .04em; }
.dtable tbody tr:nth-child(even) { background: #fafcff; }
.dtable tbody tr:hover { background: var(--cream); }
.dtable td:first-child { width: 70px; color: var(--muted); font-weight: 600; }
.dtable td.val { color: var(--ink); font-weight: 500; }
.dtable .pending { color: var(--muted); font-style: italic; font-weight: 400; }
.doc-link { display: inline-flex; align-items: center; gap: 7px; background: var(--blue-l); color: var(--blue); padding: 6px 14px; border-radius: 30px; font-weight: 600; font-size: 13px; white-space: nowrap; }
.doc-link:hover { background: var(--blue); color: #fff; }
.doc-link.yt { background: #fdecec; color: var(--red); }
.doc-link.yt:hover { background: var(--red); color: #fff; }

/* Team */
.team-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); text-align: center; padding: 34px 22px 26px; position: relative; overflow: hidden; transition: transform .25s; }
.team-card:hover { transform: translateY(-6px); }
.team-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 88px; background: linear-gradient(120deg, var(--blue), var(--blue-dd)); }
.t-avatar { width: 116px; height: 116px; border-radius: 50%; margin: 0 auto 16px; position: relative; background: var(--blue-l); border: 5px solid #fff; box-shadow: var(--shadow); display: grid; place-items: center; color: var(--blue); overflow: hidden; }
.t-avatar .ic { width: 48px; height: 48px; }
.t-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { font-size: 18px; margin-bottom: 2px; }
.team-card .role { color: var(--red); font-weight: 600; font-size: 13.5px; margin-bottom: 10px; display: block; }
.team-card p { font-size: 13.5px; margin: 0; line-height: 1.6; }
.dept { display: flex; gap: 14px; align-items: center; background: #fff; border-radius: var(--radius-sm); padding: 18px; border: 1px solid var(--line); transition: all .25s; }
.dept:hover { box-shadow: var(--shadow); border-color: transparent; }
.dept .t-ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; color: #fff; background: var(--c, var(--blue)); }
.dept .t-ic .ic { width: 22px; height: 22px; }
.dept h4 { margin: 0; font-size: 15px; }
.dept p { margin: 0; font-size: 13px; line-height: 1.5; }

/* Planner */
.planner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.month { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: transform .25s; }
.month:hover { transform: translateY(-5px); }
.month-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; color: #fff; background: var(--c, var(--blue)); }
.month-head h3 { color: #fff; margin: 0; font-size: 18px; }
.month-head span { font-size: 12px; background: rgba(255, 255, 255, .22); padding: 3px 10px; border-radius: 20px; font-weight: 500; }
.month ul { list-style: none; padding: 14px 20px 18px; display: grid; gap: 8px; }
.month li { display: flex; gap: 10px; font-size: 14px; line-height: 1.5; color: var(--ink); }
.month li .ic { color: var(--c, var(--blue)); margin-top: 4px; width: 14px; height: 14px; }

/* Forms */
.form-card { background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); padding: 38px 34px; }
.form-card h3 { font-size: 22px; margin-bottom: 4px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 15px; background: var(--blue-ll);
  font-size: 14.5px; transition: border-color .2s, background .2s, box-shadow .2s; outline: none; color: var(--ink);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(27, 86, 176, .1); }
.field.err input, .field.err select, .field.err textarea { border-color: var(--red); }
.form-msg { margin-top: 14px; font-size: 14px; font-weight: 500; display: none; padding: 12px 16px; border-radius: 10px; }
.form-msg.ok { display: block; background: #e8f7ee; color: #146c3a; }
.form-msg.bad { display: block; background: #fdecec; color: var(--red-d); }

/* Contact */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.c-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px 26px; text-align: center; transition: transform .25s; }
.c-card:hover { transform: translateY(-6px); }
.c-card .c-ic { width: 70px; height: 70px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center; color: #fff; background: var(--c, var(--blue)); box-shadow: 0 0 0 8px color-mix(in srgb, var(--c, var(--blue)) 14%, #fff); }
.c-card .c-ic .ic { width: 28px; height: 28px; }
.c-card h3 { font-size: 19px; margin-bottom: 8px; }
.c-card p, .c-card a { font-size: 15px; margin: 0; }
.c-card a { color: var(--ink); font-weight: 500; }
.c-card a:hover { color: var(--red); }
.map-box { border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg); height: 100%; min-height: 420px; background: var(--blue-l); position: relative; }
.map-box::before { content: "Loading map…"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: 14px; }
.map-box iframe { position: relative; width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

/* Clubs */
.club .card-body h3 { display: flex; align-items: center; gap: 10px; }
.club .card-body h3 .ic { color: var(--saffron); width: 22px; height: 22px; }

/* Facility feature rows */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; margin-bottom: 56px; }
.feature-row:last-child { margin-bottom: 0; }
.feature-row.rev .fr-media { order: 2; }
.fr-media { position: relative; }
.fr-media img { border-radius: 18px; box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.fr-media .fr-tag { position: absolute; left: 20px; bottom: 20px; background: #fff; border-radius: 12px; padding: 10px 16px; box-shadow: var(--shadow); font-weight: 600; color: var(--blue-dd); display: flex; gap: 8px; align-items: center; font-size: 14px; }
.fr-media .fr-tag .ic { color: var(--saffron); }
.fr-num { font-family: var(--ff-head); font-size: 64px; font-weight: 700; line-height: 1; color: var(--blue-l); -webkit-text-stroke: 1.5px var(--blue); margin-bottom: 4px; }

/* Lab cards */
.lab { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px 24px; position: relative; overflow: hidden; transition: all .3s; }
.lab::before { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: color-mix(in srgb, var(--c) 10%, #fff); transition: transform .4s; }
.lab:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.lab:hover::before { transform: scale(2.4); }
.lab > * { position: relative; }
.lab .l-ic { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; background: var(--c); color: #fff; margin-bottom: 16px; }
.lab .l-ic .ic { width: 28px; height: 28px; }
.lab h3 { font-size: 18px; margin-bottom: 6px; }
.lab p { font-size: 14px; margin: 0; line-height: 1.65; }

/* ---------- Footer ---------- */
.site-footer { background: linear-gradient(160deg, var(--blue-d) 0%, var(--blue) 100%); color: #d9e4f8; position: relative; font-size: 14.5px; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--saffron) 0 33.3%, var(--red) 33.3% 66.6%, var(--gold) 66.6%); }
.ft-grid { display: grid; grid-template-columns: 1.35fr .9fr .9fr 1.2fr; gap: 36px; padding: 60px 20px 40px; }
.ft-brand { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.ft-brand .ft-logo { background: #fff; border-radius: 50%; padding: 6px; width: 84px; height: 84px; display: grid; place-items: center; flex-shrink: 0; }
.ft-brand strong { color: #fff; display: block; font-size: 18px; line-height: 1.25; }
.ft-brand small { color: var(--gold); font-size: 13px; }
.site-footer h4 { color: #fff; font-size: 17px; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.site-footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; background: var(--gold); border-radius: 3px; }
.ft-links { list-style: none; display: grid; gap: 9px; }
.ft-links a { color: #d9e4f8; display: inline-flex; align-items: center; gap: 8px; }
.ft-links a .ic { width: 13px; height: 13px; color: var(--gold); transition: transform .2s; }
.ft-links a:hover { color: #fff; }
.ft-links a:hover .ic { transform: translateX(3px); }
.ft-contact { list-style: none; display: grid; gap: 14px; }
.ft-contact li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.55; }
.ft-contact .ic { width: 18px; height: 18px; color: var(--gold); margin-top: 3px; }
.ft-contact a { color: #fff; }
.ft-contact a:hover { color: var(--gold); }
.ft-social { display: flex; gap: 10px; margin-top: 20px; }
.ft-social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .12); display: grid; place-items: center; color: #fff; transition: all .2s; }
.ft-social a:hover { background: var(--saffron); transform: translateY(-3px); }
.ft-social .ic { width: 18px; height: 18px; }
.ft-aff { display: inline-flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.ft-aff span { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); padding: 4px 12px; border-radius: 20px; font-size: 12.5px; color: #fff; }
.ft-bottom { border-top: 1px solid rgba(255, 255, 255, .16); padding: 18px 0; font-size: 13.5px; }
.ft-bottom .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ft-bottom a { color: var(--gold); }
.ft-bottom a:hover { color: #fff; }

/* ---------- Floating buttons ---------- */
.float-wa { position: fixed; left: 20px; bottom: 22px; z-index: 80; width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 25px rgba(37, 211, 102, .4); transition: transform .2s; }
.float-wa:hover { transform: scale(1.08); color: #fff; }
.float-wa .ic { width: 28px; height: 28px; }
.to-top { position: fixed; right: 20px; bottom: 22px; z-index: 80; width: 48px; height: 48px; border-radius: 12px; background: var(--saffron); color: #fff; border: 0; display: grid; place-items: center; cursor: pointer; box-shadow: 0 10px 25px rgba(243, 122, 31, .35); opacity: 0; visibility: hidden; transform: translateY(20px); transition: all .3s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--red); }
.to-top .ic { width: 22px; height: 22px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; } .reveal.d3 { transition-delay: .3s; } .reveal.d4 { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .tk-move, .notice-list .nl-move { animation: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
  .hdr-info .hi.hide-md { display: none; }
  .menu > li > a, .menu > li > .sub-btn { padding: 0 12px; font-size: 14px; }
  .menu > li > a::after, .menu > li > .sub-btn::after { left: 12px; right: 12px; }
}

@media (max-width: 1024px) {
  .topbar .tb-left { display: none; }
  .topbar-in { justify-content: center; }
  .site-header { position: sticky; top: 0; box-shadow: 0 4px 18px rgba(14, 53, 116, .1); }
  .hdr-in { padding: 10px 20px; }
  .brand img { width: 62px; }
  .brand-txt strong { font-size: 22px; }
  .brand-txt em { font-size: 12.5px; }
  .brand-txt small { font-size: 11px; margin-top: 3px; }
  .hdr-info { display: none; }
  .nav-toggle { display: grid; }

  .main-nav { position: fixed; top: 0; right: 0; bottom: 0; width: min(340px, 88vw); background: #fff; z-index: 200; transform: translateX(105%); transition: transform .35s ease; overflow-y: auto; box-shadow: -10px 0 40px rgba(14, 53, 116, .2); }
  .main-nav.open { transform: none; }
  .main-nav .container { padding: 0; }
  .nav-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); gap: 10px; }
  .nav-head img { width: 54px; }
  .nav-head strong { font-size: 14px; color: var(--ink); line-height: 1.3; flex: 1; }
  .nav-close { width: 40px; height: 40px; border-radius: 10px; border: 0; background: var(--blue-l); color: var(--blue); display: grid; place-items: center; cursor: pointer; }
  .nav-close .ic { width: 20px; height: 20px; }
  .menu { flex-direction: column; padding: 8px 0; }
  .menu > li { border-bottom: 1px solid var(--line); }
  .menu > li > a, .menu > li > .sub-btn { color: var(--ink); height: auto; padding: 14px 22px; width: 100%; justify-content: space-between; font-size: 15px; }
  .menu > li > a::after, .menu > li > .sub-btn::after { display: none; }
  .menu > li:hover > a, .menu > li:hover > .sub-btn { background: transparent; color: var(--ink); }
  .menu > li.active > a, .menu > li.active > .sub-btn { color: var(--blue); background: var(--blue-ll); }
  .menu > li:hover .caret { transform: none; }
  .menu > li.sub-open .caret { transform: rotate(180deg); }
  .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; border-radius: 0; padding: 0; background: var(--blue-ll); max-height: 0; overflow: hidden; transition: max-height .35s ease; }
  .menu > li.sub-open > .submenu { max-height: 400px; }
  .submenu a { padding: 11px 22px 11px 34px; }
  .nav-foot { display: grid; gap: 10px; padding: 20px 22px 30px; }
  .nav-foot a.btn { width: 100%; }
  .nav-backdrop { display: block; position: fixed; inset: 0; background: rgba(14, 53, 116, .45); z-index: 150; opacity: 0; visibility: hidden; transition: all .3s; }
  .nav-backdrop.show { opacity: 1; visibility: visible; }
  body.nav-lock { overflow: hidden; }

  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .slide::after { background: linear-gradient(90deg, rgba(14, 53, 116, .86) 0%, rgba(19, 69, 146, .6) 100%); }
  .hero-arrow { display: none; }
  .fac-img img { aspect-ratio: 16/10; }
  .about-media { max-width: 640px; }
  .q-item:nth-child(2) { border-right: 0; }
  .q-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .about-grid, .motto-grid, .fac-wrap, .video-grid, .split, .feature-row { grid-template-columns: 1fr; gap: 40px; }
  .split.rev > :first-child, .feature-row.rev .fr-media { order: 0; }
  .principal { grid-template-columns: 1fr; gap: 36px; }
  .pr-card { max-width: 420px; margin: 0 auto; width: 100%; }
  .news-wrap { grid-template-columns: 1fr; }
  .grid-4, .houses, .glance { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .planner { grid-template-columns: repeat(2, 1fr); }
  .gallery, .gallery.g5 { grid-template-columns: repeat(3, 1fr); }
  .ft-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 34px; }
  .steps::before { display: none; }
  .contact-cards { grid-template-columns: 1fr 1fr; }
  .section { padding: 60px 0; }
  .feature-row { margin-bottom: 48px; }
}

@media (max-width: 720px) {
  body { font-size: 15px; }
  .container { padding: 0 16px; }
  .hdr-in { padding: 10px 16px; }
  .brand { gap: 10px; }
  .brand img { width: 52px; }
  .brand-txt strong { font-size: 18px; }
  .brand-txt em { font-size: 10.5px; letter-spacing: .01em; }
  .brand-txt small { display: none; }
  .nav-toggle { width: 42px; height: 42px; }
  .topbar { font-size: 12px; }
  .topbar-in { min-height: 38px; gap: 10px; }
  .tb-right { gap: 12px; justify-content: center; }
  .tb-hide-sm { display: none !important; }
  .tk-label { padding: 5px 11px; font-size: 11.5px; }
  .hero { height: 600px; }
  .slide::after { background: linear-gradient(180deg, rgba(14, 53, 116, .5) 0%, rgba(14, 53, 116, .88) 70%); }
  .slide-cap { align-items: flex-end; padding-bottom: 130px; }
  .hero-arrow { display: none; }
  .hero-dots { bottom: 92px; }
  .cap-box p { margin-bottom: 22px; }
  .btn { padding: 12px 20px; font-size: 14px; }
  .quick { margin-top: -60px; }
  .quick-grid { grid-template-columns: 1fr; }
  .q-item { border-right: 0 !important; border-bottom: 1px solid var(--line); padding: 20px; }
  .q-item:last-child { border-bottom: 0; }
  .section { padding: 48px 0; }
  .sec-head { margin-bottom: 28px; }
  .about-media { padding: 0 20px 44px 0; }
  .am-badge { left: -6px; bottom: 16px; padding: 10px 14px; }
  .am-badge strong { font-size: 17px; }
  .check-list { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr 1fr; gap: 12px; }
  .value { padding: 20px 12px; }
  .count-grid { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
  .grid-2, .grid-3, .grid-4, .news-cards, .planner, .contact-cards { grid-template-columns: 1fr; }
  .houses, .glance { grid-template-columns: 1fr 1fr; gap: 12px; }
  .tiles { grid-template-columns: 1fr; }
  .gallery, .gallery.g5 { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .gallery.home-g { grid-auto-rows: 150px; }
  .g-cap { opacity: 1; transform: none; font-size: 12.5px; }
  .g-item::after { opacity: 1; }
  .fac-img .fi-badge { right: 10px; }
  .ft-grid { grid-template-columns: 1fr; gap: 34px; padding: 56px 16px 36px; }
  .ft-bottom .container { flex-direction: column; text-align: center; align-items: center; }
  .steps { grid-template-columns: 1fr 1fr; }
  .form-card { padding: 28px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .page-banner { padding: 52px 0 50px; }
  .dtable { font-size: 13.5px; }
  .dtable th, .dtable td { padding: 11px 12px; }
  .dtable td:first-child { width: 44px; }
  .dtable caption { padding: 14px 16px; font-size: 15px; }
  .lightbox { padding: 60px 12px; }
  .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; }
  .lb-prev { left: calc(50% - 60px); }
  .lb-next { right: calc(50% - 60px); }
  .cta { padding: 46px 0; }
  .fr-num { font-size: 48px; }
  .stage { min-height: 300px; }
  .principal .pr-photo { width: 150px; height: 150px; }
  .motto::before { font-size: 160px; }
  .float-wa { width: 50px; height: 50px; left: 14px; bottom: 16px; }
  .to-top { right: 14px; bottom: 16px; }
}

/* anchor offset for sticky menu */
[id] { scroll-margin-top: 80px; }

/* =========================================================
   v2 — dynamic sections, components & animations
   ========================================================= */

/* ---------- Section backgrounds ---------- */
.bg-white { background: #fff; }
.bg-alt { background: var(--blue-ll); }
.bg-cream { background: var(--cream); }
.bg-alt, .bg-cream { overflow: hidden; }
.bg-alt > .container, .bg-cream > .container { position: relative; z-index: 1; }
.bg-alt::before, .bg-alt::after, .bg-cream::before, .bg-cream::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none; z-index: 0;
  animation: blobFloat 16s ease-in-out infinite;
}
.bg-alt::before { width: 320px; height: 320px; left: -120px; top: -90px; background: radial-gradient(circle, rgba(27, 86, 176, .10), transparent 70%); }
.bg-alt::after { width: 260px; height: 260px; right: -80px; bottom: -80px; background: radial-gradient(circle, rgba(243, 122, 31, .10), transparent 70%); animation-delay: -6s; }
.bg-cream::before { width: 300px; height: 300px; right: -110px; top: -70px; background: radial-gradient(circle, rgba(243, 122, 31, .12), transparent 70%); }
.bg-cream::after { width: 240px; height: 240px; left: -70px; bottom: -90px; background: radial-gradient(circle, rgba(212, 42, 47, .08), transparent 70%); animation-delay: -8s; }
@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, 20px) scale(1.08); }
  66% { transform: translate(-20px, 30px) scale(.95); }
}

.cols-2 { grid-template-columns: repeat(2, 1fr) !important; }
.cols-3 { grid-template-columns: repeat(3, 1fr) !important; }
.cols-4 { grid-template-columns: repeat(4, 1fr) !important; }

/* ---------- Preloader ---------- */
.preloader { position: fixed; inset: 0; z-index: 2000; background: #fff; display: grid; place-items: center; transition: opacity .5s ease, visibility .5s ease; }
.preloader .pl-logo { width: 96px; height: 96px; position: relative; display: grid; place-items: center; }
.preloader img { width: 84px; height: auto; animation: plPulse 1.4s ease-in-out infinite; }
.preloader .pl-ring { position: absolute; inset: -14px; border-radius: 50%; border: 3px solid transparent; border-top-color: var(--saffron); border-right-color: var(--blue); animation: spin 1s linear infinite; }
body.loaded .preloader { opacity: 0; visibility: hidden; }
@keyframes plPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Scroll progress ---------- */
.scroll-progress { position: fixed; left: 0; top: 0; height: 3px; width: 0; z-index: 1500; background: linear-gradient(90deg, var(--saffron), var(--red), var(--blue)); box-shadow: 0 0 10px rgba(243, 122, 31, .5); transition: width .1s linear; }

/* ---------- Reveal variants ---------- */
.reveal.from-left { transform: translateX(-46px); }
.reveal.from-right { transform: translateX(46px); }
.reveal.zoom { transform: scale(.9); }
.reveal.flip { transform: perspective(900px) rotateX(18deg) translateY(30px); transform-origin: top; }
.reveal.in.from-left, .reveal.in.from-right, .reveal.in.zoom, .reveal.in.flip { transform: none; }
.img-reveal { position: relative; }
.img-reveal::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; background: linear-gradient(120deg, var(--blue), var(--saffron)); transform-origin: right; transition: transform 1s cubic-bezier(.77, 0, .18, 1) .15s; pointer-events: none; }
.img-reveal.in::after { transform: scaleX(0); }

/* heading divider grows in */
.sec-head .divider i { transition: width .9s cubic-bezier(.2, .8, .2, 1) .2s; }
.sec-head.reveal:not(.in) .divider i { width: 0 !important; }

/* ---------- Hover effects ---------- */
.shine { position: relative; overflow: hidden; }
.shine::after {
  content: ""; position: absolute; top: 0; left: -75%; width: 50%; height: 100%; pointer-events: none; z-index: 2;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent); transform: skewX(-20deg);
}
.shine:hover::after { animation: shineSweep .9s ease; }
@keyframes shineSweep { to { left: 130%; } }
.btn { position: relative; overflow: hidden; }
.btn::after { content: ""; position: absolute; top: 0; left: -80%; width: 45%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent); transform: skewX(-20deg); }
.btn:hover::after { animation: shineSweep .8s ease; }
.tile:hover .t-ic .ic, .dept:hover .t-ic .ic, .q-item:hover .q-ic .ic { animation: iconWiggle .6s ease; }
.info-card:hover .ic-circle, .value:hover .v-ic, .c-card:hover .c-ic { transform: rotate(-8deg) scale(1.08); }
.info-card .ic-circle, .value .v-ic, .c-card .c-ic { transition: transform .35s ease; }
@keyframes iconWiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-14deg) scale(1.1); } 50% { transform: rotate(10deg) scale(1.1); } 75% { transform: rotate(-6deg); } }
[data-tilt] { transition: transform .25s ease; transform-style: preserve-3d; will-change: transform; }

/* ---------- Hero extras ---------- */
.hero-shapes { position: absolute; inset: 0; z-index: 3; pointer-events: none; overflow: hidden; }
.hero-shapes span { position: absolute; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .25); animation: floatY 9s ease-in-out infinite; }
.hero-shapes span:nth-child(1) { width: 90px; height: 90px; right: 12%; top: 16%; }
.hero-shapes span:nth-child(2) { width: 18px; height: 18px; right: 30%; top: 30%; background: rgba(246, 180, 14, .8); border: 0; animation-duration: 7s; }
.hero-shapes span:nth-child(3) { width: 40px; height: 40px; right: 8%; bottom: 30%; border-color: rgba(243, 122, 31, .6); animation-duration: 11s; }
.hero-shapes span:nth-child(4) { width: 12px; height: 12px; left: 46%; top: 18%; background: rgba(255, 255, 255, .7); border: 0; animation-duration: 6s; }
@keyframes floatY { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-26px) rotate(20deg); } }
.scroll-down { position: absolute; left: 50%; bottom: 130px; transform: translateX(-50%); z-index: 5; color: #fff; opacity: .8; display: none; }
.scroll-down .ic { width: 26px; height: 26px; animation: bounceY 1.8s infinite; }
@keyframes bounceY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

/* ---------- Page banner extras ---------- */
.page-banner .pb-bg { will-change: transform; transform: scale(1.12); }
.pb-shapes { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.pb-shapes span { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .08); animation: floatY 10s ease-in-out infinite; }
.pb-shapes span:nth-child(1) { width: 220px; height: 220px; right: -60px; top: -80px; }
.pb-shapes span:nth-child(2) { width: 120px; height: 120px; right: 22%; bottom: -60px; animation-duration: 13s; }
.pb-shapes span:nth-child(3) { width: 16px; height: 16px; right: 34%; top: 30%; background: rgba(246, 180, 14, .8); animation-duration: 6s; }
.page-banner h1 { animation: fadeUp .9s ease both; }
.page-banner p { animation: fadeUp .9s ease .15s both; }
.page-banner .crumbs { animation: fadeUp .9s ease .3s both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ---------- Animated bands ---------- */
.counters { background: linear-gradient(120deg, var(--blue-d), var(--blue), #2a6bd0, var(--blue-d)); background-size: 300% 300%; animation: gradShift 14s ease infinite; }
.cta::before { background: linear-gradient(100deg, rgba(221, 102, 16, .95), rgba(212, 42, 47, .9), rgba(243, 122, 31, .93)); background-size: 250% 250%; animation: gradShift 12s ease infinite; }
@keyframes gradShift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.pr-card::after { content: ""; position: absolute; inset: 0; border-radius: 22px; padding: 2px; background: conic-gradient(from var(--ang, 0deg), var(--saffron), transparent 30%, var(--gold), transparent 70%, var(--saffron)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: angSpin 6s linear infinite; pointer-events: none; }
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes angSpin { to { --ang: 360deg; } }
.float-wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: pulse 2s infinite; }

/* ---------- Rich text (admin editor content) ---------- */
.prose { color: var(--text); }
.prose > *:first-child { margin-top: 0; }
.prose > *:last-child { margin-bottom: 0; }
.prose h2 { font-family: var(--ff-head); font-size: 28px; color: var(--blue-dd); margin: 1.2em 0 .5em; }
.prose h3 { font-size: 20px; margin: 1.1em 0 .4em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }
.prose ul li::marker { color: var(--saffron); }
.prose blockquote { margin: 1.2em 0; padding: 14px 20px; border-left: 4px solid var(--saffron); background: var(--cream); border-radius: 0 10px 10px 0; font-style: italic; }
.prose img { border-radius: 12px; margin: 1em 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: 14.5px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.prose th { background: var(--blue-l); color: var(--blue-dd); }
.prose.narrow { max-width: 820px; margin: 0 auto; }
.prose-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px 28px; }

/* principal quote */
.pr-quote { font-family: var(--ff-head); font-style: italic; font-size: 19px; color: var(--blue-dd); border-left: 4px solid var(--saffron); padding: 4px 0 4px 18px; margin: 0 0 18px; line-height: 1.55; }
.pr-msg .prose { font-size: 16px; }

/* ---------- FAQ ---------- */
.faq { max-width: 880px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border-radius: 12px; box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 16px 20px; font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { flex-shrink: 0; color: var(--saffron); transition: transform .3s; width: 20px; height: 20px; }
.faq details[open] summary .ic { transform: rotate(45deg); }
.faq details[open] summary { color: var(--blue); }
.faq .faq-a { padding: 0 20px 18px; font-size: 15px; }

/* ---------- Pagination ---------- */
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 36px; flex-wrap: wrap; list-style: none; }
.pager a, .pager span { min-width: 42px; height: 42px; padding: 0 12px; border-radius: 10px; display: inline-grid; place-items: center; border: 1.5px solid var(--line); background: #fff; color: var(--ink); font-weight: 600; font-size: 14px; }
.pager a:hover { border-color: var(--blue); color: var(--blue); }
.pager .active span { background: var(--blue); border-color: var(--blue); color: #fff; }
.pager .disabled span { opacity: .45; }

/* ---------- News detail ---------- */
.post-layout { display: grid; grid-template-columns: 1fr 340px; gap: 36px; align-items: start; }
.post-layout > * { min-width: 0; }
.post-article { background: #fff; border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.post-article .post-cover { aspect-ratio: 16/9; width: 100%; object-fit: cover; }
.post-article .post-inner { padding: 30px 32px 34px; }
.post-article h1 { font-family: var(--ff-head); font-size: clamp(26px, 3vw, 36px); color: var(--blue-dd); margin-bottom: 12px; }
.post-share { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); font-weight: 600; color: var(--ink); font-size: 14px; }
.post-share a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-l); color: var(--blue); }
.post-share a:hover { background: var(--blue); color: #fff; }
.post-share .ic { width: 17px; height: 17px; }
.side-box { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; margin-bottom: 22px; }
.side-box h3 { font-size: 17px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--blue-l); }
.side-post { display: flex; gap: 12px; align-items: center; padding: 8px 0; }
.side-post img { width: 74px; height: 58px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.side-post a { color: var(--ink); font-weight: 600; font-size: 14px; line-height: 1.4; }
.side-post a:hover { color: var(--blue); }
.side-post small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }

/* ---------- Form alerts / misc ---------- */
.alert { padding: 14px 18px; border-radius: 12px; font-size: 14.5px; margin-bottom: 18px; display: flex; gap: 10px; align-items: flex-start; }
.alert .ic { margin-top: 3px; }
.alert-ok { background: #e8f7ee; color: #146c3a; border: 1px solid #bfe8cf; }
.alert-bad { background: #fdecec; color: var(--red-d); border: 1px solid #f6c9c9; }
.field .err-text { color: var(--red); font-size: 12.5px; margin-top: 4px; display: block; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.doc-pending { display: inline-flex; align-items: center; gap: 6px; background: #f3f4f7; color: var(--muted); padding: 6px 12px; border-radius: 30px; font-size: 12.5px; font-weight: 500; white-space: nowrap; }
.table-side { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: start; }
.table-side > * { min-width: 0; }
.empty-state { text-align: center; padding: 40px 20px; color: var(--muted); background: #fff; border-radius: var(--radius); border: 1.5px dashed var(--line); }
.error-page { text-align: center; padding: 90px 0; }
.error-page .code { font-family: var(--ff-head); font-size: clamp(90px, 16vw, 170px); line-height: 1; font-weight: 700; background: linear-gradient(120deg, var(--blue), var(--saffron)); -webkit-background-clip: text; background-clip: text; color: transparent; }

@media (min-width: 1025px) {
  .scroll-down { display: block; }
}
@media (max-width: 1024px) {
  .cols-4, .cols-3 { grid-template-columns: repeat(2, 1fr) !important; }
  .post-layout, .table-side { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr !important; }
  .post-article .post-inner { padding: 22px 18px 26px; }
  .reveal.from-left, .reveal.from-right { transform: translateY(30px); }
  .hero-shapes { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .img-reveal::after { display: none; }
  .preloader { display: none; }
}

/* ---------- v2 layout helpers ---------- */
.about-grid.rev > :first-child { order: 2; }
.about-grid.no-media, .fac-wrap.no-media { grid-template-columns: 1fr; }
.about-media.single { padding: 0; }
.about-media.single::before { left: -16px; top: -16px; }
.fac-wrap.rev { grid-template-columns: 1.25fr 1fr; }
.fac-wrap.rev > :first-child { order: 2; }
.lead-first > p:first-child { font-size: 16.5px; }
.pr-photo img.photo { width: 100%; height: 100%; object-fit: cover; }
.pr-card .pr-desig { font-size: 13px; opacity: .85; margin-top: 2px; }
.news-wrap.no-notice { grid-template-columns: 1fr; }
.news-wrap.no-notice .news-cards { grid-template-columns: repeat(3, 1fr); }
.notice-list.short { height: auto; }
.nl-move.static { animation: none; }
.n-date .ic { width: 22px; height: 22px; color: var(--blue); margin: 8px 0; }
.notice-list h4 a { color: var(--ink); }
.notice-list h4 a:hover { color: var(--blue); }
a.card-img { display: block; }
.card-tag.green { background: var(--green); }
.card-tag.gold { background: var(--gold); color: var(--ink); }
.g-filters a { border: 1.5px solid var(--line); background: #fff; padding: 9px 20px; border-radius: 40px; font-weight: 500; font-size: 14px; color: var(--ink); transition: all .2s; }
.g-filters a:hover { border-color: var(--blue); color: var(--blue); }
.g-filters a.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.cta-text p { margin: 0 0 6px; color: #fff3e6; font-size: 16.5px; }
.cta-text p:last-child { margin-bottom: 0; }
.dtable .doc-link, .dtable .doc-pending { margin: 3px 6px 3px 0; }
.note.prose p { margin: 0 0 6px; }
.note.prose p:last-child { margin-bottom: 0; }
.info-card .bullets { margin-top: 4px; }
.info-card p { font-size: 14.5px; }
.card-body .bullets { margin-bottom: 12px; }
@media (max-width: 1024px) {
  .fac-wrap.rev, .about-grid.rev { grid-template-columns: 1fr; }
  .fac-wrap.rev > :first-child, .about-grid.rev > :first-child { order: 0; }
  .news-wrap.no-notice .news-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .news-wrap.no-notice .news-cards { grid-template-columns: 1fr; }
}
