/* ============================================================
   د. أحمد السعيد — Cardiology RTL (zr4)
   طبق الأصل من الصورة المرجعية الجديدة
   كحلي #0A2540 / ذهبي #C69A58 / فاتح #F2F5F9 / أبيض
   Cairo — RTL — متجاوب بدون أي overflow أفقي
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --navy: #0A2540;
  --navy-deep: #061A30;
  --navy-soft: #14365C;
  --gold: #C69A58;
  --gold-deep: #A8813F;
  --gold-light: #E4C98F;
  --gold-btn: linear-gradient(135deg, #E8C37A, #C69A58);
  --light: #F2F5F9;
  --card: #F3F6FA;
  --white: #FFFFFF;
  --ink: #0F2A43;
  --muted: #5B7186;
  --line: #E3EAF0;
  --cyan: #4FC3F7;
  --primary: #C69A58;
  --secondary: #0A2540;
  --shadow-sm: 0 8px 24px rgba(10,37,64,.08);
  --shadow: 0 24px 55px -18px rgba(10,37,64,.28);
}
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Cairo', tahoma, sans-serif;
  background: var(--white);
  color: var(--ink);
  overflow-x: hidden;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; width: 100%; }
a { color: inherit; text-decoration: none; transition: .3s; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }
section { position: relative; }
section[id] { scroll-margin-top: 84px; }

/* ---------- الشريط المتحرك ---------- */
.ticker { overflow: hidden; white-space: nowrap; padding: 8px 0; font-weight: 700; font-size: 13px; position: relative; z-index: 120; }
.ticker-track { display: inline-flex; gap: 44px; animation: tick 32s linear infinite; padding-inline-start: 20px; will-change: transform; }
.tick { display: inline-flex; align-items: center; gap: 8px; }
@keyframes tick { to { transform: translateX(50%); } }

/* ---------- الهيدر الشفاف (الاسم أبيض مباشرة مثل الصورة) ---------- */
.site-header {
  position: fixed; top: 0; right: 0; left: 0; z-index: 110;
  background: transparent; border-bottom: 0;
  transition: background .35s, box-shadow .35s;
}
.site-header.scrolled {
  background: rgba(6,26,48,.94);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.header-in {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 76px; gap: 14px;
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand-logo {
  width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
  border: 1.5px solid rgba(255,255,255,.55);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  background: rgba(255,255,255,.06);
}
.site-footer .brand-logo { border-color: var(--line); background: #EAF3FA; }
.brand-logo svg { width: 28px; height: 28px; }
.brand-logo img { width: 100%; height: 100%; object-fit: cover; }
.brand-txt { line-height: 1.5; min-width: 0; text-align: right; }
.brand-txt b { display: block; font-size: 17px; font-weight: 900; color: var(--navy); white-space: nowrap; }
.site-header .brand-txt b { color: #fff; }
.brand-txt small { display: block; font-size: 10.5px; color: var(--muted); font-weight: 700; white-space: nowrap; }
.site-header .brand-txt small { color: #C9D6E2; }
.brand-txt .fmt-out { text-align: inherit !important; }
.main-links { display: flex; gap: 22px; align-items: center; font-weight: 700; font-size: 14px; color: #fff; }
.main-links a { position: relative; padding: 8px 2px; white-space: nowrap; }
.main-links a::after {
  content: ''; position: absolute; bottom: 2px; right: 0; left: 0; height: 2.5px;
  background: var(--gold); border-radius: 99px;
  transform: scaleX(0); transform-origin: right; transition: .3s;
}
.main-links a:hover::after, .main-links a.active::after { transform: scaleX(1); }
.main-links a.active { color: #fff; font-weight: 800; }
.header-cta { display: flex; align-items: center; gap: 10px; }
.btn-book {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex-direction: row-reverse;
  background: var(--gold-btn); color: var(--navy) !important;
  font-weight: 800; font-size: 14px; height: 46px; padding: 0 26px; border-radius: 999px;
  box-shadow: 0 10px 22px -8px rgba(198,154,88,.6); white-space: nowrap;
}
.btn-book svg { width: 18px; height: 18px; }
.btn-book:hover { transform: translateY(-2px); filter: brightness(1.05); }
.burger { display: none; background: rgba(255,255,255,.1); color: #fff; border: 1.5px solid rgba(255,255,255,.4); width: 44px; height: 44px; border-radius: 12px; font-size: 22px; cursor: pointer; }

/* ---------- الهيرو ---------- */
.hero {
  background:
    radial-gradient(700px 380px at 80% 8%, rgba(79,195,247,.13), transparent 60%),
    radial-gradient(600px 420px at 12% 90%, rgba(198,154,88,.12), transparent 60%),
    linear-gradient(135deg, #0D2C52 0%, var(--navy) 55%, var(--navy-deep) 100%);
  overflow: hidden; padding: 118px 0 0; color: #fff;
}
.hero-bgimg { position: absolute; inset: 0; z-index: 0; overflow: hidden; opacity: 0; }
/* شريط العيادة الجانبي */
.hero-side {
  position: absolute; top: 0; bottom: 0; left: 0; width: 172px; z-index: 1;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(-90deg, transparent 0, #000 30%);
  mask-image: linear-gradient(-90deg, transparent 0, #000 30%);
}
.hero-side img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.hero-side::after { content: ''; position: absolute; inset: 0; background: linear-gradient(-90deg, rgba(6,26,48,.1) 0%, rgba(6,26,48,.78) 85%); }
.hero-side-tx {
  position: absolute; z-index: 2; top: 120px; left: 0; right: 0; text-align: center;
  color: #fff; font-weight: 800; font-size: 16px; letter-spacing: 1px; line-height: 2;
  display: flex; flex-direction: column; text-shadow: 0 2px 12px rgba(0,0,0,.6);
}
.hero-side-tx i { display: block; width: 40px; height: 3px; background: var(--gold); border-radius: 99px; margin: 10px auto 0; }
/* القلب يمين الهيرو */
.hero-heart {
  position: absolute; top: 40px; bottom: 130px; right: -40px; width: min(480px, 36%); z-index: 1;
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 45%, #000 55%, transparent 100%);
  mask-image: radial-gradient(ellipse 60% 60% at 50% 45%, #000 55%, transparent 100%);
}
.hero-heart img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: screen; filter: saturate(1.25) contrast(1.05); }
.heart-art { position: absolute; inset: -6%; }
.heart-art i { position: absolute; border-radius: 50%; filter: blur(22px); }
.heart-art .ha1 { width: 58%; height: 42%; top: 10%; right: 0; background: linear-gradient(135deg, #3b82f6 10%, #6366f1 45%, #a855f7 80%); }
.heart-art .ha2 { width: 58%; height: 52%; top: 32%; right: -4%; background: radial-gradient(circle at 45% 40%, #ff7a7a 0%, #e0334f 45%, #7c1d2e 100%); }
.heart-art .ha3 { width: 46%; height: 34%; bottom: 0; left: 6%; background: radial-gradient(circle at 50% 50%, #f472b6 0%, #9d2c4e 70%, transparent 100%); }
.heart-art .ha4 { width: 34%; height: 26%; top: 22%; left: 0; background: radial-gradient(circle, #38bdf8 0%, transparent 70%); }
.hero-grid {
  display: grid; grid-template-columns: 1fr 1.12fr; gap: 20px; align-items: center;
  direction: ltr; position: relative; z-index: 2;
}
.hero-grid > * { direction: rtl; }
.hero-media { position: relative; display: flex; justify-content: flex-start; align-items: flex-end; min-height: 540px; }
.hero-media::before {
  content: ''; position: absolute; z-index: 1; bottom: 40px; left: 30px;
  width: 380px; height: 380px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(79,195,247,.2), rgba(198,154,88,.08) 55%, transparent 70%);
}
.doc-img {
  position: relative; z-index: 3; width: 100%; max-width: 440px; height: 530px;
  object-fit: cover; object-position: top center;
  -webkit-mask-image: radial-gradient(ellipse 52% 52% at 50% 40%, #000 55%, transparent 100%);
  mask-image: radial-gradient(ellipse 52% 52% at 50% 40%, #000 55%, transparent 100%);
}
.doc-badge {
  position: absolute; z-index: 5; bottom: 30%; left: 36%;
  background: rgba(255,255,255,.94); color: var(--navy); white-space: nowrap;
  border-radius: 14px; padding: 8px 20px; text-align: center;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(198,154,88,.4);
}
.doc-badge b { display: block; font-size: 14.5px; font-weight: 900; }
.doc-badge small { font-size: 11px; color: var(--muted); font-weight: 700; }
.doc-badge .fmt-out { text-align: center !important; }
.hero-text { text-align: center; padding-bottom: 10px; max-width: 540px; margin-right: auto; position: relative; }
.hero-ecg { position: absolute; left: -200px; top: 150px; width: 180px; height: 36px; opacity: .9; }
.hero-text h1 {
  font-size: clamp(46px,5.8vw,82px); font-weight: 900; color: #fff; line-height: 1.4; margin-bottom: 2px;
  text-shadow: 0 4px 24px rgba(0,0,0,.35);
}
.hero-spec { color: var(--gold-light); font-weight: 800; font-size: clamp(21px,2.4vw,31px); line-height: 1.9; }
.hero-spec .fmt-out, .hero-l1 .fmt-out, .hero-l2 .fmt-out { text-align: center !important; }
.hero-l1 { color: #fff; font-weight: 800; font-size: clamp(16px,1.6vw,20px); margin-top: 6px; }
.hero-l2 { color: #D7E3EE; font-weight: 600; font-size: clamp(14px,1.4vw,17px); margin-bottom: 20px; }
.hero-btns { display: flex; gap: 16px; align-items: center; justify-content: center; flex-wrap: wrap; }
.btn-gold {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; flex-direction: row-reverse;
  background: var(--gold-btn); color: var(--navy) !important;
  font-weight: 800; font-size: 15.5px; height: 54px; padding: 0 36px; border-radius: 999px; border: 0; cursor: pointer;
  box-shadow: 0 14px 28px -10px rgba(198,154,88,.65); white-space: nowrap;
}
.btn-gold svg { width: 19px; height: 19px; }
.btn-gold:hover { transform: translateY(-2px); filter: brightness(1.06); }
.btn-gold.full { width: 100%; }
.btn-ghost { display: inline-flex; align-items: center; gap: 11px; flex-direction: row-reverse; font-weight: 800; color: #fff; font-size: 15px; }
.play-ic {
  width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
  border: 1.5px solid rgba(255,255,255,.6); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; transition: .3s;
  background: rgba(255,255,255,.08);
}
.play-ic svg { width: 20px; height: 20px; fill: currentColor; }
.btn-ghost:hover .play-ic { background: #fff; color: var(--navy); transform: scale(1.06); }
.hand-note {
  position: absolute; z-index: 3; top: 130px; right: -110px;
  font-family: 'Aref Ruqaa','Cairo',serif; color: #fff; font-size: 21px; line-height: 2;
  transform: rotate(-10deg); text-shadow: 0 2px 14px rgba(0,0,0,.6);
  display: flex; flex-direction: column; align-items: flex-start; white-space: nowrap;
}
.hand-note i {
  display: block; width: 120px; height: 14px; margin-top: 2px;
  border-bottom: 3px solid var(--gold); border-radius: 0 0 100% 100%;
}
/* إحصائيات الهيرو */
.hero-stats {
  position: relative; z-index: 3;
  display: grid; grid-template-columns: repeat(4,1fr);
  max-width: 960px; margin: 6px auto 0; padding: 18px 10px 8px;
}
.stat { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 6px 14px; text-align: center; }
.stat + .stat { border-inline-start: 1px solid rgba(255,255,255,.16); }
.stat-ic { width: 44px; height: 44px; flex-shrink: 0; color: var(--gold-light); display: flex; align-items: center; justify-content: center; }
.stat-ic svg { width: 30px; height: 30px; }
.stat-tx b { display: block; font-size: 22px; font-weight: 900; color: #fff; line-height: 1.5; }
.stat-tx b .fmt-out { text-align: center !important; display: inline; }
.stat-tx small { font-size: 12.5px; color: #D7E3EE; font-weight: 700; }
.scroll-cue {
  position: absolute; z-index: 4; right: max(26px, calc((100% - 1200px) / 2)); bottom: 118px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: #D7E3EE; font-size: 12px; font-weight: 700;
}
.scroll-cue svg { width: 26px; height: 26px; }
.scroll-cue:hover { color: var(--gold-light); }
.hero-wave { margin-top: -4px; line-height: 0; position: relative; z-index: 5; }
.hero-wave svg { width: 100%; height: 70px; display: block; fill: #fff; }

/* ---------- الخدمات + صورة الحياة ---------- */
.care-sec { background: #fff; padding: 54px 0 60px; }
.care-grid { display: grid; grid-template-columns: 1.3fr .85fr; gap: 36px; align-items: center; }
.sec-label { color: var(--navy); font-weight: 800; font-size: 15px; margin-bottom: 2px; display: flex; align-items: center; gap: 10px; }
.sec-label::before { content: ''; width: 26px; height: 2.5px; background: var(--gold); border-radius: 99px; display: block; }
.care-main h2 { font-size: clamp(28px,3.4vw,44px); font-weight: 900; color: var(--navy); line-height: 1.6; margin-bottom: 4px; }
.sec-sub { color: var(--muted); font-weight: 600; font-size: 15px; margin-bottom: 22px; }
.svc-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-bottom: 24px; }
.svc-card {
  background: var(--card); border-radius: 20px; padding: 26px 14px 22px;
  text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px;
  border: 1px solid transparent; transition: .3s;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-sm); border-color: var(--gold-light); background: #fff; }
.svc-ic { width: 52px; height: 52px; color: var(--navy); }
.svc-ic svg { width: 100%; height: 100%; }
.svc-card h3 { font-size: 14px; font-weight: 800; color: var(--navy); line-height: 1.9; }
.svc-card p { font-size: 12px; color: var(--muted); font-weight: 600; line-height: 1.9; }
.btn-navy {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex-direction: row-reverse;
  background: var(--navy); color: #fff !important; font-weight: 800; font-size: 14.5px;
  height: 50px; padding: 0 34px; border-radius: 999px; box-shadow: var(--shadow-sm);
}
.btn-navy:hover { background: var(--navy-deep); transform: translateY(-2px); }
.care-side { position: relative; display: flex; justify-content: center; padding: 10px 0 30px; }
.run-circle { position: relative; width: min(400px, 100%); aspect-ratio: 1; border-radius: 50%; overflow: hidden; box-shadow: var(--shadow); }
.run-circle img { width: 100%; height: 100%; object-fit: cover; }
.run-hand {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: flex-start; justify-content: center; padding-inline-start: 12%; gap: 0;
  font-family: 'Aref Ruqaa','Cairo',serif; font-size: 30px; line-height: 2; color: var(--navy);
  text-shadow: 0 1px 0 rgba(255,255,255,.6), 0 6px 22px rgba(255,255,255,.5);
}
.mini-feats {
  position: absolute; top: 50%; transform: translateY(-50%); inset-inline-start: -30px;
  background: #fff; border-radius: 26px; box-shadow: var(--shadow);
  border: 1px solid var(--line); padding: 20px 18px; display: flex; flex-direction: column; gap: 4px; min-width: 172px;
}
.mf { display: flex; align-items: center; gap: 10px; padding: 9px 4px; font-size: 12.5px; font-weight: 800; color: var(--navy); }
.mf + .mf { border-top: 1px solid var(--line); }
.mf-ic { width: 34px; height: 34px; flex-shrink: 0; color: var(--navy); }
.mf-ic svg { width: 100%; height: 100%; }

/* المعرض */
.marquee { overflow: hidden; padding: 8px 0 0; }
.marquee-track { display: flex; gap: 18px; width: max-content; animation: marq 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marq { to { transform: translateX(50%); } }
.m-item { position: relative; width: 300px; height: 200px; border-radius: 18px; overflow: hidden; flex-shrink: 0; box-shadow: var(--shadow-sm); }
.m-item img, .m-item video { width: 100%; height: 100%; object-fit: cover; }
.m-item span { position: absolute; bottom: 12px; right: 12px; background: rgba(10,37,64,.85); color: #fff; font-size: 13px; font-weight: 700; padding: 5px 16px; border-radius: 999px; }

/* ---------- التقنيات ---------- */
.tech-sec {
  background:
    radial-gradient(800px 400px at 50% 0%, rgba(79,195,247,.1), transparent 60%),
    linear-gradient(135deg, #0C2A50 0%, var(--navy-deep) 70%);
  padding: 60px 0; color: #fff; overflow: hidden;
}
.tech-grid { display: grid; grid-template-columns: 1fr 1.1fr 1fr; gap: 34px; align-items: center; direction: ltr; }
.tech-grid > * { direction: rtl; }
.tech-quote { text-align: right; }
.tech-quote .qmark { color: var(--gold); font-size: 46px; line-height: 1; font-family: serif; display: block; margin-bottom: 6px; }
.tech-quote p { font-size: 16.5px; font-weight: 700; line-height: 2.1; color: #EDF3F8; margin-bottom: 14px; }
.tech-quote .sign { font-family: 'Aref Ruqaa','Cairo',serif; color: var(--gold-light); font-size: 22px; }
.tech-visual { position: relative; border-radius: 24px; overflow: hidden; min-height: 340px; box-shadow: 0 0 70px rgba(79,195,247,.18); border: 1px solid rgba(255,255,255,.12); }
.tech-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tech-info { text-align: right; }
.tech-info h2 { font-size: clamp(24px,2.8vw,34px); font-weight: 900; line-height: 1.8; margin-bottom: 10px; }
.tech-info p { color: #C9D6E2; font-size: 14.5px; font-weight: 600; margin-bottom: 20px; }
.btn-white {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; flex-direction: row-reverse;
  background: #fff; color: var(--navy) !important; font-weight: 800; font-size: 14.5px;
  height: 50px; padding: 0 32px; border-radius: 999px; box-shadow: var(--shadow-sm); white-space: nowrap;
}
.btn-white svg { width: 18px; height: 18px; }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

/* ---------- آراء المرضى ---------- */
.testi-sec { background: #fff; padding: 56px 0 50px; }
.sec-title { text-align: center; font-size: clamp(24px,3vw,32px); font-weight: 900; color: var(--navy); margin-bottom: 26px; }
.testi-wrap { display: flex; align-items: center; gap: 12px; }
.testi-track {
  display: flex; gap: 18px; flex: 1; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 6px 2px 12px; scrollbar-width: none;
}
.testi-track::-webkit-scrollbar { display: none; }
.testi-card {
  flex: 0 0 calc(33.333% - 12px); scroll-snap-align: start;
  background: #fff; border-radius: 18px; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); padding: 24px 22px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0;
}
.testi-card .q { color: #9FC2E8; font-size: 38px; line-height: 1; font-family: serif; display: block; }
.testi-card p { font-size: 13.5px; font-weight: 600; color: var(--ink); line-height: 2; flex: 1; }
.testi-card .stars { color: var(--gold); font-size: 16px; letter-spacing: 3px; }
.t-who { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.t-who img, .tavatar {
  width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
  border: 2px solid var(--gold-light); background: var(--light);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 900; color: var(--navy); font-size: 18px;
}
.t-meta { text-align: right; }
.t-meta b { display: block; font-size: 14px; color: var(--navy); }
.t-meta small { font-size: 12px; color: var(--muted); }
.t-arrow {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  border: 1px solid var(--line); background: #fff; color: var(--navy);
  font-size: 22px; cursor: pointer; transition: .3s;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
}
.t-arrow:hover { background: var(--navy); color: #fff; }
.t-dots { display: flex; gap: 8px; justify-content: center; align-items: center; margin-top: 14px; }
.t-dots span { width: 9px; height: 9px; border-radius: 50%; background: #CBD8E4; cursor: pointer; transition: .3s; }
.t-dots span.on { background: var(--navy); width: 28px; border-radius: 99px; }

/* ---------- الحجز + التواصل ---------- */
.cta-sec { background: #fff; padding: 10px 0 46px; }
.cta-band {
  background: linear-gradient(135deg, #0C2A50 0%, var(--navy-deep) 75%);
  border-radius: 30px; box-shadow: var(--shadow); overflow: hidden;
  display: grid; grid-template-columns: 1.15fr .95fr .9fr; gap: 26px; align-items: center;
  padding: 44px 40px; direction: ltr; color: #fff; position: relative;
}
.cta-band > * { direction: rtl; }
.cta-main { text-align: right; }
.cta-ic {
  width: 58px; height: 58px; border-radius: 16px; margin-bottom: 12px;
  background: var(--gold-btn); color: var(--navy);
  display: inline-flex; align-items: center; justify-content: center;
}
.cta-ic svg { width: 30px; height: 30px; }
.cta-main h2 { font-size: clamp(20px,2.4vw,28px); font-weight: 900; margin-bottom: 4px; }
.cta-main p { color: #D7E3EE; font-size: 14px; font-weight: 600; margin-bottom: 18px; }
.cta-contact { display: flex; flex-direction: column; gap: 16px; }
.cc-item { display: grid; grid-template-columns: 40px 1fr; gap: 4px 12px; align-items: center; }
.cc-item svg { width: 32px; height: 32px; color: var(--gold-light); grid-row: span 2; }
.cc-item b { font-size: 14.5px; }
.cc-item span { font-size: 12.5px; color: #C9D6E2; }
.cta-photo { text-align: center; }
.cta-ph { position: relative; border-radius: 110px; overflow: hidden; aspect-ratio: 4/4.6; box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,.14); }
.cta-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-ph::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,26,48,.05) 40%, rgba(6,26,48,.55) 100%); }
.cta-en {
  position: absolute; z-index: 2; top: 22px; left: 0; right: 0; text-align: center;
  color: #fff; font-weight: 800; font-size: 15px; letter-spacing: 1px; line-height: 1.9;
  display: flex; flex-direction: column; text-shadow: 0 2px 12px rgba(0,0,0,.6);
}
.cta-hand {
  font-family: 'Aref Ruqaa','Cairo',serif; color: #fff; font-size: 21px; line-height: 2;
  display: flex; flex-direction: column; margin-top: 10px;
}
.cta-hand i { font-style: normal; color: var(--gold-light); }

/* ---------- نموذج الحجز ---------- */
.booking-sec { padding: 10px 0 46px; background: #fff; }
.booking-panel {
  background: #fff; border-radius: 26px; box-shadow: var(--shadow-sm);
  border: 1px solid var(--line); overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
}
.book-info { background: linear-gradient(150deg,var(--navy-soft),var(--navy-deep)); color: #fff; padding: 42px 36px; display: flex; flex-direction: column; justify-content: center; }
.book-info h2 { font-size: clamp(22px,2.6vw,30px); font-weight: 900; margin-bottom: 8px; }
.mini-badge { background: rgba(198,154,88,.18); color: var(--gold-light); font-weight: 800; padding: 6px 18px; border-radius: 999px; display: inline-block; margin-bottom: 12px; font-size: 13px; border: 1px solid rgba(198,154,88,.4); align-self: flex-start; }
.book-info .sub { color: #D7E3EE; font-size: 15px; }
.contact-box { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 16px; padding: 18px 20px; margin: 20px 0; display: grid; gap: 8px; font-weight: 700; font-size: 14.5px; }
.contact-box a { color: var(--gold-light); }
.map iframe { box-shadow: var(--shadow-sm); border: 3px solid rgba(255,255,255,.15) !important; border-radius: 14px; background: #0a3a48; }
.book-form { padding: 36px 34px; color: var(--ink); }
.book-form h3 { margin-bottom: 18px; color: var(--navy); font-size: 21px; font-weight: 900; }
.book-form label { display: block; font-weight: 800; font-size: 14px; margin-bottom: 12px; color: var(--navy); }
.book-form input, .book-form select, .book-form textarea { width: 100%; margin-top: 6px; padding: 12px 15px; border: 2px solid #E2E8F0; border-radius: 13px; font-family: inherit; font-size: 14px; background: #F8FAFC; transition: .3s; color: var(--ink); max-width: 100%; }
.book-form input:focus, .book-form select:focus, .book-form textarea:focus { border-color: var(--gold); background: #fff; outline: none; box-shadow: 0 0 0 4px rgba(198,154,88,.16); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.book-msg { padding: 12px; border-radius: 12px; margin-bottom: 12px; font-weight: 700; font-size: 14px; text-align: center; }
.book-msg.ok { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.book-msg.err { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }

/* ---------- الفوتر ---------- */
.site-footer { background: #fff; border-top: 1px solid var(--line); padding: 26px 0 16px; }
.foot-top { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 20px; flex-wrap: wrap; font-size: 13.5px; font-weight: 700; color: var(--ink); }
.foot-links a:hover { color: var(--gold-deep); }
.socials { display: flex; gap: 8px; }
.socials a { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--line); display: inline-flex; align-items: center; justify-content: center; color: var(--navy); transition: .3s; }
.socials a:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-3px); }
.socials svg { width: 16px; height: 16px; fill: currentColor; }
.foot-hand { font-family: 'Aref Ruqaa','Cairo',serif; font-size: 19px; color: var(--navy); display: flex; align-items: center; gap: 12px; }
.foot-hand svg { width: 110px; height: 28px; }
.foot-copy { text-align: center; font-size: 12.5px; color: #93A5B5; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }

/* أزرار عائمة */
.wa-float { position: fixed; bottom: 22px; left: 22px; z-index: 99; transition: .3s; background-color: #25D366; color: #fff; display: flex; align-items: center; justify-content: center; width: 58px; height: 58px; border-radius: 50%; box-shadow: 0 8px 22px rgba(0,0,0,.25); }
.wa-float svg { width: 32px; height: 32px; }
.wa-float:hover { transform: scale(1.1) translateY(-4px); }
.to-top {
  position: fixed; bottom: 22px; right: 22px; z-index: 99; width: 48px; height: 48px; border-radius: 50%;
  background: var(--navy); color: #fff; border: 1px solid rgba(255,255,255,.2); font-size: 20px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow);
  opacity: 0; pointer-events: none; transition: .3s;
}
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { background: var(--navy-deep); transform: translateY(-3px); }

/* ظهور تدريجي */
.reveal { opacity: 0; transform: translateY(26px); transition: .7s cubic-bezier(.4,0,.2,1); }
.reveal.vis { opacity: 1; transform: none; }

/* ---------- توافق الصفحات الداخلية (page.php) ---------- */
.header { position: sticky; top: 0; z-index: 110; background: linear-gradient(135deg, #0D2C52, var(--navy-deep)); box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 14px; }
.header .brand-txt b { color: #fff; }
.header .brand-txt small { color: #C9D6E2; }
.links { display: flex; gap: 22px; align-items: center; font-weight: 700; font-size: 14px; color: #fff; }
.links a { position: relative; padding: 8px 2px; white-space: nowrap; }
.links a::after { content: ''; position: absolute; bottom: 2px; right: 0; left: 0; height: 2.5px; background: var(--gold); border-radius: 99px; transform: scaleX(0); transform-origin: right; transition: .3s; }
.links a:hover::after { transform: scaleX(1); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 30px; border-radius: 999px; height: 52px; font-weight: 800; font-size: 15.5px; border: 0; cursor: pointer; text-align: center; white-space: nowrap; }
.btn svg { width: 19px; height: 19px; }
.btn.green { background: var(--navy); color: #fff !important; }
.btn.terra { background: var(--gold-btn); color: var(--navy) !important; flex-direction: row-reverse; }
.btn.big { height: 56px; padding: 0 38px; font-size: 16.5px; }
.btn.full { width: 100%; }
.page-hero { background: linear-gradient(135deg, var(--navy-deep), var(--navy-soft)); color: #fff; padding: 66px 0 56px; text-align: center; }
.page-hero h1 { font-size: clamp(26px,4vw,40px); font-weight: 900; margin: 10px 0; }
.page-hero p { color: #D7E3EE; }
.price { background: var(--gold); color: var(--navy); font-weight: 800; padding: 6px 18px; border-radius: 999px; font-size: 14px; }
.price.big { font-size: 15px; padding: 9px 24px; display: inline-block; margin-top: 12px; }
.page-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 32px; padding: 50px 0; }
.page-content { background: #fff; border-radius: 22px; padding: 32px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.page-img { width: 100%; border-radius: 18px; margin-bottom: 18px; }
.rich { line-height: 2; font-size: 15.5px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1250px) {
  .hero-side { display: none; }
}
@media (max-width: 1100px) {
  .scroll-cue { display: none; }
  .svc-grid { grid-template-columns: repeat(2,1fr); }
  .hero-ecg { display: none; }
}
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-text { order: -1; margin: 0 auto; }
  .hero-media { min-height: 480px; justify-content: center; }
  .doc-img { height: 470px; max-width: 400px; }
  .hero-heart { display: none; }
  .hand-note { position: static; transform: none; align-items: center; margin: 0 auto 6px; text-align: center; }
  .hand-note i { margin-inline: auto; }
  .booking-panel { grid-template-columns: 1fr; }
  .page-grid { grid-template-columns: 1fr; }
  .care-grid { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: 1fr; text-align: center; }
  .tech-quote, .tech-info { text-align: center; }
  .tech-visual { min-height: 280px; max-width: 560px; margin: 0 auto; width: 100%; }
  .cta-band { grid-template-columns: 1fr; text-align: center; }
  .cta-main { text-align: center; }
  .cta-contact { max-width: 420px; margin: 0 auto; width: 100%; }
  .cta-ph { max-width: 340px; margin: 0 auto; }
}
@media (max-width: 900px) {
  .main-links, .links {
    position: absolute; top: 78px; right: 16px; left: 16px; background: #fff;
    flex-direction: column; padding: 20px; border-radius: 18px;
    box-shadow: 0 20px 50px rgba(10,37,64,.25); display: none; z-index: 99;
    border: 1px solid var(--line); direction: rtl;
  }
  .main-links a, .links a { color: var(--ink); }
  .main-links.open, .links.open { display: flex; }
  .burger { display: block; }
  .hero-stats { grid-template-columns: repeat(2,1fr); gap: 12px; }
  .stat:nth-child(3) { border-inline-start: 0; }
  .testi-card { flex-basis: calc(50% - 9px); }
}
@media (max-width: 768px) {
  .foot-top { flex-direction: column; text-align: center; justify-content: center; }
  .foot-links { justify-content: center; }
  .cta-band { padding: 34px 22px; }
}
@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .header-in { min-height: 66px; }
  .brand-logo { width: 42px; height: 42px; }
  .brand-txt b { font-size: 14px; }
  .brand-txt small { font-size: 9px; }
  .btn-book { padding: 0 14px; font-size: 12.5px; height: 42px; }
  .hero { padding-top: 100px; }
  .hero-text h1 { font-size: clamp(36px,11vw,50px); }
  .hero-btns { flex-direction: column; align-items: stretch; }
  .btn-gold { width: 100%; }
  .btn-ghost { justify-content: center; }
  .hero-media { min-height: 400px; }
  .doc-img { height: 390px; max-width: 320px; }
  .doc-badge { left: 50%; bottom: 24%; }
  .hero-wave svg { height: 44px; }
  .svc-grid { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto 24px; }
  .run-circle { width: min(320px, 90%); margin: 0 auto; }
  .mini-feats { position: static; transform: none; margin: 18px auto 0; max-width: 320px; width: 100%; }
  .care-side { flex-direction: column; align-items: center; }
  .testi-card { flex-basis: 84%; }
  .row2 { grid-template-columns: 1fr; }
  .book-form { padding: 26px 20px; }
  .book-info { padding: 30px 22px; }
  .wa-float { width: 52px !important; height: 52px !important; bottom: 16px !important; left: 16px !important; }
  .to-top { width: 44px !important; height: 44px !important; bottom: 16px !important; right: 16px !important; }
}
@media (min-width: 1400px) {
  .container { max-width: 1280px; }
}
