:root {
  --navy: #0e1620;
  --navy-2: #16202b;
  --ivory: #f6f1e8;
  --paper: #fbf8f3;
  --ink: #161411;
  --muted: #5e584f;
  --metal: #9a8b74;
  --line: rgba(22, 20, 17, 0.12);
  --nav-h: 92px;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html.wait-i18n body { visibility: hidden; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Tajawal", "Segoe UI", Tahoma, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  overflow-x: clip;
}

html[lang="en"] body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

img, video { max-width: 100%; }

figure { margin: 0; }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--metal);
  outline-offset: 3px;
}

::selection {
  background: #e7dcc8;
  color: var(--navy);
}

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

.skip {
  position: absolute;
  inset-inline-start: 12px;
  top: -48px;
  z-index: 80;
  background: var(--ivory);
  color: var(--navy);
  padding: 8px 12px;
  text-decoration: none;
}

.skip:focus { top: 12px; }

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.narrow { width: min(720px, calc(100% - 40px)); }

h1, h2, h3, p { margin: 0; }

html[lang="ar"] h1,
html[lang="ar"] h2 {
  font-family: "Amiri", "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.35;
}

html[lang="en"] h1,
html[lang="en"] h2,
html[lang="en"] h3 {
  font-family: "Cormorant Garamond", Palatino, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.05;
}

h1 { font-size: clamp(52px, 7vw, 92px); }
h2 { font-size: clamp(36px, 4.4vw, 58px); }
h3 { font-size: 28px; line-height: 1.35; font-weight: 700; }

html[lang="en"] h1 { line-height: 0.92; }
html[lang="en"] h2 { line-height: 1.12; }
html[lang="en"] h3 { font-size: 34px; font-weight: 500; }

h1 span { display: block; }

.kicker {
  margin: 0 0 14px;
  color: var(--metal);
  font-size: 13px;
  font-weight: 700;
}

html[lang="en"] .kicker {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 600;
}

.kicker.light { color: #c8b89a; }

.lede { max-width: 38rem; }

.section-intro {
  max-width: 36rem;
  margin-top: 12px;
  color: var(--muted);
}

section { scroll-margin-top: calc(var(--nav-h) + 8px); }

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 16px 28px;
  background: var(--navy);
  color: var(--ivory);
  border-bottom: 1px solid rgba(154, 139, 116, 0.35);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  direction: ltr;
  color: var(--ivory);
  text-decoration: none;
  font-family: "Cormorant Garamond", Palatino, serif;
  font-style: italic;
  font-weight: 500;
  font-size: 40px;
  line-height: 1;
  flex: none;
  white-space: nowrap;
}

.logo-rule {
  width: 1px;
  height: 30px;
  background: var(--metal);
}

.nav-links {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 2px 4px;
  margin-inline-start: auto;
}

.nav-links a {
  color: rgba(246, 241, 232, 0.82);
  text-decoration: none;
  font-size: 16px;
  line-height: 1.2;
  padding: 12px 10px;
  white-space: nowrap;
}

.nav-links a:hover { color: #e7d7bc; }

.nav-tools {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: none;
}

.nav-phone {
  color: var(--ivory);
  text-decoration: none;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 10px 2px;
}

.lang {
  border: 1px solid rgba(154, 139, 116, 0.7);
  background: transparent;
  color: var(--ivory);
  min-width: 68px;
  height: 44px;
  padding: 0 14px;
  font: inherit;
  font-size: 15px;
  cursor: pointer;
}

.lang:hover { background: var(--ivory); color: var(--navy); }

.menu-btn {
  display: none;
  margin-inline-start: auto;
  width: 48px;
  height: 48px;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex: none;
}

.menu-bars,
.menu-bars::before,
.menu-bars::after {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--ivory);
  position: relative;
}

.menu-bars::before,
.menu-bars::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
}

.menu-bars::before { top: -6px; }
.menu-bars::after { top: 6px; }

.hero {
  display: grid;
  background: var(--navy);
  color: var(--ivory);
}

.hero-photo {
  background: #d5d5d5;
  min-height: 52vw;
  max-height: 70vh;
  overflow: hidden;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  min-height: 52vw;
  max-height: 70vh;
  object-fit: cover;
  object-position: right center;
  display: block;
}

.hero-copy {
  padding: clamp(28px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
}

.names {
  margin-top: 8px;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: rgba(246, 241, 232, 0.78);
}

.hero h1 {
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1.28;
  max-width: 16em;
}

html[lang="en"] .hero h1 {
  line-height: 1.15;
  max-width: 12em;
}

.hero .lede { color: rgba(246, 241, 232, 0.88); margin-top: 8px; }

.fine {
  margin-top: 8px;
  font-size: 14px;
  color: rgba(246, 241, 232, 0.7);
}

.cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
  max-width: 460px;
}

.btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  text-decoration: none;
  font-weight: 700;
  text-align: center;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-icon {
  width: 20px;
  height: 20px;
  flex: none;
}

.btn-ivory { background: var(--ivory); color: var(--navy); }
.btn-ivory:hover { background: #fff; }

.btn-line {
  background: transparent;
  color: var(--ivory);
  border-color: rgba(246, 241, 232, 0.55);
}

.btn-line:hover { border-color: var(--ivory); }

.philosophy,
.doctors,
.journey,
.faq { padding: clamp(72px, 9vw, 120px) 0; }

.philosophy { background: var(--ivory); }

.philosophy-grid,
.feature-grid,
.section-head,
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
}

.points {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}

.points li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.points.light {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 22px;
}

.points.light li {
  display: block;
  width: auto;
  border-top: 0;
  padding: 0;
  border-inline-start: 1px solid rgba(246, 241, 232, 0.35);
  padding-inline-start: 12px;
}

.points.light span:first-child {
  font-family: inherit;
  color: var(--ivory);
  font-size: inherit;
}

.points span:first-child {
  font-family: "Cormorant Garamond", Palatino, serif;
  color: var(--metal);
  font-size: 20px;
}

.doctors { background: var(--paper); }

.doctor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 36px;
  align-items: start;
}

.portrait,
.feature-photo { overflow: hidden; }

.portrait {
  background: #e7e2da;
  margin-bottom: 18px;
}

.portrait img.ashraf {
  object-position: center center;
  transform: none;
}

.portrait img,
.feature-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 12%;
  background: #d9d4cc;
}

.role {
  color: var(--metal);
  font-weight: 700;
  margin-bottom: 6px;
}

.doctor h3 { margin-bottom: 10px; }

.creds {
  list-style: none;
  margin: 16px 0;
  padding: 0;
}

.creds li {
  padding: 8px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
}

.text-link {
  color: var(--navy);
  font-weight: 700;
  text-underline-offset: 4px;
}

.icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  color: var(--navy);
  text-decoration: none;
}

.icon-link svg {
  width: 20px;
  height: 20px;
}

.icon-link:hover { color: var(--metal); }

.text-link.light { color: #e7d7bc; }

.specialties {
  background: var(--ivory);
  padding: clamp(72px, 9vw, 120px) 0;
}

.section-head p { color: var(--muted); }

.lead-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 36px;
}

.lead-grid article {
  min-height: 240px;
  padding: 28px;
  background: var(--navy);
  color: var(--ivory);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
}

.lead-grid p { color: rgba(246, 241, 232, 0.8); }

.num {
  font-family: "Cormorant Garamond", Palatino, serif;
  color: var(--metal);
  font-size: 28px;
  line-height: 1;
}

.quiet-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}

.quiet-list li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 8px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.quiet-list p { margin-top: 4px; color: var(--muted); }

.feature {
  background: var(--navy);
  color: var(--ivory);
  padding: clamp(72px, 9vw, 120px) 0;
}

.feature p { color: rgba(246, 241, 232, 0.86); margin-top: 14px; }

.feature-photo { background: #1c2430; }

.feature-grid { align-items: center; }

.cases,
.media { padding: clamp(72px, 9vw, 110px) 0; }

.case-grid,
.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 28px;
}

.case-card,
.video-card {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--navy);
  color: var(--ivory);
  text-align: start;
  cursor: pointer;
  position: relative;
}

.case-card img,
.video-card img,
.video-fallback {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: #1a2330;
}

.card-label {
  position: absolute;
  inset-inline-start: 14px;
  bottom: 14px;
  background: rgba(14, 22, 32, 0.82);
  padding: 6px 10px;
  font-size: 14px;
}

.play-mark {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(246, 241, 232, 0.8);
  border-radius: 50%;
}

.play-mark::after {
  content: "";
  position: absolute;
  inset-inline-start: 22px;
  top: 16px;
  border-style: solid;
  border-width: 10px 0 10px 14px;
  border-color: transparent transparent transparent var(--ivory);
}

html[dir="rtl"] .play-mark::after {
  border-width: 10px 14px 10px 0;
  border-color: transparent var(--ivory) transparent transparent;
  inset-inline-start: 18px;
}

.journey { background: var(--paper); }

.steps {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.steps li { border-top: 1px solid var(--line); padding-top: 14px; }

.steps span {
  font-family: "Cormorant Garamond", Palatino, serif;
  color: var(--metal);
  font-size: 26px;
}

.steps p { margin-top: 8px; color: var(--muted); font-size: 15px; }

.faq { background: var(--ivory); }

.faq h2 { font-size: clamp(30px, 3vw, 42px); }

.faq-list { margin-top: 22px; }

.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }

.faq-item button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  background: none;
  border: 0;
  color: inherit;
  font: inherit;
  font-weight: 700;
  text-align: start;
  cursor: pointer;
}

.faq-item i {
  width: 12px;
  height: 12px;
  position: relative;
  flex: none;
}

.faq-item i::before,
.faq-item i::after {
  content: "";
  position: absolute;
  background: var(--metal);
}

.faq-item i::before {
  width: 12px;
  height: 1.5px;
  top: 5px;
  inset-inline-start: 0;
}

.faq-item i::after {
  width: 1.5px;
  height: 12px;
  top: 0;
  inset-inline-start: 5px;
}

.faq-item.open i::after { transform: scaleY(0); }

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
}

.faq-item.open .faq-a { grid-template-rows: 1fr; }

.faq-a > div { overflow: hidden; }

.faq-a p {
  padding: 0 0 16px;
  color: var(--muted);
}

.contact {
  background: var(--navy);
  color: var(--ivory);
  padding: clamp(72px, 9vw, 120px) 0;
}

.contact .lede,
.contact .phone-block p { color: rgba(246, 241, 232, 0.84); }

.fact-label {
  margin: 0 0 4px;
  color: #c8b89a;
  font-size: 13px;
  font-weight: 700;
}

html[lang="en"] .fact-label {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 11px;
}

.phone-block { margin-top: 20px; }

.phone-link {
  display: block;
  width: fit-content;
  color: var(--ivory);
  text-decoration: none;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-weight: 600;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.25;
}

.phone-link.with-icon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.phone-link .btn-icon { width: 28px; height: 28px; }

.phone-link:hover { color: #e7d7bc; }

.contact-cta { margin-top: 26px; }

.ig-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 18px;
  font-size: 14px;
}

.ig-row a { color: #e7d7bc; }

.ig-row .icon-link { border-color: rgba(231, 215, 188, 0.55); }

.map-panel iframe {
  width: 100%;
  height: 420px;
  border: 1px solid rgba(154, 139, 116, 0.4);
  background: var(--navy-2);
}

.map-panel .text-link { display: inline-block; margin-top: 12px; }

.footer {
  background: #0b1118;
  color: rgba(246, 241, 232, 0.7);
  padding: 32px 0 28px;
}

.footer-grid { display: grid; gap: 8px; }

.footer p { font-size: 14px; }

.legal { color: rgba(246, 241, 232, 0.45); }

.mobile-bar { display: none; }

dialog {
  width: min(720px, calc(100% - 28px));
  border: 1px solid rgba(154, 139, 116, 0.45);
  background: var(--paper);
  color: var(--ink);
  padding: 22px;
}

dialog::backdrop { background: rgba(14, 22, 32, 0.72); }

.dialog-close {
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 8px;
}

.case-frame {
  background: #e7e2da;
  margin: 12px 0;
}

.case-frame img {
  display: block;
  width: 100%;
  max-height: 68vh;
  object-fit: contain;
  margin-inline: auto;
}

.case-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.case-switch button {
  min-height: 46px;
  border: 1px solid var(--line);
  background: transparent;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.case-switch button[aria-pressed="true"] {
  background: var(--navy);
  color: var(--ivory);
  border-color: var(--navy);
}

#player {
  width: 100%;
  max-height: 70vh;
  background: #000;
  margin-top: 12px;
}

dialog .fine { color: var(--muted); }

html.js .reveal {
  opacity: 0;
  transform: translateY(14px);
}

html.js .reveal.in {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (min-width: 980px) {
  .hero {
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    min-height: calc(100svh - var(--nav-h));
  }

  .hero-photo,
  .hero-photo img {
    min-height: 100%;
    max-height: none;
    height: calc(100svh - var(--nav-h));
  }
}

@media (max-width: 1200px) {
  .nav { padding-inline: 18px; gap: 14px; }
  .logo { font-size: 34px; }
  .logo-rule { height: 26px; }
  .nav-phone { display: none; }
  .menu-btn { display: grid; place-items: center; }

  .nav-links {
    position: fixed;
    inset: var(--nav-h) 0 58px 0;
    margin: 0;
    background: rgba(14, 22, 32, 0.98);
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 16px;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .nav-links.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-links a { font-size: 28px; padding: 8px 0; }
  html[lang="ar"] .nav-links a { font-family: "Amiri", serif; }
  html[lang="en"] .nav-links a { font-family: "Cormorant Garamond", serif; font-size: 32px; }
}

@media (max-width: 480px) {
  .nav { padding-inline: 14px; gap: 8px; }
  .logo { font-size: 32px; gap: 8px; }
  .logo-rule { height: 24px; }
  .lang { min-width: 56px; height: 40px; padding: 0 10px; font-size: 14px; }
}

@media (max-width: 900px) {
  .philosophy-grid,
  .feature-grid,
  .section-head,
  .contact-grid,
  .doctor-grid,
  .lead-grid,
  .case-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .video-grid { grid-template-columns: 1fr; }

  .hero-photo,
  .hero-photo img {
    min-height: 0;
    height: auto;
    max-height: none;
    aspect-ratio: 16 / 11;
  }

  .mobile-bar {
    position: fixed;
    z-index: 45;
    inset-inline: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .mobile-bar .btn { min-height: 56px; }
  .mobile-bar .btn-line { background: var(--navy); }

  body { padding-bottom: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; }
}

.results { padding: clamp(72px, 9vw, 110px) 0; }

.results-stage {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 44px minmax(0, 440px) 44px;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.results-track {
  min-width: 0;
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  background: var(--navy);
  outline-offset: 4px;
}

.results-track::-webkit-scrollbar { display: none; }

.results-track figure {
  flex: 0 0 100%;
  margin: 0;
  min-width: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.results-track img {
  display: block;
  width: 100%;
  height: min(68vh, 620px);
  object-fit: contain;
  background: var(--navy);
}

.results-arrow {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
}

.results-arrow svg { width: 18px; height: 18px; }

html[dir="rtl"] .results-arrow svg { transform: scaleX(-1); }

.results-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

@media (max-width: 700px) {
  .results-stage { grid-template-columns: minmax(0, 1fr); }
  .results-arrow { display: none; }
  .results-track img { height: min(62vh, 560px); }
}

@media (prefers-reduced-motion: reduce) {
  .results-track { scroll-behavior: auto; }
}

.rhino-case {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 40px;
}

.rhino-case figure {
  min-width: 0;
  margin: 0;
  background: #0e1620;
}

.rhino-case img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #0e1620;
}

.rhino-case figcaption {
  margin-top: 8px;
  color: #c8b89a;
  font-size: 13px;
  font-weight: 700;
}
