/* ══════════════════════════════════════════════════════
   روضة ألوان للطفولة — Landing Page
   Design system + components. No dependencies.
   ══════════════════════════════════════════════════════ */

/* ── Tokens ── */
:root {
  --sky:      #0EA5E9;
  --sky-soft: #E0F2FE;
  --sky-deep: #0369A1;

  --mint:      #10B981;
  --mint-soft: #D1FAE5;

  --coral:      #FF7A66;
  --coral-soft: #FFE4DF;

  --sun:      #F59E0B;
  --sun-soft: #FEF3C7;

  --purple:      #8B5CF6;
  --purple-soft: #EDE9FE;

  --wa: #25D366;

  --ink:      #12233F;
  --ink-2:    #3C5170;
  --ink-3:    #6B7F9C;
  --line:     #E3EAF3;
  --bg:       #FFFFFF;
  --bg-tint:  #F7FAFD;
  --cream:    #FFF9F0;

  --r-sm: 10px;
  --r:    18px;
  --r-lg: 28px;
  --r-xl: 40px;

  --sh-sm: 0 2px 8px rgba(18,35,63,.06);
  --sh:    0 8px 28px rgba(18,35,63,.09);
  --sh-lg: 0 24px 60px rgba(18,35,63,.14);

  --ff: "Cairo", "Segoe UI", system-ui, -apple-system, sans-serif;
  --ff-fun: "Baloo Bhaijaan 2", "Cairo", system-ui, sans-serif;

  --ease: cubic-bezier(.22,.9,.32,1);
  --container: 1200px;
  --header-h: 76px;
}

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

/* لازم: قواعد display في الأنماط تتجاوز خاصية hidden الافتراضية،
   فبدون هذا السطر يظل النموذج ظاهراً بعد الإرسال ناجحاً. */
[hidden] { display: none !important; }

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

body {
  margin: 0;
  font-family: var(--ff);
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.28; font-weight: 800; }
p  { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a  { color: inherit; text-decoration: none; }
img, svg, iframe { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
strong { font-weight: 800; }
em { font-style: normal; font-weight: 700; color: var(--sky-deep); }

code {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  background: var(--bg-tint); border: 1px solid var(--line);
  padding: .1em .45em; border-radius: 6px; font-size: .9em;
  direction: ltr; display: inline-block;
}

::selection { background: var(--sky); color: #fff; }

:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; inset-inline-start: 50%; top: 8px;
  transform: translate(50%, -160%);
  z-index: 200; background: var(--ink); color: #fff;
  padding: 12px 22px; border-radius: 999px; font-weight: 700;
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: translate(50%, 0); }

/* ── Layout ── */
.container {
  width: 100%; max-width: var(--container);
  margin-inline: auto; padding-inline: 20px;
}
.container--narrow { max-width: 860px; }

.section { padding: 88px 0; position: relative; }
.section--tint { background: var(--bg-tint); }

.section__head {
  text-align: center; max-width: 720px;
  margin: 0 auto 52px;
}
.section__title { font-size: clamp(1.7rem, 3.6vw, 2.65rem); }
.section__lead {
  font-size: 1.06rem; color: var(--ink-2); margin: 0; max-width: 60ch;
  margin-inline: auto;
}
.section__head .section__lead { margin-bottom: 0; }

/* ── Highlight ── */
.hl {
  position: relative; color: var(--sky);
  white-space: nowrap;
}
.hl::after {
  content: ""; position: absolute; inset-inline: -2px; bottom: .06em;
  height: .34em; background: var(--sun-soft);
  border-radius: 999px; z-index: -1;
}
.hl--coral { color: var(--coral); }
.hl--coral::after { background: var(--coral-soft); }
.hl--mint  { color: #059669; }
.hl--mint::after { background: var(--mint-soft); }
.hl--purple{ color: var(--purple); }
.hl--purple::after { background: var(--purple-soft); }
.hl--sun   { color: var(--sun); }
.hl--sun::after { background: var(--sun-soft); }

/* ── Pill / chip ── */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 18px; border-radius: 999px;
  font-size: .84rem; font-weight: 800; letter-spacing: .2px;
  margin-bottom: 18px; line-height: 1.6;
}
.pill .ico { width: 15px; height: 15px; fill: currentColor; flex: none; }
.pill--sky    { background: var(--sky-soft);    color: var(--sky-deep); }
.pill--coral  { background: var(--coral-soft);  color: #C2410C; }
.pill--mint   { background: var(--mint-soft);   color: #047857; }
.pill--sun    { background: var(--sun-soft);    color: #B45309; }
.pill--purple { background: var(--purple-soft); color: #6D28D9; }

.chip {
  display: inline-block; padding: 4px 13px; border-radius: 999px;
  background: var(--bg-tint); border: 1px solid var(--line);
  font-size: .76rem; font-weight: 700; color: var(--ink-3);
}

/* ── Buttons ── */
.btn {
  --btn-bg: var(--sky);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; padding: 13px 26px; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 800; font-size: .95rem; line-height: 1.4;
  box-shadow: 0 6px 18px rgba(14,165,233,.28);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease),
              background .18s var(--ease), color .18s var(--ease);
  text-align: center;
}
.btn .ico { width: 18px; height: 18px; fill: currentColor; flex: none; }
.btn:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(14,165,233,.36); }
.btn:active { transform: translateY(0); }

.btn--primary { --btn-bg: linear-gradient(135deg,#38BDF8,var(--sky)); }
.btn--dark {
  --btn-bg: var(--ink); box-shadow: 0 6px 18px rgba(18,35,63,.22);
}
.btn--dark:hover { box-shadow: 0 12px 30px rgba(18,35,63,.3); }
.btn--light {
  --btn-bg: #fff; --btn-fg: var(--ink);
  box-shadow: 0 8px 22px rgba(0,0,0,.16);
}
.btn--light:hover { box-shadow: 0 14px 34px rgba(0,0,0,.22); }
.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--ink);
  border: 2px solid var(--line); box-shadow: none;
}
.btn--ghost:hover { border-color: var(--sky); color: var(--sky); box-shadow: var(--sh-sm); }
.btn--outline {
  --btn-bg: transparent; --btn-fg: #fff;
  border: 2px solid rgba(255,255,255,.6); box-shadow: none;
}
.btn--outline:hover { background: rgba(255,255,255,.14); box-shadow: none; }
.btn--wa {
  --btn-bg: var(--wa); --btn-fg: #06331A;
  box-shadow: 0 6px 18px rgba(37,211,102,.34);
}
.btn--wa:hover { box-shadow: 0 12px 30px rgba(37,211,102,.44); }
.btn--wa svg { width: 19px; height: 19px; fill: currentColor; flex: none; }

.btn--sm  { padding: 10px 20px; font-size: .87rem; }
.btn--lg  { padding: 16px 34px; font-size: 1.02rem; }
.btn--block { width: 100%; }

/* ── Topbar ── */
.topbar {
  background: linear-gradient(90deg, var(--sky-deep), #7C3AED);
  color: #fff; font-size: .84rem;
}
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 40px; padding-block: 8px;
}
.topbar__msg {
  margin: 0; display: flex; align-items: center; gap: 8px;
  font-weight: 500; line-height: 1.5;
}
.topbar__msg .ico { width: 15px; height: 15px; fill: var(--sun); flex: none; }
.topbar__links {
  display: flex; align-items: center; gap: 12px;
  opacity: .92; white-space: nowrap;
}
.topbar__links a { font-weight: 700; }
.topbar__links a:hover { text-decoration: underline; }
.topbar__sep { opacity: .5; }

/* ── Header ── */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.header.is-stuck { box-shadow: var(--sh-sm); border-bottom-color: var(--line); }
.header__inner {
  display: flex; align-items: center; gap: 20px;
  min-height: var(--header-h);
}

.logo { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.logo__mark {
  width: 44px; height: 44px; flex: none;
  display: grid; place-items: center;
}
.logo__mark svg { width: 100%; height: 100%; }
.logo__text { display: flex; flex-direction: column; line-height: 1.15; }
.logo__text strong { font-family: var(--ff-fun); font-size: 1.24rem; font-weight: 800; }
.logo__text small { font-size: .68rem; color: var(--ink-3); font-weight: 600; letter-spacing: .3px; }

.nav { margin-inline-start: auto; display: flex; align-items: center; gap: 22px; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__link {
  display: block; padding: 8px 12px; border-radius: var(--r-sm);
  font-size: .9rem; font-weight: 700; color: var(--ink-2);
  transition: color .18s, background .18s;
  white-space: nowrap;
}
.nav__link:hover { color: var(--sky); background: var(--sky-soft); }
.nav__link.is-active { color: var(--sky); }
.nav__cta { display: none; }

.burger {
  display: none; margin-inline-start: auto;
  width: 46px; height: 46px; border-radius: var(--r-sm);
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.burger span {
  display: block; width: 22px; height: 2.5px; border-radius: 2px;
  background: var(--ink); transition: transform .3s var(--ease), opacity .2s;
}
.burger.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.nav-backdrop {
  position: fixed; inset: 0; z-index: 98;
  background: rgba(18,35,63,.5); backdrop-filter: blur(3px);
  animation: fade .25s var(--ease);
}
@keyframes fade { from { opacity: 0 } to { opacity: 1 } }

/* ── Hero ── */
.hero {
  position: relative; overflow: hidden;
  padding: 72px 0 80px;
  background:
    radial-gradient(1200px 520px at 88% -12%, var(--sun-soft) 0%, transparent 60%),
    radial-gradient(900px 500px at 6% 8%, var(--sky-soft) 0%, transparent 62%),
    var(--bg);
}
.hero__blob {
  position: absolute; border-radius: 50%; filter: blur(52px);
  opacity: .45; pointer-events: none;
}
.hero__blob--1 { width: 380px; height: 380px; background: var(--sun-soft); inset-block-start: -70px; inset-inline-end: -80px; }
.hero__blob--2 { width: 320px; height: 320px; background: var(--coral-soft); inset-block-end: 10%; inset-inline-start: -100px; }
.hero__dots {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(var(--sky) 1.4px, transparent 1.4px);
  background-size: 30px 30px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 65%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 65%);
}

.hero__grid {
  position: relative; display: grid; gap: 56px;
  grid-template-columns: 1.05fr .95fr; align-items: center;
}
.hero__title {
  font-family: var(--ff-fun);
  font-size: clamp(2.1rem, 5.2vw, 3.7rem);
  line-height: 1.2; margin-bottom: .42em; font-weight: 800;
}
.hero__lead {
  font-size: 1.1rem; color: var(--ink-2);
  max-width: 54ch; margin-bottom: 2em;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 2.2em; }
.hero__trust {
  display: flex; flex-wrap: wrap; gap: 10px 22px;
  font-size: .87rem; color: var(--ink-2); font-weight: 600;
}
.hero__trust li { display: flex; align-items: center; gap: 7px; }
.tick { width: 17px; height: 17px; fill: var(--mint); flex: none; }

.hero__art { position: relative; }
.hero__art-frame {
  border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--sh-lg);
  border: 8px solid #fff;
  animation: bob 7s ease-in-out infinite;
}
@keyframes bob {
  0%,100% { transform: translateY(0) rotate(0) }
  50%     { transform: translateY(-14px) rotate(-.6deg) }
}
@media (prefers-reduced-motion: reduce) {
  .hero__art-frame { animation: none }
}

.float-card {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: #fff; border-radius: var(--r); padding: 11px 16px;
  box-shadow: var(--sh); border: 1px solid var(--line);
}
.float-card strong { display: block; font-size: 1.06rem; line-height: 1.2; }
.float-card small  { display: block; font-size: .72rem; color: var(--ink-3); }
.float-card__ico { font-size: 1.5rem; line-height: 1; }
.float-card--1 { inset-block-start: 6%;  inset-inline-start: -6%; animation: float 5s ease-in-out infinite; }
.float-card--2 { inset-block-end: 16%;   inset-inline-end: -4%;  animation: float 6.4s ease-in-out infinite .6s; }
.float-card--3 { inset-block-end: -4%;  inset-inline-start: 8%;  animation: float 5.7s ease-in-out infinite 1.2s; }
@keyframes float {
  0%,100% { transform: translateY(0) }
  50%     { transform: translateY(-12px) }
}
@media (prefers-reduced-motion: reduce) {
  .float-card { animation: none }
}
.avatars { display: flex; }
.avatars span {
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: .78rem; font-weight: 800; color: #fff;
  border: 2px solid #fff; margin-inline-start: -9px;
  background: var(--sky);
}
.avatars span:first-child { margin-inline-start: 0; background: var(--coral); }
.avatars span:last-child  { background: var(--purple); }

/* ── Stats ── */
.stats {
  position: relative; margin-top: 64px;
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: #fff; border-radius: var(--r-lg);
  box-shadow: var(--sh); border: 1px solid var(--line);
  overflow: hidden;
}
.stat {
  padding: 28px 18px; text-align: center;
  border-inline-start: 1px solid var(--line);
}
.stat:first-child { border-inline-start: 0; }
.stat__num {
  display: block; font-family: var(--ff-fun);
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  font-weight: 800; line-height: 1.1;
  background: linear-gradient(135deg,var(--sky),var(--purple));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  direction: ltr;
}
.stat__label { display: block; font-size: .84rem; color: var(--ink-3); font-weight: 600; margin-top: 4px; }

/* ── Marquee ── */
.marquee {
  background: var(--ink); color: #fff;
  padding: 15px 0; overflow: hidden;
  --mq-dur: 34s;
}
.marquee__track {
  display: flex; align-items: center; gap: 26px; width: max-content;
  animation: scroll-x var(--mq-dur) linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span {
  font-family: var(--ff-fun); font-size: 1.02rem;
  font-weight: 700; white-space: nowrap;
}
.marquee__track i { color: var(--sun); font-style: normal; }
@keyframes scroll-x {
  from { transform: translateX(0) }
  to   { transform: translateX(50%) }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; gap: 26px; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee { padding-block: 18px; }
}

/* ── About ── */
.about__grid {
  display: grid; gap: 56px;
  grid-template-columns: .9fr 1.1fr; align-items: center;
}
.about__art { position: relative; }
.about__art svg { border-radius: var(--r-xl); box-shadow: var(--sh-lg); position: relative; }
.about__blob {
  position: absolute; inset: -22px -22px auto auto;
  width: 120px; height: 120px; border-radius: 50%;
  background: var(--sun-soft); z-index: -1;
}
.about__badge {
  position: absolute; inset-block-end: -18px; inset-inline-start: -18px;
  background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh);
  padding: 16px 22px; display: flex; align-items: center; gap: 12px;
  border: 1px solid var(--line);
}
.about__badge strong {
  font-family: var(--ff-fun); font-size: 2.1rem;
  line-height: 1; color: var(--coral);
}
.about__badge span { font-size: .8rem; color: var(--ink-3); font-weight: 700; line-height: 1.4; }

.feature-list { display: grid; gap: 20px; margin-top: 34px; }
.feature { display: flex; gap: 16px; }
.feature__ico {
  width: 52px; height: 52px; flex: none; border-radius: 16px;
  display: grid; place-items: center;
}
.feature__ico svg { width: 25px; height: 25px; fill: #fff; }
.feature__ico--blue   { background: linear-gradient(135deg,#38BDF8,var(--sky)); }
.feature__ico--green  { background: linear-gradient(135deg,#34D399,var(--mint)); }
.feature__ico--coral  { background: linear-gradient(135deg,#FFA394,var(--coral)); }
.feature__ico--purple { background: linear-gradient(135deg,#A78BFA,var(--purple)); }
.feature h3 { font-size: 1.08rem; margin-bottom: .3em; }
.feature p  { margin: 0; font-size: .95rem; color: var(--ink-2); }

/* ── Program cards ── */
.cards {
  display: grid; gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}
.cards--4 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

.card {
  --accent: var(--sky);
  --tint: var(--sky-soft);
  position: relative; display: flex; flex-direction: column;
  background: #fff; border-radius: var(--r-lg);
  padding: 30px 26px 26px;
  border: 1px solid var(--line); box-shadow: var(--sh-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              border-color .25s var(--ease);
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset-block-start: 0; inset-inline: 0;
  height: 5px; background: var(--accent);
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--sh-lg); border-color: transparent;
}
.card--mint   { --accent: var(--mint);   --tint: var(--mint-soft); }
.card--sky    { --accent: var(--sky);    --tint: var(--sky-soft); }
.card--purple { --accent: var(--purple); --tint: var(--purple-soft); }
.card--coral  { --accent: var(--coral);  --tint: var(--coral-soft); }
.card--sun    { --accent: var(--sun);    --tint: var(--sun-soft); }
.card--dark {
  --accent: var(--sun); --tint: var(--sun-soft);
  background: var(--ink); color: #fff; border-color: transparent;
}
.card--dark .card__text, .card--dark .card__age { color: rgba(255,255,255,.75); }
.card--dark .card__list li { color: rgba(255,255,255,.86); }
.card--dark .card__list li::before { background: var(--sun); }
.card--dark .price strong { color: var(--sun); }
.card--dark .price span   { color: rgba(255,255,255,.6); }

.card__top {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 12px; margin-bottom: 16px;
}
.card__badge {
  display: inline-block; padding: 5px 14px; border-radius: 999px;
  background: var(--accent); color: #fff;
  font-size: .72rem; font-weight: 800; letter-spacing: .2px;
}
.card__badge--muted { background: var(--tint); color: var(--ink-2); }
.card__badge--gold  { background: var(--sun); color: #422006; }

.card__ico {
  width: 54px; height: 54px; flex: none; border-radius: 18px;
  background: var(--tint); display: grid; place-items: center;
}
.card__ico svg { width: 27px; height: 27px; fill: var(--accent); }
.card--dark .card__ico svg { fill: var(--sun); }

.card__title { font-size: 1.35rem; margin-bottom: .18em; }
.card__age {
  font-size: .85rem; font-weight: 700; color: var(--accent);
  margin-bottom: .9em;
}
.card__text { font-size: .94rem; color: var(--ink-2); margin-bottom: 1.3em; }

.card__list { display: grid; gap: 9px; margin-bottom: 1.6em; }
.card__list li {
  position: relative; padding-inline-start: 26px;
  font-size: .89rem; color: var(--ink-2);
}
.card__list li::before {
  content: ""; position: absolute; inset-inline-start: 0; inset-block-start: .55em;
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--tint);
}
.card__list li::after {
  content: ""; position: absolute; inset-inline-start: 4.4px; inset-block-start: .82em;
  width: 6px; height: 3px;
  border-inline-start: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

.card__foot {
  margin-top: auto; padding-top: 20px; border-top: 1px dashed var(--line);
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap;
}
.card--dark .card__foot { border-top-color: rgba(255,255,255,.16); }
.price { display: flex; flex-direction: column; line-height: 1.15; }
.price strong {
  font-family: var(--ff-fun); font-size: 1.7rem;
  color: var(--accent); direction: ltr;
}
.price span { font-size: .74rem; color: var(--ink-3); font-weight: 600; }

/* ── Tabs / curriculum ── */
.tabs {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
  margin-bottom: 40px;
}
.tab {
  padding: 11px 22px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  font-size: .92rem; font-weight: 700; color: var(--ink-2);
  transition: all .2s var(--ease);
}
.tab:hover { border-color: var(--sky); color: var(--sky); }
.tab.is-active {
  background: var(--ink); color: #fff; border-color: var(--ink);
  box-shadow: var(--sh-sm);
}

.tabpanel { animation: panelIn .4s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px) } to { opacity: 1; transform: none } }

.tabpanel__grid {
  display: grid; gap: 44px; grid-template-columns: 1.1fr .9fr;
  align-items: center;
  background: #fff; border-radius: var(--r-xl);
  padding: 44px; border: 1px solid var(--line); box-shadow: var(--sh);
}
.tabpanel__grid h3 { font-size: 1.45rem; }
.tabpanel__grid p  { color: var(--ink-2); }
.tabpanel__art {
  border-radius: var(--r-lg); overflow: hidden;
  background: var(--bg-tint);
}

.checklist { display: grid; gap: 11px; margin-top: 1.2em; }
.checklist li {
  position: relative; padding-inline-start: 34px;
  font-size: .95rem; color: var(--ink-2);
}
.checklist li::before {
  content: ""; position: absolute; inset-inline-start: 0; inset-block-start: .2em;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--mint-soft);
}
.checklist li::after {
  content: ""; position: absolute; inset-inline-start: 6.5px; inset-block-start: .58em;
  width: 8px; height: 4px;
  border-inline-start: 2.2px solid #047857;
  border-bottom: 2.2px solid #047857;
  transform: rotate(-45deg);
}

/* ── Timeline ── */
.timeline { position: relative; max-width: 880px; margin-inline: auto; padding-block: 8px; }
.timeline::before {
  content: ""; position: absolute; inset-block: 0; inset-inline-start: 50%;
  width: 3px; transform: translateX(50%);
  background: linear-gradient(var(--sky),var(--purple),var(--coral));
  border-radius: 3px; opacity: .28;
}
.tl {
  position: relative; display: grid;
  grid-template-columns: 1fr 92px 1fr; align-items: center;
  gap: 20px; padding-block: 16px;
}
.tl__time {
  font-family: var(--ff-fun); font-size: 1.22rem; font-weight: 800;
  color: var(--sky); text-align: start;
}
.tl:nth-child(even) .tl__time { grid-column: 3; text-align: end; }
.tl__dot {
  grid-column: 2; grid-row: 1; justify-self: center;
  width: 20px; height: 20px; border-radius: 50%;
  background: #fff; border: 4px solid var(--sky);
  box-shadow: 0 0 0 6px rgba(14,165,233,.14);
  z-index: 1;
}
.tl:nth-child(2n) .tl__dot { border-color: var(--purple); box-shadow: 0 0 0 6px rgba(139,92,246,.14); }
.tl:nth-child(3n) .tl__dot { border-color: var(--coral); box-shadow: 0 0 0 6px rgba(255,122,102,.14); }
.tl__body {
  grid-column: 1; grid-row: 1;
  background: #fff; border-radius: var(--r);
  padding: 20px 24px; border: 1px solid var(--line); box-shadow: var(--sh-sm);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.tl:nth-child(even) .tl__body { grid-column: 3; }
.tl__body:hover { transform: translateY(-4px); box-shadow: var(--sh); }
.tl__body h3 { font-size: 1.06rem; margin-bottom: .3em; }
.tl__body p  { margin: 0; font-size: .91rem; color: var(--ink-2); }

/* ── Gallery ── */
.filters { display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; margin-bottom: 34px; }
.filter {
  padding: 9px 20px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  font-size: .88rem; font-weight: 700; color: var(--ink-2);
  transition: all .2s var(--ease);
}
.filter:hover { border-color: var(--sky); color: var(--sky); }
.filter.is-active { background: var(--sky); color: #fff; border-color: var(--sky); }

.gallery {
  display: grid; gap: 18px;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 210px;
}
.shot {
  margin: 0; position: relative; overflow: hidden;
  border-radius: var(--r-lg); background: var(--bg-tint);
  box-shadow: var(--sh-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.shot--wide { grid-column: span 2; }
.shot:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
.shot.is-hidden { display: none; }

.shot__img { position: absolute; inset: 0; }
.shot__img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(18,35,63,.72) 0%, rgba(18,35,63,.15) 42%, transparent 65%);
}
.shot figcaption {
  position: absolute; inset-inline: 18px; inset-block-end: 14px;
  color: #fff; font-weight: 800; font-size: .95rem; z-index: 1;
  text-shadow: 0 1px 8px rgba(0,0,0,.4);
}

/* صور المعرض — الصورة (إن وُجدت) طبقة فوق التدرّج اللوني.
   مهم: يجب أن يكون الاثنان في نفس تعريف background-image،
   وإلا فإن تعريف url() وحده سيمسح التدرّج ويترك المربع
   بلا خلفية إذا لم يوجد الملف. */
.shot__img--a { background-image: url("images/gallery-1.jpg"), linear-gradient(135deg,#BAE6FD,#FEF3C7 70%); }
.shot__img--b { background-image: url("images/gallery-2.jpg"), linear-gradient(135deg,#BBF7D0,#FDE68A 75%); }
.shot__img--c { background-image: url("images/gallery-3.jpg"), linear-gradient(135deg,#FBCFE8,#DDD6FE 75%); }
.shot__img--d { background-image: url("images/gallery-4.jpg"), linear-gradient(135deg,#FED7AA,#FECACA 75%); }
.shot__img--e { background-image: url("images/gallery-5.jpg"), linear-gradient(135deg,#C7D2FE,#BAE6FD 75%); }
.shot__img--f { background-image: url("images/gallery-6.jpg"), linear-gradient(135deg,#A7F3D0,#FEF9C3 75%); }

.shot__img { background-size: cover, cover; background-position: center, center; }

.gallery__note {
  margin-top: 26px; text-align: center;
  font-size: .87rem; color: var(--ink-3);
}

/* ── Teachers ── */
.teacher {
  background: #fff; border-radius: var(--r-lg);
  padding: 30px 24px; text-align: center;
  border: 1px solid var(--line); box-shadow: var(--sh-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.teacher:hover { transform: translateY(-6px); box-shadow: var(--sh); }
.teacher__av {
  width: 86px; height: 86px; border-radius: 50%; margin: 0 auto 16px;
  display: grid; place-items: center;
  font-family: var(--ff-fun); font-size: 2rem; font-weight: 800; color: #fff;
  background: linear-gradient(135deg,#38BDF8,var(--sky));
  box-shadow: 0 8px 20px rgba(14,165,233,.28);
}
.teacher__av--2 { background: linear-gradient(135deg,#34D399,var(--mint)); box-shadow: 0 8px 20px rgba(16,185,129,.28); }
.teacher__av--3 { background: linear-gradient(135deg,#FFA394,var(--coral)); box-shadow: 0 8px 20px rgba(255,122,102,.28); }
.teacher__av--4 { background: linear-gradient(135deg,#A78BFA,var(--purple)); box-shadow: 0 8px 20px rgba(139,92,246,.28); }
.teacher h3 { font-size: 1.1rem; margin-bottom: .15em; }
.teacher__role { font-size: .82rem; color: var(--sky); font-weight: 700; margin-bottom: .9em; }
.teacher__bio { font-size: .9rem; color: var(--ink-2); margin-bottom: 1em; }

.note-strip {
  margin-top: 34px; display: flex; gap: 20px; align-items: flex-start;
  background: linear-gradient(135deg,var(--sky-soft),var(--purple-soft));
  border-radius: var(--r-lg); padding: 28px 30px;
}
.note-strip__ico { font-size: 2.2rem; line-height: 1; flex: none; }
.note-strip h3 { font-size: 1.1rem; margin-bottom: .25em; }
.note-strip p  { margin: 0; color: var(--ink-2); font-size: .95rem; }

/* ── Steps ── */
.steps {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  counter-reset: step;
}
.step {
  position: relative; background: #fff;
  border-radius: var(--r-lg); padding: 34px 26px 26px;
  border: 1px solid var(--line); box-shadow: var(--sh-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.step:hover { transform: translateY(-6px); box-shadow: var(--sh); }
.step__n {
  position: absolute; inset-block-start: -20px; inset-inline-start: 26px;
  width: 44px; height: 44px; border-radius: 14px;
  display: grid; place-items: center;
  font-family: var(--ff-fun); font-size: 1.35rem; font-weight: 800; color: #fff;
  background: linear-gradient(135deg,#38BDF8,var(--purple));
  box-shadow: var(--sh-sm);
}
.step h3 { font-size: 1.08rem; margin: .5em 0 .4em; }
.step p  { font-size: .92rem; color: var(--ink-2); margin-bottom: 1em; }
.step__time {
  display: inline-block; font-size: .78rem; font-weight: 800;
  color: var(--sky-deep); background: var(--sky-soft);
  padding: 4px 13px; border-radius: 999px;
}

/* ── Fees ── */
.fees { display: grid; gap: 28px; grid-template-columns: 1.45fr .95fr; align-items: start; }
.fees__table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  background: #fff; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--sh); border: 1px solid var(--line);
}
.fees__table thead th {
  background: var(--ink); color: #fff;
  padding: 16px 18px; text-align: start;
  font-size: .86rem; font-weight: 800;
}
.fees__table tbody th,
.fees__table tbody td {
  padding: 15px 18px; text-align: start;
  border-bottom: 1px solid var(--line);
  font-size: .92rem;
}
.fees__table tbody th { font-weight: 800; }
.fees__table tbody td { color: var(--ink-2); }
.fees__table tbody tr:last-child th,
.fees__table tbody tr:last-child td { border-bottom: 0; }
.fees__table tbody tr { transition: background .18s; }
.fees__table tbody tr:hover { background: var(--sky-soft); }
.fees__table td:nth-child(3) { font-weight: 800; color: var(--ink); }

.fees__side { display: grid; gap: 18px; }
.fees__card {
  background: #fff; border-radius: var(--r-lg);
  padding: 28px 26px; border: 1px solid var(--line); box-shadow: var(--sh-sm);
}
.fees__card h3 { font-size: 1.1rem; margin-bottom: .3em; }
.fees__card p  { font-size: .92rem; color: var(--ink-2); }
.fees__card--help {
  background: linear-gradient(135deg,var(--sun-soft),var(--coral-soft));
  border-color: transparent;
}
.fees__card--help .btn { margin-top: 6px; }

/* ── Reviews slider ── */
.slider { position: relative; padding-bottom: 46px; }
.slider__track {
  display: flex; gap: 22px; overflow-x: auto;
  scroll-behavior: smooth; scroll-snap-type: x mandatory;
  padding: 8px 4px 20px; margin-inline: -4px;
  scrollbar-width: none;
}
.slider__track::-webkit-scrollbar { display: none; }
.review {
  flex: 0 0 min(400px, 86%); scroll-snap-align: center;
  background: #fff; border-radius: var(--r-lg);
  padding: 30px 28px; border: 1px solid var(--line); box-shadow: var(--sh-sm);
  display: flex; flex-direction: column;
}
.stars { color: var(--sun); font-size: 1.15rem; letter-spacing: 3px; margin-bottom: 14px; }
.review p { font-size: .97rem; color: var(--ink-2); flex: 1; }
.review footer { display: flex; flex-direction: column; padding-top: 16px; border-top: 1px solid var(--line); }
.review footer strong { font-size: .98rem; }
.review footer span { font-size: .8rem; color: var(--ink-3); }

.slider__nav {
  position: absolute; inset-block-start: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%;
  background: #fff; box-shadow: var(--sh);
  display: grid; place-items: center; z-index: 2;
  transition: background .2s, color .2s, transform .2s var(--ease);
  inset-inline-start: -14px;
}
.slider__nav--next { inset-inline-start: auto; inset-inline-end: -14px; }
.slider__nav svg { width: 22px; height: 22px; }
.slider__nav:hover { background: var(--sky); color: #fff; }
.slider__nav:disabled { opacity: .3; pointer-events: none; }

.slider__dots {
  position: absolute; inset-block-end: 0; inset-inline: 0;
  display: flex; gap: 8px; justify-content: center;
}
.slider__dots button {
  width: 9px; height: 9px; border-radius: 999px;
  background: var(--line); transition: all .25s var(--ease);
}
.slider__dots button.is-active { background: var(--sky); width: 28px; }

/* ── Accordion / FAQ ── */
.accordion { display: grid; gap: 12px; }
.acc {
  background: #fff; border-radius: var(--r);
  border: 1px solid var(--line); overflow: hidden;
  transition: box-shadow .22s var(--ease), border-color .22s;
}
.acc[open] { box-shadow: var(--sh-sm); border-color: var(--sky); }
.acc summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; font-weight: 800; font-size: 1rem;
  cursor: pointer; list-style: none;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary:hover { color: var(--sky); }
.acc__ico {
  position: relative; width: 26px; height: 26px; flex: none;
  border-radius: 50%; background: var(--sky-soft);
  transition: transform .3s var(--ease), background .2s;
}
.acc__ico::before, .acc__ico::after {
  content: ""; position: absolute; inset-block-start: 50%; inset-inline-start: 50%;
  background: var(--sky-deep); border-radius: 2px;
  transform: translate(-50%,-50%);
}
.acc__ico::before { width: 12px; height: 2.2px; }
.acc__ico::after  { width: 2.2px; height: 12px; transition: transform .3s var(--ease); }
.acc[open] .acc__ico { background: var(--sky); }
.acc[open] .acc__ico::before, .acc[open] .acc__ico::after { background: #fff; }
.acc[open] .acc__ico::after { transform: translate(-50%,-50%) rotate(90deg) scaleX(0); }
.acc__body { padding: 0 24px 22px; animation: panelIn .3s var(--ease); }
.acc__body p { margin: 0; color: var(--ink-2); font-size: .95rem; }

.faq__cta {
  margin-top: 40px; text-align: center;
  background: linear-gradient(135deg,var(--sky-soft),var(--mint-soft));
  border-radius: var(--r-xl); padding: 40px 30px;
}
.faq__cta h3 { font-size: 1.3rem; margin-bottom: .3em; }
.faq__cta p  { color: var(--ink-2); margin-bottom: 1.2em; }

/* ── Visit / contact ── */
.visit__grid { display: grid; gap: 48px; grid-template-columns: 1fr 1.05fr; align-items: center; }
.info-list { display: grid; gap: 20px; margin: 32px 0; }
.info { display: flex; gap: 15px; }
.info__ico {
  width: 48px; height: 48px; flex: none; border-radius: 15px;
  display: grid; place-items: center;
}
.info__ico svg { width: 23px; height: 23px; fill: #fff; }
.info__ico--blue   { background: linear-gradient(135deg,#38BDF8,var(--sky)); }
.info__ico--green  { background: linear-gradient(135deg,#34D399,var(--mint)); }
.info__ico--coral  { background: linear-gradient(135deg,#FFA394,var(--coral)); }
.info__ico--purple { background: linear-gradient(135deg,#A78BFA,var(--purple)); }
.info strong { display: block; font-size: 1rem; margin-bottom: .2em; }
.info p  { margin: 0; font-size: .92rem; color: var(--ink-2); }
.info a[href^="tel"], .info a[href^="mailto"] { color: var(--sky); font-weight: 700; }
.info a[href^="tel"]:hover, .info a[href^="mailto"]:hover { text-decoration: underline; }

.visit__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.visit__map {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--sh-lg); border: 8px solid #fff; background: var(--bg-tint);
}
.visit__map iframe { width: 100%; height: 460px; border: 0; filter: saturate(1.05); }
.visit__map-card {
  position: absolute; inset-block-end: 18px; inset-inline-start: 18px;
  background: #fff; border-radius: var(--r);
  padding: 15px 20px; box-shadow: var(--sh);
  display: flex; flex-direction: column; gap: 2px;
  border: 1px solid var(--line); max-width: 78%;
}
.visit__map-card strong { font-size: .98rem; }
.visit__map-card span { font-size: .82rem; color: var(--ink-3); }
.visit__map-hours { color: var(--mint) !important; font-weight: 700; }

/* ── Register ── */
.register__grid { display: grid; gap: 48px; grid-template-columns: .92fr 1.08fr; align-items: start; }
.register__points { display: grid; gap: 11px; margin: 26px 0 30px; }
.register__points li {
  display: flex; align-items: center; gap: 10px;
  font-size: .93rem; color: var(--ink-2); font-weight: 600;
}
.register__points span {
  width: 24px; height: 24px; flex: none; border-radius: 50%;
  background: var(--mint-soft); color: #047857;
  display: grid; place-items: center; font-size: .8rem; font-weight: 900;
}
.register__help {
  background: #fff; border-radius: var(--r-lg);
  padding: 26px 24px; border: 1px solid var(--line); box-shadow: var(--sh-sm);
}
.register__help h3 { font-size: 1.05rem; margin-bottom: .3em; }
.register__help p  { font-size: .91rem; color: var(--ink-2); margin-bottom: 1em; }

.form-card {
  background: #fff; border-radius: var(--r-xl);
  padding: 38px 36px; box-shadow: var(--sh-lg);
  border: 1px solid var(--line);
}
.form__note { font-size: .85rem; color: var(--ink-3); margin-bottom: 22px; }
.req { color: var(--coral); font-weight: 900; }

.form { display: grid; gap: 18px; }
.form__row { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: .88rem; font-weight: 700; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px;
  border: 2px solid var(--line); border-radius: var(--r-sm);
  background: var(--bg-tint); font-size: .95rem;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; line-height: 1.7; }
.field select {
  appearance: none; cursor: pointer; padding-inline-end: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B7F9C' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 18px;
  background-position: left 15px center;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--sky);
  background: #fff; box-shadow: 0 0 0 4px rgba(14,165,233,.12);
}
.field input[type="date"] { direction: ltr; text-align: right; }
.field.has-error input, .field.has-error select, .field.has-error textarea {
  border-color: var(--coral); background: var(--coral-soft);
}
.err {
  font-size: .8rem; color: #DC2626; font-weight: 700;
  min-height: 0; display: none;
}
.field.has-error .err { display: block; }

.field--check { margin-block: 4px; }
.check { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-weight: 600 !important; }
.check input { position: absolute; opacity: 0; width: 0; height: 0; }
.check__box {
  width: 24px; height: 24px; flex: none; margin-top: 2px;
  border: 2px solid var(--line); border-radius: 7px; background: var(--bg-tint);
  transition: all .2s var(--ease);
}
.check input:checked + .check__box {
  background: var(--sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center/15px no-repeat;
  border-color: var(--sky);
}
.check input:focus-visible + .check__box { box-shadow: 0 0 0 4px rgba(14,165,233,.2); }
.field--check.has-error .check__box { border-color: var(--coral); }

.form__alt { text-align: center; font-size: .88rem; color: var(--ink-3); margin: 0; }
.form__alt a { color: var(--sky); font-weight: 800; }

.form-success { text-align: center; padding: 20px 0; }
.form-success__ico {
  width: 82px; height: 82px; border-radius: 50%; margin: 0 auto 22px;
  background: var(--mint-soft); display: grid; place-items: center;
  animation: pop .45s var(--ease);
}
.form-success__ico svg { width: 42px; height: 42px; fill: var(--mint); }
@keyframes pop { 0% { transform: scale(.5); opacity: 0 } 60% { transform: scale(1.08) } 100% { transform: scale(1); opacity: 1 } }
.form-success h3 { font-size: 1.45rem; margin-bottom: .4em; }
.form-success p  { color: var(--ink-2); max-width: 44ch; margin-inline: auto; margin-bottom: 1.6em; }
.form-success__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ── CTA band ── */
.cta-band {
  background:
    radial-gradient(700px 340px at 88% 0%, rgba(56,189,248,.42) 0%, transparent 62%),
    radial-gradient(620px 340px at 6% 100%, rgba(255,122,102,.4) 0%, transparent 62%),
    linear-gradient(120deg, var(--sky-deep), #6D28D9);
  color: #fff; padding: 66px 0;
}
.cta-band__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 34px; flex-wrap: wrap;
}
.cta-band h2 { font-family: var(--ff-fun); font-size: clamp(1.5rem,3.2vw,2.2rem); margin-bottom: .3em; }
.cta-band p  { margin: 0; opacity: .9; font-size: 1.02rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ── Footer ── */
.footer { background: var(--ink); color: rgba(255,255,255,.74); padding: 66px 0 0; font-size: .93rem; }
.footer__grid {
  display: grid; gap: 40px;
  grid-template-columns: 1.7fr 1fr 1fr 1.15fr;
  padding-bottom: 46px;
}
.footer__col h4 {
  color: #fff; font-size: 1rem; margin-bottom: 1.1em; position: relative; padding-bottom: 10px;
}
.footer__col h4::after {
  content: ""; position: absolute; inset-block-end: 0; inset-inline-start: 0;
  width: 32px; height: 3px; border-radius: 3px; background: var(--sky);
}
.footer__col ul { display: grid; gap: 10px; }
.footer__col a { transition: color .18s, padding-inline-start .18s; }
.footer__col a:hover { color: var(--sky); padding-inline-start: 5px; }
.footer__col--about p { margin: 18px 0 22px; max-width: 42ch; }

.logo--footer .logo__text strong { color: #fff; }
.logo--footer .logo__text small { color: rgba(255,255,255,.55); }

.social { display: flex; gap: 10px; }
.social a {
  width: 42px; height: 42px; border-radius: 13px;
  background: rgba(255,255,255,.08);
  display: grid; place-items: center;
  transition: background .2s, transform .2s var(--ease);
}
.social a:hover { background: var(--sky); transform: translateY(-3px); padding: 0; }
.social svg { width: 19px; height: 19px; fill: #fff; }

.footer__contact li { line-height: 1.7; }
.footer__contact a { font-weight: 700; }

.footer__bottom {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  padding: 24px 20px; border-top: 1px solid rgba(255,255,255,.12);
  font-size: .84rem;
}
.footer__bottom p { margin: 0; }
.footer__legal { opacity: .75; }

/* ── FABs ── */
.fab {
  position: fixed; inset-block-end: 24px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: 0 10px 28px rgba(0,0,0,.22);
  transition: transform .22s var(--ease), opacity .22s, background .2s;
}
.fab svg { width: 27px; height: 27px; fill: #fff; }
.fab--wa { inset-inline-end: 24px; background: var(--wa); }
.fab--wa::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--wa); animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0%   { transform: scale(1); opacity: .8 }
  70%  { transform: scale(1.5); opacity: 0 }
  100% { transform: scale(1.5); opacity: 0 }
}
.fab--top {
  inset-inline-end: 92px; background: var(--ink);
  opacity: 0; pointer-events: none; transform: translateY(16px);
}
.fab--top svg { width: 24px; height: 24px; }
.fab--top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.fab:hover { transform: translateY(-4px); }
@media (prefers-reduced-motion: reduce) {
  .fab--wa::after { animation: none }
}

/* ── Reveal on scroll ──
   الحالة المخفية تُفعَّل فقط عند توفّر الجافاسكربت (class="js" على <html>)،
   وإلا لبقيت العناصر مخفية للأبد لو تعذّر تحميل script.js. */
.reveal {
  opacity: 1; transform: none;
}
.js .reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  will-change: opacity, transform;
}
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none }
}

/* ══════════════ Responsive ══════════════ */
@media (max-width: 1080px) {
  :root { --header-h: 70px; }
  .hero__grid    { grid-template-columns: 1fr; gap: 48px; }
  .hero__art     { max-width: 560px; margin-inline: auto; }
  .float-card--1 { inset-inline-start: 0; }
  .float-card--2 { inset-inline-end: 0; }
  .about__grid   { grid-template-columns: 1fr; }
  .about__art    { max-width: 480px; margin-inline: auto; }
  .visit__grid   { grid-template-columns: 1fr; }
  .register__grid{ grid-template-columns: 1fr; }
  .fees          { grid-template-columns: 1fr; }
  .footer__grid  { grid-template-columns: 1fr 1fr; }

  .nav__list {
    position: fixed; inset-block: 0; inset-inline-end: 0; z-index: 99;
    width: min(330px, 84vw);
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; box-shadow: var(--sh-lg);
    padding: 92px 20px 30px;
    transform: translateX(100%); transition: transform .32s var(--ease);
    overflow-y: auto;
  }
  [dir="rtl"] .nav__list { transform: translateX(-100%); }
  .nav__list.is-open { transform: translateX(0) !important; }
  .nav__link { padding: 13px 16px; font-size: 1rem; }
  .nav { margin-inline-start: 0; }
  .nav__cta { display: block; margin-top: 18px; }
  .nav__cta .btn { width: 100%; }
  .burger { display: flex; }
  .header__inner { position: relative; }
}

@media (max-width: 900px) {
  .section { padding: 66px 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { border-inline-start: 0; border-top: 1px solid var(--line); }
  .stat:nth-child(odd) { border-inline-end: 1px solid var(--line); }
  .stat:nth-child(-n+2) { border-top: 0; }

  .tabpanel__grid { grid-template-columns: 1fr; padding: 30px 24px; gap: 28px; }
  .tabpanel__art { order: -1; max-width: 340px; margin-inline: auto; }

  .timeline::before { inset-inline-start: 46px; transform: none; }
  .tl { grid-template-columns: 92px 1fr; gap: 14px; }
  .tl__time,
  .tl:nth-child(even) .tl__time {
    grid-column: 1; grid-row: 1; text-align: start; align-self: start; padding-top: 18px;
  }
  .tl__dot { grid-column: 1; grid-row: 1; justify-self: end; margin-inline-end: -46px; }
  .tl__body,
  .tl:nth-child(even) .tl__body { grid-column: 2; grid-row: 1; }

  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 190px; }
  .shot--wide { grid-column: span 2; }

  .slider__nav { display: none; }
  .form__row { grid-template-columns: 1fr; }
  .form-card { padding: 28px 22px; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .section { padding: 54px 0; }
  .hero { padding: 46px 0 60px; }
  .section__head { margin-bottom: 36px; }

  .topbar__links { display: none; }
  .topbar__inner { justify-content: center; text-align: center; }

  .hero__actions .btn { width: 100%; }
  .hero__lead { font-size: 1.02rem; }
  .hero__trust { gap: 8px 16px; font-size: .82rem; }

  .float-card--3 { display: none; }
  .float-card { padding: 9px 13px; }
  .float-card strong { font-size: .95rem; }

  .cards { grid-template-columns: 1fr; }
  .card { padding: 28px 20px 22px; }
  .card__foot { flex-direction: column; align-items: stretch; text-align: center; }
  .card__foot .btn { width: 100%; }

  .tab { padding: 9px 16px; font-size: .85rem; }
  .tabs { gap: 6px; }

  .gallery { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .shot--wide { grid-column: span 1; }

  .note-strip { flex-direction: column; padding: 22px 20px; }

  .fees__table { font-size: .82rem; }
  .fees__table thead th { padding: 12px 10px; font-size: .76rem; }
  .fees__table tbody th,
  .fees__table tbody td { padding: 12px 10px; }
  .fees__table th:nth-child(4),
  .fees__table td:nth-child(4) { display: none; }

  .acc summary { padding: 17px 18px; font-size: .95rem; }
  .acc__body { padding: 0 18px 18px; }

  .visit__map { border-width: 5px; }
  .visit__map iframe { height: 320px; }
  .visit__actions .btn { width: 100%; }

  .cta-band { padding: 48px 0; }
  .cta-band__actions { width: 100%; }
  .cta-band__actions .btn { width: 100%; }

  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; text-align: center; gap: 8px; }

  .fab { width: 52px; height: 52px; }
  .fab--wa  { inset-inline-end: 18px; inset-block-end: 18px; }
  .fab--top { inset-inline-end: 80px; inset-block-end: 18px; }

  .card--dark .price strong { color: var(--sun); }
}

@media print {
  .topbar, .header, .marquee, .fab, .slider__nav, .slider__dots,
  .visit__map, .nav-backdrop, .marquee { display: none !important; }
  body { font-size: 12pt; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .section { padding: 20px 0; page-break-inside: avoid; }
}
