/* ==========================================================================
   مدارس رواد المعرفة الأهلية — الموقع العام (مدعوم بواسطة School Pro)
   هوية أكاديمية مستقلة: كحلي ملكي + زمردي + ذهبي دافئ + خلفيات كريمية.
   ========================================================================== */
@import url("https://fonts.googleapis.com/css2?family=El+Messiri:wght@500;600;700&family=Cairo:wght@400;500;600;700;800&display=swap");

:root {
  --navy: #14213d;
  --navy-2: #1b2b4f;
  --navy-3: #243866;
  --teal: #138a72;
  --teal-2: #0f735f;
  --teal-soft: #e3f3ee;
  --gold: #e9b949;
  --gold-2: #f2c964;
  --gold-soft: #fbf1d8;
  --cream: #fbf8f1;
  --cream-2: #f4eee0;
  --ink: #14213d;
  --text: #1d2740;
  --text-2: #5d6579;
  --line: #ebe4d3;
  --line-2: #e3e7ef;
  --brand: var(--teal);
  --brand-600: var(--teal-2);
  --brand-soft: var(--teal-soft);
  --display: "El Messiri", "Cairo", serif;
  --hdr: 80px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --r: 20px;
  --shadow-card: 0 1px 2px rgba(20, 33, 61, .04), 0 12px 32px rgba(20, 33, 61, .07);
  --shadow-pop: 0 24px 60px rgba(20, 33, 61, .18);
}

html { scroll-behavior: smooth; }
body { background: var(--cream); color: var(--text); font-size: 16px; overflow-x: hidden; }
body.no-scroll { overflow: hidden; }
svg.lucide { width: 18px; height: 18px; stroke-width: 2; flex-shrink: 0; }
h1, h2, h3, h4 { color: var(--ink); }
h1, h2 { font-family: var(--display); font-weight: 700; letter-spacing: 0; }
h3, h4 { font-weight: 800; }
.container { max-width: 1240px; }
::selection { background: var(--gold); color: var(--navy); }
bdi { unicode-bidi: isolate; }
a { color: var(--teal); }
img { max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn-r {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s, border-color .2s;
  text-decoration: none; line-height: 1.4;
}
.btn-r:hover { transform: translateY(-2px); }
.btn-r:active { transform: translateY(0); }
.btn-r:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.btn-gold { background: var(--gold); color: var(--navy); box-shadow: 0 10px 24px rgba(233, 185, 73, .35); }
.btn-gold:hover { background: var(--gold-2); box-shadow: 0 14px 30px rgba(233, 185, 73, .45); }
.btn-teal { background: var(--teal); color: #fff; box-shadow: 0 10px 24px rgba(19, 138, 114, .28); }
.btn-teal:hover { background: var(--teal-2); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-3); }
.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: rgba(255, 255, 255, .2); border-color: #fff; }
.btn-line { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-line:hover { border-color: var(--navy); }
.btn-soft { background: var(--teal-soft); color: var(--teal-2); }
.btn-soft:hover { background: #d3ece4; }
.btn-lg { padding: 15px 30px; font-size: 16.5px; }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-r[disabled] { opacity: .5; pointer-events: none; }

/* ---------- Topbar & Header ---------- */
.topbar { background: var(--navy); color: rgba(255, 255, 255, .78); font-size: 13px; font-weight: 600; }
.topbar .container { display: flex; align-items: center; gap: 22px; min-height: 38px; }
.topbar span { display: inline-flex; align-items: center; gap: 6px; }
.topbar svg.lucide { width: 14px; height: 14px; color: var(--gold); }
.topbar .tb-adm { color: var(--gold); font-weight: 700; }
.tb-social { margin-inline-start: auto; gap: 2px !important; }
.tb-social a { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: rgba(255, 255, 255, .78); transition: .2s; }
.tb-social a:hover { color: var(--navy); background: var(--gold); }
.tb-social svg { width: 14px; height: 14px; }

.r-header { position: sticky; top: 0; z-index: 60; background: rgba(251, 248, 241, .96); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); transition: box-shadow .3s, background .3s; }
.r-header.scrolled { background: rgba(255, 255, 255, .97); box-shadow: 0 10px 30px rgba(20, 33, 61, .08); }
.r-header .container { display: flex; align-items: center; gap: 22px; height: var(--hdr); }
.r-logo { display: flex; align-items: center; gap: 10px; color: var(--navy); flex-shrink: 0; min-width: 0; }
.r-logo span { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.r-logo b { font-family: var(--display); font-size: 19px; font-weight: 700; white-space: nowrap; }
.r-logo small { font-size: 10.5px; letter-spacing: 1.6px; color: var(--teal); font-weight: 700; white-space: nowrap; direction: ltr; text-align: right; }
.r-logo.dark { color: #fff; }
.r-logo.dark small { color: var(--gold); }
.crest { flex-shrink: 0; filter: drop-shadow(0 4px 8px rgba(20, 33, 61, .18)); }

.r-nav { display: flex; align-items: center; gap: 4px; margin-inline: auto; }
.r-nav a { position: relative; padding: 8px 13px; border-radius: 999px; color: var(--text); font-weight: 700; font-size: 15px; transition: .2s; white-space: nowrap; }
.r-nav a:hover { color: var(--teal); background: var(--teal-soft); }
.r-nav a.active { color: var(--navy); }
.r-nav a.active::after { content: ""; position: absolute; inset-inline: 14px; bottom: 1px; height: 3px; border-radius: 3px; background: var(--gold); }
.r-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.r-actions .btn-r { padding: 10px 18px; font-size: 14.5px; }
.r-login { background: #fff; color: var(--navy); border-color: var(--line); }
.r-login:hover { border-color: var(--teal); color: var(--teal); }

.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 0; }
.burger span { width: 20px; height: 2px; border-radius: 2px; background: var(--navy); transition: .3s var(--ease); }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.m-menu { position: fixed; inset: 0; z-index: 70; background: rgba(20, 33, 61, .5); opacity: 0; visibility: hidden; transition: .3s; overflow: hidden; }
.m-menu.open { opacity: 1; visibility: visible; }
.m-menu-inner { position: absolute; top: 0; bottom: 0; inset-inline-start: 0; width: min(360px, 88vw); background: var(--cream); padding: 22px 20px; overflow-y: auto; transform: translateX(100%); transition: transform .35s var(--ease); display: flex; flex-direction: column; gap: 18px; }
.m-menu.open .m-menu-inner { transform: none; }
.m-menu-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.m-close { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; color: var(--navy); }
.m-menu nav { display: flex; flex-direction: column; gap: 4px; }
.m-menu nav a { display: flex; justify-content: space-between; align-items: center; padding: 13px 14px; border-radius: 14px; color: var(--navy); font-weight: 700; font-size: 16.5px; background: #fff; border: 1px solid var(--line); }
.m-menu nav a.active { border-color: var(--gold); background: var(--gold-soft); }
.m-menu nav a svg { color: var(--teal); }
.m-menu-cta { display: grid; gap: 10px; }
.m-menu-info { display: grid; gap: 8px; color: var(--text-2); font-size: 14px; }
.m-menu-info span { display: flex; align-items: center; gap: 8px; }
.m-menu-info svg { color: var(--teal); }

/* ---------- Sections ---------- */
.sec { padding: 96px 0; position: relative; }
.sec-white { background: #fff; }
.sec-cream2 { background: var(--cream-2); }
.sec-navy { background: var(--navy); color: rgba(255, 255, 255, .82); }
.sec-navy h2, .sec-navy h3 { color: #fff; }
.sec-head { max-width: 700px; margin: 0 auto 48px; text-align: center; }
.sec-head.start { margin-inline: 0; text-align: start; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--teal); font-weight: 800; font-size: 14px; letter-spacing: .3px; margin-bottom: 10px; }
.eyebrow::before, .eyebrow::after { content: ""; width: 26px; height: 2px; background: var(--gold); border-radius: 2px; }
.sec-head.start .eyebrow::after { display: none; }
.sec-navy .eyebrow { color: var(--gold); }
.sec-head h2 { font-size: clamp(28px, 3.6vw, 42px); margin-bottom: 14px; }
.sec-head p { color: var(--text-2); font-size: 17px; margin: 0; }
.sec-navy .sec-head p { color: rgba(255, 255, 255, .7); }
.sec-foot { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 40px; }
.ornament { position: absolute; pointer-events: none; opacity: .5; }

.grid { display: grid; gap: 24px; }
.grid > * { min-width: 0; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card-r { background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-card); min-width: 0; }
.ph { background-color: #2a3a5e; background-size: cover; background-position: center; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; color: #fff; padding: 84px 0 110px; background-color: var(--navy); background-size: cover; background-position: center; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset-inline: 0; bottom: -1px; height: 56px; background: var(--cream); clip-path: ellipse(70% 100% at 50% 100%); }
.page-hero .container { position: relative; z-index: 1; }
.crumbs { display: flex; align-items: center; gap: 8px; font-size: 14px; color: rgba(255, 255, 255, .75); margin-bottom: 14px; flex-wrap: wrap; }
.crumbs a { color: var(--gold); font-weight: 700; }
.crumbs svg { width: 14px; height: 14px; }
.page-hero h1 { color: #fff; font-size: clamp(32px, 4.6vw, 52px); margin-bottom: 12px; }
.page-hero p { max-width: 640px; font-size: 18px; color: rgba(255, 255, 255, .85); margin: 0; }
.hero-in { animation: heroIn .9s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes heroIn { from { opacity: .35; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- Home hero ---------- */
.hero { position: relative; min-height: 640px; display: flex; align-items: center; color: #fff; padding: 72px 0 130px; overflow: hidden; background-color: var(--navy); background-size: cover; background-position: center; }
.hero::after { content: ""; position: absolute; inset-inline: 0; bottom: -1px; height: 80px; background: var(--cream); clip-path: ellipse(75% 100% at 50% 100%); }
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: 48px; align-items: center; }
.hero-tag { display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 999px; background: rgba(233, 185, 73, .16); border: 1px solid rgba(233, 185, 73, .5); color: var(--gold-2); font-weight: 700; font-size: 14px; margin-bottom: 20px; }
.hero-tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(233, 185, 73, .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(233, 185, 73, 0); } 100% { box-shadow: 0 0 0 0 rgba(233, 185, 73, 0); } }
.hero h1 { color: #fff; font-size: clamp(36px, 5.4vw, 64px); line-height: 1.25; margin-bottom: 18px; }
.hero h1 .hl { color: var(--gold); position: relative; white-space: nowrap; }
.hero h1 .hl::after { content: ""; position: absolute; inset-inline: 0; bottom: 4px; height: 10px; background: rgba(233, 185, 73, .22); border-radius: 6px; z-index: -1; }
.hero .lead { font-size: 18.5px; color: rgba(255, 255, 255, .86); max-width: 600px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 34px; font-size: 14px; color: rgba(255, 255, 255, .8); }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust svg { color: var(--gold); }
.hero-card { background: rgba(255, 255, 255, .97); color: var(--text); border-radius: 24px; padding: 24px; box-shadow: var(--shadow-pop); position: relative; }
.hero-card::before { content: ""; position: absolute; inset: -10px; border: 1px dashed rgba(233, 185, 73, .55); border-radius: 30px; pointer-events: none; }
.hero-card h3 { font-size: 18px; margin-bottom: 4px; display: flex; align-items: center; gap: 8px; }
.hero-card h3 svg { color: var(--teal); }
.hero-card .sub { color: var(--text-2); font-size: 14px; margin-bottom: 16px; }
.hc-stages { display: grid; gap: 8px; margin-bottom: 16px; }
.hc-stage { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: var(--cream); border: 1px solid var(--line); color: var(--text); transition: .2s; }
.hc-stage:hover { border-color: var(--teal); transform: translateX(-3px); }
.hc-stage i.ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--navy); color: var(--gold); flex-shrink: 0; }
.hc-stage b { display: block; font-size: 15px; }
.hc-stage small { color: var(--text-2); font-size: 12.5px; }
.hc-stage .arr { margin-inline-start: auto; color: var(--teal); }
.hero-float { position: absolute; z-index: 2; background: #fff; color: var(--text); border-radius: 16px; padding: 10px 14px; box-shadow: var(--shadow-pop); display: flex; align-items: center; gap: 10px; font-size: 13px; animation: floaty 5s ease-in-out infinite; }
.hero-float b { display: block; font-size: 15px; color: var(--navy); }
.hero-float i.ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--gold-soft); color: #a67a12; }
.hero-float.f1 { top: -26px; inset-inline-end: -14px; }
.hero-float.f2 { bottom: -22px; inset-inline-start: -18px; animation-delay: -2.5s; }
@keyframes floaty { 50% { transform: translateY(-8px); } }

/* ---------- Admissions banner ---------- */
.adm-banner { position: relative; z-index: 3; margin-top: -60px; }
.adm-banner .inner { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; padding: 22px 26px; border-radius: 22px; background: linear-gradient(135deg, var(--teal) 0%, #0d6b59 100%); color: #fff; box-shadow: 0 20px 44px rgba(19, 138, 114, .28); overflow: hidden; position: relative; }
.adm-banner .inner::after { content: ""; position: absolute; width: 240px; height: 240px; border-radius: 50%; border: 30px solid rgba(255, 255, 255, .06); inset-inline-start: -60px; top: -90px; }
.adm-banner .ic { width: 56px; height: 56px; border-radius: 16px; background: rgba(255, 255, 255, .14); display: grid; place-items: center; color: var(--gold); flex-shrink: 0; }
.adm-banner .ic svg { width: 28px; height: 28px; }
.adm-banner .txt { flex: 1; min-width: 220px; }
.adm-banner h3 { color: #fff; font-size: 20px; margin: 0 0 4px; }
.adm-banner p { margin: 0; color: rgba(255, 255, 255, .85); font-size: 14.5px; }
.countdown { display: flex; gap: 8px; }
.countdown div { background: rgba(255, 255, 255, .12); border-radius: 12px; padding: 6px 10px; text-align: center; min-width: 58px; }
.countdown b { display: block; font-size: 20px; line-height: 1.2; }
.countdown small { font-size: 11px; color: rgba(255, 255, 255, .75); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-card); overflow: hidden; }
.stat { padding: 28px 18px; text-align: center; position: relative; min-width: 0; }
.stat + .stat::before { content: ""; position: absolute; inset-inline-start: 0; top: 24%; bottom: 24%; width: 1px; background: var(--line); }
.stat i.ic { width: 48px; height: 48px; border-radius: 14px; margin: 0 auto 10px; display: grid; place-items: center; background: var(--teal-soft); color: var(--teal); }
.stat b { display: block; font-family: var(--display); font-size: clamp(28px, 3.4vw, 40px); color: var(--navy); line-height: 1.2; }
.stat span { color: var(--text-2); font-size: 14.5px; font-weight: 600; }

/* ---------- Stage cards ---------- */
.stage-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-card); transition: transform .35s var(--ease), box-shadow .35s var(--ease); color: var(--text); }
.stage-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-pop); }
.stage-card .ph { height: 180px; position: relative; }
.stage-card .ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 33, 61, 0) 40%, rgba(20, 33, 61, .65)); }
.stage-card .age { position: absolute; z-index: 1; bottom: 12px; inset-inline-start: 14px; background: var(--gold); color: var(--navy); font-weight: 800; font-size: 12.5px; padding: 3px 12px; border-radius: 999px; }
.stage-card .ic-badge { position: absolute; z-index: 1; top: 14px; inset-inline-end: 14px; width: 44px; height: 44px; border-radius: 14px; background: rgba(255, 255, 255, .95); color: var(--navy); display: grid; place-items: center; }
.stage-card .body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.stage-card h3 { font-size: 19px; margin: 0; }
.stage-card p { color: var(--text-2); font-size: 14.5px; margin: 0; flex: 1; }
.stage-card .meta { display: flex; gap: 14px; font-size: 13px; color: var(--text-2); flex-wrap: wrap; padding-top: 10px; border-top: 1px dashed var(--line); }
.stage-card .meta span { display: inline-flex; align-items: center; gap: 5px; }
.stage-card .meta svg { width: 15px; height: 15px; color: var(--teal); }
.stage-card .more { color: var(--teal); font-weight: 800; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Feature (why us) ---------- */
.why-wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.why-media { position: relative; min-height: 460px; }
.why-media .m1 { position: absolute; inset: 0 0 60px 70px; border-radius: 26px; }
.why-media .m2 { position: absolute; width: 52%; height: 46%; bottom: 0; inset-inline-end: 0; border-radius: 22px; border: 8px solid var(--cream); }
.why-media .badge-year { position: absolute; top: 28px; inset-inline-end: -10px; background: var(--navy); color: #fff; border-radius: 20px; padding: 16px 18px; text-align: center; box-shadow: var(--shadow-pop); }
.why-media .badge-year b { display: block; font-family: var(--display); font-size: 34px; color: var(--gold); line-height: 1.1; }
.why-media .badge-year small { font-size: 12.5px; }
.why-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.why-item { display: flex; gap: 14px; padding: 18px; border-radius: 18px; background: #fff; border: 1px solid var(--line); transition: .3s var(--ease); min-width: 0; }
.why-item:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: var(--shadow-card); }
.why-item i.ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--navy); color: var(--gold); flex-shrink: 0; }
.why-item h4 { font-size: 16px; margin: 0 0 4px; }
.why-item p { font-size: 13.5px; color: var(--text-2); margin: 0; }

/* ---------- Programs / activities ---------- */
.prog-card { position: relative; overflow: hidden; border-radius: 22px; min-height: 290px; display: flex; align-items: flex-end; color: #fff; isolation: isolate; }
.prog-card .ph { position: absolute; inset: 0; z-index: -2; transition: transform .8s var(--ease); }
.prog-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 33, 61, .05) 20%, rgba(20, 33, 61, .9) 100%); }
.prog-card:hover .ph { transform: scale(1.06); }
.prog-card .body { padding: 22px; }
.prog-card .chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 12px; border-radius: 999px; background: var(--gold); color: var(--navy); font-weight: 800; font-size: 12px; margin-bottom: 8px; }
.prog-card h3 { color: #fff; font-size: 19px; margin-bottom: 4px; }
.prog-card p { color: rgba(255, 255, 255, .82); font-size: 14px; margin: 0; }
.prog-grid { grid-template-columns: 1.3fr 1fr 1fr; }
.prog-grid .prog-card:first-child { grid-row: span 2; min-height: 600px; }

/* ---------- Results ---------- */
.results-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.result-bars { display: grid; gap: 16px; }
.rbar .top { display: flex; justify-content: space-between; font-weight: 700; font-size: 14.5px; margin-bottom: 6px; color: #fff; }
.rbar .top b { color: var(--gold); }
.rbar .track { height: 10px; border-radius: 10px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.rbar .fill { height: 100%; border-radius: 10px; background: linear-gradient(90deg, var(--gold), #f6d98c); width: 0; transition: width 1.4s var(--ease); }
.in .rbar .fill, .rbar.in .fill { width: var(--w); }
.achv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.achv-item { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: 18px; padding: 18px; min-width: 0; }
.achv-item i.ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(233, 185, 73, .14); color: var(--gold); margin-bottom: 10px; }
.achv-item b { display: block; font-family: var(--display); font-size: 28px; color: #fff; line-height: 1.2; }
.achv-item span { font-size: 13.5px; color: rgba(255, 255, 255, .72); }

/* ---------- Teachers ---------- */
.teacher-card { text-align: center; padding: 26px 18px 20px; position: relative; overflow: hidden; }
.teacher-card::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 64px; background: linear-gradient(135deg, var(--navy), var(--navy-3)); }
.avatar { width: 84px; height: 84px; border-radius: 50%; margin: 10px auto 12px; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 28px; color: #fff; border: 4px solid #fff; box-shadow: 0 8px 20px rgba(20, 33, 61, .18); position: relative; }
.teacher-card h4 { font-size: 16.5px; margin: 0 0 2px; }
.teacher-card .role { color: var(--teal); font-weight: 700; font-size: 13.5px; }
.teacher-card .tmeta { display: flex; justify-content: center; gap: 14px; margin-top: 12px; font-size: 13px; color: var(--text-2); flex-wrap: wrap; }
.teacher-card .tmeta span { display: inline-flex; align-items: center; gap: 4px; }
.teacher-card .tmeta svg { width: 14px; height: 14px; color: var(--gold); }

/* ---------- Testimonials ---------- */
.testi { padding: 26px; position: relative; display: flex; flex-direction: column; gap: 14px; }
.testi .q { position: absolute; top: 18px; inset-inline-end: 20px; color: var(--gold-soft); width: 46px; height: 46px; }
.testi .stars { display: flex; gap: 2px; color: var(--gold); }
.testi .stars svg { width: 16px; height: 16px; fill: currentColor; }
.testi p { margin: 0; font-size: 15px; color: var(--text); flex: 1; }
.testi .who { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px dashed var(--line); }
.testi .who i.av { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--teal-soft); color: var(--teal); font-style: normal; font-weight: 800; }
.testi .who b { display: block; font-size: 15px; }
.testi .who small { color: var(--text-2); font-size: 13px; }

/* ---------- News ---------- */
.news-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-card); color: var(--text); transition: transform .3s var(--ease), box-shadow .3s; cursor: pointer; text-align: start; font: inherit; padding: 0; width: 100%; }
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-pop); }
.news-card .ph { height: 200px; position: relative; }
.cat-tag { position: absolute; top: 14px; inset-inline-start: 14px; background: var(--gold); color: var(--navy); font-size: 12px; font-weight: 800; padding: 3px 12px; border-radius: 999px; z-index: 1; }
.news-card .body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.news-card .d { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-2); }
.news-card .d svg { width: 15px; height: 15px; color: var(--teal); }
.news-card h3 { font-size: 17.5px; margin: 0; line-height: 1.5; }
.news-card p { font-size: 14px; color: var(--text-2); margin: 0; flex: 1; }
.news-card .more { color: var(--teal); font-weight: 800; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.news-feature { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.news-feature .ph { height: auto; min-height: 340px; }
.news-feature .body { padding: 30px; justify-content: center; }
.news-feature h3 { font-size: 24px; font-family: var(--display); }

/* ---------- Events ---------- */
.ev-list { display: grid; gap: 12px; }
.ev { display: flex; align-items: center; gap: 16px; padding: 14px 16px; border-radius: 18px; background: #fff; border: 1px solid var(--line); transition: .25s; min-width: 0; }
.ev:hover { border-color: var(--teal); box-shadow: var(--shadow-card); }
.ev-date { width: 64px; flex-shrink: 0; text-align: center; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--cream); }
.ev-date small { display: block; background: var(--navy); color: var(--gold); font-size: 11.5px; font-weight: 700; padding: 2px 0; }
.ev-date b { display: block; font-family: var(--display); font-size: 24px; color: var(--navy); line-height: 1.4; }
.ev-body { flex: 1; min-width: 0; }
.ev-body h4 { font-size: 15.5px; margin: 0 0 3px; }
.ev-body .em { display: flex; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--text-2); }
.ev-body .em span { display: inline-flex; align-items: center; gap: 4px; }
.ev-body .em svg { width: 14px; height: 14px; color: var(--teal); }
.ev-type { flex-shrink: 0; font-size: 12px; font-weight: 800; padding: 4px 12px; border-radius: 999px; background: var(--teal-soft); color: var(--teal-2); }
.ev-remind { flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--navy); display: grid; place-items: center; cursor: pointer; transition: .2s; }
.ev-remind:hover, .ev-remind.on { background: var(--gold); border-color: var(--gold); }

/* ---------- App promo ---------- */
.app-promo { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%); border-radius: 30px; padding: 56px; color: rgba(255, 255, 255, .85); position: relative; overflow: hidden; }
.app-promo::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(19, 138, 114, .45), transparent 70%); inset-inline-end: -120px; bottom: -180px; }
.app-promo > * { position: relative; min-width: 0; }
.app-promo h2 { color: #fff; font-size: clamp(26px, 3.2vw, 38px); }
.app-feats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 22px 0 28px; padding: 0; list-style: none; }
.app-feats li { display: flex; align-items: center; gap: 8px; font-size: 14.5px; }
.app-feats svg { color: var(--gold); }
.app-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.store-btn { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border-radius: 14px; background: #000; color: #fff; border: 1px solid rgba(255, 255, 255, .25); cursor: pointer; font: inherit; }
.store-btn small { display: block; font-size: 10.5px; opacity: .75; line-height: 1.2; }
.store-btn b { display: block; font-size: 15px; line-height: 1.2; }
.phone { width: 270px; max-width: 100%; margin: 0 auto; background: #0b1224; border-radius: 40px; padding: 12px; box-shadow: 0 40px 80px rgba(0, 0, 0, .45); border: 2px solid #2b3a5c; }
.phone-screen { background: var(--cream); border-radius: 30px; overflow: hidden; color: var(--text); }
.ps-top { background: var(--teal); color: #fff; padding: 22px 16px 16px; }
.ps-top small { opacity: .8; font-size: 11.5px; }
.ps-top b { display: block; font-size: 16px; }
.ps-body { padding: 12px; display: grid; gap: 8px; }
.ps-row { background: #fff; border-radius: 14px; padding: 10px 12px; display: flex; align-items: center; gap: 10px; font-size: 12.5px; border: 1px solid var(--line); }
.ps-row i.ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; }
.ps-row i.ic svg { width: 16px; height: 16px; }
.ps-row b { display: block; font-size: 13px; }
.ps-row span { color: var(--text-2); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: 30px; padding: 54px; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; background: var(--gold); color: var(--navy); }
.cta-band::after { content: ""; position: absolute; inset-inline-start: -40px; top: -60px; width: 260px; height: 260px; border-radius: 50%; border: 40px solid rgba(255, 255, 255, .18); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(26px, 3.2vw, 38px); margin-bottom: 6px; }
.cta-band p { margin: 0; font-size: 17px; color: #4a3b12; }
.cta-band .acts { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- About ---------- */
.vm-card { padding: 30px; position: relative; overflow: hidden; }
.vm-card i.ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--navy); color: var(--gold); margin-bottom: 16px; }
.vm-card i.ic svg { width: 26px; height: 26px; }
.vm-card h3 { font-size: 21px; font-family: var(--display); }
.vm-card p { color: var(--text-2); margin: 0; }
.values { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.value { text-align: center; padding: 22px 12px; border-radius: 18px; background: #fff; border: 1px solid var(--line); transition: .3s; min-width: 0; }
.value:hover { border-color: var(--gold); transform: translateY(-4px); }
.value i.ic { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 10px; background: var(--gold-soft); color: #a67a12; }
.value h4 { font-size: 16px; margin: 0 0 4px; }
.value p { font-size: 13px; color: var(--text-2); margin: 0; }
.principal { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 44px; align-items: center; }
.principal-card { border-radius: 26px; background: linear-gradient(160deg, var(--navy), var(--navy-3)); color: #fff; padding: 34px 26px; text-align: center; position: relative; overflow: hidden; }
.principal-card .avatar { width: 120px; height: 120px; font-size: 40px; background: var(--teal); border-color: var(--gold); }
.principal-card h3 { color: #fff; margin: 4px 0 2px; }
.principal-card small { color: var(--gold); font-weight: 700; }
.principal-msg { font-size: 17px; line-height: 2; }
.principal-msg .sig { font-family: var(--display); font-size: 22px; color: var(--navy); margin-top: 10px; }
.quote-mark { font-family: var(--display); font-size: 90px; line-height: .6; color: var(--gold); display: block; height: 40px; }
.timeline { position: relative; display: grid; gap: 22px; max-width: 880px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; top: 0; bottom: 0; inset-inline-start: 50%; width: 2px; background: repeating-linear-gradient(180deg, var(--gold) 0 8px, transparent 8px 14px); transform: translateX(50%); }
.tl { display: grid; grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr); align-items: center; }
.tl .tl-dot { width: 52px; height: 52px; border-radius: 50%; background: var(--navy); color: var(--gold); display: grid; place-items: center; border: 4px solid var(--cream); box-shadow: 0 0 0 2px var(--gold); grid-column: 2; position: relative; z-index: 1; }
.tl .tl-box { padding: 18px 20px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.tl .tl-box b { color: var(--teal); font-family: var(--display); font-size: 20px; }
.tl .tl-box h4 { margin: 2px 0 4px; font-size: 16px; }
.tl .tl-box p { margin: 0; color: var(--text-2); font-size: 14px; }
.tl:nth-child(odd) .tl-box { grid-column: 1; grid-row: 1; }
.tl:nth-child(even) .tl-box { grid-column: 3; grid-row: 1; }
.acc-card { display: flex; gap: 16px; align-items: flex-start; padding: 22px; }
.acc-card i.ic { width: 54px; height: 54px; border-radius: 50%; border: 2px dashed var(--gold); display: grid; place-items: center; color: var(--teal); flex-shrink: 0; }
.acc-card h4 { font-size: 16px; margin: 0 0 4px; }
.acc-card p { margin: 0; font-size: 13.5px; color: var(--text-2); }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 200px; gap: 14px; }
.gallery > * { min-width: 0; }
.g-item { position: relative; width: 100%; height: 100%; border-radius: 18px; overflow: hidden; cursor: pointer; border: 0; padding: 0; font: inherit; color: #fff; text-align: start; }
.g-item .ph { position: absolute; inset: 0; transition: transform .7s var(--ease); }
.g-item:hover .ph { transform: scale(1.07); }
.g-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(20, 33, 61, .85)); }
.g-item span { position: absolute; z-index: 1; bottom: 12px; inset-inline: 14px; font-weight: 800; font-size: 15px; display: flex; align-items: center; gap: 6px; }
.g-item.wide { grid-column: span 2; }
.g-item.tall { grid-row: span 2; }

/* ---------- Programs page ---------- */
.stage-nav { position: sticky; top: calc(var(--hdr) + 8px); z-index: 20; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; padding: 10px; border-radius: 999px; background: rgba(255, 255, 255, .95); border: 1px solid var(--line); box-shadow: var(--shadow-card); width: fit-content; max-width: 100%; margin: -36px auto 0; }
.stage-nav a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px; font-weight: 700; color: var(--navy); font-size: 14.5px; white-space: nowrap; }
.stage-nav a:hover, .stage-nav a.active { background: var(--navy); color: #fff; }
.stage-nav a svg { width: 16px; height: 16px; }
.stage-sec { padding: 70px 0; scroll-margin-top: calc(var(--hdr) + 70px); }
.stage-sec:nth-of-type(even) { background: #fff; }
.stage-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px; align-items: center; margin-bottom: 34px; }
.stage-img { border-radius: 26px; min-height: 340px; position: relative; overflow: hidden; }
.stage-img .tag { position: absolute; bottom: 16px; inset-inline-start: 16px; background: #fff; color: var(--navy); border-radius: 14px; padding: 10px 14px; font-weight: 700; font-size: 13.5px; display: flex; gap: 8px; align-items: center; box-shadow: var(--shadow-card); }
.stage-img .tag svg { color: var(--teal); }
.stage-top h2 { font-size: clamp(28px, 3.4vw, 40px); }
.stage-top .intro { color: var(--text-2); font-size: 16.5px; }
.kv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 18px 0 22px; }
.kv div { background: var(--cream); border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; min-width: 0; }
.stage-sec:nth-of-type(even) .kv div { background: var(--cream); }
.kv small { display: block; color: var(--text-2); font-size: 12.5px; }
.kv b { font-size: 15px; color: var(--navy); }
.stage-blocks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.sblock { padding: 22px; }
.sblock h4 { display: flex; align-items: center; gap: 8px; font-size: 16.5px; margin-bottom: 14px; }
.sblock h4 svg { color: var(--teal); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-s { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--cream); border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; }
.chip-s svg { width: 15px; height: 15px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ticks li { display: flex; gap: 8px; font-size: 14.5px; }
.ticks li svg { color: var(--teal); margin-top: 3px; }
.sched { display: grid; gap: 6px; }
.sched div { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; padding: 7px 10px; border-radius: 10px; background: var(--cream); }
.sched div.brk { background: var(--gold-soft); color: #8a6510; font-weight: 700; }
.sched div b { font-weight: 700; direction: ltr; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-grid > * { min-width: 0; }
.form-grid .full { grid-column: 1 / -1; }
.fld { display: flex; flex-direction: column; gap: 6px; }
.fld label { font-weight: 700; font-size: 14px; color: var(--navy); }
.fld label .req { color: #c2410c; }
.fld input, .fld select, .fld textarea {
  font: inherit; font-size: 15px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line-2);
  background: #fff; color: var(--text); width: 100%; transition: border-color .2s, box-shadow .2s;
}
.fld textarea { min-height: 110px; resize: vertical; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(19, 138, 114, .12); }
.fld.err input, .fld.err select, .fld.err textarea { border-color: #dc2626; background: #fff7f7; }
.fld .hint { font-size: 12.5px; color: var(--text-2); }
.fld .emsg { display: none; font-size: 12.5px; color: #dc2626; font-weight: 600; }
.fld.err .emsg { display: block; }
.fld input[dir="ltr"] { text-align: right; }
.seg { display: flex; gap: 8px; flex-wrap: wrap; }
.seg label { flex: 1; min-width: 110px; cursor: pointer; position: relative; }
.seg input { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; inset: 0; }
.seg span { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 11px 12px; border-radius: 12px; border: 1.5px solid var(--line-2); background: #fff; font-weight: 700; font-size: 14.5px; transition: .2s; color: var(--text); }
.seg input:checked + span { border-color: var(--teal); background: var(--teal-soft); color: var(--teal-2); }
.seg input:focus-visible + span { outline: 3px solid var(--gold); }

/* ---------- Admission wizard ---------- */
.adm-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; margin-top: -50px; position: relative; z-index: 2; }
.wizard { padding: 0; overflow: hidden; }
.steps { display: flex; gap: 0; padding: 18px 20px; background: #fff; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.steps::-webkit-scrollbar { display: none; }
.step-i { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; position: relative; min-width: 82px; font-size: 12.5px; font-weight: 700; color: var(--text-2); }
.step-i::before { content: ""; position: absolute; top: 18px; inset-inline-start: 50%; width: 100%; height: 2px; background: var(--line-2); z-index: 0; }
.step-i:last-child::before { display: none; }
.step-i .n { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--line-2); color: var(--text-2); font-weight: 800; position: relative; z-index: 1; transition: .3s; }
.step-i .n svg { width: 16px; height: 16px; }
.step-i.active { color: var(--navy); }
.step-i.active .n { border-color: var(--teal); background: var(--teal); color: #fff; box-shadow: 0 0 0 5px rgba(19, 138, 114, .15); }
.step-i.done .n { border-color: var(--teal); background: var(--teal-soft); color: var(--teal); }
.step-i.done::before { background: var(--teal); }
.wz-body { padding: 28px; }
.wz-pane { display: none; animation: paneIn .45s var(--ease); }
.wz-pane.active { display: block; }
@keyframes paneIn { from { opacity: .2; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
.wz-pane > h2 { font-family: "Cairo", sans-serif; font-weight: 800; font-size: 22px; margin-bottom: 4px; }
.wz-pane > .lead-s { color: var(--text-2); margin-bottom: 22px; font-size: 15px; }
.wz-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 28px; border-top: 1px solid var(--line); background: var(--cream); flex-wrap: wrap; }
.wz-foot .right { display: flex; gap: 10px; margin-inline-start: auto; }
.demo-fill { display: inline-flex; align-items: center; gap: 6px; background: var(--gold-soft); color: #8a6510; border: 1px dashed var(--gold); padding: 8px 14px; border-radius: 999px; font: inherit; font-weight: 700; font-size: 13.5px; cursor: pointer; }
.demo-fill:hover { background: #f7e4b4; }
.stage-pick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 20px; }
.stage-pick label { cursor: pointer; min-width: 0; }
.stage-pick input { position: absolute; opacity: 0; pointer-events: none; }
.stage-pick .sp { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 16px 10px; border-radius: 16px; border: 2px solid var(--line-2); background: #fff; transition: .2s; height: 100%; }
.stage-pick .sp i.ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--cream); color: var(--navy); }
.stage-pick .sp b { font-size: 14.5px; }
.stage-pick .sp small { font-size: 12px; color: var(--text-2); }
.stage-pick input:checked + .sp { border-color: var(--teal); background: var(--teal-soft); }
.stage-pick input:checked + .sp i.ic { background: var(--teal); color: #fff; }
.stage-pick input:focus-visible + .sp { outline: 3px solid var(--gold); }
.note { display: flex; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--teal-soft); color: var(--teal-2); font-size: 14px; font-weight: 600; margin-top: 16px; }
.note.gold { background: var(--gold-soft); color: #7a5a0e; }
.note svg { margin-top: 2px; }
.docs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.doc { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 16px; border: 2px dashed var(--line-2); background: #fff; cursor: pointer; transition: .2s; text-align: start; font: inherit; color: var(--text); width: 100%; min-width: 0; }
.doc:hover { border-color: var(--teal); background: var(--teal-soft); }
.doc i.ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--cream); color: var(--navy); flex-shrink: 0; }
.doc .dt { flex: 1; min-width: 0; }
.doc b { display: block; font-size: 14.5px; }
.doc small { display: block; color: var(--text-2); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.doc .st { font-size: 12px; font-weight: 800; color: var(--text-2); flex-shrink: 0; }
.doc.ok { border-style: solid; border-color: var(--teal); background: #f3faf7; }
.doc.ok i.ic { background: var(--teal); color: #fff; }
.doc.ok .st { color: var(--teal); }
.doc.err { border-color: #dc2626; }
.slots-days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 14px; scrollbar-width: thin; }
.day-btn { flex: 1 0 82px; padding: 10px 6px; border-radius: 14px; border: 2px solid var(--line-2); background: #fff; cursor: pointer; text-align: center; font: inherit; color: var(--text); transition: .2s; }
.day-btn small { display: block; font-size: 12px; color: var(--text-2); }
.day-btn b { display: block; font-size: 18px; font-family: var(--display); }
.day-btn.active { border-color: var(--teal); background: var(--teal); color: #fff; }
.day-btn.active small { color: rgba(255, 255, 255, .85); }
.slots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.slot { padding: 10px 6px; border-radius: 12px; border: 1.5px solid var(--line-2); background: #fff; cursor: pointer; font: inherit; font-weight: 700; font-size: 14px; color: var(--text); transition: .2s; }
.slot:hover { border-color: var(--teal); }
.slot.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.slot[disabled] { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.pay-box { margin-top: 24px; padding: 20px; border-radius: 18px; border: 1px solid var(--line); background: var(--cream); }
.pay-box h4 { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 16px; }
.pay-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.pay-row .amt { font-family: var(--display); font-size: 28px; color: var(--navy); }
.pay-methods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.pm { cursor: pointer; }
.pm input { position: absolute; opacity: 0; pointer-events: none; }
.pm span { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border-radius: 12px; border: 2px solid var(--line-2); background: #fff; font-weight: 800; font-size: 15px; transition: .2s; }
.pm input:checked + span { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(20, 33, 61, .08); }
.pm .mada { color: #0b6e4f; letter-spacing: .5px; }
.pm .apple { color: #000; }
.pm-hidden { display: none; }
.summary { position: sticky; top: calc(var(--hdr) + 20px); padding: 22px; }
.summary h3 { font-size: 17px; display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.summary h3 svg { color: var(--teal); }
.sum-rows { display: grid; gap: 0; }
.sum-rows div { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.sum-rows div span { color: var(--text-2); flex-shrink: 0; }
.sum-rows div b { text-align: left; min-width: 0; overflow-wrap: anywhere; }
.sum-total { margin-top: 14px; padding: 14px; border-radius: 14px; background: var(--navy); color: #fff; }
.sum-total small { display: block; color: rgba(255, 255, 255, .7); font-size: 12.5px; }
.sum-total b { font-family: var(--display); font-size: 24px; color: var(--gold); }
.sum-help { margin-top: 14px; display: flex; gap: 10px; align-items: center; font-size: 13.5px; color: var(--text-2); }
.sum-help i.ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--teal-soft); color: var(--teal); flex-shrink: 0; }
.success { text-align: center; padding: 20px 0 10px; }
.success .check { width: 92px; height: 92px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center; background: var(--teal); color: #fff; box-shadow: 0 0 0 12px var(--teal-soft); animation: pop .6s var(--ease); }
.success .check svg { width: 46px; height: 46px; stroke-width: 3; }
@keyframes pop { from { transform: scale(.4); } 70% { transform: scale(1.08); } to { transform: none; } }
.success h2 { font-family: var(--display); font-size: 32px; }
.app-no { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 14px; background: var(--gold-soft); border: 1px dashed var(--gold); font-weight: 800; font-size: 20px; color: var(--navy); margin: 8px 0 22px; direction: ltr; }
.app-no button { border: 0; background: #fff; border-radius: 10px; width: 34px; height: 34px; display: grid; place-items: center; cursor: pointer; color: var(--navy); }
.next-steps { display: grid; gap: 0; max-width: 520px; margin: 0 auto 26px; text-align: start; }
.ns { display: flex; gap: 14px; position: relative; padding-bottom: 18px; }
.ns:not(:last-child)::before { content: ""; position: absolute; inset-inline-start: 19px; top: 40px; bottom: 0; width: 2px; background: var(--line-2); }
.ns i.ic { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); border: 2px solid var(--line-2); color: var(--text-2); flex-shrink: 0; }
.ns.done i.ic { background: var(--teal); border-color: var(--teal); color: #fff; }
.ns.cur i.ic { border-color: var(--gold); color: #a67a12; background: var(--gold-soft); }
.ns b { display: block; font-size: 15px; }
.ns small { color: var(--text-2); font-size: 13px; }
.success .acts { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }

/* ---------- Fees ---------- */
.fee-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.fee-card { padding: 24px 20px; position: relative; overflow: hidden; display: flex; flex-direction: column; }
.fee-card.pop { border: 2px solid var(--gold); }
.fee-card .ribbon { position: absolute; top: 14px; inset-inline-end: -34px; transform: rotate(-45deg); background: var(--gold); color: var(--navy); font-size: 11.5px; font-weight: 800; padding: 3px 40px; }
.fee-card i.ic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--navy); color: var(--gold); margin-bottom: 12px; }
.fee-card h3 { font-size: 18px; margin-bottom: 2px; }
.fee-card .grades { color: var(--text-2); font-size: 13px; margin-bottom: 14px; }
.fee-card .price { font-family: var(--display); font-size: 34px; color: var(--navy); line-height: 1.2; }
.fee-card .price small { font-family: "Cairo", sans-serif; font-size: 14px; color: var(--text-2); font-weight: 600; }
.fee-card ul { list-style: none; padding: 0; margin: 16px 0 18px; display: grid; gap: 8px; font-size: 14px; flex: 1; }
.fee-card li { display: flex; justify-content: space-between; gap: 8px; padding-bottom: 8px; border-bottom: 1px dashed var(--line); }
.fee-card li span { color: var(--text-2); }
.table-wrap { overflow-x: auto; border-radius: 18px; border: 1px solid var(--line); background: #fff; }
.tbl { width: 100%; border-collapse: collapse; min-width: 640px; }
.tbl th, .tbl td { padding: 14px 16px; text-align: start; border-bottom: 1px solid var(--line); font-size: 14.5px; white-space: nowrap; }
.tbl th { background: var(--navy); color: #fff; font-weight: 700; font-size: 14px; }
.tbl tbody tr:hover { background: var(--cream); }
.tbl td.num { font-weight: 700; }
.tbl tfoot td { background: var(--gold-soft); font-weight: 800; }
.disc-card { display: flex; gap: 14px; align-items: center; padding: 18px; }
.disc-card .pct { width: 66px; height: 66px; border-radius: 18px; display: grid; place-items: center; background: var(--gold); color: var(--navy); font-family: var(--display); font-size: 22px; font-weight: 700; flex-shrink: 0; }
.disc-card h4 { font-size: 15px; margin: 0 0 2px; }
.disc-card p { margin: 0; font-size: 13px; color: var(--text-2); }
.inst { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.inst-item { padding: 22px; text-align: center; position: relative; }
.inst-item .pc { font-family: var(--display); font-size: 40px; color: var(--teal); line-height: 1.2; }
.inst-item h4 { margin: 4px 0; font-size: 16px; }
.inst-item p { margin: 0; color: var(--text-2); font-size: 13.5px; }
.methods { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.method { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-weight: 800; }
.method svg { color: var(--teal); }
.calc { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 0; overflow: hidden; }
.calc-in { padding: 28px; }
.calc-out { padding: 28px; background: var(--navy); color: rgba(255, 255, 255, .82); display: flex; flex-direction: column; gap: 10px; }
.calc-out h4 { color: #fff; }
.calc-out .row { display: flex; justify-content: space-between; gap: 10px; font-size: 14.5px; padding-bottom: 8px; border-bottom: 1px dashed rgba(255, 255, 255, .15); }
.calc-out .row.disc b { color: #6ee7b7; }
.calc-out .tot { margin-top: auto; padding-top: 10px; }
.calc-out .tot b { display: block; font-family: var(--display); font-size: 36px; color: var(--gold); line-height: 1.2; }
.kids { display: grid; gap: 10px; margin-bottom: 14px; }
.kid-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.kid-row .kn { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); font-weight: 800; color: var(--navy); }
.kid-row select { font: inherit; padding: 10px 12px; border-radius: 12px; border: 1.5px solid var(--line-2); background: #fff; width: 100%; }
.kid-row .rm { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); background: #fff; cursor: pointer; display: grid; place-items: center; color: #b91c1c; }
.toggle { display: flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 700; font-size: 14.5px; margin-top: 8px; }
.toggle input { width: 20px; height: 20px; accent-color: var(--teal); }
.faq { display: grid; gap: 10px; max-width: 860px; margin: 0 auto; }
.faq-item { border-radius: 16px; background: #fff; border: 1px solid var(--line); overflow: hidden; }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 20px; background: none; border: 0; font: inherit; font-weight: 800; font-size: 15.5px; color: var(--navy); cursor: pointer; text-align: start; }
.faq-q svg { transition: transform .3s; color: var(--teal); }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.faq-a > div { overflow: hidden; }
.faq-a p { margin: 0; padding: 0 20px 18px; color: var(--text-2); font-size: 14.5px; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-item.open { border-color: var(--gold); }

/* ---------- News page ---------- */
.filters { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 30px; }
.fchip { padding: 8px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font: inherit; font-weight: 700; font-size: 14px; color: var(--navy); cursor: pointer; transition: .2s; }
.fchip:hover { border-color: var(--teal); }
.fchip.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.fchip .cnt { display: inline-block; min-width: 22px; padding: 0 6px; margin-inline-start: 6px; border-radius: 999px; background: var(--cream); color: var(--navy); font-size: 12px; }
.fchip.active .cnt { background: var(--gold); }
.news-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 30px; align-items: start; }
.side-box { padding: 22px; position: sticky; top: calc(var(--hdr) + 20px); }
.side-box h3 { font-size: 17px; display: flex; align-items: center; gap: 8px; }
.side-box h3 svg { color: var(--teal); }
.nl-form { display: flex; gap: 8px; margin-top: 8px; }
.nl-form input { flex: 1; min-width: 0; font: inherit; padding: 10px 12px; border-radius: 12px; border: 1.5px solid var(--line-2); }

/* ---------- Contact ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: -50px; position: relative; z-index: 2; }
.sec-card { padding: 26px; position: relative; overflow: hidden; }
.sec-card .head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.sec-card .head i.ic { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--navy); color: var(--gold); flex-shrink: 0; }
.sec-card .head h3 { margin: 0; font-size: 19px; }
.sec-card .head small { color: var(--text-2); }
.c-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.c-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; }
.c-list li svg { color: var(--teal); margin-top: 3px; }
.c-list a { color: var(--text); font-weight: 700; }
.c-list a:hover { color: var(--teal); }
.contact-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: stretch; }
.c-form { padding: 28px; }
.map { position: relative; min-height: 420px; border-radius: 22px; overflow: hidden; background: #e9e3d2; border: 1px solid var(--line); }
.map .grid-l { position: absolute; inset: 0; background-image: linear-gradient(rgba(20, 33, 61, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(20, 33, 61, .06) 1px, transparent 1px); background-size: 34px 34px; }
.map .road { position: absolute; background: #fff; box-shadow: 0 0 0 1px rgba(20, 33, 61, .06); }
.map .road.h1 { height: 22px; inset-inline: 0; top: 38%; }
.map .road.h2 { height: 12px; inset-inline: 0; top: 72%; }
.map .road.v1 { width: 22px; top: 0; bottom: 0; inset-inline-start: 58%; }
.map .road.v2 { width: 12px; top: 0; bottom: 0; inset-inline-start: 22%; }
.map .road.d1 { height: 14px; width: 140%; top: 18%; inset-inline-start: -20%; transform: rotate(-14deg); }
.map .park { position: absolute; border-radius: 18px; background: #cfe5c6; }
.map .park.p1 { width: 120px; height: 80px; top: 50%; inset-inline-start: 6%; }
.map .park.p2 { width: 90px; height: 100px; top: 8%; inset-inline-start: 72%; }
.map .lbl { position: absolute; font-size: 11.5px; font-weight: 700; color: #6b6553; background: rgba(255, 255, 255, .8); padding: 1px 8px; border-radius: 6px; }
.map .pin { position: absolute; top: 38%; inset-inline-start: 58%; transform: translate(50%, -100%); display: flex; flex-direction: column; align-items: center; z-index: 2; }
.map .pin .bubble { background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 12px; font-weight: 800; font-size: 13px; white-space: nowrap; margin-bottom: 6px; box-shadow: var(--shadow-pop); display: flex; align-items: center; gap: 8px; }
.map .pin .bubble small { color: var(--gold); font-weight: 700; }
.map .pin .mk { width: 46px; height: 46px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--teal); display: grid; place-items: center; border: 4px solid #fff; box-shadow: 0 10px 20px rgba(20, 33, 61, .3); animation: bounce 2.2s infinite; }
.map .pin .mk svg { transform: rotate(45deg); color: #fff; }
.map .pin::after { content: ""; width: 26px; height: 8px; border-radius: 50%; background: rgba(20, 33, 61, .25); margin-top: 4px; }
@keyframes bounce { 50% { transform: rotate(-45deg) translate(4px, -4px); } }
.map .map-acts { position: absolute; bottom: 14px; inset-inline: 14px; display: flex; gap: 8px; flex-wrap: wrap; z-index: 3; }
.hours { display: grid; gap: 8px; }
.hours div { display: flex; justify-content: space-between; gap: 10px; padding: 10px 14px; border-radius: 12px; background: var(--cream); font-size: 14.5px; }
.hours div b { color: var(--navy); }
.hours div.off { color: var(--text-2); }
.wa-chat { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); }
.wa-head { background: #075e54; color: #fff; padding: 12px 16px; display: flex; align-items: center; gap: 10px; }
.wa-head i.av { width: 38px; height: 38px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.wa-head b { display: block; font-size: 14.5px; }
.wa-head small { opacity: .8; font-size: 12px; }
.wa-body { background: #ece5dd; padding: 14px; display: grid; gap: 8px; min-height: 200px; max-height: 300px; overflow-y: auto; }
.wa-msg { max-width: 82%; padding: 8px 12px; border-radius: 12px; font-size: 14px; background: #fff; justify-self: end; box-shadow: 0 1px 1px rgba(0, 0, 0, .08); }
.wa-msg.me { background: #dcf8c6; justify-self: start; }
.wa-msg small { display: block; text-align: left; font-size: 10.5px; color: #8696a0; }
.wa-quick { display: flex; gap: 6px; flex-wrap: wrap; padding: 10px; background: #f0f0f0; }
.wa-quick button { border: 1px solid #cfd8dc; background: #fff; border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 13px; cursor: pointer; }
.wa-quick button:hover { border-color: #075e54; color: #075e54; }

/* ---------- Footer ---------- */
.r-footer { background: var(--navy); color: rgba(255, 255, 255, .72); position: relative; margin-top: 0; }
.footer-arc { height: 6px; background: linear-gradient(90deg, var(--teal), var(--gold), var(--teal)); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-top: 64px; padding-bottom: 44px; }
.footer-grid > * { min-width: 0; }
.r-footer h4 { color: #fff; font-size: 16px; margin-bottom: 16px; position: relative; padding-bottom: 10px; }
.r-footer h4::after { content: ""; position: absolute; bottom: 0; inset-inline-start: 0; width: 32px; height: 3px; border-radius: 3px; background: var(--gold); }
.r-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 14.5px; }
.r-footer a { color: rgba(255, 255, 255, .72); transition: .2s; }
.r-footer a:hover { color: var(--gold); }
.f-about p { font-size: 14.5px; margin: 16px 0 18px; max-width: 380px; }
.f-social { display: flex; gap: 8px; flex-wrap: wrap; }
.f-social a { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .07); color: #fff; }
.f-social a:hover { background: var(--gold); color: var(--navy); }
.f-social svg { width: 17px; height: 17px; }
.f-contact li { display: flex; gap: 8px; align-items: flex-start; }
.f-contact svg { color: var(--gold); width: 16px; height: 16px; margin-top: 4px; }
.f-contact .btn-r { margin-top: 16px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 18px 0; font-size: 13.5px; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.powered { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.powered > a:first-child { color: var(--gold); font-weight: 800; }
.by-almgrat { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--navy) !important; font-size: 12px; font-weight: 700; direction: ltr; }
.by-almgrat img { height: 18px; width: auto; }
.wa-float { position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 50; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px rgba(37, 211, 102, .4); transition: transform .25s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; }

/* ---------- Toast & Modal ---------- */
.toast-stack { position: fixed; z-index: 200; bottom: 24px; inset-inline-start: 24px; display: grid; gap: 10px; max-width: min(380px, calc(100vw - 32px)); }
.toast { display: flex; align-items: flex-start; gap: 10px; padding: 14px 16px; border-radius: 14px; background: var(--navy); color: #fff; box-shadow: var(--shadow-pop); font-size: 14.5px; font-weight: 600; transform: translateY(16px); opacity: 0; transition: .35s var(--ease); border-inline-start: 4px solid var(--teal); }
.toast.show { transform: none; opacity: 1; }
.toast svg { margin-top: 2px; color: #6ee7b7; }
.toast.info { border-color: var(--gold); }
.toast.info svg { color: var(--gold); }
.toast.warn { border-color: #f59e0b; }
.toast.warn svg { color: #fbbf24; }
.toast.error { border-color: #ef4444; }
.toast.error svg { color: #fca5a5; }
.r-modal { position: fixed; inset: 0; z-index: 150; background: rgba(20, 33, 61, .6); backdrop-filter: blur(4px); display: grid; place-items: center; padding: 20px; opacity: 0; transition: opacity .25s; overflow-y: auto; }
.r-modal.open { opacity: 1; }
.r-modal-box { position: relative; width: 100%; max-width: 520px; background: #fff; border-radius: 24px; box-shadow: var(--shadow-pop); transform: translateY(20px) scale(.98); transition: transform .3s var(--ease); max-height: calc(100vh - 40px); overflow-y: auto; }
.r-modal.open .r-modal-box { transform: none; }
.r-modal-box.wide { max-width: 820px; }
.r-modal-box.img { max-width: 960px; background: transparent; box-shadow: none; overflow: visible; }
.r-modal-x { position: absolute; top: 12px; inset-inline-end: 12px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .95); box-shadow: 0 4px 12px rgba(0, 0, 0, .12); display: grid; place-items: center; cursor: pointer; color: var(--navy); }
.m-pad { padding: 28px; }
.m-pad h3 { font-size: 21px; margin-bottom: 4px; padding-inline-end: 40px; }
.m-pad .sub { color: var(--text-2); margin-bottom: 18px; font-size: 14.5px; }
.m-acts { display: flex; gap: 10px; justify-content: flex-end; margin-top: 20px; flex-wrap: wrap; }
.article-hero { height: 320px; border-radius: 24px 24px 0 0; position: relative; }
.article-body { padding: 26px 30px 30px; }
.article-body .meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: var(--text-2); margin-bottom: 10px; }
.article-body .meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-body .meta svg { width: 15px; height: 15px; color: var(--teal); }
.article-body h2 { font-size: 26px; }
.article-body p { font-size: 16px; line-height: 2; color: var(--text); }
.article-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.lightbox-img { width: 100%; aspect-ratio: 16 / 10; border-radius: 22px; }
.lightbox-cap { color: #fff; text-align: center; margin-top: 12px; font-weight: 700; font-size: 17px; }
.processing { text-align: center; padding: 40px 28px; }
.spinner { width: 54px; height: 54px; border-radius: 50%; border: 5px solid var(--teal-soft); border-top-color: var(--teal); margin: 0 auto 16px; animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in, .js .hero .reveal, .js .page-hero .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-in, .hero-float, .map .pin .mk, .hero-tag .dot { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .r-nav { display: none; }
  .burger { display: inline-flex; }
  .r-actions { margin-inline-start: auto; }
}
@media (max-width: 1080px) {
  .hero .container { grid-template-columns: minmax(0, 1fr); }
  .hero-side { max-width: 520px; }
  .g4, .fee-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-wrap, .results-wrap, .principal, .stage-top, .app-promo, .contact-wrap, .calc { grid-template-columns: minmax(0, 1fr); }
  .why-media { min-height: 380px; }
  .prog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prog-grid .prog-card:first-child { grid-row: auto; grid-column: 1 / -1; min-height: 320px; }
  .values { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .adm-layout, .news-layout { grid-template-columns: minmax(0, 1fr); }
  .summary, .side-box { position: static; }
  .stage-blocks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app-promo { padding: 40px; }
  .news-feature { grid-template-columns: minmax(0, 1fr); }
  .news-feature .ph { min-height: 240px; }
}
@media (max-width: 760px) {
  :root { --hdr: 68px; }
  .sec { padding: 68px 0; }
  .topbar .hide-sm { display: none; }
  .g2, .g3 { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3)::before { display: none; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .why-list, .achv, .app-feats { grid-template-columns: minmax(0, 1fr); }
  .why-media .m1 { inset: 0 0 50px 30px; }
  .prog-grid { grid-template-columns: minmax(0, 1fr); }
  .prog-card { min-height: 240px; }
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline::before { inset-inline-start: 26px; transform: none; }
  .tl { grid-template-columns: 56px minmax(0, 1fr); gap: 12px; }
  .tl .tl-dot { grid-column: 1; grid-row: 1; }
  .tl:nth-child(odd) .tl-box, .tl:nth-child(even) .tl-box { grid-column: 2; grid-row: 1; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; }
  .g-item.wide { grid-column: span 2; }
  .stage-blocks, .kv { grid-template-columns: minmax(0, 1fr); }
  .kv { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid, .docs, .contact-cards, .inst, .pay-methods { grid-template-columns: minmax(0, 1fr); }
  .stage-pick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .slots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .wz-body { padding: 22px 18px; }
  .wz-foot { padding: 16px 18px; }
  .app-promo { padding: 30px 22px; border-radius: 24px; }
  .cta-band { padding: 34px 24px; border-radius: 24px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; padding-top: 48px; }
  .hero { min-height: 0; padding: 48px 0 110px; }
  .hero-float.f1 { inset-inline-end: 6px; }
  .hero-float.f2 { inset-inline-start: 6px; }
  .page-hero { padding: 56px 0 90px; }
  .stage-nav { border-radius: 18px; margin-top: -30px; }
  .stage-nav a { padding: 7px 12px; font-size: 13.5px; }
  .adm-banner .inner { padding: 20px; }
  .fee-cards { grid-template-columns: minmax(0, 1fr); }
  .article-hero { height: 220px; }
  .article-body { padding: 20px; }
  .calc-in, .calc-out { padding: 22px; }
  .ev-type { display: none; }
  .map { min-height: 340px; }
  .wa-float { bottom: 16px; inset-inline-end: 16px; width: 50px; height: 50px; }
  .toast-stack { inset-inline-start: 16px; bottom: 16px; }
}
@media (max-width: 480px) {
  .r-logo b { font-size: 16px; }
  .r-logo small { font-size: 9px; letter-spacing: 1px; }
  .r-logo .crest { width: 36px; height: 42px; }
  .r-header .container { gap: 10px; }
  .r-actions { gap: 6px; }
  .r-actions .r-apply { display: none; }
  .r-actions .btn-r { padding: 9px 12px; }
  .hero-actions .btn-r { flex: 1 1 100%; }
  .countdown div { min-width: 50px; padding: 6px; }
  .why-media { min-height: 300px; }
  .why-media .badge-year { padding: 10px 12px; }
  .why-media .badge-year b { font-size: 26px; }
  .values { grid-template-columns: minmax(0, 1fr); }
  .gallery { grid-template-columns: minmax(0, 1fr); }
  .g-item.wide, .g-item.tall { grid-column: auto; grid-row: auto; }
  .wz-foot .right { width: 100%; }
  .wz-foot .right .btn-r { flex: 1; }
  .slots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ev { gap: 10px; padding: 12px; }
  .ev-date { width: 54px; }
  .kid-row { grid-template-columns: auto minmax(0, 1fr) auto; }
  .hero-float { display: none; }
  .m-pad { padding: 22px 18px; }
}
@media (max-width: 480px) {
  .tb-social { display: none !important; }
  .topbar .container { justify-content: center; }
}
@media (max-width: 430px) {
  .r-header .r-logo small { display: none; }
}
@media (max-width: 380px) {
  .r-login .lbl { display: none; }
  .r-login { width: 42px; height: 42px; padding: 0 !important; }
  .r-logo small { display: none; }
}
