/* =========================================================
   Omega Junior College – Boduppal  |  Main stylesheet
   Palette: navy, royal blue, white, golden-yellow accents
   ========================================================= */
:root {
  --navy: #0b1f4b; --navy-2: #12306b; --navy-3: #1a3f86;
  --royal: #1d4ed8; --royal-l: #e8efff;
  --gold: #f4b400; --gold-d: #c98f00; --gold-l: #fff6d6;
  --ink: #16213a; --text: #334155; --muted: #64748b;
  --line: #e3e8f2; --bg: #ffffff; --bg-alt: #f5f8fd;
  --wa: #1fa855;
  --r: 16px; --r-sm: 10px;
  --sh: 0 1px 2px rgba(11,31,75,.05), 0 8px 24px rgba(11,31,75,.07);
  --sh-lg: 0 20px 50px rgba(11,31,75,.16);
  --ff: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ff-h: "Playfair Display", Georgia, serif;
  --ease: cubic-bezier(.2,.7,.2,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--ff); color: var(--text); background: var(--bg); line-height: 1.65; font-size: 16px; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--royal); text-decoration: none; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; }
h1, h2 { font-family: var(--ff-h); letter-spacing: -.01em; }
h3, .h3 { font-size: 1.12rem; font-family: var(--ff); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.ic { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--navy); padding: .6rem 1rem; z-index: 999; font-weight: 700; }
.skip:focus { left: 10px; top: 10px; }
.center { text-align: center; }
.mt { margin-top: 2.5rem; } .mt-s { margin-top: 1.5rem; } .mb { margin-bottom: 3rem; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead { font-size: 1.12rem; color: var(--ink); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .8rem 1.4rem; border-radius: 999px; font-weight: 700; font-size: .95rem; border: 2px solid transparent; transition: transform .2s var(--ease), box-shadow .2s, background .2s, color .2s; white-space: nowrap; line-height: 1.2; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--royal); color: #fff; box-shadow: 0 8px 20px rgba(29,78,216,.25); }
.btn--primary:hover { background: var(--navy); color: #fff; }
.btn--gold { background: var(--gold); color: var(--navy); box-shadow: 0 8px 20px rgba(244,180,0,.3); }
.btn--gold:hover { background: #ffc61a; color: var(--navy); }
.btn--outline { border-color: var(--royal); color: var(--royal); background: #fff; }
.btn--outline:hover { background: var(--royal); color: #fff; }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--gold-l); color: var(--navy); }
.btn--glass { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.35); backdrop-filter: blur(6px); }
.btn--glass:hover { background: #fff; color: var(--navy); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #178a45; color: #fff; }
.btn--text { color: #fff; padding-left: .5rem; padding-right: .5rem; }
.btn--text:hover { color: var(--gold); }
.btn--sm { padding: .6rem 1.05rem; font-size: .88rem; }
.btn--lg { padding: 1rem 1.7rem; font-size: 1rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.btn-row--c { justify-content: center; }
.link { font-weight: 700; display: inline-flex; align-items: center; gap: .35rem; }
.link .ic { transition: transform .2s; } .link:hover .ic { transform: translateX(4px); }

/* ---------- Announcement + topbar ---------- */
.announce { background: linear-gradient(90deg, var(--gold), #ffd04d); color: var(--navy); font-size: .88rem; }
.announce__in { display: flex; align-items: center; gap: 1rem; padding-top: .45rem; padding-bottom: .45rem; justify-content: center; text-align: center; }
.announce__tag { background: var(--navy); color: #fff; padding: .2rem .7rem; border-radius: 999px; font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.announce__text { font-weight: 600; }
.announce__link { color: var(--navy); font-weight: 800; white-space: nowrap; display: inline-flex; align-items: center; gap: .3rem; }
.topbar { background: var(--navy); color: #c9d5ef; font-size: .84rem; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-top: .45rem; padding-bottom: .45rem; }
.topbar__l, .topbar__r { display: flex; gap: 1.25rem; align-items: center; flex-wrap: wrap; }
.topbar a { color: #e6ecfa; display: inline-flex; gap: .4rem; align-items: center; }
.topbar a:hover { color: var(--gold); }
.topbar span { display: inline-flex; gap: .4rem; align-items: center; }
.topbar__badge { background: rgba(244,180,0,.15); color: var(--gold) !important; border: 1px solid rgba(244,180,0,.4); padding: .1rem .7rem; border-radius: 999px; font-weight: 700; font-size: .76rem; letter-spacing: .03em; }

/* ---------- Header / Nav ---------- */
.header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.header.is-scrolled { box-shadow: 0 6px 24px rgba(11,31,75,.1); }
.header__in { display: flex; align-items: center; gap: 1.5rem; min-height: 78px; }
.brand { flex: none; display: block; }
.brand img { height: 44px; width: auto; }
.nav { margin-left: auto; display: flex; align-items: center; }
.nav__head, .nav__cta, .nav-close { display: none; }
.nav__list { display: flex; list-style: none; gap: .1rem; }
.nav__item { position: relative; }
.nav__link { white-space: nowrap; display: flex; align-items: center; gap: .25rem; padding: .7rem .7rem; color: var(--ink); font-weight: 600; font-size: .94rem; background: none; border: 0; border-radius: 8px; }
.nav__link:hover, .nav__item.is-active > .nav__link { color: var(--royal); }
.nav__item.is-active > .nav__link::after { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .25rem; height: 2px; background: var(--gold); border-radius: 2px; }
.ic-dd { width: .9em; height: .9em; transition: transform .2s; }
.dd { list-style: none; position: absolute; top: 100%; left: 0; min-width: 250px; background: #fff; border-radius: 14px; box-shadow: var(--sh-lg); padding: .5rem; opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s var(--ease); border: 1px solid var(--line); }
.dd::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.dd a { display: block; padding: .55rem .85rem; color: var(--text); border-radius: 8px; font-size: .92rem; font-weight: 500; }
.dd a:hover, .dd a[aria-current] { background: var(--royal-l); color: var(--royal); }
@media (hover: hover) and (min-width: 1101px) {
  .has-dd:hover > .dd, .has-dd:focus-within > .dd { opacity: 1; visibility: visible; transform: none; }
  .has-dd:hover .ic-dd { transform: rotate(180deg); }
}
.has-dd.is-open > .dd { opacity: 1; visibility: visible; transform: none; }
.header__cta { flex: none; }
@media (max-width: 1320px) and (min-width: 1101px) {
  .brand img { height: 36px; }
  .nav__link { padding: .6rem .5rem; font-size: .9rem; }
  .header__cta { display: none; }
}
.nav-toggle { display: none; margin-left: auto; background: var(--royal-l); border: 0; color: var(--navy); width: 44px; height: 44px; border-radius: 10px; align-items: center; justify-content: center; }
.nav-toggle .ic { width: 24px; height: 24px; }
.nav-backdrop { position: fixed; inset: 0; background: rgba(11,31,75,.5); z-index: 140; }

@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; }
  .header__cta { display: none; }
  .nav { position: fixed; top: 0; right: 0; bottom: 0; width: min(360px, 88vw); background: #fff; z-index: 150; flex-direction: column; align-items: stretch; transform: translateX(100%); transition: transform .3s var(--ease); overflow-y: auto; margin: 0; }
  .nav.is-open { transform: none; box-shadow: var(--sh-lg); }
  .nav__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.1rem; border-bottom: 1px solid var(--line); }
  .nav__head img { height: 28px; width: auto; }
  .nav-close { display: inline-flex; background: var(--bg-alt); border: 0; width: 40px; height: 40px; border-radius: 10px; align-items: center; justify-content: center; color: var(--navy); }
  .nav__list { flex-direction: column; padding: .5rem .75rem; }
  .nav__link { width: 100%; justify-content: space-between; padding: .85rem .75rem; font-size: 1rem; }
  .nav__item.is-active > .nav__link::after { display: none; }
  .nav__item.is-active > .nav__link { background: var(--royal-l); }
  .dd { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 .5rem .75rem; display: none; min-width: 0; }
  .has-dd.is-open > .dd { display: block; }
  .has-dd.is-open .ic-dd { transform: rotate(180deg); }
  .nav__cta { display: grid; gap: .6rem; padding: 1rem 1.1rem 1.5rem; margin-top: auto; }
}

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--navy); }
.hero__bg { position: absolute; inset: 0; background:
  radial-gradient(900px 500px at 85% 20%, rgba(29,78,216,.55), transparent 60%),
  radial-gradient(600px 400px at 10% 90%, rgba(244,180,0,.18), transparent 60%),
  linear-gradient(135deg, #0a1b42 0%, #0f2a63 55%, #12357c 100%); }
.hero__bg::after { content: ""; position: absolute; inset: 0; opacity: .08; background-image: radial-gradient(#fff 1px, transparent 1px); background-size: 26px 26px; }
.hero__in { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; padding-top: 4.5rem; padding-bottom: 5rem; }
.hero__pill { display: inline-flex; align-items: center; gap: .5rem; background: rgba(244,180,0,.15); border: 1px solid rgba(244,180,0,.45); color: var(--gold); padding: .4rem 1rem; border-radius: 999px; font-weight: 700; font-size: .85rem; margin-bottom: 1.25rem; }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 4.4vw, 3.6rem); margin-bottom: 1.1rem; }
.hero__name { display: block; font-family: var(--ff); font-size: clamp(.95rem, 1.4vw, 1.1rem); letter-spacing: .28em; text-transform: uppercase; color: var(--gold); font-weight: 800; margin-bottom: .9rem; }
.hero__lead { font-size: 1.12rem; color: #d3ddf3; max-width: 36rem; }
.hero__points { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: .7rem 1.25rem; margin: 1.75rem 0 2rem; }
.hero__points li { display: flex; gap: .6rem; align-items: center; font-weight: 600; color: #fff; font-size: .95rem; }
.hero__points .ic { color: var(--gold); width: 1.3em; height: 1.3em; }
.hero__btns { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.hero__media { position: relative; }
.hero__card { margin: 0; background: #fff; padding: 10px; border-radius: 22px; box-shadow: 0 30px 70px rgba(0,0,0,.35); transform: rotate(1.5deg); }
.hero__card img { border-radius: 14px; width: 100%; }
.hero__card figcaption { color: var(--navy); font-weight: 700; font-size: .9rem; padding: .7rem .4rem .2rem; display: flex; gap: .5rem; align-items: center; }
.hero__card figcaption .ic { color: var(--gold-d); }
.hero__badge { position: absolute; background: #fff; color: var(--navy); border-radius: 16px; box-shadow: var(--sh-lg); padding: .8rem 1.1rem; display: flex; align-items: center; gap: .6rem; animation: float 5s ease-in-out infinite; }
.hero__badge--a { left: -28px; bottom: 40px; flex-direction: column; gap: 0; text-align: center; }
.hero__badge--a strong { font-family: var(--ff-h); font-size: 2rem; color: var(--royal); line-height: 1; }
.hero__badge--a span { font-size: .78rem; font-weight: 700; color: var(--muted); }
.hero__badge--b { right: -14px; top: -18px; font-weight: 700; font-size: .85rem; animation-delay: -2.5s; }
.hero__badge--b .ic { color: var(--wa); width: 1.4em; height: 1.4em; }
@keyframes float { 50% { transform: translateY(-8px); } }

/* ---------- Sections ---------- */
.section { padding: 5.5rem 0; }
.section--alt { background: var(--bg-alt); }
.section--navy { background: linear-gradient(160deg, var(--navy), var(--navy-2)); color: #c9d5ef; }
.section--navy .shead h2 { color: #fff; } .section--navy .shead p { color: #b7c4e4; }
.section--results { background: linear-gradient(180deg, var(--gold-l), #fff 70%); }
.shead { max-width: 760px; margin-bottom: 2.75rem; }
.shead--c { margin-left: auto; margin-right: auto; text-align: center; }
.shead h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); }
.shead h2 span { color: var(--royal); }
.section--navy .shead h2 span { color: var(--gold); }
.shead p { color: var(--muted); font-size: 1.05rem; margin: 0; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-d); margin-bottom: .7rem; }
.section--navy .eyebrow, .eyebrow--gold { color: var(--gold); }
.eyebrow::before { content: ""; display: inline-block; width: 26px; height: 2px; background: currentColor; vertical-align: middle; margin-right: .6rem; }

.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--5 { grid-template-columns: repeat(5, 1fr); }
.grid--courses { grid-template-columns: repeat(6, 1fr); }
.grid--courses > * { grid-column: span 2; }
.grid--courses > :nth-child(4) { grid-column: 2 / span 2; }
.grid--people { justify-content: center; }

/* Stats */
.stats-sec { padding-top: 0; }
.stats { position: relative; z-index: 2; margin-top: -3rem; margin-bottom: 4.5rem; background: #fff; border-radius: 20px; box-shadow: var(--sh-lg); display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; }
.stat { padding: 1.8rem 1rem; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--ff-h); font-size: clamp(2rem, 3.5vw, 2.8rem); color: var(--navy); line-height: 1.1; }
.stat span { color: var(--muted); font-weight: 600; font-size: .9rem; }

/* Feature cards */
.fcard { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.75rem; transition: .25s var(--ease); }
.fcard:hover { transform: translateY(-4px); box-shadow: var(--sh); border-color: transparent; }
.fcard__ic, .wcard__ic, .kcard__ic { display: inline-flex; width: 54px; height: 54px; border-radius: 14px; align-items: center; justify-content: center; background: var(--royal-l); color: var(--royal); margin-bottom: 1rem; }
.fcard__ic .ic, .wcard__ic .ic, .kcard__ic .ic { width: 26px; height: 26px; }
.fcard p, .wcard p { color: var(--muted); margin: 0; font-size: .95rem; }
.wcard { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r); padding: 1.6rem; transition: .25s; }
.wcard:hover { background: rgba(255,255,255,.09); transform: translateY(-4px); }
.wcard h3 { color: #fff; }
.wcard p { color: #b7c4e4; }
.wcard__ic { background: rgba(244,180,0,.14); color: var(--gold); }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.split--top { align-items: start; }
.about-visual { position: relative; aspect-ratio: 1 / 1; max-width: 520px; margin: 0 auto; border-radius: 28px; background: linear-gradient(145deg, var(--navy), var(--royal)); overflow: hidden; display: flex; align-items: flex-end; padding: 2rem; }
.about-visual::before { content: ""; position: absolute; width: 140%; height: 140%; top: -60%; right: -60%; background: radial-gradient(circle, rgba(244,180,0,.35), transparent 60%); }
.about-visual__logo { position: absolute; top: 2rem; left: 2rem; width: 110px; border-radius: 18px; box-shadow: var(--sh-lg); }
.about-visual__est { position: absolute; top: 2rem; right: 2rem; background: var(--gold); color: var(--navy); border-radius: 50%; width: 120px; height: 120px; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: var(--sh-lg); }
.about-visual__est small { font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .75rem; }
.about-visual__est strong { font-family: var(--ff-h); font-size: 2.2rem; line-height: 1; }
.about-visual__card { position: relative; background: rgba(255,255,255,.96); border-radius: 20px; padding: 1.6rem; box-shadow: var(--sh-lg); }
.about-visual__card p { font-family: var(--ff-h); font-size: 1.35rem; color: var(--navy); margin: .4rem 0; line-height: 1.35; }
.about-visual__card span { color: var(--muted); font-size: .85rem; font-weight: 600; }
.about-visual__q { color: var(--gold-d); width: 34px; height: 34px; }
.vm { display: grid; gap: 1rem; margin: 1.75rem 0; }
.vm__item { display: flex; gap: 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.2rem; }
.vm__item > span { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--gold-l); color: var(--gold-d); display: flex; align-items: center; justify-content: center; }
.vm__item h3 { margin-bottom: .25rem; }
.vm__item p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Course cards */
.ccard { background: #fff; border-radius: 20px; box-shadow: var(--sh); overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); transition: .25s var(--ease); }
.ccard:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
.ccard__top { --accent: var(--royal); display: flex; gap: 1rem; align-items: center; padding: 1.5rem; background: linear-gradient(135deg, var(--navy), var(--navy-3)); color: #fff; position: relative; }
.ccard__top::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--gold); }
.ccard__top h3 { color: #fff; font-family: var(--ff-h); font-size: 1.8rem; margin: 0; }
.ccard__top p { margin: 0; color: #c9d5ef; font-size: .9rem; }
.ccard__ic { width: 56px; height: 56px; flex: none; border-radius: 14px; background: rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center; color: var(--gold); }
.ccard__ic .ic { width: 28px; height: 28px; }
.ccard__body { padding: 1.4rem 1.5rem; flex: 1; }
.ccard__body > p { color: var(--text); }
.ccard__meta { border-top: 1px dashed var(--line); padding-top: .8rem; margin-top: .8rem; font-size: .9rem; }
.ccard__meta strong { display: block; color: var(--ink); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .35rem; }
.ccard__meta span { color: var(--muted); }
.ccard__foot { display: flex; gap: .6rem; padding: 0 1.5rem 1.5rem; flex-wrap: wrap; }
.ccard__foot .btn { flex: 1; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip { display: inline-block; background: var(--gold-l); color: #8a6100 !important; font-weight: 700; font-size: .8rem; padding: .25rem .7rem; border-radius: 999px; }
.chips--lg .chip { font-size: .9rem; padding: .4rem .9rem; background: var(--royal-l); color: var(--royal) !important; }
.chip--muted { background: var(--bg-alt) !important; color: var(--muted) !important; }

/* Coaching */
.integrate { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 2.5rem; counter-reset: s; }
.integrate__step { position: relative; background: var(--bg-alt); border-radius: var(--r); padding: 1.4rem; border: 1px solid var(--line); }
.integrate__step b { display: inline-flex; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: var(--gold); align-items: center; justify-content: center; margin-bottom: .7rem; }
.integrate__step h3 { margin-bottom: .2rem; font-size: 1rem; }
.integrate__step p { margin: 0; font-size: .9rem; color: var(--muted); }
.kcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.6rem 1.4rem; color: var(--text); transition: .25s var(--ease); position: relative; overflow: hidden; }
.kcard::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--royal), var(--gold)); transform: scaleX(0); transform-origin: left; transition: .3s; }
.kcard:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); color: var(--text); }
.kcard:hover::before { transform: scaleX(1); }
.kcard h3 { font-size: 1.3rem; margin-bottom: .2rem; }
.kcard__for { font-size: .8rem; font-weight: 700; color: var(--gold-d); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .7rem; }
.kcard p { font-size: .92rem; color: var(--muted); flex: 1; }
.kcard__more { font-weight: 700; color: var(--royal); display: inline-flex; gap: .3rem; align-items: center; font-size: .9rem; }

/* Facilities */
.facard { background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--sh); transition: .25s var(--ease); }
.facard:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.facard__img { aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--navy-2), var(--royal)); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.facard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.facard:hover .facard__img img { transform: scale(1.05); }
.facard__img span { color: var(--gold); width: 84px; height: 84px; border-radius: 50%; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; }
.facard__img span .ic { width: 40px; height: 40px; }
.facard__body { padding: 1.4rem; }
.facard__body p { margin: 0; color: var(--muted); font-size: .95rem; }

/* People */
.grid--people { grid-template-columns: repeat(auto-fit, minmax(240px, 320px)); }
.pcard { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: var(--sh); text-align: center; border: 1px solid var(--line); transition: .25s; }
.pcard:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }
.pcard__img { aspect-ratio: 4 / 4.4; background: linear-gradient(160deg, var(--royal-l), #fff); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.pcard__ph { width: 110px; height: 110px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; color: var(--royal); box-shadow: var(--sh); }
.pcard__ph .ic { width: 52px; height: 52px; }
.pcard__body { padding: 1.3rem 1.3rem 1.5rem; }
.pcard__body h3 { margin-bottom: .2rem; font-size: 1.15rem; }
.pcard__role { display: inline-block; color: var(--gold-d); font-weight: 800; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; }
.pcard__q { display: block; color: var(--muted); font-size: .85rem; }
.pcard__body p { color: var(--muted); font-size: .92rem; margin: .7rem 0; }

/* Results */
.grid--results { grid-template-columns: repeat(4, 1fr); }
.rcard { background: #fff; border-radius: 18px; box-shadow: var(--sh); overflow: hidden; text-align: center; border: 1px solid var(--line); transition: .25s; }
.rcard:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.rcard__img { aspect-ratio: 5 / 4; background: linear-gradient(160deg, var(--gold-l), #fff); display: flex; align-items: center; justify-content: center; }
.rcard__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.rcard__img .pcard__ph { color: var(--gold-d); }
.rcard__body { padding: 0 1rem 1.3rem; }
.rcard__score { display: inline-block; margin-top: -1.6rem; position: relative; background: var(--navy); color: var(--gold); font-family: var(--ff-h); font-weight: 800; font-size: 1.7rem; padding: .25rem 1.1rem; border-radius: 12px; box-shadow: var(--sh); }
.rcard__score small { font-size: .9rem; color: #c9d5ef; font-family: var(--ff); }
.rcard h3 { margin: .8rem 0 .2rem; font-size: 1.02rem; }
.rcard__meta { font-size: .85rem; color: var(--royal); font-weight: 700; }
.rcard p { color: var(--muted); font-size: .88rem; margin: .5rem 0 0; }
.poster { margin-top: 3rem; border-radius: 20px; overflow: hidden; box-shadow: var(--sh-lg); }
.tabs { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center; margin-bottom: 2rem; }
.tab { padding: .55rem 1.2rem; border-radius: 999px; background: var(--bg-alt); color: var(--ink); font-weight: 700; border: 1px solid var(--line); }
.tab.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }

/* Timeline */
.timeline { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.25rem; position: relative; }
.timeline::before { content: ""; position: absolute; top: 28px; left: 10%; right: 10%; height: 3px; background: linear-gradient(90deg, var(--royal), var(--gold)); border-radius: 3px; }
.timeline li { position: relative; text-align: center; padding: 0 .5rem; }
.timeline__n { position: relative; display: inline-flex; width: 58px; height: 58px; border-radius: 50%; background: #fff; border: 3px solid var(--royal); color: var(--navy); font-family: var(--ff-h); font-weight: 800; font-size: 1.4rem; align-items: center; justify-content: center; margin-bottom: 1rem; box-shadow: 0 0 0 6px var(--bg-alt); }
.section:not(.section--alt) .timeline__n { box-shadow: 0 0 0 6px #fff; }
.timeline li:last-child .timeline__n { border-color: var(--gold); background: var(--gold); }
.timeline h3 { font-size: 1.02rem; margin-bottom: .3rem; }
.timeline p { font-size: .9rem; color: var(--muted); margin: 0; }
.infobox { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.6rem; box-shadow: var(--sh); }
.infobox h2, .infobox h3 { display: flex; gap: .5rem; align-items: center; }
.infobox h2 { font-family: var(--ff); font-size: 1.3rem; }
.infobox h2 .ic, .infobox h3 .ic { color: var(--royal); }
.infobox--navy { background: linear-gradient(150deg, var(--navy), var(--navy-3)); color: #c9d5ef; border: 0; }
.infobox--navy h3 { color: #fff; } .infobox--navy h3 .ic { color: var(--gold); }
.infobox--navy a:not(.btn) { color: var(--gold); font-weight: 700; }
.infobox--navy .btn { margin-top: .6rem; }
.infobox ul { list-style: none; }
.infobox li a { display: block; padding: .3rem 0; }
.ticks { list-style: none; display: grid; gap: .55rem; margin-bottom: 1rem; }
.ticks li { position: relative; padding-left: 1.9rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .25em; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--royal-l) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d4ed8' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E") center / 62% no-repeat; }
.ticks--2 { grid-template-columns: 1fr 1fr; }

/* News */
.ncard { background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--sh); height: 100%; display: flex; flex-direction: column; }
.ncard__img { position: relative; display: block; aspect-ratio: 3 / 2; background: linear-gradient(135deg, var(--navy-2), var(--royal)); overflow: hidden; }
.ncard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.ncard:hover .ncard__img img { transform: scale(1.05); }
.ncard__ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--gold); } .ncard__ph .ic { width: 48px; height: 48px; }
.ncard__cat { position: absolute; left: 1rem; top: 1rem; background: var(--gold); color: var(--navy); font-weight: 800; font-size: .75rem; padding: .25rem .7rem; border-radius: 999px; }
.ncard__body { padding: 1.3rem; }
.ncard time { color: var(--muted); font-size: .85rem; display: flex; gap: .4rem; align-items: center; margin-bottom: .5rem; }
.ncard h3 a { color: var(--ink); } .ncard h3 a:hover { color: var(--royal); }
.ncard p { color: var(--muted); font-size: .93rem; margin: 0; }
.news-meta { display: flex; gap: 1rem; align-items: center; color: var(--muted); }
.news-hero { margin: 0 0 1.5rem; border-radius: var(--r); overflow: hidden; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery--masonry { display: block; columns: 3 280px; column-gap: 1rem; }
.gallery--masonry .gallery__item { margin-bottom: 1rem; break-inside: avoid; }
.gallery__item { position: relative; display: block; border-radius: 14px; overflow: hidden; background: var(--bg-alt); }
.gallery--home .gallery__item, .prose .gallery__item { aspect-ratio: 4 / 3; }
.gallery--home .gallery__item img, .prose .gallery__item img { width: 100%; height: 100%; object-fit: cover; }
.gallery__item img { transition: transform .5s var(--ease); width: 100%; }
.gallery__item span { position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem 1rem .8rem; color: #fff; font-weight: 600; font-size: .9rem; background: linear-gradient(transparent, rgba(11,31,75,.85)); opacity: 0; transition: .3s; }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item:hover span, .gallery__item:focus span { opacity: 1; }
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: 2rem; }
.filters button { border: 1px solid var(--line); background: #fff; padding: .55rem 1.1rem; border-radius: 999px; font-weight: 700; font-size: .9rem; color: var(--ink); transition: .2s; }
.filters button:hover { border-color: var(--royal); color: var(--royal); }
.filters button.is-active { background: var(--royal); border-color: var(--royal); color: #fff; }
[data-filter-target] .is-hidden { display: none !important; }

/* Testimonials */
.tcard { margin: 0; background: #fff; border-radius: var(--r); padding: 1.8rem; box-shadow: var(--sh); display: flex; flex-direction: column; }
.tcard__q { color: var(--gold); width: 36px; height: 36px; }
.tcard blockquote { margin: 1rem 0 1.5rem; color: var(--text); flex: 1; }
.tcard figcaption { display: flex; gap: .8rem; align-items: center; }
.tcard figcaption img, .tcard__av { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.tcard__av { display: flex; align-items: center; justify-content: center; background: var(--navy); color: var(--gold); font-weight: 800; font-size: 1.3rem; }
.tcard figcaption strong { display: block; color: var(--ink); } .tcard figcaption small { color: var(--muted); }

/* CTA */
.cta { padding: 4.5rem 0; background: linear-gradient(120deg, var(--navy) 0%, var(--navy-3) 60%, var(--royal) 100%); color: #d3ddf3; position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(244,180,0,.35), transparent 65%); }
.cta__in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.3fr 1fr; gap: 2.5rem; align-items: center; }
.cta h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.cta p { margin: 0; font-size: 1.05rem; }
.cta__btns { display: grid; gap: .75rem; }

/* Contact */
.contact-list p { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.1rem; }
.contact-list p > span:first-child { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--royal-l); color: var(--royal); display: flex; align-items: center; justify-content: center; }
.contact-list strong { color: var(--ink); }
.map { margin-top: 1.5rem; border-radius: var(--r); overflow: hidden; box-shadow: var(--sh); aspect-ratio: 16 / 10; background: var(--bg-alt); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.map--tall { margin-top: 0; aspect-ratio: auto; height: 100%; min-height: 420px; }
.contact-cards .ccbox { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.6rem; box-shadow: var(--sh); }
.ccbox > span { display: inline-flex; width: 52px; height: 52px; border-radius: 14px; background: var(--navy); color: var(--gold); align-items: center; justify-content: center; margin-bottom: 1rem; }
.ccbox p { color: var(--muted); }

/* Enquiry form */
.eform { background: #fff; border-radius: 22px; box-shadow: var(--sh-lg); padding: 2rem; border-top: 5px solid var(--gold); }
.eform__head h3 { font-family: var(--ff-h); font-size: 1.6rem; margin-bottom: .3rem; }
.eform__head p { color: var(--muted); margin-bottom: 1.4rem; }
.eform__grid { display: grid; grid-template-columns: 1fr 1fr; gap: .95rem 1rem; }
.field--full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 700; font-size: .85rem; color: var(--ink); margin-bottom: .35rem; }
.field label b { color: #dc2626; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: .95rem; padding: .75rem .9rem; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--bg-alt); color: var(--ink); transition: border-color .2s, background .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--royal); background: #fff; box-shadow: 0 0 0 4px rgba(29,78,216,.12); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #dc2626; background: #fef2f2; }
.err { display: block; color: #dc2626; font-size: .8rem; min-height: 0; margin-top: .25rem; }
.consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .85rem; color: var(--muted); margin: 1rem 0; }
.consent input { margin-top: .25rem; accent-color: var(--royal); width: 16px; height: 16px; flex: none; }
.consent.has-error { color: #dc2626; }
.eform__status { display: none; padding: .9rem 1rem; border-radius: var(--r-sm); margin-bottom: 1rem; font-weight: 600; font-size: .92rem; }
.eform__status.is-ok { display: block; background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.eform__status.is-err { display: block; background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.eform button[disabled] { opacity: .7; cursor: wait; }
.eform__alt { text-align: center; color: var(--muted); font-size: .88rem; margin: 1rem 0 0; }

/* Page hero */
.phero { background: linear-gradient(130deg, var(--navy) 0%, var(--navy-3) 100%); color: #c9d5ef; padding: 3.5rem 0 3.25rem; position: relative; overflow: hidden; }
.phero::after { content: ""; position: absolute; right: -80px; top: -140px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(244,180,0,.28), transparent 65%); }
.phero::before { content: ""; position: absolute; inset: 0; opacity: .07; background-image: radial-gradient(#fff 1px, transparent 1px); background-size: 22px 22px; }
.phero .container { position: relative; z-index: 1; }
.phero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 3rem); margin: .6rem 0 .4rem; }
.phero p { margin: 0; font-size: 1.05rem; max-width: 46rem; }
.crumbs { display: flex; flex-wrap: wrap; gap: .45rem; font-size: .88rem; font-weight: 600; }
.crumbs a { color: var(--gold); } .crumbs span { color: #9fb0d6; }

/* Content layout */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 3rem; align-items: start; }
.side { position: sticky; top: 100px; display: grid; gap: 1.25rem; }
.side__box { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.5rem; box-shadow: var(--sh); display: grid; gap: .65rem; }
.side__box:first-child { background: linear-gradient(150deg, var(--navy), var(--navy-3)); color: #c9d5ef; border: 0; }
.side__box:first-child h3 { color: #fff; }
.side__box:first-child .btn--outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.side__box h3 { margin: 0; }
.side__box p { margin: 0 0 .4rem; font-size: .92rem; }
.side__links ul { list-style: none; }
.side__links a { display: flex; justify-content: space-between; gap: .5rem; padding: .6rem 0; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 800; }
.side__links li:last-child a { border: 0; }
.side__links a span { color: var(--muted); font-weight: 500; font-size: .85rem; text-align: right; }
.side__links a:hover { color: var(--royal); }
.prose { min-width: 0; }
.prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); margin-top: 2.2rem; }
.prose h2:first-child, .prose > .course-badges + h2 { margin-top: 0; }
.prose--narrow { max-width: 820px; margin: 0 auto; }
.course-badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.course-badges span { display: inline-flex; gap: .4rem; align-items: center; background: var(--royal-l); color: var(--royal); padding: .4rem .9rem; border-radius: 999px; font-weight: 700; font-size: .85rem; }
.mini-courses { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .75rem; margin: 1rem 0; }
.mini-courses a { display: flex; flex-direction: column; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 12px; padding: .9rem 1rem; color: var(--text); transition: .2s; }
.mini-courses a:hover { border-color: var(--royal); background: #fff; box-shadow: var(--sh); }
.mini-courses strong { color: var(--navy); font-size: 1.1rem; }
.mini-courses span { font-size: .85rem; color: var(--muted); }
.mini-courses em { font-style: normal; font-size: .8rem; color: var(--gold-d); font-weight: 700; margin-top: .3rem; }
.mini-card { display: flex; gap: 1rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.1rem; color: var(--text); transition: .2s; }
.mini-card:hover { border-color: var(--royal); box-shadow: var(--sh); color: var(--text); }
.mini-card > span { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--navy); color: var(--gold); display: flex; align-items: center; justify-content: center; }
.mini-card strong { display: block; color: var(--ink); } .mini-card small { color: var(--muted); }
.careers { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .6rem; }
.careers li { display: flex; gap: .6rem; align-items: center; background: var(--bg-alt); border-radius: 10px; padding: .7rem .9rem; font-weight: 600; font-size: .92rem; color: var(--ink); }
.careers .ic { color: var(--gold-d); }
.table-wrap { overflow-x: auto; border-radius: var(--r); box-shadow: var(--sh); background: #fff; }
.table { width: 100%; border-collapse: collapse; min-width: 640px; }
.table th { background: var(--navy); color: #fff; text-align: left; padding: 1rem 1.1rem; font-size: .88rem; letter-spacing: .03em; }
.table td { padding: .95rem 1.1rem; border-bottom: 1px solid var(--line); font-size: .94rem; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: var(--bg-alt); }

/* Misc blocks */
.empty { text-align: center; background: var(--bg-alt); border: 2px dashed var(--line); border-radius: var(--r); padding: 3rem 1.5rem; color: var(--muted); }
.empty .ic { width: 48px; height: 48px; color: var(--royal); margin: 0 auto 1rem; display: block; }
.empty p { margin: 0 auto; max-width: 34rem; }
.note { display: flex; gap: 1rem; align-items: flex-start; background: var(--gold-l); border-left: 4px solid var(--gold); border-radius: 12px; padding: 1rem 1.2rem; margin: 1.5rem 0; }
.note .ic { color: var(--gold-d); width: 24px; height: 24px; margin-top: .1rem; }
.note p { margin: 0; }
.doclist { list-style: none; display: grid; gap: .6rem; counter-reset: d; }
.doclist li { display: flex; gap: .8rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .9rem 1rem; font-weight: 600; color: var(--ink); }
.doclist .ic { color: var(--royal); }
.brochure { display: grid; grid-template-columns: 380px 1fr; gap: 0; border-radius: 22px; overflow: hidden; box-shadow: var(--sh-lg); }
.brochure__info { background: linear-gradient(150deg, var(--navy), var(--navy-3)); color: #c9d5ef; padding: 2.5rem 2rem; }
.brochure__info h2 { color: #fff; }
.brochure__info .btn-row { flex-direction: column; }
.brochure__ic { display: inline-flex; width: 64px; height: 64px; border-radius: 16px; background: rgba(244,180,0,.15); color: var(--gold); align-items: center; justify-content: center; margin-bottom: 1rem; }
.brochure__ic .ic { width: 32px; height: 32px; }
.brochure__view { width: 100%; min-height: 640px; border: 0; background: var(--bg-alt); }
.brochure__view p { padding: 2rem; }
.msg { display: grid; grid-template-columns: 340px 1fr; gap: 3rem; align-items: start; }
.msg__card { position: sticky; top: 100px; background: #fff; border-radius: 22px; box-shadow: var(--sh-lg); overflow: hidden; text-align: center; padding-bottom: 1.5rem; }
.msg__photo { aspect-ratio: 4 / 4.6; background: linear-gradient(160deg, var(--royal-l), #fff); display: flex; align-items: center; justify-content: center; margin-bottom: 1.2rem; }
.msg__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.msg__card h2 { font-family: var(--ff); font-size: 1.25rem; margin-bottom: .2rem; padding: 0 1rem; }
.msg__others { border-top: 1px solid var(--line); margin-top: 1.2rem; padding: 1rem 1.25rem 0; display: grid; gap: .4rem; text-align: left; }
.msg__others small { color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; }
.msg__others a { font-weight: 700; display: flex; justify-content: space-between; align-items: center; }
.msg__text { background: #fff; border-radius: 22px; padding: 2.5rem; box-shadow: var(--sh); position: relative; font-size: 1.03rem; }
.msg__q { color: var(--gold); width: 46px; height: 46px; margin-bottom: 1rem; }
.msg__sign { border-top: 1px solid var(--line); padding-top: 1.2rem; margin-top: 1.5rem; }
.msg__sign strong { color: var(--navy); font-size: 1.1rem; }
.vmcard { background: #fff; border-radius: 22px; padding: 2.2rem; box-shadow: var(--sh); border: 1px solid var(--line); }
.vmcard--navy { background: linear-gradient(150deg, var(--navy), var(--navy-3)); color: #d3ddf3; border: 0; }
.vmcard--navy h2 { color: #fff; }
.vmcard--navy .ticks li::before { background-color: rgba(244,180,0,.2); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f4b400' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E"); }
.vmcard__ic { display: inline-flex; width: 60px; height: 60px; border-radius: 16px; background: var(--gold); color: var(--navy); align-items: center; justify-content: center; margin-bottom: 1.2rem; }
.vmcard__ic .ic { width: 30px; height: 30px; }
.values { margin-bottom: 0; }
.value { text-align: center; background: var(--bg-alt); border-radius: var(--r); padding: 1.8rem 1rem; border: 1px solid var(--line); transition: .25s; }
.value:hover { background: #fff; box-shadow: var(--sh); transform: translateY(-4px); }
.value .ic { width: 40px; height: 40px; color: var(--royal); margin: 0 auto .8rem; display: block; }
.value h3 { font-size: 1rem; margin: 0; }
.vmcard + .vmcard {}
.grid--2 + .shead { margin-top: 4.5rem; }
.thanks { width: 90px; height: 90px; border-radius: 50%; background: #ecfdf5; color: #059669; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 1.2rem; }
.thanks .ic { width: 46px; height: 46px; }
.notfound__code { font-family: var(--ff-h); font-size: 7rem; font-weight: 800; color: var(--royal-l); line-height: 1; -webkit-text-stroke: 2px var(--royal); }
.sitemap ul { list-style: none; }

/* ---------- Footer ---------- */
.footer { background: #071535; color: #9fb0d6; padding-top: 4.5rem; font-size: .94rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr .9fr 1.1fr 1.3fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer h3 { color: #fff; font-size: 1.05rem; margin-bottom: 1.2rem; position: relative; padding-bottom: .7rem; }
.footer h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; background: var(--gold); border-radius: 3px; }
.footer ul { list-style: none; display: grid; gap: .55rem; }
.footer a { color: #c9d5ef; } .footer a:hover { color: var(--gold); }
.footer__logo { display: flex; gap: .9rem; align-items: center; margin-bottom: 1.2rem; }
.footer__logo img { width: 60px; height: 60px; border-radius: 12px; }
.footer__logo strong { display: block; color: #fff; font-family: var(--ff-h); font-size: 1.3rem; line-height: 1.2; }
.footer__logo span { color: var(--gold); font-size: .85rem; font-weight: 600; }
.footer__tag { display: inline-flex; gap: .5rem; align-items: center; color: var(--gold); font-weight: 700; }
.footer__contact p { display: flex; gap: .75rem; align-items: flex-start; }
.footer__contact .ic { color: var(--gold); margin-top: .2rem; }
.social { display: flex; gap: .6rem; margin-top: 1rem; }
.social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; color: #fff; transition: .2s; }
.social a:hover { background: var(--gold); color: var(--navy); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 1.25rem 0; font-size: .86rem; }
.footer__bottom-in { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer__bottom p { margin: 0; }

/* Floating buttons */
.floaters { position: fixed; right: 18px; bottom: 22px; z-index: 90; display: grid; gap: .7rem; }
.float-btn { width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; box-shadow: 0 10px 25px rgba(0,0,0,.2); transition: transform .2s; }
.float-btn:hover { transform: scale(1.08); color: #fff; }
.float-btn .ic { width: 26px; height: 26px; }
.float-btn--wa { background: var(--wa); animation: pulse 2.5s infinite; }
.float-btn--call { background: var(--royal); }
.float-btn--top { background: var(--navy); opacity: 0; pointer-events: none; transition: opacity .3s; }
.float-btn--top .ic { transform: rotate(180deg); }
.float-btn--top.is-visible { opacity: 1; pointer-events: auto; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(31,168,85,.55); } 70% { box-shadow: 0 0 0 16px rgba(31,168,85,0); } 100% { box-shadow: 0 0 0 0 rgba(31,168,85,0); } }
.mobile-bar { display: none; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(5,12,32,.94); display: flex; align-items: center; justify-content: center; padding: 3.5rem 4.5rem; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; text-align: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 9rem); margin: 0 auto; border-radius: 10px; }
.lightbox figcaption { color: #fff; margin-top: .9rem; font-weight: 600; }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); border: 0; color: #fff; width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.lightbox button:hover { background: var(--gold); color: var(--navy); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; } .lightbox__prev .ic { transform: rotate(180deg); }
.lightbox__next { right: 16px; }

/* Reveal animation */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .grid--5 { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1100px) {
  .hero__in { grid-template-columns: 1fr; gap: 3.5rem; padding-top: 3.5rem; }
  .hero__media { max-width: 560px; margin: 0 auto; width: 100%; }
  .grid--4, .grid--results { grid-template-columns: repeat(2, 1fr); }
  .grid--courses { grid-template-columns: repeat(2, 1fr); }
  .grid--courses > *, .grid--courses > :nth-child(4) { grid-column: auto; }
  .grid--courses > :last-child:nth-child(odd) { grid-column: 1 / -1; max-width: 560px; justify-self: center; }
  .layout, .msg { grid-template-columns: 1fr; }
  .side, .msg__card { position: static; }
  .msg__card { max-width: 420px; margin: 0 auto; width: 100%; }
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .timeline::before { left: 28px; right: auto; top: 10px; bottom: 10px; width: 3px; height: auto; }
  .timeline li { display: grid; grid-template-columns: 58px 1fr; column-gap: 1.2rem; text-align: left; padding: 0 0 1.5rem; }
  .timeline__n { grid-row: span 2; margin: 0; }
  .timeline h3 { align-self: end; }
  .brochure { grid-template-columns: 1fr; }
  .brochure__view { min-height: 520px; }
}
@media (max-width: 860px) {
  .section { padding: 4rem 0; }
  .grid--3, .grid--2, .split, .cta__in { grid-template-columns: 1fr; }
  .split { gap: 2.5rem; }
  .split__media { order: 2; }
  .grid--5 { grid-template-columns: repeat(2, 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); }
  .integrate { grid-template-columns: repeat(2, 1fr); }
  .topbar .hide-sm { display: none; }
  .announce__text { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; padding-bottom: 64px; }
  .container { padding: 0 16px; }
  .header__in { min-height: 66px; gap: .75rem; }
  .brand img { height: auto; width: min(250px, calc(100vw - 100px)); }
  .topbar__in { justify-content: center; }
  .topbar__r { display: none; }
  .topbar__l { gap: .9rem; justify-content: center; font-size: .8rem; }
  .hero__in { padding-top: 2.5rem; padding-bottom: 4.5rem; }
  .hero__points { grid-template-columns: 1fr; }
  .hero__btns .btn--lg { width: 100%; }
  .hero__badge--a { left: -6px; bottom: 70px; padding: .6rem .8rem; }
  .hero__badge--a strong { font-size: 1.5rem; }
  .hero__badge--b { right: -4px; top: -16px; font-size: .78rem; }
  .grid--4, .grid--5, .grid--results, .grid--courses, .integrate, .ticks--2 { grid-template-columns: 1fr; }
  .grid--results { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .rcard__score { font-size: 1.35rem; }
  .rcard h3 { font-size: .92rem; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: .6rem; }
  .gallery--masonry { columns: 2 140px; column-gap: .6rem; }
  .gallery--masonry .gallery__item { margin-bottom: .6rem; }
  .eform { padding: 1.4rem; }
  .eform__grid { grid-template-columns: 1fr; }
  .msg__text { padding: 1.6rem; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .floaters { bottom: 78px; right: 12px; }
  .float-btn { width: 48px; height: 48px; }
  .float-btn--call { display: none; }
  .mobile-bar { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; background: #fff; box-shadow: 0 -6px 20px rgba(11,31,75,.12); }
  .mobile-bar a { display: flex; flex-direction: column; align-items: center; gap: .15rem; padding: .55rem 0 .65rem; font-size: .78rem; font-weight: 700; color: var(--navy); }
  .mobile-bar a .ic { width: 22px; height: 22px; }
  .mobile-bar a:nth-child(2) { color: var(--wa); }
  .mobile-bar .is-primary { background: var(--gold); color: var(--navy); }
  .lightbox { padding: 3.5rem .5rem; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 12px; }
  .lightbox__prev { left: calc(50% - 60px); } .lightbox__next { right: calc(50% - 60px); }
  .about-visual__est { width: 92px; height: 92px; } .about-visual__est strong { font-size: 1.7rem; }
  .about-visual__logo { width: 80px; }
  .about-visual__card p { font-size: 1.1rem; }
}
@media print {
  .announce, .topbar, .header, .floaters, .mobile-bar, .cta, .footer, .eform { display: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* News photos as a gallery */
.prose p:has(> img[src^="/storage/news/"]:only-child) { display: inline-block; vertical-align: top; width: calc(50% - 8px); margin: 0 4px 8px; }
.prose p > img[src^="/storage/news/"]:only-child { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }

/* Tables written in the admin editor */
.prose table { display: block; overflow-x: auto; width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; }
.prose thead, .prose tbody { display: table; width: 100%; table-layout: fixed; }
.prose th { background: var(--navy); color: #fff; text-align: left; padding: .75rem; }
.prose td { padding: .75rem; border-bottom: 1px solid var(--line); }
