:root {
  --navy: #30308f;
  --navy-deep: #23236f;
  --navy-logo: #343590;
  --orange: #f39a21;
  --orange-logo: #F69622;
  --white: #ffffff;
  --soft: #f7f8ff;
  --soft-2: #fff8ef;
  --text: #17172f;
  --muted: #696982;
  --border: rgba(48, 48, 143, 0.18);
  --error: #b42318;
  --error-bg: #fff3f2;
  --success: #146c43;
  --success-bg: #edf8f1;
  --shadow: 0 24px 70px rgba(31, 31, 92, 0.16);
  --shadow-soft: 0 16px 44px rgba(31, 31, 92, 0.10);
  --focus: 0 0 0 4px rgba(243, 154, 33, 0.18);
  --radius: 24px;
  --radius-sm: 16px;
  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: "Tajawal", "Segoe UI", Tahoma, Arial, sans-serif;
  background:
    radial-gradient(circle at 12% 8%, rgba(243, 154, 33, 0.12), transparent 28%),
    radial-gradient(circle at 88% 92%, rgba(48, 48, 143, 0.12), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, var(--soft) 100%);
  color: var(--text);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin-top: 0; }
p { color: var(--muted); line-height: 1.9; }
ul { margin-top: 0; }

.skip-link {
  position: absolute;
  inset-inline-start: 16px;
  top: -48px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--navy-deep);
  color: var(--white);
  font-weight: 800;
}
.skip-link:focus { top: 12px; }

.container { width: min(var(--container), calc(100% - 32px)); margin-inline: auto; }
.section { padding: 76px 0; }
.section.soft { background: rgba(255, 255, 255, 0.64); }
.section-title { margin-bottom: 14px; color: var(--navy); font-size: clamp(1.7rem, 3vw, 2.45rem); line-height: 1.35; font-weight: 900; }
.section-lead { max-width: 760px; margin-bottom: 34px; font-size: 1.06rem; }
.eyebrow, .badge {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  padding: 9px 15px;
  border-radius: 999px;
  background: rgba(243, 154, 33, 0.13);
  color: var(--orange);
  font-size: 0.94rem;
  font-weight: 900;
  line-height: 1.5;
}
.badge.solid { background: var(--orange); color: var(--white); }

.top-bar { background: var(--navy-deep); color: rgba(255,255,255,.92); font-size: .92rem; }
.top-bar .container, .top-links, .social-list { display: flex; align-items: center; gap: 14px; }
.top-bar .container { justify-content: space-between; min-height: 42px; flex-wrap: wrap; }
.social-list { list-style: none; padding: 0; margin: 0; }
.social-icon {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255,255,255,.26);
  border-radius: 999px;
  transition: background 200ms ease, border-color 200ms ease, color 200ms ease, transform 200ms ease;
}
.social-icon svg { width: 15px; height: 15px; }
.social-icon:hover { background: var(--orange); border-color: var(--orange); color: var(--navy-deep); transform: translateY(-2px); }
/* على الخلفيات الفاتحة (بطاقة التواصل) اجعل الحدود واضحة */
.info-card .social-icon { border-color: rgba(48, 48, 143, .25); }
.info-card .social-icon:hover { color: #fff; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid rgba(48,48,143,.10);
  backdrop-filter: blur(14px);
  transition: box-shadow 180ms ease;
}
.site-header.is-scrolled { box-shadow: 0 12px 34px rgba(31,31,92,.10); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 82px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 900; color: var(--navy); }
.brand img { width: 58px; height: 58px; object-fit: contain; }
.brand span { line-height: 1.35; }
.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  border-radius: 2px;
}
.site-nav { display: flex; align-items: center; gap: 8px; }
.site-nav a {
  padding: 11px 12px;
  border-radius: 12px;
  color: #29295f;
  font-weight: 800;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { background: rgba(48,48,143,.08); color: var(--navy); }
.btn, .submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  border: 0;
  border-radius: 16px;
  padding: 13px 20px;
  background: linear-gradient(135deg, var(--orange), var(--orange-logo));
  color: var(--white);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 14px 32px rgba(243,154,33,.28);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}
.btn:hover, .submit-button:hover { transform: translateY(-2px); box-shadow: 0 18px 38px rgba(243,154,33,.36); filter: saturate(1.06); }
.btn.secondary { background: var(--white); color: var(--navy); border: 1px solid rgba(255,255,255,.45); box-shadow: none; }
.btn.ghost { background: transparent; color: var(--navy); border: 1px solid var(--border); box-shadow: none; }
.btn.small { min-height: 42px; padding: 10px 15px; border-radius: 14px; }
:focus-visible { outline: 3px solid rgba(48,48,143,.34); outline-offset: 4px; }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: clamp(64px, 11vh, 132px) 0;
  min-height: clamp(480px, 64vh, 660px);
  color: var(--white);
  background-color: var(--navy-deep);
  background-image:
    linear-gradient(115deg, rgba(23,23,80,.94) 0%, rgba(35,35,111,.80) 44%, rgba(48,48,143,.50) 100%),
    image-set(url("../img/photos/front-page-1400.webp") type("image/webp"), url("../img/photos/front-page-1400.jpg") type("image/jpeg"));
  background-size: cover;
  background-position: center 28%;
  background-repeat: no-repeat;
}
/* احتياطي للمتصفحات التي لا تدعم image-set */
@supports not (background-image: image-set(url("x.webp") type("image/webp"))) {
  .hero {
    background-image:
      linear-gradient(115deg, rgba(23,23,80,.94) 0%, rgba(35,35,111,.80) 44%, rgba(48,48,143,.50) 100%),
      url("../img/photos/front-page-1400.jpg");
  }
}
.hero::after {
  content: "";
  position: absolute;
  inset-inline-end: -60px;
  bottom: -90px;
  width: 240px;
  height: 240px;
  background: rgba(246,150,34,.22);
  border-radius: 50%;
  filter: blur(8px);
  z-index: -1;
}
.hero-grid { position: relative; z-index: 1; display: block; max-width: 700px; }
.hero h1 { margin: 18px 0 18px; font-size: clamp(2.1rem, 5vw, 3.95rem); line-height: 1.22; font-weight: 900; text-shadow: 0 2px 24px rgba(0,0,0,.28); }
.hero p { color: rgba(255,255,255,.93); font-size: clamp(1rem, 2.3vw, 1.16rem); max-width: 600px; text-shadow: 0 1px 14px rgba(0,0,0,.22); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.stats-band { margin-top: -24px; position: relative; z-index: 2; }
.stats-grid, .cards-grid, .feature-grid, .news-grid, .gallery-grid, .footer-grid, .contact-grid, .stage-block {
  display: grid;
  gap: 20px;
}
.stats-grid { grid-template-columns: repeat(4, 1fr); }
.stat, .card, .feature-card, .news-card, .info-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255,255,255,.94);
  box-shadow: var(--shadow-soft);
}
.stat { padding: 24px; text-align: center; }
.stat strong { display: block; color: var(--navy); font-size: 2rem; font-weight: 900; }
.stat span { color: var(--muted); font-weight: 800; }

.split { display: grid; grid-template-columns: 1fr .9fr; gap: 34px; align-items: center; }
.panel {
  padding: 34px;
  border-radius: 28px;
  background: linear-gradient(180deg, #fff, #fbfbff);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}
.cards-grid { grid-template-columns: repeat(4, 1fr); }
.card, .feature-card, .news-card, .info-card { padding: 24px; }
.card-icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 14px;
  border-radius: 16px;
  background: rgba(48,48,143,.09);
  color: var(--navy);
}
.card h3, .feature-card h3, .news-card h3 { margin-bottom: 10px; color: var(--navy); font-size: 1.22rem; font-weight: 900; }
.feature-grid { grid-template-columns: repeat(3, 1fr); }
.news-grid { grid-template-columns: repeat(3, 1fr); }
.news-card { overflow: hidden; padding: 0; }
.news-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.news-body { padding: 22px; }
.meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; color: var(--orange); font-size: .9rem; font-weight: 900; }
.gallery-grid { grid-template-columns: repeat(6, 1fr); }
.gallery-grid img { width: 100%; border-radius: 18px; border: 1px solid var(--border); box-shadow: var(--shadow-soft); }
.cta-band {
  padding: 42px;
  border-radius: 30px;
  background: linear-gradient(135deg, var(--navy), var(--navy-deep));
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
}
.cta-band h2 { margin-bottom: 8px; font-size: clamp(1.6rem, 3vw, 2.4rem); }
.cta-band p { margin-bottom: 0; color: rgba(255,255,255,.84); }

.page-hero { padding: 56px 0; background: linear-gradient(135deg, rgba(48,48,143,.08), rgba(243,154,33,.10)); }
.page-hero h1 { margin: 10px 0 12px; color: var(--navy); font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.3; font-weight: 900; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stage-block {
  grid-template-columns: 1fr .82fr;
  align-items: center;
  padding: 30px;
  margin-bottom: 24px;
}
.stage-block ul, .goal-list { color: var(--muted); line-height: 2; font-weight: 700; }
.stage-note { display: inline-flex; margin-top: 10px; padding: 9px 13px; border-radius: 999px; background: rgba(243,154,33,.13); color: var(--orange); font-weight: 900; }

.form-panel {
  padding: 38px;
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff, #fbfbff);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}
.registration-layout { display: grid; grid-template-columns: .82fr 1.18fr; gap: 0; overflow: hidden; border: 1px solid var(--border); border-radius: 34px; box-shadow: var(--shadow); background: var(--white); }
.brand-panel {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 42px;
  padding: 46px 38px;
  background: linear-gradient(155deg, var(--navy), var(--navy-deep));
  color: var(--white);
}
.brand-panel::before { content: ""; position: absolute; width: 330px; height: 330px; border: 34px solid rgba(255,255,255,.08); border-radius: 50%; top: -120px; left: -100px; }
.brand-panel::after { content: ""; position: absolute; width: 170px; height: 170px; background: rgba(246,150,34,.2); border-radius: 50%; bottom: -64px; right: -42px; }
.brand-panel > * { position: relative; z-index: 1; }
.logo-card { width: 210px; padding: 18px; background: var(--white); border-radius: 28px; box-shadow: 0 18px 45px rgba(0,0,0,.18); }
.brand-panel h2 { font-size: 2rem; line-height: 1.45; }
.brand-panel p { color: rgba(255,255,255,.88); }
.form-header { margin-bottom: 28px; }
.form-header h2 { margin: 8px 0 12px; color: var(--navy); font-size: 1.85rem; line-height: 1.35; font-weight: 900; }
.success-banner {
  display: none;
  margin-bottom: 22px;
  padding: 16px;
  border: 1px solid rgba(20,108,67,.22);
  border-radius: 16px;
  background: var(--success-bg);
  color: var(--success);
  font-weight: 800;
  line-height: 1.7;
}
.success-banner.is-visible { display: block; }
.success-banner.is-error { border-color: rgba(180, 35, 24, .22); background: var(--error-bg); color: var(--error); }
.success-ref { margin-top: 8px; font-size: .85rem; font-weight: 700; opacity: .85; }
.submit-button:disabled { opacity: .7; cursor: progress; transform: none; box-shadow: none; }
.success-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
label { color: #29295f; font-size: .95rem; font-weight: 800; line-height: 1.5; }
.required-mark { color: var(--error); font-weight: 900; }
input, select, textarea {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px 15px;
  background: var(--white);
  color: var(--text);
  font: inherit;
  font-size: .98rem;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}
textarea { min-height: 116px; resize: vertical; line-height: 1.7; }
input::placeholder, textarea::placeholder { color: #9292a8; }
input:focus, select:focus, textarea:focus { border-color: var(--orange); box-shadow: var(--focus); }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--error); background: var(--error-bg); }
.error-message { min-height: 18px; color: var(--error); font-size: .82rem; font-weight: 700; line-height: 1.5; }
.hint, .note { color: var(--muted); font-size: .84rem; line-height: 1.7; }
.note { grid-column: 1 / -1; text-align: center; }

.map-frame, .map-placeholder { overflow: hidden; min-height: 320px; border: 1px solid var(--border); border-radius: 26px; background: var(--white); box-shadow: var(--shadow-soft); }
.map-frame iframe { width: 100%; min-height: 360px; border: 0; display: block; }

.site-footer { margin-top: 50px; background: var(--navy-deep); color: var(--white); }
.footer-accent { height: 5px; background: linear-gradient(90deg, var(--navy), var(--orange), var(--navy)); }
.footer-grid { grid-template-columns: 1.3fr .8fr .9fr 1fr; padding: 48px 0 34px; }
.site-footer h2, .site-footer h3 { color: var(--white); margin-bottom: 14px; }
.site-footer p, .site-footer a, .site-footer li { color: rgba(255,255,255,.78); }
.site-footer ul { padding: 0; margin: 0; list-style: none; line-height: 2.1; }
.footer-brand img { width: 82px; margin-bottom: 14px; padding: 8px; border-radius: 18px; background: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 16px 0; text-align: center; color: rgba(255,255,255,.74); }

@media (max-width: 980px) {
  .hero-grid, .split, .stage-block, .registration-layout, .contact-grid { grid-template-columns: 1fr; }
  .cards-grid, .stats-grid, .values-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid, .news-grid, .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    inset-inline: 16px;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--white);
    box-shadow: var(--shadow-soft);
  }
  .site-nav.is-open { display: flex; }
}

@media (max-width: 620px) {
  .top-bar .container { justify-content: center; padding: 8px 0; }
  .header-inner { min-height: 72px; }
  .brand img { width: 48px; height: 48px; }
  .brand span { font-size: .92rem; }
  .hero { padding-top: 54px; }
  .section { padding: 54px 0; }
  .cards-grid, .stats-grid, .feature-grid, .news-grid, .values-grid, .footer-grid, form { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .panel, .form-panel, .stage-block, .cta-band { padding: 24px; border-radius: 22px; }
  .cta-band { align-items: flex-start; flex-direction: column; }
  .brand-panel { padding: 32px 22px; }
  .logo-card { width: 170px; }
}

/* ============================================================
   تحسينات التصميم — صور حقيقية، إنجازات، مسارات، معرض، حركات
   ============================================================ */

:root { --green: #1f7a52; --green-soft: rgba(31, 122, 82, .12); }

/* ---- حركة الظهور عند التمرير ---- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .submit-button:hover { transform: none; }
}

/* ---- ضغط الأزرار ---- */
.btn:active, .submit-button:active { transform: translateY(0) scale(.98); }

/* ---- إطار صورة مع تكبير لطيف عند المرور ---- */
.photo { position: relative; overflow: hidden; border-radius: var(--radius-sm); background: var(--soft); }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.photo:hover img { transform: scale(1.06); }
/* امنح حاويات الصور بلا نسبة أبعاد نسبةً محددة كي يكون لها ارتفاع وتُحمّل الصورة بدل الانهيار إلى صفر */
.stage-block .photo, .panel .photo { aspect-ratio: 4 / 3; }

/* ---- بطل بصورة حقيقية ---- */
.hero-photo { position: relative; border-radius: 28px; overflow: hidden; border: 1px solid rgba(255,255,255,.2); box-shadow: var(--shadow); aspect-ratio: 4 / 5; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo .hero-badge {
  position: absolute; inset-inline-start: 16px; bottom: 16px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px;
  background: rgba(255,255,255,.94); color: var(--navy);
  font-weight: 900; font-size: .92rem; box-shadow: var(--shadow-soft);
}
.hero-badge svg { color: var(--orange); }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero-trust .pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: 999px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  color: #fff; font-weight: 800; font-size: .9rem;
}
.hero-trust .pill svg { color: var(--orange); flex: none; }

/* ---- شريط الإنجازات ---- */
.achievements-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
.achieve-card {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 24px; border-radius: var(--radius);
  background: rgba(255,255,255,.96); border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  transition: transform .25s ease, box-shadow .25s ease;
}
.achieve-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.achieve-icon { flex: none; display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: rgba(243,154,33,.14); color: var(--orange); }
.achieve-card h3 { margin: 0 0 6px; color: var(--navy); font-size: 1.08rem; font-weight: 900; line-height: 1.5; }
.achieve-card p { margin: 0; font-size: .92rem; line-height: 1.7; }

/* ---- المسارات: القسم العام + تحفيظ القرآن ---- */
.tracks-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
.track-card {
  position: relative; overflow: hidden;
  padding: 32px; border-radius: var(--radius);
  border: 1px solid var(--border); border-top: 4px solid var(--orange);
  background: linear-gradient(180deg, #fff, #fbfbff);
  box-shadow: var(--shadow-soft); transition: transform .25s ease, box-shadow .25s ease;
}
.track-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.track-card.tahfeez { border-top-color: var(--green); }
.track-icon { display: inline-grid; place-items: center; width: 56px; height: 56px; margin-bottom: 16px; border-radius: 16px; background: rgba(243,154,33,.13); color: var(--orange); }
.track-card.tahfeez .track-icon { background: var(--green-soft); color: var(--green); }
.track-card h3 { color: var(--navy); font-size: 1.3rem; font-weight: 900; margin-bottom: 10px; }
.track-card ul { margin: 14px 0 0; padding-inline-start: 18px; color: var(--muted); line-height: 2; font-weight: 700; }

/* ---- شرائح البرامج ---- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 16px; border-radius: 999px;
  background: rgba(48,48,143,.07); border: 1px solid var(--border);
  color: var(--navy); font-weight: 800; font-size: .94rem;
}
.chip svg { color: var(--orange); }

/* ---- بطاقات الأخبار بصورة حقيقية ---- */
.news-card img { aspect-ratio: 16 / 11; }
.news-card { transition: transform .25s ease, box-shadow .25s ease; }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.news-card .news-body a { color: var(--orange); font-weight: 900; }

/* ---- المعرض ---- */
.gallery-grid img { aspect-ratio: 1 / 1; object-fit: cover; cursor: zoom-in; transition: transform .35s ease, box-shadow .25s ease; }
.gallery-grid .photo { aspect-ratio: 1 / 1; cursor: zoom-in; }
.gallery-grid .photo img { aspect-ratio: auto; border-radius: 0; }

/* ---- صندوق العرض (Lightbox) ---- */
.lightbox { position: fixed; inset: 0; z-index: 200; display: none; place-items: center; padding: 24px; background: rgba(15,15,40,.86); backdrop-filter: blur(4px); }
.lightbox.open { display: grid; }
.lightbox img { max-width: min(92vw, 1100px); max-height: 86vh; border-radius: 18px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lightbox-close, .lightbox-nav { position: absolute; display: inline-grid; place-items: center; width: 52px; height: 52px; border: 0; border-radius: 999px; background: rgba(255,255,255,.16); color: #fff; font-size: 1.6rem; cursor: pointer; transition: background .2s ease; }
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(255,255,255,.3); }
.lightbox-close { top: 22px; inset-inline-start: 22px; }
.lightbox-nav.prev { inset-inline-end: 22px; top: 50%; transform: translateY(-50%); }
.lightbox-nav.next { inset-inline-start: 22px; top: 50%; transform: translateY(-50%); }

/* ---- شريط الاعتماد والثقة ---- */
.trust-band { background: var(--navy-deep); color: #fff; }
.trust-inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 34px; padding: 22px 0; text-align: center; }
.trust-item { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: rgba(255,255,255,.92); }
.trust-item svg { color: var(--orange); flex: none; }

/* ---- قائمة المرافق ---- */
.facilities { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.facilities .chip { background: rgba(255,255,255,.6); }

@media (max-width: 980px) {
  .achievements-grid { grid-template-columns: 1fr 1fr; }
  .tracks-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .achievements-grid { grid-template-columns: 1fr; }
  .hero-photo { aspect-ratio: 4 / 4.4; }
}

/* ---- بطاقات ألبومات المراحل (معرض كل مرحلة) ---- */
.albums-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.album-card { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); transition: transform .3s ease, box-shadow .3s ease; }
.album-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.album-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.album-card:hover img { transform: scale(1.07); }
.album-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(23,23,80,.9) 0%, rgba(23,23,80,.28) 52%, rgba(23,23,80,.04) 100%); }
.album-label { position: absolute; inset-inline: 0; bottom: 0; z-index: 1; padding: 22px; color: #fff; }
.album-label h3 { margin: 0 0 5px; font-size: 1.32rem; font-weight: 900; color: #fff; }
.album-label .album-count { display: inline-flex; align-items: center; gap: 7px; font-size: .92rem; font-weight: 800; color: rgba(255,255,255,.92); }
.album-label .album-count svg { color: var(--orange); flex: none; }
.album-card:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
@media (max-width: 980px) { .albums-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .albums-grid { grid-template-columns: 1fr; } .album-card { aspect-ratio: 16 / 10; } }
