/* Dr. Alaa Jawabra — specialised dental clinic for implants and cosmetic dentistry (Damascus).
   Ivory, sand and white with the logo's gold and graphite. No frameworks; Lenis for smooth scrolling. */
:root {
  --ivory: #FBF8F3;
  --paper: #FFFFFF;
  --cream: #F5EEE3;
  --sand: #ECE1D1;
  --beige: #DCCAB0;
  --taupe: #A38D72;
  --gold: #B8893F;
  --gold-l: #D9B87C;
  --gold-d: #8A6328;
  --ink: #2B231C;
  --ink-2: #3A3027;
  --stone: #6E645A;
  --graphite: #4B4C50;
  --line: rgba(43, 35, 28, .11);
  --line-2: rgba(43, 35, 28, .2);
  --gold-grad: linear-gradient(100deg, #8A6328 0%, #C39446 28%, #E7CB92 46%, #B8893F 62%, #8A6328 100%);
  --shadow: 0 30px 60px -30px rgba(92, 66, 31, .28), 0 10px 24px -14px rgba(92, 66, 31, .16);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.77, 0, .18, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --f-head: "El Messiri", "Readex Pro", sans-serif;
  --f-text: "Readex Pro", "El Messiri", sans-serif;
  --f-lat: "Cormorant Garamond", Georgia, serif;
  --gutter: clamp(16px, 4vw, 56px);
  --hh: 84px;
}
html[lang="en"] {
  --f-head: "Cormorant Garamond", Georgia, serif;
  --f-text: "Jost", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
html:not(.lenis) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-stopped { overflow: clip; }
.lenis.lenis-scrolling iframe { pointer-events: none; }
body { font: 300 16.5px/1.95 var(--f-text); color: var(--ink); background: var(--ivory); overflow-x: clip; -webkit-font-smoothing: antialiased; }
html[lang="en"] body { font-size: 17px; line-height: 1.7; }
html.loading body { overflow: hidden; }
img, video, svg, iframe { 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; text-align: inherit; }
ul, ol { list-style: none; }
b, strong { font-weight: 500; }
::selection { background: var(--gold-l); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1320px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.pad { padding-block: clamp(90px, 12vw, 170px); }
.lat { font-family: var(--f-lat); }
svg.dir { width: 18px; height: 18px; flex: none; transition: transform .45s var(--ease); }
[dir="rtl"] svg.dir { transform: scaleX(-1); }

/* Type ------------------------------------------------------------------ */
.h-hero, .h-lg { font-family: var(--f-head); font-weight: 700; color: var(--ink); }
.h-hero { font-size: clamp(46px, 6.4vw, 104px); line-height: 1.28; letter-spacing: -.005em; }
.h-lg { font-size: clamp(36px, 4.9vw, 70px); line-height: 1.32; }
html[lang="en"] .h-hero { font-size: clamp(50px, 5.7vw, 98px); line-height: .98; font-weight: 600; letter-spacing: -.02em; }
html[lang="en"] .h-lg { font-size: clamp(44px, 5.9vw, 88px); line-height: 1.02; font-weight: 600; letter-spacing: -.015em; }
.h-hero em, .h-lg em { font-style: normal; }
html[lang="en"] .h-hero em, html[lang="en"] .h-lg em, html[lang="en"] .gold-txt { font-style: italic; font-weight: 500; }
.gold-txt { background: var(--gold-grad); background-size: 240% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 7s linear infinite; padding-inline: .04em; }
@keyframes shimmer { from { background-position: 0% 0; } to { background-position: 240% 0; } }
.ln { display: block; overflow: hidden; padding-block: .06em .14em; margin-block: -.06em -.14em; }
.ln > span { display: inline-block; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font: 500 14px/1.5 var(--f-text); color: var(--gold-d); margin-bottom: 22px; }
html[lang="en"] .eyebrow { font-family: "Jost", sans-serif; text-transform: uppercase; letter-spacing: .2em; font-size: 12.5px; }
.eyebrow i { width: 30px; height: 1px; background: currentColor; flex: none; }
.eyebrow.center { display: flex; justify-content: center; }

/* Buttons --------------------------------------------------------------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 58px; padding-inline: 30px; border-radius: 999px; background: var(--ink); color: var(--ivory); font: 500 16px/1 var(--f-text); overflow: hidden; isolation: isolate; white-space: nowrap; transition: box-shadow .5s var(--ease), color .4s; }
.btn::before { content: ""; position: absolute; inset: -2px; z-index: -1; background: var(--gold-grad); background-size: 200% 100%; border-radius: inherit; transform: translateY(102%); transition: transform .6s var(--ease); }
.btn:hover::before { transform: none; }
.btn:hover { box-shadow: 0 18px 34px -16px rgba(138, 99, 40, .7); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn > * { transition: transform .5s var(--ease); }
.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-line::before { background: var(--ink); }
.btn-line:hover { color: var(--ivory); box-shadow: inset 0 0 0 1px var(--ink); }
.btn-sm { height: 46px; padding-inline: 20px; font-size: 14.5px; }
.btn-wide { width: 100%; }
.magnetic { will-change: transform; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; color: var(--ink); padding-block: 6px; background: linear-gradient(var(--gold), var(--gold)) no-repeat 100% 100% / 0 1px; transition: background-size .5s var(--ease), color .3s; }
[dir="ltr"] .link-arrow { background-position: 0 100%; }
.link-arrow:hover { background-size: 100% 1px; color: var(--gold-d); }
.link-arrow:hover svg.dir { transform: translateX(5px); }
[dir="rtl"] .link-arrow:hover svg.dir { transform: scaleX(-1) translateX(5px); }
.round-link { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-2); transition: background .4s, color .4s; }
.round-link svg { width: 22px; height: 22px; }
.round-link:hover { background: var(--ink); color: var(--ivory); }

/* Loader: the logo assembles, then vertical panels lift away ------------ */
#loader { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; pointer-events: none; }
.ld-panels { position: absolute; inset: 0; display: flex; }
.ld-panels i { flex: 1; background: var(--ivory); transition: transform 1.05s var(--ease-io); }
.ld-panels i:nth-child(even) { background: #F8F3EB; }
.ld-panels i + i { box-shadow: inset 1px 0 rgba(184, 137, 63, .14); }
.ld-panels i:nth-child(1) { transition-delay: 0s; } .ld-panels i:nth-child(2) { transition-delay: .06s; } .ld-panels i:nth-child(3) { transition-delay: .12s; }
.ld-panels i:nth-child(4) { transition-delay: .18s; } .ld-panels i:nth-child(5) { transition-delay: .24s; } .ld-panels i:nth-child(6) { transition-delay: .3s; }
#loader.out .ld-panels i { transform: translateY(-101%); }
.ld-center { position: relative; display: grid; justify-items: center; gap: 22px; transition: opacity .45s, transform .9s var(--ease); }
#loader.out .ld-center { opacity: 0; transform: translateY(-40px) scale(.96); }
.ld-mark { width: 124px; height: auto; overflow: visible; filter: drop-shadow(0 10px 22px rgba(184, 137, 63, .25)); }
.ld-mark .m-gold { fill: url(#g-gold); }
.ld-mark .m-gray { fill: url(#g-gray); }
.ld-mark .m-screw path { fill: none; stroke: url(#g-gray); stroke-linecap: round; transform-box: fill-box; transform-origin: center; transform: scaleX(0); animation: ld-thread .5s var(--spring) forwards; animation-delay: calc(1.05s + var(--t) * .075s); }
.ld-mark .m1 { clip-path: inset(0 0 100% 0); animation: ld-wipe 1.1s var(--ease) .15s forwards; }
.ld-mark .m2 { clip-path: inset(0 100% 0 0); animation: ld-wipe 1s var(--ease) .45s forwards; }
.ld-mark .m3 { clip-path: inset(0 0 0 100%); animation: ld-wipe .8s var(--ease) .75s forwards; }
.ld-mark .m4 { clip-path: inset(0 100% 0 0); animation: ld-wipe 1.1s var(--ease) .85s forwards; }
@keyframes ld-wipe { to { clip-path: inset(0 0 0 0); } }
@keyframes ld-thread { to { transform: none; } }
.ld-name { display: grid; justify-items: center; gap: 2px; opacity: 0; animation: ld-rise .9s var(--ease) .6s forwards; }
.ld-name b { font: 600 22px/1.4 "El Messiri", sans-serif; }
.ld-name span { font: italic 500 16px/1.4 "Cormorant Garamond", serif; color: var(--gold-d); letter-spacing: .06em; }
@keyframes ld-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.ld-meta { display: flex; align-items: center; gap: 14px; font: 500 12px/1 "Jost", sans-serif; color: var(--stone); letter-spacing: .1em; }
.ld-bar { width: 160px; height: 1px; background: var(--line-2); overflow: hidden; }
.ld-bar i { display: block; height: 100%; background: var(--gold); transform: scaleX(var(--lp, 0)); transform-origin: left; }
[dir="rtl"] .ld-bar i { transform-origin: right; }

/* Custom cursor (fine pointers only) ------------------------------------ */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor { display: block; position: fixed; inset: 0 auto auto 0; z-index: 250; pointer-events: none; }
  .cursor i { position: fixed; top: 0; left: 0; border-radius: 50%; translate: var(--x, -100px) var(--y, -100px); }
  .c-dot { width: 6px; height: 6px; margin: -3px; background: var(--gold); }
  .c-ring { width: 40px; height: 40px; margin: -20px; border: 1px solid rgba(184, 137, 63, .55); translate: var(--rx, -100px) var(--ry, -100px) !important; transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), background .4s, border-color .4s; }
  html.c-hover .c-ring { width: 72px; height: 72px; margin: -36px; background: rgba(217, 184, 124, .16); border-color: rgba(184, 137, 63, .3); }
  html.c-down .c-ring { width: 30px; height: 30px; margin: -15px; }
}

/* Header ---------------------------------------------------------------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 80; height: var(--hh); transition: transform .6s var(--ease), background .4s, box-shadow .4s; }
.hdr.scrolled { background: rgba(251, 248, 243, .84); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); box-shadow: 0 1px 0 var(--line); }
.hdr.hide { transform: translateY(-100%); }
html.menu-open .hdr { z-index: 95; background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
html.menu-open .hdr-progress { opacity: 0; }
.hdr-bar { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 40px; height: 47px; flex: none; transition: transform .8s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.06); }
.brand-txt { display: grid; line-height: 1.25; }
.brand-txt b { font: 700 19px/1.3 "El Messiri", sans-serif; }
.brand-txt small { font-size: 12.5px; color: var(--stone); font-weight: 400; }
html[lang="en"] .brand-txt b { font: 600 22px/1.1 var(--f-lat); }
html[lang="en"] .brand-txt small { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.nav { display: flex; gap: clamp(16px, 2vw, 32px); }
.nav a { position: relative; font-size: 15px; font-weight: 400; padding-block: 8px; transition: color .3s; }
.nav a::after { content: ""; position: absolute; inset: auto 0 2px; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .5s var(--ease); }
.nav a:hover, .nav a.on { color: var(--gold-d); }
.nav a:hover::after, .nav a.on::after { transform: none; }
.hdr-act { display: flex; align-items: center; gap: 12px; }
.lang { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; font: 500 13px/1 "Jost", sans-serif; letter-spacing: .06em; box-shadow: inset 0 0 0 1px var(--line-2); transition: background .3s, color .3s; }
html[lang="en"] .lang { font: 500 15px/1 "El Messiri", sans-serif; letter-spacing: 0; }
.lang:hover { background: var(--ink); color: var(--ivory); }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); place-content: center; gap: 5px; position: relative; z-index: 95; }
.burger i { display: block; width: 18px; height: 1.5px; background: var(--ink); transition: transform .5s var(--ease), opacity .3s; }
.burger i:nth-child(2) { width: 12px; margin-inline-start: auto; }
html.menu-open .burger i:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
html.menu-open .burger i:nth-child(2) { opacity: 0; }
html.menu-open .burger i:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.hdr-progress { position: absolute; inset: auto 0 0; height: 2px; background: var(--gold-grad); transform: scaleX(var(--p, 0)); transform-origin: right; }
[dir="ltr"] .hdr-progress { transform-origin: left; }

/* Menu ------------------------------------------------------------------ */
.menu { position: fixed; inset: 0; z-index: 90; visibility: hidden; transition: visibility 0s 1.1s; }
html.menu-open .menu { visibility: visible; transition: none; }
.menu-panels { position: absolute; inset: 0; display: flex; }
.menu-panels i { flex: 1; background: var(--cream); transform: translateY(-101%); transition: transform .8s var(--ease-io); }
.menu-panels i:nth-child(even) { background: #F1E8DB; }
.menu-panels i:nth-child(2) { transition-delay: .05s; } .menu-panels i:nth-child(3) { transition-delay: .1s; } .menu-panels i:nth-child(4) { transition-delay: .15s; } .menu-panels i:nth-child(5) { transition-delay: .2s; }
html.menu-open .menu-panels i { transform: none; }
.menu-in { position: relative; height: 100%; display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; gap: 40px; padding-top: var(--hh); }
.menu-nav { display: grid; gap: 2px; }
.menu-nav a { display: flex; align-items: baseline; gap: 18px; overflow: hidden; font: 600 clamp(30px, 4.6vw, 54px)/1.45 var(--f-head); }
.menu-nav a > * { transform: translateY(110%); transition: transform .8s var(--ease), color .3s; }
.menu-nav a b { font: 500 15px/1 "Jost", sans-serif; color: var(--gold); letter-spacing: .1em; }
.menu-nav a:hover span { color: var(--gold-d); transform: translateX(-12px); }
[dir="ltr"] .menu-nav a:hover span { transform: translateX(12px); }
html.menu-open .menu-nav a > * { transform: none; transition-delay: calc(.35s + var(--k, 0) * .05s); }
.menu-side { display: grid; gap: 18px; justify-items: start; padding-inline-start: 40px; border-inline-start: 1px solid var(--line-2); opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .8s var(--ease); }
html.menu-open .menu-side { opacity: 1; transform: none; transition-delay: .65s; }
.menu-side p { color: var(--stone); max-width: 34ch; }
.menu-side a { display: inline-flex; align-items: center; gap: 10px; font-weight: 400; }
.menu-side a svg { width: 20px; height: 20px; color: var(--gold); }
.menu-mark { width: 74px; height: 86px; margin-bottom: 6px; }

/* Hero ------------------------------------------------------------------ */
.hero { position: relative; min-height: 100svh; padding-top: calc(var(--hh) + 20px); padding-bottom: 80px; display: flex; align-items: center; overflow: hidden; background: linear-gradient(180deg, var(--ivory), #F7F0E5); }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(50px); opacity: .9; animation: float 18s ease-in-out infinite alternate; }
.b1 { width: 46vw; height: 46vw; inset-inline-end: -12vw; top: -14vw; background: radial-gradient(circle, #EBDDC6, transparent 68%); }
.b2 { width: 36vw; height: 36vw; inset-inline-start: -8vw; bottom: -10vw; background: radial-gradient(circle, #F1E5D2, transparent 68%); animation-duration: 22s; animation-direction: alternate-reverse; }
.b3 { width: 22vw; height: 22vw; inset-inline-start: 30vw; top: 20vh; background: radial-gradient(circle, #FFFFFF, transparent 70%); animation-duration: 15s; }
@keyframes float { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(4vw, 3vw, 0) scale(1.12); } }
.hero-word { position: absolute; bottom: -2vw; inset-inline: 0; text-align: center; font: 600 23vw/0.8 var(--f-lat); letter-spacing: .02em; color: transparent; -webkit-text-stroke: 1px rgba(184, 137, 63, .2); white-space: nowrap; transform: translateX(var(--hx, 0)); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: clamp(30px, 5vw, 80px); }
.hero-copy { max-width: 640px; }
.hero .w { display: inline-block; transform: translateY(115%) rotate(5deg); transform-origin: 0 100%; transition: transform 1.25s var(--ease); transition-delay: calc(.12s + var(--i, 0) * .09s); }
.h-in { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
html.ready .hero .w, html.ready .h-in { opacity: 1; transform: none; }
.hero-lead { margin-top: 26px; max-width: 54ch; font-size: clamp(16px, 1.25vw, 18.5px); color: var(--stone); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-specs { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 10px 26px; margin-top: 52px; padding-top: 26px; border-top: 1px solid var(--line); }
.hero-specs li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 400; }
.hero-specs span { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 1px rgba(184, 137, 63, .35); color: var(--gold-d); transition: background .4s, color .4s, transform .6s var(--spring); }
.hero-specs svg { width: 22px; height: 22px; }
.hero-specs li:hover span { background: var(--gold); color: #fff; transform: rotate(-12deg) scale(1.08); }

.hero-media { position: relative; justify-self: center; width: min(490px, 100%); }
.arch-wrap { position: relative; aspect-ratio: 450 / 520; container-type: inline-size; transform-style: preserve-3d; transform: perspective(1200px) rotateX(var(--ty, 0deg)) rotateY(var(--tx, 0deg)); transition: transform .8s var(--ease); }
.arch { position: absolute; inset: 0; border-radius: 50cqw 50cqw 26px 26px; overflow: hidden; background: var(--sand); box-shadow: var(--shadow); clip-path: inset(100% 0 0 0 round 50cqw 50cqw 26px 26px); transition: clip-path 1.6s var(--ease-io) .1s; }
html.ready .arch { clip-path: inset(0 0 0 0 round 50cqw 50cqw 26px 26px); }
.arch img { width: 100%; height: 106%; object-fit: cover; object-position: 10% 30%; transform: translateY(var(--py, 0)) scale(1.28); transition: transform 2s var(--ease) .1s; }
html.ready .arch img { transform: translateY(var(--py, 0)) scale(1.04); }
.arch-shine { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .5) 45%, transparent 60%); transform: translateX(-120%); animation: shine 7s var(--ease-io) 2.8s infinite; mix-blend-mode: soft-light; }
@keyframes shine { 0% { transform: translateX(-120%); } 35%, 100% { transform: translateX(120%); } }
.arch-line { position: absolute; inset: -16px; width: calc(100% + 32px); height: calc(100% + 16px); overflow: visible; }
.arch-line path { fill: none; stroke: var(--gold-l); stroke-width: 1.2; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.4s var(--ease) .9s; }
html.ready .arch-line path { stroke-dashoffset: 0; }
.chip { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 14px; border-radius: 20px; background: rgba(255, 255, 255, .78); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 0 0 1px rgba(184, 137, 63, .2), var(--shadow); white-space: nowrap; opacity: 0; scale: .6; transition: opacity .6s, scale .9s var(--spring), translate .9s var(--ease); translate: var(--mx, 0) var(--my, 0); }
[dir="rtl"] .chip { padding: 12px 14px 12px 18px; }
html.ready .chip { opacity: 1; scale: 1; }
.chip span { display: grid; line-height: 1.35; }
.chip b { font-size: 15px; font-weight: 500; }
.chip b.lat { font-size: 21px; font-weight: 600; font-style: italic; line-height: 1.1; }
.chip small { font-size: 12px; color: var(--stone); }
.chip-mark { width: 34px; height: 40px; flex: none; }
.chip-ic { width: 38px; height: 38px; border-radius: 50%; display: grid !important; place-items: center; background: var(--cream); color: var(--gold-d); }
.chip-ic svg { width: 20px; height: 20px; }
.chip-a { top: 12%; inset-inline-end: -11%; transition-delay: 1.3s; animation: bob 6s ease-in-out 2.4s infinite; }
.chip-b { bottom: 14%; inset-inline-start: -12%; transition-delay: 1.45s; animation: bob 7s ease-in-out 2.8s infinite reverse; }
.chip-c { top: 54%; inset-inline-end: -13%; transition-delay: 1.6s; animation: bob 8s ease-in-out 3s infinite; }
@keyframes bob { 50% { transform: translateY(-10px); } }
.pulse { width: 12px !important; height: 12px; border-radius: 50%; background: #3BB273; box-shadow: 0 0 0 0 rgba(59, 178, 115, .5); animation: pulse 2s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(59, 178, 115, 0); } 100% { box-shadow: 0 0 0 0 rgba(59, 178, 115, 0); } }
.scroll-cue { position: absolute; bottom: 26px; inset-inline-start: 50%; translate: -50% 0; display: grid; justify-items: center; gap: 8px; font-size: 12px; color: var(--stone); }
[dir="rtl"] .scroll-cue { translate: 50% 0; }
.scroll-cue i { width: 24px; height: 38px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line-2); position: relative; }
.scroll-cue i::after { content: ""; position: absolute; top: 8px; left: 50%; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--gold); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(-4px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* Crossing bands -------------------------------------------------------- */
.bands { position: relative; height: clamp(170px, 19vw, 250px); overflow: hidden; background: #F7F0E5; }
.band { position: absolute; inset-inline: -6%; top: 50%; padding-block: clamp(14px, 1.6vw, 22px); }
.band-a { background: var(--sand); transform: translateY(-62%) rotate(-3.2deg); z-index: 1; box-shadow: 0 20px 40px -26px rgba(92, 66, 31, .35); }
.band-b { background: var(--paper); transform: translateY(-38%) rotate(2.6deg); box-shadow: inset 0 1px rgba(184, 137, 63, .3), inset 0 -1px rgba(184, 137, 63, .3); }
.band-track { display: flex; width: max-content; will-change: transform; }
.band-row { display: flex; align-items: center; gap: clamp(22px, 3vw, 44px); padding-inline-end: clamp(22px, 3vw, 44px); }
.band-row span { font: 700 clamp(26px, 3.2vw, 46px)/1.3 var(--f-head); white-space: nowrap; }
.band-b .band-row span { font: italic 600 clamp(30px, 3.8vw, 54px)/1.2 var(--f-lat); color: transparent; -webkit-text-stroke: 1px var(--gold); }
html[lang="en"] .band-a .band-row span { font-family: var(--f-lat); font-weight: 600; font-size: clamp(30px, 3.8vw, 54px); }
html[lang="en"] .band-b .band-row span { font: 700 clamp(24px, 3vw, 42px)/1.3 "El Messiri", sans-serif; -webkit-text-stroke: 0; color: var(--gold); }
.star { width: clamp(16px, 1.8vw, 24px); height: clamp(16px, 1.8vw, 24px); color: var(--gold); flex: none; }

/* Statement ------------------------------------------------------------- */
.intro { padding-block: clamp(100px, 13vw, 190px) 0; }
.statement { max-width: 1100px; margin: 10px auto 0; text-align: center; font: 600 clamp(28px, 4vw, 58px)/1.7 var(--f-head); }
html[lang="en"] .statement { font-weight: 500; line-height: 1.25; font-size: clamp(34px, 4.8vw, 70px); }
.statement .wd { color: rgba(43, 35, 28, .14); transition: color .5s; }
.statement .wd.on { color: var(--ink); }
.statement .pill { display: inline-block; width: 2.1em; height: .95em; border-radius: 999px; object-fit: cover; vertical-align: middle; margin-inline: .12em; transform: scale(0) rotate(-8deg); transition: transform .9s var(--spring); box-shadow: 0 10px 20px -10px rgba(92, 66, 31, .45); }
.statement .pill.on { transform: none; }

/* Doctor ---------------------------------------------------------------- */
.doctor { position: relative; }
.doc-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.doc-visual { position: relative; width: min(500px, 100%); justify-self: center; }
.doc-photo { position: relative; aspect-ratio: 3 / 4; border-radius: 30px; overflow: hidden; background: var(--sand); }
.doc-photo img { width: 100%; height: 118%; object-fit: cover; margin-top: -9%; }
.doc-seal { position: absolute; bottom: -34px; inset-inline-end: -34px; display: grid; justify-items: center; gap: 2px; padding: 22px 28px; border-radius: 26px; background: var(--paper); box-shadow: var(--shadow); text-align: center; animation: bob 7s ease-in-out infinite; }
.doc-seal svg { width: 54px; height: 64px; margin-bottom: 6px; }
.doc-seal span { font: 600 22px/1.1 var(--f-lat); }
.doc-seal small { font: italic 500 15px/1.2 var(--f-lat); color: var(--gold-d); letter-spacing: .04em; }
.doc-role { font: 500 clamp(17px, 1.5vw, 20px)/1.6 var(--f-head); color: var(--gold-d); margin: 14px 0 20px; }
html[lang="en"] .doc-role { font-style: italic; font-size: clamp(21px, 1.8vw, 25px); }
.doc-copy > p:not(.eyebrow):not(.doc-role) { color: var(--stone); max-width: 58ch; }
.doc-list { margin-top: 34px; border-bottom: 1px solid var(--line); }
.doc-list li { position: relative; display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 12px; padding: 18px 14px; border-top: 1px solid var(--line); isolation: isolate; transition: padding .5s var(--ease); }
.doc-list li::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--cream), #FFFDF9); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease); border-radius: 14px; }
.doc-list li:hover::before { transform: none; }
.doc-list li:hover { padding-inline: 24px; }
.doc-list b { font: 600 22px/1 var(--f-lat); color: var(--gold); }
.doc-list span { display: grid; }
.doc-list strong { font: 600 19px/1.5 var(--f-head); }
html[lang="en"] .doc-list strong { font-size: 24px; line-height: 1.25; }
.doc-list small { font-size: 14px; color: var(--stone); }
.doc-list svg.dir { color: var(--gold); opacity: 0; transition: opacity .3s, transform .45s var(--ease); }
.doc-list li:hover svg.dir { opacity: 1; }
.doc-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; margin-top: 36px; }

/* Services: stacked sticky cards --------------------------------------- */
.services { background: linear-gradient(180deg, var(--ivory), var(--cream) 30%, var(--cream) 80%, var(--ivory)); }
.svc-head { display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 40px; margin-bottom: clamp(40px, 6vw, 80px); }
.svc-head > p { color: var(--stone); max-width: 46ch; justify-self: end; }
.stack { display: grid; gap: 0; }
.card { position: sticky; top: calc(var(--hh) + 18px + var(--i) * 18px); height: min(600px, calc(100svh - var(--hh) - 70px)); margin-bottom: 9vh; display: grid; grid-template-columns: 1.05fr 1fr; border-radius: 34px; overflow: hidden; background: var(--paper); box-shadow: 0 0 0 1px rgba(184, 137, 63, .14), 0 40px 80px -50px rgba(92, 66, 31, .45); transform: scale(var(--s, 1)); transform-origin: 50% 0; filter: brightness(var(--b, 1)); will-change: transform; }
.card:last-child { margin-bottom: 0; }
.card-media { position: relative; overflow: hidden; background: var(--sand); }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(var(--zs, 1.12)); transition: transform 1.2s var(--ease); }
.card:hover .card-media img { --zs: 1.04; }
.card-body { display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: clamp(28px, 4vw, 64px); }
.card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.card-n { font: 600 clamp(56px, 6vw, 92px)/.8 var(--f-lat); background: var(--gold-grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.card-ic { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(184, 137, 63, .4); color: var(--gold-d); }
.card-ic svg { width: 30px; height: 30px; }
.card h3 { font: 700 clamp(28px, 2.8vw, 40px)/1.35 var(--f-head); }
html[lang="en"] .card h3 { font-weight: 600; font-size: clamp(34px, 3.4vw, 50px); line-height: 1.05; }
.card p { color: var(--stone); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 4px 8px; }
.tags li { padding: 7px 14px; border-radius: 999px; background: var(--cream); font-size: 13.5px; font-weight: 400; transition: background .3s, color .3s; }
.tags li:hover { background: var(--gold); color: #fff; }

/* Gum check ------------------------------------------------------------- */
.gumcheck { position: relative; overflow: hidden; }
.gc-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.gc-copy > p:not(.eyebrow) { color: var(--stone); max-width: 46ch; }
.gauge { position: relative; width: 250px; margin-top: 34px; }
.gauge svg { width: 100%; overflow: visible; }
.gauge path { fill: none; stroke-width: 14; stroke-linecap: round; }
.g-bg { stroke: var(--sand); }
.gauge.zero .g-fg { opacity: 0; }
[dir="rtl"] .gauge svg { transform: scaleX(-1); }
.g-fg { stroke: url(#g-gold); stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--g, 0)); transition: stroke-dashoffset 1s var(--ease); }
.g-val { position: absolute; inset: auto 0 -6px; display: flex; justify-content: center; align-items: baseline; gap: 6px; }
.g-val b { font: 600 64px/1 var(--f-lat); }
.g-val span { font: 500 20px/1 var(--f-lat); color: var(--stone); }
.gc-result { min-height: 3.6em; margin-top: 20px; font: 600 20px/1.6 var(--f-head); color: var(--ink); transition: opacity .3s, transform .4s var(--ease); }
html[lang="en"] .gc-result { font-size: 26px; line-height: 1.2; }
.gc-result.swap { opacity: 0; transform: translateY(8px); }
.gc-actions { display: flex; align-items: center; gap: 20px; margin-top: 16px; }
.gc-reset { font-size: 14px; color: var(--stone); text-decoration: underline; text-underline-offset: 4px; }
.gc-reset:hover { color: var(--gold-d); }
.gc-note { display: block; margin-top: 18px; font-size: 13px; color: var(--taupe); }
.gc-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.sym { position: relative; display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; column-gap: 16px; align-items: center; padding: 22px 22px; border-radius: 24px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .4s, background .4s, transform .5s var(--spring); }
.sym:hover { box-shadow: inset 0 0 0 1px rgba(184, 137, 63, .5), 0 20px 40px -26px rgba(92, 66, 31, .4); transform: translateY(-3px); }
.sym:active { transform: scale(.97); }
.sym-ic { grid-row: span 2; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); color: var(--gold-d); transition: background .4s, color .4s, transform .6s var(--spring); }
.sym-ic svg { width: 26px; height: 26px; }
.sym b { font: 600 17px/1.4 var(--f-head); }
html[lang="en"] .sym b { font-size: 21px; line-height: 1.15; }
.sym small { grid-column: 2; font-size: 13px; line-height: 1.5; color: var(--stone); }
.tick { grid-row: 1 / span 2; grid-column: 3; width: 30px; height: 30px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); display: grid; place-items: center; transition: background .4s, box-shadow .4s; }
.tick svg { width: 16px; height: 16px; color: #fff; transform: scale(0); transition: transform .5s var(--spring); }
.sym[aria-pressed="true"] { background: #FFFCF6; box-shadow: inset 0 0 0 1.5px var(--gold), 0 24px 44px -28px rgba(138, 99, 40, .6); }
.sym[aria-pressed="true"] .sym-ic { background: var(--gold); color: #fff; transform: rotate(-10deg) scale(1.06); }
.sym[aria-pressed="true"] .tick { background: var(--gold); box-shadow: none; }
.sym[aria-pressed="true"] .tick svg { transform: none; }

/* Journey: pinned implant steps ---------------------------------------- */
.journey { position: relative; height: 420vh; background: linear-gradient(180deg, var(--ivory), #F7F0E5); }
.jr-pin { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; padding-top: calc(var(--hh) * .6); overflow: hidden; }
.jr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.jr-steps { margin-top: 28px; display: grid; gap: 4px; }
.jr-steps li { display: grid; grid-template-columns: 56px 1fr; gap: 10px; padding: 16px 20px; border-inline-start: 2px solid var(--line); opacity: .38; transition: opacity .5s, border-color .5s, background .5s; border-radius: 0 16px 16px 0; }
[dir="rtl"] .jr-steps li { border-radius: 16px 0 0 16px; }
.jr-steps li.on { opacity: 1; border-color: var(--gold); background: rgba(255, 255, 255, .7); }
.jr-steps b { font: 600 26px/1.2 var(--f-lat); color: var(--gold); }
.jr-steps h3 { font: 700 21px/1.5 var(--f-head); }
html[lang="en"] .jr-steps h3 { font-size: 27px; font-weight: 600; line-height: 1.15; }
.jr-steps p { font-size: 15px; color: var(--stone); }
.jr-steps li > div > p { max-height: 0; overflow: hidden; transition: max-height .7s var(--ease), margin .7s var(--ease); }
.jr-steps li.on > div > p { max-height: 6em; margin-top: 4px; }
.jr-visual { position: relative; display: flex; align-items: center; gap: 24px; justify-self: center; width: min(520px, 100%); }
.jr-frame { position: relative; flex: 1; aspect-ratio: 4 / 5; max-height: 72svh; border-radius: 34px; overflow: hidden; background: var(--sand); box-shadow: var(--shadow); }
.jr-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: circle(0% at 50% 62%); transform: scale(1.18); transition: clip-path 1.2s var(--ease-io), transform 1.6s var(--ease); }
.jr-frame img.on { clip-path: circle(150% at 50% 62%); transform: none; }
.jr-num { position: absolute; bottom: 18px; inset-inline-start: 18px; display: flex; align-items: baseline; gap: 4px; padding: 10px 18px; border-radius: 18px; background: rgba(255, 255, 255, .8); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font-family: var(--f-lat); z-index: 2; }
.jr-num b { font-size: 40px; font-weight: 600; line-height: 1; display: inline-block; }
.jr-num i { font-size: 18px; color: var(--stone); }
.jr-num b.flip { animation: flip .6s var(--ease); }
@keyframes flip { from { transform: translateY(60%); opacity: 0; } }
.jr-meter { width: 46px; flex: none; }
.jr-meter svg { width: 100%; overflow: visible; }
.jr-meter .th path { stroke: var(--beige); stroke-width: 9; stroke-linecap: round; transition: stroke .5s; }
.jr-meter .th path.on { stroke: var(--gold); }
.jr-meter .core { fill: var(--sand); }

/* FAQ ------------------------------------------------------------------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.faq-head { position: sticky; top: calc(var(--hh) + 30px); }
.faq-head > p:not(.eyebrow) { color: var(--stone); margin-block: 16px 28px; max-width: 40ch; }
.qa details { border-bottom: 1px solid var(--line); }
.qa details:first-child { border-top: 1px solid var(--line); }
.qa summary { list-style: none; display: grid; grid-template-columns: 50px 1fr 44px; align-items: center; gap: 12px; padding: 26px 0; cursor: pointer; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary b { font: 600 22px/1 var(--f-lat); color: var(--gold); }
.qa summary span { font: 600 clamp(18px, 1.7vw, 22px)/1.5 var(--f-head); transition: transform .5s var(--ease), color .3s; }
html[lang="en"] .qa summary span { font-size: clamp(23px, 2.1vw, 29px); line-height: 1.2; }
.qa summary:hover span { color: var(--gold-d); transform: translateX(-6px); }
[dir="ltr"] .qa summary:hover span { transform: translateX(6px); }
.qa summary i { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-2); transition: transform .5s var(--ease), background .4s, color .4s; }
.qa summary i svg { width: 18px; height: 18px; }
.qa details[open]:not(.closing) summary i { transform: rotate(135deg); background: var(--gold); color: #fff; box-shadow: none; }
.qa details > div { overflow: hidden; }
.qa details p { padding: 0 62px 28px 56px; color: var(--stone); }
[dir="ltr"] .qa details p { padding: 0 56px 28px 62px; }

/* Visit + booking ------------------------------------------------------- */
.visit { background: linear-gradient(180deg, var(--ivory), var(--cream)); }
.visit-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.contact { display: grid; gap: 20px; margin-top: 30px; }
.contact li { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: center; }
.ci { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); color: var(--gold-d); box-shadow: inset 0 0 0 1px rgba(184, 137, 63, .3); }
.ci svg { width: 22px; height: 22px; }
.contact small { display: block; font-size: 13px; color: var(--taupe); line-height: 1.4; }
.contact b, .contact a { font-weight: 400; font-size: 16.5px; line-height: 1.6; }
.contact a { transition: color .3s; }
.contact a:hover { color: var(--gold-d); }
.contact [dir="ltr"] { display: inline-block; }
.visit-links { display: flex; gap: 14px; margin-top: 34px; }
.visit-map { position: relative; aspect-ratio: 4 / 3.3; border-radius: 34px; overflow: hidden; background: var(--sand); box-shadow: var(--shadow); }
.visit-map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.8) sepia(.28) contrast(.95) brightness(1.03); transition: filter .8s; }
.visit-map:hover iframe { filter: none; }
.map-tag { position: absolute; top: 18px; inset-inline-start: 18px; display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 16px; background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 14px; font-weight: 500; box-shadow: var(--shadow); pointer-events: none; }
.map-tag svg { width: 22px; height: 26px; }

.book { position: relative; margin-top: clamp(80px, 10vw, 140px); display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 5vw, 80px); padding: clamp(28px, 5vw, 76px); border-radius: 40px; background: var(--paper); box-shadow: 0 0 0 1px rgba(184, 137, 63, .16), var(--shadow); overflow: hidden; isolation: isolate; scroll-margin-top: calc(var(--hh) + 20px); }
.book-mark { position: absolute; width: clamp(220px, 26vw, 380px); inset-inline-start: -70px; bottom: -150px; z-index: -1; overflow: visible; }
.book-mark path { fill: none; stroke: var(--gold-l); stroke-width: 1.4; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: .55; transition: stroke-dashoffset 2.6s var(--ease); vector-effect: non-scaling-stroke; }
.book-mark path:nth-child(2) { transition-delay: .3s; } .book-mark path:nth-child(3) { transition-delay: .6s; }
.book.in .book-mark path { stroke-dashoffset: 0; }
.book .h-lg { font-size: clamp(32px, 3.9vw, 58px); }
.book-copy > p:not(.eyebrow) { color: var(--stone); margin-top: 18px; max-width: 42ch; }
.book-form { display: grid; gap: 18px; align-content: start; }
.fld { position: relative; }
.fld input, .fld textarea { width: 100%; padding: 28px 20px 12px; border: 0; border-radius: 18px; background: var(--ivory); box-shadow: inset 0 0 0 1px var(--line); outline: 0; resize: vertical; font-weight: 400; transition: box-shadow .3s, background .3s; }
.fld input:focus, .fld textarea:focus { box-shadow: inset 0 0 0 1.5px var(--gold); background: #fff; }
.fld label { position: absolute; top: 20px; inset-inline-start: 20px; color: var(--stone); pointer-events: none; transition: transform .35s var(--ease), color .3s, font-size .35s var(--ease), top .35s var(--ease); }
.fld input:focus + label, .fld input:not(:placeholder-shown) + label, .fld textarea:focus + label, .fld textarea:not(:placeholder-shown) + label { top: 8px; font-size: 12px; color: var(--gold-d); }
.chips { border: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { width: 100%; font-size: 13px; color: var(--taupe); margin-bottom: 8px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 10px 18px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); font-size: 14.5px; font-weight: 400; transition: background .3s, color .3s, box-shadow .3s, transform .4s var(--spring); }
.chips label:hover span { box-shadow: inset 0 0 0 1px var(--gold); }
.chips input:checked + span { background: var(--ink); color: var(--ivory); box-shadow: none; transform: scale(1.04); }
.chips input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.form-err { color: #A4452C; font-size: 14px; }
.book-form.shake { animation: shake .5s; }
@keyframes shake { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }

/* Footer ---------------------------------------------------------------- */
.ftr { background: var(--sand); padding-top: clamp(70px, 9vw, 120px); overflow: hidden; }
.ftr-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
.ftr-brand p { margin-top: 18px; color: var(--stone); max-width: 40ch; }
.ftr h4 { font: 600 16px/1.4 var(--f-head); margin-bottom: 14px; color: var(--gold-d); }
html[lang="en"] .ftr h4 { font: 500 13px/1.4 "Jost", sans-serif; text-transform: uppercase; letter-spacing: .16em; }
.ftr ul { display: grid; gap: 8px; }
.ftr ul a { transition: color .3s; }
.ftr ul a:hover { color: var(--gold-d); }
.ftr-big { margin-top: clamp(50px, 7vw, 90px); font: 600 clamp(54px, 12.6vw, 210px)/1.05 var(--f-lat); letter-spacing: -.02em; white-space: nowrap; text-align: center; overflow: hidden; padding-bottom: .08em; }
.ftr-big .lt { display: inline-block; background: var(--gold-grad); background-size: 300% 100%; background-position: calc(var(--k) * 7%) 0; -webkit-background-clip: text; background-clip: text; color: transparent; transform: translateY(105%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--k) * .035s); }
.ftr-big.in .lt { transform: none; }
.ftr-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 24px 84px 28px; border-top: 1px solid var(--line-2); font-size: 14px; color: var(--stone); }
.ftr-bottom a { color: var(--ink); font-weight: 500; }

/* Floating buttons ------------------------------------------------------ */
.fab-wa { position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 70; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25D366; color: #fff; box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .6); transform: scale(0); transition: transform .6s var(--spring); }
.fab-wa svg { width: 28px; height: 28px; }
.fab-wa::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); animation: pulse 2.4s infinite; }
html.show-fab .fab-wa { transform: none; }
.to-top { position: fixed; bottom: 22px; inset-inline-start: 22px; z-index: 70; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .85); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: var(--shadow); transform: translateY(90px); transition: transform .6s var(--ease); }
html.show-fab .to-top { transform: none; }
.to-top .ring { position: absolute; inset: 0; transform: rotate(-90deg); }
.to-top circle { fill: none; stroke: var(--gold); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--p, 0)); }
.to-top .up { width: 20px; height: 20px; }

/* Scroll reveals -------------------------------------------------------- */
.js [data-r] { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-r].in { opacity: 1; transform: none; }
.js [data-r="clip"] { opacity: 1; transform: none; clip-path: inset(100% 0 0 0 round 30px); transition: clip-path 1.5s var(--ease-io); }
.js [data-r="clip"].in { clip-path: inset(0 0 0 0 round 30px); }
.js [data-r="clip"] img { transform: scale(1.25); transition: transform 2s var(--ease); }
.js [data-r="clip"].in img { transform: none; }
.js [data-lines] .ln > span { transform: translateY(110%); transition: transform 1.15s var(--ease); }
.js [data-lines] .ln:nth-child(2) > span { transition-delay: .1s; }
.js [data-lines].in .ln > span { transform: none; }

/* Responsive ------------------------------------------------------------ */
@media (max-width: 1180px) {
  .nav { display: none; }
  .burger { display: grid; }
  .chip-a { inset-inline-end: -6%; }
  .chip-c { inset-inline-end: -8%; }
  .chip-b { inset-inline-start: -6%; }
  .scroll-cue { display: none; }
}
@media (max-width: 980px) {
  .hero { min-height: auto; padding-top: calc(var(--hh) + 30px); padding-bottom: 110px; }
  .hero-grid { grid-template-columns: 1fr; gap: 60px; }
  .hero-copy { max-width: none; }
  .hero-media { width: min(440px, 88%); }
  .hero-specs { grid-template-columns: repeat(2, auto); }
  .doc-grid, .gc-grid, .visit-grid, .faq-grid, .book, .svc-head { grid-template-columns: 1fr; }
  .svc-head > p { justify-self: start; }
  .doc-visual { width: min(460px, 86%); }
  .faq-head { position: static; }
  .menu-in { grid-template-columns: 1fr; align-content: center; gap: 30px; }
  .menu-side { padding-inline-start: 0; border-inline-start: 0; padding-top: 24px; border-top: 1px solid var(--line-2); }
  .menu-mark { display: none; }
  .journey { height: auto; }
  .jr-pin { position: relative; height: auto; display: block; padding-block: 100px; }
  .jr-grid { grid-template-columns: 1fr; gap: 40px; }
  .jr-visual { order: -1; width: min(460px, 100%); }
  .jr-frame { aspect-ratio: 4 / 4.2; }
  .jr-steps li { opacity: .62; }
  .jr-steps li > div > p { max-height: none; margin-top: 4px; }
  .ftr-top { grid-template-columns: 1fr 1fr; }
  .ftr-brand { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  .card { position: relative; top: 0; height: auto; grid-template-columns: 1fr; margin-bottom: 22px; transform: none; filter: none; }
  .card-media { aspect-ratio: 16 / 10; }
}
@media (max-width: 640px) {
  :root { --hh: 70px; }
  body { font-size: 15.5px; }
  .brand-mark { width: 34px; height: 40px; }
  .brand-txt b { font-size: 17px; }
  .brand-txt small { font-size: 11.5px; }
  html[lang="en"] .brand-txt b { font-size: 19px; }
  .hdr-act .btn-sm { display: none; }
  .hdr-act { gap: 8px; }
  .lang, .burger { width: 42px; height: 42px; }
  .hero-cta .btn { flex: 1 1 auto; }
  .hero-specs { gap: 14px 16px; }
  .hero-specs li { font-size: 13px; }
  .hero-specs span { width: 36px; height: 36px; }
  .hero-media { width: 84%; }
  .chip { padding: 9px 12px !important; gap: 9px; border-radius: 16px; }
  .chip b { font-size: 13px; }
  .chip b.lat { font-size: 17px; }
  .chip small { font-size: 11px; }
  .chip-mark { width: 26px; height: 30px; }
  .chip-ic { width: 32px; height: 32px; }
  .chip-a { top: 6%; inset-inline-end: -10%; }
  .chip-b { bottom: 8%; inset-inline-start: -12%; }
  .chip-c { display: none; }
  .gc-list { grid-template-columns: 1fr; gap: 10px; }
  .sym { padding: 16px 18px; }
  .sym-ic { width: 46px; height: 46px; }
  .qa summary { grid-template-columns: 34px 1fr 40px; padding: 20px 0; }
  .qa summary i { width: 40px; height: 40px; }
  .qa details p, [dir="ltr"] .qa details p { padding: 0 0 22px; }
  .doc-seal { padding: 16px 20px; inset-inline-end: -14px; bottom: -24px; }
  .doc-seal svg { width: 40px; height: 48px; }
  .doc-seal span { font-size: 18px; }
    .doc-list li { grid-template-columns: 40px 1fr; padding-inline: 4px; }
  .doc-list li svg.dir { display: none; }
  .ftr-top { grid-template-columns: 1fr; }
  .book { border-radius: 28px; }
  .fab-wa { width: 54px; height: 54px; bottom: 16px; inset-inline-end: 16px; }
  .to-top { bottom: 16px; inset-inline-start: 16px; width: 46px; height: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .card { transform: none !important; filter: none !important; }
}
