/* Dr. Almoussa Dental Clinic (عيادة الدكتور موسى) — Dr. Abdulsalam Almoussa. Gold on deep ink, pearl and white. */
:root {
  --ink: #0A141C;
  --ink-2: #0F1D27;
  --ink-3: #172C3A;
  --night: #060D12;
  --gold: #F5C400;
  --gold-2: #FFDA4A;
  --gold-d: #7F6200;
  --pearl: #F7F5F0;
  --mist: #E9EEF0;
  --text: #1E2B34;
  --muted: #5B6871;
  --line: rgba(10, 20, 28, .1);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --f-head: "Alexandria", "IBM Plex Sans Arabic", sans-serif;
  --f-text: "IBM Plex Sans Arabic", "Alexandria", sans-serif;
  --f-sig: "Aref Ruqaa", serif;
  --f-num: "Manrope", sans-serif;
  --f-em: inherit;
  --gutter: clamp(16px, 4vw, 48px);
  --hh: 84px;
}
html[lang="en"] {
  --f-head: "Manrope", sans-serif;
  --f-text: "Manrope", sans-serif;
  --f-sig: "Instrument Serif", serif;
  --f-em: "Instrument Serif", serif;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body { font: 400 17px/1.75 var(--f-text); color: var(--text); background: var(--pearl); overflow-x: clip; -webkit-font-smoothing: antialiased; }
html[lang="en"] body { font-size: 16.5px; line-height: 1.7; }
html.loading body { overflow: hidden; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.wrap { width: min(1280px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.pad { padding-block: clamp(80px, 11vw, 150px); }
svg.dir { width: 18px; height: 18px; flex: none; transition: transform .4s var(--ease); }
[dir="rtl"] svg.dir { transform: scaleX(-1); }

/* Type ------------------------------------------------------------------ */
.h-hero, .h-lg { font-family: var(--f-head); font-weight: 600; letter-spacing: -.01em; }
.h-hero { font-size: clamp(42px, 6.1vw, 94px); line-height: 1.12; color: #fff; }
.h-lg { font-size: clamp(36px, 5.2vw, 72px); line-height: 1.15; }
html[lang="en"] .h-hero { line-height: 1.02; letter-spacing: -.035em; font-weight: 700; }
html[lang="en"] .h-lg { line-height: 1.04; letter-spacing: -.03em; font-weight: 700; }
.h-hero em, .h-lg em { font-style: normal; font-weight: 300; color: var(--gold); font-family: var(--f-em); }
html[lang="en"] .h-hero em, html[lang="en"] .h-lg em { font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.ln { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.ln > span { display: inline-block; }
.kicker { display: inline-flex; align-items: center; gap: 12px; font: 500 14px/1.4 var(--f-head); letter-spacing: .04em; color: var(--gold); margin-bottom: 22px; }
html[lang="en"] .kicker { text-transform: uppercase; letter-spacing: .16em; font-size: 12.5px; font-weight: 700; }
.kicker i { width: 34px; height: 1.5px; background: currentColor; }
.kicker.dark { color: var(--gold-d); }

/* Buttons --------------------------------------------------------------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 56px; padding-inline: 28px; border-radius: 999px; background: var(--gold); color: var(--ink); font: 600 16px/1 var(--f-head); overflow: hidden; isolation: isolate; transition: transform .4s var(--ease), box-shadow .4s; white-space: nowrap; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #fff; border-radius: inherit; transform: scale(0, 1); transform-origin: var(--o, right); transition: transform .5s var(--ease); }
[dir="ltr"] .btn::before { --o: left; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(245, 196, 0, .55); }
.btn:hover::before { transform: scale(1, 1); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover svg.dir { transform: translateX(4px); }
[dir="rtl"] .btn:hover svg.dir { transform: scaleX(-1) translateX(4px); }
.btn.ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45); }
.btn.ghost:hover { color: var(--ink); box-shadow: none; }
.btn.dark { background: var(--ink); color: #fff; }
.btn.dark::before { background: var(--gold); }
.btn.dark:hover { color: var(--ink); }
.btn.sm { height: 46px; padding-inline: 20px; font-size: 14.5px; }

/* Loader: the mark draws in gold, then the screen opens like a smile ---- */
@property --rx { syntax: "<percentage>"; inherits: false; initial-value: 0%; }
@property --ry { syntax: "<percentage>"; inherits: false; initial-value: 0%; }
#loader { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: var(--ink); color: #fff;
  -webkit-mask: radial-gradient(ellipse var(--rx) var(--ry) at 50% 52%, transparent 97%, #000 100%);
  mask: radial-gradient(ellipse var(--rx) var(--ry) at 50% 52%, transparent 97%, #000 100%); }
#loader .lip { display: none; }
#loader.out { animation: smile-open 1.15s var(--ease-io) forwards; pointer-events: none; }
@keyframes smile-open { 0% { --rx: 0%; --ry: 0%; } 35% { --rx: 62%; --ry: 5%; } 100% { --rx: 150%; --ry: 160%; } }
.ld-center { display: grid; justify-items: center; gap: 26px; transition: opacity .35s, transform .6s var(--ease); }
#loader.out .ld-center { opacity: 0; transform: scale(.94); }
.ld-mark { width: 118px; height: auto; overflow: visible; }
.ld-line { fill: none; stroke: var(--gold); stroke-width: 2.4; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.5s var(--ease-io) .1s forwards; }
.ld-fill { fill: var(--gold); opacity: 0; animation: fade-in .7s ease 1.25s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade-in { to { opacity: 1; } }
.ld-name { display: grid; justify-items: center; gap: 4px; opacity: 0; transform: translateY(14px); animation: rise .9s var(--ease) .9s forwards; }
.ld-name b { font: 600 34px/1 "Alexandria", sans-serif; color: #fff; }
.ld-name span { font: 600 11px/1 "Manrope", sans-serif; letter-spacing: .38em; color: rgba(255, 255, 255, .55); margin-inline-start: .38em; }
@keyframes rise { to { opacity: 1; transform: none; } }
.ld-meta { display: flex; align-items: center; gap: 14px; direction: ltr; }
.ld-bar { width: 140px; height: 1px; background: rgba(255, 255, 255, .15); overflow: hidden; }
.ld-bar i { display: block; height: 100%; background: var(--gold); transform: scaleX(var(--lp, 0)); transform-origin: left; }
.ld-pct { font: 600 12px/1 "Manrope", sans-serif; color: rgba(255, 255, 255, .6); min-width: 2ch; }

/* Header ---------------------------------------------------------------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; color: #fff; transition: transform .5s var(--ease), background .4s, box-shadow .4s; }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--hh); transition: height .4s var(--ease); }
.site-header.scrolled { background: rgba(10, 20, 28, .82); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.site-header.scrolled .bar { height: 70px; }
.site-header.hide { transform: translateY(-100%); }
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo b { display: block; font: 700 20px/1.1 var(--f-head); }
html[lang="en"] .logo b { letter-spacing: -.01em; }
.logo small { display: block; font-size: 12px; line-height: 1.3; opacity: .7; }
.nav { display: flex; gap: clamp(18px, 2.4vw, 36px); font: 500 15px/1 var(--f-head); }
.nav a { position: relative; padding-block: 8px; opacity: .85; transition: opacity .3s; }
.nav a::after { content: ""; position: absolute; inset: auto 0 0; height: 1.5px; background: var(--gold); transform: scaleX(0); transition: transform .45s var(--ease); }
.nav a:hover, .nav a.on { opacity: 1; }
.nav a:hover::after, .nav a.on::after { transform: scaleX(1); }
.actions { display: flex; align-items: center; gap: 14px; }
.lang { font: 700 13px/1 "Manrope", sans-serif; letter-spacing: .08em; padding: 10px 12px; border-radius: 99px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); transition: background .3s, color .3s; }
.lang:hover { background: #fff; color: var(--ink); }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); position: relative; z-index: 2; }
.burger i { position: absolute; inset-inline: 13px; height: 1.6px; background: currentColor; transition: transform .45s var(--ease), top .45s var(--ease); }
.burger i:first-child { top: 19px; }
.burger i:last-child { top: 26px; }
.menu-open .burger i:first-child { top: 22.5px; transform: rotate(45deg); }
.menu-open .burger i:last-child { top: 22.5px; transform: rotate(-45deg); }

/* Menu: opens as a circle from the burger -------------------------------- */
.menu { position: fixed; inset: 0; z-index: 45; background: var(--ink); color: #fff; clip-path: circle(0 at var(--mx, 90%) var(--my, 40px)); transition: clip-path .8s var(--ease-io); visibility: hidden; overflow: hidden; }
.menu-open .menu { clip-path: circle(150vmax at var(--mx, 90%) var(--my, 40px)); visibility: visible; }
.menu-in { height: 100%; overflow: auto; display: flex; flex-direction: column; justify-content: space-between; padding: calc(var(--hh) + 30px) var(--gutter) 34px; }
.menu nav { display: grid; gap: 4px; }
.menu nav a { display: flex; align-items: baseline; gap: 16px; font: 600 clamp(30px, 8vw, 54px)/1.3 var(--f-head); opacity: 0; transform: translateY(30px); transition: opacity .5s, transform .7s var(--ease), color .3s; }
.menu nav a small { font: 600 13px/1 "Manrope", sans-serif; color: var(--gold); }
.menu nav a:hover { color: var(--gold); }
.menu-open .menu nav a { opacity: 1; transform: none; }
.menu-open .menu nav a:nth-child(2) { transition-delay: .05s; } .menu-open .menu nav a:nth-child(3) { transition-delay: .1s; }
.menu-open .menu nav a:nth-child(4) { transition-delay: .15s; } .menu-open .menu nav a:nth-child(5) { transition-delay: .2s; }
.menu-open .menu nav a:nth-child(6) { transition-delay: .25s; } .menu-open .menu nav a:nth-child(7) { transition-delay: .3s; }
.menu nav a { transition-delay: .2s; }
.menu-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-top: 30px; border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 30px; }
.wa-line { display: inline-flex; align-items: center; gap: 10px; font: 700 20px/1 "Manrope", sans-serif; }
.wa-line svg { width: 22px; height: 22px; color: var(--gold); }
.menu-mark { position: absolute; inset-inline-end: -8vw; bottom: -10vh; width: 60vw; max-width: 520px; height: auto; aspect-ratio: 336/362; color: rgba(245, 196, 0, .06); pointer-events: none; }

/* Hero ------------------------------------------------------------------ */
.hero { position: relative; min-height: max(660px, 100svh); color: #fff; background: var(--ink); overflow: hidden; display: grid; grid-template-rows: 1fr auto; isolation: isolate; }
.hero-media, .hs { position: absolute; inset: 0; }
.hero-media { z-index: -2; }
.hs { background: var(--img) center / cover no-repeat; transform: scale(1.12); opacity: 0; }
.hs.on, .hs.leaving { opacity: 1; }
.hs.on { z-index: 2; animation: smile-rise 1.5s var(--ease-io) both, kenburns 9s linear both; }
.hs.leaving { z-index: 1; transform: scale(1); }
@keyframes smile-rise { from { clip-path: ellipse(0% 0% at 50% 115%); } to { clip-path: ellipse(160% 170% at 50% 115%); } }
@keyframes kenburns { from { transform: scale(1.14); } to { transform: scale(1); } }
.hero-shade { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(to bottom, rgba(6, 13, 18, .6), rgba(6, 13, 18, 0) 30%),
  linear-gradient(var(--sd, to left), rgba(6, 13, 18, .88) 0%, rgba(6, 13, 18, .55) 45%, rgba(6, 13, 18, .08) 85%),
  linear-gradient(to top, rgba(6, 13, 18, .8), rgba(6, 13, 18, 0) 35%); }
[dir="ltr"] .hero-shade { --sd: to right; }
.hero-in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-top: calc(var(--hh) + 30px); }
.hero-copy { display: grid; max-width: 900px; }
.hero-copy .slide { grid-area: 1 / 1; visibility: hidden; }
.hero-copy .slide.on { visibility: visible; }
.hero-copy .cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero .lead { font-size: clamp(17px, 1.4vw, 20px); max-width: 560px; margin-top: 24px; color: rgba(255, 255, 255, .82); }
.slide .kicker, .slide .lead { opacity: 0; transform: translateY(18px); transition: opacity .6s, transform .9s var(--ease); }
.slide .ln > span { transform: translateY(110%); transition: transform 1.05s var(--ease); }
.slide.on.play .kicker, .slide.on.play .lead { opacity: 1; transform: none; }
.slide.on.play .kicker { transition-delay: .1s; }
.slide.on.play .ln > span { transform: none; transition-delay: calc(.18s + var(--i, 0) * .12s); }
.slide.on.play .lead { transition-delay: .5s; }
.hero-copy .cta { opacity: 0; transform: translateY(18px); transition: opacity .6s .65s, transform .9s var(--ease) .65s; }
.hero.play .cta { opacity: 1; transform: none; }

.hero.play 
.hero-bottom { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; padding-block: 34px 36px; }
.tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 210px)); gap: 18px; flex: 1; }
.tabs button { position: relative; display: flex; gap: 10px; align-items: baseline; padding-top: 16px; text-align: start; color: rgba(255, 255, 255, .55); transition: color .3s; }
.tabs button::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: rgba(255, 255, 255, .2); }
.tabs button i { position: absolute; inset: 0 0 auto; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: var(--o, right); }
[dir="ltr"] .tabs button i { --o: left; }
.tabs button.on { color: #fff; }
.tabs button.on i { animation: tab-progress var(--dur, 7s) linear forwards; }
.hero.paused .tabs button.on i { animation-play-state: paused; }
@keyframes tab-progress { to { transform: scaleX(1); } }
.tabs b { font: 700 13px/1 "Manrope", sans-serif; color: var(--gold); }
.tabs span { font: 500 15px/1.3 var(--f-head); }
.scroll-cue { flex: none; width: 30px; height: 50px; border-radius: 99px; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45); position: relative; }
.scroll-cue span { position: absolute; left: 50%; top: 10px; width: 3px; height: 9px; margin-left: -1.5px; border-radius: 2px; background: var(--gold); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(18px); opacity: 0; } }

/* Marquee --------------------------------------------------------------- */
.marquee { background: var(--gold); color: var(--ink); overflow: hidden; padding-block: 20px; direction: ltr; }
.mq-track { display: flex; width: max-content; animation: mq 38s linear infinite; animation-direction: var(--mqd, normal); }
.mq-row { display: flex; align-items: center; gap: 34px; padding-inline-end: 34px; }
.mq-row span { font: 600 clamp(20px, 2.4vw, 30px)/1.2 var(--f-head); white-space: nowrap; }
.mq-row .spark { width: 18px; height: 18px; flex: none; }
@keyframes mq { to { transform: translateX(-50%); } }

/* Doctor ---------------------------------------------------------------- */
.doctor { background: var(--pearl); overflow: hidden; }
.doctor-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.doc-media { position: relative; padding-bottom: 70px; }
.portrait { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 1; max-width: 470px; background: var(--ink-3); box-shadow: 0 40px 80px -40px rgba(10, 20, 28, .5); }
.portrait img { width: 100%; height: 112%; object-fit: cover; object-position: 50% 50%; margin-top: -6%; }
.portrait::after { content: ""; position: absolute; inset: 10px; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(245, 196, 0, .55); pointer-events: none; }
.reel { position: absolute; inset-inline-end: 0; bottom: 0; width: clamp(150px, 15vw, 200px); aspect-ratio: 464/832; border-radius: 26px; overflow: hidden; background: var(--ink); box-shadow: 0 0 0 6px #fff, 0 30px 60px -20px rgba(10, 20, 28, .6); }
.reel video { width: 100%; height: 100%; object-fit: cover; }
.reel-play { position: absolute; inset: 0; display: grid; place-items: center; color: var(--ink); }
.reel-play::before { content: ""; position: absolute; width: 62px; height: 62px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(245, 196, 0, .6); animation: pulse 2.2s infinite; transition: transform .4s var(--ease), opacity .3s; }
.reel-play svg { position: relative; width: 24px; height: 24px; }
.reel-play .i-pause { display: none; }
.reel.playing .reel-play::before, .reel.playing .reel-play svg { opacity: 0; }
.reel.playing:hover .reel-play::before, .reel.playing:hover .reel-play .i-pause { opacity: 1; }
.reel.playing .reel-play .i-play { display: none; }
.reel.playing .reel-play .i-pause { display: block; }
.reel-play:hover::before { transform: scale(1.1); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(245, 196, 0, .55); } 80%, 100% { box-shadow: 0 0 0 22px rgba(245, 196, 0, 0); } }
.reel-bar { position: absolute; inset: auto 12px 38px; height: 2px; background: rgba(255, 255, 255, .25); border-radius: 2px; overflow: hidden; }
.reel-bar i { display: block; height: 100%; background: var(--gold); transform: scaleX(var(--vp, 0)); transform-origin: var(--o, right); }
[dir="ltr"] .reel-bar i { --o: left; }
.reel figcaption { position: absolute; inset: auto 0 0; padding: 10px 12px; font-size: 12px; color: #fff; text-align: center; background: linear-gradient(transparent, rgba(0, 0, 0, .7)); }
.ring-text { position: absolute; inset-inline-start: -30px; top: -30px; width: 150px; height: 150px; animation: spin 22s linear infinite; }
.ring-text text { direction: ltr; font: 600 16px/1 var(--f-head); fill: var(--gold-d); }
html[lang="en"] .ring-text text { font-size: 15.5px; letter-spacing: .06em; }
@keyframes spin { to { transform: rotate(360deg); } }
.doc-copy .role { font: 500 17px/1.6 var(--f-head); color: var(--muted); margin-top: 14px; }
.doc-copy blockquote { position: relative; margin-top: 30px; padding-inline-start: 26px; font: 400 clamp(18px, 1.5vw, 21px)/1.8 var(--f-text); color: var(--ink); border-inline-start: 2px solid var(--gold); }
html[lang="en"] .doc-copy blockquote { font-family: var(--f-em); font-size: clamp(21px, 1.8vw, 26px); line-height: 1.45; }
.points { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 34px; }
.points li { display: flex; gap: 14px; padding: 18px; background: #fff; border-radius: 18px; box-shadow: 0 1px 0 var(--line); transition: transform .5s var(--ease), box-shadow .5s; }
.points li:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -24px rgba(10, 20, 28, .35); }
.points svg { width: 40px; height: 40px; padding: 9px; flex: none; border-radius: 12px; background: var(--ink); color: var(--gold); }
.points b { display: block; font: 600 16px/1.4 var(--f-head); color: var(--ink); }
.points span { display: block; font-size: 14px; line-height: 1.5; color: var(--muted); margin-top: 4px; }
.sign { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 36px; }
.sig { font: 700 clamp(30px, 3vw, 40px)/1.2 var(--f-sig); color: var(--gold-d); }
html[lang="en"] .sig { font-style: italic; font-weight: 400; }

/* Services: pinned horizontal track ------------------------------------- */
.services { position: relative; background: var(--ink); color: #fff; }
.svc-pin { padding-block: clamp(80px, 9vw, 120px); overflow: hidden; }
.svc-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 50px; }
.svc-nav { display: grid; gap: 14px; min-width: 200px; }
.svc-count { font: 600 14px/1 "Manrope", sans-serif; color: rgba(255, 255, 255, .5); direction: ltr; text-align: end; }
.svc-count b { color: var(--gold); font-size: 22px; }
.svc-progress { height: 2px; background: rgba(255, 255, 255, .15); overflow: hidden; }
.svc-progress i { display: block; height: 100%; background: var(--gold); transform: scaleX(var(--sp, .1667)); transform-origin: var(--o, right); }
[dir="ltr"] .svc-progress i { --o: left; }
.svc-track { display: flex; gap: 24px; padding-inline: max(var(--gutter), (100vw - 1280px) / 2); will-change: transform; }
.svc { flex: none; width: clamp(290px, 30vw, 410px); display: flex; flex-direction: column; border-radius: 26px; overflow: hidden; background: var(--ink-2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); transition: transform .6s var(--ease), box-shadow .5s; }
.svc:hover { transform: translateY(-8px); box-shadow: inset 0 0 0 1px rgba(245, 196, 0, .45); }
.svc-img { aspect-ratio: 4/3; overflow: hidden; position: relative; }
.svc-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--ink-2), transparent 45%); }
.svc-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.2s var(--ease); }
.svc:hover .svc-img img { transform: scale(1.12); }
.svc-body { position: relative; flex: 1; display: flex; flex-direction: column; padding: 4px 28px 28px; }
.svc-body .n { position: absolute; inset-inline-end: 24px; top: -28px; font: 800 64px/1 "Manrope", sans-serif; color: transparent; -webkit-text-stroke: 1px rgba(245, 196, 0, .5); }
.svc-body .ic { width: 46px; height: 46px; padding: 10px; border-radius: 14px; background: var(--gold); color: var(--ink); margin-top: -26px; position: relative; }
.svc-body h3 { font: 600 23px/1.35 var(--f-head); margin-top: 20px; }
.svc-body p { font-size: 15.5px; line-height: 1.7; color: rgba(255, 255, 255, .68); margin-top: 10px; flex: 1; }
.svc-body a { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font: 600 15px/1 var(--f-head); color: var(--gold); }
.svc-body a:hover svg.dir { transform: translateX(4px); }
[dir="rtl"] .svc-body a:hover svg.dir { transform: scaleX(-1) translateX(4px); }
.services.pinned .svc-pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-block: 90px 50px; }
.services.pinned .svc-head { margin-bottom: clamp(24px, 4vh, 50px); }
.services.pinned .svc-img { aspect-ratio: auto; height: clamp(160px, 30vh, 300px); }

/* Results: before / after ------------------------------------------------ */
.results { background: #fff; }
.res-head { display: grid; grid-template-columns: 1fr minmax(0, 420px); align-items: end; gap: 30px; margin-bottom: 44px; }
.res-head p { color: var(--muted); }
.cases { position: relative; }
.case-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.case-tabs button { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding-inline: 20px; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--line); font: 500 15px/1 var(--f-head); color: var(--muted); transition: background .3s, color .3s, box-shadow .3s; }
.case-tabs b { font: 700 12px/1 "Manrope", sans-serif; color: var(--gold-d); }
.case-tabs button.on { background: var(--ink); color: #fff; box-shadow: none; }
.case-tabs button.on b { color: var(--gold); }
.compare { --v: 50; position: relative; display: none; aspect-ratio: var(--ar); border-radius: 28px; overflow: hidden; background: var(--ink); touch-action: pan-y; cursor: ew-resize; user-select: none; -webkit-user-select: none; }
.compare.on { display: block; animation: fade-in .6s ease; }
.compare > img, .compare .before img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compare .before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--v) * 1%) 0 0); }
[dir="rtl"] .compare .before { clip-path: inset(0 0 0 calc(100% - var(--v) * 1%)); }
.compare .handle { position: absolute; top: 0; bottom: 0; inset-inline-start: calc(var(--v) * 1%); width: 2px; margin-inline-start: -1px; background: var(--gold); box-shadow: 0 0 18px rgba(245, 196, 0, .7); pointer-events: none; }
.compare .handle i { position: absolute; top: 50%; left: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; background: var(--gold); color: var(--ink); display: grid; place-items: center; box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .5); transition: transform .3s var(--ease); }
.compare.dragging .handle i { transform: scale(1.12); }
.compare .handle svg { width: 26px; height: 26px; }
.compare .tag { position: absolute; top: 18px; padding: 8px 16px; border-radius: 99px; font: 600 14px/1 var(--f-head); background: rgba(10, 20, 28, .65); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); pointer-events: none; }
.compare .t-before { inset-inline-start: 18px; }
.compare .t-after { inset-inline-end: 18px; background: var(--gold); color: var(--ink); }
.compare .t-src { top: auto; bottom: 18px; inset-inline-start: 50%; translate: -50% 0; font-size: 13px; white-space: nowrap; }
[dir="rtl"] .compare .t-src { translate: 50% 0; }
.cmp-range { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.compare:has(.cmp-range:focus-visible) { outline: 2px solid var(--gold); outline-offset: 4px; }
.res-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 28px; }
.res-foot > span { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); }
.res-foot > span svg { width: 22px; height: 22px; color: var(--gold-d); }

/* Implants -------------------------------------------------------------- */
.implants { background: var(--ink-2); color: #fff; overflow: hidden; }
.imp-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.imp-copy > p { color: rgba(255, 255, 255, .7); margin-top: 22px; }
.parts { margin-top: 30px; display: grid; gap: 4px; }
.parts button { display: flex; gap: 18px; width: 100%; text-align: start; padding: 18px 20px; border-radius: 18px; transition: background .4s; }
.parts b { font: 700 13px/2 "Manrope", sans-serif; color: rgba(255, 255, 255, .4); transition: color .3s; }
.parts strong { display: block; font: 600 21px/1.4 var(--f-head); color: rgba(255, 255, 255, .6); transition: color .3s; }
.parts small { font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, .7); }
.parts .on button { background: rgba(255, 255, 255, .06); }
.parts .on b { color: var(--gold); }
.parts .on strong { color: #fff; }
.parts li:not(.on) small { height: 0; overflow: hidden; display: block; }
.parts li.on small { display: block; margin-top: 6px; animation: rise-sm .5s var(--ease); }
@keyframes rise-sm { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.imp-media { position: relative; border-radius: 30px; overflow: hidden; }
.imp-zoom { position: relative; transform: scale(var(--z, 1)); transform-origin: var(--x, 50%) var(--y, 50%); transition: transform 1.2s var(--ease), transform-origin 1.2s var(--ease); }
.imp-zoom img { width: 100%; height: auto; }
.imp-src { position: absolute; z-index: 3; inset-inline-start: 16px; bottom: 14px; padding: 6px 12px; border-radius: 99px; background: rgba(10, 20, 28, .65); color: rgba(255, 255, 255, .8); font-size: 12.5px; }
.imp-media::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at var(--fx, 50%) var(--fy, 50%), transparent 18%, rgba(15, 29, 39, .45) 60%); transition: background .8s; pointer-events: none; }
.spot { position: absolute; left: var(--x); top: var(--y); z-index: 2; width: 26px; height: 26px; margin: -13px 0 0 -13px; scale: calc(1 / var(--z, 1)); transition: scale 1.2s var(--ease); }
.spot i { position: absolute; inset: 0; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px rgba(245, 196, 0, .25); }
.spot i::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1.5px solid var(--gold); animation: ping 2s var(--ease) infinite; }
@keyframes ping { from { transform: scale(.6); opacity: 1; } to { transform: scale(2); opacity: 0; } }
.spot span { position: absolute; top: 50%; left: calc(100% + 12px); transform: translate(-8px, -50%); white-space: nowrap; padding: 8px 14px; border-radius: 99px; background: #fff; color: var(--ink); font: 600 14px/1 var(--f-head); opacity: 0; transition: opacity .35s, transform .5s var(--ease); pointer-events: none; }
.spot.on span, .spot:hover span { opacity: 1; transform: translate(0, -50%); }
.spot.on i { background: #fff; }

/* Journey --------------------------------------------------------------- */
.journey { background: var(--pearl); }
.jr-head { max-width: 760px; margin-bottom: 70px; }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.steps::before, .steps::after { content: ""; position: absolute; top: 31px; inset-inline: 31px calc((100% - 90px) / 4 - 33px); height: 2px; background: var(--line); }
.steps::after { background: var(--gold); transform: scaleX(var(--jp, 0)); transform-origin: var(--o, right); transition: transform .2s linear; }
[dir="ltr"] .steps::after { --o: left; }
.steps li { position: relative; z-index: 1; }
.steps .dot { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 0 0 10px var(--pearl); color: var(--ink); transition: background .5s, color .5s; }
.steps li.lit .dot { background: var(--ink); color: var(--gold); }
.steps .dot svg { width: 26px; height: 26px; }
.steps b { display: block; margin-top: 26px; font: 700 13px/1 "Manrope", sans-serif; color: var(--gold-d); }
.steps h3 { font: 600 22px/1.4 var(--f-head); color: var(--ink); margin-top: 10px; }
.steps p { font-size: 15.5px; line-height: 1.7; color: var(--muted); margin-top: 8px; }

/* FAQ ------------------------------------------------------------------- */
.faq { background: #fff; }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.faq-grid > div:first-child { position: sticky; top: 110px; }
.faq-grid > div:first-child p { color: var(--muted); margin-block: 20px 28px; }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 26px; cursor: pointer; list-style: none; font: 600 clamp(18px, 1.6vw, 21px)/1.5 var(--f-head); color: var(--ink); transition: color .3s; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--gold-d); }
.qa summary svg { width: 40px; height: 40px; padding: 10px; flex: none; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); transition: transform .5s var(--ease), background .3s, color .3s; }
.qa details[open] summary svg { transform: rotate(45deg); background: var(--gold); color: var(--ink); box-shadow: none; }
.qa details > div { overflow: hidden; }
.qa details p { padding-bottom: 26px; color: var(--muted); max-width: 640px; }

/* Booking --------------------------------------------------------------- */
.book { position: relative; background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; }
.book-mark { position: absolute; z-index: -1; inset-inline-end: -4%; top: 50%; width: min(60vw, 640px); height: auto; transform: translateY(-50%); overflow: visible; }
.book-mark path { fill: none; stroke: rgba(245, 196, 0, .22); stroke-width: 1.2; stroke-dasharray: 1; stroke-dashoffset: var(--bd, 1); }
.book-grid { display: grid; grid-template-columns: 1fr minmax(0, 520px); gap: clamp(40px, 6vw, 90px); align-items: center; }
.book-copy > p { color: rgba(255, 255, 255, .7); margin-top: 22px; max-width: 520px; }
.wa-big { display: inline-flex; align-items: center; gap: 16px; margin-top: 34px; padding: 14px 26px 14px 14px; border-radius: 99px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); transition: background .3s, transform .4s var(--ease); }
[dir="rtl"] .wa-big { padding: 14px 14px 14px 26px; }
.wa-big:hover { background: rgba(255, 255, 255, .12); transform: translateY(-3px); }
.wa-big svg { width: 54px; height: 54px; padding: 13px; border-radius: 50%; background: #25D366; color: #fff; flex: none; }
.wa-big small { display: block; font-size: 13px; opacity: .6; }
.wa-big b { display: block; font: 700 clamp(20px, 2vw, 26px)/1.2 "Manrope", sans-serif; letter-spacing: .02em; }
.book-form { display: grid; gap: 22px; padding: clamp(24px, 3.4vw, 40px); border-radius: 30px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.book-form label:not(.chip) > span, .book-form legend { display: block; font: 500 14px/1.4 var(--f-head); color: rgba(255, 255, 255, .65); margin-bottom: 8px; }
.book-form small { opacity: .6; }
.book-form input:not([type="radio"]), .book-form select, .book-form textarea { width: 100%; padding: 14px 16px; border-radius: 14px; border: 0; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); color: #fff; font-size: 16px; transition: box-shadow .3s, background .3s; resize: vertical; }
.book-form select { appearance: none; -webkit-appearance: none; background: rgba(255, 255, 255, .08) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F5C400' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat 16px 50% / 18px; padding-inline-end: 44px; }
[dir="ltr"] .book-form select { background-position: calc(100% - 16px) 50%; }
.book-form select option { color: var(--ink); }
.book-form ::placeholder { color: rgba(255, 255, 255, .35); }
.book-form input:focus, .book-form select:focus, .book-form textarea:focus { outline: 0; box-shadow: inset 0 0 0 1.5px var(--gold); background-color: rgba(255, 255, 255, .1); }
.book-form fieldset { border: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.book-form legend { width: 100%; float: inline-start; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; height: 42px; padding-inline: 18px; border-radius: 99px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); font-size: 15px; cursor: pointer; transition: background .3s, color .3s, box-shadow .3s; }
.chip input:checked + span { background: var(--gold); color: var(--ink); box-shadow: none; font-weight: 600; }
.chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.book-form .btn { width: 100%; height: 60px; font-size: 17px; }
.form-err { color: var(--gold-2); font-size: 14px; }
.book-form .shake { animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }

/* Footer ---------------------------------------------------------------- */
.site-footer { background: var(--night); color: rgba(255, 255, 255, .65); overflow: hidden; }
.site-footer .top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-block: 80px 30px; }
.site-footer .logo { color: #fff; margin-bottom: 18px; }
.site-footer h4 { color: #fff; font: 600 18px/1.4 var(--f-head); margin-bottom: 16px; }
.site-footer ul { display: grid; gap: 10px; }
.site-footer a:hover { color: var(--gold); }
.ft-wa { display: inline-flex; align-items: center; gap: 10px; font: 700 19px/1.2 "Manrope", sans-serif; color: #fff; }
.ft-wa svg { width: 22px; height: 22px; color: var(--gold); flex: none; }
.site-footer .big { display: flex; align-items: center; justify-content: center; gap: 3vw; direction: ltr; padding-block: 20px 10px; user-select: none; }
.site-footer .big span { font: 800 clamp(60px, 14vw, 220px)/.8 "Manrope", sans-serif; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px rgba(245, 196, 0, .4); background: linear-gradient(var(--gold), var(--gold)) no-repeat 0 100% / 100% 0; -webkit-background-clip: text; background-clip: text; transition: background-size 1.8s var(--ease); }
.site-footer .big.in span { background-size: 100% 100%; }
.site-footer .big span { font-size: clamp(20px, 6.2vw, 112px); line-height: 1.1; white-space: nowrap; letter-spacing: -.02em; }
html[lang="ar"] .site-footer .big span { font-family: var(--f-head); font-weight: 800; letter-spacing: 0; font-size: clamp(24px, 7.4vw, 132px); line-height: 1.4; }
.site-footer .bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding-block: 22px 26px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 14px; }
.site-footer .bottom a { color: #fff; font-weight: 600; }
.site-footer details { font-size: 12px; min-width: 0; max-width: 100%; }
.site-footer details li { overflow-wrap: anywhere; }
.site-footer summary { cursor: pointer; }
.site-footer details ul { margin-top: 10px; gap: 4px; }

/* Floating buttons ------------------------------------------------------ */
.fab-wa { position: fixed; z-index: 40; right: 20px; bottom: 20px; width: 60px; height: 60px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .7); transform: scale(0); transition: transform .5s var(--ease); }
.fab-wa svg { width: 30px; height: 30px; }
.fab-wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: ping 2.4s var(--ease) infinite; }
.show-fab .fab-wa { transform: scale(1); }
.to-top { position: fixed; z-index: 40; left: 20px; bottom: 20px; width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: var(--gold); display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(245, 196, 0, .35); opacity: 0; transform: translateY(20px); transition: opacity .4s, transform .5s var(--ease); pointer-events: none; }
.to-top svg { width: 20px; height: 20px; }
.show-fab .to-top { opacity: 1; transform: none; pointer-events: auto; }

/* Reveal ---------------------------------------------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease) var(--d, 0s), transform 1.1s var(--ease) var(--d, 0s); }
.js [data-reveal="clip"] { opacity: 1; transform: none; clip-path: inset(100% 0 0 0 round 30px); transition: clip-path 1.4s var(--ease-io) var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-reveal="clip"].in { clip-path: inset(0 0 0 0 round 30px); }
.js .portrait[data-reveal="clip"] { clip-path: inset(100% 0 0 0 round 28px); }
.js .portrait[data-reveal="clip"].in { clip-path: inset(0 0 0 0 round 28px); }
.js [data-reveal-lines] .ln > span { transform: translateY(110%); transition: transform 1.1s var(--ease) calc(var(--i, 0) * .12s); }
.js [data-reveal-lines].in .ln > span { transform: none; }

/* Responsive ------------------------------------------------------------ */
@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: block; }
}
@media (max-width: 900px) {
  .doctor-grid, .imp-grid, .faq-grid, .book-grid, .res-head { grid-template-columns: 1fr; }
  .doc-media { max-width: 520px; margin-inline: auto; width: 100%; }
  .faq-grid > div:first-child { position: static; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 50px; }
  .steps::before, .steps::after { display: none; }
  .svc-head { flex-direction: column; align-items: stretch; }
  .svc-nav { min-width: 0; }
  .svc-track { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 10px; scroll-padding-inline: var(--gutter); }
  .svc-track::-webkit-scrollbar { display: none; }
  .svc { scroll-snap-align: start; width: min(80vw, 380px); }
  .site-footer .top { grid-template-columns: 1fr 1fr; }
  .site-footer .top > div:first-child { grid-column: 1 / -1; }
}
/* Portrait tablets: keep the doctor (left of the photo, right in the mirrored EN one) in frame, copy at the bottom */
@media (min-width: 761px) and (orientation: portrait) {
  .hs { background-position: 6% center; }
  [dir="ltr"] .hs { background-position: 94% center; }
  .hero-in { align-items: flex-end; padding-bottom: 10px; }
  .hero-shade { background: linear-gradient(to bottom, rgba(6, 13, 18, .55), rgba(6, 13, 18, .2) 26%, rgba(6, 13, 18, .35) 48%, rgba(6, 13, 18, .94) 78%); }
}
@media (max-width: 760px) {
  :root { --hh: 72px; }
  .hs { background-image: var(--img-sm); }
  .site-header .btn.sm { display: none; }
  .site-header .logo b { font-size: min(17px, 3.6vw); white-space: nowrap; }
  .hero-in { align-items: flex-end; padding-bottom: 10px; }
  .hero-shade { background: linear-gradient(to bottom, rgba(6, 13, 18, .6), rgba(6, 13, 18, .45) 28%, rgba(6, 13, 18, .94) 72%); }
  .tabs { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .tabs span { display: none; }
  .scroll-cue { display: none; }
  .hero-copy .cta .btn { flex: 1 1 auto; }
  .points { grid-template-columns: 1fr; }
  .reel { width: 140px; border-radius: 20px; }
  .ring-text { width: 110px; height: 110px; inset-inline-start: -14px; top: -20px; }
  .compare { border-radius: 18px; }
  .compare .handle i { width: 46px; height: 46px; margin: -23px 0 0 -23px; }
  .compare .tag { top: 10px; padding: 6px 12px; font-size: 13px; }
  .compare .t-before { inset-inline-start: 10px; } .compare .t-after { inset-inline-end: 10px; }
  .case-tabs button { flex: 1; justify-content: center; padding-inline: 12px; font-size: 14px; }
  .spot span { font-size: 12.5px; padding: 6px 10px; }
  .fab-wa { width: 54px; height: 54px; right: 16px; bottom: 16px; }
  .to-top { left: 16px; bottom: 16px; width: 44px; height: 44px; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; row-gap: 36px; }
  .site-footer .top { grid-template-columns: 1fr; }
  .book-form fieldset .chip { flex: 1; }
  .chip span { width: 100%; justify-content: center; padding-inline: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .hs.on { clip-path: none; transform: none; }
  .mq-track { animation: none; }
}
/* Implant cards: half-before / half-after photo, labelled like the compare slider */
.svc-img .tag { position: absolute; z-index: 1; top: 12px; padding: 6px 12px; border-radius: 99px; font: 600 12.5px/1 var(--f-head); background: rgba(10, 20, 28, .65); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); pointer-events: none; }
.svc-img .t-before { inset-inline-start: 12px; }
.svc-img .t-after { inset-inline-end: 12px; background: var(--gold); color: var(--ink); }
.svc-img .t-src { top: auto; bottom: 34px; inset-inline-start: 50%; translate: 50% 0; font-size: 11.5px; white-space: nowrap; }
[dir="ltr"] .svc-img .t-src { translate: -50% 0; }
