/* MOC concept — ui-ux-pro-max "Trust & Authority" style, brand palette from the MOC logo (burgundy + gold on ivory).
   Type: Newsreader + Figtree / Amiri + Readex Pro. Motion: stagger reveals (back.out), scroll-scrubbed hero. */
:root {
  --ink: #2A0B0E;          /* oxblood black, dark sections */
  --ink-2: #3A1016;
  --hero-bg: #280410;      /* top colour of the hero frames */
  --wine: #5B1018;         /* brand burgundy */
  --wine-2: #761A24;
  --surface: #FBF7F1;      /* ivory */
  --soft: #F3EBDF;         /* sand */
  --card: #FFFFFF;
  --line: #E6DACA;
  --line-dark: rgba(221, 190, 126, .22);
  --text: #2A1A1C;
  --muted: #6B5A55;
  --on-dark: #F6EFE4;
  --on-dark-muted: #CDBFB4;
  --gold: #B08A3E;          /* decor, buttons */
  --gold-dark: #7C5A1C;     /* gold text on light (5.9:1) */
  --gold-light: #DDBE7E;    /* gold text on dark (10:1) */
  --radius: 18px;
  --shadow: 0 1px 2px rgba(42, 11, 14, .05), 0 10px 30px -12px rgba(42, 11, 14, .18);
  --f-head: "Newsreader", Georgia, serif;
  --f-body: "Figtree", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
html[lang="ar"] { --f-head: "Amiri", "Newsreader", serif; --f-body: "Readex Pro", system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--surface); color: var(--text); font: 400 17px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-head); font-weight: 500; line-height: 1.1; margin: 0; letter-spacing: -.01em; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { letter-spacing: 0; line-height: 1.35; font-weight: 700; }
p { margin: 0; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.ic { width: 20px; height: 20px; flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* language switching */
html[lang="en"] [data-l="ar"], html[lang="ar"] [data-l="en"] { display: none !important; }
html[dir="rtl"] .arr { transform: scaleX(-1); }

/* ribbon + header */
.ribbon { background: var(--ink); color: var(--on-dark-muted); font-size: 12.5px; text-align: center; padding: 7px 16px; letter-spacing: .02em; position: relative; z-index: 31; }
.top { position: fixed; inset-inline: 0; top: 0; z-index: 30; transition: background .3s var(--ease), box-shadow .3s var(--ease), top .3s var(--ease); }
.top-in { display: flex; align-items: center; gap: 24px; height: 76px; }
.brand { display: block; width: 210px; flex: none; }
.brand img { width: 100%; }
.logo-light { display: none; }
.top.solid { top: 0; background: rgba(251, 247, 241, .97); box-shadow: 0 1px 0 var(--line), 0 8px 24px -16px rgba(42, 11, 14, .25); }
.top.solid .logo-dark { display: none; }
.top.solid .logo-light { display: block; }
.nav { display: flex; gap: 24px; margin-inline-start: auto; }
.nav a { text-decoration: none; color: var(--on-dark); font-weight: 500; font-size: 15px; padding: 10px 2px; border-bottom: 1px solid transparent; transition: border-color .2s, color .2s; }
.nav a:hover { border-color: var(--gold-light); }
.top.solid .nav a { color: var(--text); }
.top.solid .nav a:hover { border-color: var(--gold); }
.top-act { display: flex; align-items: center; gap: 10px; }
.lang { min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(246, 239, 228, .35); background: transparent; color: var(--on-dark); font: 500 14px var(--f-body); cursor: pointer; transition: background .2s, border-color .2s; }
.lang:hover { background: rgba(246, 239, 228, .1); }
.lang [data-l="en"] { font-family: "Readex Pro", sans-serif; }
.lang [data-l="ar"] { font-family: "Figtree", sans-serif; }
.top.solid .lang { color: var(--text); border-color: var(--line); }
.top.solid .lang:hover { background: var(--soft); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; font: 600 15.5px var(--f-body); text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: transform .2s var(--ease), background .2s, box-shadow .2s, color .2s, border-color .2s; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 14.5px; }
.btn-gold { background: var(--gold); color: var(--ink); box-shadow: 0 8px 24px -10px rgba(176, 138, 62, .7); }
.btn-gold:hover { background: #C29A4C; }
.btn-wine { background: var(--wine); color: var(--on-dark); }
.btn-wine:hover { background: var(--wine-2); }
.btn-line { border-color: var(--line); color: var(--wine); background: transparent; }
.btn-line:hover { border-color: var(--wine); background: rgba(91, 16, 24, .04); }
.btn-ghost-light { border-color: rgba(246, 239, 228, .45); color: var(--on-dark); }
.btn-ghost-light:hover { background: rgba(246, 239, 228, .1); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.center { text-align: center; margin-top: 40px; }
.link { display: inline-flex; align-items: center; gap: 8px; color: var(--wine); font-weight: 600; text-decoration: none; min-height: 44px; border-bottom: 1px solid var(--gold); }

/* HERO */
.hero { position: relative; height: 100vh; height: 100svh; background: var(--hero-bg); color: var(--on-dark); }
.hero-stage { position: absolute; inset: 0; overflow: hidden; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-shade { position: absolute; inset: 0; background: radial-gradient(125% 105% at 0% 0%, rgba(40, 4, 16, .95) 0%, rgba(40, 4, 16, .86) 40%, rgba(40, 4, 16, .35) 60%, transparent 74%), linear-gradient(180deg, rgba(40, 4, 16, .5) 0%, transparent 18%); pointer-events: none; }
.hero-ui { position: relative; height: 100%; display: flex; align-items: flex-start; padding-top: clamp(130px, 17vh, 170px); direction: ltr; }
.beats { position: relative; width: min(680px, 54%); }
.beat { position: absolute; inset: 0 0 auto 0; transform: translateY(14px); opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), transform .6s var(--ease), visibility 0s .5s; }
html[lang="ar"] .beat { direction: rtl; text-align: right; }
.beat.on { opacity: 1; visibility: visible; transform: none; transition: opacity .6s var(--ease), transform .7s var(--ease), visibility 0s; }
.eyebrow { color: var(--gold-light); font-size: 13.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
html[lang="ar"] .eyebrow { letter-spacing: 0; font-size: 15px; }
.hero h1, .hero .h1 { font-size: clamp(40px, 4.5vw, 66px); font-weight: 400; line-height: 1.02; }
html[lang="ar"] .hero h1, html[lang="ar"] .hero .h1 { line-height: 1.3; font-weight: 700; font-size: clamp(38px, 4.8vw, 66px); }
.lead { margin-top: 20px; font-size: clamp(16px, 1.35vw, 19px); color: var(--on-dark-muted); max-width: 30em; }
.hero-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(246, 239, 228, .12); }
.hero-bar i { display: block; height: 100%; background: var(--gold); transform-origin: left; transform: scaleX(0); }
.hero-hint { position: absolute; bottom: 26px; inset-inline-start: 50%; transform: translateX(-50%); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: rgba(42, 11, 14, .72); font-weight: 600; transition: opacity .4s; display: flex; flex-direction: column; align-items: center; gap: 8px; }
html[dir="rtl"] .hero-hint { transform: translateX(50%); letter-spacing: 0; }
.hero-hint::after { content: ""; width: 1px; height: 34px; background: linear-gradient(var(--wine), transparent); animation: drip 1.8s var(--ease) infinite; }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.hero-hint.gone { opacity: 0; }
.hero-note { position: absolute; bottom: 14px; inset-inline-end: 18px; font-size: 11px; color: rgba(42, 11, 14, .55); }

/* trust strip */
.trust { background: var(--surface); border-bottom: 1px solid var(--line); }
.trust-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.t-item { padding: 30px 22px; display: flex; flex-direction: column; gap: 4px; color: var(--muted); font-size: 15px; border-inline-start: 1px solid var(--line); }
.t-item:first-child { border-inline-start: 0; padding-inline-start: 0; }
.t-big { font: 400 44px/1 var(--f-head); color: var(--wine); display: inline-flex; align-items: center; gap: 8px; }
.t-mid { font: 500 26px/1.15 var(--f-head); color: var(--wine); }
.star { color: var(--gold); width: 24px; height: 24px; }
.t-item small { font-size: 13px; }

/* sections */
.sec { padding: clamp(80px, 10vw, 128px) 0; }
.sec-soft { background: var(--soft); }
.sec-dark { background: var(--ink); color: var(--on-dark); }
.sec-head { max-width: 720px; margin-bottom: 44px; }
.kicker { color: var(--gold-dark); font-size: 13.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
html[lang="ar"] .kicker { letter-spacing: 0; font-size: 15px; }
.kicker.on-dark { color: var(--gold-light); }
.sec h2, .chapters h2, .final h2 { font-size: clamp(34px, 4.2vw, 56px); }
.sub { margin-top: 16px; color: var(--muted); font-size: 18px; }
.note { margin-top: 26px; font-size: 13.5px; color: var(--muted); }

/* tabs + treatment cards */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 30px; }
.tabs button { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--text); font: 500 14.5px var(--f-body); cursor: pointer; transition: background .2s, color .2s, border-color .2s; white-space: nowrap; }
.tabs button:hover { border-color: var(--wine); }
.tabs button[aria-selected="true"] { background: var(--wine); border-color: var(--wine); color: var(--on-dark); }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(42, 11, 14, .06), 0 22px 40px -16px rgba(42, 11, 14, .3); }
.card[hidden] { display: none; }
.card-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--soft); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card-img img { transform: scale(1.04); }
.card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card h3 { font-size: 24px; color: var(--wine); }
.card p { color: var(--muted); font-size: 15px; }
.card .price { color: var(--gold-dark); font-weight: 600; font-size: 14px; margin-top: auto; padding-top: 6px; }
.card .btn { align-self: flex-start; min-height: 44px; padding: 0 16px; font-size: 14.5px; }

/* doctors */
.founder { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: center; margin-bottom: clamp(80px, 9vw, 120px); }
.frame { overflow: hidden; border-radius: var(--radius); }
.founder-img { aspect-ratio: 4 / 5; }
.founder-img img, .team-photo img { width: 100%; height: 112%; object-fit: cover; }
.founder-txt h2 { font-size: clamp(36px, 4vw, 54px); }
.role { margin-top: 10px; color: var(--gold-light); font-size: 17px; }
.creds { list-style: none; margin: 26px 0 30px; padding: 0; display: grid; gap: 12px; }
.creds li { position: relative; padding-inline-start: 26px; color: var(--on-dark-muted); font-size: 15.5px; }
.creds li::before { content: ""; position: absolute; inset-inline-start: 0; top: .55em; width: 12px; height: 1px; background: var(--gold); }
.team-head { margin-bottom: 36px; }
.docs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.doc { border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 24px 22px; display: flex; flex-direction: column; gap: 8px; background: var(--ink-2); transition: border-color .25s, transform .25s var(--ease); }
.doc:hover { border-color: rgba(221, 190, 126, .55); transform: translateY(-3px); }
.mono { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--gold); color: var(--gold-light); font: 500 18px var(--f-head); margin-bottom: 8px; direction: ltr; }
.doc h3 { font-size: 22px; }
.spec { color: var(--gold-light); font-size: 14.5px; font-weight: 500; }
.doc .q { color: var(--on-dark-muted); font-size: 13.5px; line-height: 1.5; }
.doc-wa { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--on-dark); font-weight: 600; font-size: 14.5px; text-decoration: none; }
.doc-wa:hover { color: var(--gold-light); }
.team-photo { margin: 56px 0 0; aspect-ratio: 16 / 7; position: relative; }
.team-photo img { object-position: center 78%; }
.team-photo figcaption { position: absolute; inset-inline-start: 20px; bottom: 16px; background: rgba(42, 11, 14, .82); color: var(--on-dark); padding: 8px 14px; border-radius: 999px; font-size: 13.5px; }

/* why */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.w { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; position: relative; }
.w-n { position: absolute; inset-inline-end: 22px; top: 18px; font: 400 15px var(--f-body); color: var(--gold-dark); background: var(--soft); border-radius: 999px; padding: 2px 10px; }
.w-n::after { content: "×"; margin-inline-start: 1px; }
.w h3 { font-size: 24px; color: var(--wine); margin-bottom: 12px; padding-inline-end: 50px; }
.w p { color: var(--muted); font-style: italic; }
html[lang="ar"] .w p { font-style: normal; }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps li { background: var(--card); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow); }
.s-n { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--wine); color: var(--on-dark); font: 500 20px var(--f-head); margin-bottom: 18px; }
.steps h3 { font-size: 25px; margin-bottom: 10px; color: var(--wine); }
.steps p { color: var(--muted); }

/* chapters */
.chapters { background: var(--ink); }
.ch { position: relative; min-height: 88vh; display: flex; align-items: flex-end; color: var(--on-dark); }
.ch-bg { position: absolute; inset: 0; border-radius: 0; }
.ch-bg img { width: 100%; height: 112%; object-fit: cover; object-position: center 25%; }
.ch::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(42, 11, 14, .95) 0%, rgba(42, 11, 14, .6) 38%, rgba(42, 11, 14, .1) 70%); }
.ch-cap { position: relative; z-index: 1; padding: 0 0 clamp(56px, 8vw, 96px); }
.ch-cap h2, .ch-cap p { max-width: 640px; }
.ch-cap p:not(.kicker) { margin-top: 18px; color: var(--on-dark-muted); font-size: 18px; }
.ch-teach .ch-bg img { object-position: 70% center; }
.ch-teach::after { background: linear-gradient(90deg, rgba(42, 11, 14, .92) 0%, rgba(42, 11, 14, .6) 40%, rgba(42, 11, 14, .05) 70%), linear-gradient(0deg, rgba(42, 11, 14, .6) 0%, transparent 40%); }
.ch-teach { align-items: center; }
.ch-teach .ch-cap { padding: 0; }

/* visit */
.visit { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.v { padding: 26px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.v-ic { width: 30px; height: 30px; color: var(--gold-dark); margin-bottom: 14px; }
.v h3 { font-size: 22px; color: var(--wine); margin-bottom: 8px; }
.v p { color: var(--muted); font-size: 15.5px; }

/* reviews */
.revs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rev { margin: 0; background: var(--card); border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 18px; }
.rev::before { content: "★★★★★"; color: var(--gold); letter-spacing: 2px; font-size: 15px; }
.rev p { font: 400 19px/1.5 var(--f-head); color: var(--text); }
html[lang="ar"] .rev p { font-size: 20px; }
.rev footer { margin-top: auto; color: var(--muted); font-size: 14px; font-weight: 600; }
.rev footer span { font-weight: 400; }
#reviews h2 { font-style: italic; }
html[lang="ar"] #reviews h2 { font-style: normal; }

/* faq */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font: 500 21px/1.35 var(--f-head); color: var(--wine); min-height: 44px; }
html[dir="rtl"] .faq summary { padding: 22px 0 22px 40px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; inset-inline-end: 6px; top: 50%; width: 12px; height: 12px; border-right: 1.5px solid var(--gold-dark); border-bottom: 1.5px solid var(--gold-dark); transform: translateY(-70%) rotate(45deg); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 46em; }

/* location */
.loc { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.loc-txt > p:not(.kicker) { margin-top: 14px; color: var(--muted); }
.hours { margin-top: 24px; border-collapse: collapse; width: 100%; max-width: 420px; font-size: 15.5px; }
.hours th, .hours td { text-align: start; padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.hours td { text-align: end; color: var(--wine); font-weight: 600; }
.map { aspect-ratio: 5 / 4; box-shadow: var(--shadow); background: var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* final */
.final { position: relative; min-height: 86vh; display: flex; align-items: center; color: var(--on-dark); background: var(--hero-bg); overflow: hidden; }
.final-bg { position: absolute; inset: 0; border-radius: 0; }
.final-bg img { width: 100%; height: 112%; object-fit: cover; object-position: 70% center; }
.final::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(40, 4, 16, .93) 0%, rgba(40, 4, 16, .7) 35%, rgba(40, 4, 16, .1) 62%); }
html[dir="rtl"] .final::after { background: linear-gradient(90deg, rgba(40, 4, 16, .93) 0%, rgba(40, 4, 16, .7) 35%, rgba(40, 4, 16, .1) 62%); }
.final-in { position: relative; z-index: 1; direction: ltr; }
.final-in > * { max-width: 520px; }
html[lang="ar"] .final-in > * { direction: rtl; text-align: right; }
.final-in p { margin-top: 18px; color: var(--on-dark-muted); font-size: 18px; }

/* footer + mobile bar */
.foot { background: var(--soft); padding: 56px 0 120px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.foot-in { display: grid; grid-template-columns: 260px 1fr; gap: 20px 48px; align-items: center; }
.foot-logo { width: 240px; }
.foot p { margin: 4px 0; }
.foot a { color: var(--wine); text-decoration: none; font-weight: 600; }
.foot-note { grid-column: 1 / -1; font-size: 13px; border-top: 1px solid var(--line); padding-top: 18px; }
.mbar { display: none; }

/* responsive */
@media (max-width: 1100px) {
  .cards, .docs { grid-template-columns: repeat(3, 1fr); }
  .nav { gap: 18px; }
}
@media (max-width: 899px) {
  .nav { display: none; }
  .top-act { margin-inline-start: auto; }
  .brand { width: 170px; }
  .top-in { height: 64px; }
  .hero-shade { background: linear-gradient(180deg, rgba(40, 4, 16, 1) 0%, rgba(40, 4, 16, .96) 30%, rgba(40, 4, 16, .45) 42%, transparent 52%); }
  .hero-ui { align-items: flex-start; padding-top: 112px; }
  .beats { width: 100%; min-height: 0; }
  .hero h1, .hero .h1 { font-size: clamp(32px, 9vw, 44px); }
  html[lang="ar"] .hero h1, html[lang="ar"] .hero .h1 { font-size: clamp(30px, 8.4vw, 40px); }
  .eyebrow { margin-bottom: 10px; font-size: 12px; }
  .lead { margin-top: 10px; font-size: 15px; }
  .beat .cta-row { display: none; }
  .hero-note { color: rgba(42, 11, 14, .6); bottom: 10px; }
  .hero-hint { bottom: 18px; }
  .trust-in { grid-template-columns: 1fr 1fr; }
  .t-item { padding: 22px 14px; }
  .t-item:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
  .t-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .t-big { font-size: 36px; }
  .founder, .faq-wrap, .loc { grid-template-columns: 1fr; }
  .founder-img { aspect-ratio: 4 / 3; }
  .why, .visit, .revs, .steps { grid-template-columns: 1fr 1fr; }
  .team-photo { aspect-ratio: 4 / 3; }
  .ch { min-height: 78vh; }
  .ch-teach { align-items: flex-end; }
  .ch-teach .ch-cap { padding: 0 0 56px; }
  .ch-teach::after { background: linear-gradient(0deg, rgba(42, 11, 14, .95) 0%, rgba(42, 11, 14, .6) 45%, rgba(42, 11, 14, .05) 75%); }
  .foot-in { grid-template-columns: 1fr; }
  .mbar { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; position: fixed; inset-inline: 0; bottom: 0; z-index: 40; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(251, 247, 241, .97); box-shadow: 0 -1px 0 var(--line), 0 -10px 24px -16px rgba(42, 11, 14, .3); }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 999px; text-decoration: none; font-weight: 600; border: 1px solid var(--line); color: var(--wine); }
  .mbar .mbar-wa { background: var(--wine); color: var(--on-dark); border-color: var(--wine); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .ribbon { font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .rb-x { display: none; }
  .wrap { width: calc(100% - 32px); }
  .top-act .btn-sm { display: none; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; scroll-snap-type: x proximity; }
  .tabs::-webkit-scrollbar { display: none; }
  .why, .visit, .revs, .steps, .docs { grid-template-columns: 1fr; }
  .docs { grid-template-columns: 1fr 1fr; gap: 12px; }
  .doc { padding: 18px 16px; }
  .doc h3 { font-size: 19px; }
  .ch-cap p:not(.kicker) { font-size: 16px; }
}
@media (max-width: 560px) {
  .cards { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin-inline: -16px; padding: 4px 16px 18px; scrollbar-width: none; }
  .cards::-webkit-scrollbar { display: none; }
  .card { flex: 0 0 82%; scroll-snap-align: center; }
  .docs { grid-template-columns: 1fr; }
}

/* ---------- multi-page additions ---------- */
.nav { align-items: center; }
.nav a.on { border-color: var(--gold-light); }
.top.solid .nav a.on { border-color: var(--gold); }
.nav-dd { position: relative; }
.nav-dd-btn { display: inline-flex; align-items: center; gap: 4px; background: none; border: 0; color: var(--on-dark); font: 500 15px var(--f-body); padding: 10px 2px; cursor: pointer; min-height: 44px; }
.top.solid .nav-dd-btn { color: var(--text); }
.chev { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.dd { position: absolute; top: 100%; inset-inline-start: -14px; min-width: 210px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 8px; display: grid; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s .18s; }
.nav-dd:hover .dd, .nav-dd:focus-within .dd, .nav-dd.open .dd { opacity: 1; visibility: visible; transform: none; transition: opacity .18s var(--ease), transform .18s var(--ease); }
.nav-dd:hover .chev, .nav-dd.open .chev { transform: rotate(180deg); }
.dd a { color: var(--text) !important; padding: 10px 12px !important; border-radius: 10px; border: 0 !important; }
.dd a:hover, .dd a.on { background: var(--soft); }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(246, 239, 228, .35); background: transparent; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.menu-btn span { width: 18px; height: 1.6px; background: var(--on-dark); transition: transform .25s var(--ease); }
.top.solid .menu-btn { border-color: var(--line); }
.top.solid .menu-btn span { background: var(--text); }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.8px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.8px) rotate(-45deg); }
.drawer { position: fixed; inset: 0; z-index: 29; background: var(--surface); padding-top: 110px; overflow-y: auto; }
.drawer[hidden] { display: none; }
.drawer-in { display: grid; gap: 2px; padding-bottom: 40px; }
.drawer-in a:not(.btn) { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; font: 500 22px/1.3 var(--f-head); color: var(--wine); }
.drawer-in .btn { margin-top: 22px; }
html.menu-open { overflow: hidden; }
html.menu-open .top { background: var(--surface); }
html.menu-open .top .logo-dark { display: none; }
html.menu-open .top .logo-light { display: block; }
html.menu-open .top .lang { color: var(--text); border-color: var(--line); }
html.menu-open .menu-btn { border-color: var(--line); }
html.menu-open .menu-btn span { background: var(--text); }

/* doctor photo cards */
.pdocs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pdoc { background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: border-color .25s, transform .25s var(--ease); }
.pdoc:hover { border-color: rgba(221, 190, 126, .55); transform: translateY(-3px); }
.pdoc-img { display: block; text-decoration: none; aspect-ratio: 4 / 5; overflow: hidden; background: radial-gradient(circle at 50% 36%, #5A1A24, #26080C 75%); }
.pdoc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pdoc:hover .pdoc-img img { transform: scale(1.03); }
.ph-mono { display: grid; place-items: center; width: 100%; height: 100%; font: 400 64px var(--f-head); color: var(--gold-light); letter-spacing: .04em; direction: ltr; }
.pdoc-body { padding: 18px 18px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pdoc h3 { font-size: 21px; }
.link-light { color: var(--on-dark); border-color: var(--gold-light); }

/* moments + videos */
.moments { display: grid; grid-template-columns: 1.1fr 1fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.m { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--soft); aspect-ratio: 4 / 3; }
.m-tall { grid-row: span 2; aspect-ratio: auto; }
.moments .m:nth-child(2) { grid-column: span 2; aspect-ratio: 16 / 7; }
.moments .m:nth-child(2) img { object-position: center 30%; }
.m img { width: 100%; height: 100%; object-fit: cover; }
.m figcaption { position: absolute; inset-inline: 12px; bottom: 12px; background: rgba(42, 11, 14, .84); color: var(--on-dark); padding: 7px 12px; border-radius: 10px; font-size: 13px; line-height: 1.4; width: fit-content; max-width: calc(100% - 24px); }
.videos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.yt { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; border-radius: var(--radius); overflow: hidden; cursor: pointer; background: var(--ink); color: var(--on-dark); text-align: start; }
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: opacity .3s, transform .6s var(--ease); }
.yt:hover img { opacity: 1; transform: scale(1.02); }
.yt::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(42, 11, 14, .9), transparent 55%); }
.yt-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 68px; height: 68px; border-radius: 50%; background: var(--gold); color: var(--ink); display: grid; place-items: center; z-index: 1; box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .5); transition: transform .2s var(--ease); }
.yt:hover .yt-play { transform: translate(-50%, -50%) scale(1.06); }
.yt-play .ic { width: 26px; height: 26px; margin-inline-start: 3px; }
.yt-t { position: absolute; inset-inline: 18px; bottom: 16px; z-index: 1; font: 500 19px/1.3 var(--f-head); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ch-btn { margin-top: 24px; }

.foot-nav { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot-nav a { min-height: 44px; display: inline-flex; align-items: center; font-weight: 500; }

/* ---------- sub-pages ---------- */
.page-hero { background: var(--ink); color: var(--on-dark); padding: 190px 0 clamp(64px, 8vw, 96px); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 120% at 100% 0%, rgba(176, 138, 62, .18), transparent 60%); }
.page-hero .wrap { position: relative; }
.crumbs { display: flex; gap: 8px; font-size: 13.5px; color: var(--on-dark-muted); margin-bottom: 22px; }
.crumbs a { color: var(--gold-light); text-decoration: none; }
.page-hero h1 { font-size: clamp(40px, 5.4vw, 72px); font-weight: 400; max-width: 16em; }
html[lang="ar"] .page-hero h1 { font-weight: 700; }
.page-hero .lead { max-width: 40em; }
.page-hero-split { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: end; }
.page-hero-img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; max-height: 520px; justify-self: end; width: 100%; }
.page-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.prose { max-width: 760px; }
.prose p, .prose li { color: var(--text); font-size: 17.5px; line-height: 1.75; }
.prose p + p, .prose p + ul, .prose ul + p { margin-top: 18px; }
.prose h2 { font-size: clamp(28px, 3vw, 38px); margin: 48px 0 16px; color: var(--wine); }
.prose h3 { font-size: 23px; margin: 30px 0 10px; color: var(--wine); }
.prose ul { padding-inline-start: 22px; margin: 14px 0; }
.prose li + li { margin-top: 8px; }
.prose a:not(.btn) { color: var(--wine); font-weight: 600; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fact { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.fact b { display: block; font: 400 34px/1.1 var(--f-head); color: var(--wine); margin-bottom: 8px; }
.fact p { color: var(--muted); font-size: 15.5px; }
.logos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; align-items: stretch; }
.logo-tile { background: #fff; border: 1px solid var(--line); border-radius: 14px; display: grid; place-items: center; padding: 18px; min-height: 110px; }
.logo-tile img { max-height: 64px; width: auto; object-fit: contain; }
.tl { list-style: none; padding: 0; margin: 0; border-inline-start: 1px solid var(--line); }
.tl li { position: relative; padding: 0 0 22px 26px; color: var(--muted); }
html[dir="rtl"] .tl li { padding: 0 26px 22px 0; }
.tl li::before { content: ""; position: absolute; inset-inline-start: -6px; top: .45em; width: 11px; height: 11px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px var(--surface); }
.tl b { display: block; color: var(--wine); font: 500 20px/1.3 var(--f-head); margin-bottom: 4px; }
.team-full { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.sec h2.kicker { font-size: 13.5px; }
html[lang="ar"] .sec h2.kicker { font-size: 15px; }
.tm { display: grid; grid-template-columns: 210px 1fr; gap: 26px; background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); scroll-margin-top: 100px; }
.tm-img { min-width: 0; min-height: 262px; aspect-ratio: auto; overflow: hidden; position: relative; background: radial-gradient(circle at 50% 36%, #5A1A24, #26080C 75%); }
.tm-img img, .tm-img .ph-mono { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.tm-body { min-width: 0; padding: 30px 30px 30px 0; display: flex; flex-direction: column; gap: 10px; }
html[dir="rtl"] .tm-body { padding: 30px 0 30px 30px; }
.tm h2 { font-size: clamp(24px, 2.2vw, 30px); color: var(--wine); }
.tm .spec { color: var(--gold-dark); font-size: 16px; }
.tm ul { margin: 6px 0 10px; padding-inline-start: 20px; color: var(--muted); }
.tm ul li + li { margin-top: 4px; }
.tm .cta-row { margin-top: auto; }
.callout { background: var(--wine); color: var(--on-dark); border-radius: var(--radius); padding: clamp(28px, 4vw, 44px); display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.callout h2 { font-size: clamp(26px, 3vw, 36px); }
.callout p { color: var(--on-dark-muted); margin-top: 10px; }
.quote { margin: 0; background: var(--card); border-radius: var(--radius); padding: 34px 32px; box-shadow: var(--shadow); }
.quote p { font: 400 22px/1.55 var(--f-head); }
.quote footer { margin-top: 18px; color: var(--muted); font-weight: 600; font-size: 15px; }
.form { display: grid; gap: 18px; background: var(--card); padding: clamp(24px, 4vw, 40px); border-radius: var(--radius); box-shadow: var(--shadow); }
.field { display: grid; gap: 8px; }
.field label { font-weight: 600; font-size: 15px; }
.field label small { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea { font: 400 16px var(--f-body); color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; min-height: 48px; width: 100%; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--wine); box-shadow: 0 0 0 3px rgba(91, 16, 24, .12); }
.field .err { color: #B42318; font-size: 14px; display: none; }
.field.bad .err { display: block; }
.field.bad input { border-color: #B42318; }
.form-note { font-size: 13.5px; color: var(--muted); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--muted); }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--wine); flex: none; }
.empty { text-align: center; padding: clamp(40px, 6vw, 72px) 24px; background: var(--card); border-radius: var(--radius); border: 1px dashed var(--line); }
.empty h2 { font-size: clamp(28px, 3vw, 38px); color: var(--wine); }
.empty p { color: var(--muted); margin: 12px auto 0; max-width: 34em; }
.poster { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #000; }
.toc { position: sticky; top: 100px; display: grid; gap: 4px; font-size: 15px; }
.toc a { color: var(--muted); text-decoration: none; padding: 8px 0; border-inline-start: 2px solid var(--line); padding-inline-start: 14px; }
.toc a:hover { color: var(--wine); border-color: var(--gold); }
.policy { display: grid; grid-template-columns: 240px 1fr; gap: 56px; }

@media (max-width: 1280px) {
  .nav { gap: 15px; }
  .nav a, .nav-dd-btn { font-size: 14px; }
  .brand { width: 180px; }
}
@media (max-width: 1140px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .top-act { margin-inline-start: auto; }
  .pdocs { grid-template-columns: repeat(3, 1fr); }
  .logos { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 899px) {
  .moments { grid-template-columns: 1fr 1fr; }
  .m-tall { grid-row: span 1; grid-column: span 2; aspect-ratio: 4 / 5; }
  .moments .m:nth-child(2) { aspect-ratio: 16 / 9; }
  .page-hero { padding-top: 150px; }
  .page-hero-split, .two, .policy { grid-template-columns: 1fr; }
  .page-hero-img { justify-self: start; max-height: 420px; aspect-ratio: 4 / 4.4; }
  .facts { grid-template-columns: 1fr 1fr; }
  .team-full { grid-template-columns: 1fr; }
  .tm { grid-template-columns: 160px 1fr; gap: 0; }
  .tm-img { aspect-ratio: auto; }
  .tm-body, html[dir="rtl"] .tm-body { padding: 24px; }
  .callout { grid-template-columns: 1fr; }
  .toc { position: static; display: none; }
}
@media (max-width: 640px) {
  .pdocs { grid-template-columns: 1fr 1fr; gap: 12px; }
  .tm { grid-template-columns: 1fr; }
  .tm-img { aspect-ratio: 4 / 4; }
  .pdoc-body { padding: 14px 12px 8px; }
  .pdoc h3 { font-size: 17px; }
  .pdoc .spec { font-size: 13px; }
  .videos, .facts { grid-template-columns: 1fr; }
  .moments { grid-template-columns: 1fr; }
  .m-tall, .moments .m:nth-child(2) { grid-column: span 1; }
  .logos { grid-template-columns: 1fr 1fr; }
  .yt-t { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* expired preview */
.expired-msg { display: none; }
html.expired body > *:not(.expired-msg) { display: none !important; }
html.expired body { background: var(--ink); }
html.expired .expired-msg { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; min-height: 100vh; padding: 32px 24px; text-align: center; color: var(--on-dark); }
.expired-msg img { width: 72px; height: auto; }
.expired-msg h1 { font: 400 clamp(28px, 4vw, 40px)/1.2 "Newsreader", serif; color: var(--gold-light); margin-top: 18px; }
.expired-msg h1[lang="ar"] { font-family: "Amiri", serif; font-weight: 700; margin-top: 36px; }
.expired-msg p { color: var(--on-dark-muted); max-width: 46ch; }
.expired-msg p[lang="ar"] { font-family: "Readex Pro", sans-serif; }

/* offers (managed in /admin) */
.offers { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.offer { display: grid; grid-template-columns: 1fr; background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.offer-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--soft); }
.offer-img img { width: 100%; height: 100%; object-fit: cover; }
.offer-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; }
.offer h3 { font-size: 24px; color: var(--wine); }
.offer p { color: var(--muted); font-size: 15.5px; }
.offer-until { color: var(--gold-dark) !important; font-weight: 600; font-size: 14px !important; }
.offer .btn { align-self: flex-start; min-height: 44px; font-size: 14.5px; }
