/* Al Manara Medical Center — design system v2
   White page, light-grey rounded cards, logo red #B90C23, near-black buttons. */
:root {
  --red: #B90C23;
  --red-2: #980A1D;
  --ink: #100F0F;
  --grey: #F5F5F5;
  --muted: #6E6A6A;
  --line: rgba(16, 15, 15, .1);
  --r-xl: 40px;
  --r-lg: 30px;
  --font: "Outfit", "Tajawal", system-ui, sans-serif;
  --pad: clamp(14px, 3vw, 40px);
  --gap: 14px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}
html[lang="ar"] { --font: "Tajawal", "Outfit", system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.lenis { scroll-behavior: auto; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.45; color: var(--ink); background: #fff; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, figure, dl { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--red); color: #fff; }

.wrap { width: 100%; max-width: 1360px; margin-inline: auto; padding-inline: var(--pad); }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }

.h2 { font-weight: 400; font-size: clamp(36px, 5vw, 68px); line-height: .98; letter-spacing: -.05em; text-wrap: balance; }
html[lang="ar"] .h2 { letter-spacing: 0; line-height: 1.25; font-weight: 500; }
.h2 em { font-style: normal; color: var(--red); }
.lede { color: var(--muted); font-size: clamp(15px, 1.2vw, 18px); line-height: 1.25; max-width: 46ch; letter-spacing: -.02em; }
html[lang="ar"] .lede { letter-spacing: 0; line-height: 1.6; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 26px; border-radius: 999px; border: 0; background: var(--ink); color: #fff; font-size: 14px; font-weight: 500; cursor: pointer; white-space: nowrap; transition: transform .35s var(--ease), background .25s, color .25s; }
.btn:hover { transform: translateY(-2px); background: var(--red); }
.btn:active { transform: scale(.97); }
.btn.white { background: #fff; color: var(--ink); } .btn.white:hover { background: var(--ink); color: #fff; }
.btn .arr, .link .arr { transition: transform .35s var(--ease); }
.btn:hover .arr, .link:hover .arr { transform: translateX(4px); }
[dir="rtl"] .arr { scale: -1 1; }
.link { font-weight: 500; display: inline-flex; gap: 8px; align-items: center; background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 1px; transition: background-size .4s var(--ease); padding-bottom: 2px; }
[dir="rtl"] .link { background-position: 100% 100%; }
.link:hover { background-size: 100% 1px; }
.circ { width: 44px; height: 44px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; flex: none; transition: background .25s, transform .35s var(--ease); }
.circ:hover { background: var(--ink); transform: translateY(-2px); }
.go { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; transition: background .3s, color .3s, opacity .3s, transform .45s var(--ease); }
[dir="rtl"] .go svg { scale: -1 1; }

/* ---------- nav ---------- */
.nav { position: fixed; top: 12px; inset-inline: 0; z-index: 50; transition: transform .5s var(--ease); }
.nav.hide { transform: translateY(-130%); }
.nav-bar { display: grid; grid-template-columns: auto 1fr auto 1fr auto; align-items: center; gap: clamp(10px, 1.6vw, 24px); height: 64px; padding: 0 10px; border-radius: 999px; background: rgba(245,245,245,.88); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.nav-social { display: flex; gap: 6px; }
.nav-links { display: flex; gap: clamp(12px, 1.6vw, 26px); font-size: 14px; }
.nav-l { justify-content: flex-end; } .nav-r { justify-content: flex-start; }
.nav-links a { padding: 10px 0; white-space: nowrap; transition: color .25s; }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--red); }
.brand { display: block; width: 78px; height: 78px; margin-block: -7px; border-radius: 50%; background: #fff; box-shadow: 0 6px 20px -8px rgba(16,15,15,.3); transition: transform .45s var(--ease); }
.brand:hover { transform: scale(1.06) rotate(-4deg); }
.brand img { width: 100%; height: 100%; }
.nav-end { display: flex; align-items: center; gap: 6px; }
.lang { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: #fff; font-weight: 500; font-size: 13px; transition: background .25s, color .25s; }
.lang:hover { background: var(--red); color: #fff; }
.nav-end .btn { min-height: 44px; padding: 0 18px; font-size: 13px; }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--ink); cursor: pointer; position: relative; }
.burger i { position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; transition: transform .35s var(--ease), top .35s var(--ease); }
.burger i:first-child { top: 17px; } .burger i:last-child { top: 25px; }
.burger[aria-expanded="true"] i:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] i:last-child { top: 21px; transform: rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 40; background: rgba(255,255,255,.98); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); padding: 104px var(--pad) 40px; display: flex; flex-direction: column; gap: 2px; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; overflow: auto; }
.menu.open { opacity: 1; visibility: visible; }
.menu > a:not(.btn) { font-size: clamp(28px, 8vw, 40px); letter-spacing: -.04em; padding: 8px 0; border-bottom: 1px solid var(--line); }
html[lang="ar"] .menu > a { letter-spacing: 0; }
.menu .btn { margin-top: 22px; }

/* ---------- hero ---------- */
.hero { padding-top: 90px; display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.hero-card { background: var(--grey); border-radius: var(--r-xl); padding: clamp(22px, 2.6vw, 36px); display: flex; flex-direction: column; min-height: min(calc(100svh - 110px), 760px); }
.hero-photo { position: relative; border-radius: var(--r-xl); overflow: hidden; min-height: 420px; background: var(--grey); }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.trust { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; background: #fff; border-radius: 999px; padding: 6px 16px 6px 6px; font-size: 13px; color: var(--muted); }
.trust b { color: var(--red); font-weight: 600; }
.faces { display: flex; }
.faces img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; margin-inline-start: -10px; }
.faces img:first-child { margin-inline-start: 0; }
.hero-mid { margin-block: auto; padding-block: 28px; display: grid; }
.kicker { justify-self: end; font-size: clamp(18px, 2vw, 28px); font-weight: 500; letter-spacing: -.04em; margin-bottom: -.25em; position: relative; z-index: 1; }
html[lang="ar"] .kicker { letter-spacing: 0; margin-bottom: 0; }
.wordmark { color: var(--red); font-weight: 600; font-size: clamp(64px, 8.6vw, 132px); line-height: .9; letter-spacing: -.065em; white-space: nowrap; margin-inline-start: -.04em; }
html[lang="ar"] .wordmark { letter-spacing: 0; line-height: 1.2; font-weight: 700; font-size: clamp(72px, 10vw, 150px); }
.wordmark span { display: block; overflow: hidden; padding-block: .06em; }
.wordmark b { display: block; font-weight: inherit; }
.hero-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 22px; }
.hero-row p { color: var(--muted); font-size: clamp(15px, 1.3vw, 19px); line-height: 1.15; letter-spacing: -.02em; max-width: 24ch; }
html[lang="ar"] .hero-row p { letter-spacing: 0; line-height: 1.5; }
.hero-foot { display: flex; align-items: center; gap: 14px; font-size: 12.5px; color: var(--muted); line-height: 1.2; }
.hero-foot p { max-width: 26ch; }
.thumbs { display: flex; gap: 6px; }
.thumbs img { width: 62px; height: 62px; border-radius: 50%; object-fit: cover; transition: transform .45s var(--ease); }
.thumbs img:hover { transform: scale(1.1); }

.js [data-enter] .hero-card > * { opacity: 0; transform: translateY(16px); }
.js [data-enter] .wordmark b, .js [data-enter] .page-title b { transform: translateY(105%); }
.js [data-enter] .hero-photo img { transform: scale(1.14); }
.js .entered .hero-card > * { opacity: 1; transform: none; transition: opacity .9s var(--ease) .15s, transform .9s var(--ease) .15s; }
.js .entered .hero-card > *:nth-child(3) { transition-delay: .35s; }
.js .entered .wordmark b, .js .entered .page-title b { transform: none; transition: transform 1.1s var(--ease) .1s; }
.js .entered .hero-photo img { transform: scale(1); transition: transform 1.8s var(--ease); }

/* ---------- sections ---------- */
.section { padding-top: clamp(64px, 8vw, 120px); }
.section.tight { padding-top: var(--gap); }
.head { display: grid; gap: 10px; margin-bottom: clamp(28px, 3.4vw, 48px); }
.head.center { text-align: center; justify-items: center; }
.head.split { grid-template-columns: 1fr auto; align-items: end; }
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* red band */
.band { background: var(--red); color: #fff; border-radius: var(--r-xl); padding: clamp(22px, 2.6vw, 36px); display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 44px); }
.band-main { display: flex; flex-direction: column; gap: 16px; padding: clamp(4px, 1vw, 14px) 0 clamp(4px, 1vw, 14px) clamp(4px, 1vw, 10px); }
.band-main > p { max-width: 44ch; line-height: 1.15; letter-spacing: -.02em; font-size: clamp(15px, 1.2vw, 18px); }
html[lang="ar"] .band-main > p { letter-spacing: 0; line-height: 1.6; }
.feats { margin-top: auto; padding-top: clamp(30px, 5vw, 70px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feats h3 { font-weight: 400; font-size: clamp(18px, 1.5vw, 22px); line-height: 1; letter-spacing: -.03em; margin-bottom: 10px; }
html[lang="ar"] .feats h3 { letter-spacing: 0; line-height: 1.4; font-weight: 500; }
.feats p { font-size: 13px; line-height: 1.2; color: rgba(255,255,255,.84); }
html[lang="ar"] .feats p { line-height: 1.6; }
.band-card { background: #fff; color: var(--ink); border-radius: var(--r-lg); padding: 28px 24px 0; display: grid; justify-items: center; text-align: center; gap: 14px; overflow: hidden; align-content: start; }
.band-card h3 { font-weight: 400; font-size: clamp(26px, 2.4vw, 34px); line-height: .98; letter-spacing: -.045em; }
html[lang="ar"] .band-card h3 { letter-spacing: 0; line-height: 1.35; font-weight: 500; }
.band-card p { font-size: 13px; line-height: 1.2; color: var(--muted); max-width: 30ch; }
.band-card img { width: 100%; height: 190px; object-fit: cover; border-radius: 22px 22px 0 0; margin-top: 8px; transition: transform .8s var(--ease); }
.band-card:hover img { transform: translateY(-6px) scale(1.03); }

/* departments */
.progs { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.prog-photo { grid-row: span 2; position: relative; border-radius: var(--r-xl); overflow: hidden; min-height: 520px; }
.prog-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.prog-photo:hover img { transform: scale(1.04); }
.prog { position: relative; background: var(--grey); border-radius: var(--r-lg); padding: clamp(22px, 2.2vw, 32px); min-height: 252px; display: flex; flex-direction: column; justify-content: space-between; gap: 30px; transition: background .4s, color .4s, transform .45s var(--ease); }
.prog h3 { color: var(--red); font-weight: 400; font-size: clamp(30px, 3vw, 44px); line-height: .92; letter-spacing: -.05em; max-width: 9ch; padding-inline-end: 50px; transition: color .4s; }
html[lang="ar"] .prog h3 { letter-spacing: 0; line-height: 1.25; font-weight: 500; max-width: none; }
.prog ul { display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 4px 22px; font-size: 12.5px; color: var(--muted); transition: color .4s; }
.prog li { display: flex; gap: 7px; } .prog li::before { content: "•"; }
.prog .go { position: absolute; top: 22px; inset-inline-end: 22px; opacity: 0; transform: scale(.6); background: #fff; color: var(--ink); }
.prog:hover, .prog.on { background: var(--red); color: #fff; transform: translateY(-3px); }
.prog:hover h3, .prog.on h3, .prog:hover ul, .prog.on ul { color: #fff; }
.prog:hover .go, .prog.on .go { opacity: 1; transform: none; }
.prog.wide { grid-column: 1 / -1; min-height: 0; flex-direction: row; align-items: center; }
.prog.wide h3 { max-width: none; }
.prog.wide ul { grid-template-columns: repeat(4, minmax(0, max-content)); margin-inline-end: 70px; }

/* about split */
.split { display: grid; grid-template-columns: 1fr 1.25fr; gap: var(--gap); }
.split-red { background: var(--red); color: #fff; border-radius: var(--r-xl); padding: clamp(28px, 4vw, 60px); display: grid; place-content: center; justify-items: center; text-align: center; gap: 20px; min-height: 500px; }
.split-red h2 { font-weight: 400; font-size: clamp(34px, 3.6vw, 52px); line-height: .96; letter-spacing: -.05em; max-width: 10ch; }
html[lang="ar"] .split-red h2 { letter-spacing: 0; line-height: 1.3; font-weight: 500; max-width: none; }
.split-red p { font-size: 14px; line-height: 1.35; max-width: 44ch; color: rgba(255,255,255,.9); }
.split-photo { position: relative; border-radius: var(--r-xl); overflow: hidden; min-height: 500px; }
.split-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.pin { position: absolute; display: flex; align-items: center; color: #fff; font-size: 12.5px; white-space: nowrap; direction: ltr; }
.pin i { width: 9px; height: 9px; border-radius: 50%; background: #fff; animation: ping 2.6s infinite; }
.pin::after { content: ""; order: 1; width: clamp(40px, 7vw, 110px); height: 1px; background: rgba(255,255,255,.85); margin-inline: 8px 10px; }
.pin span { order: 2; text-shadow: 0 1px 8px rgba(0,0,0,.4); }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.6); } 70% { box-shadow: 0 0 0 10px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }

/* guide + lens */
.guide { background: var(--grey); border-radius: var(--r-xl); display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(20px, 3vw, 44px); padding: clamp(14px, 1.6vw, 22px); align-items: stretch; }
.lens-stage { position: relative; aspect-ratio: 1280 / 880; border-radius: var(--r-lg); overflow: hidden; cursor: none; touch-action: pan-y; align-self: center; }
.lens-stage > img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.lens { position: absolute; left: 0; top: 0; width: clamp(130px, 15vw, 210px); aspect-ratio: 1; border-radius: 50%; pointer-events: none; border: 2px solid #fff; box-shadow: 0 30px 60px -20px rgba(16,15,15,.6); background-repeat: no-repeat; transform: translate(-50%, -50%); will-change: left, top, background-position; }
.lens-hint { position: absolute; inset-inline-start: 16px; bottom: 16px; background: var(--red); color: #fff; padding: 12px 18px; border-radius: 18px; font-size: 12.5px; line-height: 1.25; max-width: 30ch; }
.guide-copy { display: flex; flex-direction: column; align-items: flex-end; text-align: end; gap: 16px; padding: clamp(14px, 2.4vw, 34px) clamp(8px, 1.6vw, 22px); }
.guide-copy h2 { color: var(--red); font-weight: 400; font-size: clamp(34px, 4.2vw, 62px); line-height: .94; letter-spacing: -.05em; }
html[lang="ar"] .guide-copy h2 { letter-spacing: 0; line-height: 1.25; font-weight: 500; }
.guide-copy p { color: var(--muted); line-height: 1.25; max-width: 38ch; letter-spacing: -.01em; }
.tiles-s { margin-top: auto; display: flex; gap: 8px; padding-top: 24px; }
.tiles-s img { width: 96px; height: 104px; object-fit: cover; border-radius: 22px; transition: transform .45s var(--ease); }
.tiles-s img:hover { transform: translateY(-4px) rotate(-2deg); }

/* statement */
.statement { position: relative; max-width: 980px; margin-inline: auto; text-align: center; padding: 48px 0; }
.statement p { font-size: clamp(24px, 3.3vw, 44px); line-height: 1.04; letter-spacing: -.045em; text-wrap: balance; }
html[lang="ar"] .statement p { letter-spacing: 0; line-height: 1.45; }
.tag { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px 6px 6px; border-radius: 999px; background: var(--grey); font-size: 14px; font-weight: 500; white-space: nowrap; animation: bob 5s ease-in-out infinite; }
.tag img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.tag b { color: var(--red); font-weight: 600; }
.tag.red { background: var(--red); color: #fff; } .tag.red b { color: #fff; }
.tag.t1 { top: 0; left: 4%; } .tag.t2 { top: 6px; right: 14%; animation-delay: -1.2s; } .tag.t3 { bottom: 0; left: 22%; animation-delay: -2.4s; } .tag.t4 { bottom: 4px; right: 4%; animation-delay: -3.6s; }
@keyframes bob { 50% { transform: translateY(-7px); } }

/* popular cards */
.pcards { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.pcard { background: var(--grey); border-radius: var(--r-lg); padding: 12px; display: flex; flex-direction: column; gap: 14px; transition: transform .45s var(--ease); }
.pcard:hover { transform: translateY(-4px); }
.pcard-img { position: relative; aspect-ratio: 1 / 1.05; border-radius: 22px; overflow: hidden; }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pcard:hover .pcard-img img { transform: scale(1.05); }
.pcard-tag { position: absolute; top: 10px; inset-inline-start: 10px; background: var(--red); color: #fff; font-size: 11.5px; font-weight: 500; padding: 5px 12px; border-radius: 999px; }
.pcard-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; padding: 0 8px 8px; margin-top: auto; }
.pcard h3 { font-weight: 400; font-size: 19px; line-height: 1.05; letter-spacing: -.03em; }
html[lang="ar"] .pcard h3 { letter-spacing: 0; line-height: 1.4; font-weight: 500; }
.pcard .btn { min-height: 38px; padding: 0 16px; font-size: 12.5px; }
.pcard:hover .btn { background: var(--red); }

/* tabs */
.tabs { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.7fr); gap: var(--gap); }
.tablist { background: var(--grey); border-radius: var(--r-lg); padding: 12px; display: grid; align-content: start; gap: 4px; }
.tab { text-align: start; padding: 16px 20px; border-radius: 999px; border: 0; background: transparent; cursor: pointer; font-size: 16px; display: flex; gap: 14px; align-items: baseline; letter-spacing: -.02em; transition: background .3s, color .3s; }
html[lang="ar"] .tab { letter-spacing: 0; }
.tab span { color: var(--red); font-size: 13px; transition: color .3s; }
.tab:hover { background: #fff; }
.tab[aria-selected="true"] { background: var(--red); color: #fff; } .tab[aria-selected="true"] span { color: #fff; }
.tabpanels { background: var(--grey); border-radius: var(--r-lg); display: grid; grid-template-columns: 1.1fr .9fr; overflow: hidden; }
.tabpanel { padding: clamp(24px, 3vw, 44px); display: grid; gap: 14px; align-content: center; }
.tabpanel[hidden] { display: none; }
.tabpanel h3 { color: var(--red); font-weight: 400; font-size: clamp(28px, 3vw, 42px); line-height: .98; letter-spacing: -.045em; }
html[lang="ar"] .tabpanel h3 { letter-spacing: 0; line-height: 1.35; font-weight: 500; }
.tabpanel p { color: var(--muted); font-size: 15px; }
.js .tabpanel:not([hidden]) > * { animation: rise .6s var(--ease) both; }
.js .tabpanel:not([hidden]) > *:nth-child(2) { animation-delay: .06s; } .js .tabpanel:not([hidden]) > *:nth-child(3) { animation-delay: .12s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.tab-photo { position: relative; min-height: 340px; margin: 12px; border-radius: 22px; overflow: hidden; }
.tab-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* faq */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); align-items: stretch; }
.faq { display: grid; gap: 10px; align-content: start; }
.faq details { background: var(--grey); border-radius: var(--r-lg); padding: 0 12px 0 30px; transition: background .35s, color .35s; }
[dir="rtl"] .faq details { padding: 0 30px 0 12px; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 0; min-height: 74px; font-size: clamp(17px, 1.5vw, 20px); letter-spacing: -.03em; line-height: 1.05; }
html[lang="ar"] .faq summary { letter-spacing: 0; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .go svg { transform: rotate(90deg); transition: transform .4s var(--ease); }
.faq details[open] { background: var(--red); color: #fff; }
.faq details[open] .go { background: #fff; color: var(--ink); }
.faq details[open] .go svg { transform: none; }
.faq .ans { padding: 14px 18px 26px 0; border-top: 1px solid rgba(255,255,255,.5); display: grid; gap: 8px; font-size: 13.5px; line-height: 1.3; }
.faq-photo { position: relative; border-radius: var(--r-xl); overflow: hidden; min-height: 460px; }
.faq-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* service cards */
.svcs { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.svc { position: relative; background: var(--grey); border-radius: var(--r-lg); padding: 26px; display: grid; gap: 12px; align-content: start; min-height: 210px; transition: transform .45s var(--ease), background .4s, color .4s; }
.svc-n { font-size: 13px; color: var(--red); transition: color .4s; }
.svc h3 { color: var(--red); font-weight: 400; font-size: clamp(24px, 2.2vw, 30px); line-height: .98; letter-spacing: -.045em; padding-inline-end: 54px; transition: color .4s; }
html[lang="ar"] .svc h3 { letter-spacing: 0; line-height: 1.35; font-weight: 500; }
.svc p { color: var(--muted); font-size: 13.5px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; transition: color .4s; }
.svc .go { position: absolute; top: 20px; inset-inline-end: 20px; width: 42px; height: 42px; }
.svc:hover { background: var(--red); color: #fff; transform: translateY(-3px); }
.svc:hover h3, .svc:hover p, .svc:hover .svc-n { color: #fff; }
.svc:hover .go { background: #fff; color: var(--ink); }

/* booking */
.cta-band { display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--gap); }
.card { background: var(--grey); border-radius: var(--r-xl); padding: clamp(24px, 3vw, 44px); display: grid; gap: 16px; align-content: start; }
.card h2, .card h3 { font-weight: 400; font-size: clamp(32px, 3.4vw, 48px); line-height: .96; letter-spacing: -.05em; }
html[lang="ar"] .card h2, html[lang="ar"] .card h3 { letter-spacing: 0; line-height: 1.3; font-weight: 500; }
.card > p { color: var(--muted); font-size: 15px; line-height: 1.25; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
.field.full { grid-column: 1 / -1; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 20px; border-radius: 26px; border: 1px solid transparent; background: #fff; color: var(--ink); font-size: 15px; transition: border-color .25s, box-shadow .25s; }
.field textarea { min-height: 100px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--red); box-shadow: 0 0 0 4px rgba(185,12,35,.12); }
.form .btn { grid-column: 1 / -1; }
.form-note { grid-column: 1 / -1; font-size: 12.5px; color: var(--muted); }
.info div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); font-size: 15px; }
.info dt { color: var(--muted); font-size: 13px; }
.info dd { margin: 0; }
.info a:hover { color: var(--red); }

/* ---------- inner pages ---------- */
.page-hero { padding-top: 90px; display: grid; grid-template-columns: 1.25fr 1fr; gap: var(--gap); }
.page-hero .hero-card { min-height: 440px; gap: 30px; align-items: flex-start; }
.page-hero .hero-photo { min-height: 320px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; background: #fff; border-radius: 999px; padding: 8px 16px; }
.crumbs a { color: var(--muted); } .crumbs a:hover { color: var(--red); }
.crumbs span::before { content: "/"; margin-inline-end: 8px; opacity: .4; }
.page-title { color: var(--red); font-weight: 500; font-size: clamp(46px, 6.2vw, 100px); line-height: .9; letter-spacing: -.06em; text-wrap: balance; overflow: hidden; padding-block: .08em; margin-top: auto; }
html[lang="ar"] .page-title { letter-spacing: 0; line-height: 1.2; font-weight: 700; }
.page-title b { display: block; font-weight: inherit; }
.page-hero-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; width: 100%; }

.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: var(--gap); align-items: start; }
.prose { background: var(--grey); border-radius: var(--r-xl); padding: clamp(24px, 4vw, 60px); display: grid; gap: 16px; }
.prose h2 { color: var(--red); font-weight: 400; font-size: clamp(28px, 3vw, 42px); line-height: 1; letter-spacing: -.045em; margin-top: 24px; scroll-margin-top: 100px; text-wrap: balance; }
html[lang="ar"] .prose h2 { letter-spacing: 0; line-height: 1.4; font-weight: 500; }
.prose > h2:first-child { margin-top: 0; }
.prose h3 { font-size: 20px; font-weight: 500; line-height: 1.2; letter-spacing: -.02em; margin-top: 8px; }
.prose p { color: #3d3a3a; font-size: 16.5px; line-height: 1.6; max-width: 72ch; }
.prose ul { display: grid; gap: 8px; max-width: 72ch; }
.prose li { position: relative; padding-inline-start: 24px; color: #3d3a3a; }
.prose li::before { content: ""; position: absolute; inset-inline-start: 4px; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.aside { position: sticky; top: 92px; display: grid; gap: var(--gap); }
.toc { background: var(--grey); border-radius: var(--r-lg); padding: 24px; display: grid; gap: 2px; max-height: 46vh; overflow: auto; }
.toc strong { font-size: 13px; color: var(--red); font-weight: 500; margin-bottom: 8px; }
.toc a { font-size: 14px; line-height: 1.25; padding: 7px 0; color: var(--muted); padding-inline-start: 12px; border-inline-start: 2px solid var(--line); transition: color .25s, border-color .25s; }
.toc a:hover, .toc a.on { color: var(--ink); border-color: var(--red); }
.book { background: var(--red); color: #fff; border-radius: var(--r-lg); padding: 24px; display: grid; gap: 12px; }
.book h3 { font-weight: 400; font-size: 30px; line-height: .98; letter-spacing: -.045em; }
html[lang="ar"] .book h3 { letter-spacing: 0; line-height: 1.35; font-weight: 500; }
.book p { font-size: 13.5px; line-height: 1.3; color: rgba(255,255,255,.88); }
.book .btn:hover { background: #fff; color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { background: var(--grey); padding: 12px 20px; border-radius: 999px; font-size: 14px; transition: background .25s, color .25s, transform .35s var(--ease); }
.chip:hover { background: var(--red); color: #fff; transform: translateY(-2px); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.group-list { display: grid; gap: 54px; }
.group h2 { font-weight: 400; font-size: clamp(30px, 3.4vw, 48px); letter-spacing: -.05em; line-height: 1; margin-bottom: 18px; display: flex; gap: 14px; align-items: baseline; }
html[lang="ar"] .group h2 { letter-spacing: 0; font-weight: 500; }
.group h2 small { font-size: 14px; color: var(--red); letter-spacing: 0; }
.group h2 a:hover { color: var(--red); }

/* ---------- footer ---------- */
.footer-wrap { padding-top: clamp(64px, 8vw, 120px); padding-bottom: var(--gap); }
.footer { background: var(--red); color: #fff; border-radius: var(--r-xl); padding: clamp(24px, 3vw, 44px) clamp(24px, 3vw, 44px) 0; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: clamp(24px, 4vw, 56px); }
.footer-cta { display: grid; gap: 18px; align-content: start; justify-items: start; }
.footer-cta p { font-size: clamp(16px, 1.4vw, 20px); line-height: 1.1; letter-spacing: -.02em; max-width: 22ch; }
html[lang="ar"] .footer-cta p { letter-spacing: 0; line-height: 1.5; }
.mini { display: flex; border: 1px solid rgba(255,255,255,.7); border-radius: 999px; padding: 3px; width: min(100%, 340px); }
.mini input { flex: 1; min-width: 0; background: transparent; border: 0; color: #fff; padding: 0 18px; font-size: 14px; outline: 0; }
.mini input::placeholder { color: rgba(255,255,255,.78); }
.mini .btn { min-height: 42px; padding: 0 20px; } .mini .btn:hover { background: #fff; color: var(--ink); }
.footer li { margin-bottom: 9px; font-size: 14px; }
.footer li a:hover { text-decoration: underline; }
.footer-bottom { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between; font-size: 12.5px; opacity: .85; }
.footer-word { display: grid; justify-items: center; margin-top: clamp(20px, 4vw, 60px); line-height: 1; }
.footer-word small { justify-self: end; font-size: clamp(20px, 4.4vw, 64px); font-weight: 500; letter-spacing: -.04em; margin-inline-end: 8%; margin-bottom: -.1em; }
.footer-word span { font-weight: 600; font-size: clamp(70px, 19.5vw, 300px); letter-spacing: -.07em; line-height: .78; margin-bottom: -.14em; white-space: nowrap; }
html[lang="ar"] .footer-word small, html[lang="ar"] .footer-word span { letter-spacing: 0; }
html[lang="ar"] .footer-word span { line-height: 1.1; margin-bottom: -.3em; font-weight: 700; }
.wa { position: fixed; z-index: 45; inset-inline-end: 16px; bottom: 16px; height: 52px; padding: 0 20px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 500; font-size: 14px; display: inline-flex; align-items: center; gap: 10px; box-shadow: 0 16px 34px -14px rgba(16,15,15,.7); transition: transform .35s var(--ease), background .25s; }
.wa:hover { transform: translateY(-3px); background: var(--red); }

/* ---------- responsive ---------- */
@media (max-width: 1120px) {
  .nav-bar { grid-template-columns: auto 1fr auto; }
  .nav-links, .nav-social { display: none; }
  .brand { width: 60px; height: 60px; margin-block: 0; justify-self: start; grid-column: 1; }
  .nav-end { grid-column: 3; }
  .burger { display: block; }
  .nav-end .btn span { display: none; } .nav-end .btn { width: 44px; padding: 0; }
  .article-grid { grid-template-columns: 1fr; }
  .aside { position: static; grid-template-columns: 1fr 1fr; }
  .toc { max-height: none; }
  .svcs, .pcards, .feats, .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .hero, .page-hero, .band, .split, .guide, .tabs, .faq-grid, .cta-band, .about-grid { grid-template-columns: 1fr; }
  .hero-card { min-height: 0; gap: 26px; }
  .hero-photo { min-height: 110vw; }
  .page-hero .hero-card { min-height: 340px; }
  .page-hero .hero-photo { min-height: 70vw; }
  .wordmark { font-size: clamp(60px, 19vw, 150px); }
  .progs { grid-template-columns: 1fr; }
  .prog-photo { grid-row: auto; min-height: 110vw; }
  .prog.wide { flex-direction: column; align-items: stretch; }
  .prog ul, .prog.wide ul { grid-template-columns: 1fr 1fr; margin: 0; }
  .prog h3 { max-width: none; }
  .split-photo { min-height: 110vw; }
  .split-red { min-height: 0; }
  .guide-copy { align-items: flex-start; text-align: start; }
  .lens-stage { cursor: default; }
  .statement { padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
  .statement p { order: -1; margin-bottom: 14px; }
  .tag { position: static; animation: none; }
  .tabpanels { grid-template-columns: 1fr; }
  .tab-photo { min-height: 240px; order: -1; }
  .tablist { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; border-radius: 999px; padding: 6px; }
  .tab { padding: 12px 18px; }
  .faq-photo { min-height: 90vw; }
  .head.split { grid-template-columns: 1fr; justify-items: start; }
  .aside { grid-template-columns: 1fr; }
  .page-hero-row { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  :root { --r-xl: 30px; --r-lg: 26px; }
  .svcs, .pcards, .form, .footer-top, .feats { grid-template-columns: 1fr; }
  .hero-row { flex-direction: column; align-items: flex-start; }
  .wa span { display: none; } .wa { padding: 0; width: 52px; justify-content: center; }
  .info div { grid-template-columns: 1fr; gap: 2px; }
  .pin::after { width: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js [data-reveal], .js [data-enter] * { opacity: 1 !important; transform: none !important; }
}

/* ---------- refinements ---------- */
.thumbs, .faces { flex: none; }
.footer-top > * { min-width: 0; }
@media (max-width: 560px) {
  .mini { width: 100%; }
  .mini .btn { padding: 0 14px; font-size: 13px; }
  .hero-foot { align-items: flex-start; flex-direction: column; }
}

/* ---------- full width ---------- */
.wrap { max-width: none; }

/* ---------- page banner: full image, red gradient, white title ---------- */
.page-hero { position: relative; display: block; }
.page-hero .hero-photo { position: absolute; inset: 90px var(--pad) 0; min-height: 0; }
.page-hero .hero-photo img { object-position: 50% 24%; }
.page-hero .hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(185,12,35,.96) 0%, rgba(185,12,35,.82) 30%, rgba(185,12,35,.35) 62%, rgba(185,12,35,0) 100%); }
[dir="rtl"] .page-hero .hero-photo::after { background: linear-gradient(270deg, rgba(185,12,35,.96) 0%, rgba(185,12,35,.82) 30%, rgba(185,12,35,.35) 62%, rgba(185,12,35,0) 100%); }
.page-hero .hero-card { position: relative; z-index: 1; background: none; color: #fff; min-height: clamp(440px, 64vh, 660px); padding: clamp(24px, 3.4vw, 56px); }
.page-hero .page-title { color: #fff; max-width: 14ch; }
.page-hero .lede { color: rgba(255,255,255,.92); }
.page-hero .crumbs { background: rgba(255,255,255,.16); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff; }
.page-hero .crumbs a { color: #fff; } .page-hero .crumbs a:hover { color: #fff; text-decoration: underline; }
.page-hero .btn { background: #fff; color: var(--ink); } .page-hero .btn:hover { background: var(--ink); color: #fff; }
@media (max-width: 860px) {
  .page-hero .hero-photo { min-height: 0; }
  .page-hero .hero-card { min-height: 480px; }
  .page-hero .hero-photo::after, [dir="rtl"] .page-hero .hero-photo::after { background: linear-gradient(0deg, rgba(185,12,35,.97) 0%, rgba(185,12,35,.8) 45%, rgba(185,12,35,.15) 100%); }
}

/* ---------- title font: Lufga ---------- */
@font-face { font-family: "Lufga"; src: url("../fonts/Lufga-Regular.otf") format("opentype"); font-weight: 400; font-style: normal; font-display: swap; }
h1, h2, h3, .kicker, .footer-word small, .footer-word span, .statement p, .menu > a:not(.btn) { font-family: "Lufga", var(--font); }
html:not([lang="ar"]) :is(h1, h2, h3, .kicker, .footer-word small, .footer-word span) { font-weight: 400; }

/* ---------- nav: logo on the left ---------- */
.nav-bar { display: flex; }
.brand { order: -2; }
.nav-l { margin-inline-start: auto; }
.nav-r { margin-inline-end: auto; }
.nav-social { order: 1; }
.nav-end { order: 2; }
@media (max-width: 1120px) { .nav-end { margin-inline-start: auto; } }

/* ---------- numbered cards with a photo ---------- */
.svc { padding: 12px 12px 24px; min-height: 0; }
.svc-img { position: relative; display: block; aspect-ratio: 3 / 2; border-radius: 22px; overflow: hidden; background: #e9e6e6; }
.svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.svc:hover .svc-img img { transform: scale(1.06); }
.svc .svc-n { position: absolute; top: 10px; inset-inline-start: 10px; background: #fff; color: var(--red); font-weight: 500; padding: 5px 12px; border-radius: 999px; }
.svc:hover .svc-n { color: var(--red); }
.svc .go { top: 10px; inset-inline-end: 10px; }
.svc h3, .svc p { padding-inline: 14px; }
.svc h3 { margin-top: 6px; }

/* ---------- map in brand colour ---------- */
.map { position: relative; border-radius: 26px; overflow: hidden; aspect-ratio: 16 / 10; min-height: 260px; background: #f1dfe1; isolation: isolate; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.15) brightness(1.02); }
.map::after { content: ""; position: absolute; inset: 0; background: var(--red); mix-blend-mode: lighten; pointer-events: none; }
.map::before { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(185,12,35,.25); pointer-events: none; }

/* ---------- nav: red booking button ---------- */
.nav-book { background: var(--red); min-height: 44px; padding: 0 20px; font-size: 13px; }
.nav-book:hover { background: var(--ink); }
@media (min-width: 1121px) and (max-width: 1340px) {
  .nav-end .btn span { display: none; } .nav-end .btn { width: 44px; padding: 0; }
  .nav-links { gap: 14px; font-size: 13px; }
  .nav-bar { gap: 12px; }
}

/* ---------- scroll-driven video hero ---------- */
.vhero { position: relative; height: calc(var(--scenes, 5) * 85vh + 100vh); }
.vhero-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; padding-top: 90px; padding-bottom: var(--gap); }
.vhero-frame { position: relative; height: 100%; border-radius: var(--r-xl); overflow: hidden; background: #efeae6; }
.vhero-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 40%; }
.vhero-shade { position: absolute; inset: 0; background: linear-gradient(270deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.72) 26%, rgba(255,255,255,0) 58%), linear-gradient(0deg, rgba(255,255,255,.7) 0%, rgba(255,255,255,0) 24%); pointer-events: none; }
.vhero .trust { position: absolute; top: clamp(18px, 2.4vw, 32px); left: clamp(18px, 2.4vw, 32px); }
.vhero-copy { position: absolute; right: clamp(20px, 4.5vw, 80px); top: 46%; transform: translateY(-50%); width: min(42%, 600px); display: grid; justify-items: start; }
.vhero-copy .kicker { justify-self: end; }
.vhero-copy .wordmark { font-size: clamp(52px, 6.4vw, 112px); }
.vscenes { position: relative; width: 100%; min-height: clamp(150px, 16vw, 210px); margin-top: 18px; }
.vscene { position: absolute; inset: 0; display: grid; align-content: start; gap: 8px; opacity: 0; transform: translateY(18px); pointer-events: none; transition: opacity .5s var(--ease), transform .6s var(--ease); }
.vscene.on { opacity: 1; transform: none; pointer-events: auto; }
.vscene > span { font-size: 13px; color: var(--red); font-weight: 500; }
.vscene strong { font-family: "Lufga", var(--font); font-weight: 400; font-size: clamp(30px, 3.6vw, 56px); line-height: 1; letter-spacing: -.045em; }
html[lang="ar"] .vscene strong { letter-spacing: 0; line-height: 1.3; font-weight: 500; }
.vscene p { color: var(--muted); font-size: clamp(15px, 1.25vw, 18px); line-height: 1.25; }
.vscene:hover strong { color: var(--red); }
.vsteps { position: absolute; left: clamp(14px, 2vw, 28px); right: clamp(14px, 2vw, 28px); bottom: clamp(14px, 2vw, 24px); display: grid; grid-template-columns: repeat(var(--scenes, 5), 1fr); gap: 8px; }
.vstep { position: relative; width: 100%; display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 18px; border: 0; border-radius: 999px; background: rgba(255,255,255,.78); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font-size: 13.5px; cursor: pointer; overflow: hidden; text-align: start; transition: color .3s, background .3s; }
.vstep i { position: absolute; inset: 0; background: var(--red); transform: scaleX(var(--p, 0)); transform-origin: left; opacity: .12; }
[dir="rtl"] .vstep i { transform-origin: right; }
.vstep.on i { opacity: 1; }
.vstep span, .vstep b { position: relative; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vstep span { color: var(--red); }
.vstep.on { color: #fff; } .vstep.on span { color: #fff; }
.vstep:hover { background: #fff; }
@media (max-width: 860px) {
  .vhero-frame video { object-position: 32% 40%; }
  .vhero-shade { background: linear-gradient(0deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.82) 34%, rgba(255,255,255,0) 62%); }
  .vhero-copy { left: 20px; right: 20px; width: auto; top: auto; bottom: 78px; transform: none; }
  .vhero-copy .wordmark { font-size: clamp(48px, 15vw, 90px); }
  .vscenes { min-height: 118px; margin-top: 8px; }
  .vhero-copy .btn { width: auto; }
  .vstep { justify-content: center; padding: 0; } .vstep b { display: none; }
}
.vstep i { inset: auto 0 0 0; height: 3px; opacity: 1; }
.vstep.on { color: var(--ink); background: #fff; } .vstep.on span { color: var(--red); }
@media (min-width: 861px) {
  .vhero-frame video { inset: 0 auto 0 -24%; width: 124%; object-position: 50% 35%; }
  .vhero-shade { background: linear-gradient(270deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.9) 30%, rgba(255,255,255,.35) 50%, rgba(255,255,255,0) 64%), linear-gradient(0deg, rgba(255,255,255,.7) 0%, rgba(255,255,255,0) 24%); }
}
@media (min-width: 861px) { .vhero-frame video { inset: 0 auto 0 -36%; width: 136%; } }
@media (max-width: 860px) { .vhero-frame video { object-position: 60% 40%; } }
.vhero-shade { background: linear-gradient(270deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.9) 30%, rgba(255,255,255,.35) 50%, rgba(255,255,255,0) 64%); }
@media (max-width: 860px) { .vhero-shade { background: linear-gradient(0deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.82) 34%, rgba(255,255,255,0) 62%); } .vhero-copy { bottom: 28px; } }
/* hero video: full screen, no frame */
.vhero-sticky { padding: 0; max-width: none; }
.vhero-frame { border-radius: 0; }
.vhero .trust { top: 96px; left: var(--pad); }
.vhero-copy { right: clamp(24px, 5vw, 96px); }
@media (max-width: 860px) { .vhero-frame video { object-position: 40% 40%; } }
/* logo sits inside the menu bar */
.brand, .brand:hover { width: 52px; height: 52px; margin-block: 0; background: none; box-shadow: none; }
@media (max-width: 1120px) { .brand { width: 50px; height: 50px; } }
/* hero: framed video, red gradient, big white two-line titles */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.vhero-sticky { padding: 90px var(--pad) var(--gap); }
.vhero-frame { border-radius: var(--r-xl); }
.vhero .trust { top: clamp(18px, 2.4vw, 32px); left: clamp(18px, 2.4vw, 32px); }
.vhero-shade { background: linear-gradient(270deg, rgba(185,12,35,.97) 0%, rgba(185,12,35,.86) 28%, rgba(185,12,35,.4) 54%, rgba(185,12,35,0) 80%); }
.vhero-copy { width: min(46%, 680px); right: clamp(24px, 4.5vw, 80px); top: 50%; }
.vscenes { min-height: clamp(250px, 25vw, 380px); margin-top: 0; }
.vscene { gap: 18px; }
.vscene strong { color: #fff; font-size: clamp(52px, 7vw, 124px); line-height: .9; letter-spacing: -.055em; }
html[lang="ar"] .vscene strong { line-height: 1.15; font-weight: 700; }
.vscene:hover strong { color: #fff; }
.vscene p { color: rgba(255,255,255,.92); font-size: clamp(16px, 1.4vw, 21px); }
.vhero-copy .btn { background: #fff; color: var(--ink); }
.vhero-copy .btn:hover { background: var(--ink); color: #fff; }
@media (max-width: 860px) {
  .vhero-shade { background: linear-gradient(0deg, rgba(185,12,35,.97) 0%, rgba(185,12,35,.85) 36%, rgba(185,12,35,.2) 66%, rgba(185,12,35,0) 100%); }
  .vhero-copy { width: auto; top: auto; }
  .vscenes { min-height: 190px; }
  .vscene { gap: 10px; }
  .vscene strong { font-size: clamp(44px, 13.5vw, 76px); }
}
/* hero text sits at the bottom of the frame */
.vhero-copy { top: auto; bottom: clamp(28px, 4vw, 64px); transform: none; }
.vscene { align-content: end; }
.vscenes { margin-bottom: clamp(18px, 2vw, 30px); }
@media (max-width: 860px) { .vhero-copy { bottom: 28px; } }
/* nav order: language, then Book, then phone */
.nav-end { display: contents; }
.lang { order: 1; }
.nav-social { order: 2; }
.nav-end .btn { order: 3; }
.burger { order: 4; }
@media (max-width: 1120px) { .lang { margin-inline-start: auto; } }
/* hero: brand name and slogan, top right */
.vhero-brand { position: absolute; top: clamp(26px, 3.6vw, 60px); right: clamp(24px, 4.5vw, 80px); width: min(46%, 680px); display: grid; justify-items: start; color: #fff; line-height: 1; }
.vhero-brand span { justify-self: end; margin-inline-end: 12%; font-size: clamp(16px, 1.7vw, 26px); letter-spacing: -.03em; margin-bottom: -.1em; }
.vhero-brand b { font-weight: 400; font-size: clamp(44px, 5.6vw, 96px); letter-spacing: -.06em; white-space: nowrap; }
html[lang="ar"] .vhero-brand span, html[lang="ar"] .vhero-brand b { letter-spacing: 0; }
html[lang="ar"] .vhero-brand b { font-weight: 700; line-height: 1.2; }
@media (max-width: 860px) {
  .vhero-brand { top: 84px; right: auto; left: 20px; width: auto; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
  .vhero-brand b { font-size: clamp(40px, 12vw, 64px); }
  .vhero-brand span { margin-inline-end: 0; }
}

/* ---------- doctors ---------- */
.pcard small { display: block; margin-top: 5px; color: var(--muted); font-size: 13px; line-height: 1.25; letter-spacing: 0; font-weight: 400; }
.doc-cards .pcard-img { aspect-ratio: 1 / 1; background: #eceeee; }
/* doctor profile hero: brand-red card beside the portrait (portraits carry their own name graphic, so no full-bleed overlay) */
.page-hero.doc-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--gap); }
.doc-hero .hero-card { background: var(--red); border-radius: var(--r-xl); min-height: 0; }
.doc-hero .page-title { max-width: 12ch; }
.doc-hero .hero-photo { position: relative; inset: auto; min-height: 0; aspect-ratio: 1 / 1; }
.doc-hero .hero-photo::after, [dir="rtl"] .doc-hero .hero-photo::after { display: none; }
.doc-hero .hero-photo img { object-position: 50% 50%; }
@media (max-width: 860px) {
  .page-hero.doc-hero { grid-template-columns: 1fr; }
  .doc-hero .hero-card { min-height: 340px; }
  .doc-hero .hero-photo { min-height: 0; }
}

/* ---------- small-screen overflow fixes (stop pages being wider than the phone) ---------- */
.cta-band > *, .about-grid > *, .article-grid > *, .tabs > *, .tabpanels, .faq-grid > *, .page-hero > *, .card, .prose { min-width: 0; }
.mini { max-width: 100%; }
.mini .btn { white-space: nowrap; flex: none; }
@media (max-width: 860px) {
  .map { aspect-ratio: auto; height: 260px; min-height: 0; }
}
@media (max-width: 380px) {
  .mini .btn { padding: 0 12px; font-size: 12px; }
  .mini input { padding: 0 12px; }
  .info div { grid-template-columns: 1fr; gap: 2px; }
}
.footer-cta { grid-template-columns: minmax(0, 1fr); justify-items: stretch; }
.footer-cta p { justify-self: start; }
.mini { width: 100%; max-width: 340px; }

/* ---------- blog ---------- */
.blog-hero .page-title { font-size: clamp(30px, 4.2vw, 62px); line-height: 1.02; max-width: 24ch; letter-spacing: -.045em; }
html[lang="ar"] .blog-hero .page-title { line-height: 1.25; letter-spacing: 0; }
.blog-hero .page-hero-row { align-items: flex-end; }
.blog-hero .hero-text { display: grid; gap: 12px; justify-items: start; }
.blog-hero .lede { max-width: 60ch; }
.post-date { display: inline-block; background: rgba(255,255,255,.16); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff; font-size: 13px; padding: 6px 14px; border-radius: 999px; }
.prose figure { margin: 6px 0; }
.prose .post-fig img { width: auto; max-width: 100%; height: auto; max-height: 520px; margin-inline: auto; display: block; border-radius: 22px; background: #e9e6e6; }
.prose a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.prose ol { display: grid; gap: 8px; max-width: 72ch; list-style: decimal; padding-inline-start: 22px; color: #3d3a3a; }
.prose ol li { padding-inline-start: 4px; }
.prose ol li::before { display: none; }
.prose h4 { font-size: 17px; font-weight: 500; margin-top: 6px; }
.prose blockquote { border-inline-start: 3px solid var(--red); padding-inline-start: 16px; color: #3d3a3a; }
.table-wrap { overflow-x: auto; border-radius: 18px; background: #fff; border: 1px solid var(--line); max-width: 100%; }
.prose table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 15px; line-height: 1.35; }
.prose th, .prose td { text-align: start; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; color: #3d3a3a; }
.prose tr:first-child td, .prose th { background: #fbeaec; color: var(--ink); font-weight: 500; }
.prose tr:last-child td { border-bottom: 0; }
.prose td p, .prose th p { margin: 0; font-size: inherit; }
.svc-img .svc-n { position: absolute; top: 12px; inset-inline-start: 12px; background: #fff; color: var(--red); font-size: 12px; padding: 5px 12px; border-radius: 999px; }
.svc:hover .svc-img .svc-n { color: var(--red); }
.svc p { -webkit-line-clamp: 3; }

/* ---------- departments dropdown (desktop) + accordion (mobile menu) ---------- */
.dd { position: relative; }
.dd-btn { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 10px 0; font: inherit; font-size: 14px; color: inherit; cursor: pointer; white-space: nowrap; transition: color .25s; }
.dd-btn:hover, .dd.open .dd-btn, .dd-btn.is-current { color: var(--red); }
.dd-btn .chev { transition: transform .3s var(--ease); }
.dd.open .dd-btn .chev { transform: rotate(180deg); }
.dd-panel { position: absolute; top: 100%; inset-inline-start: -14px; padding-top: 16px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .25s, transform .3s var(--ease), visibility .25s; z-index: 60; }
.dd.open .dd-panel { opacity: 1; visibility: visible; transform: none; }
.dd-list { width: 270px; display: grid; gap: 2px; background: #fff; border-radius: 22px; padding: 8px; box-shadow: 0 24px 60px -18px rgba(16,15,15,.35), 0 0 0 1px var(--line); }
.dd-item { position: relative; }
.nav-links .dd-item > a { display: block; padding: 11px 34px 11px 14px; padding-inline: 14px 34px; border-radius: 14px; font-size: 14.5px; white-space: normal; line-height: 1.2; }
.dd-item > .side { position: absolute; inset-inline-end: 14px; top: 50%; translate: 0 -50%; opacity: .5; pointer-events: none; }
[dir="rtl"] .dd-item > .side { transform: scaleX(-1); }
.nav-links .dd-item:hover > a, .nav-links .dd-item:focus-within > a, .nav-links .dd-item.open > a, .nav-links .dd-item > a[aria-current] { background: var(--grey); color: var(--red); }
.dd-sub { position: absolute; top: -8px; inset-inline-start: 100%; margin-inline-start: 8px; width: 300px; max-height: calc(100vh - 130px); overflow-y: auto; display: grid; gap: 1px; background: #fff; border-radius: 22px; padding: 8px; box-shadow: 0 24px 60px -18px rgba(16,15,15,.35), 0 0 0 1px var(--line); opacity: 0; visibility: hidden; transform: translateX(-6px); transition: opacity .2s, transform .25s var(--ease), visibility .2s; }
[dir="rtl"] .dd-sub { transform: translateX(6px); }
.dd-sub::before { content: ""; position: absolute; top: 0; bottom: 0; inset-inline-end: 100%; width: 14px; }
.dd-item:hover > .dd-sub, .dd-item:focus-within > .dd-sub, .dd-item.open > .dd-sub { opacity: 1; visibility: visible; transform: none; }
.nav-links .dd-sub a { display: block; padding: 9px 14px; border-radius: 12px; font-size: 14px; line-height: 1.25; white-space: normal; }
.nav-links .dd-sub a:hover, .nav-links .dd-sub a[aria-current] { background: var(--grey); color: var(--red); }
.nav-links .dd-sub .dd-all { color: var(--red); font-weight: 500; border-bottom: 1px solid var(--line); border-radius: 12px 12px 0 0; margin-bottom: 4px; }
.dd-foot { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 4px; }
.nav-links .dd-foot a { display: block; padding: 11px 14px; border-radius: 14px; font-size: 14px; color: var(--red); }
.nav-links .dd-foot a:hover { background: var(--grey); }
/* mobile menu accordion */
.menu { overflow-y: auto; -webkit-overflow-scrolling: touch; }
.menu > a:not(.btn), .menu > details > summary { font-family: "Lufga", var(--font); font-size: clamp(28px, 8vw, 40px); letter-spacing: -.04em; padding: 8px 0; border-bottom: 1px solid var(--line); }
html[lang="ar"] .menu > details > summary { letter-spacing: 0; }
.menu summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary::after { content: "+"; color: var(--red); font-size: .8em; line-height: 1; }
.menu details[open] > summary::after { content: "–"; }
.menu .m-body { padding-block: 4px 8px; }
.menu .m-dept > summary { font-size: 22px; padding: 10px 0 10px 14px; padding-inline: 14px 0; letter-spacing: -.02em; border-bottom: 1px solid var(--line); }
.menu .m-links { display: grid; padding-block: 4px 10px; }
.menu .m-links a { padding: 9px 0; padding-inline: 28px 0; font-size: 17px; color: #3d3a3a; }
.menu .m-links a b { color: var(--red); font-weight: 500; }

/* ---------- treatment pages: FAQ accordion + image galleries ---------- */
.qa-list { display: grid; gap: 8px; }
.qa { background: #fff; border-radius: 18px; border: 1px solid var(--line); padding: 0 20px; }
.qa summary { cursor: pointer; list-style: none; padding: 16px 0; font-size: 17px; font-weight: 500; line-height: 1.3; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; color: var(--red); font-size: 22px; line-height: 1; flex: none; }
.qa[open] summary::after { content: "–"; }
.qa p { padding-bottom: 18px; margin: 0; }
.post-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; }
.post-gallery .post-fig { margin: 0; }
.post-gallery .post-fig img { width: 100%; max-height: none; aspect-ratio: 1 / 1; object-fit: cover; }

/* ---------- footer legal links ---------- */
.footer-bottom .legal { display: inline-flex; flex-wrap: wrap; gap: 4px 18px; }
.footer-bottom .legal a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.45); }
.footer-bottom .legal a:hover { text-decoration-color: #fff; }
