/* Dr. Hakam Alasaad — orthopaedic surgeon. Clinical white + deep navy, signal-orange accent, X-ray / scanner motifs. */
@property --scan { syntax: '<percentage>'; inherits: true; initial-value: 0%; }
@property --lr { syntax: '<length>'; inherits: true; initial-value: 0px; }

:root {
  --paper: #EEF2F6;
  --white: #FFFFFF;
  --ink: #0B1B33;
  --ink-2: #132A4D;
  --night: #061024;
  --accent: #FF5A2C;
  --accent-2: #FF8A5E;
  --accent-d: #D63E14;
  --xray: #9CCBFF;
  --text: #1A283D;
  --muted: #5D6A7D;
  --line: rgba(11, 27, 51, .11);
  --line-l: rgba(255, 255, 255, .12);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --f-head: "Noto Kufi Arabic", "Almarai", sans-serif;
  --f-text: "Almarai", "Noto Kufi Arabic", sans-serif;
  --f-lat: "Space Grotesk", "Inter", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;
  --gutter: clamp(16px, 4vw, 48px);
  --radius: 26px;
  --shadow: 0 30px 60px -30px rgba(11, 27, 51, .35);
}
html[lang="en"] {
  --f-head: "Space Grotesk", "Inter", sans-serif;
  --f-text: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
html:not(.lenis) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font: 400 16.5px/1.9 var(--f-text); overflow-x: hidden;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
html[lang="en"] body { font-size: 16px; line-height: 1.7; }
html.loading body { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
svg { width: 1em; height: 1em; flex: none; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter); }
.pad { padding-block: clamp(84px, 11vw, 150px); }
.lat { font-family: var(--f-lat); }
.mono { font-family: var(--f-mono); font-weight: 500; letter-spacing: .04em; }
.accent-txt { color: var(--accent); font-style: normal; }
html[dir="rtl"] .dir { transform: scaleX(-1); }

/* Headings ------------------------------------------------------------------ */
.h-hero, .h-lg { font-family: var(--f-head); font-weight: 800; color: var(--ink); }
.h-hero { font-size: clamp(44px, 6.6vw, 96px); line-height: 1.22; letter-spacing: -.01em; }
.h-lg { font-size: clamp(34px, 4.6vw, 62px); line-height: 1.28; }
html[lang="en"] .h-hero { line-height: 1.02; letter-spacing: -.035em; font-weight: 700; }
html[lang="en"] .h-lg { line-height: 1.06; letter-spacing: -.03em; font-weight: 700; }
.ln { display: block; overflow: hidden; padding-block: .04em .1em; margin-block: -.04em -.1em; }
.ln > span { display: inline-block; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
  font: 700 14px/1.4 var(--f-head); color: var(--ink-2); letter-spacing: .01em;
}
html[lang="en"] .eyebrow { font: 500 12.5px/1.4 var(--f-mono); text-transform: uppercase; letter-spacing: .14em; }
.eyebrow.light { color: rgba(255, 255, 255, .8); }
.dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
.dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1.5px solid var(--accent); animation: ping 2.2s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.4); opacity: 1; } 80%, 100% { transform: scale(1.5); opacity: 0; } }

/* Buttons ------------------------------------------------------------------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px; border-radius: 999px;
  background: var(--accent); color: #fff; font: 700 15.5px/1 var(--f-head);
  box-shadow: 0 14px 30px -14px rgba(255, 90, 44, .75);
  transition: color .4s var(--ease), box-shadow .4s var(--ease);
}
html[lang="en"] .btn { font-weight: 600; letter-spacing: -.01em; }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--ink); transform: scaleX(0); transform-origin: 100% 50%;
  transition: transform .55s var(--ease);
}
html[dir="ltr"] .btn::before { transform-origin: 0 50%; }
.btn:hover::before { transform: scaleX(1); }
.btn svg { font-size: 20px; }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 14px; }
.btn-sm svg { font-size: 18px; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-ghost:hover { color: #fff; }
.btn-light { background: #fff; color: var(--ink); box-shadow: none; }
.btn-light::before { background: var(--accent); }
.btn-light:hover { color: #fff; }
.btn-wide { width: 100%; }
.magnetic { will-change: transform; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 15px/1.3 var(--f-head); color: var(--ink);
}
.link-arrow span { background: linear-gradient(currentColor, currentColor) 100% 100% / 0 1.5px no-repeat; transition: background-size .45s var(--ease); padding-bottom: 3px; }
html[dir="ltr"] .link-arrow span { background-position: 0 100%; }
.link-arrow:hover span { background-size: 100% 1.5px; }
.link-arrow svg { font-size: 18px; color: var(--accent); transition: translate .4s var(--ease); }
.link-arrow:hover svg { translate: -5px 0; }
html[dir="ltr"] .link-arrow:hover svg { translate: 5px 0; }

/* Loader -------------------------------------------------------------------- */
#loader { position: fixed; inset: 0; z-index: 1000; pointer-events: none; }
html.loading #loader { pointer-events: auto; }
html:not(.js) #loader { display: none; }
.ld-half { position: absolute; left: 0; right: 0; height: 50.5%; background: var(--ink); transition: transform 1.1s var(--ease-io); }
.ld-top { top: 0; }
.ld-bot { bottom: 0; background: var(--ink); }
.ld-in {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; color: #fff; text-align: center; padding: 20px; transition: opacity .45s var(--ease), transform .8s var(--ease);
}
.ld-tag { font-size: 11.5px; letter-spacing: .32em; color: var(--accent-2); }
.ld-name { position: relative; font: 800 clamp(40px, 8.5vw, 104px)/1.35 var(--f-head); --lp: 0%; }
html[lang="en"] .ld-name { font-weight: 700; letter-spacing: -.04em; line-height: 1.1; }
.ld-ghost { display: block; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .22); }
.ld-solid { position: absolute; inset: 0; color: #fff; clip-path: inset(0 0 calc(100% - var(--lp)) 0); }
.ld-beam {
  position: absolute; left: -8%; right: -8%; top: var(--lp); height: 2px; background: var(--accent);
  box-shadow: 0 0 22px 5px rgba(255, 90, 44, .55);
}
.ld-sub { font-size: 15px; color: rgba(255, 255, 255, .55); letter-spacing: .04em; }
.ld-meta { display: flex; align-items: center; gap: 14px; margin-top: 14px; font-size: 12px; color: rgba(255, 255, 255, .55); }
.ld-line { width: 160px; height: 1px; background: rgba(255, 255, 255, .18); overflow: hidden; }
.ld-line i { display: block; height: 100%; width: 100%; background: var(--accent); transform: scaleX(var(--lpn, 0)); transform-origin: 0 50%; }
html.loaded .ld-in { opacity: 0; transform: scale(.96); }
html.loaded .ld-top { transform: translateY(-101%); transition-delay: .25s; }
html.loaded .ld-bot { transform: translateY(101%); transition-delay: .25s; }
html.gone #loader { visibility: hidden; }

/* Header -------------------------------------------------------------------- */
.hdr { position: fixed; top: 14px; left: 0; right: 0; z-index: 60; padding-inline: var(--gutter); transition: transform .6s var(--ease); }
.hdr.hide { transform: translateY(-140%); }
.hdr-pill {
  max-width: 1232px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 8px; padding-inline-start: 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .72); border: 1px solid rgba(11, 27, 51, .07);
  -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  transition: box-shadow .5s var(--ease), background .5s var(--ease);
}
.hdr.scrolled .hdr-pill { box-shadow: 0 18px 40px -22px rgba(11, 27, 51, .4); background: rgba(255, 255, 255, .86); }
.hdr-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: var(--accent); transform: scaleX(var(--p, 0)); transform-origin: 100% 50%; }
html[dir="ltr"] .hdr-progress { transform-origin: 0 50%; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px;
  background: var(--ink); color: #fff; font-weight: 700; font-size: 21px; letter-spacing: -.04em;
}
.brand-mark i { position: absolute; top: 7px; inset-inline-end: 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.brand-txt { display: flex; flex-direction: column; line-height: 1.3; }
.brand-txt b { font: 800 15.5px/1.3 var(--f-head); color: var(--ink); }
.brand-txt small { font-size: 12px; color: var(--muted); }
html[lang="en"] .brand-txt b { font-weight: 700; letter-spacing: -.01em; }
.nav { position: relative; display: flex; gap: 2px; }
.nav a { position: relative; z-index: 1; padding: 9px 15px; border-radius: 999px; font: 600 14.5px/1.3 var(--f-head); color: var(--ink-2); transition: color .3s; }
html[lang="en"] .nav a { font-weight: 500; }
.nav a.on { color: var(--ink); }
.nav-ind {
  position: absolute; top: 0; left: 0; height: 100%; border-radius: 999px; background: rgba(11, 27, 51, .07);
  width: var(--w, 0); transform: translateX(var(--x, 0)); opacity: 0;
  transition: transform .5s var(--ease), width .5s var(--ease), opacity .3s;
}
.nav-ind.show { opacity: 1; }
.hdr-act { display: flex; align-items: center; gap: 8px; }
.lang { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--ink); transition: background .3s, color .3s; }
.lang:hover { background: var(--ink); color: #fff; }
.burger { display: none; position: relative; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); }
.burger i { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: #fff; transition: transform .45s var(--ease), top .45s var(--ease); }
.burger i:first-child { top: 17px; }
.burger i:last-child { top: 25px; }
.menu-open .burger i:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .burger i:last-child { top: 21px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 55; background: var(--ink); color: #fff; overflow-y: auto;
  clip-path: circle(0 at var(--cx, 90%) var(--cy, 40px)); visibility: hidden;
  transition: clip-path .85s var(--ease-io), visibility 0s .85s;
}
.menu-open .menu { clip-path: circle(150% at var(--cx, 90%) var(--cy, 40px)); visibility: visible; transition: clip-path .85s var(--ease-io), visibility 0s; }
.menu-in { min-height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: 110px var(--gutter) 40px; }
.menu-nav a { display: flex; align-items: baseline; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line-l); font: 700 clamp(26px, 7vw, 40px)/1.35 var(--f-head); opacity: 0; transform: translateY(24px); transition: opacity .5s, transform .6s var(--ease); }
.menu-nav a b { font-size: 12px; color: var(--accent-2); }
.menu-open .menu-nav a { opacity: 1; transform: none; }
.menu-open .menu-nav a:nth-child(1) { transition-delay: .25s; } .menu-open .menu-nav a:nth-child(2) { transition-delay: .3s; }
.menu-open .menu-nav a:nth-child(3) { transition-delay: .35s; } .menu-open .menu-nav a:nth-child(4) { transition-delay: .4s; }
.menu-open .menu-nav a:nth-child(5) { transition-delay: .45s; } .menu-open .menu-nav a:nth-child(6) { transition-delay: .5s; }
.menu-open .menu-nav a:nth-child(7) { transition-delay: .55s; }
.menu-side { display: flex; flex-direction: column; gap: 14px; color: rgba(255, 255, 255, .7); font-size: 15px; }
.menu-side a { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; }
.menu-side svg { font-size: 20px; color: var(--accent-2); }

/* Hero ---------------------------------------------------------------------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 130px 0 90px; overflow: hidden; }
.hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px; background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 35% 45%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 70% at 35% 45%, #000 20%, transparent 75%);
}
.hero::before {
  content: ""; position: absolute; width: 60vw; height: 60vw; max-width: 820px; max-height: 820px; border-radius: 50%;
  inset-inline-end: -12vw; top: 8%; background: radial-gradient(circle, rgba(70, 140, 255, .18), transparent 62%); pointer-events: none;
}
.hero-ruler {
  position: absolute; inset-inline-end: 18px; top: 18%; bottom: 18%; width: 14px; opacity: .35; pointer-events: none;
  background:
    repeating-linear-gradient(to bottom, var(--ink) 0 1px, transparent 1px 60px) right / 14px 100% no-repeat,
    repeating-linear-gradient(to bottom, var(--ink) 0 1px, transparent 1px 12px) right / 7px 100% no-repeat;
}
html[dir="ltr"] .hero-ruler { background-position: left, left; }
.hero-in { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.hero-copy { position: relative; z-index: 2; }
.hero .w { transform: translateY(112%) skewY(4deg); transition: transform 1.2s var(--ease); }
html.ready .hero .w { transform: none; }
html.ready .hero .ln:nth-child(2) .w { transition-delay: .1s; }
html.ready .hero .ln:nth-child(3) .w { transition-delay: .2s; }
.hero .accent-txt { position: relative; }
.swash { position: absolute; left: 0; right: 0; bottom: -.02em; width: 100%; height: .22em; overflow: visible; }
.swash path { fill: none; stroke: var(--accent); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; vector-effect: non-scaling-stroke; transition: stroke-dashoffset 1.2s var(--ease) .9s; }
html.ready .swash path { stroke-dashoffset: 0; }
.h-in { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease) var(--d, 0s), transform 1s var(--ease) var(--d, 0s); }
html.ready .h-in { opacity: 1; transform: none; }
.hero-lead { max-width: 560px; margin-top: 26px; font-size: clamp(16px, 1.3vw, 18.5px); color: var(--muted); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; margin-top: 46px; }
.hero-facts > div { padding-inline: 0 26px; margin-inline-end: 26px; border-inline-end: 1px solid var(--line); }
.hero-facts > div:last-child { border: 0; margin: 0; padding: 0; }
.hero-facts dt { font-size: clamp(26px, 2.6vw, 36px); font-weight: 700; color: var(--ink); line-height: 1.1; letter-spacing: -.03em; }
.hero-facts dd { font-size: 13px; color: var(--muted); line-height: 1.5; max-width: 150px; margin-top: 6px; }

.hero-media { position: relative; z-index: 1; }
.scan { position: relative; width: min(460px, 100%); margin-inline: auto; aspect-ratio: 810 / 1080; --scan: 0%; --mx: 50%; --my: 40%; }
.scan-frame {
  position: absolute; inset: 0; overflow: hidden; border-radius: 30px; background: #E7ECF2;
  box-shadow: 0 50px 90px -40px rgba(11, 27, 51, .55), 0 0 0 1px rgba(11, 27, 51, .06);
  clip-path: inset(100% 0 0 0 round 30px); transition: clip-path 1.4s var(--ease-io) .15s;
}
html.ready .scan-frame { clip-path: inset(0 0 0 0 round 30px); }
.scan-img, .scan-x { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scan-img { transform: scale(1.12); transition: transform 1.8s var(--ease) .15s; }
html.ready .scan-img { transform: scale(1); }
.scan-x { filter: grayscale(1) invert(1) sepia(.5) hue-rotate(178deg) saturate(2.6) contrast(1.25) brightness(.92); }
.scan-beamx { clip-path: inset(max(0%, calc(var(--scan) - 9%)) 0 max(0%, calc(91% - var(--scan))) 0); transition: opacity .4s; }
html.ready .scan { animation: scanY 5.2s var(--ease-io) 1.6s infinite alternate; }
@keyframes scanY { from { --scan: 4%; } to { --scan: 96%; } }
.scan-beam {
  position: absolute; left: 0; right: 0; top: var(--scan); height: 2px; background: var(--accent); opacity: 0;
  box-shadow: 0 0 18px 4px rgba(255, 90, 44, .55); transition: opacity .4s;
}
html.ready .scan-beam { opacity: 1; transition-delay: 1.6s; }
html.ready .scan-beamx { opacity: 1; }
.scan-beamx { opacity: 0; }
.scan-lensx { clip-path: circle(var(--lr) at var(--mx) var(--my)); }
.scan.lens { --lr: 96px; }
.scan { transition: --lr .45s var(--ease); }
.scan.lens .scan-beam, .scan.lens .scan-beamx { opacity: 0 !important; }
.scan-ring {
  position: absolute; left: var(--mx); top: var(--my); width: calc(var(--lr) * 2); height: calc(var(--lr) * 2);
  transform: translate(-50%, -50%); border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .85);
  box-shadow: 0 0 0 1px rgba(255, 90, 44, .6), inset 0 0 30px rgba(156, 203, 255, .35); pointer-events: none;
  opacity: 0; transition: opacity .35s;
}
.scan.lens .scan-ring { opacity: 1; }
.scan-ring::before, .scan-ring::after { content: ""; position: absolute; background: var(--accent); }
.scan-ring::before { left: 50%; top: -8px; width: 1.5px; height: 14px; margin-left: -.75px; box-shadow: 0 calc(var(--lr) * 2 + 2px) 0 var(--accent); }
.scan-ring::after { top: 50%; left: -8px; height: 1.5px; width: 14px; margin-top: -.75px; box-shadow: calc(var(--lr) * 2 + 2px) 0 0 var(--accent); }
.corner { position: absolute; width: 30px; height: 30px; border: 2px solid var(--ink); opacity: 0; transition: opacity .6s, transform .9s var(--ease); }
.scan .c1 { top: -14px; left: -14px; border-right: 0; border-bottom: 0; transform: translate(14px, 14px); }
.scan .c2 { top: -14px; right: -14px; border-left: 0; border-bottom: 0; transform: translate(-14px, 14px); }
.scan .c3 { bottom: -14px; left: -14px; border-right: 0; border-top: 0; transform: translate(14px, -14px); }
.scan .c4 { bottom: -14px; right: -14px; border-left: 0; border-top: 0; transform: translate(-14px, -14px); }
html.ready .scan .corner { opacity: 1; transform: none; transition-delay: 1.1s; }
.scan-hud { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 999px; font-size: 10.5px; color: #fff; background: rgba(11, 27, 51, .72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; transition: opacity .6s 1.3s; }
html.ready .scan-hud { opacity: 1; }
.hud-a { top: 16px; left: 16px; }
.hud-b { top: 16px; right: 16px; }
.hud-b i { width: 7px; height: 7px; border-radius: 50%; background: #FF4D4D; animation: blink 1.4s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.float {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 18px;
  background: rgba(255, 255, 255, .8); border: 1px solid rgba(255, 255, 255, .95); box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); line-height: 1.35;
  opacity: 0; translate: 0 20px; transition: opacity .9s var(--ease), translate .9s var(--ease);
}
html.ready .float { opacity: 1; translate: 0 0; }
html.ready .f-a { transition-delay: 1.3s; } html.ready .f-b { transition-delay: 1.45s; } html.ready .f-c { transition-delay: 1.6s; }
.float b { display: block; font: 700 14px/1.35 var(--f-head); color: var(--ink); }
.float small { display: block; font-size: 12px; color: var(--muted); }
.f-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--ink); color: #fff; font-size: 20px; }
.f-a { top: 50%; inset-inline-start: -16%; }
.f-b { bottom: 24%; inset-inline-end: -12%; }
.f-b .f-ic { background: var(--accent); }
.f-c { bottom: -26px; inset-inline-start: 12%; flex-direction: column; align-items: flex-start; gap: 0; background: var(--ink); border-color: var(--ink); }
.f-c .f-name { font-size: 15px; font-weight: 700; color: #fff; letter-spacing: -.01em; }
.f-c small { color: var(--accent-2); letter-spacing: .08em; }
.scan-tip { margin-top: 44px; text-align: center; font-size: 11px; color: var(--muted); opacity: 0; transition: opacity .6s 2s; }
html.ready .scan-tip { opacity: .8; }
html[dir="ltr"] .scan-tip { direction: ltr; }
@media (hover: none) { .scan-tip { display: none; } }
.scroll-cue { position: absolute; bottom: 26px; left: 50%; translate: -50% 0; display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 10px; color: var(--muted); letter-spacing: .3em; }
.scroll-cue i { position: relative; width: 1px; height: 46px; background: var(--line); overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--accent); animation: cue 2s var(--ease-io) infinite; }
@keyframes cue { to { top: 100%; } }

/* Ticker -------------------------------------------------------------------- */
.ticker { position: relative; z-index: 2; direction: ltr; overflow: hidden; background: var(--ink); color: #fff; padding: 22px 0; }
.tk-track { display: flex; width: max-content; animation: marquee 46s linear infinite; }
.tk-row { display: flex; align-items: center; transform: skewX(var(--skew, 0deg)); transition: transform .3s; }
.tk-row span { font: 700 clamp(19px, 2.2vw, 28px)/1.4 var(--f-head); white-space: nowrap; }
.tk-row span:nth-of-type(odd) { color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .7); }
.tk-plus { margin: 0 30px; font-size: 18px; color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }
.ticker:hover .tk-track { animation-play-state: paused; }

/* Reveal helpers ------------------------------------------------------------ */
html.js [data-r] { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
html.js [data-r].in { opacity: 1; transform: none; }
html.js [data-r="clip"] { opacity: 1; transform: none; clip-path: inset(14% 10% 14% 10% round var(--radius)); transition: clip-path 1.3s var(--ease-io) var(--d, 0s); }
html.js [data-r="clip"].in { clip-path: inset(0 0 0 0 round var(--radius)); }
html.js [data-lines] .ln > span { transform: translateY(108%); transition: transform 1.05s var(--ease); }
html.js [data-lines].in .ln > span { transform: none; }
html.js [data-lines].in .ln:nth-child(2) > span { transition-delay: .1s; }

/* Doctor -------------------------------------------------------------------- */
.doc-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.doc-media { position: relative; }
.doc-photo { overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 5; }
.doc-photo img { width: 100%; height: 118%; object-fit: cover; object-position: 50% 30%; will-change: transform; }
.doc-badge {
  position: absolute; bottom: -28px; inset-inline-end: -28px; display: flex; align-items: center; gap: 16px;
  padding: 20px 24px; border-radius: 22px; background: var(--ink); color: rgba(255, 255, 255, .8); box-shadow: var(--shadow);
  font-size: 13px; line-height: 1.5;
}
.doc-badge b { font-size: 46px; line-height: 1; color: var(--accent); letter-spacing: -.04em; }
.doc-role { margin: 14px 0 22px; font: 700 18px/1.6 var(--f-head); color: var(--accent-d); }
html[lang="en"] .doc-role { font-weight: 600; }
.doc-copy > p:not(.eyebrow):not(.doc-role) { color: var(--muted); max-width: 600px; }
.creds { margin-top: 30px; border-top: 1px solid var(--line); }
.creds li { display: flex; align-items: center; gap: 22px; padding: 18px 0; border-bottom: 1px solid var(--line); transition: padding .45s var(--ease); }
.creds li:hover { padding-inline-start: 12px; }
.creds b { min-width: 84px; font-size: 30px; font-weight: 700; letter-spacing: -.03em; color: transparent; -webkit-text-stroke: 1.2px var(--ink); transition: color .4s, -webkit-text-stroke-color .4s; }
.creds li:hover b { color: var(--accent); -webkit-text-stroke-color: var(--accent); }
.creds strong { display: block; font: 700 16.5px/1.5 var(--f-head); color: var(--ink); }
html[lang="en"] .creds strong { font-weight: 600; }
.creds small { font-size: 13.5px; color: var(--muted); }
.doc-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; margin-top: 34px; }

.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(80px, 10vw, 130px); }
.pr-card {
  position: relative; overflow: hidden; padding: 34px 30px 32px; border-radius: var(--radius); background: var(--white);
  border: 1px solid var(--line); transition: transform .6s var(--ease), box-shadow .6s var(--ease), opacity .9s var(--ease) var(--d, 0s);
}
.pr-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.spot::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .4s; pointer-events: none;
  background: radial-gradient(380px circle at var(--sx, 50%) var(--sy, 50%), rgba(255, 90, 44, .13), transparent 45%);
}
.spot:hover::before { opacity: 1; }
.pr-ic { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 17px; background: var(--ink); color: #fff; font-size: 27px; transition: background .4s, rotate .6s var(--ease); }
.pr-card:hover .pr-ic { background: var(--accent); rotate: -8deg; }
.pr-card > b { position: absolute; top: 30px; inset-inline-end: 28px; font-size: 12px; color: var(--muted); }
.pr-card h3 { margin: 26px 0 10px; font: 800 21px/1.45 var(--f-head); color: var(--ink); }
html[lang="en"] .pr-card h3 { font-weight: 700; letter-spacing: -.02em; }
.pr-card p { font-size: 15px; color: var(--muted); }

/* Services: horizontal track ------------------------------------------------ */
.services { position: relative; background: var(--white); }
.svc-pin { padding-block: clamp(84px, 10vw, 130px) 60px; }
.svc-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 44px; }
.svc-meta { display: flex; align-items: center; gap: 18px; padding-bottom: 14px; }
.svc-count { font-size: 13px; color: var(--muted); }
.svc-count b { color: var(--ink); font-weight: 500; }
.svc-bar { width: 180px; height: 2px; background: var(--line); overflow: hidden; }
.svc-bar i { display: block; height: 100%; background: var(--accent); transform: scaleX(var(--sp, .2)); transform-origin: 100% 50%; transition: transform .2s; }
html[dir="ltr"] .svc-bar i { transform-origin: 0 50%; }
.svc-view { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-inline: var(--gutter); padding-bottom: 10px; }
.svc-view::-webkit-scrollbar { display: none; }
.svc-track { display: flex; gap: 24px; width: max-content; }
.svc {
  position: relative; display: grid; grid-template-columns: 1fr 1.08fr; width: min(64vw, 900px); height: clamp(420px, 60vh, 520px);
  overflow: hidden; border-radius: 30px; background: var(--paper); border: 1px solid var(--line); scroll-snap-align: center; flex: none;
}
.svc-media { position: relative; overflow: hidden; }
.svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.svc:hover .svc-media img { transform: scale(1.06); }
.svc-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6, 16, 36, .55), transparent 50%); }
.svc-n { position: absolute; z-index: 1; bottom: 14px; inset-inline-start: 22px; font-size: clamp(64px, 7vw, 104px); font-weight: 700; line-height: 1; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .9); }
.svc-body { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(26px, 3vw, 44px); }
.svc-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; background: var(--accent); color: #fff; font-size: 25px; margin-bottom: 18px; }
.svc h3 { font: 800 clamp(22px, 2.1vw, 30px)/1.35 var(--f-head); color: var(--ink); margin-bottom: 12px; }
html[lang="en"] .svc h3 { font-weight: 700; letter-spacing: -.025em; line-height: 1.15; }
.svc p { font-size: 15px; line-height: 1.85; color: var(--muted); }
html[lang="en"] .svc p { line-height: 1.65; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 18px 0 22px; }
.tags li { padding: 6px 12px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: 12.5px; color: var(--ink-2); line-height: 1.5; }
.svc-end {
  display: flex; flex-direction: column; justify-content: space-between; width: min(30vw, 380px); min-width: 280px; height: clamp(420px, 60vh, 520px);
  padding: 40px 34px; border-radius: 30px; background: var(--ink); color: #fff; flex: none; scroll-snap-align: center; transition: background .5s;
}
.svc-end:hover { background: var(--accent); }
.svc-end b { font: 800 clamp(26px, 2.6vw, 36px)/1.35 var(--f-head); }
html[lang="en"] .svc-end b { font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.svc-end p { color: rgba(255, 255, 255, .72); font-size: 15px; margin-top: 14px; }
.svc-end .end-go { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #fff; color: var(--ink); font-size: 26px; transition: transform .5s var(--ease); }
.svc-end:hover .end-go { transform: rotate(-45deg); }
html[dir="ltr"] .svc-end:hover .end-go { transform: rotate(-45deg); }
/* pinned version (desktop, set by JS) */
.services.pinned .svc-pin { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-block: 96px 30px; overflow: hidden; }
.services.pinned .svc-view { overflow: visible; scroll-snap-type: none; padding-inline-start: max(var(--gutter), calc((100vw - 1280px) / 2 + var(--gutter))); }
.services.pinned .svc-track { will-change: transform; }

/* Pain finder (dark) -------------------------------------------------------- */
.pain { position: relative; overflow: hidden; background: var(--night); color: rgba(255, 255, 255, .75); }
.pain::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line-l) 1px, transparent 1px), linear-gradient(90deg, var(--line-l) 1px, transparent 1px);
  background-size: 56px 56px; opacity: .35;
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000, transparent 70%); mask-image: radial-gradient(ellipse at 50% 30%, #000, transparent 70%);
}
.pain::after { content: ""; position: absolute; width: 70vw; height: 70vw; border-radius: 50%; top: -30vw; inset-inline-start: -20vw; background: radial-gradient(circle, rgba(70, 140, 255, .18), transparent 60%); pointer-events: none; }
.pain .h-lg { color: #fff; }
.pain-grid { position: relative; z-index: 1; }
.pain-head { max-width: 640px; margin-bottom: 50px; }
.pain-head p:not(.eyebrow) { margin-top: 16px; }
.xr { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(26px, 4vw, 60px); align-items: start; }
.xr-box { position: relative; aspect-ratio: 1 / 1; min-width: 0; width: 100%; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: 0 0 0 1px rgba(156, 203, 255, .16), 0 40px 80px -40px rgba(0, 0, 0, .8), inset 0 0 120px rgba(70, 140, 255, .12); }
.xr-fig { position: absolute; top: 50%; left: 50%; width: 100%; aspect-ratio: var(--ar); transform: translate(-50%, -50%) scale(1.06); opacity: 0; transition: opacity .7s var(--ease), transform 1.2s var(--ease); direction: ltr; }
.xr-fig.tall { width: auto; height: 100%; }
.xr-fig.on { opacity: 1; transform: translate(-50%, -50%); }
.xr-fig img { width: 100%; height: 100%; object-fit: cover; }
.xr-fig::after { content: ""; position: absolute; inset: 0; background: #4A9BFF; mix-blend-mode: color; opacity: .75; }
.hot { position: absolute; z-index: 2; left: var(--x); top: var(--y); width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(255, 90, 44, .3), 0 0 24px rgba(255, 90, 44, .9); opacity: 0; transform: scale(0); transition: opacity .4s, transform .6s var(--ease); }
.xr-fig.on .hot { opacity: 1; transform: none; transition-delay: .9s; }
.hot::before, .hot::after { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 1.5px solid var(--accent); animation: ping 2s var(--ease) infinite; }
.hot::after { animation-delay: 1s; }
.xr-beam { position: absolute; left: 0; right: 0; top: 0; height: 2px; z-index: 3; background: #BFE0FF; box-shadow: 0 0 20px 6px rgba(156, 203, 255, .6); opacity: 0; }
.xr-beam::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 90px; background: linear-gradient(to top, rgba(156, 203, 255, .18), transparent); }
.xr-box.scanning .xr-beam { animation: xrscan 1.2s var(--ease-io); }
@keyframes xrscan { 0% { top: 0; opacity: 1; } 90% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
.xr-hud { position: absolute; z-index: 3; top: 18px; left: 22px; display: flex; gap: 12px; font-size: 11px; color: var(--xray); direction: ltr; }
.xr-hud i { font-style: normal; color: rgba(255, 255, 255, .45); }
.xr-box .corner { border-color: rgba(156, 203, 255, .55); opacity: 1; width: 22px; height: 22px; }
.xr-box .c1 { top: 14px; left: 14px; border-right: 0; border-bottom: 0; }
.xr-box .c2 { top: 14px; right: 14px; border-left: 0; border-bottom: 0; }
.xr-box .c3 { bottom: 14px; left: 14px; border-right: 0; border-top: 0; }
.xr-box .c4 { bottom: 14px; right: 14px; border-left: 0; border-top: 0; }
.xr-side { display: flex; flex-direction: column; gap: 26px; }
.xr-tabs { display: grid; gap: 6px; }
.xr-tabs button {
  position: relative; overflow: hidden; display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-radius: 16px; text-align: start;
  font: 700 17px/1.4 var(--f-head); color: rgba(255, 255, 255, .7); border: 1px solid transparent; transition: background .4s, color .4s, border-color .4s;
}
html[lang="en"] .xr-tabs button { font-weight: 600; }
.xr-tabs button b { font-size: 11.5px; color: rgba(255, 255, 255, .4); transition: color .4s; }
.xr-tabs button:hover { color: #fff; background: rgba(255, 255, 255, .04); }
.xr-tabs button[aria-selected="true"] { color: #fff; background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .1); }
.xr-tabs button[aria-selected="true"] b { color: var(--accent); }
.xr-tabs button::after { content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: 100% 50%; }
html[dir="ltr"] .xr-tabs button::after { transform-origin: 0 50%; }
.xr.auto .xr-tabs button[aria-selected="true"]::after { animation: tabfill 6s linear forwards; }
@keyframes tabfill { to { transform: scaleX(1); } }
.xr-panels { position: relative; flex: 1; min-height: 250px; }
.xr-panel { display: none; }
.xr-panel.on { display: block; animation: panelin .7s var(--ease); }
@keyframes panelin { from { opacity: 0; transform: translateY(14px); } }
.xr-panel h3 { font: 800 26px/1.4 var(--f-head); color: #fff; margin-bottom: 14px; }
html[lang="en"] .xr-panel h3 { font-weight: 700; letter-spacing: -.02em; }
.xr-sym { display: grid; gap: 8px; margin-bottom: 16px; }
.xr-sym li { position: relative; padding-inline-start: 22px; color: rgba(255, 255, 255, .88); font-size: 15.5px; line-height: 1.7; }
.xr-sym li::before { content: ""; position: absolute; inset-inline-start: 0; top: .8em; width: 10px; height: 2px; background: var(--accent); }
.xr-panel p { font-size: 14.5px; line-height: 1.85; }
.xr-panel p b { color: #fff; }
.xr-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font: 700 14.5px/1.4 var(--f-head); color: var(--accent-2); }
.xr-link svg { font-size: 17px; transition: translate .4s var(--ease); }
.xr-link:hover svg { translate: -4px 0; }
html[dir="ltr"] .xr-link:hover svg { translate: 4px 0; }
.xr-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.xr-actions small { font-size: 12.5px; color: rgba(255, 255, 255, .45); }

/* Journey ------------------------------------------------------------------- */
.jr-head { text-align: center; max-width: 760px; margin-inline: auto; }
.jr-head .eyebrow { justify-content: center; }
.jr { position: relative; margin-top: clamp(50px, 7vw, 90px); }
.jr-line { position: absolute; top: 0; bottom: 0; inset-inline-start: 50%; width: 2px; margin-inline-start: -1px; background: var(--line); }
.jr-fill { position: absolute; inset: 0; background: var(--accent); transform-origin: 50% 0; transform: scaleY(var(--jp, 0)); }
.jr-step { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(60px, 10vw, 150px); align-items: center; padding-block: clamp(30px, 4vw, 54px); }
.jr-step:nth-child(odd) .jr-img { order: 2; }
.jr-node { position: absolute; top: 50%; inset-inline-start: 50%; margin: -12px 0 0; margin-inline-start: -12px; width: 24px; height: 24px; border-radius: 50%; background: var(--paper); border: 2px solid rgba(11, 27, 51, .25); transition: background .5s, border-color .5s, box-shadow .5s; z-index: 1; }
.jr-step.on .jr-node { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 7px rgba(255, 90, 44, .16); }
.jr-img { overflow: hidden; border-radius: var(--radius); aspect-ratio: 16 / 10.5; clip-path: inset(0 0 100% 0 round var(--radius)); transition: clip-path 1.3s var(--ease-io); }
.jr-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.25); transition: transform 1.8s var(--ease); }
.jr-step.seen .jr-img { clip-path: inset(0 0 0 0 round var(--radius)); }
.jr-step.seen .jr-img img { transform: none; }
.jr-txt { opacity: .25; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.jr-step.seen .jr-txt { opacity: 1; transform: none; }
.jr-txt b { display: block; font-size: 15px; color: var(--accent-d); margin-bottom: 12px; }
.jr-txt h3 { font: 800 clamp(24px, 2.4vw, 32px)/1.4 var(--f-head); color: var(--ink); margin-bottom: 12px; }
html[lang="en"] .jr-txt h3 { font-weight: 700; letter-spacing: -.025em; line-height: 1.15; }
.jr-txt p { color: var(--muted); max-width: 440px; }

/* FAQ ----------------------------------------------------------------------- */
.faq { background: var(--white); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.faq-head { position: sticky; top: 120px; }
.faq-head p:not(.eyebrow) { margin: 16px 0 26px; color: var(--muted); }
.qa details { border-bottom: 1px solid var(--line); }
.qa details:first-child { border-top: 1px solid var(--line); }
.qa summary { display: flex; align-items: center; gap: 18px; padding: 24px 0; cursor: pointer; list-style: none; font: 700 clamp(17px, 1.5vw, 20px)/1.55 var(--f-head); color: var(--ink); transition: color .3s; }
html[lang="en"] .qa summary { font-weight: 600; letter-spacing: -.01em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--accent-d); }
.qa summary b { font-size: 12px; color: var(--muted); font-weight: 500; }
.qa summary span { flex: 1; }
.qa summary i { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); font-size: 18px; transition: transform .5s var(--ease), background .4s, color .4s, border-color .4s; }
.qa details[open] summary i { transform: rotate(135deg); background: var(--accent); border-color: var(--accent); color: #fff; }
.qa-a { overflow: hidden; }
.qa-a p { padding: 0 0 26px; padding-inline-start: 38px; color: var(--muted); max-width: 640px; }

/* Visit + book (dark) ------------------------------------------------------- */
.visit { position: relative; background: var(--ink); color: rgba(255, 255, 255, .75); overflow: hidden; }
.visit .h-lg { color: #fff; }
.visit-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.contact { display: grid; gap: 20px; margin: 34px 0; }
.contact li { display: flex; gap: 16px; align-items: flex-start; }
.ci { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; background: rgba(255, 90, 44, .14); color: var(--accent-2); font-size: 21px; flex: none; }
.contact small { display: block; font-size: 12.5px; color: rgba(255, 255, 255, .5); }
.contact b, .contact a { font-weight: 700; color: #fff; font-size: 16.5px; line-height: 1.6; }
.contact a:hover { color: var(--accent-2); }
.visit-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.round-link { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--line-l); color: #fff; font-size: 21px; transition: background .4s, border-color .4s; }
.round-link:hover { background: var(--accent); border-color: var(--accent); }
.visit-map { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 5 / 4; background: var(--ink-2); }
.visit-map iframe { width: 100%; height: 100%; border: 0; filter: saturate(.85) contrast(1.05); }
.map-tag { position: absolute; bottom: 16px; inset-inline-start: 16px; display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 13.5px; font-weight: 700; box-shadow: var(--shadow); }

.book { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 90px); align-items: center; margin-top: clamp(90px, 11vw, 150px); }
.book-copy .eyebrow { color: rgba(255, 255, 255, .8); }
.book-copy > p:not(.eyebrow) { margin-top: 16px; max-width: 460px; }
.book-steps { display: grid; gap: 10px; margin-top: 30px; }
.book-steps span { display: flex; align-items: center; gap: 14px; color: #fff; font-weight: 700; font-size: 15px; }
.book-steps b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-l); font-size: 12px; color: var(--accent-2); }
.book-form { display: grid; gap: 20px; padding: clamp(24px, 3.4vw, 40px); border-radius: 30px; background: var(--white); color: var(--text); box-shadow: 0 50px 90px -50px rgba(0, 0, 0, .7); }
.fld { position: relative; }
.fld input, .fld textarea { width: 100%; padding: 26px 18px 10px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--paper); outline: none; resize: vertical; transition: border-color .3s, background .3s; }
.fld input:focus, .fld textarea:focus { border-color: var(--ink); background: #fff; }
.fld label { position: absolute; top: 18px; inset-inline-start: 18px; color: var(--muted); font-size: 15px; pointer-events: none; transition: transform .3s var(--ease), font-size .3s, top .3s; }
.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(--accent-d); }
.chips { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { padding: 0; margin-bottom: 10px; font: 700 14px/1.4 var(--f-head); color: var(--ink); }
html[lang="en"] .chips legend { font-weight: 600; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); font-size: 14px; line-height: 1.4; transition: background .3s, color .3s, border-color .3s; }
.chips label:hover span { border-color: var(--ink); }
.chips input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.form-err { color: var(--accent-d); font-size: 14px; font-weight: 700; }

/* Footer -------------------------------------------------------------------- */
.ftr { background: var(--night); color: rgba(255, 255, 255, .6); padding-top: clamp(70px, 9vw, 110px); overflow: hidden; }
.ftr-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
.ftr .brand-txt b { color: #fff; }
.ftr .brand-txt small { color: rgba(255, 255, 255, .5); }
.ftr .brand-mark { background: #fff; color: var(--ink); }
.ftr-brand p { margin-top: 20px; max-width: 380px; font-size: 14.5px; }
.ftr h4 { margin-bottom: 16px; font: 700 14px/1.4 var(--f-head); color: #fff; }
.ftr ul { display: grid; gap: 10px; font-size: 14.5px; }
.ftr ul a:hover { color: var(--accent-2); }
.ftr-big { position: relative; margin-top: 60px; text-align: center; font-size: clamp(76px, 19vw, 300px); font-weight: 700; line-height: .82; letter-spacing: -.055em; white-space: nowrap; user-select: none; }
.ftr-big span:first-child { color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .13); }
.ftr-scan { position: absolute; inset: 0; color: transparent; background: linear-gradient(90deg, transparent 0 40%, rgba(255, 90, 44, .85) 49%, rgba(156, 203, 255, .9) 51%, transparent 60% 100%) 0 0 / 300% 100% no-repeat; -webkit-background-clip: text; background-clip: text; animation: ftrscan 6s var(--ease-io) infinite; }
@keyframes ftrscan { from { background-position: 100% 0; } to { background-position: 0 0; } }
.ftr-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 26px 30px; border-top: 1px solid var(--line-l); font-size: 13.5px; }
.ftr-bottom a { color: #fff; font-weight: 700; }

/* Floating buttons ---------------------------------------------------------- */
.fab-wa { position: fixed; z-index: 50; bottom: 20px; inset-inline-start: 20px; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; font-size: 28px; box-shadow: 0 16px 30px -12px rgba(37, 211, 102, .8); transition: transform .4s var(--ease); }
.fab-wa:hover { transform: scale(1.08); }
.fab-wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: ping 2.4s var(--ease) infinite; }
.to-top { position: fixed; z-index: 50; bottom: 22px; inset-inline-end: 20px; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--ink); box-shadow: var(--shadow); opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .4s, transform .5s var(--ease); }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top .ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top circle { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--p, 0)); }
.to-top .up { font-size: 20px; }

/* Responsive ---------------------------------------------------------------- */
@media (max-width: 1140px) {
  .nav { display: none; }
  .burger { display: block; }
}
@media (max-width: 980px) {
  .hero { padding-top: 120px; min-height: 0; }
  .hero-in { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-copy .eyebrow { justify-content: center; }
  .hero-lead { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .hero-facts { justify-content: center; }
  .hero-media { margin-top: 30px; }
  .scan { width: min(420px, 80vw); }
  .hero-ruler { display: none; }
  .scroll-cue { display: none; }
  .doc-grid, .faq-grid, .visit-grid, .book, .xr { grid-template-columns: minmax(0, 1fr); }
  .doc-media { max-width: 520px; }
  .faq-head { position: static; }
  .principles { grid-template-columns: 1fr; }
  .svc { grid-template-columns: 1fr; grid-template-rows: auto 1fr; width: min(82vw, 520px); height: auto; }
  .svc-media { aspect-ratio: 16 / 10; }
  .svc-end { width: min(70vw, 360px); height: auto; min-height: 340px; }
  .svc-head { flex-direction: column; align-items: flex-start; }
  .xr-box { max-width: 560px; width: 100%; margin-inline: auto; }
  .xr-tabs { display: flex; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .xr-tabs::-webkit-scrollbar { display: none; }
  .xr-tabs button { flex: none; padding: 11px 16px; font-size: 15px; white-space: nowrap; }
  .jr-line { inset-inline-start: 18px; }
  .jr-node { inset-inline-start: 18px; top: 40px; margin-top: 0; }
  .jr-step { grid-template-columns: 1fr; gap: 22px; padding-inline-start: 56px; }
  .jr-step:nth-child(odd) .jr-img { order: 0; }
  .ftr-top { grid-template-columns: 1fr 1fr; }
  .ftr-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .hdr { top: 10px; }
  .brand-txt small { display: none; }
  .brand-txt b { font-size: 14.5px; white-space: nowrap; }
  .brand { gap: 9px; }
  .brand-mark { width: 38px; height: 38px; font-size: 19px; }
  .hdr-act .btn-sm span { display: none; }
  .hdr-act .btn-sm { width: 44px; padding: 0; }
  .lang { width: 40px; height: 40px; }
  .hero-facts { grid-template-columns: repeat(3, 1fr); width: 100%; }
  .hero-facts > div { padding-inline: 8px; margin: 0; }
  .hero-facts > div:last-child { padding-inline: 8px; }
  .hero-facts dd { font-size: 12px; margin-inline: auto; }
  .hero-cta .btn { flex: 1 1 100%; }
  .f-a { inset-inline-start: -5%; top: 46%; padding: 9px 12px; }
  .f-b { inset-inline-end: -5%; bottom: 20%; padding: 9px 12px; }
  .f-ic { width: 34px; height: 34px; font-size: 17px; }
  .float b { font-size: 13px; }
  .float small { font-size: 11px; }
  .doc-badge { inset-inline-end: 12px; bottom: -24px; padding: 14px 18px; }
  .doc-badge b { font-size: 36px; }
  .creds b { min-width: 66px; font-size: 24px; }
  .svc-meta { display: none; }
  .ftr-top { grid-template-columns: 1fr; }
  .qa-a p { padding-inline-start: 0; }
  .book-form { border-radius: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; transition-delay: 0s !important; }
  html.js [data-r], html.js [data-r="clip"], .h-in { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  html.js [data-lines] .ln > span, .hero .w { transform: none !important; }
  .scan-beam, .scan-beamx { display: none; }
}
