/* ============================================================
   د. أحمد السعيد — عيادة القلب | Premium Medical Landing (RTL)
   كحلي #082F35 / ذهبي #C9963E / عاجي #FAFAF7
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --navy: #082F35;
  --navy-2: #123F45;
  --gold: #C9963E;
  --gold-light: #E2B75A;
  --offwhite: #F8F8F5;
  --bg: #FAFAF7;
  --white: #FFFFFF;
  --text: #102F35;
  --muted: #68777A;
  --primary: #C9963E;
  --secondary: #082F35;
  --radius: 24px;
  --shadow-sm: 0 4px 14px rgba(8, 47, 53, 0.07);
  --shadow: 0 20px 45px -12px rgba(8, 47, 53, 0.16);
  --shadow-hover: 0 28px 60px -15px rgba(201, 150, 62, 0.35);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Cairo', tahoma, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.9;
}

.container { max-width: 1240px; margin: auto; padding: 0 48px; }
a { color: inherit; text-decoration: none; transition: 0.3s; }
img { max-width: 100%; display: block; }
.hand { font-family: 'Aref Ruqaa', 'Cairo', serif; }

/* ================= Ticker ================= */
.ticker { overflow: hidden; white-space: nowrap; padding: 10px 0; font-weight: 700; font-size: 14px; }
.ticker-track { display: inline-flex; gap: 50px; animation: tick 35s linear infinite; padding-inline-start: 20px; }
@keyframes tick { to { transform: translateX(50%); } }
.tick { flex-shrink: 0; }

/* ================= Header ================= */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(8, 47, 53, 0.06);
  box-shadow: 0 4px 20px rgba(8, 47, 53, 0.05);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 80px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-logo {
  width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
  border: 2px solid var(--navy); background: #fff;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; position: relative;
}
.brand-logo img { width: 100%; height: 100%; object-fit: cover; }
.brand-logo .ecg-line { position: absolute; bottom: 12px; right: 6px; left: 6px; height: 14px; }
.brand-txt { line-height: 1.35; }
.brand-txt b { display: block; font-size: 20px; font-weight: 800; color: var(--navy); }
.brand-txt small { display: block; font-size: 11px; color: var(--muted); font-weight: 600; }
.links { display: flex; gap: 26px; align-items: center; font-weight: 700; font-size: 14.5px; color: var(--navy); }
.links a { position: relative; padding: 6px 2px; }
.links a::after {
  content: ''; position: absolute; bottom: 0; right: 0; left: 0; height: 3px;
  background: var(--gold); border-radius: 99px;
  transform: scaleX(0); transform-origin: right; transition: 0.3s;
}
.links a:hover::after, .links a.active::after { transform: scaleX(1); }
.links a.active { font-weight: 800; }
.burger { display: none; background: transparent; color: var(--navy); border: 0; font-size: 28px; cursor: pointer; }

/* ================= Buttons ================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--gold); color: var(--navy) !important;
  padding: 13px 30px; border-radius: 30px;
  font-weight: 700; font-size: 16px; border: 0; cursor: pointer;
  box-shadow: 0 10px 24px -8px rgba(201, 150, 62, 0.55);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center; height: 52px; white-space: nowrap;
}
.btn:hover { background: #b58533; transform: translateY(-1px); box-shadow: var(--shadow-hover); }
.btn.big { font-size: 17px; padding: 0 34px; height: 56px; }
.btn.small { padding: 9px 24px; font-size: 14px; height: 44px; }
.btn.ghost { background: #fff; color: var(--navy) !important; border: 2px solid var(--navy); box-shadow: var(--shadow-sm); }
.btn.ghost:hover { border-color: var(--gold); color: var(--gold) !important; }
.btn.full { width: 100%; }
.btn.navy { background: var(--navy); color: #fff !important; }

/* ================= Hero ================= */
.hero {
  position: relative; background: linear-gradient(180deg, #FFFFFF 0%, #FAFAF7 100%);
  overflow: hidden; padding: 60px 0 130px; min-height: 720px;
}
.hero::before {
  content: ''; position: absolute; top: -140px; left: -140px;
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 150, 62, 0.10), transparent 65%);
}
.hero::after {
  content: ''; position: absolute; bottom: -180px; right: -120px;
  width: 560px; height: 560px; border-radius: 46% 54% 52% 48% / 55% 45% 55% 45%;
  background: #EFF4F3; z-index: 0;
}
.hero-blob {
  position: absolute; top: 40px; left: 36%; width: 420px; height: 420px; z-index: 0;
  background: linear-gradient(135deg, #F3EFE4, #EAF1F0);
  border-radius: 58% 42% 55% 45% / 48% 55% 45% 52%; opacity: 0.8;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; position: relative; z-index: 2; }
.hero-text .doc-name { font-size: clamp(52px, 5.4vw, 76px); line-height: 1.25; font-weight: 900; color: var(--navy); position: relative; display: inline-block; }
.hero-text .doc-name .gold-dot {
  position: absolute; top: 6px; left: -18px; width: 18px; height: 18px;
  background: var(--gold); border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(201, 150, 62, 0.18);
}
.hero-specialty { color: var(--gold); font-weight: 800; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.5; margin: 6px 0 10px; }
.hero-tagline { color: var(--navy); font-weight: 700; font-size: 18px; margin-bottom: 26px; }

.hero-feats { display: flex; align-items: stretch; margin: 8px 0 28px; max-width: 520px; }
.hero-feats .feat { flex: 1; text-align: center; padding: 4px 8px; position: relative; }
.hero-feats .feat + .feat::before {
  content: ''; position: absolute; right: 0; top: 12px; bottom: 12px; width: 1px; background: #E3E7E7;
}
.hero-feats .feat svg, .hero-feats .feat .fic { width: 30px; height: 30px; stroke: var(--navy); color: var(--navy); margin: 0 auto 6px; display: block; }
.hero-feats .feat b { display: block; font-size: 14.5px; font-weight: 800; color: var(--navy); line-height: 1.6; }

.hero-btns { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; margin-bottom: 30px; }
.play-wrap { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; color: var(--navy); font-size: 15.5px; }
.play-btn {
  width: 56px; height: 56px; border-radius: 50%; background: #fff; border: 2px solid #E7ECEC;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  box-shadow: var(--shadow-sm); transition: 0.3s; color: var(--navy);
}
.play-btn:hover { border-color: var(--gold); color: var(--gold); transform: scale(1.06); }
.play-btn svg { width: 22px; height: 22px; fill: currentColor; }
.hero-quote {
  font-family: 'Aref Ruqaa', 'Cairo', serif; color: var(--navy);
  font-size: 26px; line-height: 2; margin-top: 6px; position: relative; display: inline-block;
}
.hero-quote::before {
  content: ''; position: absolute; inset: -8px -22px; z-index: -1;
  background: linear-gradient(135deg, rgba(201,150,62,0.12), rgba(8,47,53,0.05));
  border-radius: 60px 8px 60px 8px;
}

/* Hero image */
.hero-media { position: relative; display: flex; justify-content: center; }
.hero-img-mask {
  width: 100%; max-width: 480px; height: 600px; object-fit: cover;
  border-radius: 200px 200px 40px 40px;
  box-shadow: var(--shadow); border: 8px solid #fff; background: #EAF1F0;
}
.hero-media .ecg-chip {
  position: absolute; top: 60px; left: 0; background: #fff; border-radius: 18px;
  box-shadow: var(--shadow); padding: 10px 16px; display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 13.5px; color: var(--navy);
}
.hero-media .heart-chip {
  position: absolute; bottom: 90px; right: -6px; width: 74px; height: 74px; border-radius: 50%;
  background: var(--navy); display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow); border: 4px solid #fff;
}
.hero-media .heart-chip svg { width: 34px; height: 34px; fill: var(--gold); }

/* ================= Stats floating bar ================= */
.stats-wrap { position: relative; z-index: 5; margin-top: -80px; }
.stats-bar {
  background: #fff; border-radius: 40px; box-shadow: var(--shadow);
  padding: 28px 40px; display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; border: 1px solid rgba(8, 47, 53, 0.05);
}
.stat { display: flex; align-items: center; gap: 16px; justify-content: center; position: relative; }
.stat + .stat::before {
  content: ''; position: absolute; right: -10px; top: 10px; bottom: 10px; width: 1px; background: #E8ECEC;
}
.stat .sic {
  width: 58px; height: 58px; border-radius: 50%; flex-shrink: 0;
  background: rgba(201, 150, 62, 0.13); display: flex; align-items: center; justify-content: center;
}
.stat .sic svg { width: 28px; height: 28px; stroke: var(--gold); fill: none; stroke-width: 2; }
.stat b { display: block; font-size: 30px; font-weight: 900; color: var(--navy); line-height: 1.2; }
.stat span { font-size: 14px; color: var(--muted); font-weight: 700; }

/* ================= Sections common ================= */
.section { padding: 100px 0; }
.center { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.sec-title { font-size: clamp(28px, 3.4vw, 40px); font-weight: 900; color: var(--navy); margin-bottom: 8px; display: flex; align-items: center; justify-content: center; gap: 16px; }
.sec-title::before, .sec-title::after { content: ''; width: 56px; height: 3px; background: var(--gold); border-radius: 99px; }
.sec-sub { color: var(--muted); font-size: 17px; font-weight: 600; }
.muted { color: var(--muted); }

/* ================= Services ================= */
.services { background: #fff; border-radius: 80px 0 80px 0; }
.svc-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.svc {
  background: #fff; border: 1px solid #EEF1F1; border-radius: 22px;
  padding: 34px 18px 28px; text-align: center; box-shadow: var(--shadow-sm);
  transition: 0.35s; display: flex; flex-direction: column; min-height: 300px;
}
.svc:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(201, 150, 62, 0.4); }
.svc:hover .svc-ic { transform: scale(1.1); background: var(--navy); }
.svc:hover .svc-ic svg { stroke: var(--gold); }
.svc-ic {
  width: 74px; height: 74px; border-radius: 50%; margin: 0 auto 18px;
  background: rgba(8, 47, 53, 0.06); display: flex; align-items: center; justify-content: center; transition: 0.35s;
}
.svc-ic svg { width: 34px; height: 34px; stroke: var(--navy); fill: none; stroke-width: 1.8; transition: 0.35s; }
.svc-emoji { font-size: 34px; }
.svc h3 { font-size: 17.5px; font-weight: 800; color: var(--navy); line-height: 1.7; margin-bottom: 8px; }
.svc p { font-size: 13.5px; color: var(--muted); font-weight: 600; flex-grow: 1; }
.svc .svc-link { margin-top: 14px; color: var(--gold); font-weight: 800; font-size: 14px; }

/* ================= Technology ================= */
.tech { background: var(--bg); }
.tech-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch; }
.tech-dark {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff; border-radius: 0 80px 0 80px; padding: 70px 56px;
  display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden;
}
.tech-dark::before {
  content: ''; position: absolute; top: -80px; left: -80px; width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,150,62,0.22), transparent 65%);
}
.tech-dark .gold-line { width: 64px; height: 4px; background: var(--gold); border-radius: 99px; margin-bottom: 22px; }
.tech-dark h2 { color: #fff; font-size: clamp(26px, 3vw, 38px); font-weight: 900; line-height: 1.7; margin-bottom: 14px; }
.tech-dark p { color: #C9D6D7; font-size: 16.5px; }
.tech-img-wrap { padding: 0; display: flex; }
.tech-img {
  width: 100%; height: 100%; min-height: 420px; object-fit: cover;
  border-radius: 80px 0 80px 0; box-shadow: var(--shadow);
}
.tech-img-wrap a { display: block; width: 100%; }
.tech-img:hover { transform: scale(1.01); }
.tech-img-wrap { overflow: hidden; border-radius: 80px 0 80px 0; }

/* ================= Testimonials + Lifestyle ================= */
.testi-sec { background: #fff; border-radius: 0 80px 0 80px; }
.testi-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: center; }
.testi-head { text-align: center; margin-bottom: 30px; }
.testi-head h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 900; color: var(--navy); }
.testi-head .qmark { color: var(--gold); font-size: 44px; line-height: 1; font-family: serif; }
.testi-card {
  background: #fff; border: 1px solid #EEF1F1; border-radius: 30px;
  box-shadow: var(--shadow); padding: 44px 40px; text-align: center; position: relative;
}
.testi-card .stars { color: var(--gold); font-size: 22px; letter-spacing: 4px; margin: 16px 0 18px; }
.testi-card blockquote { font-size: 19px; font-weight: 700; color: var(--navy); line-height: 2; }
.testi-who { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 18px; }
.testi-who img, .testi-avatar {
  width: 56px; height: 56px; border-radius: 50%; object-fit: cover;
  border: 3px solid var(--gold); background: #EFF4F3;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 900; color: var(--navy); font-size: 20px;
}
.testi-who b { display: block; color: var(--navy); font-size: 16.5px; }
.testi-who small { color: var(--muted); font-size: 13px; }
.testi-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 24px; }
.t-arrow {
  width: 48px; height: 48px; border-radius: 50%; border: 2px solid #E3E7E7; background: #fff;
  color: var(--navy); font-size: 22px; cursor: pointer; transition: 0.3s;
  display: inline-flex; align-items: center; justify-content: center;
}
.t-arrow:hover { border-color: var(--gold); color: var(--gold); transform: scale(1.07); }
.t-dots { display: flex; gap: 8px; }
.t-dots span { width: 10px; height: 10px; border-radius: 50%; background: #D8DEDE; cursor: pointer; transition: 0.3s; }
.t-dots span.on { background: var(--navy); width: 30px; border-radius: 99px; }
.t-dots span.on.gold { background: var(--gold); }

.life-card { position: relative; border-radius: 60px 8px 60px 8px; overflow: hidden; box-shadow: var(--shadow); min-height: 520px; display: flex; }
.life-card img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: 0.6s; }
.life-card:hover img.bg { transform: scale(1.06); }
.life-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,47,53,0.05) 30%, rgba(8,47,53,0.72) 100%); }
.life-overlay {
  position: relative; z-index: 2; margin-top: auto; padding: 44px 36px; color: #fff;
  font-family: 'Aref Ruqaa', 'Cairo', serif; font-size: 30px; line-height: 2;
}

/* ================= Contact bar ================= */
.contact-bar { background: #fff; border-top: 1px solid #EEF1F1; padding: 56px 0; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: center; }
.c-block { position: relative; padding: 6px 20px; }
.c-block + .c-block::before {
  content: ''; position: absolute; right: 0; top: 8px; bottom: 8px; width: 1px; background: #E8ECEC;
}
.c-block svg { width: 34px; height: 34px; stroke: var(--navy); fill: none; stroke-width: 1.8; margin: 0 auto 8px; display: block; }
.c-block b { display: block; font-size: 18px; font-weight: 800; color: var(--navy); }
.c-block span { color: var(--muted); font-weight: 700; font-size: 15px; display: block; }
.final-quote { text-align: center; padding: 10px 0 60px; background: #fff; }
.final-quote .hand { font-size: 40px; color: var(--navy); line-height: 2; }
.final-quote .ecg { margin: 4px auto 0; display: block; }

/* ================= Booking ================= */
.booking-sec { background: linear-gradient(135deg, var(--navy), var(--navy-2) 65%, #1A545B); color: #fff; position: relative; overflow: hidden; padding: 100px 0; border-radius: 80px 0 0 0; }
.booking-sec::before {
  content: ''; position: absolute; top: -100px; left: -100px; width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,150,62,0.18), transparent 65%);
}
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; }
.book-info h2 { color: #fff; font-size: clamp(26px, 3vw, 38px); font-weight: 900; margin-bottom: 10px; }
.mini-badge { background: rgba(201,150,62,0.16); color: var(--gold-light); font-weight: 800; padding: 8px 20px; border-radius: 999px; display: inline-block; margin-bottom: 16px; font-size: 14px; border: 1px solid rgba(201,150,62,0.35); }
.mini-badge.light { background: rgba(255,255,255,0.15); color: #fff; }
.book-info p, .book-info div.sub { color: #C9D6D7; font-size: 16.5px; }
.contact-box { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 18px; padding: 22px; margin: 24px 0; display: grid; gap: 12px; font-weight: 700; font-size: 16px; backdrop-filter: blur(10px); }
.contact-box a { color: var(--gold-light); }
.map iframe { box-shadow: var(--shadow); border: 4px solid rgba(255,255,255,0.12) !important; border-radius: 14px; }
.book-form { background: #fff; color: var(--text); border-radius: 28px; padding: 40px; box-shadow: 0 30px 60px rgba(0,0,0,0.35); }
.book-form h3 { margin-bottom: 24px; color: var(--navy); font-size: 24px; font-weight: 900; }
.book-form label { display: block; font-weight: 800; font-size: 15px; margin-bottom: 16px; color: var(--navy); }
.book-form input, .book-form select, .book-form textarea { width: 100%; margin-top: 8px; padding: 14px 18px; border: 2px solid #DDE4E4; border-radius: 14px; font-family: inherit; font-size: 15px; background: #FAFAF7; transition: 0.3s; color: var(--text); }
.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(201,150,62,0.18); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.book-msg { padding: 14px; border-radius: 12px; margin-bottom: 16px; font-weight: 700; font-size: 15px; 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; }

/* ================= Showcase marquee ================= */
.marquee { overflow: hidden; padding: 20px 0; }
.marquee-track { display: flex; gap: 24px; width: max-content; animation: marq 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marq { to { transform: translateX(50%); } }
.m-item { position: relative; width: 340px; height: 240px; border-radius: 30px 8px 30px 8px; overflow: hidden; flex-shrink: 0; box-shadow: var(--shadow-sm); transition: 0.3s; }
.m-item:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.m-item img, .m-item video { width: 100%; height: 100%; object-fit: cover; }
.m-item span { position: absolute; bottom: 14px; right: 14px; background: rgba(8,47,53,0.78); color: #fff; font-size: 14px; font-weight: 700; padding: 6px 18px; border-radius: 999px; }

/* ================= Footer ================= */
.footer { background: #fff; color: var(--muted); padding: 60px 0 0; border-top: 1px solid #EEF1F1; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; align-items: start; }
.foot-grid h4 { color: var(--navy); margin-bottom: 18px; font-size: 17px; font-weight: 800; }
.foot-grid a { display: block; margin-bottom: 10px; font-weight: 600; font-size: 14.5px; }
.foot-grid a:hover { color: var(--gold); }
.socials { display: flex; gap: 12px; margin-top: 16px; }
.socials a {
  width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid #E3E7E7; margin: 0;
  display: inline-flex; align-items: center; justify-content: center; color: var(--navy); transition: 0.3s;
}
.socials a:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-3px); }
.socials svg { width: 20px; height: 20px; fill: currentColor; }
.copy { text-align: center; border-top: 1px solid #EEF1F1; padding: 20px; font-size: 14px; font-weight: 600; }

/* ================= Floating ================= */
.wa-float { position: fixed; bottom: 24px; left: 24px; z-index: 99; transition: 0.3s; }
.wa-float:hover { transform: scale(1.1) translateY(-5px); }

/* ================= Pages (service detail) ================= */
.page-hero { background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; padding: 80px 0 60px; border-radius: 0 0 60px 60px; text-align: center; }
.page-hero h1 { font-size: clamp(28px, 4vw, 44px); font-weight: 900; margin: 12px 0; }
.page-hero p { color: #C9D6D7; }
.price { background: var(--gold); color: var(--navy); font-weight: 800; padding: 6px 18px; border-radius: 999px; font-size: 14px; }
.price.big { font-size: 17px; padding: 10px 26px; display: inline-block; margin-top: 14px; }
.page-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 40px; padding: 60px 0; }
.page-content { background: #fff; border-radius: 28px; padding: 36px; box-shadow: var(--shadow-sm); border: 1px solid #EEF1F1; }
.page-img { width: 100%; border-radius: 22px; margin-bottom: 22px; }
.rich { line-height: 2; font-size: 16.5px; }
.rich ul { padding-right: 20px; }

/* ================= Animations ================= */
.reveal { opacity: 0; transform: translateY(35px); transition: 0.8s cubic-bezier(0.4, 0, 0.2, 1); }
.reveal.vis { opacity: 1; transform: none; }
.hero-text.reveal { transform: translateY(30px); }

/* ================= Responsive ================= */
@media (max-width: 1024px) {
  .container { padding: 0 28px; }
  .hero-grid, .grid2, .page-grid, .testi-grid, .tech-grid { grid-template-columns: 1fr; gap: 44px; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 44px 0 120px; text-align: center; }
  .hero-feats { margin-inline: auto; }
  .hero-btns { justify-content: center; }
  .hero-img-mask { height: 520px; }
  .hero-media .ecg-chip { left: 10px; }
  .tech-dark, .tech-img { border-radius: 40px; }
  .tech-img { min-height: 320px; }
  .life-card { min-height: 420px; }
}

/* الشاشات المتوسطة: روابط مدمجة */
@media (max-width: 1024px) and (min-width: 901px) {
  .links { gap: 16px; font-size: 13.5px; }
  .nav .btn.small { padding: 8px 18px; font-size: 13px; height: 42px; }
  .brand-txt b { font-size: 17px; }
}

/* التابلت العمودي: قائمة همبرجر مثل الموبايل */
@media (max-width: 900px) and (min-width: 641px) {
  .links { position: absolute; top: 80px; right: 28px; left: 28px; background: #fff; flex-direction: column; padding: 22px; border-radius: 20px; box-shadow: 0 20px 50px rgba(8,47,53,0.2); display: none; z-index: 99; border: 1px solid #EEF1F1; }
  .links.open { display: flex; }
  .burger { display: block; }
  .brand-txt small { display: none; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .ticker { font-size: 13px; padding: 8px 0; }
  /* هيدر مدمج لسcreens الصغيرة */
  .nav { height: 66px; gap: 8px; }
  .brand { gap: 8px; min-width: 0; flex: 1; }
  .brand-logo { width: 42px; height: 42px; }
  .brand-txt { min-width: 0; }
  .brand-txt b { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .brand-txt small { display: none; }
  .nav .btn.small { padding: 8px 13px; font-size: 12.5px; height: 40px; gap: 6px; flex-shrink: 0; }
  .nav .btn.small svg { width: 15px; height: 15px; }
  .burger { font-size: 24px; flex-shrink: 0; }
  .links { position: absolute; top: 66px; right: 16px; left: 16px; background: #fff; flex-direction: column; padding: 20px; border-radius: 20px; box-shadow: 0 20px 50px rgba(8,47,53,0.2); display: none; z-index: 99; border: 1px solid #EEF1F1; }
  .links.open { display: flex; animation: slideDown 0.3s ease; }
  @keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
  .burger { display: block; }
  /* هيرو الموبايل */
  .hero { padding: 30px 0 100px; min-height: auto; }
  .hero-blob { left: auto; right: -110px; top: -40px; width: 300px; height: 300px; opacity: 0.6; }
  .hero-text .doc-name { font-size: 38px; line-height: 1.6; }
  .hero-text .doc-name .gold-dot { width: 13px; height: 13px; top: 4px; left: -6px; box-shadow: 0 0 0 4px rgba(201, 150, 62, 0.18); }
  .hero-specialty { font-size: 21px; line-height: 1.9; }
  .hero-tagline { font-size: 16px; margin-bottom: 20px; }
  .hero-quote { font-size: 22px; }
  .hero-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .hero-feats .feat + .feat::before { display: none; }
  .hero-feats .feat { background: #fff; border: 1px solid #EEF1F1; border-radius: 16px; padding: 14px 8px; box-shadow: var(--shadow-sm); }
  .hero-btns { flex-direction: column; align-items: stretch; }
  .hero-btns .btn { width: 100%; }
  .play-wrap { justify-content: center; }
  .hero-img-mask { height: 380px; border-radius: 130px 130px 26px 26px; border-width: 5px; }
  .hero-media .ecg-chip { left: 6px; top: 34px; padding: 8px 12px; font-size: 12px; }
  .hero-media .heart-chip { right: 8px; bottom: 40px; width: 60px; height: 60px; border-width: 3px; }
  .hero-media .heart-chip svg { width: 26px; height: 26px; }
  .stats-wrap { margin-top: -66px; }
  .stats-bar { grid-template-columns: 1fr; border-radius: 30px; padding: 26px 22px; text-align: center; }
  .stat { flex-direction: column; gap: 8px; }
  .stat + .stat::before { display: none; }
  .svc-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 26px; }
  .c-block + .c-block::before { display: none; }
  .row2 { grid-template-columns: 1fr; }
  .book-form { padding: 26px 20px; }
  .wa-float { width: 52px !important; height: 52px !important; bottom: 16px !important; left: 16px !important; }
  .wa-float svg { width: 28px !important; height: 28px !important; }
  .section { padding: 64px 0; }
  .services, .testi-sec { border-radius: 40px 0 40px 0; }
  .tech-dark { border-radius: 40px; padding: 44px 28px; }
  .m-item { width: 280px; height: 190px; }
  .foot-grid { grid-template-columns: 1fr; text-align: center; }
  .socials { justify-content: center; }
  .sec-title::before, .sec-title::after { width: 30px; }
  .final-quote .hand { font-size: 30px; }
}
