/* ============================================================
   Dr. Emad Al-Sharu — Clinic Website
   Design system rebuilt 1:1 from the original component.
   ============================================================ */

:root {
  --gold: #C5A059;
  --gold-dark: #A9843F;
  --charcoal: #2C3539;
  --navy: #26364A;
  --text: #5A6670;
  --text-strong: #26364A;
  --muted: #8A94A0;
  --cream: #FDFBF7;
  --blush: #F5EDEA;
  --gold-line: rgba(197, 160, 89, 0.22);
  --serif: 'Cormorant Garamond', 'Alexandria', serif;
  --sans: 'Inter', 'Alexandria', sans-serif;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--cream);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--gold); color: #fff; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
input, textarea, select, button { font-family: inherit; }
input::placeholder, textarea::placeholder { color: rgba(255, 255, 255, 0.55); }

.wrap { max-width: var(--max); margin: 0 auto; padding-inline: 24px; }
.wrap-narrow { max-width: 1000px; margin: 0 auto; padding-inline: 24px; }

/* ---------- Section backgrounds ---------- */
.sec-cream { background: var(--cream); }
.sec-blush { background: var(--blush); }
.sec-navy { background: var(--navy); color: #fff; }
.section { padding-block: 88px; }

/* ---------- Eyebrow / headings ---------- */
.eyebrow {
  color: var(--gold);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow--center { justify-content: center; }
.eyebrow .line { width: 34px; height: 1px; background: var(--gold); display: inline-block; }
.eyebrow--center .line { width: 20px; }

.h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 58px;
  line-height: 1.06;
  color: var(--charcoal);
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}
.h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 38px;
  line-height: 1.15;
  color: var(--charcoal);
  margin: 0;
}
.h3 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--charcoal);
  margin: 0;
}
.center { text-align: center; }
.lead { font-size: 19px; color: var(--text-strong); font-weight: 500; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: 999px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  border: none;
  transition: background .25s;
  font-size: 15.5px;
}
.btn .arw {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex: 0 0 auto;
}
.btn-gold {
  background: var(--gold); color: #fff;
  padding-block: 7px; padding-inline-start: 24px; padding-inline-end: 7px;
}
.btn-gold:hover { background: var(--gold-dark); }
.btn-gold .arw { background: #fff; color: var(--gold); }
.btn-outline {
  background: transparent; color: var(--charcoal);
  padding-block: 6px; padding-inline-start: 24px; padding-inline-end: 6px;
  border: 1.5px solid var(--gold);
}
.btn-outline:hover { background: rgba(197, 160, 89, 0.12); }
.btn-outline .arw { background: var(--gold); color: #fff; }
.btn-sm { font-size: 15px; }
.btn-sm .arw { width: 34px; height: 34px; }

/* WhatsApp variant */
.btn-wa { background: #C5A059; }
.btn-wa:hover { background: var(--gold-dark); }

/* ---------- Top bar ---------- */
.topbar { position: relative; z-index: 3; border-bottom: 1px solid rgba(197, 160, 89, 0.2); }
.topbar .inner {
  max-width: var(--max); margin: 0 auto; padding: 9px 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; font-size: 13px; color: var(--text); flex-wrap: wrap;
}
.topbar .contacts { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar .contacts span { display: flex; align-items: center; gap: 7px; }
.topbar .socials { display: flex; align-items: center; gap: 14px; }

/* ---------- Nav ---------- */
.nav-outer { position: relative; z-index: 4; }
.nav {
  max-width: var(--max); margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.nav .logo img { height: 78px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 30px; font-size: 14.5px; font-weight: 500; color: var(--charcoal); }
.nav-links a { padding: 4px 0; transition: color .2s; }
.nav-links a:hover { color: var(--gold); }
.nav-actions { display: flex; align-items: center; gap: 14px; }

.lang-switch { display: flex; border: 1px solid rgba(197, 160, 89, 0.5); border-radius: 999px; overflow: hidden; }
.lang-switch button {
  padding: 6px 15px; border: none; cursor: pointer; font: inherit; line-height: 1;
  background: transparent; color: var(--text); font-weight: 600;
}
.lang-switch button.active { background: var(--gold); color: #fff; font-weight: 700; }

.nav-cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--gold); color: #fff;
  padding-block: 6px; padding-inline-start: 20px; padding-inline-end: 6px;
  border-radius: 999px; font-size: 14.5px; font-weight: 600; white-space: nowrap;
  transition: background .25s;
}
.nav-cta:hover { background: var(--gold-dark); }
.nav-cta .arw { width: 30px; height: 30px; border-radius: 50%; background: #fff; color: var(--gold); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; color: var(--charcoal); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: relative; z-index: 3;
  border-top: 1px solid rgba(197, 160, 89, 0.2);
  background: var(--blush);
  padding: 12px 24px 18px;
}
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 10px 0; font-size: 16px; font-weight: 500; color: var(--charcoal); border-bottom: 1px solid rgba(197,160,89,0.15); }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--blush); overflow: hidden; }
/* Uterus artwork as the hero backdrop: whole silhouette stays inside the section, tilted off-centre. */
.hero-art {
  position: absolute; z-index: 0; pointer-events: none; user-select: none;
  top: 50%; left: 46%; transform: translate(-50%, -52%) rotate(-8deg);
  width: 62%; max-width: 760px; max-height: 76%; height: auto;
  opacity: 0.2;
}
.hero .deco { position: absolute; pointer-events: none; }
.hero .deco-1 { top: -150px; inset-inline-end: -140px; width: 460px; height: 460px; border-radius: 50%; border: 1px solid rgba(197,160,89,0.22); }
.hero .deco-2 { top: -80px; inset-inline-end: -60px; width: 320px; height: 320px; border-radius: 50%; border: 1px solid rgba(197,160,89,0.16); }
.hero .deco-3 { bottom: -160px; inset-inline-start: -120px; width: 380px; height: 380px; border-radius: 50%; background: rgba(197,160,89,0.06); }
.hero-grid {
  position: relative; z-index: 2; max-width: var(--max); margin: 0 auto;
  padding: 56px 24px 76px; display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 52px; align-items: center;
}
.hero p.sub { font-size: 19px; color: var(--text-strong); font-weight: 500; margin: 0 0 12px; max-width: 30em; }
.hero p.body { font-size: 17px; color: var(--text); margin: 0 0 30px; max-width: 32em; }
.hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.hero .reviews { display: flex; align-items: center; gap: 14px; }
.hero .reviews .num { font-weight: 700; color: var(--text-strong); font-size: 17px; }
.stars { display: flex; gap: 2px; }

/* Cut-out portrait: no frame, no fill — the PNG floats so artwork can sit behind it. */
.portrait-frame {
  aspect-ratio: 4/5; position: relative;
  display: flex; align-items: flex-end; justify-content: center;
}
.portrait-frame picture { width: 100%; height: 100%; display: block; position: relative; z-index: 1; }
.portrait-frame picture img { width: 100%; height: 100%; object-fit: contain; object-position: bottom center; display: block; }
.hero-media { position: relative; }
.hero-badge {
  position: absolute; bottom: 22px; inset-inline-start: -24px;
  width: 118px; height: 118px; border-radius: 50%; background: var(--navy); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: 0 14px 34px rgba(38,54,74,0.3); border: 3px solid var(--blush);
}
.hero-badge .n { font-family: var(--serif); font-size: 32px; font-weight: 600; color: var(--gold); line-height: 1; }
.hero-badge .l { font-size: 10.5px; letter-spacing: 0.05em; margin-top: 3px; text-align: center; padding: 0 8px; }

/* ---------- Image placeholder (empty slots) ---------- */
.imgph {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  color: var(--gold); background:
    repeating-linear-gradient(45deg, rgba(197,160,89,0.05) 0 12px, rgba(197,160,89,0.09) 12px 24px);
  border-radius: inherit;
}
.imgph svg { width: 42px; height: 42px; opacity: 0.55; }
.imgph .imgph-label { font-size: 12px; font-weight: 600; letter-spacing: 0.04em; opacity: 0.7; }
.imgph-stack { display: flex; flex-direction: column; align-items: center; gap: 8px; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: center; }
.frame-tall {
  aspect-ratio: 4/5; border-radius: 10px; background: var(--blush);
  border: 1px solid rgba(197,160,89,0.35); overflow: hidden;
  box-shadow: 0 4px 24px rgba(44,53,57,0.06);
  display: flex; align-items: center; justify-content: center;
}
.frame-tall picture, .frame-tall img { width: 100%; height: 100%; display: block; }
.frame-tall img { object-fit: cover; object-position: center; }
.about-badge {
  position: absolute; top: 26px; inset-inline-end: -22px;
  width: 108px; height: 108px; border-radius: 50%; background: var(--gold); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px rgba(197,160,89,0.4); border: 3px solid var(--cream);
}
.about-badge .n { font-family: var(--serif); font-size: 30px; font-weight: 600; line-height: 1; }
.about-badge .l { font-size: 10px; letter-spacing: 0.04em; text-align: center; padding: 0 8px; }
.about-icons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 34px; }
.about-icon .box {
  position: relative; width: 52px; height: 52px; border-radius: 8px;
  background: var(--blush); border: 1px solid rgba(197,160,89,0.3);
  display: flex; align-items: center; justify-content: center; flex: 0 0 auto; margin-bottom: 10px;
}
.about-icon .num {
  position: absolute; top: -9px; inset-inline-end: -9px; width: 24px; height: 24px;
  border-radius: 50%; background: var(--gold); color: #fff; display: flex;
  align-items: center; justify-content: center; font-size: 12px; font-weight: 700; font-family: var(--sans);
}
.about-icon .lbl { font-size: 15px; font-weight: 600; color: var(--charcoal); line-height: 1.3; }

/* ---------- Services / Procedures ---------- */
.svc-grid { display: grid; grid-template-columns: 1fr 320px 1fr; gap: 32px; align-items: center; }
.svc-col { display: flex; flex-direction: column; gap: 30px; }
.svc-item { display: flex; gap: 16px; align-items: flex-start; }
.svc-item.rev { flex-direction: row-reverse; text-align: end; }
.svc-item .ic { flex: 0 0 auto; width: 56px; height: 56px; border-radius: 8px; background: var(--blush); border: 1px solid rgba(197,160,89,0.3); display: flex; align-items: center; justify-content: center; }
.svc-item .title { font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--charcoal); margin-bottom: 4px; }
.svc-item .desc { font-size: 14px; color: var(--text); line-height: 1.6; }
.svc-item.link { cursor: pointer; transition: transform .2s; }
.svc-item.link:hover { transform: translateY(-2px); }
.svc-item.link:hover .title { color: var(--gold); }
.svc-item .more { display: inline-flex; align-items: center; gap: 6px; color: var(--gold-dark); font-size: 13px; font-weight: 600; margin-top: 6px; }
/* Cut-out portrait: no frame, no fill — the PNG floats bare on the section. */
.svc-center-frame {
  aspect-ratio: 3/4; position: relative;
  display: flex; align-items: flex-end; justify-content: center;
}
.svc-center-frame picture { width: 100%; height: 100%; display: block; }
.svc-center-frame picture img { width: 100%; height: 100%; object-fit: contain; object-position: bottom center; display: block; }

/* ---------- How we work ---------- */
.how-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: center; }
.steps { display: flex; flex-direction: column; gap: 26px; }
.step {
  display: flex; align-items: center; gap: 22px; background: var(--cream);
  border: 1px solid rgba(197,160,89,0.25); border-radius: 12px; padding: 20px 24px;
  box-shadow: 0 4px 24px rgba(44,53,57,0.05);
}
.step .media { position: relative; flex: 0 0 auto; width: 104px; height: 104px; }
.step .media .circle { width: 104px; height: 104px; border-radius: 50%; background: var(--blush); border: 1px solid rgba(197,160,89,0.35); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.step .media .circle .step-ic { width: 46px; height: 46px; }
.step .media .num { position: absolute; top: -6px; inset-inline-end: -6px; width: 40px; height: 40px; border-radius: 50%; background: var(--gold); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 18px; font-weight: 600; border: 3px solid var(--cream); }
.step h3 { font-family: var(--serif); font-weight: 600; font-size: 22px; color: var(--charcoal); margin: 0 0 5px; }
.step p { margin: 0; font-size: 14.5px; color: var(--text); }

/* ---------- Testimonials ---------- */
.test-head { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; margin-bottom: 44px; }
.test-frame { aspect-ratio: 16/9; border-radius: 10px; background: var(--blush); border: 1px solid rgba(197,160,89,0.35); overflow: hidden; box-shadow: 0 4px 24px rgba(44,53,57,0.06); display: flex; align-items: center; justify-content: center; }
.test-frame picture, .test-frame img { width: 100%; height: 100%; display: block; }
.test-frame img { object-fit: cover; }
.test-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.test-card { background: var(--blush); border: 1px solid rgba(197,160,89,0.22); border-radius: 8px; padding: 30px 28px; box-shadow: 0 4px 24px rgba(44,53,57,0.06); }
.test-card .rate { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.test-card .rate .v { font-weight: 700; color: var(--navy); font-size: 15px; }
.test-card .quote { margin: 0 0 22px; color: #3d4750; font-size: 15.5px; line-height: 1.7; }
.test-card .who { display: flex; align-items: center; gap: 12px; border-top: 1px solid rgba(197,160,89,0.28); padding-top: 16px; }
.test-card .who .av { width: 40px; height: 40px; border-radius: 50%; background: var(--gold); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 18px; flex: 0 0 auto; }
.test-card .who .name { font-weight: 600; color: var(--charcoal); font-size: 14.5px; }
.test-card .who .role { font-size: 12.5px; color: var(--muted); }
.test-note { margin: 0; font-size: 14px; color: var(--muted); font-style: italic; }

/* ---------- Meet ---------- */
.meet-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.approach { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 26px; margin-bottom: 32px; }
.approach div { display: flex; align-items: center; gap: 11px; font-size: 15px; color: var(--charcoal); font-weight: 500; }
.frame-tall-round { aspect-ratio: 4/5; border-radius: 220px 220px 10px 10px; background: var(--cream); border: 1px solid rgba(197,160,89,0.35); overflow: hidden; box-shadow: 0 4px 24px rgba(44,53,57,0.06); display: flex; align-items: center; justify-content: center; }
.frame-tall-round picture, .frame-tall-round img { width: 100%; height: 100%; display: block; }
.frame-tall-round img { object-fit: cover; object-position: center top; }

/* ---------- Career timeline ---------- */
.career-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: center; }
.timeline { position: relative; padding-inline-start: 38px; }
.timeline .rail { position: absolute; inset-inline-start: 10px; top: 6px; bottom: 6px; width: 2px; background: rgba(197,160,89,0.35); }
.timeline .items { display: flex; flex-direction: column; gap: 24px; }
.timeline .item { position: relative; }
.timeline .dot { position: absolute; inset-inline-start: -38px; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--gold); border: 4px solid var(--cream); box-shadow: 0 0 0 1px rgba(197,160,89,0.4); }
.timeline .year { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--gold); line-height: 1; }
.timeline .title { font-size: 16px; color: var(--charcoal); font-weight: 500; margin-top: 3px; }

/* ---------- Blog ---------- */
.blog-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.blog-card { background: var(--cream); border: 1px solid rgba(197,160,89,0.22); border-radius: 8px; overflow: hidden; box-shadow: 0 4px 24px rgba(44,53,57,0.06); }
.blog-card .thumb { aspect-ratio: 16/10; background: var(--blush); border-bottom: 1px solid rgba(197,160,89,0.25); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.blog-card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-card .body { padding: 24px; }
.blog-card .date { font-size: 12.5px; color: var(--gold); font-weight: 600; letter-spacing: 0.05em; margin-bottom: 10px; }
.blog-card h3 { font-family: var(--serif); font-weight: 600; font-size: 20px; line-height: 1.3; color: var(--charcoal); margin: 0 0 16px; }
.blog-card .more { display: inline-flex; align-items: center; gap: 7px; color: var(--gold-dark); font-size: 14px; font-weight: 600; }

/* ---------- Video ---------- */
.video-frame { position: relative; aspect-ratio: 16/9; border-radius: 12px; background: var(--navy); overflow: hidden; display: flex; align-items: center; justify-content: center; box-shadow: 0 20px 50px rgba(38,54,74,0.22); }
.video-frame .cover { position: absolute; inset: 0; }
.video-frame .cover .imgph { opacity: 0.5; }
.video-frame .content { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.play-btn { width: 78px; height: 78px; border-radius: 50%; background: var(--gold); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 28px rgba(0,0,0,0.3); transition: transform .25s, background .25s; }
.play-btn:hover { background: var(--gold-dark); transform: scale(1.06); }
.video-frame .cap { color: #fff; font-size: 15px; letter-spacing: 0.06em; }

/* ---------- Contact (dark) ---------- */
.contact-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 56px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 22px; }
.contact-info .row { display: flex; gap: 14px; align-items: flex-start; }
.contact-info .lbl { color: var(--gold); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 4px; }
.contact-info .val { color: rgba(255,255,255,0.85); font-size: 15px; }
.contact h2 { color: #fff; }
.contact p.body { color: rgba(255,255,255,0.75); margin: 0 0 30px; max-width: 34em; }
.form-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(197,160,89,0.3); border-radius: 12px; padding: 34px 32px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid input, .form-grid textarea, .form-grid select {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.18);
  border-radius: 6px; padding: 14px 16px; color: #fff; font-size: 15px; width: 100%;
}
.form-grid select { color: rgba(255,255,255,0.6); }
/* The native dropdown list paints on a light background, so options need a dark colour of their own. */
.form-grid select option { background: #fff; color: var(--charcoal); }
.form-grid textarea { resize: vertical; }
.form-grid .btn { grid-column: 1 / -1; justify-self: start; }

/* ---------- Cases (coming soon) ---------- */
.cases-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.case-card { border: 1px solid rgba(197,160,89,0.4); border-radius: 8px; padding: 30px 28px; background: var(--cream); border-top: 3px solid var(--gold); box-shadow: 0 4px 24px rgba(44,53,57,0.06); }
.case-card h3 { font-family: var(--serif); font-weight: 600; font-size: 21px; color: var(--charcoal); margin: 0 0 12px; }
.case-card p { margin: 0 0 18px; font-size: 15px; color: var(--text); }
.case-card .foot { border-top: 1px solid rgba(197,160,89,0.28); padding-top: 14px; }
.case-card .foot .lbl { color: var(--gold); font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 5px; }
.case-card .foot .val { font-size: 14.5px; color: var(--charcoal); font-weight: 500; }

/* Coming soon state */
.coming-soon-wrap { position: relative; }
.coming-soon-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(197,160,89,0.12); color: var(--gold-dark);
  border: 1px solid rgba(197,160,89,0.4); border-radius: 999px;
  padding: 7px 18px; font-size: 13px; font-weight: 700; letter-spacing: 0.04em;
  margin: 18px auto 0;
}
.coming-soon-panel {
  margin-top: 40px; border: 1px dashed rgba(197,160,89,0.5); border-radius: 16px;
  background: var(--cream); padding: 64px 32px; text-align: center;
}
.coming-soon-panel .big { font-family: var(--serif); font-size: 30px; color: var(--charcoal); font-weight: 600; margin: 14px 0 8px; }
.coming-soon-panel p { margin: 0 auto; max-width: 40em; color: var(--muted); }
.cases-cards.blurred .case-card { filter: blur(3px); opacity: 0.5; pointer-events: none; user-select: none; }

/* ---------- Final CTA ---------- */
.final-cta { max-width: 1150px; margin: 0 auto; padding: 40px 24px 84px; }
.final-cta .banner { position: relative; background: var(--blush); border: 1px solid rgba(197,160,89,0.35); border-radius: 16px; overflow: hidden; display: grid; grid-template-columns: 1.35fr 0.65fr; align-items: center; }
.final-cta .deco { position: absolute; top: -90px; inset-inline-end: 38%; width: 260px; height: 260px; border-radius: 50%; border: 1px solid rgba(197,160,89,0.22); pointer-events: none; }
.final-cta .text { padding: 52px 48px; }
.final-cta h2 { max-width: 16em; margin: 0 0 24px; font-size: 36px; }
.final-cta .media { align-self: stretch; min-height: 240px; background: var(--cream); border-inline-start: 1px solid rgba(197,160,89,0.3); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.final-cta .media picture, .final-cta .media img { width: 100%; height: 100%; display: block; }
.final-cta .media img { object-fit: cover; object-position: center; }

/* ---------- Footer ---------- */
footer { background: var(--cream); border-top: 1px solid rgba(197,160,89,0.3); }
.footer-grid { max-width: var(--max); margin: 0 auto; padding: 64px 24px 34px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-grid .logo { height: 92px; width: auto; display: block; margin-bottom: 16px; }
.footer-grid .tag { margin: 0; font-size: 14.5px; color: var(--text); max-width: 26em; }
.footer-col .h { font-family: var(--serif); font-size: 18px; font-weight: 600; color: var(--charcoal); margin-bottom: 16px; }
.footer-col .links { display: flex; flex-direction: column; gap: 11px; font-size: 14.5px; color: var(--text); }
.footer-col .links a { transition: color .2s; }
.footer-col .links a:hover { color: var(--gold); }
.footer-col .contact-lines { display: flex; flex-direction: column; gap: 11px; font-size: 14.5px; color: var(--text); }
.footer-col .contact-lines span { display: flex; gap: 9px; align-items: flex-start; }
.footer-col .socials { display: flex; gap: 14px; margin-top: 18px; }
.footer-bottom { border-top: 1px solid rgba(197,160,89,0.22); }
.footer-bottom .inner { max-width: var(--max); margin: 0 auto; padding: 20px 24px; font-size: 13px; color: var(--muted); text-align: center; }

/* ---------- Procedure detail page ---------- */
.proc-hero { position: relative; background: var(--blush); overflow: hidden; }
.proc-hero .wrap { padding-block: 56px 64px; position: relative; z-index: 2; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 20px; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { opacity: 0.5; }
.proc-hero h1 { font-family: var(--serif); font-weight: 600; font-size: 46px; line-height: 1.1; color: var(--charcoal); margin: 0 0 16px; }
.proc-hero .intro { font-size: 18px; color: var(--text-strong); max-width: 40em; margin: 0 0 28px; }
.proc-layout { display: grid; grid-template-columns: 1.4fr 0.6fr; gap: 48px; align-items: start; }
.proc-body h2 { font-family: var(--serif); font-weight: 600; font-size: 28px; color: var(--charcoal); margin: 40px 0 14px; }
.proc-body h2:first-child { margin-top: 0; }
.proc-body p { margin: 0 0 16px; }
.proc-body ul { margin: 0 0 20px; padding-inline-start: 0; list-style: none; }
.proc-body li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.proc-body li .tick { flex: 0 0 auto; margin-top: 3px; }
.proc-media { aspect-ratio: 4/5; border-radius: 200px 200px 10px 10px; background: var(--cream); border: 1px solid rgba(197,160,89,0.4); overflow: hidden; box-shadow: 0 16px 44px rgba(44,53,57,0.1); display: flex; align-items: center; justify-content: center; }
.proc-side { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 20px; }
.proc-card { background: var(--cream); border: 1px solid rgba(197,160,89,0.3); border-radius: 14px; padding: 26px 24px; box-shadow: 0 4px 24px rgba(44,53,57,0.06); }
.proc-card .h { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--charcoal); margin: 0 0 8px; }
.proc-card p { margin: 0 0 18px; font-size: 14.5px; color: var(--text); }
.proc-facts { display: flex; flex-direction: column; gap: 14px; }
.proc-facts .fact { display: flex; gap: 12px; align-items: flex-start; }
.proc-facts .fact .k { font-size: 12px; color: var(--gold); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.proc-facts .fact .v { font-size: 15px; color: var(--charcoal); font-weight: 500; }
.proc-related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 20px; }
.proc-related a { display: block; border: 1px solid rgba(197,160,89,0.3); border-radius: 10px; padding: 18px 20px; background: var(--cream); transition: transform .2s, border-color .2s; }
.proc-related a:hover { transform: translateY(-2px); border-color: var(--gold); }
.proc-related .t { font-family: var(--serif); font-size: 17px; font-weight: 600; color: var(--charcoal); }

/* ---------- Utility ---------- */
[dir="rtl"] .flip-x { transform: scaleX(-1); }
/* Latin-digit phone numbers get their groups re-ordered by the RTL bidi
   algorithm ("079 130 0314" renders as "0314 130 079"). Isolate them. */
[data-tel] { display: inline-block; direction: ltr; unicode-bidi: isolate; }
.hide { display: none !important; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .about-grid, .how-grid, .meet-grid, .career-grid, .contact-grid, .proc-layout { grid-template-columns: 1fr; gap: 40px; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc-center-frame { display: none; }
  .svc-item.rev { flex-direction: row; text-align: start; }
  .test-head { grid-template-columns: 1fr; }
  .test-cards, .cases-cards, .blog-cards { grid-template-columns: 1fr 1fr; }
  .final-cta .banner { grid-template-columns: 1fr; }
  .final-cta .media { min-height: 220px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .proc-side { position: static; }
  .h1 { font-size: 46px; }
  .h2 { font-size: 32px; }
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-cta { display: none; }
}
@media (max-width: 620px) {
  .nav .logo img { height: 58px; }
  .hero-art { width: 86%; max-width: none; max-height: 40%; top: 30%; left: 50%; opacity: 0.16; }
  .test-cards, .cases-cards, .blog-cards, .about-icons, .approach, .footer-grid, .proc-related { grid-template-columns: 1fr; }
  .section { padding-block: 60px; }
  .h1 { font-size: 38px; }
  .hero-badge { inset-inline-start: 8px; width: 96px; height: 96px; }
  .final-cta .text { padding: 36px 28px; }
  .topbar .contacts { gap: 14px; }
}

/* ============================================================
   Article pages (/articles/) — AEO layout:
   quick answer, key points, data tables, FAQ, author box.
   ============================================================ */
.art-layout { display: grid; grid-template-columns: 1.45fr 0.55fr; gap: 48px; align-items: start; }
/* Grid/flex children default to min-width:auto, which lets a wide table push
   the column past the viewport. Pin them to 0 so tables scroll inside instead. */
.art-layout > *, .proc-layout > * { min-width: 0; }
.art-body { font-size: 16.5px; line-height: 1.85; color: var(--text); min-width: 0; overflow-wrap: break-word; }
.art-body h2 { font-family: var(--serif); font-weight: 600; font-size: 30px; color: var(--charcoal); margin: 46px 0 16px; scroll-margin-top: 24px; }
.art-body h3 { font-weight: 700; font-size: 19px; color: var(--text-strong); margin: 28px 0 10px; }
.art-body p { margin: 0 0 16px; }
.art-body strong { color: var(--text-strong); font-weight: 600; }
.art-body ul, .art-body ol { margin: 0 0 22px; padding-inline-start: 0; list-style: none; }
.art-body ol { counter-reset: art-ol; }
.art-body ul li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 11px; }
.art-body ul li .tick { flex: 0 0 auto; margin-top: 5px; }
.art-body ol li { position: relative; padding-inline-start: 40px; margin-bottom: 13px; counter-increment: art-ol; }
.art-body ol li::before {
  content: counter(art-ol); position: absolute; inset-inline-start: 0; top: 1px;
  width: 26px; height: 26px; border-radius: 50%; background: var(--gold); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 14px; font-weight: 700;
}

/* Quick answer — the block answer engines quote */
.art-answer {
  background: var(--blush); border: 1px solid rgba(197,160,89,0.4);
  border-inline-start: 4px solid var(--gold); border-radius: 12px;
  padding: 26px 28px; margin-bottom: 26px;
}
.art-answer .lbl { display: flex; align-items: center; gap: 8px; color: var(--gold-dark); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; margin-bottom: 10px; }
.art-answer p { margin: 0; font-size: 17px; line-height: 1.8; color: var(--text-strong); }

/* Key points */
.art-key { background: var(--cream); border: 1px solid var(--gold-line); border-radius: 12px; padding: 24px 26px; margin-bottom: 34px; }
.art-key .h { font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--charcoal); margin-bottom: 14px; }
.art-key ul { margin: 0; }
.art-key li { margin-bottom: 9px; font-size: 15.5px; }

/* Table of contents */
.art-toc { background: var(--cream); border: 1px solid var(--gold-line); border-radius: 12px; padding: 22px 24px; margin-bottom: 34px; }
.art-toc .h { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; color: var(--gold-dark); margin-bottom: 12px; }
.art-toc ol { margin: 0; }
.art-toc li { padding-inline-start: 0; margin-bottom: 8px; }
.art-toc li::before { display: none; }
.art-toc a { font-size: 15px; color: var(--text-strong); border-bottom: 1px solid transparent; }
.art-toc a:hover { color: var(--gold-dark); border-color: var(--gold); }

/* Data tables */
.art-table-wrap { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 28px; border: 1px solid var(--gold-line); border-radius: 12px; background: #fff; }
.art-table { width: 100%; border-collapse: collapse; min-width: 520px; font-size: 15px; }
.art-table th, .art-table td { padding: 14px 18px; text-align: start; vertical-align: top; border-bottom: 1px solid rgba(197,160,89,0.18); }
.art-table thead th { background: var(--blush); color: var(--charcoal); font-family: var(--serif); font-size: 17px; font-weight: 600; border-bottom: 1px solid rgba(197,160,89,0.35); }
.art-table tbody tr:last-child td { border-bottom: none; }
.art-table tbody td:first-child { color: var(--text-strong); font-weight: 600; }

/* Note + warning callouts */
.art-note, .art-warn { border-radius: 12px; padding: 22px 24px; margin: 0 0 28px; }
.art-note { background: rgba(197,160,89,0.08); border: 1px solid rgba(197,160,89,0.35); }
.art-note p { margin: 0; font-size: 15.5px; color: var(--text-strong); }
.art-warn { background: #FDF3F2; border: 1px solid rgba(180,80,70,0.28); border-inline-start: 4px solid #B4504A; }
.art-warn .h { display: flex; align-items: center; gap: 9px; font-family: var(--serif); font-size: 20px; font-weight: 600; color: #8E3F3A; margin-bottom: 12px; }
.art-warn li { color: #6C4C49; }

/* FAQ — native details/summary, no JS */
.art-faq { display: flex; flex-direction: column; gap: 12px; }
.art-faq details { background: var(--cream); border: 1px solid var(--gold-line); border-radius: 12px; overflow: hidden; }
.art-faq details[open] { border-color: rgba(197,160,89,0.5); }
.art-faq summary {
  cursor: pointer; list-style: none; padding: 18px 22px;
  font-family: var(--serif); font-size: 19px; font-weight: 600; color: var(--charcoal);
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.art-faq summary::-webkit-details-marker { display: none; }
.art-faq summary::after {
  content: ''; flex: 0 0 auto; width: 10px; height: 10px;
  border-inline-end: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
  transform: rotate(45deg); transition: transform .25s; margin-top: -4px;
}
.art-faq details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.art-faq .a { padding: 0 22px 20px; font-size: 15.5px; line-height: 1.85; color: var(--text); }
.art-faq .a p { margin: 0; }

/* Author / medical reviewer box + disclaimer */
.art-author { display: flex; gap: 18px; align-items: flex-start; background: var(--blush); border: 1px solid rgba(197,160,89,0.35); border-radius: 14px; padding: 26px 28px; margin-top: 46px; }
.art-author .av { flex: 0 0 auto; width: 54px; height: 54px; border-radius: 50%; background: var(--gold); color: #fff; display: flex; align-items: center; justify-content: center; }
.art-author .lbl { font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; color: var(--gold-dark); margin-bottom: 6px; }
.art-author .name { font-family: var(--serif); font-size: 21px; font-weight: 600; color: var(--charcoal); margin-bottom: 4px; }
.art-author .role { font-size: 14.5px; color: var(--text); margin-bottom: 8px; }
.art-author .rev { font-size: 13px; color: var(--muted); }
.art-disclaimer { margin-top: 20px; font-size: 13.5px; line-height: 1.75; color: var(--muted); border-top: 1px solid var(--gold-line); padding-top: 18px; }

/* Meta line under the H1 */
.art-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 13.5px; color: var(--muted); margin-bottom: 22px; }
.art-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--gold); }

/* Related articles */
.art-related { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 20px; }
.art-related a { display: block; border: 1px solid rgba(197,160,89,0.3); border-radius: 10px; padding: 18px 20px; background: var(--cream); transition: transform .2s, border-color .2s; }
.art-related a:hover { transform: translateY(-2px); border-color: var(--gold); }
.art-related .t { font-family: var(--serif); font-size: 17px; font-weight: 600; color: var(--charcoal); line-height: 1.35; }

/* Hub page cards */
.art-hub { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.art-hub-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--gold-line); border-radius: 12px; padding: 28px 26px; box-shadow: 0 4px 24px rgba(44,53,57,0.06); transition: transform .2s, border-color .2s; }
.art-hub-card:hover { transform: translateY(-3px); border-color: var(--gold); }
.art-hub-card .tag { font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; color: var(--gold-dark); margin-bottom: 12px; }
.art-hub-card h3 { font-family: var(--serif); font-size: 21px; font-weight: 600; line-height: 1.35; color: var(--charcoal); margin: 0 0 12px; }
.art-hub-card p { margin: 0 0 20px; font-size: 14.5px; color: var(--text); line-height: 1.7; flex: 1; }
.art-hub-card .more { display: inline-flex; align-items: center; gap: 7px; color: var(--gold-dark); font-size: 14px; font-weight: 600; }

@media (max-width: 980px) {
  .art-layout { grid-template-columns: 1fr; gap: 40px; }
  .art-hub { grid-template-columns: 1fr 1fr; }
  .proc-hero h1 { font-size: 36px; }
}
@media (max-width: 620px) {
  .art-hub, .art-related { grid-template-columns: 1fr; }
  .art-body { font-size: 16px; }
  .art-body h2 { font-size: 24px; margin: 36px 0 14px; }
  .art-body h3 { font-size: 17.5px; }
  .art-answer, .art-key, .art-toc, .art-note, .art-warn, .art-author { padding: 20px 18px; }
  .art-answer p { font-size: 16px; }
  .art-author { flex-direction: column; gap: 12px; }
  .art-faq summary { font-size: 17px; padding: 16px 18px; }
  .art-faq .a { padding: 0 18px 18px; }
  .art-table { min-width: 460px; font-size: 14.5px; }
  .art-table th, .art-table td { padding: 12px 14px; }
  .art-table thead th { font-size: 15.5px; }
  /* Long Arabic headlines must not blow past a 360px screen. */
  .proc-hero h1 { font-size: 28px; line-height: 1.25; }
  .proc-hero .intro { font-size: 16.5px; }
  .proc-hero .wrap { padding-block: 32px 44px; }
  .breadcrumb { font-size: 12px; }
}
