/* ==========================================================
   مدارس علو الأهلية — تصميم عصري
   Design Tokens: مستوحاة من ألوان الشعار
   ========================================================== */
:root {
  --navy-900: #0f1340;
  --navy:     #1b2056;   /* كحلي الشعار */
  --navy-700: #262c74;
  --blue:     #0898c0;   /* أزرق الشعار */
  --blue-600: #0a86ab;
  --green:    #20b090;   /* أخضر الشعار */
  --green-600:#1a9a7d;

  --ink:      #1d2236;
  --ink-2:    #4a5068;
  --muted:    #7a8099;
  --line:     #e5e8f0;
  --bg:       #ffffff;
  --bg-alt:   #f5f7fb;
  --white:    #ffffff;

  --font: 'Cairo', 'Segoe UI', Tahoma, Arial, sans-serif;
  --container: 1200px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(15,19,64,.06), 0 2px 8px rgba(15,19,64,.05);
  --shadow:    0 10px 30px -12px rgba(15,19,64,.18), 0 2px 6px rgba(15,19,64,.05);
  --shadow-lg: 0 30px 60px -20px rgba(15,19,64,.35);
  --grad: linear-gradient(135deg, var(--navy) 0%, var(--navy-700) 55%, var(--blue) 130%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.35; margin: 0 0 .5em; color: var(--navy); font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.icon { display: inline-block; vertical-align: middle; flex-shrink: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 0; font: inherit; font-weight: 600;
  font-size: 15px; line-height: 1; border: 1.5px solid transparent; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 16px 30px; font-size: 16px; }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -8px rgba(8,152,192,.6); }
.btn-primary:hover { background: var(--blue-600); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { box-shadow: var(--shadow); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.08); }
.btn-ghost:hover { background: rgba(255,255,255,.16); }
.btn-ghost .icon { color: var(--green); }

/* ---------- Eyebrow & section heads ---------- */
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .02em;
  color: var(--blue); background: rgba(8,152,192,.09);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 14px;
}
.eyebrow-light { color: #bff1e4; background: rgba(255,255,255,.12); }
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { margin-bottom: 48px; }
.section-head.center { text-align: center; max-width: 720px; margin-inline: auto; }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; max-width: none; text-align: start; }
.section-title { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -.01em; margin-bottom: .3em; }
.section-sub { color: var(--muted); font-size: 17px; margin: 0; }
.lead { font-size: 19px; color: var(--navy); font-weight: 500; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { display: flex; align-items: center; gap: 20px; min-height: 80px; width: min(100% - 40px, 1340px); }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { width: 52px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { color: var(--navy); font-size: 17px; }
.brand-text small { color: var(--muted); font-size: 11px; letter-spacing: .08em; margin-top: 2px; }
.main-nav { display: flex; align-items: center; gap: 6px; margin-inline-start: auto; flex-wrap: nowrap; }
.main-nav > a, .main-nav > .nav-lang {
  display: inline-flex; align-items: center; justify-content: center; white-space: nowrap;
  min-height: 42px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 0; background: #fff;
  font-size: 14px; font-weight: 600; color: var(--ink-2); line-height: 1; transition: color .2s, background .2s, border-color .2s;
}
.main-nav > a:hover, .main-nav > .nav-lang:hover { color: #fff; background: var(--navy); border-color: var(--navy); }
.main-nav > .nav-lang:hover { color: #fff !important; background: var(--navy) !important; }
.nav-lang {
  gap: 8px; color: var(--navy) !important; border: 1.5px solid var(--navy) !important;
  background: transparent !important; font-weight: 700 !important; letter-spacing: .01em;
}
.nav-lang .icon { color: var(--blue); transition: color .2s; }
.nav-lang:hover .icon { color: #7ef0d2; }
.nav-lang span { direction: ltr; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .btn-ghost { color: var(--navy); border-color: var(--line); background: #fff; }
.header-actions .btn-icon { width: 44px; height: 44px; padding: 0; }
.header-actions .btn-ghost:hover { background: var(--bg-alt); }
.header-actions .btn-ghost .icon { color: var(--blue); }
.menu-btn {
  display: none; width: 44px; height: 44px; border-radius: 0; border: 1px solid var(--line);
  background: #fff; cursor: pointer; padding: 0; position: relative;
}
.menu-btn span {
  position: absolute; left: 12px; right: 12px; height: 2px; background: var(--navy); border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.menu-btn span:nth-child(1) { top: 14px; }
.menu-btn span:nth-child(2) { top: 21px; }
.menu-btn span:nth-child(3) { top: 28px; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: var(--navy);
  padding: 80px 0 0;
}
/* سلايدر صور المرافق الحقيقية */
.hero-slides { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-slides span {
  position: absolute; inset: -2%; background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.12); filter: saturate(.75) blur(2.5px);
  animation: slide 24s ease-in-out infinite;
}
.hero-slides span:nth-child(1) { animation-delay: 0s; }
.hero-slides span:nth-child(2) { animation-delay: -6s; }
.hero-slides span:nth-child(3) { animation-delay: -12s; }
.hero-slides span:nth-child(4) { animation-delay: -18s; }
@keyframes slide {
  0%   { opacity: 0; transform: scale(1.12); }
  6%   { opacity: 1; }
  27%  { opacity: 1; transform: scale(1.02); }
  33%  { opacity: 0; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.12); }
}
.hero-slides::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(20,24,72,.92) 0%, rgba(27,32,86,.82) 50%, rgba(23,97,154,.72) 100%);
}
.hero > .container { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) { .hero-slides span { animation: none; opacity: 0; } .hero-slides span:first-child { opacity: 1; } }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero-title { color: #fff; font-size: clamp(44px, 6.4vw, 78px); line-height: 1.12; font-weight: 800; letter-spacing: -.02em; margin-bottom: .35em; }
.hero-title span { display: block; }
.hero-title .accent { background: linear-gradient(90deg, #7ef0d2, #5cd3ef); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { font-size: 19px; color: rgba(255,255,255,.85); max-width: 560px; margin-bottom: 36px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-cta .btn-primary { background: var(--green); box-shadow: 0 12px 28px -10px rgba(32,176,144,.8); }
.hero-cta .btn-primary:hover { background: var(--green-600); }
.hero-media { position: relative; }
.hero-cutout { position: relative; }
.hero-cutout img { position: relative; width: 100%; height: auto; }
.stats {
  position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  margin-top: 72px; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius) var(--radius) 0 0;
  backdrop-filter: blur(6px);
}
.stats li { padding: 26px 28px; border-inline-start: 1px solid rgba(255,255,255,.12); }
.stats li:first-child { border-inline-start: 0; }
.stats strong { display: block; font-size: 20px; color: #fff; font-weight: 700; }
.stats span { font-size: 14px; color: rgba(255,255,255,.7); }

/* ---------- About ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-bottom: 72px; }
.split-media { position: relative; }
.split-media img { border-radius: 24px; box-shadow: var(--shadow); width: 100%; aspect-ratio: 6/5; object-fit: cover; }
.split-media::after {
  content: ""; position: absolute; inset: -14px 14px 14px -14px; border-radius: 28px;
  background: linear-gradient(135deg, var(--green), var(--blue)); z-index: -1; opacity: .18;
}
.split-text p { color: var(--ink-2); }

/* ---------- الرؤية والرسالة والقيم ---------- */
.mvv { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; margin-bottom: 96px; }
.mvv-card { position: relative; overflow: hidden; border-radius: 24px; padding: 40px; }
.mvv-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.mvv-head h3 { margin: 0; font-size: 18px; }
.mvv-icon {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0;
}
.mvv-statement { margin: 0; text-wrap: balance; }

/* الرؤية: البطاقة الأبرز */
.mvv-vision {
  background: radial-gradient(120% 140% at 100% 0%, var(--navy-700) 0%, var(--navy) 45%, var(--navy-900) 100%);
  color: #fff; display: flex; flex-direction: column; justify-content: center; min-height: 300px;
  box-shadow: var(--shadow-lg);
}
.mvv-vision::after {
  content: ""; position: absolute; inset-inline-start: -90px; bottom: -110px; width: 320px; height: 320px;
  border-radius: 50%; background: radial-gradient(circle, rgba(8,152,192,.38), transparent 68%); pointer-events: none;
}
.mvv-vision .mvv-head { position: relative; z-index: 1; }
.mvv-vision .mvv-head h3 { color: #7ef0d2; }
.mvv-vision .mvv-icon { background: rgba(255,255,255,.1); color: #7ef0d2; border: 1px solid rgba(255,255,255,.16); }
.mvv-vision .mvv-statement {
  position: relative; z-index: 1; color: #fff; font-size: clamp(26px, 3vw, 36px);
  font-weight: 700; line-height: 1.6; max-width: 20em;
}
.mvv-mark {
  position: absolute; inset-inline-end: -50px; top: -40px; color: #fff; opacity: .05; pointer-events: none; line-height: 0;
}
.mvv-mark .icon { width: 280px; height: 280px; }

/* الرسالة */
.mvv-mission {
  background: linear-gradient(160deg, rgba(8,152,192,.08), rgba(32,176,144,.06) 60%, #fff);
  border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center;
}
.mvv-mission::before {
  content: ""; position: absolute; inset-block: 28px; inset-inline-start: 0; width: 4px;
  border-radius: 0 4px 4px 0; background: linear-gradient(180deg, var(--blue), var(--green));
}
[dir="rtl"] .mvv-mission::before { border-radius: 4px 0 0 4px; }
.mvv-mission .mvv-icon { background: #fff; color: var(--blue); box-shadow: var(--shadow-sm); }
.mvv-mission .mvv-statement { color: var(--navy); font-size: 21px; font-weight: 600; line-height: 1.85; }

/* القيم */
.mvv-values {
  grid-column: 1 / -1; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  display: grid; grid-template-columns: 220px 1fr; align-items: center; gap: 32px; padding: 32px 40px;
}
.mvv-values .mvv-head { margin: 0; }
.mvv-values .mvv-icon { background: linear-gradient(135deg, rgba(8,152,192,.14), rgba(32,176,144,.18)); color: var(--blue); }
.values-list { display: grid; grid-template-columns: repeat(5, 1fr); }
.values-list li {
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  padding-inline: 22px; border-inline-start: 1px solid var(--line);
}
.value-ico {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bg-alt); color: var(--blue);
}
.value-name { font-size: 16px; font-weight: 700; color: var(--navy); line-height: 1.5; }

.profile-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.profile-card {
  position: relative; padding: 30px 26px; border-radius: var(--radius);
  background: var(--bg-alt); border: 1px solid transparent; transition: .25s;
}
.profile-card:hover { background: #fff; border-color: var(--line); box-shadow: var(--shadow); }
.profile-num {
  display: inline-block; font-size: 14px; font-weight: 700; color: var(--green);
  margin-bottom: 14px; letter-spacing: .05em;
}
.profile-card h3 { font-size: 19px; }
.profile-card p { color: var(--ink-2); font-size: 15px; margin: 0; }

/* ---------- Stages ---------- */
.stage-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-bottom: 56px; }
.stage-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.stage-card::before {
  content: ""; position: absolute; top: 0; inset-inline: 0; height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--green));
}
.stage-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.stage-icon {
  width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center;
  background: var(--navy); color: #fff; margin-bottom: 18px;
}
.stage-card h3 { font-size: 20px; min-height: 2.7em; }
.stage-fee { font-size: 15px; color: var(--ink-2); margin-bottom: 4px; }
.stage-fee span { font-size: 26px; font-weight: 800; color: var(--navy); letter-spacing: -.01em; }
.stage-fee small { color: var(--muted); }
.stage-note { font-size: 14px; color: var(--muted); margin: 0; }

.bilingual {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center;
  background: var(--grad); color: #fff; border-radius: 28px; padding: 56px; box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.bilingual::after {
  content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(32,176,144,.35), transparent 70%); inset-inline-end: -120px; bottom: -160px;
}
.bilingual-text { position: relative; z-index: 1; }
.bilingual h3 { color: #fff; font-size: 30px; }
.bilingual p { color: rgba(255,255,255,.85); }
.bilingual-skills { position: relative; z-index: 1; display: grid; gap: 12px; }
.bilingual-skills li {
  display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 14px;
  background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.14);
}
.bilingual-skills .icon { color: #7ef0d2; }
.bilingual-skills span { font-weight: 500; }

/* ---------- Fees ---------- */
.fees-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-bottom: 48px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm);
}
.card-title { font-size: 19px; padding-bottom: 14px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.card-dark { background: var(--navy); border-color: var(--navy); }
.card-dark .card-title { color: #fff; border-color: rgba(255,255,255,.14); }
.card-dark .policy li { color: rgba(255,255,255,.86); }
.card-dark .policy li::before { background: var(--green); }
.note { font-size: 13px; color: var(--muted); margin: 14px 0 0; }

.table-wrap { overflow-x: auto; border-radius: var(--radius-sm); border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { padding: 13px 16px; text-align: start; border-bottom: 1px solid var(--line); }
thead th { background: var(--bg-alt); color: var(--navy); font-weight: 600; font-size: 14px; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: #fafbfe; }
td.num { font-weight: 700; color: var(--navy); white-space: nowrap; direction: ltr; text-align: start; }

.discounts { display: grid; gap: 12px; }
.discounts li {
  display: flex; align-items: center; gap: 16px; padding: 14px 16px; border-radius: 14px; background: var(--bg-alt);
}
.discounts .pct {
  flex-shrink: 0; min-width: 62px; text-align: center; padding: 8px 10px; border-radius: 10px;
  background: var(--green); color: #fff; font-weight: 800; font-size: 16px;
}
.discounts span:last-child { font-size: 15px; color: var(--ink-2); }

.policy { counter-reset: p; display: grid; gap: 12px; }
.policy li { position: relative; padding-inline-start: 34px; font-size: 15px; color: var(--ink-2); }
.policy li::before {
  counter-increment: p; content: counter(p); position: absolute; inset-inline-start: 0; top: 2px;
  width: 22px; height: 22px; border-radius: 50%; background: var(--blue); color: #fff;
  font-size: 12px; font-weight: 700; display: grid; place-items: center;
}

.cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 36px 40px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
}
.cta-band h3 { font-size: 24px; margin: 0 0 4px; }
.cta-band p { margin: 0; color: var(--muted); }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- News ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 56px; }
.news-card {
  background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; display: flex; flex-direction: column;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.news-card.news-featured { grid-column: span 2; }
.news-card.news-featured .news-thumb { aspect-ratio: auto; height: 100%; }
.news-thumb { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-alt); }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.news-card:hover .news-thumb img { transform: scale(1.05); }
.news-body { padding: 22px 24px 26px; }
.news-body time { font-size: 13px; color: var(--green); font-weight: 600; }
.news-body h3 { font-size: 18px; margin: 6px 0 0; }
.news-excerpt { color: var(--ink-2); font-size: 14px; margin: 8px 0 0; }
.news-card.news-featured { flex-direction: row; }
.news-card.news-featured .news-thumb { width: 55%; aspect-ratio: auto; }
.news-card.news-featured .news-body { display: flex; flex-direction: column; justify-content: center; padding: 36px; }
.news-card.news-featured .news-body h3 { font-size: 26px; }

.partners { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; padding-top: 32px; border-top: 1px solid var(--line); }
.partners-label { font-size: 14px; color: var(--muted); font-weight: 600; }
.partners ul { display: flex; gap: 10px; flex-wrap: wrap; }
.partners li {
  padding: 9px 16px; background: #fff; border: 1px solid var(--line); border-radius: 10px;
  font-size: 14px; color: var(--navy); font-weight: 600;
}

/* ---------- Gallery ---------- */
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter {
  font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; padding: 9px 18px; border-radius: 0;
  background: #fff; color: var(--ink-2); border: 1px solid var(--line); transition: .2s;
}
.filter:hover { color: var(--navy); border-color: var(--navy); }
.filter.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery-item { margin: 0; border-radius: var(--radius); overflow: hidden; position: relative; background: var(--bg-alt); box-shadow: var(--shadow-sm); }
.gallery-item[hidden] { display: none; }
.gallery-item a { display: block; position: relative; }
.gallery-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .5s; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item figcaption {
  position: absolute; inset-inline: 0; bottom: 0; padding: 40px 18px 14px;
  background: linear-gradient(transparent, rgba(15,19,64,.8)); color: #fff; font-weight: 600; font-size: 15px;
  opacity: 0; transform: translateY(8px); transition: .3s;
}
.gallery-item:hover figcaption { opacity: 1; transform: none; }
.gallery-more { text-align: center; margin-top: 40px; }
.gallery-more[hidden], #galleryMore[hidden] { display: none; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(10,12,35,.92); display: grid; place-items: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1100px, 100%); max-height: 86vh; border-radius: 14px; box-shadow: var(--shadow-lg); }
.lightbox-close {
  position: absolute; top: 18px; inset-inline-end: 18px; width: 48px; height: 48px; border-radius: 0;
  border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 30px; line-height: 1; cursor: pointer;
}
.lightbox-close:hover { background: rgba(255,255,255,.26); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.78); padding-top: 72px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 48px; padding-bottom: 56px; }
.footer-brand img { width: 84px; height: auto; margin-bottom: 18px; }
.footer-brand p { color: rgba(255,255,255,.65); max-width: 380px; }
.site-footer h4 { color: #fff; font-size: 17px; margin-bottom: 18px; }
.contact-list li, .footer-links li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.contact-list .icon { color: var(--green); margin-top: 4px; }
.contact-list a, .footer-links a { transition: color .2s; }
.contact-list a:hover, .footer-links a:hover { color: #fff; }
.footer-links li::before { content: "←"; color: var(--green); }
.footer-social { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.footer-social a {
  width: 42px; height: 42px; border-radius: 0; display: grid; place-items: center;
  background: rgba(255,255,255,.08); color: #fff; transition: .2s;
}
.footer-social a:hover { background: var(--green); transform: translateY(-2px); }
.footer-bar { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; font-size: 14px; color: rgba(255,255,255,.55); }
.footer-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-bar a { color: rgba(255,255,255,.7); }
.footer-bar a:hover { color: #fff; }
.to-top {
  width: 40px; height: 40px; border-radius: 0; display: grid; place-items: center;
  background: rgba(255,255,255,.1); color: #fff !important;
}

/* ---------- English (LTR) ---------- */
[dir="ltr"] .arrow { display: inline-flex; transform: scaleX(-1); }
[dir="ltr"] .footer-links li::before { content: "→"; }
[dir="ltr"] .policy li { padding-inline-start: 34px; }
[dir="ltr"] .brand { flex-direction: row; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .menu-btn { display: block; margin-inline-start: auto; }
  .header-actions { display: none; }
  .main-nav {
    position: fixed; inset: 80px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 12px 20px 24px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-120%); opacity: 0; pointer-events: none; transition: .3s ease; margin: 0; z-index: 49;
  }
  .main-nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .main-nav > a, .main-nav > .nav-lang { padding: 14px 16px; margin-bottom: 8px; min-height: 0; font-size: 15px; }
  .nav-lang { margin: 12px 0 0; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 520px; margin-inline: auto; width: 100%; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats li:nth-child(3) { border-inline-start: 0; }
  .stats li:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.12); }
  .profile-grid, .stage-grid { grid-template-columns: repeat(2, 1fr); }
  .mvv { grid-template-columns: 1fr; }
  .mvv-vision { min-height: 0; }
  .mvv-values { grid-template-columns: 1fr; gap: 22px; }
  .values-list { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .values-list li {
    flex-direction: row; align-items: center; gap: 12px; padding: 12px 14px;
    border: 0; background: var(--bg-alt); border-radius: 14px;
  }
  .value-ico { background: #fff; width: 40px; height: 40px; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .bilingual { grid-template-columns: 1fr; padding: 40px; }
  .fees-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .news-card.news-featured { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .container { width: min(100% - 28px, var(--container)); }
  .nav-wrap { min-height: 72px; }
  .main-nav { inset: 72px 0 auto 0; }
  .brand-text small { display: none; }
  .hero { padding-top: 48px; }
  .hero-lead { font-size: 17px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .stats { margin-top: 48px; }
  .stats li { padding: 18px; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 32px; }
  .profile-grid, .stage-grid, .news-grid, .gallery-grid { grid-template-columns: 1fr; }
  .mvv { margin-bottom: 64px; }
  .mvv-card { padding: 28px 24px; border-radius: 20px; }
  .mvv-values { padding: 26px 20px; }
  .values-list { grid-template-columns: 1fr; }
  .mvv-mission .mvv-statement { font-size: 18px; }
  .news-card.news-featured { grid-column: auto; flex-direction: column; }
  .news-card.news-featured .news-thumb { width: 100%; aspect-ratio: 4/3; }
  .bilingual { padding: 28px; border-radius: 22px; }
  .cta-band { padding: 26px; }
  .cta-actions .btn { flex: 1 1 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bar-inner { justify-content: center; text-align: center; }
  .gallery-item figcaption { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
