@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #f4f8fd;
  --panel: rgba(255, 255, 255, 0.78);
  --panel-strong: #ffffff;
  --text: #0d1e33;
  --muted: #5d718b;
  --line: rgba(16, 35, 61, 0.12);
  --blue: #0d4ea6;
  --blue-2: #1f73c9;
  --blue-soft: #d9eaff;
  --shadow: 0 24px 70px rgba(14, 42, 76, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(31, 115, 201, 0.24), transparent 28%),
    radial-gradient(circle at top right, rgba(141, 193, 255, 0.24), transparent 25%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 44%, #eef5fc 100%);
  min-height: 100vh;
}
main {
  position: relative;
  z-index: 1;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(ellipse at 18px 18px, rgba(13,78,166,0.06) 0 9px, transparent 10px),
    radial-gradient(ellipse at 58px 18px, rgba(13,78,166,0.05) 0 9px, transparent 10px),
    linear-gradient(90deg, transparent 0 22px, rgba(13,78,166,0.05) 23px 53px, transparent 54px),
    linear-gradient(rgba(16, 35, 61, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 35, 61, 0.035) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: radial-gradient(circle at center, black 46%, transparent 92%);
  opacity: 0.72;
}
body::after {
  content: '';
  position: fixed;
  inset: -10% -8% auto auto;
  width: min(52vw, 760px);
  height: min(52vw, 760px);
  pointer-events: none;
  background:
    radial-gradient(circle at 26% 26%, rgba(127, 183, 255, 0.18), transparent 18%),
    radial-gradient(circle at 72% 18%, rgba(11, 78, 166, 0.16), transparent 20%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.65), transparent 34%),
    radial-gradient(circle at 50% 50%, rgba(11, 78, 166, 0.07), transparent 58%);
  filter: blur(2px);
  opacity: 0.72;
  z-index: -2;
}
.skeletal-backdrop {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.backbone-art {
  position: absolute;
  opacity: 0.52;
  filter: drop-shadow(0 24px 44px rgba(13, 78, 166, 0.08));
}
.backbone-art path,
.backbone-art circle {
  vector-effect: non-scaling-stroke;
}
.backbone-art-a {
  width: min(34vw, 440px);
  min-width: 260px;
  right: -56px;
  top: 12vh;
  transform: rotate(8deg);
}
.backbone-art-b {
  width: min(50vw, 680px);
  min-width: 340px;
  left: -150px;
  top: 56vh;
  transform: rotate(-12deg);
}
.backbone-art-c {
  width: min(36vw, 470px);
  min-width: 270px;
  right: 7vw;
  bottom: 5vh;
  transform: rotate(-10deg);
}
.spine-line,
.rib,
.long-bone,
.joint-ring,
.cartilage-line {
  stroke: rgba(13, 78, 166, 0.4);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.vertebrae path,
.backbone-art-b circle,
.backbone-art-c circle {
  fill: rgba(255, 255, 255, 0.38);
  stroke: rgba(13, 78, 166, 0.3);
  stroke-width: 2;
}
.rib {
  stroke-width: 2.2;
  opacity: 0.78;
}
.long-bone {
  stroke-width: 7;
  opacity: 0.58;
}
.joint-ring {
  stroke-width: 3.2;
  opacity: 0.58;
}
.cartilage-line {
  stroke: rgba(31, 115, 201, 0.34);
  stroke-width: 2.4;
}
.bone-cloud {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 36%, rgba(255,255,255,0.7), transparent 16%),
    radial-gradient(circle at 66% 44%, rgba(127,183,255,0.22), transparent 22%),
    radial-gradient(circle at 50% 50%, rgba(13,78,166,0.06), transparent 60%);
  filter: blur(1px);
}
.bone-cloud-a {
  left: 8vw;
  top: 18vh;
}
.bone-cloud-b {
  right: 18vw;
  top: 72vh;
  transform: scale(0.72);
}
.xray-plate {
  position: absolute;
  width: 240px;
  height: 340px;
  border-radius: 30px;
  border: 1px solid rgba(13,78,166,0.12);
  background:
    radial-gradient(ellipse at 50% 22%, rgba(255,255,255,0.3) 0 18%, transparent 19%),
    radial-gradient(ellipse at 50% 58%, rgba(13,78,166,0.12) 0 7%, transparent 8%),
    linear-gradient(180deg, rgba(13,78,166,0.08), rgba(127,183,255,0.05));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.38), 0 24px 60px rgba(13,78,166,0.08);
}
.xray-plate::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 18%;
  width: 56px;
  height: 210px;
  border-radius: 999px;
  border: 2px solid rgba(13,78,166,0.16);
  transform: translateX(-50%);
}
.xray-plate::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 40px;
  width: 146px;
  height: 82px;
  border-radius: 50%;
  border: 2px solid rgba(13,78,166,0.14);
  transform: translateX(-50%);
}
.xray-plate-a {
  left: 52vw;
  top: 18vh;
  transform: rotate(-9deg);
  opacity: 0.34;
}
.xray-plate-b {
  left: 9vw;
  bottom: 4vh;
  transform: rotate(12deg) scale(0.78);
  opacity: 0.28;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }

.shell { width: min(1180px, calc(100% - 28px)); margin: 0 auto; }
.glass {
  background: var(--panel);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.55);
  box-shadow: var(--shadow);
}
.panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.9), rgba(246,251,255,0.82)),
    rgba(255,255,255,0.82);
  box-shadow: var(--shadow);
}
.panel > * {
  position: relative;
  z-index: 1;
}
.panel::before {
  content: '';
  position: absolute;
  inset: 14px;
  pointer-events: none;
  border-radius: calc(var(--radius-xl) - 10px);
  background:
    linear-gradient(118deg, transparent 0 18%, rgba(13,78,166,0.055) 18% 18.4%, transparent 18.4% 40%, rgba(13,78,166,0.045) 40% 40.35%, transparent 40.35%),
    radial-gradient(circle at 12% 18%, rgba(31,115,201,0.08), transparent 14%),
    radial-gradient(circle at 88% 76%, rgba(31,115,201,0.1), transparent 16%);
  opacity: 0.88;
}
.panel::after {
  content: '';
  position: absolute;
  inset: auto -120px -180px auto;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 115, 201, 0.16), transparent 68%);
  pointer-events: none;
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  background: #302f91;
  color: #fff;
  box-shadow: 0 16px 36px rgba(13, 78, 166, 0.22);
}
.address-link {
  color: var(--blue);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.address-link:hover {
  color: #08397f;
}
.brand-mark.small { width: 52px; height: 52px; border-radius: 18px; }
.brand-mark.large { width: 88px; height: 88px; border-radius: 28px; }
.brand-mark-small { width: 52px; height: 52px; border-radius: 18px; }
.brand-mark-large { width: 88px; height: 88px; border-radius: 28px; }
.brand-title {
  width: fit-content;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #0d4ea6;
  box-shadow: none;
}
.logo-fallback {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.logo-mark {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(13, 78, 166, 0.08);
  color: var(--blue);
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.pill::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-2);
  box-shadow: 0 0 0 5px rgba(31, 115, 201, 0.12);
}
.kicker {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 800;
  font-size: 0.75rem;
}
.title {
  font-family: 'Cormorant Garamond', serif;
  letter-spacing: 0.01em;
  line-height: 0.92;
  margin: 0;
}
.title.hero { font-size: clamp(3rem, 6.8vw, 5.9rem); }
.title.page { font-size: clamp(2.8rem, 6vw, 4.8rem); }
.title.section { font-size: clamp(2rem, 4vw, 3.2rem); }
.lede { color: var(--muted); line-height: 1.85; font-size: 1.03rem; max-width: 66ch; }
.nav-link {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.92rem;
  transition: 180ms ease;
}
.nav-link:hover,
.nav-link[aria-current='page'] {
  background: rgba(13, 78, 166, 0.08);
  color: var(--blue);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: 180ms ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--blue), #08397f);
  color: #fff;
  box-shadow: 0 18px 30px rgba(13, 78, 166, 0.18);
}
.btn-secondary {
  background: rgba(255,255,255,0.82);
  border-color: rgba(13, 78, 166, 0.14);
  color: var(--blue);
}
.btn-ghost {
  background: rgba(13, 78, 166, 0.06);
  color: var(--blue);
  border-color: rgba(13, 78, 166, 0.08);
}
.button-primary {
  background: linear-gradient(135deg, var(--blue), #08397f);
  color: #fff;
  box-shadow: 0 18px 30px rgba(13, 78, 166, 0.18);
}
.button-secondary {
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(13, 78, 166, 0.14);
  color: var(--blue);
}
.button-ghost {
  background: rgba(13, 78, 166, 0.06);
  color: var(--blue);
  border: 1px solid rgba(13, 78, 166, 0.08);
}
.page-nav-link {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.92rem;
  transition: 180ms ease;
}
.page-nav-link:hover,
.page-nav-link[aria-current='page'] {
  background: rgba(13, 78, 166, 0.08);
  color: var(--blue);
}
.footer-link { color: rgba(255,255,255,0.78); }
.footer-link:hover { color: #fff; }
.outline-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(16, 35, 61, 0.12);
  background: rgba(255,255,255,0.84);
  border-radius: 999px;
}
.icon-box {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(13, 78, 166, 0.1), rgba(31, 115, 201, 0.24));
}
.icon-box svg { width: 24px; height: 24px; color: var(--blue); }
.icon-box {
  position: relative;
}
.icon-box::after {
  content: '';
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  border: 1px solid rgba(13,78,166,0.16);
}
.card,
.stat,
.review,
.gallery,
.location,
.contact,
.appointment,
.step,
.cta {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.service-card,
.info-card,
.cta-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(16, 35, 61, 0.08);
  background: rgba(255,255,255,0.86);
  box-shadow: 0 16px 40px rgba(13, 43, 82, 0.08);
}
.service-card::before,
.info-card::before,
.cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(31, 115, 201, 0.06), transparent 55%);
  pointer-events: none;
}
.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--blue), #08397f);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  box-shadow: 0 14px 28px rgba(13, 78, 166, 0.18);
}
.badge-soft {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(31, 115, 201, 0.12);
  color: #14457b;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.card,
.review,
.gallery,
.location,
.contact,
.appointment,
.step,
.cta { border-radius: var(--radius-lg); }
.card,
.review,
.gallery,
.location,
.contact,
.appointment,
.step {
  position: relative;
  overflow: hidden;
}
.card::before,
.review::before,
.gallery::before,
.location::before,
.contact::before,
.appointment::before,
.step::before {
  content: '';
  position: absolute;
  right: -34px;
  top: -28px;
  width: 120px;
  height: 58px;
  pointer-events: none;
  opacity: 0.68;
  background:
    radial-gradient(circle at 18px 29px, transparent 0 11px, rgba(13,78,166,0.16) 12px 13px, transparent 14px),
    radial-gradient(circle at 102px 29px, transparent 0 11px, rgba(13,78,166,0.16) 12px 13px, transparent 14px),
    linear-gradient(90deg, transparent 0 14px, rgba(13,78,166,0.13) 15px 105px, transparent 106px);
  border-radius: 999px;
  transform: rotate(-18deg);
}
.card::after,
.review::after,
.gallery::after,
.location::after,
.contact::after,
.appointment::after,
.step::after {
  content: '';
  position: absolute;
  left: -36px;
  bottom: -28px;
  width: 145px;
  height: 96px;
  pointer-events: none;
  opacity: 0.34;
  border-radius: 50%;
  border: 1.5px solid rgba(13,78,166,0.18);
  box-shadow:
    36px -10px 0 -28px rgba(13,78,166,0.22),
    70px 6px 0 -32px rgba(13,78,166,0.18);
  transform: rotate(14deg);
}
.card > *,
.review > *,
.gallery > *,
.location > *,
.contact > *,
.appointment > *,
.step > * {
  position: relative;
  z-index: 1;
}
.service-photo {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  min-height: 168px;
  background:
    linear-gradient(135deg, rgba(13,78,166,0.18), rgba(127,183,255,0.18)),
    #eaf4ff;
  border: 1px solid rgba(13,78,166,0.12);
}
.service-photo img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  filter: saturate(1.06) contrast(1.02);
}
.service-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 42%, rgba(7,28,58,0.42)),
    radial-gradient(circle at 16% 20%, rgba(255,255,255,0.26), transparent 24%);
  pointer-events: none;
}
.service-photo-bone {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 116px;
  height: 36px;
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,0.66);
  transform: rotate(-15deg);
  z-index: 1;
}
.service-photo-bone::before,
.service-photo-bone::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 29px;
  height: 29px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.62);
  background: rgba(13,78,166,0.14);
  transform: translateY(-50%);
}
.service-photo-bone::before { left: -12px; }
.service-photo-bone::after { right: -12px; }
.qualification-card {
  min-height: 100%;
}
.qualification-showcase {
  position: relative;
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) 1fr;
  gap: 22px;
  align-items: center;
  overflow: hidden;
  min-height: 330px;
}
.qualification-showcase > * {
  position: relative;
  z-index: 1;
}
.qualification-art {
  grid-row: span 2;
  position: relative;
  min-height: 300px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 18%, rgba(255,255,255,0.82), transparent 22%),
    linear-gradient(180deg, rgba(13,78,166,0.12), rgba(127,183,255,0.1));
  border: 1px solid rgba(13,78,166,0.12);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.58);
}
.bone-column {
  position: absolute;
  left: 50%;
  top: 28px;
  width: 64px;
  height: 230px;
  transform: translateX(-50%);
}
.bone-column::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 8px;
  border-radius: 999px;
  background: rgba(13,78,166,0.16);
  transform: translateX(-50%);
}
.bone-column span {
  position: absolute;
  left: 50%;
  width: 74px;
  height: 30px;
  border-radius: 999px;
  border: 2px solid rgba(13,78,166,0.22);
  background: rgba(255,255,255,0.44);
  transform: translateX(-50%);
}
.bone-column span:nth-child(1) { top: 4px; }
.bone-column span:nth-child(2) { top: 48px; width: 86px; }
.bone-column span:nth-child(3) { top: 95px; width: 96px; }
.bone-column span:nth-child(4) { top: 145px; width: 88px; }
.bone-column span:nth-child(5) { top: 194px; width: 76px; }
.joint-diagram {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(13,78,166,0.18);
  background: rgba(255,255,255,0.24);
}
.joint-diagram::before,
.joint-diagram::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(13,78,166,0.18);
}
.joint-diagram-a {
  width: 92px;
  height: 92px;
  right: 18px;
  top: 28px;
}
.joint-diagram-a::before { inset: 18px; }
.joint-diagram-a::after { inset: 34px; }
.joint-diagram-b {
  width: 112px;
  height: 112px;
  left: 16px;
  bottom: 22px;
}
.joint-diagram-b::before { inset: 24px; }
.joint-diagram-b::after { inset: 44px; }
.long-bone-diagram {
  position: absolute;
  right: 16px;
  bottom: 44px;
  width: 132px;
  height: 36px;
  border-radius: 999px;
  border: 2px solid rgba(13,78,166,0.2);
  transform: rotate(-22deg);
}
.long-bone-diagram::before,
.long-bone-diagram::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid rgba(13,78,166,0.18);
  transform: translateY(-50%);
}
.long-bone-diagram::before { left: -12px; }
.long-bone-diagram::after { right: -12px; }
.qualification-chips,
.expertise-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.qualification-chips span,
.expertise-cloud span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(13,78,166,0.12);
  background: rgba(255,255,255,0.78);
  color: #14457b;
  font-size: 0.86rem;
  font-weight: 800;
  padding: 10px 13px;
  box-shadow: 0 10px 22px rgba(13,43,82,0.06);
}
.expertise-cloud span {
  color: var(--muted);
  font-weight: 700;
}
.hero-shell {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  border: 1px solid rgba(16, 35, 61, 0.08);
  background: linear-gradient(180deg, rgba(13, 78, 166, 0.05), rgba(255,255,255,0.88));
  box-shadow: var(--shadow);
}
.bone-ornament {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.95;
}
.bone-arc {
  position: absolute;
  width: min(44vw, 560px);
  height: min(44vw, 560px);
  filter: drop-shadow(0 18px 34px rgba(13, 78, 166, 0.12));
}
.bone-arc path {
  stroke: rgba(13, 78, 166, 0.15);
  stroke-width: 1.4;
  fill: rgba(213, 233, 255, 0.18);
}
.bone-arc-left {
  top: -120px;
  left: -110px;
  transform: rotate(-8deg);
}
.bone-arc-right {
  right: -150px;
  bottom: -160px;
  transform: rotate(16deg);
}
.bone-doodle {
  position: absolute;
  width: 250px;
  height: 250px;
  stroke: rgba(13, 78, 166, 0.18);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  filter: drop-shadow(0 10px 24px rgba(13, 78, 166, 0.08));
}
.bone-doodle::before {
  content: '';
}
.bone-doodle path,
.bone-doodle circle {
  fill: none;
}
.bone-doodle-a {
  top: 20px;
  left: 22px;
  transform: rotate(-8deg);
}
.bone-doodle-b {
  right: 10px;
  bottom: 18px;
  transform: rotate(14deg);
}
.doodle-spark {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255,255,255,0.96) 0 34%, rgba(127,183,255,0.34) 36%, transparent 70%);
  opacity: 0.9;
}
.doodle-spark::before,
.doodle-spark::after {
  content: '';
  position: absolute;
  inset: 50% auto auto 50%;
  width: 48px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(31,115,201,0.34), transparent);
  transform: translate(-50%, -50%) rotate(45deg);
}
.doodle-spark::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}
.doodle-spark-a {
  width: 82px;
  height: 82px;
  top: 28px;
  right: 28px;
}
.doodle-spark-b {
  width: 52px;
  height: 52px;
  left: 24px;
  bottom: 26px;
}
.mini-bone-sketch {
  width: 44px;
  height: 18px;
  border-radius: 999px;
  border: 1.4px solid rgba(13, 78, 166, 0.22);
  position: relative;
  flex: 0 0 auto;
}
.mini-bone-sketch::before,
.mini-bone-sketch::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.4px solid rgba(13, 78, 166, 0.18);
  transform: translateY(-50%);
}
.mini-bone-sketch::before { left: -6px; }
.mini-bone-sketch::after { right: -6px; }
.mini-bone-right { transform: scaleX(-1); }
.joint-node {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff, rgba(127, 183, 255, 0.6));
  border: 1px solid rgba(13, 78, 166, 0.16);
  box-shadow: 0 10px 24px rgba(13, 78, 166, 0.16);
}
.joint-node::after {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px solid rgba(13, 78, 166, 0.12);
}
.joint-node-a { top: 22%; left: 18%; }
.joint-node-b { top: 42%; right: 18%; }
.joint-node-c { bottom: 18%; left: 44%; }
.floating-bone {
  position: absolute;
  width: 96px;
  height: 36px;
  border-radius: 999px;
  border: 1.5px solid rgba(13, 78, 166, 0.16);
  opacity: 0.62;
  transform: rotate(-18deg);
}
.floating-bone::before,
.floating-bone::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid rgba(13, 78, 166, 0.15);
  background: rgba(255,255,255,0.28);
  transform: translateY(-50%);
}
.floating-bone::before { left: -13px; box-shadow: 18px 0 0 -6px rgba(13,78,166,0.08); }
.floating-bone::after { right: -13px; box-shadow: -18px 0 0 -6px rgba(13,78,166,0.08); }
.floating-bone-a { left: 46%; top: 18%; }
.floating-bone-b { right: 30%; bottom: 20%; transform: rotate(16deg) scale(0.78); }
.floating-bone-c { left: 12%; bottom: 34%; transform: rotate(28deg) scale(0.62); }
.skeletal-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(13, 78, 166, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 78, 166, 0.03) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: radial-gradient(circle at center, black 25%, transparent 82%);
}
.hero-ribbon {
  position: absolute;
  left: 16px;
  top: 16px;
  display: flex;
  gap: 8px;
  z-index: 1;
}
.hero-ribbon span {
  width: 58px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(13, 78, 166, 0.34), rgba(127, 183, 255, 0.72));
}
.section-bone-cue {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  opacity: 0.92;
}
.bone-line {
  flex: 1;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(13, 78, 166, 0.22), transparent);
}
.bone-core {
  display: flex;
  align-items: center;
  gap: 8px;
}
.bone-core span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(13, 78, 166, 0.45), rgba(127, 183, 255, 0.85));
  box-shadow: 0 0 0 5px rgba(127, 183, 255, 0.12);
}
.section-bone-cue .mini-bone-sketch {
  opacity: 0.82;
}
.cta {
  position: relative;
  overflow: hidden;
}
.cta-art {
  position: absolute;
  inset: auto -70px -80px auto;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(127, 183, 255, 0.22), transparent 66%);
  pointer-events: none;
}
.cta-art::before,
.cta-art::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(13, 78, 166, 0.12);
}
.cta-art::before {
  width: 170px;
  height: 170px;
  right: 22px;
  bottom: 20px;
}
.cta-art::after {
  width: 86px;
  height: 86px;
  right: 52px;
  bottom: 50px;
}
.hero-shell::before,
.hero-shell::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero-shell::before {
  width: 340px; height: 340px; top: -120px; right: -120px;
  background: radial-gradient(circle, rgba(141, 193, 255, 0.24), transparent 68%);
}
.hero-shell::after {
  width: 240px; height: 240px; bottom: -70px; left: -60px;
  background: radial-gradient(circle, rgba(13, 78, 166, 0.12), transparent 68%);
}
.hero-image-wrap .doodle-spark-a {
  z-index: 1;
  mix-blend-mode: screen;
  opacity: 0.68;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.16fr 0.84fr;
  gap: 34px;
  align-items: center;
  padding: 42px;
  z-index: 1;
}
.hero-image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: linear-gradient(180deg, #f8fcff, #eaf4ff);
  border: 1px solid rgba(255,255,255,0.72);
  box-shadow: 0 28px 70px rgba(13, 43, 82, 0.18);
}
.hero-image-wrap img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.doctor-slider {
  position: relative;
  display: grid;
  overflow: hidden;
  border-radius: inherit;
  background: linear-gradient(180deg, #f8fcff, #eaf4ff);
}
.doctor-slider img {
  grid-area: 1 / 1;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  opacity: 0;
  animation: doctorSlide 15s infinite;
}
.doctor-slider img:nth-child(2) { animation-delay: 5s; }
.doctor-slider img:nth-child(3) { animation-delay: 10s; }
.preview-doctor-slider,
.about-doctor-slider {
  border-radius: 24px;
  border: 1px solid rgba(16,35,61,0.08);
}
@keyframes doctorSlide {
  0%, 27% { opacity: 1; transform: scale(1); }
  33%, 94% { opacity: 0; transform: scale(1.035); }
  100% { opacity: 1; transform: scale(1); }
}
.hero-note {
  position: absolute;
  left: 18px;
  bottom: 18px;
  right: 18px;
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(255,255,255,0.84);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(16,35,61,0.08);
}
.hero-note::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 20px;
  border: 1px solid rgba(13, 78, 166, 0.08);
  pointer-events: none;
}
.section {
  padding: 18px 0 36px;
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.section-head p {
  margin: 0;
  max-width: 58ch;
  color: var(--muted);
  line-height: 1.7;
}
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.stat { padding: 18px; }
.stat strong { display:block; font-family: 'Cormorant Garamond', serif; font-size: 2rem; line-height: 1; }
.stat span { color: var(--muted); font-size: 0.9rem; }
.service-grid,
.review-grid,
.gallery-grid,
.contact-grid,
.appointment-grid,
.feature-grid,
.stats-grid,
.page-list,
.steps-grid {
  display: grid;
  gap: 18px;
}
.card { padding: 22px; }
.card p,
.review p,
.location p,
.contact p,
.appointment p,
.gallery p,
.step span,
.feature p {
  color: var(--muted);
  line-height: 1.7;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(13, 78, 166, 0.08);
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.badge-soft {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(31, 115, 201, 0.12);
  color: #14457b;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 10px;
}
.list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  line-height: 1.6;
}
.list li::before {
  content: '';
  width: 9px; height: 9px; margin-top: 0.55rem; border-radius: 50%;
  background: linear-gradient(180deg, var(--blue-2), var(--blue)); flex-shrink: 0;
}
.procedure-list,
.detail-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 9px;
}
.procedure-list {
  margin: 0;
}
.detail-list {
  margin: 0;
}
.procedure-list li,
.detail-list li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.93rem;
}
.procedure-list li::before,
.detail-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--gold));
}
.compact-credentials {
  display: grid;
  align-content: start;
  gap: 22px;
}
.compact-credentials > div {
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(13,78,166,0.055), rgba(244,185,66,0.075));
  border: 1px solid rgba(13,78,166,0.08);
}
.qualification-detail-card {
  background:
    radial-gradient(circle at 100% 0%, rgba(31,115,201,0.14), transparent 24%),
    linear-gradient(135deg, rgba(255,255,255,0.96), rgba(240,248,255,0.9));
}
.qualification-detail-list {
  gap: 12px;
}
.qualification-detail-list li {
  display: grid;
  grid-template-columns: minmax(110px, 0.32fr) 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px 14px 12px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,0.76);
  border: 1px solid rgba(13,78,166,0.1);
  box-shadow: 0 12px 24px rgba(13,43,82,0.05);
}
.qualification-detail-list li::before {
  display: none;
}
.qualification-detail-list strong {
  color: var(--blue);
  font-weight: 900;
  letter-spacing: 0.02em;
}
.qualification-detail-list span {
  color: #51657d;
  line-height: 1.65;
}
.speciality-detail-card {
  overflow: hidden;
  background:
    radial-gradient(circle at 96% 8%, rgba(244,185,66,0.13), transparent 20%),
    linear-gradient(135deg, rgba(255,255,255,0.94), rgba(239,247,255,0.86));
}
.procedure-desc {
  color: #51657d;
  font-size: 0.96rem;
  line-height: 1.8;
  padding: 14px 16px;
  border-left: 4px solid var(--blue);
  border-radius: 14px;
  background: rgba(13,78,166,0.055);
}
.procedure-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.procedure-highlights span {
  display: inline-flex;
  align-items: center;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(13,78,166,0.1);
  color: #123f70;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.35;
}
.procedure-detail-list {
  gap: 10px 14px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(13,78,166,0.09);
}
.procedure-detail-list li {
  padding: 9px 10px 9px 24px;
  border-radius: 12px;
  background: rgba(248,251,255,0.86);
  color: #4c6078;
  font-weight: 650;
}
.procedure-detail-list li::before {
  left: 10px;
  top: 1.05em;
  width: 7px;
  height: 7px;
  background: var(--blue);
}
.columns-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 18px;
}
.doctor-miniature {
  position: absolute;
  inset: 18px;
  display: grid;
  place-items: end center;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.8), rgba(220,238,255,0.72));
}
.doctor-miniature img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 24px;
  filter: saturate(1.08) contrast(1.04);
  box-shadow: none;
}
.miniature-glow {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13,78,166,0.24), transparent 68%);
  top: 20px;
}
.miniature-bone {
  position: absolute;
  z-index: 3;
  left: 8%;
  bottom: 22%;
  width: 64%;
  filter: drop-shadow(0 18px 24px rgba(13,43,82,0.22));
}
.miniature-bone path:first-child {
  fill: #fff;
  stroke: rgba(13,78,166,0.28);
  stroke-width: 4;
}
.miniature-bone path:last-child {
  stroke: rgba(13,78,166,0.36);
  stroke-width: 5;
  stroke-linecap: round;
}
.location {
  padding: 24px;
  display: grid;
  gap: 18px;
}
.map-frame {
  width: 100%;
  min-height: 360px;
  border: 0;
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
}
.map-frame iframe {
  width: 100%;
  min-height: 360px;
  border: 0;
}
.review .stars {
  display: flex;
  gap: 5px;
  color: #f4b942;
}
.review-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.review-score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 34px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0d4ea6, #08397f);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(13,78,166,0.16);
}
.review {
  background:
    radial-gradient(circle at 94% 12%, rgba(244,185,66,0.14), transparent 18%),
    linear-gradient(135deg, rgba(255,255,255,0.9), rgba(239,247,255,0.82));
}
.review-person {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  object-fit: cover;
  flex: 0 0 auto;
  border: 3px solid #fff;
  box-shadow: 0 12px 24px rgba(13,78,166,0.18);
}
.review p {
  font-size: 1rem;
  color: #33445a;
}
.reviewer {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.92rem;
}
.gallery-slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  border-radius: 24px 24px 0 0;
  background:
    linear-gradient(135deg, rgba(13,78,166,0.08), rgba(31,115,201,0.16)),
    #edf6ff;
  scrollbar-width: thin;
}
.gallery-slide {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  scroll-snap-align: start;
  display: block;
}
.gallery-slide.sensitive-blur {
  filter: blur(5px) saturate(0.9);
  transform: scale(1.02);
}
.gallery-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 24px 24px 0 0;
  background: #071a33;
}
.gallery-video iframe,
.gallery-video video {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  object-fit: cover;
}
.gallery .brand-mark.small {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
}
.gallery .content { padding: 18px; }
.contact-item { display:flex; gap:14px; align-items:flex-start; }
.contact-meta { display:grid; gap:2px; }
.contact-meta strong { font-size: 1rem; }
.contact-meta span, .contact-meta a {
  color: var(--muted);
  overflow-wrap: anywhere;
  word-break: break-word;
}
.field {
  display: grid;
  gap: 8px;
}
.field label,
.field .label {
  font-weight: 800;
  font-size: 0.92rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid rgba(16,35,61,0.14);
  border-radius: 16px;
  background: rgba(255,255,255,0.9);
  padding: 14px 16px;
  color: var(--text);
  transition: 180ms ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(13, 78, 166, 0.42);
  box-shadow: 0 0 0 4px rgba(13, 78, 166, 0.08);
}
.help,
.success,
.error { font-size: 0.9rem; line-height: 1.6; }
.help { color: var(--muted); }
.success { color: #0f6f3d; }
.error { color: #a23d3d; }
.hidden-field {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
.cta {
  padding: 24px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  border-radius: 28px;
  position: relative;
  overflow: hidden;
}
.cta-art {
  position: absolute;
  inset: auto -70px -80px auto;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(127, 183, 255, 0.22), transparent 66%);
  pointer-events: none;
}
.cta-art::before,
.cta-art::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(13, 78, 166, 0.12);
}
.cta-art::before { width: 170px; height: 170px; right: 22px; bottom: 20px; }
.cta-art::after { width: 86px; height: 86px; right: 52px; bottom: 50px; }
.cta::before {
  content: '';
  position: absolute;
  left: 34%;
  bottom: -34px;
  width: 230px;
  height: 76px;
  border-radius: 999px;
  border: 1.5px solid rgba(13, 78, 166, 0.12);
  transform: rotate(-8deg);
  pointer-events: none;
}
.cta::after {
  content: '';
  position: absolute;
  left: calc(34% + 20px);
  bottom: -6px;
  width: 190px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(13,78,166,0.18), transparent);
  transform: rotate(-8deg);
  pointer-events: none;
}
.footer {
  padding: 28px 0 136px;
  color: var(--muted);
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  inset: 22px -80px auto auto;
  width: 360px;
  height: 220px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  transform: rotate(-18deg);
  pointer-events: none;
}
.footer::after {
  content: '';
  position: absolute;
  left: -90px;
  bottom: 48px;
  width: 420px;
  height: 90px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.1);
  transform: rotate(13deg);
  pointer-events: none;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(16,35,61,0.08);
  padding-top: 18px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-links a:hover { color: var(--blue); }
.floating-wa,
.mobile-bar {
  position: fixed;
  z-index: 40;
}
.floating-wa {
  right: 20px;
  bottom: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: #25d366;
  box-shadow: 0 18px 34px rgba(37, 211, 102, 0.32);
}
.floating-wa svg { width: 34px; height: 34px; }
.mobile-bar {
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
  gap: 10px;
  padding: 12px;
  background: rgba(245, 249, 255, 0.84);
  backdrop-filter: blur(18px);
  border-top: 1px solid rgba(16,35,61,0.1);
}
.mobile-bar a {
  flex: 1;
  border-radius: 16px;
  padding: 13px 10px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 800;
}
.mobile-bar .call { background: rgba(13, 78, 166, 0.08); color: var(--blue); }
.mobile-bar .wa { background: linear-gradient(135deg, #25d366, #16a34a); color: #fff; }
.mobile-bar .book { background: linear-gradient(135deg, var(--blue), #08397f); color: #fff; }
.fade-in { animation: fadeInUp 700ms ease both; }
.delay-1 { animation-delay: 100ms; }
.delay-2 { animation-delay: 200ms; }
.delay-3 { animation-delay: 300ms; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 1080px) {
  .hero-grid,
  .contact-grid,
  .appointment-grid,
  .section-head { grid-template-columns: 1fr; }
  .qualification-showcase {
    grid-template-columns: 1fr;
  }
  .qualification-art {
    grid-row: auto;
  }
  .grid-2,
  .grid-3,
  .grid-4,
  .service-grid,
  .review-grid,
  .gallery-grid,
  .feature-grid,
  .stats-grid,
  .steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .columns-list { grid-template-columns: 1fr; }
  .qualification-detail-list li { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 860px) {
  .hero-grid { padding: 26px; }
  .section { padding-top: 22px; }
  .cta { flex-direction: column; align-items: flex-start; }
  .mobile-bar { display: flex; }
  .footer { padding-bottom: 156px; }
  .bone-ornament,
  .cta-art { opacity: 0.55; }
  .backbone-art-a { right: -130px; opacity: 0.44; }
  .backbone-art-b { left: -210px; opacity: 0.36; }
  .backbone-art-c { right: -120px; opacity: 0.32; }
  .xray-plate { opacity: 0.2; }
}
@media (max-width: 640px) {
  .shell { width: min(100% - 18px, 1180px); }
  .hero-grid,
  .card,
  .review,
  .gallery,
  .location,
  .contact,
  .appointment,
  .step,
  .cta { padding: 18px; }
  .grid-2,
  .grid-3,
  .grid-4,
  .service-grid,
  .review-grid,
  .gallery-grid,
  .feature-grid,
  .stats-grid,
  .steps-grid { grid-template-columns: 1fr; }
  .compact-credentials > div { padding: 14px; }
  .nav-link { padding: 8px 12px; font-size: 0.88rem; }
  .floating-wa { right: 16px; bottom: 88px; }
  .bone-ornament {
    display: block;
    opacity: 0.28;
  }
  .cta-art { opacity: 0.24; }
  .qualification-showcase { min-height: auto; }
  .qualification-art { min-height: 240px; }
  .qualification-chips span,
  .expertise-cloud span {
    font-size: 0.8rem;
    padding: 9px 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
