/* ==========================================================================
   Orbit — main stylesheet (RTL-first, logical properties so LTR works too)
   ========================================================================== */

:root {
	--navy: #223c7a;
	--navy-700: #1b3166;
	--navy-900: #111f45;
	--navy-50: #eef2fa;
	--navy-100: #dde5f5;
	--gold: #cd9a34;
	--gold-600: #b5852a;
	--gold-50: #fbf4e6;
	--ink: #0f1b33;
	--text: #2b3550;
	--muted: #627089;
	--line: #e2e7f1;
	--bg: #ffffff;
	--bg-soft: #f5f7fc;
	--good: #157347;
	--good-bg: #e3f6ea;
	--warn: #8a5a00;
	--warn-bg: #fff3d6;
	--bad: #a1251b;
	--bad-bg: #fde4e2;

	--radius: 14px;
	--radius-lg: 22px;
	--shadow-sm: 0 1px 2px rgb(17 31 69 / 6%), 0 2px 8px rgb(17 31 69 / 5%);
	--shadow: 0 8px 30px rgb(17 31 69 / 9%);
	--shadow-lg: 0 20px 50px rgb(17 31 69 / 16%);
	--container: 1200px;
	--font: "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
	--header-h: 76px;
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.8;
	color: var(--text);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold-600); }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.35; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

.screen-reader-text, .o-hp {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.o-skip { position: absolute; inset-inline-start: 1rem; top: -100px; z-index: 1000; background: var(--gold); color: #fff; padding: .6rem 1rem; border-radius: 8px; }
.o-skip:focus { top: 1rem; }

.o-container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.o-container--narrow { max-width: 880px; }
.o-center { text-align: center; }
.o-muted { color: var(--muted); }
.o-gold { color: var(--gold-600); }
.o-icon { width: 1.15em; height: 1.15em; flex: none; display: inline-block; vertical-align: -0.2em; }

/* ---------- Buttons ---------- */

.o-btn {
	--btn-bg: var(--navy); --btn-fg: #fff; --btn-bd: var(--navy);
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	padding: .7em 1.4em; border-radius: 999px; border: 2px solid var(--btn-bd);
	background: var(--btn-bg); color: var(--btn-fg); font: inherit; font-weight: 600; font-size: .95rem; line-height: 1.4;
	text-decoration: none; cursor: pointer; transition: transform .15s ease, background .2s, box-shadow .2s, color .2s;
	white-space: nowrap;
}
.o-btn:hover { --btn-bg: var(--navy-700); --btn-bd: var(--navy-700); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.o-btn--gold { --btn-bg: var(--gold); --btn-bd: var(--gold); }
.o-btn--gold:hover { --btn-bg: var(--gold-600); --btn-bd: var(--gold-600); }
.o-btn--outline { --btn-bg: transparent; --btn-fg: var(--navy); }
.o-btn--outline:hover { --btn-bg: var(--navy); --btn-fg: #fff; }
.o-btn--ghost { --btn-bg: var(--navy-50); --btn-fg: var(--navy); --btn-bd: var(--navy-50); }
.o-btn--ghost:hover { --btn-bg: var(--navy-100); --btn-bd: var(--navy-100); color: var(--navy); }
.o-btn--ghost-light { --btn-bg: rgb(255 255 255 / 8%); --btn-fg: #fff; --btn-bd: rgb(255 255 255 / 35%); }
.o-btn--ghost-light:hover { --btn-bg: #fff; --btn-fg: var(--navy); --btn-bd: #fff; color: var(--navy); }
.o-btn--lg { padding: .85em 1.8em; font-size: 1.05rem; }
.o-btn--sm { padding: .3em .9em; font-size: .85rem; }
.o-btn--block { display: flex; width: 100%; }
.o-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.o-center .o-actions, .o-actions.o-center { justify-content: center; }

.o-link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; gap: .4em; align-items: center; }
.o-link-arrow::after { content: "←"; transition: transform .2s; }
body:not(.rtl) .o-link-arrow::after { content: "→"; }
.o-link-arrow:hover::after { transform: translateX(-4px); }

/* ---------- Top bar & header ---------- */

.o-topbar { background: var(--navy-900); color: #cfd8ee; font-size: .85rem; }
.o-topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 40px; }
.o-topbar a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: .4em; }
.o-topbar a:hover { color: #fff; }
.o-topbar__contact, .o-topbar__links { display: flex; gap: 1.4rem; align-items: center; }
.o-lang { border: 1px solid rgb(255 255 255 / 25%); border-radius: 999px; padding: 0 .7em; }

.o-header {
	position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / 96%);
	backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .2s;
}
.admin-bar .o-header { top: 32px; }
.o-header.is-scrolled { box-shadow: var(--shadow-sm); }
.o-header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }
.o-logo { flex: none; }
.o-logo img { height: 54px; width: auto; }

.o-nav { display: flex; align-items: center; gap: 1rem; margin-inline-start: auto; }
.o-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .25rem; }
.o-menu > li { position: relative; display: flex; align-items: center; }
.o-menu a { display: block; padding: .5rem .8rem; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .97rem; border-radius: 8px; }
.o-menu > li > a:hover, .o-menu > li.current-menu-item > a, .o-menu > li.current-menu-ancestor > a { color: var(--navy); background: var(--navy-50); }
.o-sub-toggle { display: none; background: none; border: 0; color: var(--muted); padding: .4rem; cursor: pointer; }
.o-menu > .menu-item-has-children > a { padding-inline-end: .2rem; }
.o-menu > .menu-item-has-children > a::after { content: ""; display: inline-block; width: .4em; height: .4em; margin-inline-start: .45em; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-3px); opacity: .6; }

.o-menu .sub-menu {
	list-style: none; margin: 0; padding: .5rem; position: absolute; top: 100%; inset-inline-start: 0; min-width: 240px;
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s ease;
}
.o-menu li:hover > .sub-menu, .o-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.o-menu .sub-menu a { padding: .55rem .8rem; font-size: .93rem; }
.o-menu .sub-menu a:hover { background: var(--navy-50); color: var(--navy); }

.o-burger { display: none; margin-inline-start: auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; padding: 0 11px; flex-direction: column; justify-content: center; gap: 5px; }
.o-burger span:not(.screen-reader-text) { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s; }
.o-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.o-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.o-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
	.o-burger { display: flex; }
	.o-nav {
		position: fixed; inset: calc(var(--header-h) + 40px) 0 0 0; z-index: 49; background: #fff; flex-direction: column; align-items: stretch;
		padding: 1rem 16px 2rem; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility .25s;
	}
	body:not(.rtl) .o-nav { transform: translateX(-100%); }
	.o-nav.is-open { transform: none; visibility: visible; }
	.admin-bar .o-nav { top: calc(var(--header-h) + 40px + 46px); }
	.o-menu { flex-direction: column; align-items: stretch; gap: 0; }
	.o-menu > li { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
	.o-menu > li > a { flex: 1; padding: .9rem .25rem; font-size: 1.05rem; background: none !important; }
	.o-menu > .menu-item-has-children > a::after { display: none; }
	.o-sub-toggle { display: block; }
	.o-sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
	.o-menu .sub-menu { position: static; width: 100%; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 1rem .5rem; display: none; }
	.o-menu li.is-open > .sub-menu { display: block; }
	.o-nav__cta { margin-top: 1rem; }
	body.nav-open { overflow: hidden; }
}

@media (max-width: 782px) { .admin-bar .o-header { top: 46px; } }
@media (max-width: 600px) {
	.admin-bar .o-header { top: 0; }
	.o-hide-sm { display: none !important; }
	.o-logo img { height: 44px; }
	:root { --header-h: 66px; }
}

/* ---------- Decorative orbits (brand motif) ---------- */

.o-orbits { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.o-orbits span {
	position: absolute; border: 1.5px solid rgb(205 154 52 / 35%); border-radius: 50%;
	width: 900px; height: 360px; inset-inline-end: -220px; top: -120px; transform: rotate(-18deg);
}
.o-orbits span:nth-child(2) { width: 640px; height: 250px; inset-inline-end: -120px; top: 10px; border-color: rgb(255 255 255 / 14%); }
.o-orbits span:nth-child(3) { width: 1200px; height: 480px; inset-inline-end: -420px; top: 60px; border-color: rgb(255 255 255 / 8%); }
.o-orbits span::after { content: ""; position: absolute; width: 12px; height: 12px; background: var(--gold); border-radius: 50%; top: 50%; inset-inline-start: -6px; box-shadow: 0 0 18px rgb(205 154 52 / 80%); }
.o-orbits span:nth-child(2)::after, .o-orbits span:nth-child(3)::after { display: none; }

/* ---------- Hero ---------- */

.o-hero {
	position: relative; overflow: hidden; color: #dfe6f6;
	background: radial-gradient(1200px 500px at 85% -10%, #2e4d97 0%, transparent 60%), linear-gradient(160deg, var(--navy) 0%, var(--navy-900) 100%);
	padding: clamp(3rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 7rem);
}
.o-hero__grid { position: relative; display: grid; grid-template-columns: 1.25fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.o-hero h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.25; margin-bottom: .4em; }
.o-hero h1 span { display: block; color: var(--gold); }
.o-hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); max-width: 40em; opacity: .92; }
.o-hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.o-eyebrow { display: inline-flex; align-items: center; gap: .5em; font-size: .85rem; font-weight: 600; letter-spacing: .02em; color: var(--gold-600); margin-bottom: .8rem; }
.o-eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.o-hero .o-eyebrow, .o-section--navy .o-eyebrow { color: var(--gold); }

.o-quickfind { background: #fff; color: var(--text); border-radius: var(--radius-lg); padding: clamp(1.4rem, 3vw, 2rem); box-shadow: var(--shadow-lg); position: relative; }
.o-quickfind::before { content: ""; position: absolute; inset-inline-start: 24px; top: -10px; width: 60px; height: 10px; background: var(--gold); border-radius: 8px 8px 0 0; }
.o-quickfind h2 { font-size: 1.25rem; display: flex; gap: .5rem; align-items: center; color: var(--navy); }
.o-quickfind p { color: var(--muted); font-size: .95rem; }
.o-quickfind .o-field { margin-bottom: .9rem; }

@media (max-width: 900px) { .o-hero__grid { grid-template-columns: 1fr; } }

/* ---------- Stats ---------- */

.o-stats { position: relative; z-index: 2; margin-top: -3rem; }
.o-stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.o-stats__grid > div { padding: 1.6rem 1rem; text-align: center; border-inline-start: 1px solid var(--line); }
.o-stats__grid > div:first-child { border: 0; }
.o-stats strong { display: block; font-size: clamp(1.8rem, 3.5vw, 2.6rem); color: var(--navy); line-height: 1.1; font-weight: 700; }
.o-stats__grid > div:last-child strong { color: var(--gold); }
.o-stats span { color: var(--muted); font-size: .95rem; }
@media (max-width: 700px) {
	.o-stats__grid { grid-template-columns: repeat(2, 1fr); }
	.o-stats__grid > div:nth-child(3) { border-inline-start: 0; }
	.o-stats__grid > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Sections ---------- */

.o-section { padding: clamp(3.5rem, 7vw, 6rem) 0; position: relative; }
.o-section--soft { background: var(--bg-soft); }
.o-section--navy { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-900) 100%); color: #dfe6f6; overflow: hidden; }
.o-section--navy .o-h2 { color: #fff; }
.o-section__head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 2.2rem; flex-wrap: wrap; position: relative; }
.o-section__head--center { flex-direction: column; align-items: center; text-align: center; }
.o-section__head .o-eyebrow { margin-bottom: .3rem; }
.o-h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 0; }
.o-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.o-split .o-h2 { margin-bottom: 1rem; }
@media (max-width: 900px) { .o-split { grid-template-columns: 1fr; } }

.o-checklist { list-style: none; padding: 0; margin: 0 0 1.6rem; display: grid; gap: .55rem; }
.o-checklist li { position: relative; padding-inline-start: 2rem; }
.o-checklist li::before { content: "✓"; position: absolute; inset-inline-start: 0; top: .2em; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--gold-50); color: var(--gold-600); font-size: .8rem; font-weight: 700; display: grid; place-items: center; line-height: 1; }
.o-checklist--sm { font-size: .93rem; gap: .4rem; margin-bottom: 1rem; }

/* Destinations */
.o-destinations { display: grid; gap: 1rem; }
.o-dest { position: relative; display: block; padding: 1.8rem; border-radius: var(--radius-lg); text-decoration: none; color: #fff; overflow: hidden; min-height: 170px; transition: transform .2s, box-shadow .2s; }
.o-dest:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: #fff; }
.o-dest--egypt { background: linear-gradient(135deg, var(--navy) 0%, #2f5bb5 100%); }
.o-dest--rwanda { background: linear-gradient(135deg, #8a6420 0%, var(--gold) 100%); }
.o-dest h3 { color: #fff; font-size: 1.4rem; margin-bottom: .2rem; }
.o-dest p { margin: 0; opacity: .9; }
.o-dest__flag { position: absolute; inset-inline-end: 1.2rem; top: 1rem; font-size: 3.2rem; opacity: .95; }
.o-dest::after { content: ""; position: absolute; width: 340px; height: 120px; border: 1.5px solid rgb(255 255 255 / 22%); border-radius: 50%; inset-inline-end: -100px; bottom: -40px; transform: rotate(-15deg); }

/* ---------- Cards ---------- */

.o-cards { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin: 1.5rem 0; }
.o-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem; transition: transform .2s, box-shadow .2s, border-color .2s; }
.o-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.o-card h3 { font-size: 1.12rem; margin: 1rem 0 .4rem; }
.o-card p { margin: 0; color: var(--muted); font-size: .96rem; }
.o-card__icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--navy-50); color: var(--navy); }
.o-card__icon .o-icon { width: 26px; height: 26px; }
.o-cards--values .o-card__icon { background: var(--gold-50); color: var(--gold-600); }
.o-cards--contact .o-card p a { font-weight: 600; font-size: 1.05rem; text-decoration: none; }

/* How it works */
.o-howto { list-style: none; padding: 0; margin: 0 0 2.5rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; position: relative; counter-reset: s; }
.o-howto li { position: relative; text-align: center; padding: 0 .6rem; }
.o-howto__n { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 1rem; border-radius: 50%; background: var(--gold); color: #fff; font-size: 1.5rem; font-weight: 700; box-shadow: 0 0 0 8px rgb(205 154 52 / 18%); position: relative; z-index: 1; }
.o-howto li:not(:last-child)::after { content: ""; position: absolute; top: 32px; inset-inline-start: calc(50% + 40px); width: calc(100% - 80px); border-top: 2px dashed rgb(255 255 255 / 25%); }
.o-howto h3 { font-size: 1.15rem; }
.o-section--navy .o-howto h3 { color: #fff; }
.o-section--navy .o-howto p { color: #c4cfe8; }
.o-prose .o-howto li::after { border-color: var(--line); }
.o-prose .o-howto { margin: 1.5rem 0; }
@media (max-width: 800px) {
	.o-howto { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; }
	.o-howto li::after { display: none; }
}

/* ---------- University cards ---------- */

.o-unigrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.1rem; }
.o-uni { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.3rem; display: flex; flex-direction: column; gap: .9rem; transition: transform .2s, box-shadow .2s, border-color .2s; }
.o-uni:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.o-uni[hidden] { display: none; }
.o-uni__link { display: flex; gap: .9rem; align-items: center; text-decoration: none; color: inherit; }
.o-uni__link::after { content: ""; }
.o-uni__mono {
	flex: none; width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; overflow: hidden;
	background: linear-gradient(135deg, var(--navy), #3460b8); color: #fff; font-size: 1.5rem; font-weight: 700;
}
.o-uni__mono img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.o-uni__mono--lg { width: 88px; height: 88px; font-size: 2.4rem; border-radius: 22px; background: linear-gradient(135deg, var(--gold), #e2b860); box-shadow: 0 10px 30px rgb(0 0 0 / 25%); }
.o-uni__title { font-size: 1.08rem; margin: 0; color: var(--ink); }
.o-uni__link:hover .o-uni__title { color: var(--navy); }
.o-uni__en { display: block; font-size: .8rem; color: var(--muted); line-height: 1.4; }
.o-uni__meta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem .9rem; font-size: .85rem; color: var(--muted); align-items: center; }
.o-uni__meta li { display: inline-flex; align-items: center; gap: .25em; }
.o-uni__price { margin: auto 0 0; padding-top: .8rem; border-top: 1px dashed var(--line); font-size: .9rem; color: var(--muted); }
.o-uni__price strong { color: var(--gold-600); font-size: 1.15rem; }

.o-tag { display: inline-block; padding: .1em .7em; border-radius: 999px; font-size: .78rem; font-weight: 600; background: var(--navy-50); color: var(--navy); }
.o-tag--private { background: #f1ecfb; color: #5b3aa8; }
.o-tag--national { background: var(--gold-50); color: var(--gold-600); }
.o-tag--light { background: rgb(255 255 255 / 14%); color: #fff; }

/* Archive filter bar */
.o-filterbar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-bottom: 1.8rem; align-items: center; }
.o-tabs { display: flex; flex-wrap: wrap; gap: .4rem; background: var(--bg-soft); padding: .35rem; border-radius: 999px; }
.o-tabs a { padding: .45rem 1.1rem; border-radius: 999px; text-decoration: none; color: var(--text); font-weight: 500; font-size: .95rem; }
.o-tabs a small { color: var(--muted); font-size: .78em; }
.o-tabs a.is-active { background: #fff; color: var(--navy); box-shadow: var(--shadow-sm); }
.o-search { display: flex; align-items: center; gap: .5rem; background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: 0 1rem; min-width: min(100%, 320px); color: var(--muted); }
.o-search:focus-within { border-color: var(--navy); }
.o-search input { border: 0; outline: 0; padding: .7rem 0; font: inherit; width: 100%; background: transparent; }
.o-search--sm { min-width: 240px; }

/* ---------- Page hero ---------- */

.o-pagehero { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--navy) 0%, var(--navy-900) 100%); color: #d6dff2; padding: clamp(2.4rem, 5vw, 4rem) 0; }
.o-pagehero .o-container { position: relative; }
.o-pagehero h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.7rem); margin: .2em 0 .2em; }
.o-pagehero__sub { max-width: 48em; font-size: 1.08rem; margin: 0; opacity: .9; }
.o-crumbs { font-size: .88rem; display: flex; flex-wrap: wrap; gap: .5rem; opacity: .85; }
.o-crumbs a { color: #fff; text-decoration: none; }
.o-crumbs a:hover { color: var(--gold); }

.o-unihead { display: flex; gap: 1.4rem; align-items: center; margin-top: 1rem; flex-wrap: wrap; }
.o-unihead h1 { margin: 0; }
.o-unihead__en { margin: 0; opacity: .8; }
.o-unihead__meta { list-style: none; padding: 0; margin: .6rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1.1rem; align-items: center; font-size: .92rem; }
.o-unihead__meta li { display: inline-flex; align-items: center; gap: .3em; }
.o-unihead__meta a { color: #fff; }
.o-unihead__cta { margin-inline-start: auto; }

.o-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); margin-top: -1.8rem; position: relative; overflow: hidden; }
.o-kpis > div { padding: 1.2rem 1.4rem; border-inline-start: 1px solid var(--line); }
.o-kpis > div:first-child { border: 0; }
.o-kpis span { display: block; font-size: .85rem; color: var(--muted); }
.o-kpis strong { font-size: 1.6rem; color: var(--navy); line-height: 1.3; }
.o-kpis__gold { background: var(--gold-50); }
.o-kpis__gold strong { color: var(--gold-600); }

.o-unibody__main { min-width: 0; }
.o-unibody { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 2.5rem; align-items: start; }
.o-unibody__side { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 1rem; }
@media (max-width: 960px) { .o-unibody { grid-template-columns: 1fr; } .o-unibody__side { position: static; } }

.o-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.4rem; }
.o-box h3 { font-size: 1.05rem; display: flex; gap: .5rem; align-items: center; color: var(--navy); }
.o-box--wa { display: flex; gap: .9rem; align-items: center; background: #e9f9ef; border-color: #c9eed7; color: #0f5132; text-decoration: none; font-size: .92rem; line-height: 1.5; }
.o-box--wa .o-icon { width: 38px; height: 38px; color: #1faa53; }
.o-box--wa:hover { color: #0f5132; box-shadow: var(--shadow-sm); }

/* Programs table */
.o-programs { margin-top: 2.5rem; }
.o-programs__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.o-programs__head h2 { margin: 0; font-size: 1.5rem; }
.o-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.o-chips button { font: inherit; font-size: .88rem; padding: .35rem 1rem; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--text); cursor: pointer; }
.o-chips button:hover { border-color: var(--navy); }
.o-chips button.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }

.o-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; -webkit-overflow-scrolling: touch; }
.o-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.o-table th { background: var(--bg-soft); color: var(--ink); font-weight: 600; text-align: start; padding: .85rem 1rem; white-space: nowrap; font-size: .88rem; border-bottom: 1px solid var(--line); }
.o-table td { padding: .8rem 1rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
.o-table td[dir="ltr"] { text-align: end; }
body.rtl .o-table td[dir="ltr"] { text-align: right; }
.o-table tbody tr:last-child td { border-bottom: 0; }
.o-table tbody tr:hover { background: #fafbfe; }
.o-table tr[hidden] { display: none; }

/* ---------- Prose (page content) ---------- */

.o-page { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.o-page--toc { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 3rem; align-items: start; }
.o-page--narrow { max-width: 820px; }
@media (max-width: 960px) { .o-page--toc { grid-template-columns: 1fr; } }

.o-toc { position: sticky; top: calc(var(--header-h) + 20px); background: var(--bg-soft); border-radius: var(--radius-lg); padding: 1.3rem; font-size: .93rem; }
.o-toc__title { font-weight: 700; color: var(--ink); margin-bottom: .6rem; }
.o-toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: .1rem; }
.o-toc a { display: block; padding: .4rem .7rem; border-radius: 8px; text-decoration: none; color: var(--text); border-inline-start: 3px solid transparent; }
.o-toc a:hover { background: #fff; }
.o-toc a.is-active { background: #fff; color: var(--navy); border-inline-start-color: var(--gold); font-weight: 600; }
@media (max-width: 960px) { .o-toc { position: static; } }

.o-prose { min-width: 0; }
.o-prose > *:first-child { margin-top: 0; }
.o-prose h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); margin: 2.4rem 0 1rem; padding-bottom: .5rem; border-bottom: 2px solid var(--line); position: relative; }
.o-prose h2::after { content: ""; position: absolute; bottom: -2px; inset-inline-start: 0; width: 60px; height: 2px; background: var(--gold); }
.o-prose h3 { font-size: 1.2rem; margin: 1.8rem 0 .7rem; color: var(--navy); }
.o-prose ul, .o-prose ol { padding-inline-start: 1.4rem; margin: 0 0 1.2rem; }
.o-prose li { margin-bottom: .4rem; }
.o-prose li::marker { color: var(--gold-600); font-weight: 700; }
.o-prose table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: .95rem; border: 1px solid var(--line); }
.o-prose th { background: var(--navy); color: #fff; text-align: start; padding: .8rem 1rem; font-weight: 600; }
.o-prose td { padding: .75rem 1rem; border-bottom: 1px solid var(--line); }
.o-prose tbody tr:nth-child(even) { background: var(--bg-soft); }
.o-prose blockquote { margin: 1.5rem 0; padding: 1.5rem 1.8rem; background: var(--gold-50); border-inline-start: 4px solid var(--gold); border-radius: var(--radius); font-size: 1.1rem; }
.o-prose blockquote p:first-child { font-size: 1.5rem; font-weight: 700; color: var(--navy); margin-bottom: .3rem; }
.o-prose blockquote p:last-child { margin: 0; }
.o-prose img { border-radius: var(--radius); }
.o-lead { font-size: 1.18rem; color: var(--ink); line-height: 1.85; }
.o-note { background: var(--navy-50); border-inline-start: 4px solid var(--navy); padding: 1rem 1.2rem; border-radius: 10px; font-size: .97rem; }
.o-hint { font-size: .87rem; color: var(--muted); }
.o-featured { margin: 0 0 2rem; }
.o-empty { text-align: center; color: var(--muted); padding: 2rem; }

@media (max-width: 600px) {
	.o-prose table { display: block; overflow-x: auto; white-space: nowrap; }
}

/* ---------- CTA band ---------- */

.o-cta {
	position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
	background: linear-gradient(135deg, var(--navy) 0%, var(--navy-900) 100%); color: #d6dff2; border-radius: var(--radius-lg);
	padding: clamp(1.6rem, 4vw, 2.6rem); margin: 2.5rem 0;
}
.o-cta::after { content: ""; position: absolute; width: 520px; height: 200px; border: 1.5px solid rgb(205 154 52 / 40%); border-radius: 50%; inset-inline-start: -160px; bottom: -110px; transform: rotate(-12deg); pointer-events: none; }
.o-cta h3 { color: #fff; font-size: clamp(1.3rem, 2.5vw, 1.7rem); margin-bottom: .3rem; }
.o-cta p { margin: 0; max-width: 38em; }
.o-cta__actions { display: flex; flex-wrap: wrap; gap: .7rem; position: relative; z-index: 1; }
.o-prose .o-cta h3 { color: #fff; margin-top: 0; }

/* ---------- Posts ---------- */

.o-postgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.4rem; }
.o-post { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.o-post:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.o-post__img { display: block; aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--navy), #3460b8); }
.o-post__img img { width: 100%; height: 100%; object-fit: cover; }
.o-post__ph { display: grid; place-items: center; height: 100%; }
.o-post__ph img { width: 80px; height: auto; opacity: .9; object-fit: contain; }
.o-post__body { padding: 1.3rem; }
.o-post time { font-size: .83rem; color: var(--muted); }
.o-post h3 { font-size: 1.12rem; margin: .3rem 0 .5rem; }
.o-post h3 a { color: var(--ink); text-decoration: none; }
.o-post h3 a:hover { color: var(--navy); }
.o-post p { color: var(--muted); font-size: .95rem; margin: 0; }
.o-pagination { margin-top: 2.5rem; }
.o-pagination .nav-links { display: flex; justify-content: center; gap: .4rem; flex-wrap: wrap; }
.o-pagination .page-numbers { padding: .45rem .95rem; border-radius: 10px; border: 1px solid var(--line); text-decoration: none; color: var(--text); }
.o-pagination .current { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ---------- Forms ---------- */

.o-form-wrap { scroll-margin-top: calc(var(--header-h) + 20px); }
.o-form { display: grid; gap: 1.4rem; }
.o-form fieldset { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.4rem clamp(1rem, 3vw, 1.8rem) 1.6rem; margin: 0; background: #fff; }
.o-form legend { font-weight: 700; color: var(--ink); padding: 0 .5rem; display: flex; align-items: center; gap: .6rem; font-size: 1.08rem; }
.o-form legend span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--gold); color: #fff; font-size: .9rem; }
.o-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.2rem; }
@media (max-width: 640px) { .o-grid { grid-template-columns: 1fr; } }
.o-field { display: flex; flex-direction: column; gap: .35rem; font-size: .92rem; font-weight: 500; color: var(--ink); }
.o-field--full { grid-column: 1 / -1; }
.o-field b, .o-file b { color: #c0392b; font-weight: 600; }
.o-field input, .o-field select, .o-field textarea {
	font: inherit; font-size: 1rem; font-weight: 400; width: 100%; padding: .7rem .95rem; border: 1.5px solid var(--line); border-radius: 12px;
	background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.o-field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23627089' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 18px; background-position: left .8rem center; padding-inline-end: 2.4rem; }
body:not(.rtl) .o-field select { background-position: right .8rem center; }
.o-field input:focus, .o-field select:focus, .o-field textarea:focus { outline: 0; border-color: var(--navy); box-shadow: 0 0 0 4px rgb(34 60 122 / 12%); }
.o-field input::placeholder, .o-field textarea::placeholder { color: #a3adc2; }

.o-file { position: relative; display: flex; flex-direction: column; gap: .4rem; font-size: .92rem; font-weight: 500; color: var(--ink); }
.o-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; z-index: 1; }
.o-file__name { display: flex; align-items: center; gap: .5rem; padding: .8rem 1rem; border: 1.5px dashed #c5cfe3; border-radius: 12px; background: var(--bg-soft); color: var(--muted); font-weight: 400; font-size: .9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: .15s; }
.o-file__name::before { content: "⬆"; color: var(--navy); }
.o-file:hover .o-file__name, .o-file:focus-within .o-file__name { border-color: var(--navy); background: var(--navy-50); }
.o-file.has-file .o-file__name { border-style: solid; border-color: var(--good); background: var(--good-bg); color: var(--good); }
.o-file.has-file .o-file__name::before { content: "✓"; color: var(--good); }
.o-file__label { display: block; }
.o-file:focus-within { outline: none; }
.o-file input:focus-visible + .o-file__name { outline: 3px solid var(--gold); outline-offset: 2px; }

.o-check { display: flex; gap: .7rem; align-items: flex-start; font-size: .93rem; margin-top: 1rem; cursor: pointer; }
.o-check input { width: 20px; height: 20px; margin-top: .25rem; accent-color: var(--navy); flex: none; }
.o-form--compact { gap: 1rem; }

.o-alert { padding: 1.2rem 1.4rem; border-radius: var(--radius); margin-bottom: 1.4rem; border: 1px solid; }
.o-alert--success { background: var(--good-bg); border-color: #b9e5c8; color: #0f5132; }
.o-alert--error { background: var(--bad-bg); border-color: #f5c2bd; color: var(--bad); }
.o-alert--info { background: var(--navy-50); border-color: var(--navy-100); color: var(--navy-700); }
.o-alert h3 { color: inherit; }
.o-code { font-size: 1.8rem; font-weight: 700; letter-spacing: .05em; background: #fff; display: inline-block; padding: .3rem 1.2rem; border-radius: 10px; color: var(--navy); border: 2px dashed var(--gold); }

.o-badge { display: inline-block; padding: .2em .8em; border-radius: 999px; font-size: .82rem; font-weight: 600; background: var(--navy-50); color: var(--navy); white-space: nowrap; }
.o-badge--good { background: var(--good-bg); color: var(--good); }
.o-badge--warn { background: var(--warn-bg); color: var(--warn); }
.o-badge--bad { background: var(--bad-bg); color: var(--bad); }

/* Tracking result */
.o-track { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.2rem, 3vw, 2rem); }
.o-track__head { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; padding-bottom: 1rem; border-bottom: 1px solid var(--line); margin-bottom: 1rem; }
.o-track__head small { display: block; color: var(--muted); }
.o-track__head strong { font-size: 1.15rem; color: var(--ink); }
.o-track__head .o-badge { margin-inline-start: auto; font-size: .95rem; padding: .35em 1em; }
.o-track__desc { font-size: 1.05rem; }
.o-track h4 { margin-top: 1.5rem; }
.o-steps { list-style: none; padding: 0; margin: 1.8rem 0; display: grid; grid-template-columns: repeat(6, 1fr); position: relative; }
.o-steps li { text-align: center; position: relative; font-size: .82rem; color: var(--muted); padding: 0 .2rem; }
.o-steps li::before { content: ""; position: absolute; top: 11px; inset-inline-start: 50%; width: 100%; height: 3px; background: var(--line); }
.o-steps li:last-child::before { display: none; }
.o-steps__dot { position: relative; z-index: 1; display: block; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 3px solid var(--line); margin: 0 auto .5rem; }
.o-steps li.is-done::before { background: var(--gold); }
.o-steps li.is-done .o-steps__dot { background: var(--gold); border-color: var(--gold); }
.o-steps li.is-current .o-steps__dot { border-color: var(--navy); background: var(--navy); box-shadow: 0 0 0 5px rgb(34 60 122 / 15%); }
.o-steps li.is-current { color: var(--navy); font-weight: 700; }
@media (max-width: 640px) {
	.o-steps { grid-template-columns: 1fr; gap: .2rem; }
	.o-steps li { display: flex; align-items: center; gap: .8rem; text-align: start; padding: .3rem 0; }
	.o-steps li::before { display: none; }
	.o-steps__dot { margin: 0; }
}
.o-doclist { list-style: none; padding: 0; display: grid; gap: .3rem; color: var(--good); }
.o-doclist small { color: var(--muted); }
.o-upload-more { margin: 1.5rem 0; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem; }
.o-upload-more summary { cursor: pointer; font-weight: 600; color: var(--navy); }
.o-upload-more[open] summary { margin-bottom: 1rem; }

/* Program finder */
.o-finder__filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1rem; background: var(--bg-soft); padding: 1.3rem; border-radius: var(--radius-lg); margin-bottom: 1rem; align-items: end; }
.o-finder__near { grid-column: 1 / -1; margin: 0; }
.o-finder__count { font-weight: 700; color: var(--navy); font-size: 1.1rem; }
.o-finder__table td:first-child { min-width: 200px; }
.o-finder__table .o-badge { margin-inline-start: .3rem; font-size: .72rem; }

/* ---------- Footer ---------- */

.o-footer { background: var(--navy-900); color: #b7c3de; font-size: .95rem; position: relative; overflow: hidden; }
.o-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; padding: 4rem 0 3rem; }
.o-footer .o-logo img { height: 60px; margin-bottom: 1rem; }
.o-footer__slogan { color: var(--gold); font-weight: 600; }
.o-footer__title { color: #fff; font-size: 1.05rem; margin-bottom: 1rem; }
.o-footer__links, .o-footer__contact { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.o-footer a { color: #b7c3de; text-decoration: none; }
.o-footer a:hover { color: var(--gold); }
.o-footer__contact li { display: flex; gap: .6rem; align-items: flex-start; }
.o-footer__contact .o-icon { color: var(--gold); margin-top: .35em; }
.o-footer__bottom { border-top: 1px solid rgb(255 255 255 / 8%); padding: 1.2rem 0; font-size: .85rem; }
.o-footer__bottom p { margin: 0; }
.o-social { display: flex; gap: .5rem; margin-top: 1rem; }
.o-social a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgb(255 255 255 / 7%); color: #fff; }
.o-social a:hover { background: var(--gold); color: #fff; }
.o-social svg { width: 20px; height: 20px; }
@media (max-width: 900px) { .o-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .o-footer__grid { grid-template-columns: 1fr; gap: 2rem; } }

/* WhatsApp floating button */
.o-wa {
	position: fixed; bottom: 20px; inset-inline-start: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
	background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgb(37 211 102 / 45%);
	transition: transform .2s;
}
.o-wa:hover { transform: scale(1.08); color: #fff; }
.o-wa svg { width: 32px; height: 32px; }
.o-wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: o-pulse 2.2s infinite; }
@keyframes o-pulse { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }

/* ---------- Motion preferences ---------- */

[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	[data-reveal] { opacity: 1; transform: none; }
}

@media print {
	.o-topbar, .o-header, .o-footer, .o-wa, .o-cta, .o-toc { display: none !important; }
}

.o-field__label b { margin-inline-start: .15em; }
