/* =========================================================
   مركز رحاب لطب الأسنان - الصفحة الرئيسية (التصميم الثاني)
   ---------------------------------------------------------
   * الألوان كلها في :root. غيّر القيم دي بألوان الموقع الأصلي.
   * صورة الدكتور: وسم <img id="heroImg"> في قسم الهيرو.
     مكان الوجه في الصورة: المتغير --focus.
   * فيديو يوتيوب: المعرّف في data-id على عنصر #vplayer.
   ========================================================= */
:root {
  --night: #051726;
  --night-2: #082a43;
  --night-3: #0d3a5c;
  --brand: #1d8fc9;
  --brand-dark: #126593;
  --cyan: #35c6f4;
  --aqua: #8fe0ff;
  --mist: #f1f9fd;
  --ink: #0c2234;
  --muted: #587080;
  --line: #d9e7f0;
  --alert: #ff5c5c;
  --wa: #25d366;
  --display: "Lalezar", "Readex Pro", system-ui, sans-serif;
  --font: "Readex Pro", system-ui, -apple-system, "Segoe UI", Tahoma, Arial, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --shadow-lg: 0 30px 80px rgba(5, 23, 38, .28);
  --focus: center 15%;   /* مكان وجه الدكتور داخل صورة الهيرو */
}
@property --ang { syntax: '<angle>'; initial-value: 0deg; inherits: false; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; overflow-x: clip; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: #fff; line-height: 1.85; font-size: 17px; font-weight: 400; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; font-weight: 600; }
p { margin: 0 0 1em; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--brand-dark); color: #fff; padding: 8px 16px; border-radius: 10px; z-index: 500; }
.skip:focus { top: 10px; }
.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic--lg { width: 28px; height: 28px; }
[dir="rtl"] .more .ic, [dir="rtl"] .btn .ic-arrow { transform: scaleX(-1); }

/* ---------- حركات ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(26px); } }
@keyframes rise { from { opacity: 0; transform: translateY(40px) scale(.97); } }
@keyframes zoomIn { from { opacity: 0; transform: scale(.88); } }
@keyframes lineUp { from { transform: translateY(115%) rotate(4deg); } }
@keyframes unveil { from { clip-path: inset(100% 0 0 0 round 36px); } to { clip-path: inset(0 0 0 0 round 36px); } }
@keyframes ping { to { transform: scale(2.6); opacity: 0; } }
@keyframes drift { to { transform: translate(90px, 50px) scale(1.18); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes shine { to { background-position: 220% center; } }
@keyframes spin { to { --ang: 360deg; } }
@keyframes rot { to { transform: rotate(360deg); } }
@keyframes twinkle { 0%, 100% { transform: scale(.3) rotate(0); opacity: .15; } 50% { transform: scale(1) rotate(45deg); opacity: 1; } }
@keyframes bubble { 0% { transform: translateY(0) scale(.6); opacity: 0; } 15% { opacity: .6; } 100% { transform: translateY(-120vh) scale(1.1); opacity: 0; } }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
@keyframes hop { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-26px) rotate(4deg); } }
@keyframes draw { from { stroke-dashoffset: 1; } }
@keyframes fill { to { width: 100%; } }
@keyframes pop { 0% { transform: scale(.6) rotate(-12deg); opacity: 0; } 60% { transform: scale(1.08) rotate(3deg); opacity: 1; } 100% { transform: none; } }
@keyframes sweep { from { transform: translateX(-160%) skewX(-18deg); } to { transform: translateX(260%) skewX(-18deg); } }
@keyframes flow { to { background-position: 100% 50%; } }
@keyframes loaderOut { to { opacity: 0; visibility: hidden; } }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(14px); opacity: 0; } }

.js .reveal { opacity: 0; }
.js .reveal.is-in { opacity: 1; animation: rise .95s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 90ms); }
.js .reveal[data-r="zoom"].is-in { animation-name: zoomIn; }
.js [data-in] { opacity: 0; }
html.is-ready [data-in] { opacity: 1; animation: fadeUp .95s var(--ease) backwards; animation-delay: calc(var(--d, 0) * 1ms); }
html.is-ready [data-in="clip"] { animation-name: unveil; animation-duration: 1.4s; }
[data-depth] { translate: 0 var(--ty, 0px); }

/* ---------- شاشة البداية ---------- */
.loader { position: fixed; inset: 0; z-index: 600; background: radial-gradient(600px circle at 50% 40%, var(--night-3), var(--night)); display: grid; place-content: center; justify-items: center; gap: 18px; color: #fff; animation: loaderOut .6s ease 2.6s forwards; }
.loader.is-done { opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s; animation: none; }
.loader svg { width: 96px; height: 96px; fill: none; stroke: var(--cyan); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 18px rgba(53,198,244,.7)); }
.loader path { stroke-dasharray: 1; stroke-dashoffset: 0; animation: draw 1.3s var(--ease) both; }
.loader span { font: 400 22px var(--display); letter-spacing: .12em; opacity: .85; direction: ltr; }

/* ---------- المؤشر المخصص ---------- */
.cur, .cur-dot { position: fixed; top: 0; left: 0; z-index: 450; pointer-events: none; opacity: 0; }
.cur { width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 1.5px solid var(--cyan); border-radius: 50%; transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), background .3s, opacity .3s; }
.cur.is-hover { width: 68px; height: 68px; margin: -34px 0 0 -34px; background: rgba(53,198,244,.14); }
.cur-dot { width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%; background: var(--cyan); }
.cursor-on .cur, .cursor-on .cur-dot { opacity: 1; }

/* ---------- شريط التقدم ---------- */
.progress { position: fixed; top: 0; inset-inline: 0; height: 4px; z-index: 300; pointer-events: none; background: linear-gradient(90deg, var(--brand), var(--cyan), #fff); transform: scaleX(var(--p, 0)); transform-origin: right; }
[dir="ltr"] .progress { transform-origin: left; }

/* ---------- الأزرار ---------- */
.btn { position: relative; display: inline-flex; align-items: center; gap: 16px; padding-block: 7px; padding-inline: 26px 7px; border-radius: 999px; border: 0; font-weight: 600; font-size: 16.5px; transition: background .3s, color .3s, box-shadow .3s, transform .3s var(--ease); translate: var(--tx, 0) var(--ty, 0); }
.btn:hover { transform: translateY(-3px); }
.btn__ic { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--brand-dark); transition: transform .4s var(--ease), background .3s; }
.btn:hover .btn__ic { transform: rotate(-35deg) scale(1.08); }
[dir="rtl"] .btn:hover .btn__ic { transform: rotate(35deg) scale(1.08); }
.btn--primary { background: linear-gradient(135deg, var(--cyan), var(--brand)); color: var(--night); box-shadow: 0 12px 34px rgba(53,198,244,.4); }
.btn--primary:hover { box-shadow: 0 16px 44px rgba(53,198,244,.6); }
.btn--glass { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(10px); padding-block: 6px; }
.btn--glass:hover { background: rgba(255,255,255,.2); }
.btn--dark { background: var(--night); color: #fff; }
.btn--dark .btn__ic { background: var(--cyan); color: var(--night); }
.btn--outline { background: transparent; color: var(--brand-dark); border: 2px solid var(--brand); padding-block: 5px; }
.btn--outline .btn__ic { background: var(--brand); color: #fff; }
.btn--light { background: #fff; color: var(--night); }
.btn--light .btn__ic { background: var(--night); color: #fff; }
.btn--wa { width: 100%; justify-content: space-between; background: var(--wa); color: #fff; box-shadow: 0 12px 30px rgba(37,211,102,.4); }
.btn--wa .btn__ic { color: var(--wa); }
.btn--sm { font-size: 15px; padding-inline: 20px 5px; gap: 12px; }
.btn--sm .btn__ic { width: 36px; height: 36px; }

/* ---------- الشريط العلوي ---------- */
.topbar { position: relative; z-index: 95; background: var(--night); color: #cfe6f3; font-size: 13.5px; border-bottom: 1px solid rgba(255,255,255,.08); }
.topbar__in { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-block: 6px; }
.topbar__info { display: flex; flex-wrap: wrap; gap: 2px 22px; align-items: center; }
.topbar__info > * { display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: var(--cyan); }
.topbar .ic { width: 15px; height: 15px; color: var(--cyan); }
.lang { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: 1px 16px; font-weight: 700; font-size: 12.5px; transition: background .2s; }
.lang:hover { background: var(--cyan); color: var(--night); }

/* ---------- الهيدر (كبسولة عائمة) ---------- */
.header { position: sticky; top: 8px; z-index: 90; height: 0; }
.header .container { position: relative; }
.pill { position: absolute; inset-inline: 0; top: 14px; display: flex; align-items: center; gap: 16px; padding: 8px 14px; background: rgba(255,255,255,.95); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-radius: 999px; box-shadow: 0 16px 44px rgba(5,23,38,.28); transition: top .3s var(--ease), box-shadow .3s; }
.header.is-stuck .pill { top: 4px; }
.logo img { height: 52px; width: auto; transition: height .3s var(--ease); }
.header.is-stuck .logo img { height: 42px; }
.nav { display: flex; gap: 2px; margin-inline-start: auto; }
.nav a { position: relative; padding: 8px 14px; border-radius: 999px; font-weight: 500; font-size: 15.5px; transition: color .25s, background .25s; }
.nav a:hover { background: var(--mist); color: var(--brand-dark); }
.nav a.is-active { background: var(--night); color: #fff; }
.burger { display: none; width: 46px; height: 46px; border: 0; background: var(--mist); border-radius: 50%; padding: 0; position: relative; margin-inline-start: auto; }
.burger span { position: absolute; inset-inline: 13px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .2s; }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 22px; } .burger span:nth-child(3) { top: 28px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- الهيرو ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--night); padding-block: 150px 130px; }
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.aur { position: absolute; border-radius: 50%; filter: blur(100px); mix-blend-mode: screen; animation: drift 18s ease-in-out infinite alternate; will-change: transform; }
.aur--1 { width: 640px; height: 640px; background: var(--brand); opacity: .6; top: -220px; inset-inline-end: -140px; }
.aur--2 { width: 540px; height: 540px; background: var(--cyan); opacity: .28; bottom: -240px; inset-inline-start: -140px; animation-delay: -6s; animation-direction: alternate-reverse; }
.aur--3 { width: 400px; height: 400px; background: #0d5f9a; opacity: .7; top: 28%; inset-inline-start: 34%; animation-duration: 24s; }
.hero__grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 68px 68px; -webkit-mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent); mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent); }
#fx { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__word { position: absolute; inset-inline: 0; bottom: 70px; text-align: center; direction: ltr; font: 400 clamp(130px, 26vw, 400px)/1 var(--display); color: transparent; -webkit-text-stroke: 1.5px rgba(143,224,255,.1); user-select: none; transform: translateY(calc(var(--sy, 0) * -.1px)); letter-spacing: .04em; }
.hero__in { display: grid; grid-template-columns: 1.08fr .92fr; gap: 40px; align-items: center; }
.pilltag { display: inline-flex; align-items: center; gap: 10px; padding: 7px 18px; border-radius: 999px; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(10px); font-weight: 500; font-size: 14.5px; margin-bottom: 22px; }
.pulse { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--cyan); flex: none; }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--cyan); animation: ping 2s ease-out infinite; }
.hero h1 { font: 400 clamp(40px, 5.2vw, 78px)/1.08 var(--display); margin: 0 0 .3em; }
.line { display: block; overflow: hidden; padding-block: .16em .12em; margin-block: -.1em; }
.line__in { display: inline-block; }
.js .line__in { opacity: 0; }
html.is-ready .line__in { opacity: 1; animation: lineUp 1.1s var(--ease) backwards; }
html.is-ready .line:nth-child(1) .line__in { animation-delay: .1s; }
html.is-ready .line:nth-child(2) .line__in { animation-delay: .25s; }
html.is-ready .line:nth-child(3) .line__in { animation-delay: .4s; }
.g { background: linear-gradient(100deg, var(--cyan), #fff 35%, var(--aqua) 55%, var(--cyan)); background-size: 220% auto; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
html.is-ready .g { animation: lineUp 1.1s var(--ease) .4s backwards, shine 6s linear 1.6s infinite; }
.lead { font-size: 19px; color: #c6deec; max-width: 52ch; font-weight: 300; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.dots { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-top: 30px; font-weight: 500; font-size: 15px; color: #d6ebf6; }
.dots li { display: inline-flex; align-items: center; gap: 9px; }
.dots li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }

/* مسرح الصورة */
.stage { position: relative; width: min(470px, 100%); margin-inline: auto; transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .3s ease-out; }
.m { position: absolute; transform: translate(calc(var(--mx2, 0) * var(--k, 14) * 1px), calc(var(--my2, 0) * var(--k, 14) * 1px)); transition: transform .4s ease-out; }
.bgcard { position: absolute; inset: 6% 8% -4% -8%; border-radius: 40px; background: linear-gradient(150deg, var(--cyan), var(--brand-dark)); opacity: .5; rotate: 7deg; filter: blur(.5px); }
.bgcard--2 { inset: -3% -9% 9% 9%; background: none; border: 2px solid rgba(143,224,255,.45); rotate: -6deg; opacity: 1; }
.photo { position: relative; border-radius: 36px 36px 36px 170px; overflow: hidden; aspect-ratio: 4 / 5.1; background: var(--night-3); box-shadow: 0 50px 100px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.22); }
.photo img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focus); filter: saturate(1.1) contrast(1.05) brightness(1.03); transform: scale(1.06) translate(calc(var(--ry, 0deg) * -.6), calc(var(--rx, 0deg) * .6)); transition: transform .3s ease-out; }
.photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 58%, rgba(5,23,38,.5)); }
.sweep { position: absolute; inset-block: 0; width: 38%; z-index: 2; background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent); animation: sweep 5.5s ease-in-out 2.4s infinite; pointer-events: none; }
.badge { top: -46px; inset-inline-end: -36px; width: 150px; height: 150px; --k: -22; }
.badge__bg { position: absolute; inset: 0; border-radius: 50%; background: linear-gradient(135deg, var(--cyan), var(--brand)); box-shadow: 0 16px 40px rgba(53,198,244,.5); }
.badge__txt { position: absolute; inset: 0; width: 100%; height: 100%; animation: rot 22s linear infinite; }
.badge__txt text { font: 600 12.5px var(--font); fill: var(--night); letter-spacing: 1px; }
.badge__ic { position: absolute; inset: 0; margin: auto; width: 46px; height: 46px; color: #fff; stroke-width: 1.5; }
.gcard { position: absolute; z-index: 4; }
.gcard__in { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-radius: 20px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 18px 44px rgba(0,0,0,.3); font-weight: 600; font-size: 14.5px; line-height: 1.3; animation: float 6s ease-in-out infinite; }
.gcard small { display: block; font-weight: 400; font-size: 12.5px; color: #c6deec; }
.gcard strong { font: 400 30px/1 var(--display); color: var(--aqua); }
.gcard .ic { width: 40px; height: 40px; padding: 9px; border-radius: 13px; background: rgba(53,198,244,.2); color: var(--aqua); }
.gcard--status { top: 30px; inset-inline-start: -46px; }
.gcard--status .gcard__in { animation-delay: -2s; }
.gcard--years { inset-block-end: 70px; inset-inline-end: -48px; }
.gcard--years .gcard__in { animation-delay: -4s; }
.dot { position: relative; width: 11px; height: 11px; border-radius: 50%; background: #8aa0ae; flex: none; }
.gcard--status.is-open .dot { background: #3be184; }
.gcard--status.is-open .dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #3be184; animation: ping 2s ease-out infinite; }
.spark { position: absolute; z-index: 5; width: 28px; height: 28px; fill: var(--aqua); animation: twinkle 3.2s ease-in-out infinite; pointer-events: none; }
.sp1 { top: 10%; inset-inline-end: 4%; } .sp2 { top: 48%; inset-inline-end: -26px; width: 20px; height: 20px; animation-delay: -1.2s; } .sp3 { inset-block-end: 22%; inset-inline-start: -22px; width: 24px; height: 24px; animation-delay: -2.2s; } .sp4 { top: 8%; inset-inline-start: 10%; width: 16px; height: 16px; fill: #fff; animation-delay: -.6s; }

.hinfo { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 64px; position: relative; z-index: 2; }
.hinfo__i { display: flex; gap: 16px; align-items: center; padding: 18px 22px; border-radius: 24px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: transform .35s var(--ease), background .3s; }
.hinfo__i:hover { transform: translateY(-6px); background: rgba(255,255,255,.13); }
.hinfo__ic { width: 54px; height: 54px; border-radius: 18px; background: rgba(53,198,244,.18); color: var(--aqua); display: grid; place-items: center; flex: none; }
.hinfo__i h3 { font-size: 15px; margin: 0; color: #c6deec; font-weight: 400; }
.hinfo__i p, .hinfo__i a { margin: 0; font-weight: 600; font-size: 16px; line-height: 1.5; }
.hinfo__i--alert .hinfo__ic { background: rgba(255,92,92,.2); color: var(--alert); animation: float 2.6s ease-in-out infinite; }
.hinfo__i--alert a { font: 400 28px/1.2 var(--display); color: #fff; }

/* ---------- الشرائط المائلة ---------- */
.bands { position: relative; z-index: 6; height: 200px; margin-top: -120px; pointer-events: none; overflow: hidden; }
.band { position: absolute; inset-inline: -5%; overflow: hidden; white-space: nowrap; direction: ltr; padding-block: 14px; }
.band--a { top: 64px; transform: rotate(-2.2deg); background: linear-gradient(90deg, var(--cyan), var(--aqua), var(--cyan)); color: var(--night); z-index: 2; box-shadow: 0 18px 40px rgba(5,23,38,.25); }
.band--b { top: 84px; transform: rotate(1.8deg); background: var(--night-3); color: #fff; z-index: 1; }
.band__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
[dir="rtl"] .band--a .band__track { animation-direction: reverse; }
.band--b .band__track { animation-duration: 62s; }
.band__set { display: flex; flex: none; }
.band__item { display: inline-flex; align-items: center; gap: 14px; padding-inline: 26px; font: 400 26px/1.4 var(--display); direction: rtl; }
[dir="ltr"] .band__item { direction: ltr; }
.band__item .ic { width: 26px; height: 26px; }
.band__item::after { content: "✦"; margin-inline-start: 26px; font-size: 18px; opacity: .6; }

/* ---------- الأقسام ---------- */
.section { padding-block: 100px; }
.section--mist { background: var(--mist); }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; color: var(--brand); font-weight: 600; font-size: 15px; margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 42px; height: 2px; background: currentColor; }
.eyebrow--light { color: var(--aqua); }
.h2 { font: 400 clamp(42px, 6.2vw, 88px)/1.08 var(--display); margin: 0 0 .25em; }
.mark { background: linear-gradient(transparent 62%, rgba(53,198,244,.5) 62%) no-repeat right / 0 100%; transition: background-size 1.1s var(--ease) .5s; }
[dir="ltr"] .mark { background-position: left; }
.is-in .mark, .reveal.is-in .mark { background-size: 100% 100%; }
.sub { color: var(--muted); font-size: 18px; max-width: 54ch; }

/* ---------- مستكشف التخصصات ---------- */
.spx { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: start; margin-top: 48px; }
.spec { position: relative; border-bottom: 1px solid var(--line); }
.spec::after { content: ""; position: absolute; inset-inline-start: 0; bottom: -1px; height: 2px; width: 0; background: var(--brand); }
.spec.is-active::after { width: 100%; }
.spec.is-auto::after { width: 0; animation: fill 5s linear forwards; }
.spec__btn { width: 100%; display: flex; align-items: center; gap: 18px; padding: 16px 4px; background: none; border: 0; text-align: start; }
.spec__n { font: 400 22px var(--display); color: var(--brand); opacity: .45; width: 36px; transition: opacity .3s; }
.spec__t { flex: 1; font: 400 clamp(26px, 3vw, 40px)/1.2 var(--display); transition: color .3s, transform .5s var(--ease); }
.spec__ic { width: 28px; height: 28px; color: var(--brand); opacity: 0; transform: scale(.5) rotate(-30deg); transition: opacity .3s, transform .5s var(--ease); }
.spec:hover .spec__t { transform: translateX(calc(var(--dx, -1) * 8px)); }
[dir="ltr"] .spec:hover .spec__t { transform: translateX(8px); }
.spec.is-active .spec__t { color: var(--brand); }
.spec.is-active .spec__n { opacity: 1; }
.spec.is-active .spec__ic { opacity: 1; transform: none; }
.spec__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.spec.is-active .spec__body { grid-template-rows: 1fr; }
.spec__body > div { overflow: hidden; visibility: hidden; transition: visibility 0s .55s; }
.spec.is-active .spec__body > div { visibility: visible; transition-delay: 0s; }
.spec__body p { margin: 0 0 10px; padding-inline-start: 58px; color: var(--muted); max-width: 52ch; }
.spec__body .more { margin: 0 0 20px; margin-inline-start: 58px; }
.more { display: inline-flex; align-items: center; gap: 8px; color: var(--brand-dark); font-weight: 600; font-size: 15px; transition: gap .25s; }
.more:hover { gap: 14px; }
.spx__vis { position: sticky; top: 120px; aspect-ratio: 1; display: grid; place-items: center; }
.orb { position: relative; width: 100%; height: 100%; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 30% 25%, var(--brand), var(--night-2) 70%); box-shadow: 0 40px 100px rgba(18,101,147,.4), inset 0 0 80px rgba(53,198,244,.25); overflow: hidden; }
.orb::before { content: ""; position: absolute; inset: 0; background: conic-gradient(from var(--ang), transparent 0 70%, rgba(143,224,255,.45), transparent); animation: spin 6s linear infinite; }
.ring { position: absolute; border-radius: 50%; border: 1.5px dashed rgba(143,224,255,.4); animation: rot 30s linear infinite; }
.ring--1 { inset: 9%; } .ring--2 { inset: 22%; animation-direction: reverse; animation-duration: 40s; border-style: solid; border-color: rgba(143,224,255,.18); }
.orb__ic { position: relative; width: 38%; height: 38%; color: #fff; stroke-width: 1.1; filter: drop-shadow(0 0 22px rgba(143,224,255,.8)); }
.orb__ic.pop { animation: pop .7s var(--ease); }
.spx__num { position: absolute; inset-block-end: 4%; inset-inline-end: 2%; font: 400 clamp(70px, 9vw, 120px)/1 var(--display); color: #fff; -webkit-text-stroke: 0; opacity: .9; text-shadow: 0 10px 40px rgba(5,23,38,.5); direction: ltr; }
.spx__tag { position: absolute; inset-block-start: 2%; inset-inline-start: 0; padding: 8px 18px; border-radius: 999px; background: #fff; box-shadow: var(--shadow-lg); font-weight: 600; font-size: 14px; color: var(--brand-dark); animation: float 5s ease-in-out infinite; }

/* ---------- من نحن ---------- */
.about { display: grid; grid-template-columns: .95fr 1.05fr; gap: 72px; align-items: center; }
.collage { position: relative; aspect-ratio: 1 / 1.1; }
.collage img { position: absolute; object-fit: cover; box-shadow: var(--shadow-lg); filter: saturate(1.08) contrast(1.04); }
.c1 { inset-inline-start: 0; top: 0; width: 78%; height: 82%; border-radius: 40px 40px 40px 130px; }
.c2 { inset-inline-end: 0; bottom: 0; width: 52%; height: 38%; border-radius: 28px; border: 6px solid #fff; rotate: 4deg; }
.c3 { inset-inline-end: 4%; top: 5%; width: 32%; height: 25%; border-radius: 24px; border: 5px solid #fff; rotate: -6deg; }
.collage__badge { position: absolute; inset-block-end: 14%; inset-inline-start: -4%; z-index: 3; background: var(--night); color: #fff; border-radius: 24px; padding: 14px 26px; text-align: center; line-height: 1.2; box-shadow: var(--shadow-lg); animation: float 6s ease-in-out infinite; }
.collage__badge strong { display: block; font: 400 44px/1 var(--display); color: var(--cyan); }
.collage__badge span { font-size: 13.5px; font-weight: 500; color: #c6deec; }
.feats { display: grid; gap: 12px; margin: 28px 0 34px; }
.feat { display: flex; gap: 18px; align-items: center; padding: 16px 20px; border-radius: 22px; background: #fff; border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .3s, border-color .3s; }
.feat:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(18,101,147,.15); border-color: var(--cyan); }
.feat__icon { width: 52px; height: 52px; border-radius: 16px; background: var(--night); color: var(--cyan); display: grid; place-items: center; flex: none; transition: transform .5s var(--ease); }
.feat:hover .feat__icon { transform: rotate(-10deg) scale(1.1); }
.feat h3 { font-size: 18px; margin-bottom: 0; }
.feat p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }

/* ---------- الأرقام ---------- */
.stats { position: relative; overflow: hidden; isolation: isolate; background: radial-gradient(800px 400px at 80% 0, var(--night-3), transparent 70%), var(--night); color: #fff; padding-block: 110px; }
.stats .bubbles { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.stats__top { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 30px; }
.stats__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat { padding: 10px 28px; }
.stat + .stat { border-inline-start: 1px solid rgba(255,255,255,.14); }
.stat strong { display: block; font: 400 clamp(96px, 15vw, 220px)/.95 var(--display); background: linear-gradient(180deg, #fff 10%, var(--aqua) 55%, var(--brand)); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.stat strong::after { content: attr(data-suffix); }
.stat span { font-size: 19px; font-weight: 500; color: #c6deec; }
.bubbles i { position: absolute; bottom: -50px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.9), rgba(92,200,242,.22) 60%, rgba(29,143,201,.1)); border: 1px solid rgba(143,224,255,.3); animation: bubble linear infinite; opacity: 0; }

/* ---------- الرحلة ---------- */
.path { position: relative; margin-top: 60px; --f: 0; }
.path__line { position: absolute; top: 0; bottom: 0; inset-inline-start: 50%; width: 4px; margin-inline-start: -2px; border-radius: 4px; background: var(--line); overflow: hidden; }
.path__line b { position: absolute; inset-inline: 0; top: 0; height: calc(var(--f) * 100%); background: linear-gradient(180deg, var(--cyan), var(--brand)); box-shadow: 0 0 18px var(--cyan); border-radius: 4px; }
.pstep { position: relative; width: 50%; padding-block: 18px 54px; padding-inline-end: 64px; }
.pstep:nth-child(even) { margin-inline-start: 50%; padding-inline-end: 0; padding-inline-start: 64px; }
.pstep:last-child { padding-bottom: 0; }
.pstep__n { position: absolute; top: 14px; inset-inline-end: -30px; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--brand); border: 3px solid var(--line); z-index: 2; transition: background .5s, color .5s, border-color .5s, transform .6s var(--ease), box-shadow .5s; }
.pstep:nth-child(even) .pstep__n { inset-inline-end: auto; inset-inline-start: -30px; }
.pstep.is-on .pstep__n { background: linear-gradient(135deg, var(--cyan), var(--brand)); color: #fff; border-color: #fff; transform: scale(1.15); box-shadow: 0 0 0 8px rgba(53,198,244,.22), 0 14px 30px rgba(29,143,201,.4); }
.pstep__card { padding: 24px 28px; border-radius: 26px; background: #fff; border: 1px solid var(--line); box-shadow: 0 14px 40px rgba(18,101,147,.08); transition: transform .5s var(--ease), border-color .4s, box-shadow .4s; opacity: .55; }
.pstep.is-on .pstep__card { opacity: 1; border-color: var(--cyan); box-shadow: 0 24px 60px rgba(18,101,147,.18); transform: translateY(-4px); }
.pstep__card h3 { font: 400 32px/1.2 var(--display); margin-bottom: .15em; }
.pstep__card p { margin: 0; color: var(--muted); }
.pstep__k { font: 400 15px var(--display); color: var(--brand); letter-spacing: .1em; }

/* ---------- الفيديو ---------- */
.video { position: relative; overflow: hidden; isolation: isolate; background: var(--night); color: #fff; padding-block: 110px; text-align: center; }
.video::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(560px circle at var(--sx, 70%) var(--sy, 30%), rgba(53,198,244,.24), transparent 65%); }
.video::after { content: ""; position: absolute; inset: 0; z-index: -2; background-image: radial-gradient(rgba(143,224,255,.18) 1.2px, transparent 1.5px); background-size: 34px 34px; -webkit-mask-image: radial-gradient(60% 60% at 50% 50%, #000, transparent); mask-image: radial-gradient(60% 60% at 50% 50%, #000, transparent); }
.video .eyebrow { justify-content: center; }
.video .sub { margin-inline: auto; color: #c6deec; }
.vframe { position: relative; max-width: 980px; margin: 52px auto 0; transform: perspective(1300px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .3s ease-out; }
.vframe__ring { position: absolute; inset: -6px; border-radius: 34px; padding: 3px; pointer-events: none; background: conic-gradient(from var(--ang), var(--cyan), transparent 30%, var(--brand), transparent 65%, var(--aqua), var(--cyan)); animation: spin 7s linear infinite; -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.vplayer { position: relative; aspect-ratio: 16 / 9; border-radius: 28px; overflow: hidden; background: #000; box-shadow: 0 50px 120px rgba(0,0,0,.6), 0 0 120px rgba(53,198,244,.18); }
.vplayer img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.vplayer.bars img { transform: scale(1.34); }
.vplayer:hover img { transform: scale(1.06); }
.vplayer.bars:hover img { transform: scale(1.42); }
.vplayer::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,23,38,.1), rgba(5,23,38,.6)); pointer-events: none; }
.vplayer.is-live::after { display: none; }
.vplay { position: absolute; inset: 0; margin: auto; z-index: 2; width: 108px; height: 108px; border-radius: 50%; border: 0; background: linear-gradient(135deg, var(--cyan), var(--brand)); color: #fff; display: grid; place-items: center; box-shadow: 0 20px 60px rgba(29,143,201,.7); transition: transform .4s var(--ease); }
.vplay:hover { transform: scale(1.1); }
.vplay::before, .vplay::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--cyan); animation: ping 2.4s ease-out infinite; }
.vplay::after { animation-delay: 1.2s; }
.vplay svg { width: 42px; height: 42px; fill: #fff; stroke: none; margin-inline-start: -4px; }
.vlabel { position: absolute; z-index: 2; inset-block-end: 18px; inset-inline-start: 18px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; border-radius: 999px; background: rgba(5,23,38,.7); backdrop-filter: blur(8px); font-weight: 500; font-size: 14px; }
.vlabel i { width: 10px; height: 10px; border-radius: 50%; background: var(--alert); }
.vplayer iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 3; }
.video__more { margin-top: 34px; }

/* ---------- الأطفال ---------- */
.kids { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(135deg, var(--aqua), var(--cyan) 55%, #6fd3f7); color: var(--night); padding-block: 100px; }
.kids::before, .kids::after { content: ""; position: absolute; border-radius: 50%; z-index: -1; background: rgba(255,255,255,.28); }
.kids::before { width: 420px; height: 420px; top: -170px; inset-inline-start: -90px; }
.kids::after { width: 300px; height: 300px; bottom: -130px; inset-inline-end: 22%; background: rgba(255,255,255,.2); }
.kids__in { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; align-items: center; }
.kids h2 { font: 400 clamp(38px, 5.4vw, 74px)/1.1 var(--display); }
.kids p { font-size: 18.5px; max-width: 54ch; color: #0b3350; }
.kids__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.mascot { position: relative; display: grid; place-items: center; }
.mascot svg { width: min(330px, 80%); height: auto; overflow: visible; animation: hop 3.6s ease-in-out infinite; filter: drop-shadow(0 26px 30px rgba(5,23,38,.28)); }
.mascot .eye { transform-box: fill-box; transform-origin: center; animation: blink 4.5s infinite; }
.mascot::before { content: ""; position: absolute; width: 76%; aspect-ratio: 1; border-radius: 50%; border: 2px dashed rgba(255,255,255,.7); animation: rot 24s linear infinite; }
.mascot .spark { fill: #fff; }
.mascot .sp1 { top: 6%; inset-inline-end: 14%; width: 34px; height: 34px; } .mascot .sp2 { top: 56%; inset-inline-end: 4%; } .mascot .sp3 { inset-block-end: 8%; inset-inline-start: 14%; } .mascot .sp4 { top: 14%; inset-inline-start: 10%; width: 22px; height: 22px; }

/* ---------- الحجز ---------- */
.book { background: var(--mist); padding-block: 100px; }
.bookcard { position: relative; overflow: hidden; isolation: isolate; border-radius: 48px; padding: 64px; color: #fff; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; background: linear-gradient(135deg, var(--night), var(--night-3) 55%, var(--brand-dark)); background-size: 200% 200%; animation: flow 16s ease-in-out infinite alternate; box-shadow: var(--shadow-lg); }
.bookcard .bubbles { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.bookcard h2 { font: 400 clamp(42px, 6vw, 84px)/1.05 var(--display); }
.bookcard__text p { color: #c6deec; max-width: 44ch; font-size: 18px; }
.book__phone { display: inline-flex; align-items: center; gap: 14px; font: 400 clamp(30px, 4.4vw, 52px)/1.2 var(--display); padding: 6px 28px 6px 22px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.3); transition: background .3s, transform .3s var(--ease); }
.book__phone:hover { background: rgba(255,255,255,.2); transform: translateY(-4px); }
.book__phone .ic { color: var(--cyan); }
.book__hours { display: flex; gap: 10px; align-items: center; margin-top: 24px; color: #c6deec; font-size: 15.5px; }
.book__hours .ic { color: var(--cyan); }
.form { background: #fff; color: var(--ink); border-radius: 32px; padding: 34px; display: grid; gap: 14px; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.form input, .form select { font: inherit; padding: 13px 18px; border: 1.5px solid var(--line); border-radius: 16px; background: var(--mist); color: var(--ink); width: 100%; transition: border-color .2s, box-shadow .2s, background .2s; }
.form input:focus, .form select:focus { outline: none; background: #fff; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(29,143,201,.18); }
.form__err { color: #d03b3b; margin: 0; font-weight: 600; font-size: 14px; }

/* ---------- الفوتر ---------- */
.footer { position: relative; overflow: hidden; background: radial-gradient(700px 320px at 15% 0, rgba(29,143,201,.25), transparent 70%), var(--night); color: #b9cdd9; font-size: 15px; border-radius: 56px 56px 0 0; }
.footer__word { direction: ltr; text-align: center; font: 400 clamp(90px, 20vw, 300px)/.9 var(--display); color: transparent; -webkit-text-stroke: 1.5px rgba(143,224,255,.12); padding-top: 30px; user-select: none; letter-spacing: .05em; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1.1fr 1.3fr .8fr; gap: 36px; padding-block: 30px 40px; position: relative; }
.footer__logo { height: 64px; width: auto; margin-bottom: 14px; }
.footer h4 { color: #fff; font-size: 17px; margin-bottom: .8em; position: relative; padding-bottom: 10px; }
.footer h4::after { content: ""; position: absolute; inset-inline-start: 0; bottom: 0; width: 34px; height: 3px; border-radius: 3px; background: var(--cyan); }
.footer li { margin-bottom: 6px; }
.footer a { transition: color .2s; }
.footer a:hover { color: var(--cyan); }
.footer .two { columns: 2; column-gap: 20px; }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a { width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; transition: background .25s, transform .3s var(--ease); }
.social a:hover { background: var(--cyan); color: var(--night); transform: translateY(-5px) rotate(-8deg); }
.footer__bar { border-top: 1px solid rgba(255,255,255,.1); padding-block: 18px; font-size: 14px; }
.mt { margin-top: 1.4em; }

/* ---------- عائم ---------- */
.wa-float { position: fixed; inset-block-end: 22px; inset-inline-end: 22px; z-index: 80; width: 62px; height: 62px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px rgba(37,211,102,.55); transition: transform .3s var(--ease); }
.wa-float:hover { transform: scale(1.12) rotate(-8deg); }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ping 2.2s ease-out 2s 5; }
.wa-float .ic { width: 28px; height: 28px; }
.dock { display: none; }

/* ---------- تابلت وموبايل ---------- */
@media (max-width: 1060px) {
  .nav a { padding: 8px 10px; font-size: 14.5px; }
}
@media (max-width: 960px) {
  .hero { padding-block: 130px 120px; }
  .hero__in, .about, .kids__in, .bookcard, .spx { grid-template-columns: 1fr; gap: 44px; }
  .hero__media { order: -1; }
  .stage { width: min(380px, 82%); }
  .gcard--status { inset-inline-start: -14px; } .gcard--years { inset-inline-end: -14px; } .badge { inset-inline-end: -14px; width: 120px; height: 120px; }
  .hinfo { grid-template-columns: 1fr; margin-top: 50px; }
  .spx__vis { position: relative; top: 0; width: min(320px, 70%); margin-inline: auto; order: -1; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .burger { display: block; } .header__cta { display: none; }
  .nav { position: absolute; inset-inline: 0; top: calc(100% + 10px); background: #fff; flex-direction: column; gap: 0; padding: 10px 18px 16px; border-radius: 28px; box-shadow: 0 20px 44px rgba(5,23,38,.3); display: none; margin: 0; }
  .nav.is-open { display: flex; animation: fadeUp .35s var(--ease); }
  .nav a { padding: 13px 8px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav a.is-active { background: none; color: var(--brand); }
  .about__media, .collage { max-width: 520px; margin-inline: auto; width: 100%; }
  .bookcard { padding: 40px 26px; border-radius: 36px; }
  .mascot { order: -1; } .mascot svg { width: 200px; }
  .path__line { inset-inline-start: 30px; margin-inline-start: 0; }
  .pstep, .pstep:nth-child(even) { width: 100%; margin-inline-start: 0; padding-inline: 84px 0; }
  .pstep__n, .pstep:nth-child(even) .pstep__n { inset-inline-end: auto; inset-inline-start: 0; }
}
@media (max-width: 760px) {
  .dock { position: fixed; inset-inline: 12px; inset-block-end: 12px; z-index: 85; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 8px; background: rgba(255,255,255,.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-radius: 26px; box-shadow: 0 16px 44px rgba(5,23,38,.35); }
  .dock a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 4px; border-radius: 18px; font-size: 12.5px; font-weight: 600; line-height: 1.3; }
  .dock .d-call { background: var(--mist); color: var(--brand-dark); } .dock .d-wa { background: var(--wa); color: #fff; } .dock .d-book { background: var(--night); color: #fff; }
  .wa-float { display: none; }
  body { padding-bottom: 92px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hide-sm { display: none; }
  .section { padding-block: 70px; }
  .logo img { height: 44px; }
  .lead { font-size: 17px; }
  .stats__grid { grid-template-columns: 1fr; } .stat + .stat { border-inline-start: 0; border-top: 1px solid rgba(255,255,255,.14); padding-top: 24px; margin-top: 14px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer { border-radius: 36px 36px 0 0; }
  .form { padding: 24px 18px; }
  .bands { height: 170px; margin-top: -110px; } .band__item { font-size: 21px; }
  .gcard__in { padding: 9px 12px; font-size: 13px; } .gcard .ic { width: 32px; height: 32px; padding: 7px; } .gcard strong { font-size: 24px; }
  .gcard--years { inset-block-end: 40px; } .gcard--status { top: 14px; }
  .spec__body p, .spec__body .more { padding-inline-start: 0; margin-inline-start: 0; }
  .kids { padding-block: 70px; }
  .collage__badge { inset-inline-start: 0; }
  .vplay { width: 78px; height: 78px; } .vplay svg { width: 30px; height: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal, .js [data-in], .js .line__in { opacity: 1 !important; }
  .stage, .vframe { transform: none; }
  .loader { display: none; }
  .mark { background-size: 100% 100%; }
}

/* =========================================================
   WordPress + الصفحات الداخلية (page / single / index / 404)
   ========================================================= */
body.admin-bar .header { top: 40px; }
body.admin-bar .progress { top: 32px; }
@media (max-width: 782px) { body.admin-bar .header { top: 54px; } body.admin-bar .progress { top: 46px; } }
.screen-reader-text { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.page-banner { position: relative; isolation: isolate; overflow: hidden; color: #fff; text-align: center; padding-block: 150px 70px; background: radial-gradient(700px 320px at 80% 0, var(--night-3), transparent 70%), radial-gradient(600px 300px at 10% 100%, rgba(29,143,201,.35), transparent 70%), var(--night); }
.page-banner h1 { font: 400 clamp(40px, 6vw, 80px)/1.1 var(--display); margin: 0; }
.page-banner p { margin: .6em auto 0; color: #c6deec; max-width: 60ch; }
.page-body { padding-block: 70px 100px; }
.entry { max-width: 820px; margin-inline: auto; }
.entry > * + * { margin-top: 1em; }
.entry h2, .entry h3, .entry h4 { font-family: var(--display); font-weight: 400; margin-top: 1.4em; }
.entry h2 { font-size: 38px; } .entry h3 { font-size: 30px; }
.entry a { color: var(--brand-dark); text-decoration: underline; text-underline-offset: 3px; }
.entry img { border-radius: 24px; height: auto; }
.entry ul, .entry ol { padding-inline-start: 1.4em; }
.entry ul { list-style: disc; } .entry ol { list-style: decimal; }
.entry blockquote { margin-inline: 0; padding: 14px 24px; border-inline-start: 4px solid var(--cyan); background: var(--mist); border-radius: 12px; }
.entry__thumb { margin-bottom: 2em; }
.entry__meta { color: var(--muted); font-size: 15px; }

.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.post-card { display: flex; flex-direction: column; border-radius: 26px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 14px 40px rgba(18,101,147,.08); transition: transform .4s var(--ease), box-shadow .3s; }
.post-card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(18,101,147,.18); }
.post-card__img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; background: var(--mist); }
.post-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-card h2 { font: 400 28px/1.25 var(--display); margin: 0; }
.post-card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.post-card .more { margin-top: auto; padding-top: 8px; }
.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pagination .page-numbers { min-width: 46px; height: 46px; padding-inline: 14px; display: grid; place-items: center; border-radius: 999px; background: var(--mist); font-weight: 600; }
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: var(--night); color: #fff; }
.notfound { text-align: center; padding-block: 40px; }
.notfound .btn { margin-top: 14px; }


/* =========================================================
   الصفحات المصممة: من نحن / التخصصات / اتصل بنا
   ========================================================= */
.page-banner--img { background: linear-gradient(180deg, rgba(5,23,38,.72), rgba(5,23,38,.9)), var(--bn) center / cover no-repeat, var(--night); }
.page-banner .eyebrow { justify-content: center; color: var(--aqua); }
.page-banner .eyebrow::before { display: none; }
.crumbs { display: flex; gap: 8px; justify-content: center; margin-top: 18px; font-size: 14.5px; color: #c6deec; }
.crumbs a:hover { color: var(--cyan); }
.crumbs span[aria-current] { color: #fff; font-weight: 600; }

.photo-fill { width: 100%; height: 100%; object-fit: cover; display: block; }

/* من نحن */
.mv { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 44px; }
.mvcard { position: relative; overflow: hidden; border-radius: 32px; padding: 38px 36px; background: #fff; border: 1px solid var(--line); box-shadow: 0 14px 40px rgba(18,101,147,.08); }
.mvcard--dark { background: linear-gradient(135deg, var(--night), var(--night-3)); color: #fff; border-color: transparent; }
.mvcard__ic { width: 60px; height: 60px; border-radius: 20px; display: grid; place-items: center; background: var(--night); color: var(--cyan); margin-bottom: 20px; }
.mvcard--dark .mvcard__ic { background: rgba(53,198,244,.18); color: var(--aqua); }
.mvcard h2 { font: 400 clamp(32px, 3.4vw, 46px)/1.1 var(--display); margin-bottom: .3em; }
.mvcard p { margin: 0; color: var(--muted); font-size: 18px; }
.mvcard--dark p { color: #c6deec; }
.gal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.gal figure { margin: 0; aspect-ratio: 4 / 3; border-radius: 26px; overflow: hidden; background: var(--night-3); box-shadow: 0 18px 50px rgba(18,101,147,.14); }
.gal figure:nth-child(1), .gal figure:nth-child(6) { grid-column: span 2; aspect-ratio: auto; }
.gal img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gal figure:hover img { transform: scale(1.06); }

/* التخصصات */
.sp-intro { max-width: 760px; }
.spgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; margin-top: 44px; }
.spcard { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 30px 28px 26px; border-radius: 30px; background: #fff; border: 1px solid var(--line); box-shadow: 0 14px 40px rgba(18,101,147,.07); transition: transform .45s var(--ease), box-shadow .3s, border-color .3s; }
.spcard:hover { transform: translateY(-8px); box-shadow: 0 28px 64px rgba(18,101,147,.18); border-color: var(--cyan); }
.spcard__top { display: flex; align-items: center; justify-content: space-between; }
.spcard__ic { width: 62px; height: 62px; border-radius: 20px; display: grid; place-items: center; background: var(--night); color: var(--cyan); transition: transform .5s var(--ease); }
.spcard:hover .spcard__ic { transform: rotate(-8deg) scale(1.08); }
.spcard__ic .ic { width: 30px; height: 30px; }
.spcard__n { font: 400 40px/1 var(--display); color: var(--brand); opacity: .25; direction: ltr; }
.spcard h2 { font: 400 clamp(28px, 2.6vw, 34px)/1.2 var(--display); margin: 8px 0 0; }
.spcard p { margin: 0; color: var(--muted); font-size: 16px; }
.spcard .more { margin-top: auto; padding-top: 10px; }
.spcard--wide { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 30px; background: linear-gradient(135deg, var(--aqua), var(--cyan)); border: 0; color: var(--night); }
.spcard--wide p { color: #0b3350; }
.spcard--wide .spcard__ic { background: var(--night); }
.photo-band { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 16px; margin-top: 56px; }
.photo-band figure { margin: 0; height: 280px; border-radius: 28px; overflow: hidden; background: var(--night-3); box-shadow: 0 18px 50px rgba(18,101,147,.14); }
.photo-band img { width: 100%; height: 100%; object-fit: cover; }

/* اتصل بنا */
.cgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cinfo { display: flex; flex-direction: column; gap: 6px; padding: 26px 24px; border-radius: 26px; background: #fff; border: 1px solid var(--line); box-shadow: 0 14px 40px rgba(18,101,147,.07); transition: transform .4s var(--ease), border-color .3s; }
.cinfo:hover { transform: translateY(-6px); border-color: var(--cyan); }
.cinfo__ic { width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center; background: var(--night); color: var(--cyan); margin-bottom: 8px; }
.cinfo h3 { font-size: 15px; margin: 0; color: var(--muted); font-weight: 500; }
.cinfo p, .cinfo a { margin: 0; font-weight: 600; font-size: 17px; line-height: 1.6; overflow-wrap: anywhere; }
.cinfo a:hover { color: var(--brand); }
.cmap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 20px; margin-top: 20px; }
.cmap__frame { position: relative; min-height: 380px; border-radius: 32px; overflow: hidden; background: var(--mist); border: 1px solid var(--line); box-shadow: 0 18px 50px rgba(18,101,147,.12); }
.cmap__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cmap__photo { position: relative; border-radius: 32px; overflow: hidden; background: var(--night-3); min-height: 380px; box-shadow: 0 18px 50px rgba(18,101,147,.12); }
.cmap__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cmap__photo .btn { position: absolute; inset-inline: 18px; inset-block-end: 18px; justify-content: space-between; }
.book--contact { padding-block: 80px 100px; margin-top: 70px; }

@media (max-width: 960px) {
  .mv, .cmap { grid-template-columns: 1fr; }
  .cgrid { grid-template-columns: repeat(2, 1fr); }
  .gal { grid-template-columns: repeat(2, 1fr); }
  .gal figure:nth-child(1), .gal figure:nth-child(6) { grid-column: span 2; }
  .photo-band { grid-template-columns: 1fr 1fr; } .photo-band figure:first-child { grid-column: span 2; }
  .spcard--wide { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .cgrid, .spgrid { grid-template-columns: 1fr; }
  .mvcard { padding: 28px 24px; }
  .photo-band figure { height: 200px; }
}
