:root {
  --green: #2B4941;
  --green-2: #345a50;
  --green-dark: #1f3631;
  --olive: #82765C;
  --olive-text: #675c43;
  --gold: #B2A078;
  --ivory: #F3E9E0;
  --ivory-2: #faf5ef;
  --ink: #1d2a27;
  --muted: #5f6b67;
  --line: #e4d9cc;
  --white: #fff;
  --radius: 16px;
  --shadow: 0 6px 24px rgba(31, 54, 49, .08);
  --font: "Readex Pro", "Segoe UI", Tahoma, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--ivory-2); line-height: 1.7; font-size: 16px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--green); text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.3; margin: 0 0 .5em; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); }
.muted { color: var(--muted); }
.mt { margin-top: 2rem; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .65em 1.3em; border-radius: 999px; font: inherit; font-weight: 500; border: 2px solid transparent; cursor: pointer; transition: .2s; white-space: nowrap; }
.btn-lg { padding: .85em 1.7em; font-size: 1.05rem; }
.btn-block { display: flex; width: 100%; }
.btn-gold { background: var(--gold); color: var(--green-dark); }
.btn-gold:hover { background: #c4b38b; }
.btn-ghost { border-color: rgba(243, 233, 224, .55); color: var(--ivory); }
.btn-ghost:hover { background: rgba(243, 233, 224, .12); }
.btn-outline { border-color: var(--green); color: var(--green); background: transparent; }
.btn-outline:hover { background: var(--green); color: var(--ivory); }
.btn:disabled { opacity: .6; cursor: wait; }
.link { color: var(--olive-text); font-weight: 500; }
.link:hover { color: var(--green); text-decoration: underline; }

.demo-banner { background: #8a5a00; color: #fff; text-align: center; font-size: .85rem; padding: 4px 12px; }

/* topbar */
.topbar { background: var(--green-dark); color: var(--ivory); font-size: .85rem; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 38px; flex-wrap: wrap; }
.topbar a { color: var(--ivory); display: inline-flex; align-items: center; gap: 6px; opacity: .9; }
.topbar a:hover { opacity: 1; }
.tb-social { display: flex; gap: 14px; }
.lang-switch { display: flex; gap: 4px; }
.lang-switch button { background: none; border: 1px solid transparent; color: var(--ivory); font: inherit; font-size: .8rem; padding: 2px 10px; border-radius: 999px; cursor: pointer; opacity: .75; }
.lang-switch button.on { border-color: var(--gold); color: var(--gold); opacity: 1; }

/* header */
.header { background: var(--white); position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 0 var(--line); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand-logo { height: 44px; width: auto; }
.brand-logo.ar { height: 52px; }
.nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav > a, .dd > a { padding: 8px 10px; border-radius: 8px; color: var(--ink); font-size: .95rem; }
.nav > a:hover, .dd > a:hover, .nav a.active { color: var(--green); background: var(--ivory); }
.nav .nav-cta { color: var(--green-dark); margin-inline-start: 8px; }
.nav .nav-cta:hover { background: #c4b38b; }
.dd { position: relative; }
.dd-menu { position: absolute; inset-inline-start: 0; top: 100%; background: var(--white); border-radius: 12px; box-shadow: var(--shadow); padding: 8px; min-width: 230px; display: none; border: 1px solid var(--line); }
.dd:hover .dd-menu, .dd:focus-within .dd-menu { display: block; }
.dd-menu a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--ink); }
.dd-menu a:hover { background: var(--ivory); }
.menu-btn { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.menu-btn span { display: block; width: 24px; height: 2px; background: var(--green); margin: 5px 0; transition: .2s; }

/* ticker */
.ticker { background: var(--ivory); border-bottom: 1px solid var(--line); font-size: .9rem; overflow: hidden; }
.ticker-in { display: flex; align-items: center; gap: 12px; min-height: 40px; }
.ticker-label { background: var(--olive-text); color: #fff; padding: 2px 12px; border-radius: 999px; font-size: .8rem; flex: none; }
.ticker-track { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.ticker-move { display: inline-flex; gap: 18px; white-space: nowrap; animation: tick 40s linear infinite; }
[dir=rtl] .ticker-move { animation-name: tick-rtl; }
.ticker-move:hover { animation-play-state: paused; }
.ticker a { color: var(--ink); }
.ticker .dot { color: var(--olive); }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes tick-rtl { from { transform: translateX(0); } to { transform: translateX(50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-move { animation: none; } }

/* hero */
.hero { background: var(--green); color: var(--ivory); position: relative; overflow: hidden; padding: 72px 0 40px; }
.hero.has-img { background: linear-gradient(rgba(31, 54, 49, .82), rgba(31, 54, 49, .9)), var(--hero-img) center/cover; }
.hero-pattern { position: absolute; inset: 0; background: radial-gradient(circle at 85% 20%, rgba(178, 160, 120, .18), transparent 40%), radial-gradient(circle at 10% 90%, rgba(178, 160, 120, .12), transparent 35%); pointer-events: none; }
.hero-in { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.eyebrow { color: var(--gold); font-weight: 500; letter-spacing: .04em; }
.hero h1 { font-size: clamp(2rem, 4.5vw, 3.3rem); font-weight: 700; }
.lead { font-size: 1.15rem; opacity: .92; max-width: 60ch; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.hero-mark { display: flex; justify-content: center; }
.hero-mark img { width: min(320px, 80%); opacity: .95; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .25)); }
.stats { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; }
.stat { background: rgba(243, 233, 224, .08); border: 1px solid rgba(243, 233, 224, .15); border-radius: var(--radius); padding: 18px; text-align: center; }
.stat b { display: block; font-size: 1.8rem; color: var(--gold); }
.stat span { font-size: .92rem; opacity: .9; }
.stats.dark { margin-top: 0; }
.stats.dark .stat { background: var(--green); color: var(--ivory); }

/* sections */
.section { padding: 64px 0; }
.section.alt { background: var(--ivory); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.sec-head h2 { font-size: clamp(1.5rem, 3vw, 2rem); color: var(--green); margin: 0; }
.sec-head p { color: var(--muted); margin: 4px 0 0; }
.page-head { background: var(--green); color: var(--ivory); padding: 48px 0 40px; }
.page-head h1 { font-size: clamp(1.7rem, 4vw, 2.5rem); margin: 0; }
.page-head p { opacity: .85; margin: 8px 0 0; max-width: 70ch; }

.grid { display: grid; gap: 20px; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; color: var(--ink); transition: transform .2s, box-shadow .2s; }
a.card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(31, 54, 49, .14); }
.card-body { padding: 16px 18px 18px; }
.card h3 { font-size: 1.08rem; margin-bottom: .3em; }
.meta { color: var(--muted); font-size: .88rem; margin: 0; }
.thumb { position: relative; aspect-ratio: 16/10; background: var(--ivory); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb-ph { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(135deg, var(--green), var(--green-2)); }
.thumb-ph img { width: 34%; height: auto; opacity: .9; }
.tag { position: absolute; top: 10px; inset-inline-start: 10px; padding: 2px 10px; border-radius: 999px; font-size: .78rem; background: var(--ivory); color: var(--green); }
.tag.private { background: var(--gold); color: var(--green-dark); }
.page-head .tag { position: static; display: inline-block; margin-bottom: 8px; }
.price { margin: 8px 0 0; font-size: .92rem; color: var(--muted); }
.price b { color: var(--green); font-size: 1.05rem; }
.price.big b { font-size: 1.5rem; }
.price-pill { background: var(--ivory); color: var(--green); border-radius: 999px; padding: 4px 12px; font-size: .9rem; font-weight: 600; }
.price-pill.muted { color: var(--muted); font-weight: 400; }

.service-card { padding: 24px; }
.svc-icon { width: 56px; height: 56px; border-radius: 14px; background: var(--ivory); display: grid; place-items: center; font-size: 1.6rem; margin-bottom: 14px; overflow: hidden; }
.svc-icon img { width: 100%; height: 100%; object-fit: cover; }
.service-card p { color: var(--muted); flex: 1; }
.svc-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; flex-wrap: wrap; }

.quick-links { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.ql { background: var(--white); border: 1px solid var(--line); padding: 8px 16px; border-radius: 999px; color: var(--ink); font-size: .93rem; }
.ql:hover { border-color: var(--olive); color: var(--green); }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: s; }
.steps li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; position: relative; }
.steps .num { width: 40px; height: 40px; border-radius: 50%; background: var(--green); color: var(--gold); display: grid; place-items: center; font-weight: 700; margin-bottom: 12px; }
.steps h3 { font-size: 1.02rem; }
.steps p { color: var(--muted); font-size: .92rem; margin: 0; }

.sch-card { padding: 22px; }
.sch-card p { color: var(--muted); margin: 0; }
.sch-full { padding: 28px; margin-bottom: 20px; }
.sch-img { border-radius: 12px; margin-bottom: 16px; max-height: 280px; object-fit: cover; width: 100%; }
.row-gap { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }

.article-card .cat, .cat { display: inline-block; font-size: .78rem; color: var(--olive-text); font-weight: 600; margin-bottom: 4px; }
.article-img { border-radius: var(--radius); margin-bottom: 24px; width: 100%; }

.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; }
.faq summary { padding: 16px 20px; cursor: pointer; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::marker { content: ""; }
.faq summary::after { content: "+"; color: var(--olive); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding: 0 20px 6px; color: var(--muted); }

.cta-band { background: var(--green); color: var(--ivory); padding: 48px 0; }
.cta-in { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-in h2 { color: var(--gold); }
.cta-in p { margin: 0; opacity: .9; }
.cta-in .hero-actions { margin: 0; }

/* list pages */
.filters { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 24px; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.filters .tabs { margin: 0; }
.tabs a { padding: 6px 16px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); color: var(--ink); font-size: .93rem; }
.tabs a.on { background: var(--green); color: var(--ivory); border-color: var(--green); }
input, select, textarea { font: inherit; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); color: var(--ink); width: 100%; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
.filters input, .filters select { width: auto; flex: 1; min-width: 180px; }
.wide-search { margin-bottom: 24px; }
.empty { color: var(--muted); padding: 24px 0; }

.two-col { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }
.prose { font-size: 1.04rem; }
.prose h2 { color: var(--green); margin-top: 1.5em; }
.prose h3 { color: var(--green); margin-top: 1.4em; font-size: 1.1rem; }
.side-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 12px; position: sticky; top: 96px; }
.side-card.center { align-items: center; text-align: center; }
.about-logo { max-width: 240px; margin: 10px 0; }
.uni-head-in { display: flex; gap: 24px; align-items: center; }
.uni-logo { width: 120px; height: 120px; border-radius: 20px; overflow: hidden; flex: none; border: 3px solid rgba(243, 233, 224, .2); }
.uni-logo > img, .uni-logo .thumb-ph { width: 100%; height: 100%; object-fit: cover; }
.uni-logo .thumb-ph img { width: 50%; height: auto; }

.table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: 12px; overflow: hidden; border: 1px solid var(--line); font-size: .96rem; }
.table th, .table td { padding: 10px 14px; text-align: start; border-bottom: 1px solid var(--line); }
.table th { background: var(--ivory); color: var(--green); font-weight: 600; }
.table tr:last-child td { border-bottom: 0; }
.table td:last-child { font-weight: 600; color: var(--green); white-space: nowrap; }
.note { color: var(--muted); font-size: .88rem; margin-top: 10px; }
.price-block { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 18px; }
.pb-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.pb-head h3 { margin: 0; color: var(--green); }

.timeline { list-style: none; padding: 0; margin: 0 0 1rem; }
.timeline li { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.timeline time { color: var(--olive-text); font-weight: 600; }
.timeline h3 { font-size: 1.05rem; margin: 0; }
.timeline p { color: var(--muted); margin: 4px 0 0; font-size: .92rem; }
.timeline.past { opacity: .6; }

.contact-list { display: grid; gap: 22px; }
.contact-list h3 { color: var(--green); font-size: 1rem; margin-bottom: 4px; }
.map { width: 100%; height: 380px; border: 0; border-radius: var(--radius); }

/* form */
.form { padding: 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 18px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: .93rem; font-weight: 500; }
.form label.full { grid-column: 1 / -1; }
.form label.check { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; }
.form label.check input { width: 20px; height: 20px; flex: none; margin-top: 3px; accent-color: var(--green); }
.form label.invalid input, .form label.invalid select { border-color: #b3261e; }
.form label.invalid.check span { color: #b3261e; }
.req { color: #b3261e; }
.hp, .sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.form-error { color: #b3261e; font-weight: 500; }
.done { padding: 40px; text-align: center; align-items: center; }
.done h2 { color: var(--green); }

/* footer */
.footer { background: var(--green-dark); color: var(--ivory); padding-top: 48px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer h2.f-h { font-size: 1rem; }
.footer h4, .footer h2.f-h { color: var(--gold); font-size: 1rem; margin-bottom: 12px; }
.footer a, .footer span { display: block; color: var(--ivory); opacity: .85; margin-bottom: 6px; font-size: .93rem; }
.footer a:hover { opacity: 1; }
.footer-logo { height: 52px; width: auto; margin-bottom: 12px; }
.muted-light { opacity: .7; font-size: .9rem; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(243, 233, 224, .1); margin: 0; }
.footer-social.dark a { background: var(--ivory); color: var(--green); }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(243, 233, 224, .12); margin-top: 32px; padding: 18px 0; flex-wrap: wrap; }
.footer-bottom span, .footer-bottom a { margin: 0; font-size: .85rem; opacity: .6; }

.wa-fab { position: fixed; bottom: 20px; inset-inline-end: 20px; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .2); z-index: 60; }
.wa-fab svg { width: 30px; height: 30px; }
.loading { min-height: 60vh; display: grid; place-items: center; }
.loading img { width: 80px; animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .3; } }

/* responsive */
@media (max-width: 1100px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 100%; inset-inline: 0; background: var(--white); flex-direction: column; flex-wrap: nowrap; align-items: stretch; padding: 12px 16px 20px; box-shadow: var(--shadow); max-height: calc(100vh - 120px); overflow: auto; }
  .nav-open .nav { display: flex; }
  .dd-menu { display: block; position: static; box-shadow: none; border: 0; padding: 0 12px; }
  .nav .nav-cta { margin: 8px 0 0; }
  .g4 { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .hero-in, .two-col { grid-template-columns: 1fr; }
  .hero-mark { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .g3, .g4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .side-card { position: static; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .g3, .g4, .steps, .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 1fr; gap: 4px; }
  .tb-contact { display: none; }
  .section { padding: 44px 0; }
  .hero { padding: 48px 0 32px; }
  .brand-logo { height: 36px; }
  .brand-logo.ar { height: 44px; }
  .uni-head-in { flex-direction: column; align-items: flex-start; }
  .uni-logo { width: 84px; height: 84px; }
  .form { padding: 20px; }
}

/* admission calendar table */
.cal-search { padding: 20px; margin-bottom: 18px; background: var(--ivory); box-shadow: none; }
.cal-search label { font-weight: 600; color: var(--green); margin-bottom: 10px; display: block; }
.cal-search-row { display: flex; gap: 10px; flex-wrap: wrap; }
.cal-search-row input { flex: 3; min-width: 220px; }
.cal-search-row select { flex: 1; min-width: 150px; width: auto; }
.btn-clear { background: var(--olive-text); color: #fff; border-radius: 10px; }
.btn-clear:hover { background: var(--green); }
.cal-legend { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; font-size: .9rem; }
.lg { display: inline-flex; align-items: center; gap: 6px; }
.lg::before { content: ""; width: 14px; height: 14px; border-radius: 4px; background: var(--c); }
.lg.open, .st-open { --c: #1a7a43; --bg: #cdebd7; }
.lg.soon, .st-soon { --c: #675c43; --bg: #ffffff; }
.lg.closed, .st-closed { --c: #c0392b; --bg: #f6d4d0; }
.lg.soon::before { background: #fff; border: 1px solid var(--line); }
.cal-wrap { background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); overflow-x: auto; }
.cal-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.cal-table th { background: var(--green); color: var(--ivory); font-weight: 500; padding: 14px; text-align: start; white-space: nowrap; }
.cal-table td { padding: 14px; border-bottom: 1px solid rgba(0, 0, 0, .06); background: var(--bg); }
.cal-table tr td:first-child { border-inline-start: 5px solid var(--c); }
.cal-table td b { display: block; color: var(--ink); }
.cal-lvl { display: inline-block; margin-top: 4px; margin-inline-end: 6px; font-size: .75rem; color: var(--green); border: 1px solid currentColor; padding: 0 8px; border-radius: 999px; }
.st-badge { display: inline-block; margin-top: 4px; font-size: .75rem; color: #fff; background: var(--c); padding: 1px 8px; border-radius: 999px; }
.st-closed td { color: #6b2a23; }
.st-closed .btn-reg { background: #5c6260; }
.cal-act { white-space: nowrap; }
.btn-reg { background: var(--green); color: var(--ivory); padding: .45em 1.1em; border-radius: 10px; font-size: .9rem; }
.btn-reg:hover { background: var(--green-dark); }
@media (max-width: 760px) {
  .cal-table thead { display: none; }
  .cal-table, .cal-table tbody, .cal-table tr, .cal-table td { display: block; width: 100%; }
  .cal-table tr { border-inline-start: 5px solid var(--c); background: var(--bg); margin-bottom: 10px; border-radius: 10px; overflow: hidden; }
  .cal-table tr td:first-child { border-inline-start: 0; }
  .cal-table td { border: 0; padding: 6px 14px; display: flex; justify-content: space-between; gap: 12px; }
  .cal-table td[data-l]::before { content: attr(data-l); color: var(--muted); font-size: .85rem; flex: none; }
  .cal-table td:first-child { display: block; padding-top: 12px; }
  .cal-table td:first-child::before { display: none; }
  .cal-act { padding-bottom: 12px !important; }
}

/* university page */
.uni-hero { position: relative; min-height: 380px; display: flex; align-items: stretch; color: #fff; background: linear-gradient(135deg, var(--green-dark), var(--green)); overflow: hidden; }
.uni-hero.has-img { background: linear-gradient(180deg, rgba(0,0,0,.15) 30%, rgba(20,35,31,.88)), var(--cover) center/cover; min-height: 460px; }
.uni-hero-mark { position: absolute; inset-inline-end: 6%; top: 50%; transform: translateY(-50%); width: 260px; opacity: .14; }
.uni-hero-in { position: relative; padding: 24px 0 36px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: inherit; }
.crumbs { font-size: .88rem; opacity: .85; }
.crumbs a { color: #fff; }
.uni-hero-title { display: flex; gap: 20px; align-items: flex-end; }
.uni-hero h1 { font-size: clamp(1.8rem, 4.5vw, 3rem); margin: 8px 0 4px; text-shadow: 0 2px 12px rgba(0,0,0,.3); }
.alt-name { display: block; font-size: .5em; font-weight: 500; opacity: .85; margin-top: 4px; }
.uni-hero p { margin: 0; opacity: .9; }
.uni-hero .tag { position: static; display: inline-block; background: var(--gold); color: var(--green-dark); }
.uni-hero .uni-logo { width: 96px; height: 96px; background: #fff; border-radius: 18px; padding: 8px; flex: none; }
.uni-hero .uni-logo img { width: 100%; height: 100%; object-fit: contain; }
.uni-tabs { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 76px; z-index: 20; }
.uni-tabs .wrap { display: flex; gap: 4px; overflow-x: auto; }
.uni-tabs a { padding: 14px 16px; color: var(--ink); white-space: nowrap; border-bottom: 3px solid transparent; }
.uni-tabs a:hover { color: var(--green); border-color: var(--gold); }
.uni-body { min-width: 0; }
.uni-sec { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 20px; scroll-margin-top: 150px; }
.uni-sec h2 { color: var(--green); font-size: 1.3rem; padding-bottom: 10px; border-bottom: 2px solid var(--ivory); margin-bottom: 16px; }
.uni-sec p:last-child { margin-bottom: 0; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: var(--ivory); color: var(--green); padding: 6px 14px; border-radius: 999px; font-size: .93rem; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.checks li { padding-inline-start: 30px; position: relative; }
.checks li::before { content: "✓"; position: absolute; inset-inline-start: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--green); color: var(--gold); display: grid; place-items: center; font-size: .8rem; top: 2px; }
.uni-dates { display: grid; gap: 12px; }
.ud { background: var(--bg); border: 1px solid rgba(0,0,0,.06); border-inline-start: 5px solid var(--c); border-radius: 12px; padding: 14px 16px; }
.ud dl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 10px 0 0; }
.ud dt { font-size: .8rem; color: #4d5653; }
.ud dd { margin: 0; font-weight: 600; }
.ud .btn-reg { display: inline-block; margin-top: 12px; }
.uni-cta { flex-direction: row; align-items: center; justify-content: space-between; gap: 16px; padding: 24px; background: var(--ivory); box-shadow: none; flex-wrap: wrap; }
.uni-cta h3 { color: var(--green); }
.uni-cta p { margin: 0; color: var(--muted); }
.uni-side { display: grid; gap: 18px; position: sticky; top: 140px; }
.uni-side .side-card { position: static; }
.facts { display: grid; gap: 8px; margin: 0; }
.facts div { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px dashed var(--line); padding-bottom: 6px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; text-align: end; }
.contact-box { background: linear-gradient(160deg, var(--green), var(--green-dark)); color: var(--ivory); border: 0; }
.contact-box h3 { color: var(--gold); margin: 0; }
.contact-box p { margin: 0; opacity: .9; font-size: .93rem; }
.btn-wa { background: #117a43; color: #fff; }
.btn-tg { background: #1a6fa3; color: #fff; }
@media (max-width: 860px) {
  .uni-side { position: static; }
  .uni-tabs { top: 0; }
  .ud dl { grid-template-columns: 1fr 1fr; }
  .uni-hero { min-height: 300px; }
  .uni-hero.has-img { min-height: 360px; }
}

/* motion (GSAP + Lenis) */
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-smooth iframe { pointer-events: none; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.motion .hero .hero-pattern { opacity: .5; }
.hero-in, .hero .stats { z-index: 1; }
.sw { will-change: transform; }

/* audit additions */
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.form label.check a { text-decoration: underline; }
.header-tools { display: flex; align-items: center; gap: 4px; order: 3; }
.search-btn { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: var(--green); }
.search-btn:hover { background: var(--ivory); }
@media (min-width: 1101px) { .header-tools { order: 0; margin-inline-start: auto; } .header-in { gap: 8px; } }
.search-form { display: flex; gap: 10px; margin-bottom: 24px; flex-wrap: wrap; }
.search-form input { flex: 1; min-width: 220px; font-size: 1.05rem; padding: 14px 18px; }
.search-h { color: var(--green); font-size: 1.15rem; margin-top: 28px; }
.search-h small { color: var(--muted); font-weight: 400; }
.search-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.search-list a { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; color: var(--ink); }
.search-list a:hover { border-color: var(--olive); }
.search-list span { color: var(--muted); font-size: .88rem; }
.share { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 20px 0; }
.share span { color: var(--muted); font-size: .92rem; margin-inline-end: 4px; }
.share a, .share button { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--ivory); color: var(--green); border: 0; cursor: pointer; }
.share a:hover, .share button:hover { background: var(--green); color: var(--ivory); }
.share .copy-link.ok { background: #1f8a4c; color: #fff; }
.updated { color: var(--muted); font-size: .85rem; margin: 0; }
.cal-levels { margin-bottom: 12px; }
.to-top { position: fixed; bottom: 90px; inset-inline-end: 26px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--green); color: var(--ivory); display: grid; place-items: center; cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(10px); transition: .25s; z-index: 60; box-shadow: var(--shadow); }
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.noscript { padding: 40px 16px; text-align: center; }
.skip-link { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--gold); color: var(--green-dark); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 12px; }
.price-block h2 { margin: 0; color: var(--green); font-size: 1.15rem; }
.contact-list h2 { color: var(--green); font-size: 1rem; margin-bottom: 4px; }
.prose h2.ph { font-size: 1.1rem; }

/* logo mark also on phones (spins on the home page) */
.hero-mark img { transform-origin: 50% 50%; }
@media (max-width: 860px) {
  .hero-mark { display: flex; order: -1; justify-content: flex-start; }
  .hero-mark img { width: 120px; }
}

/* ================================================================
   Visual upgrades (ideas 1-10). Anything that moves on its own only
   runs under html.motion, which motion.js sets when the visitor has
   not asked for reduced motion.
   ================================================================ */

/* 1. Glass header that shrinks on scroll + gold reading-progress line */
.header { transition: background-color .3s, box-shadow .3s; }
.header-in { transition: min-height .3s; }
.brand-logo { transition: height .3s; }
.scrolled .header { background: rgba(255, 255, 255, .82); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 6px 24px rgba(31, 54, 49, .08); }
.scrolled .header-in { min-height: 62px; }
.scrolled .brand-logo { height: 36px; }
.scrolled .brand-logo.ar { height: 42px; }
.scroll-progress { position: absolute; inset-inline: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--gold), #e3d3a8, var(--gold)); transform: scaleX(var(--progress, 0)); transform-origin: left; pointer-events: none; z-index: 1; }
[dir=rtl] .scroll-progress { transform-origin: right; }
.nav-open .header { background: var(--white); }

/* 2. Cards: gold spotlight border + glow that follow the mouse */
.card { position: relative; }
.card::before, .card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s; z-index: 2; }
.card::before { padding: 1.5px; background: radial-gradient(180px circle at var(--mx, 50%) var(--my, 50%), var(--gold), transparent 65%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.card::after { background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(178, 160, 120, .14), transparent 65%); }
@media (hover: hover) { .card:hover::before, .card:hover::after { opacity: 1; } }
.service-card, .sch-card { transition: transform .25s, box-shadow .25s; will-change: transform; }
.service-card:hover, .sch-card:hover { box-shadow: 0 18px 38px rgba(31, 54, 49, .15); }
.service-card:active, .sch-card:active { transform: translateY(-2px); }

/* 3. Line icons instead of emoji */
svg.li { width: 1.2em; height: 1.2em; fill: none; stroke: var(--green); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.22em; flex: none; }
svg.li .acc { stroke: var(--gold); }
svg.li * { stroke-dasharray: 1; stroke-dashoffset: 0; }
.svc-icon { background: var(--ivory); transition: transform .35s cubic-bezier(.2, .7, .2, 1), background-color .3s; }
.svc-icon svg.li { width: 30px; height: 30px; }
.service-card:hover .svc-icon { transform: translateY(-3px) rotate(-5deg); background: #efe3d3; }
.ql { display: inline-flex; align-items: center; gap: 8px; transition: border-color .2s, color .2s, transform .2s; }
.ql:hover { transform: translateY(-2px); }
.sch-card h3 svg.li, .sch-full h2 svg.li { margin-inline-end: 4px; }

/* 4. Page transition: handled in motion.js (fade + lift between pages) */

/* 5. "How we work": gold rail + numbers that light up */
.steps { position: relative; }
.steps li { transition: border-color .4s, box-shadow .4s; }
.steps .num { transition: background-color .4s, color .4s, transform .4s cubic-bezier(.3, 1.6, .5, 1), box-shadow .4s; }
@media (min-width: 1101px) {
  .steps { padding-top: 22px; }
  .steps li { padding-top: 34px; }
  .steps .num { position: absolute; top: -20px; inset-inline-start: 20px; margin: 0; box-shadow: 0 0 0 5px var(--ivory-2); }
  .steps::before, .steps::after { content: ""; position: absolute; top: 22px; inset-inline: 40px; height: 3px; border-radius: 3px; transform: translateY(-50%); }
  .steps::before { background: var(--line); }
  .steps::after { background: linear-gradient(90deg, var(--green), var(--gold)); transform: translateY(-50%) scaleX(var(--rail, 1)); transform-origin: left; }
  [dir=rtl] .steps::after { background: linear-gradient(270deg, var(--green), var(--gold)); transform-origin: right; }
}
.steps-anim li:not(.lit) .num { background: var(--white); color: var(--muted); box-shadow: inset 0 0 0 2px var(--line), 0 0 0 5px var(--ivory-2); transform: scale(.9); }
.steps-anim li.lit { border-color: #d8c9ad; box-shadow: 0 10px 26px rgba(31, 54, 49, .08); }
.steps-anim li.lit .num { transform: scale(1.06); }

/* 6. Curved dividers inspired by the KAM mark */
.wave { direction: ltr; position: absolute; left: 0; right: 0; height: 34px; overflow: hidden; pointer-events: none; z-index: 1; line-height: 0; }
.wave svg { width: 200%; height: 100%; display: block; }
.wave-bottom { bottom: -1px; }
.wave-bottom path { fill: var(--ivory-2); }
.wave-top { top: -33px; }
.wave-top path { fill: var(--green); }
.page-head, .cta-band { position: relative; }
.hero { padding-bottom: 72px; }
.page-head { padding-bottom: 62px; }
.motion .wave svg { animation: wave-drift 22s linear infinite; }
.motion .wave-top svg { animation-duration: 28s; }
@keyframes wave-drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 560px) { .wave { height: 22px; } .wave-top { top: -21px; } .hero { padding-bottom: 54px; } .page-head { padding-bottom: 50px; } }

/* 7. Gold shimmer on the country name in the hero title */
.gold-word { position: relative; display: inline-block; }
.gold-word:not(.is-split), .gold-text { background: linear-gradient(100deg, var(--gold) 20%, #f6e8c3 40%, var(--gold) 60%); background-size: 250% 100%; background-position: 0 0; -webkit-background-clip: text; background-clip: text; color: transparent; }
.gold-word::after { content: ""; position: absolute; inset-inline: 4%; bottom: .02em; height: 4px; border-radius: 4px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.motion .gold-word:not(.is-split), .motion .gold-text { animation: shine 4.5s 1.8s ease-in-out infinite; }
.motion .gold-word::after { transform: scaleX(0); animation: underline 1s 1.4s cubic-bezier(.2, .7, .2, 1) forwards; }
@keyframes shine { 0% { background-position: 100% 0; } 60%, 100% { background-position: -60% 0; } }
@keyframes underline { to { transform: scaleX(1); } }

/* 8. Shiny gold buttons, magnetic pull (motion.js) and a breathing WhatsApp button */
.btn-gold { position: relative; overflow: hidden; isolation: isolate; }
.btn-gold:hover { box-shadow: 0 10px 24px rgba(178, 160, 120, .45); }
.motion .btn-gold.btn-lg::after, .motion .nav-cta::after { content: ""; position: absolute; top: 0; bottom: 0; width: 45%; left: -60%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent); transform: skewX(-20deg); animation: btn-sweep 4.5s ease-in-out infinite; pointer-events: none; z-index: -1; }
@keyframes btn-sweep { 0%, 70% { left: -60%; } 100% { left: 130%; } }
.wa-fab::before, .wa-fab::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; opacity: 0; pointer-events: none; }
.motion .wa-fab::before, .motion .wa-fab::after { animation: wa-ring 2.8s ease-out infinite; }
.motion .wa-fab::after { animation-delay: 1.4s; }
@keyframes wa-ring { from { transform: scale(1); opacity: .7; } to { transform: scale(1.75); opacity: 0; } }
.wa-fab { transition: transform .25s; }
.wa-fab:hover { transform: scale(1.07); }

/* 9. University cards: campus photo with a soft zoom, logo badge, nicer placeholder */
.thumb { overflow: hidden; }
.thumb img.photo { transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.uni-card:hover .thumb img.photo, .uni-card:hover .thumb-ph img { transform: scale(1.08); }
.thumb-ph { background: radial-gradient(circle at 85% 15%, rgba(178, 160, 120, .35), transparent 45%), radial-gradient(circle at 10% 95%, rgba(178, 160, 120, .2), transparent 40%), linear-gradient(135deg, var(--green), var(--green-2)); }
.thumb-ph img { transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.thumb-logo { position: absolute; bottom: 10px; inset-inline-end: 10px; width: 46px; height: 46px; border-radius: 12px; background: var(--white); padding: 5px; box-shadow: 0 4px 14px rgba(0, 0, 0, .18); z-index: 1; }
.thumb-logo img { width: 100%; height: 100%; object-fit: contain; }
.uni-card .tag { z-index: 1; }

/* 10. FAQ: + turns into × (the slide is done in motion.js) */
.faq summary::after { content: "+"; color: var(--gold); font-size: 1.5rem; transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.faq details[open] summary::after { content: "+"; transform: rotate(45deg); }
.faq details { transition: border-color .3s, box-shadow .3s; }
.faq details[open] { border-color: #d8c9ad; box-shadow: var(--shadow); }
.faq summary:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; border-radius: 12px; }

@media (prefers-reduced-motion: reduce) {
  .header, .header-in, .brand-logo, .svc-icon, .ql, .steps li, .steps .num, .thumb img, .thumb-ph img, .wa-fab, .faq summary::after, .service-card, .sch-card { transition: none !important; }
}
.uni-tabs { transition: top .3s; }
.scrolled .uni-tabs { top: 62px; }

/* ---------- guide pages (recognition, exams, scholarships, prices) ---------- */
.btn-ghost-dark { background: transparent; color: var(--green); border: 1.5px solid var(--green); }
.btn-ghost-dark:hover { background: var(--green); color: var(--ivory); }
.tag.cyprus { background: var(--olive); color: var(--ivory); }
.result-count { margin: -8px 0 16px; font-size: .93rem; }
.q-card { display: block; padding: 24px; color: var(--ink); }
.q-card .q-ic { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--ivory); margin-bottom: 12px; }
.q-card .q-ic svg { width: 30px; height: 30px; }
.q-card h3 { color: var(--green); font-size: 1.15rem; }
.q-card p { color: var(--muted); margin: 0; }
.uni-hero .uni-logo.wide { width: 192px; height: 120px; padding: 0; overflow: hidden; }
.uni-hero .uni-logo.wide img { object-fit: cover; }
@media (max-width: 700px) { .uni-hero .uni-logo.wide { width: 144px; height: 90px; } }
.rec-chips a { display: inline-flex; align-items: center; gap: 6px; color: inherit; }
.rec-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.rec-list li { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; display: flex; flex-direction: column; gap: 2px; }
.rec-list li .meta { font-size: .85rem; color: var(--muted); }
.rec-note { color: var(--olive-text); font-size: .85rem; }
.callout { background: var(--ivory); border-inline-start: 4px solid var(--gold); padding: 14px 16px; border-radius: 10px; }
.warn-card { border-inline-start: 4px solid var(--gold); }
.src-link { display: block; margin-bottom: 8px; }
.sch-sec { margin-top: 18px; }
.sch-sec h3 { font-size: 1.05rem; color: var(--green); }
.sch-facts { margin: 12px 0; }
.exam-table td, .exam-table th { white-space: nowrap; }
.st-pill { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .82rem; font-weight: 600; background: var(--ivory); color: var(--muted); }
.st-pill.open { background: #dcf3e3; color: #166534; }
.st-pill.next { background: #fff4d6; color: #7a5a00; }
.ex-done td { color: var(--muted); }
.cal-empty { padding: 24px; text-align: center; }
.cal-empty .btn { margin-top: 8px; }
.quote-card { margin: 0; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.quote-card blockquote { margin: 0; font-size: 1.02rem; }
.quote-card figcaption { display: flex; flex-direction: column; color: var(--muted); font-size: .9rem; }
.quote-card figcaption b { color: var(--green); }
.quote-img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.tb-contact a { display: inline-flex; align-items: center; gap: 6px; }
.nav-cta svg { width: 18px; height: 18px; vertical-align: -3px; }
p.center { text-align: center; }
.lg.tba, .st-tba { --c: #82765C; --bg: #f3e9e0; }
.st-tba td { color: var(--muted); }
.st-tba .btn-reg { background: var(--olive); }

/* WhatsApp ready messages (floating button) and the fee prompt */
.wa-menu { position: fixed; bottom: 90px; inset-inline-end: 20px; width: min(340px, calc(100vw - 32px)); background: #fff; color: var(--ink); border-radius: 16px; box-shadow: 0 12px 36px rgba(0, 0, 0, .22); padding: 10px; z-index: 61; }
.wa-menu[hidden] { display: none; }
.wa-menu-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 4px 6px 8px; font-size: .9rem; }
.wa-menu-x { background: none; border: 0; font-size: 1.5rem; line-height: 1; cursor: pointer; color: inherit; padding: 0 6px; }
.wa-menu a { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 12px; color: inherit; text-decoration: none; font-size: .95rem; line-height: 1.5; }
.wa-menu a + a { margin-top: 4px; }
.wa-menu a:hover, .wa-menu a:focus-visible { background: #e9f9ef; }
.wa-menu a svg { flex: none; width: 22px; height: 22px; color: #25D366; }
.price-ask { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 10px; }
.price-ask p { margin: 0; flex: 1 1 260px; }
.price-ask .btn { flex: none; }
.price-ask-top { margin: 16px 0; }
.price-ask-top .price-ask { margin-top: 0; }
