:root {
  --navy: #02182e;
  --blue: #022f56;
  --mid: #488db4;
  --sky: #85c4e4;
  --mist: #ccdee4;
  --white: #ffffff;
  --paper: #f8fbfc;
  --ink: #061f35;
  --muted: #667d8d;
  --line: rgba(2, 47, 86, 0.13);
  --shadow: 0 24px 70px rgba(2, 24, 46, 0.12);
  --soft-shadow: 0 14px 40px rgba(2, 24, 46, 0.08);
  --radius: 22px;
  --radius-sm: 14px;
}

@property --spin {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}

body::selection {
  color: var(--white);
  background: var(--blue);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
select {
  font: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  left: 16px;
  top: -60px;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--white);
  background: var(--navy);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.page-loader {
  position: fixed;
  z-index: 999;
  inset: 0;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 72% 30%, rgba(133, 196, 228, 0.22), transparent 30%),
    linear-gradient(135deg, #ffffff, #eef7fa);
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.loaded {
  visibility: hidden;
  opacity: 0;
}

.loader-mark {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 20px;
  width: min(420px, calc(100% - 48px));
}

.loader-mark img {
  width: min(320px, 78vw);
  height: auto;
  filter: drop-shadow(0 18px 28px rgba(2, 47, 86, 0.12));
  animation: loaderLift 1.35s ease-in-out infinite alternate, loaderGlow 2.4s ease-in-out infinite;
}

.loader-mark span {
  position: relative;
  width: min(280px, 70vw);
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(72, 141, 180, 0.16);
}

.loader-mark span::before {
  position: absolute;
  inset: 0;
  width: 42%;
  border-radius: inherit;
  content: "";
  background: linear-gradient(90deg, var(--blue), var(--sky));
  animation: loaderRun 1.05s cubic-bezier(0.55, 0, 0.18, 1) infinite;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.section-pad {
  padding: 104px 0;
}

.site-header {
  position: fixed;
  z-index: 80;
  top: 18px;
  left: 50%;
  display: grid;
  grid-template-columns: 310px 1fr auto;
  gap: 24px;
  align-items: center;
  width: min(1180px, calc(100% - 40px));
  min-height: 84px;
  padding: 10px 14px 10px 20px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 54px rgba(2, 24, 46, 0.08);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
  transition: min-height 0.25s ease, top 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.scrolled {
  top: 10px;
  min-height: 72px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 42px rgba(2, 24, 46, 0.14);
}

.brand {
  display: flex;
  align-items: center;
  min-width: 0;
}

.brand img {
  width: 292px;
  height: 60px;
  object-fit: contain;
  object-position: left center;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 18px;
  color: #31536a;
  font-size: 13px;
  font-weight: 760;
}

.main-nav a {
  padding: 12px 0;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--blue);
}

.nav-cta,
.btn,
.floating-cta,
.directions-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 850;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.nav-cta {
  min-height: 46px;
  padding: 0 20px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--mid));
  background-size: 180% 180%;
  box-shadow: 0 12px 28px rgba(2, 47, 86, 0.18);
  animation: freeConsultationGlow 3s ease-in-out infinite;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 780px;
  overflow: hidden;
  padding-top: 154px;
  background:
    radial-gradient(circle at 85% 10%, rgba(133, 196, 228, 0.4), transparent 26%),
    linear-gradient(135deg, #f7fbfd 0%, #eef6f8 48%, #ffffff 100%);
}

.hero-orb {
  position: absolute;
  right: -140px;
  top: 120px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(72, 141, 180, 0.18), transparent 68%);
  animation: gradientDrift 10s ease-in-out infinite alternate;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.82fr);
  gap: 72px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--mid);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

.hero h1,
.section-head h2,
.doctor-content h2,
.final-cta h2 {
  margin: 0;
  color: var(--navy);
  font-weight: 900;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(46px, 6vw, 78px);
  line-height: 1.01;
}

.hero-lead {
  max-width: 630px;
  margin: 24px 0 32px;
  color: #536f81;
  font-size: 19px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 26px;
}

.btn {
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  cursor: pointer;
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--mid));
  background-size: 180% 180%;
  box-shadow: 0 18px 38px rgba(2, 47, 86, 0.22);
}

.hero-actions .btn-primary,
.floating-cta {
  animation: freeConsultationGlow 3s ease-in-out infinite;
}

.btn-secondary {
  color: var(--blue);
  border: 1px solid rgba(2, 47, 86, 0.16);
  background: rgba(255, 255, 255, 0.72);
}

.btn:hover,
.nav-cta:hover,
.floating-cta:hover,
.directions-link:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 20px 42px rgba(2, 47, 86, 0.18);
}

.btn-doctor {
  position: relative;
  overflow: hidden;
}

.btn-doctor::after {
  width: 18px;
  height: 18px;
  margin-left: 9px;
  content: "";
  background: currentColor;
  clip-path: polygon(25% 12%, 82% 50%, 25% 88%, 25% 64%, 0 64%, 0 36%, 25% 36%);
  transform: translateX(0);
  transition: transform 0.22s ease;
}

.btn-doctor:hover::after {
  transform: translateX(5px);
}

.trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 680px;
}

.trust-pills span {
  padding: 10px 14px;
  border: 1px solid rgba(72, 141, 180, 0.18);
  border-radius: 999px;
  color: #24465d;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 10px 28px rgba(2, 24, 46, 0.05);
  font-size: 13px;
  font-weight: 780;
  animation: softFloat 5s ease-in-out infinite;
}

.trust-pills span:nth-child(2) {
  animation-delay: 0.7s;
}

.trust-pills span:nth-child(3) {
  animation-delay: 1.2s;
}

.trust-pills span:nth-child(4) {
  animation-delay: 1.7s;
}

.hero-media {
  min-height: 568px;
}

.doctor-card-main {
  position: relative;
  height: 568px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 34px;
  background:
    linear-gradient(145deg, #ffffff, #e9f5f8),
    radial-gradient(circle at 72% 16%, rgba(133, 196, 228, 0.34), transparent 28%);
  box-shadow: var(--shadow);
}

.doctor-card-main::before {
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(72, 141, 180, 0.16);
  border-radius: 26px;
  content: "";
}

.doctor-card-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.doctor-meta {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  padding: 18px 20px;
  border: 1px solid rgba(255,255,255,0.72);
  border-radius: 20px;
  background: rgba(255,255,255,0.82);
  box-shadow: 0 18px 44px rgba(2, 24, 46, 0.12);
  backdrop-filter: blur(14px);
}

.doctor-meta span {
  color: var(--mid);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.doctor-meta strong {
  display: block;
  margin-top: 3px;
  color: var(--navy);
  font-size: 24px;
}

.doctor-meta p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.hero-stats {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  margin-top: 48px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--line);
  box-shadow: var(--soft-shadow);
}

.hero-stats article {
  min-height: 118px;
  padding: 26px;
  background: rgba(255,255,255,0.86);
}

.hero-stats strong {
  display: block;
  color: var(--blue);
  font-size: 34px;
  line-height: 1;
}

.hero-stats span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 720;
}

.signature-hero {
  min-height: auto;
  padding: 138px 0 76px;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(2, 24, 46, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(2, 47, 86, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 78% 16%, rgba(133, 196, 228, 0.34), transparent 30%),
    linear-gradient(135deg, #ffffff 0%, #f3f8fa 44%, #ffffff 100%);
  background-size: 76px 76px, 76px 76px, auto, auto;
}

.hero-stage {
  position: relative;
  z-index: 2;
}

.hero-topline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(2, 47, 86, 0.13);
  color: #4e6c7f;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.hero-title-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 36px;
  align-items: end;
  margin-top: 46px;
}

.hero-title-block .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -18px;
}

.hero-title-block h1 {
  grid-column: 1 / -1;
  max-width: 1060px;
  color: var(--navy);
  font-size: clamp(54px, 8.4vw, 112px);
  line-height: 0.9;
  letter-spacing: -1.8px;
}

.hero-composition {
  display: grid;
  grid-template-columns: 150px minmax(320px, 430px) minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
  margin-top: -10px;
}

.hero-index {
  display: grid;
  align-content: end;
  gap: 10px;
  min-height: 430px;
  padding: 22px 0;
}

.hero-index span {
  color: var(--mid);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.hero-index a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid rgba(2, 47, 86, 0.12);
  color: var(--blue);
  font-weight: 850;
}

.doctor-signature {
  position: relative;
  min-height: 560px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: 999px 999px 34px 34px;
  background:
    radial-gradient(circle at 52% 28%, rgba(255,255,255,0.95), transparent 30%),
    linear-gradient(145deg, #e9f5f8, #ffffff);
  box-shadow: 0 30px 90px rgba(2, 24, 46, 0.16);
}

.doctor-signature::before {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(72, 141, 180, 0.18);
  border-radius: 999px 999px 26px 26px;
  content: "";
  pointer-events: none;
}

.doctor-signature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.doctor-signature figcaption {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
  padding: 16px 18px;
  border: 1px solid rgba(255,255,255,0.74);
  border-radius: 22px;
  background: rgba(255,255,255,0.84);
  box-shadow: 0 18px 44px rgba(2, 24, 46, 0.12);
  backdrop-filter: blur(14px);
}

.doctor-signature strong,
.doctor-signature span {
  display: block;
}

.doctor-signature strong {
  color: var(--navy);
  font-size: 24px;
}

.doctor-signature span {
  color: var(--muted);
  font-size: 14px;
}

.hero-decision-card {
  align-self: end;
  max-width: 560px;
  margin-bottom: 34px;
  padding: 30px;
  border: 1px solid rgba(255,255,255,0.78);
  border-radius: 32px;
  background: rgba(255,255,255,0.82);
  box-shadow: 0 24px 70px rgba(2, 24, 46, 0.1);
  backdrop-filter: blur(18px);
}

.hero-decision-card > p {
  margin: 0 0 24px;
  color: #456477;
  font-size: 18px;
}

.hero-dock {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1px;
  overflow: hidden;
  margin-top: 28px;
  border: 1px solid rgba(2, 47, 86, 0.13);
  border-radius: 30px;
  background: rgba(2, 47, 86, 0.13);
  box-shadow: var(--soft-shadow);
}

.hero-dock article {
  min-height: 150px;
  padding: 24px;
  background: rgba(255,255,255,0.88);
}

.hero-dock span {
  color: var(--mid);
  font-size: 12px;
  font-weight: 900;
}

.hero-dock strong {
  display: block;
  margin-top: 8px;
  color: var(--blue);
  font-size: 38px;
  line-height: 1;
}

.hero-dock p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.premium-hero {
  position: relative;
  min-height: 800px;
  overflow: hidden;
  padding: 148px 0 74px;
  background:
    linear-gradient(90deg, rgba(2, 47, 86, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(2, 47, 86, 0.03) 1px, transparent 1px),
    radial-gradient(circle at 75% 28%, rgba(133, 196, 228, 0.22), transparent 28%),
    linear-gradient(110deg, #ffffff 0%, #f4f9fb 42%, #e8f3f7 100%);
  background-size: 44px 44px, 44px 44px, auto, auto;
}

.premium-hero::before {
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(2, 47, 86, 0.08);
  border-radius: 34px;
  content: "";
  pointer-events: none;
}

.premium-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(115deg, transparent 0 42%, rgba(255,255,255,0.6) 48%, transparent 54%),
    linear-gradient(180deg, transparent, rgba(255,255,255,0.42));
  opacity: 0.55;
  pointer-events: none;
  transform: translateX(-55%);
  animation: heroLightPass 9s ease-in-out infinite;
}

.hero-bg-word {
  position: absolute;
  left: -26px;
  top: 105px;
  color: rgba(2, 47, 86, 0.045);
  font-size: clamp(120px, 22vw, 320px);
  font-weight: 950;
  line-height: 0.8;
  letter-spacing: -10px;
  pointer-events: none;
}

.premium-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-areas:
    "copy portrait"
    "panel portrait";
  grid-template-columns: minmax(0, 1fr) minmax(340px, 430px);
  gap: 24px 58px;
  align-items: center;
}

.hero-main-copy {
  position: relative;
  z-index: 4;
  grid-area: copy;
  align-self: center;
  max-width: 650px;
  padding-bottom: 0;
}

.hero-main-copy h1 {
  max-width: 640px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(54px, 6.1vw, 86px);
  font-weight: 950;
  line-height: 0.95;
  letter-spacing: -1.4px;
  text-wrap: balance;
  background: linear-gradient(92deg, var(--navy), var(--blue), #2e789f, var(--navy));
  background-size: 240% 100%;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: headlineSweep 6s ease-in-out infinite;
}

.hero-main-copy .hero-lead {
  max-width: 590px;
  color: #496b80;
}

.hero-doctor-portrait {
  position: relative;
  z-index: 2;
  grid-area: portrait;
  align-self: center;
  height: 610px;
  margin: 0 0 104px;
  isolation: isolate;
  overflow: visible;
  border-radius: 44% 44% 28px 28px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.98), rgba(204,222,228,0.52));
  box-shadow:
    0 34px 100px rgba(2, 24, 46, 0.16),
    0 0 0 1px rgba(255,255,255,0.78) inset;
  animation: portraitFloat 4.8s ease-in-out infinite;
}

.hero-doctor-portrait::before {
  position: absolute;
  inset: -24px;
  z-index: 2;
  border: 1px solid rgba(72, 141, 180, 0.24);
  border-radius: 48% 48% 34px 34px;
  content: "";
  pointer-events: none;
  animation: stageBreath 3.8s ease-in-out infinite;
}

.hero-doctor-portrait::after {
  position: absolute;
  z-index: 3;
  inset: -18px -14px 48px;
  border-radius: 46% 46% 34px 34px;
  content: "";
  background: linear-gradient(115deg, transparent 8%, rgba(255,255,255,0.32) 28%, transparent 48%);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-38%);
  animation: portraitSheen 4.4s ease-in-out infinite;
}

.specialist-slides {
  position: absolute;
  z-index: 4;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  background: #dcebf1;
}

.specialist-slide {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.07);
  transition:
    opacity 0.85s ease,
    transform 1.15s cubic-bezier(0.2, 0.75, 0.2, 1);
}

.specialist-slide.active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.specialist-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform-origin: center bottom;
  animation: portraitZoom 7s ease-in-out infinite alternate;
}

.specialist-slide:nth-child(2) img {
  object-position: center 12%;
}

.portrait-stage {
  position: absolute;
  z-index: 1;
  inset: -46px -42px 26px;
  overflow: hidden;
  border-radius: 48% 48% 34px 34px;
  background:
    linear-gradient(90deg, rgba(2, 47, 86, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(2, 47, 86, 0.06) 1px, transparent 1px),
    radial-gradient(ellipse at 50% 22%, rgba(133, 196, 228, 0.42), transparent 44%),
    linear-gradient(145deg, rgba(234, 246, 250, 0.92), rgba(255,255,255,0.5));
  background-size: 34px 34px, 34px 34px, auto, auto;
  box-shadow: 0 26px 80px rgba(72, 141, 180, 0.18) inset;
}

.stage-ring {
  position: absolute;
  inset: 9%;
  border: 1px solid rgba(72, 141, 180, 0.34);
  border-radius: 50%;
  transform-origin: center;
}

.ring-one {
  animation: ringRotate 18s linear infinite;
}

.ring-two {
  inset: 19% 13% 17%;
  border-style: dashed;
  border-color: rgba(2, 47, 86, 0.22);
  animation: ringRotateReverse 22s linear infinite;
}

.stage-scan {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0 38%, rgba(255,255,255,0.72) 48%, transparent 58%);
  opacity: 0.62;
  transform: translateY(-72%);
  animation: clinicalScan 4.6s ease-in-out infinite;
}

.stage-path {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 49%;
  height: 78px;
  border-top: 2px solid rgba(2, 47, 86, 0.22);
  border-radius: 50%;
  transform: rotate(-12deg);
  animation: pathPulse 3.2s ease-in-out infinite;
}

.stage-marker {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 3px solid rgba(72, 141, 180, 0.64);
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  box-shadow: 0 0 0 8px rgba(133, 196, 228, 0.12);
  animation: markerPulse 2.7s ease-in-out infinite;
}

.marker-one {
  left: 18%;
  top: 30%;
}

.marker-two {
  right: 18%;
  top: 40%;
  animation-delay: 0.45s;
}

.marker-three {
  left: 50%;
  bottom: 22%;
  animation-delay: 0.9s;
}

.hero-doctor-portrait figcaption {
  position: absolute;
  z-index: 5;
  right: 22px;
  bottom: -44px;
  left: 22px;
  display: grid;
  gap: 5px;
  padding: 17px 20px;
  border: 1px solid rgba(255,255,255,0.84);
  border-radius: 22px;
  background: rgba(255,255,255,0.9);
  box-shadow: 0 24px 58px rgba(2, 24, 46, 0.16);
  text-align: center;
  backdrop-filter: blur(18px);
}

.hero-doctor-portrait figcaption strong {
  color: var(--navy);
  font-size: 24px;
  line-height: 1;
}

.hero-doctor-portrait figcaption span {
  color: var(--mid);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.specialist-controls {
  position: absolute;
  z-index: 7;
  right: 30px;
  bottom: -92px;
  left: 30px;
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 10px;
  align-items: center;
}

.specialist-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 1px solid rgba(2, 47, 86, 0.24);
  border-radius: 50%;
  background: rgba(255,255,255,0.82);
  cursor: pointer;
  transition: width 0.25s ease, border-radius 0.25s ease, background 0.25s ease;
}

.specialist-dot.active {
  width: 30px;
  border-radius: 999px;
  background: var(--mid);
}

.specialist-progress {
  position: relative;
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(2, 47, 86, 0.12);
}

.specialist-progress span {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--blue), var(--sky));
  transform-origin: left center;
  animation: specialistTimer 6.5s linear forwards;
}

.specialist-progress.restarting span {
  animation: none;
}

.specialist-progress.paused span {
  animation-play-state: paused;
}

#specialistShowcase.specialist-changing figcaption {
  opacity: 0.35;
  transform: translateY(8px);
}

.hero-doctor-portrait figcaption {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.consult-panel {
  position: relative;
  z-index: 3;
  grid-area: panel;
  align-self: start;
  max-width: 650px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,0.86);
  border-radius: 28px;
  background: rgba(255,255,255,0.78);
  box-shadow: 0 24px 74px rgba(2, 24, 46, 0.11);
  backdrop-filter: blur(18px);
  animation: panelDrift 5.2s ease-in-out infinite 0.4s;
}

.consult-panel span {
  color: var(--mid);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.consult-panel strong {
  display: block;
  margin-top: 6px;
  color: var(--navy);
  font-size: 24px;
  line-height: 1.12;
  text-wrap: balance;
}

.consult-panel p {
  margin: 10px 0 18px;
  color: var(--muted);
  font-size: 14px;
}

.consult-panel dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--line);
}

.consult-panel dl div {
  padding: 14px;
  background: rgba(255,255,255,0.86);
}

.consult-panel dt {
  color: var(--blue);
  font-size: 26px;
  font-weight: 950;
  line-height: 1;
}

.consult-panel dd {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.consult-panel.specialist-changing > *,
.hero-main-copy.specialist-changing > *,
.hero-proof-strip.specialist-changing span {
  opacity: 0.25;
  transform: translateY(8px);
}

.consult-panel > *,
.hero-main-copy > *,
.hero-proof-strip span {
  transition: opacity 0.32s ease, transform 0.32s ease;
}

.panel-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--blue);
  font-weight: 900;
}

.hero-proof-strip {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  overflow: hidden;
  margin-top: 36px;
  border: 1px solid rgba(2, 47, 86, 0.11);
  border-radius: 999px;
  background: rgba(2, 47, 86, 0.11);
  box-shadow: var(--soft-shadow);
}

.hero-proof-strip span {
  flex: 1 1 180px;
  min-height: 54px;
  display: grid;
  place-items: center;
  padding: 10px 18px;
  color: #31536a;
  background: rgba(255,255,255,0.86);
  font-size: 13px;
  font-weight: 820;
  text-align: center;
  animation: chipFloat 4.2s ease-in-out infinite;
  animation-delay: calc(var(--chip-index, 0) * 0.16s);
}

.hero-proof-strip span:nth-child(1) {
  --chip-index: 1;
}

.hero-proof-strip span:nth-child(2) {
  --chip-index: 2;
}

.hero-proof-strip span:nth-child(3) {
  --chip-index: 3;
}

.hero-proof-strip span:nth-child(4) {
  --chip-index: 4;
}

.section-head {
  max-width: 780px;
  margin-bottom: 44px;
}

.section-head.centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-head h2,
.doctor-content h2,
.final-cta h2 {
  font-size: clamp(34px, 4.3vw, 56px);
  line-height: 1.06;
}

.section-head p,
.doctor-content > p,
.final-cta p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.card-grid {
  display: grid;
  gap: 18px;
}

.card-grid.six {
  grid-template-columns: repeat(3, 1fr);
}

.condition-atlas {
  grid-template-columns: 1.15fr 0.85fr 1fr;
  grid-auto-rows: minmax(220px, auto);
}

.condition-atlas .premium-card:first-child {
  grid-row: span 2;
  display: grid;
  align-content: end;
  min-height: 458px;
  background:
    radial-gradient(circle at 78% 16%, rgba(133, 196, 228, 0.28), transparent 30%),
    linear-gradient(145deg, #ffffff, #edf7fa);
}

.condition-atlas .premium-card:nth-child(4) {
  grid-column: span 2;
}

.premium-card,
.feature-block,
.testimonial-card,
.faq-item {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.82);
  box-shadow: 0 14px 42px rgba(2, 24, 46, 0.06);
}

.dynamic-card {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --glow-x: 50%;
  --glow-y: 20%;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform, box-shadow;
  transition:
    transform 0.32s cubic-bezier(0.2, 0.75, 0.2, 1),
    box-shadow 0.32s ease,
    border-color 0.32s ease,
    filter 0.32s ease;
}

.dynamic-card::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(circle at var(--glow-x) var(--glow-y), rgba(255,255,255,0.72), transparent 24%),
    linear-gradient(120deg, transparent 18%, rgba(255,255,255,0.32) 42%, transparent 62%);
  opacity: 0;
  transform: translateX(-28%);
  transition: opacity 0.28s ease, transform 0.48s ease;
}

.dynamic-card::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  padding: 1px;
  border-radius: inherit;
  content: "";
  background: conic-gradient(from var(--spin, 0deg), transparent 0 18%, rgba(133, 196, 228, 0.82), transparent 38% 100%);
  opacity: 0;
  pointer-events: none;
  transform: translateZ(0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation: borderOrbit 3.4s linear infinite;
}

.dynamic-card > * {
  position: relative;
  z-index: 2;
}

.dynamic-card:hover {
  border-color: rgba(72, 141, 180, 0.38);
  filter: saturate(1.03);
  box-shadow: 0 36px 90px rgba(2, 47, 86, 0.18);
  transform: perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateY(-12px) scale(1.012);
}

.dynamic-card:hover::after {
  opacity: 1;
  transform: translateX(22%);
}

.dynamic-card:hover::before {
  opacity: 1;
}

.dynamic-card.visible,
.timeline.drawn .dynamic-card {
  animation: cardSettle 0.8s cubic-bezier(0.2, 0.75, 0.2, 1) both;
  animation-delay: var(--stagger, 0ms);
}

.premium-card {
  min-height: 228px;
  padding: 28px;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.premium-card:hover,
.feature-block:hover {
  border-color: rgba(72, 141, 180, 0.34);
  transform: translateY(-8px);
  box-shadow: 0 28px 70px rgba(2, 47, 86, 0.13);
}

.premium-card h3,
.feature-block h3,
.timeline h3,
.testimonial-card h3 {
  margin: 18px 0 9px;
  color: var(--navy);
  font-size: 22px;
  line-height: 1.16;
}

.premium-card p,
.feature-block p,
.timeline p,
.testimonial-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.icon {
  display: inline-block;
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background-color: #edf7fa;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 29px;
  transition: transform 0.24s ease;
}

.premium-card:hover .icon {
  transform: translateY(-3px);
}

.icon.knee,
.icon.joint {
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23022F56' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 4c-1 6-2 10-5 14 4 2 7 1 10-1 2 2 6 3 10 1-3-4-4-8-5-14'/%3E%3Cpath d='M18 20c-2 6-2 10-1 17M23 20c2 6 2 10 1 17M14 28h13M15 34h12'/%3E%3C/g%3E%3C/svg%3E");
}

.icon.shoulder {
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23022F56' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='23' cy='11' r='5'/%3E%3Cpath d='M11 31c1-8 5-13 12-13 4 0 7 2 9 5M8 36c2-8 8-12 16-10'/%3E%3C/g%3E%3C/svg%3E");
}

.icon.sports,
.icon.rehab {
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23022F56' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='24' cy='9' r='4'/%3E%3Cpath d='M21 15 16 25l-8 2M20 21l8 4 5-3M16 25l5 5-4 7M28 25l-5 7 6 5'/%3E%3C/g%3E%3C/svg%3E");
}

.icon.spine {
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23022F56' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M20 4v32M14 8h12M13 14h14M14 20h12M13 26h14M15 32h10'/%3E%3C/g%3E%3C/svg%3E");
}

.choose {
  background: linear-gradient(180deg, #ffffff, #eef6f8);
}

.choose-grid {
  display: grid;
  grid-template-columns: 0.86fr 1fr;
  gap: 58px;
  align-items: start;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.feature-block {
  min-height: 230px;
  padding: 26px;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.feature-block span {
  color: var(--mid);
  font-weight: 900;
}

.doctor-profile-page,
.services-page {
  position: relative;
  overflow: hidden;
}

.doctor-profile-page {
  padding-top: 150px;
  background:
    radial-gradient(circle at 88% 12%, rgba(133, 196, 228, 0.24), transparent 28%),
    linear-gradient(180deg, #f8fbfc, #ffffff);
}

.doctor-grid {
  display: grid;
  grid-template-columns: 440px 1fr;
  gap: 72px;
  align-items: center;
}

.doctor-profile-grid {
  display: grid;
  grid-template-columns: 440px 1fr;
  gap: 72px;
  align-items: center;
}

.doctor-content h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(42px, 6vw, 70px);
  line-height: 1;
}

.doctor-frame {
  min-height: 610px;
  overflow: hidden;
  border: 1px solid rgba(72, 141, 180, 0.14);
  border-radius: 34px;
  background: linear-gradient(145deg, #ffffff, #edf7fa);
  box-shadow: var(--shadow);
}

.doctor-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.doctor-content .role {
  margin: 12px 0 0;
  color: var(--mid);
  font-size: 18px;
  font-weight: 850;
}

.chip-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0;
}

.chip-wrap span {
  padding: 11px 14px;
  border: 1px solid rgba(72, 141, 180, 0.18);
  border-radius: 999px;
  color: var(--blue);
  background: #f4fafc;
  font-size: 13px;
  font-weight: 820;
}

.doctor-focus {
  margin-bottom: 28px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #f8fbfc, #eef7fa);
}

.doctor-focus strong {
  color: var(--navy);
}

.doctor-focus p {
  margin: 7px 0 0;
  color: var(--muted);
}

.doctor-stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

.doctor-stat-strip article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,0.82);
}

.doctor-stat-strip strong,
.doctor-stat-strip span {
  display: block;
}

.doctor-stat-strip strong {
  color: var(--blue);
  font-size: 26px;
  line-height: 1;
}

.doctor-stat-strip span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

.journey {
  background: linear-gradient(180deg, #eef6f8, #ffffff);
}

.services-section {
  background:
    radial-gradient(circle at 88% 8%, rgba(133, 196, 228, 0.22), transparent 28%),
    linear-gradient(180deg, #ffffff, #f1f7f9);
}

.service-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 24px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.82);
  box-shadow: var(--soft-shadow);
}

.service-more-link {
  flex: 0 0 auto;
}

.service-toolbar strong,
.service-toolbar span {
  display: block;
}

.service-toolbar strong {
  color: var(--navy);
}

.service-toolbar span {
  color: var(--muted);
  font-size: 14px;
}

.service-toolbar label {
  display: grid;
  gap: 7px;
  width: min(340px, 100%);
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.service-toolbar input {
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 16px;
  color: var(--ink);
  background: var(--white);
  text-transform: none;
  letter-spacing: 0;
}

.service-toolbar input:focus {
  border-color: var(--mid);
  outline: 4px solid rgba(133, 196, 228, 0.22);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.services-page {
  padding-top: 150px;
}

.services-page .section-head h1 {
  max-width: 830px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(40px, 6vw, 70px);
  line-height: 1;
}

.services-page .section-head p {
  max-width: 760px;
}

.service-card {
  display: grid;
  grid-template-rows: 168px 1fr;
  min-height: 342px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.9);
  box-shadow: 0 14px 42px rgba(2, 24, 46, 0.06);
  cursor: pointer;
  text-align: left;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.service-card:hover {
  border-color: rgba(72, 141, 180, 0.38);
  transform: translateY(-8px);
  box-shadow: 0 30px 76px rgba(2, 47, 86, 0.14);
}

.service-visual {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 26%, rgba(255,255,255,0.96) 0 9%, transparent 10%),
    radial-gradient(circle at 75% 32%, rgba(133, 196, 228, 0.46), transparent 30%),
    linear-gradient(135deg, #eaf5f8, #cfe5ed);
}

.service-visual::before {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(2, 47, 86, 0.12);
  border-radius: 22px;
  content: "";
}

.service-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.service-visual:has(.service-photo)::before {
  z-index: 2;
  inset: 0;
  border: 0;
  border-radius: 0;
  background: linear-gradient(180deg, rgba(2, 24, 46, 0.02), rgba(2, 24, 46, 0.18));
}

.service-card:hover .service-photo {
  filter: saturate(1.13) contrast(1.06);
  transform: scale(1.09) rotate(0.4deg);
}

.service-art {
  position: relative;
  z-index: 2;
  width: min(78%, 240px);
  height: 132px;
}

.service-art .bone,
.service-art .joint,
.service-art .scan {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-art .bone {
  stroke: var(--blue);
  stroke-width: 8;
}

.service-art .joint,
.service-art .scan {
  stroke: var(--mid);
  stroke-width: 5;
}

.service-art .scan {
  stroke-dasharray: 9 8;
}

.service-art .node {
  fill: var(--sky);
  stroke: var(--blue);
  stroke-width: 3;
}

.service-card:hover .service-art {
  animation: floatArt 1.5s ease-in-out infinite alternate;
}

.service-card-body {
  display: grid;
  gap: 12px;
  padding: 22px;
}

.service-card-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.service-card-top span {
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--blue);
  background: #edf7fa;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.service-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 21px;
  line-height: 1.18;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.service-card strong {
  color: var(--mid);
  font-size: 13px;
}

.service-modal {
  position: fixed;
  z-index: 120;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
}

.service-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.service-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 24, 46, 0.52);
  backdrop-filter: blur(10px);
}

.service-dialog {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) 1fr;
  width: min(980px, 100%);
  max-height: min(760px, calc(100vh - 48px));
  overflow: auto;
  border: 1px solid rgba(255,255,255,0.72);
  border-radius: 30px;
  background: var(--white);
  box-shadow: 0 34px 100px rgba(2, 24, 46, 0.32);
  transform: translateY(18px) scale(0.98);
  transition: transform 0.24s ease;
}

.service-modal.open .service-dialog {
  transform: translateY(0) scale(1);
}

.service-dialog-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100%;
  overflow: hidden;
  background:
    radial-gradient(circle at 32% 28%, rgba(255,255,255,0.92) 0 8%, transparent 9%),
    radial-gradient(circle at 70% 36%, rgba(133, 196, 228, 0.58), transparent 30%),
    linear-gradient(135deg, #e9f5f8, #c6dde6);
}

.service-dialog-visual .service-photo {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.service-dialog-visual::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(2, 24, 46, 0.02), rgba(2, 24, 46, 0.18));
  pointer-events: none;
}

.service-dialog-visual .service-art {
  width: min(78%, 360px);
  height: 280px;
}

.service-dialog-content {
  padding: 38px;
}

.service-dialog-content h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
}

.service-dialog-content > p {
  margin: 16px 0 26px;
  color: var(--muted);
  font-size: 17px;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.service-detail-grid article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #f7fbfc;
}

.service-detail-grid h3 {
  margin: 0 0 7px;
  color: var(--blue);
  font-size: 15px;
}

.service-detail-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.service-close {
  position: absolute;
  z-index: 4;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(2, 24, 46, 0.08);
  cursor: pointer;
}

.service-close::before,
.service-close::after {
  position: absolute;
  top: 20px;
  left: 12px;
  width: 18px;
  height: 2px;
  content: "";
  background: var(--blue);
}

.service-close::before {
  transform: rotate(45deg);
}

.service-close::after {
  transform: rotate(-45deg);
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 22px;
}

.timeline::before {
  position: absolute;
  top: 57px;
  left: 11%;
  width: var(--line-progress, 0%);
  max-width: 78%;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--blue), var(--sky));
  transition: width 1.2s ease;
}

.timeline article {
  position: relative;
  z-index: 2;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.88);
  box-shadow: var(--soft-shadow);
  transform: translateY(10px);
  transition: transform 0.45s ease, box-shadow 0.45s ease, border-color 0.45s ease;
}

.timeline.drawn article {
  animation: journeyCard 0.75s ease forwards;
}

.timeline.drawn article:nth-of-type(1) {
  animation-delay: 0.12s;
}

.timeline.drawn article:nth-of-type(2) {
  animation-delay: 0.38s;
}

.timeline.drawn article:nth-of-type(3) {
  animation-delay: 0.64s;
}

.timeline.drawn article:nth-of-type(4) {
  animation-delay: 0.9s;
}

.timeline article > span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--blue);
  font-weight: 900;
  box-shadow: 0 0 0 0 rgba(72, 141, 180, 0.36);
}

.timeline.drawn {
  --line-progress: 78%;
}

.timeline.drawn article > span {
  animation: nodePulse 1.5s ease-in-out infinite;
}

.timeline article.dynamic-card:hover > span {
  background: linear-gradient(135deg, var(--blue), var(--mid));
  animation: nodePulse 0.9s ease-in-out infinite;
}

.timeline.drawn article:nth-of-type(2) > span {
  animation-delay: 0.28s;
}

.timeline.drawn article:nth-of-type(3) > span {
  animation-delay: 0.56s;
}

.timeline.drawn article:nth-of-type(4) > span {
  animation-delay: 0.84s;
}

.journey-runner {
  position: absolute;
  z-index: 5;
  top: 18px;
  left: 9%;
  width: 58px;
  height: 62px;
  perspective: 240px;
  opacity: 0;
  filter: drop-shadow(0 12px 12px rgba(2, 24, 46, 0.2));
}

.runner-model {
  position: absolute;
  left: 14px;
  top: 0;
  width: 34px;
  height: 55px;
  transform: rotateY(-18deg) rotateZ(-8deg);
  transform-style: preserve-3d;
  animation: runnerBob 0.48s ease-in-out infinite alternate;
}

.runner-head {
  position: absolute;
  z-index: 6;
  left: 17px;
  top: 0;
  width: 12px;
  height: 13px;
  border-radius: 48% 52% 46% 54%;
  background:
    radial-gradient(circle at 68% 32%, rgba(255,255,255,0.88) 0 8%, transparent 9%),
    linear-gradient(135deg, #96d6ef, #0d568c 72%);
  box-shadow:
    -2px 2px 4px rgba(2, 24, 46, 0.24),
    inset -3px -2px 4px rgba(2, 47, 86, 0.32),
    inset 2px 2px 3px rgba(255,255,255,0.62);
  transform: translateZ(6px);
}

.runner-torso {
  position: absolute;
  z-index: 5;
  left: 13px;
  top: 12px;
  width: 16px;
  height: 23px;
  border-radius: 48% 52% 38% 42%;
  background: linear-gradient(110deg, #85c4e4 0%, #176a9c 45%, #022f56 100%);
  box-shadow:
    inset 3px 2px 4px rgba(255,255,255,0.42),
    inset -4px -2px 5px rgba(2,24,46,0.42),
    2px 3px 5px rgba(2,24,46,0.22);
  transform: skewX(-8deg) translateZ(4px);
}

.runner-arm,
.runner-leg {
  position: absolute;
  z-index: 4;
  width: 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, #85c4e4, #135f91 58%, #022f56);
  box-shadow:
    inset 2px 0 2px rgba(255,255,255,0.38),
    2px 2px 4px rgba(2,24,46,0.22);
  transform-origin: 50% 2px;
  transform-style: preserve-3d;
}

.runner-arm {
  top: 15px;
  height: 19px;
}

.runner-arm i,
.runner-leg i {
  position: absolute;
  left: 0;
  top: calc(100% - 3px);
  display: block;
  width: 7px;
  border-radius: 999px;
  background: inherit;
  box-shadow: inherit;
  transform-origin: 50% 2px;
}

.runner-arm i {
  height: 17px;
}

.runner-leg {
  top: 32px;
  height: 21px;
}

.runner-leg i {
  height: 20px;
}

.runner-arm-front {
  z-index: 7;
  left: 21px;
  animation: armFrontRun 0.62s ease-in-out infinite alternate;
}

.runner-arm-front i {
  transform: rotate(-42deg);
}

.runner-arm-back {
  left: 12px;
  animation: armBackRun 0.62s ease-in-out infinite alternate;
}

.runner-arm-back i {
  transform: rotate(48deg);
}

.runner-leg-front {
  z-index: 6;
  left: 20px;
  animation: legFrontRun 0.62s ease-in-out infinite alternate;
}

.runner-leg-front i {
  transform: rotate(34deg);
}

.runner-leg-back {
  left: 12px;
  filter: brightness(0.82);
  animation: legBackRun 0.62s ease-in-out infinite alternate;
}

.runner-leg-back i {
  transform: rotate(-38deg);
}

.runner-shadow {
  position: absolute;
  left: 7px;
  bottom: -2px;
  width: 48px;
  height: 9px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(2,24,46,0.32), transparent 68%);
  animation: runnerShadow 0.48s ease-in-out infinite alternate;
}

.timeline.drawn .journey-runner {
  animation: runJourney 4.4s cubic-bezier(0.48, 0, 0.18, 1) 0.15s forwards;
}

.outcomes {
  color: var(--white);
  background:
    radial-gradient(circle at 78% 24%, rgba(133, 196, 228, 0.18), transparent 30%),
    linear-gradient(135deg, var(--navy), var(--blue));
}

.outcomes .section-head h2,
.outcomes .section-head p {
  color: var(--white);
}

.outcomes-grid {
  display: grid;
  grid-template-columns: 0.78fr 1fr;
  gap: 58px;
  align-items: center;
}

.outcome-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.outcome-cards article {
  position: relative;
  overflow: hidden;
  min-height: 158px;
  padding: 28px;
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
}

.outcome-cards article.dynamic-card::after {
  background:
    radial-gradient(circle at var(--glow-x) var(--glow-y), rgba(133, 196, 228, 0.34), transparent 32%),
    linear-gradient(120deg, transparent 18%, rgba(255,255,255,0.14) 42%, transparent 62%);
}

.outcome-cards strong {
  display: block;
  color: var(--white);
  font-size: 46px;
  line-height: 1;
  transition: transform 0.28s ease;
}

.outcome-cards article:hover strong {
  transform: translateY(-3px) scale(1.04);
}

.outcome-cards span {
  display: block;
  margin-top: 10px;
  color: rgba(255,255,255,0.72);
  font-weight: 760;
}

.stories {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(133, 196, 228, 0.18), transparent 28%),
    radial-gradient(circle at 88% 70%, rgba(72, 141, 180, 0.14), transparent 32%),
    linear-gradient(180deg, #ffffff, #f4fafc);
}

.stories::before {
  position: absolute;
  inset: 44px 0 auto;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(72, 141, 180, 0.32), transparent);
}

.testimonial-wrap {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) minmax(230px, 0.36fr) 48px;
  gap: 18px;
  align-items: center;
}

.testimonial-card {
  min-height: 360px;
  padding: 42px;
  text-align: left;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.94), rgba(239, 248, 251, 0.9)),
    radial-gradient(circle at 92% 12%, rgba(133, 196, 228, 0.28), transparent 26%);
  transition: opacity 0.24s ease, transform 0.24s ease, filter 0.24s ease;
}

.testimonial-card.switching {
  opacity: 0.28;
  filter: blur(2px);
  transform: translateY(14px) scale(0.98);
}

.testimonial-card::before {
  position: absolute;
  right: 32px;
  top: 18px;
  z-index: 1;
  content: "\201C";
  color: rgba(72, 141, 180, 0.14);
  font-family: Georgia, serif;
  font-size: 142px;
  line-height: 1;
}

.testimonial-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 18px;
}

.testimonial-card h3 {
  margin: 0 0 18px;
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: 0;
}

.rating {
  margin: 0;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--blue);
  background: #edf7fa;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #0f6f53;
  background: #e8f8f1;
  font-size: 13px;
  font-weight: 900;
}

.verified-badge::before {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: #1ca56f;
  content: "\2713";
  font-size: 12px;
  line-height: 1;
}

.story-text {
  max-width: 860px;
  color: #31536a;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.65;
}

.story-result {
  display: grid;
  width: min(100%, 720px);
  gap: 4px;
  margin-top: 28px;
  padding: 18px 20px;
  border: 1px solid rgba(72, 141, 180, 0.16);
  border-radius: 18px;
  background: rgba(255,255,255,0.72);
}

.story-result span {
  color: var(--mid);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.story-result strong,
.patient-name {
  color: var(--navy);
  font-weight: 850;
}

.patient-name {
  margin: 18px 0 0;
  color: var(--mid);
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.testimonial-side {
  display: grid;
  gap: 14px;
}

.testimonial-side article {
  position: relative;
  overflow: hidden;
  min-height: 150px;
  padding: 22px;
  border: 1px solid rgba(72, 141, 180, 0.16);
  border-radius: 22px;
  background: rgba(255,255,255,0.76);
  box-shadow: var(--soft-shadow);
  animation: sideCardFloat 4s ease-in-out infinite;
}

.testimonial-side article:nth-child(2) {
  animation-delay: 0.45s;
}

.testimonial-side span {
  color: #1ca56f;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.testimonial-side strong {
  display: block;
  margin-top: 10px;
  color: var(--navy);
  font-size: 20px;
  line-height: 1.15;
}

.testimonial-side p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.slider-btn {
  position: relative;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--soft-shadow);
  cursor: pointer;
}

.slider-btn::before {
  position: absolute;
  inset: 17px;
  width: 10px;
  height: 10px;
  content: "";
  border-top: 2px solid var(--blue);
  border-right: 2px solid var(--blue);
  transform: rotate(45deg);
}

.slider-btn.prev::before {
  transform: rotate(-135deg);
}

.dots {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 24px;
}

.dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--mist);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

.dot.active {
  width: 30px;
  background: var(--mid);
}

.faq-section {
  background: linear-gradient(180deg, #f8fbfc, #ffffff);
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.75fr 1fr;
  gap: 58px;
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  overflow: hidden;
}

.faq-item button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  min-height: 66px;
  padding: 0 22px;
  border: 0;
  color: var(--navy);
  background: transparent;
  text-align: left;
  font-weight: 850;
  cursor: pointer;
}

.faq-item button::after {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  content: "";
  border-right: 2px solid var(--mid);
  border-bottom: 2px solid var(--mid);
  transform: rotate(45deg) translateY(-3px);
  transition: transform 0.22s ease;
}

.faq-item.open button::after {
  transform: rotate(225deg) translate(-2px, -2px);
}

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}

.faq-panel p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
}

.faq-item.open .faq-panel {
  max-height: 160px;
}

.final-cta {
  color: var(--white);
  background:
    radial-gradient(circle at 82% 18%, rgba(133, 196, 228, 0.24), transparent 32%),
    linear-gradient(135deg, var(--navy), var(--blue));
  animation: ctaGradient 9s ease-in-out infinite alternate;
}

.final-grid {
  display: grid;
  grid-template-columns: 1fr 430px;
  gap: 58px;
  align-items: center;
}

.final-cta h2,
.final-cta p {
  color: var(--white);
}

.final-cta p {
  max-width: 700px;
  color: rgba(255,255,255,0.76);
}

.appointment-form {
  display: grid;
  gap: 15px;
  padding: 26px;
  border: 1px solid rgba(255,255,255,0.72);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.94);
  box-shadow: var(--shadow);
}

.appointment-form label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 850;
}

.appointment-form input,
.appointment-form select {
  width: 100%;
  height: 50px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 14px;
  color: var(--ink);
  background: #f9fcfd;
}

.appointment-form input:focus,
.appointment-form select:focus {
  border-color: var(--mid);
  outline: 4px solid rgba(133, 196, 228, 0.22);
}

.directions-link {
  min-height: 48px;
  color: var(--blue);
  border: 1px solid rgba(72, 141, 180, 0.26);
  background: #eef7fa;
}

.floating-cta {
  position: fixed;
  z-index: 70;
  right: 22px;
  bottom: 22px;
  min-height: 50px;
  padding: 0 20px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--mid));
  box-shadow: 0 18px 44px rgba(2, 47, 86, 0.26);
}

.floating-cta.is-hidden,
.floating-cta.is-contact-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
}

.site-footer {
  padding: 62px 0 28px;
  color: rgba(255,255,255,0.74);
  background: var(--navy);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 1.2fr 0.8fr 0.8fr;
  gap: 36px;
}

.footer-brand img {
  width: 250px;
  height: 68px;
  object-fit: contain;
  object-position: left center;
}

.footer-brand p {
  max-width: 340px;
}

.site-footer h2 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 15px;
}

.site-footer p,
.site-footer a {
  display: block;
  margin: 0 0 8px;
  font-size: 14px;
}

.site-footer a {
  color: var(--sky);
  font-weight: 800;
}

.socials {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.socials a {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 50%;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease, clip-path 0.9s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.image-reveal {
  clip-path: inset(0 0 18% 0 round 34px);
}

.image-reveal.visible {
  clip-path: inset(0 0 0 0 round 34px);
}

.reveal-seq > * {
  animation: riseIn 0.7s ease both;
}

.reveal-seq > *:nth-child(2) {
  animation-delay: 0.08s;
}

.reveal-seq > *:nth-child(3) {
  animation-delay: 0.16s;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes softFloat {
  from,
  to {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@keyframes gradientDrift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(-24px, 18px, 0) scale(1.04);
  }
}

@keyframes ctaGradient {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 100% 30%;
  }
}

@keyframes loaderLift {
  from {
    transform: translateY(0) scale(1);
  }
  to {
    transform: translateY(-8px) scale(1.015);
  }
}

@keyframes loaderGlow {
  0%,
  100% {
    filter: drop-shadow(0 18px 28px rgba(2, 47, 86, 0.12));
  }
  50% {
    filter: drop-shadow(0 26px 44px rgba(72, 141, 180, 0.28));
  }
}

@keyframes loaderRun {
  from {
    transform: translateX(-105%);
  }
  to {
    transform: translateX(245%);
  }
}

@keyframes headlineSweep {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes heroLightPass {
  0%,
  38% {
    transform: translateX(-58%);
  }
  62%,
  100% {
    transform: translateX(58%);
  }
}

@keyframes portraitFloat {
  0%,
  100% {
    transform: translateY(0) rotate(-0.4deg);
  }
  50% {
    transform: translateY(-14px) rotate(0.5deg);
  }
}

@keyframes stageBreath {
  0%,
  100% {
    opacity: 0.7;
    transform: scale(0.98);
  }
  50% {
    opacity: 1;
    transform: scale(1.01);
  }
}

@keyframes ringRotate {
  to {
    transform: rotate(360deg);
  }
}

@keyframes ringRotateReverse {
  to {
    transform: rotate(-360deg);
  }
}

@keyframes clinicalScan {
  0%,
  20% {
    transform: translateY(-72%);
  }
  72%,
  100% {
    transform: translateY(72%);
  }
}

@keyframes pathPulse {
  0%,
  100% {
    opacity: 0.32;
    transform: rotate(-12deg) scaleX(0.94);
  }
  50% {
    opacity: 0.78;
    transform: rotate(-12deg) scaleX(1.04);
  }
}

@keyframes markerPulse {
  0%,
  100% {
    transform: scale(0.9);
    box-shadow: 0 0 0 5px rgba(133, 196, 228, 0.1);
  }
  50% {
    transform: scale(1.18);
    box-shadow: 0 0 0 14px rgba(133, 196, 228, 0);
  }
}

@keyframes specialistTimer {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes portraitZoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.035);
  }
}

@keyframes portraitSheen {
  0%,
  38% {
    opacity: 0;
    transform: translateX(-44%);
  }
  50% {
    opacity: 1;
  }
  68%,
  100% {
    opacity: 0;
    transform: translateX(42%);
  }
}

@keyframes panelDrift {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes chipFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@keyframes sideCardFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-7px) rotate(0.35deg);
  }
}

@keyframes borderOrbit {
  to {
    --spin: 360deg;
  }
}

@keyframes cardSettle {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  62% {
    opacity: 1;
    transform: translateY(-3px) scale(1.01);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes floatArt {
  from {
    transform: translateY(0) rotate(0deg);
  }
  to {
    transform: translateY(-5px) rotate(-1.5deg);
  }
}

@keyframes journeyCard {
  from {
    transform: translateY(16px);
    border-color: var(--line);
    box-shadow: var(--soft-shadow);
  }
  to {
    transform: translateY(0);
    border-color: rgba(72, 141, 180, 0.34);
    box-shadow: 0 22px 54px rgba(2, 47, 86, 0.13);
  }
}

@keyframes nodePulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(72, 141, 180, 0.32);
  }
  50% {
    box-shadow: 0 0 0 11px rgba(72, 141, 180, 0);
  }
}

@keyframes runnerBob {
  from {
    transform: translateY(0) rotateY(-18deg) rotateZ(-8deg);
  }
  to {
    transform: translateY(-4px) rotateY(-10deg) rotateZ(-4deg);
  }
}

@keyframes armFrontRun {
  from {
    transform: rotate(58deg) translateZ(7px);
  }
  to {
    transform: rotate(-68deg) translateZ(7px);
  }
}

@keyframes armBackRun {
  from {
    transform: rotate(-62deg) translateZ(-4px);
  }
  to {
    transform: rotate(54deg) translateZ(-4px);
  }
}

@keyframes legFrontRun {
  from {
    transform: rotate(-52deg) translateZ(6px);
  }
  to {
    transform: rotate(48deg) translateZ(6px);
  }
}

@keyframes legBackRun {
  from {
    transform: rotate(48deg) translateZ(-5px);
  }
  to {
    transform: rotate(-54deg) translateZ(-5px);
  }
}

@keyframes runnerShadow {
  from {
    opacity: 0.56;
    transform: scaleX(1);
  }
  to {
    opacity: 0.28;
    transform: scaleX(0.72);
  }
}

@keyframes freeConsultationGlow {
  0%,
  100% {
    background-position: 0% 50%;
    box-shadow: 0 14px 30px rgba(2, 47, 86, 0.2);
  }
  50% {
    background-position: 100% 50%;
    box-shadow:
      0 20px 42px rgba(72, 141, 180, 0.34),
      0 0 0 5px rgba(133, 196, 228, 0.1);
  }
}

@keyframes runJourney {
  0% {
    opacity: 0;
    transform: translateX(0) translateY(0) rotate(0deg);
  }
  9% {
    opacity: 1;
  }
  25% {
    transform: translateX(23vw) translateY(-5px) rotate(6deg);
  }
  50% {
    transform: translateX(45vw) translateY(2px) rotate(-4deg);
  }
  75% {
    transform: translateX(67vw) translateY(-5px) rotate(5deg);
  }
  100% {
    opacity: 1;
    transform: translateX(min(78vw, 910px)) translateY(0) rotate(0deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .dynamic-card,
  .dynamic-card:hover {
    transform: none !important;
  }

  .dynamic-card::after {
    display: none;
  }
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-self: end;
    justify-content: center;
    gap: 7px;
    width: 46px;
    height: 46px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--white);
  }

  .menu-toggle span {
    display: block;
    width: 21px;
    height: 2px;
    margin: 0 auto;
    background: var(--blue);
  }

  .main-nav,
  .nav-cta {
    display: none;
  }

  .main-nav.open {
    position: absolute;
    top: 84px;
    right: 0;
    left: 0;
    display: grid;
    gap: 4px;
    padding: 16px 20px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255,255,255,0.98);
    box-shadow: var(--soft-shadow);
  }

  .hero-grid,
  .hero-title-block,
  .hero-composition,
  .premium-hero-grid,
  .choose-grid,
  .doctor-grid,
  .doctor-profile-grid,
  .outcomes-grid,
  .faq-grid,
  .final-grid,
  .service-dialog,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .premium-hero-grid {
    grid-template-areas:
      "copy"
      "portrait"
      "panel";
    gap: 28px;
    justify-items: center;
  }

  .card-grid.six,
  .condition-atlas,
  .services-grid,
  .feature-list,
  .timeline,
  .outcome-cards,
  .testimonial-wrap,
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonial-wrap {
    grid-template-columns: 48px 1fr 48px;
  }

  .testimonial-side {
    grid-column: 2;
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-composition {
    margin-top: 24px;
  }

  .hero-index {
    min-height: auto;
    grid-template-columns: repeat(4, 1fr);
    grid-column: 1 / -1;
    padding: 0;
  }

  .hero-index span {
    grid-column: 1 / -1;
  }

  .doctor-signature {
    min-height: 500px;
  }

  .hero-decision-card {
    align-self: stretch;
    max-width: none;
    margin-bottom: 0;
  }

  .hero-dock {
    grid-template-columns: 1fr;
  }

  .hero-main-copy {
    padding-bottom: 0;
    max-width: none;
    justify-self: stretch;
  }

  .hero-doctor-portrait {
    width: min(430px, 100%);
    max-width: 430px;
    margin-bottom: 100px;
  }

  .consult-panel {
    align-self: stretch;
    justify-self: stretch;
    max-width: none;
  }

  .condition-atlas .premium-card:first-child,
  .condition-atlas .premium-card:nth-child(4) {
    grid-row: auto;
    grid-column: auto;
    min-height: 228px;
  }

  .doctor-frame {
    max-width: 520px;
  }

  .timeline::before {
    display: none;
  }

  .journey-runner {
    display: none;
  }
}

/* ===================================================================
   Premium 3D / parallax / glass motion enhancements
   =================================================================== */

.page-transition {
  position: fixed;
  z-index: 998;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, var(--navy), var(--blue) 55%, var(--mid));
  transform: translateY(101%);
  transition: transform 0.55s cubic-bezier(0.65, 0, 0.35, 1);
}

.page-transition.active {
  transform: translateY(0);
}

/* Floating medical decoration layer */
.hero-float-layer {
  position: absolute;
  z-index: 1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.float-icon {
  position: absolute;
  display: block;
  color: var(--mid);
  opacity: 0.5;
  will-change: transform;
}

.float-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 14px 26px rgba(2, 47, 86, 0.14));
}

.float-icon-inner {
  display: block;
  animation: floatDriftA 7.5s ease-in-out infinite;
}

.float-icon.alt .float-icon-inner {
  animation-name: floatDriftB;
}

.float-icon.spin .float-icon-inner {
  animation-name: floatSpinDrift;
}

.float-icon-1 {
  top: 14%;
  left: 5%;
  width: 58px;
  height: 58px;
}

.float-icon-1 .float-icon-inner {
  animation-duration: 8.4s;
}

.float-icon-2 {
  top: 66%;
  left: 2.5%;
  width: 42px;
  height: 42px;
  color: var(--sky);
}

.float-icon-2 .float-icon-inner {
  animation-duration: 6.6s;
  animation-delay: 0.6s;
}

.float-icon-3 {
  top: 8%;
  right: 33%;
  width: 38px;
  height: 38px;
}

.float-icon-3 .float-icon-inner {
  animation-duration: 7s;
  animation-delay: 1.1s;
}

.float-icon-4 {
  top: 72%;
  left: 42%;
  width: 48px;
  height: 48px;
  color: var(--sky);
}

.float-icon-4 .float-icon-inner {
  animation-duration: 9s;
  animation-delay: 0.3s;
}

.float-icon-5 {
  bottom: 6%;
  left: 16%;
  width: 40px;
  height: 40px;
}

.float-icon-5 .float-icon-inner {
  animation-duration: 7.8s;
  animation-delay: 0.9s;
}

.float-icon-6 {
  top: 40%;
  left: 24%;
  width: 30px;
  height: 30px;
  color: var(--sky);
}

.float-icon-6 .float-icon-inner {
  animation-duration: 6.2s;
  animation-delay: 1.4s;
}

@keyframes floatDriftA {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

@keyframes floatDriftB {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(16px) rotate(-6deg);
  }
}

@keyframes floatSpinDrift {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-12px) rotate(10deg);
  }
  100% {
    transform: translateY(0) rotate(0deg);
  }
}

/* Cursor-reactive glow + 3D depth layers for the hero */
.hero-bg-word {
  transition: transform 0.2s linear;
  will-change: transform;
}

.hero-cursor-glow {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: 560px;
  height: 560px;
  margin: -280px 0 0 -280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(133, 196, 228, 0.32), rgba(133, 196, 228, 0) 70%);
  filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform, opacity;
}

.premium-hero.cursor-active .hero-cursor-glow {
  opacity: 1;
}

.hero-doctor-portrait {
  perspective: 1200px;
}

.portrait-stage,
.specialist-slides {
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}

/* Service card shine sweep */
.service-card {
  position: relative;
}

.service-card::after {
  position: absolute;
  z-index: 3;
  inset: 0;
  content: "";
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.38) 50%, transparent 70%);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-120%);
  transition: transform 0.7s ease, opacity 0.7s ease;
}

.service-card:hover::after {
  opacity: 1;
  transform: translateX(120%);
}

/* Animated, glassy appointment CTA */
.final-cta {
  position: relative;
  overflow: hidden;
}

.appointment-form .btn-primary {
  animation: freeConsultationGlow 3s ease-in-out infinite;
}

.cta-orb {
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.26), rgba(133, 196, 228, 0.04) 70%);
  backdrop-filter: blur(6px);
  pointer-events: none;
  animation: ctaOrbDrift 9s ease-in-out infinite;
}

.cta-orb-1 {
  top: -70px;
  right: 8%;
  width: 220px;
  height: 220px;
}

.cta-orb-2 {
  bottom: -50px;
  left: 6%;
  width: 150px;
  height: 150px;
  animation-duration: 11s;
  animation-delay: 1.2s;
}

.cta-orb-3 {
  top: 28%;
  left: 42%;
  width: 90px;
  height: 90px;
  animation-duration: 7.5s;
  animation-delay: 0.5s;
}

@keyframes ctaOrbDrift {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(18px, -22px) scale(1.06);
  }
}

@media (max-width: 1080px) {
  .float-icon-3,
  .float-icon-4 {
    opacity: 0.35;
  }
}

@media (max-width: 720px) {
  .hero-float-layer {
    opacity: 0.6;
  }

  .float-icon-3,
  .float-icon-4 {
    display: none;
  }

  .float-icon-1 {
    width: 40px;
    height: 40px;
  }

  .float-icon-2 {
    width: 32px;
    height: 32px;
  }

  .float-icon-5,
  .float-icon-6 {
    width: 28px;
    height: 28px;
  }

  .hero-cursor-glow {
    display: none;
  }

  .cta-orb {
    display: none;
  }
}

@media (hover: none) {
  .hero-cursor-glow {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .float-icon-inner,
  .cta-orb {
    animation: none !important;
  }

  .portrait-stage,
  .specialist-slides,
  .hero-bg-word {
    transition: none !important;
    transform: none !important;
  }

  .page-transition {
    transition: none !important;
  }

  .hero-cursor-glow {
    display: none;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .section-pad {
    padding: 72px 0;
  }

  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    min-height: 82px;
    padding: 10px 12px 10px 16px;
    border-radius: 20px;
  }

  .brand img {
    width: min(236px, calc(100vw - 112px));
    height: 58px;
  }

  .hero {
    min-height: auto;
    padding-top: 132px;
  }

  .hero-grid {
    gap: 36px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .doctor-card-main,
  .hero-media {
    height: 470px;
    min-height: 470px;
  }

  .hero-stats,
  .card-grid.six,
  .condition-atlas,
  .feature-list,
  .services-grid,
  .timeline,
  .outcome-cards {
    grid-template-columns: 1fr;
  }

  .signature-hero {
    padding-top: 118px;
  }

  .premium-hero {
    min-height: auto;
    padding-top: 132px;
    padding-bottom: 56px;
  }

  .premium-hero::before {
    inset: 10px;
    border-radius: 24px;
  }

  .hero-topline {
    display: grid;
    gap: 8px;
  }

  .hero-title-block {
    margin-top: 34px;
  }

  .hero-title-block h1 {
    font-size: 48px;
    line-height: 0.96;
    letter-spacing: -0.7px;
  }

  .hero-main-copy h1 {
    max-width: 100%;
    font-size: 44px;
    line-height: 1;
    letter-spacing: -0.6px;
  }

  .hero-doctor-portrait {
    width: 100%;
    height: min(450px, 116vw);
    max-width: none;
    margin-bottom: 94px;
    border-radius: 36% 36% 24px 24px;
  }

  .hero-doctor-portrait::before {
    inset: -14px;
    border-radius: 40% 40% 22px 22px;
  }

  .hero-doctor-portrait::after {
    inset: -12px -10px 42px;
    border-radius: 38% 38% 28px 28px;
  }

  .portrait-stage {
    inset: -28px -20px 22px;
    border-radius: 40% 40% 26px 26px;
    background-size: 28px 28px, 28px 28px, auto, auto;
  }

  .stage-ring {
    inset: 12%;
  }

  .ring-two {
    inset: 22% 15% 20%;
  }

  .stage-marker {
    width: 12px;
    height: 12px;
    border-width: 2px;
  }

  .hero-doctor-portrait figcaption {
    right: 14px;
    bottom: -42px;
    left: 14px;
    padding: 15px 16px;
    border-radius: 18px;
  }

  .hero-doctor-portrait figcaption strong {
    font-size: 22px;
  }

  .hero-doctor-portrait figcaption span {
    font-size: 10px;
    line-height: 1.25;
  }

  .specialist-controls {
    right: 20px;
    bottom: -82px;
    left: 20px;
  }

  .consult-panel {
    padding: 18px;
    border-radius: 22px;
  }

  .consult-panel strong {
    font-size: 21px;
  }

  .consult-panel dl {
    grid-template-columns: 1fr;
  }

  .consult-panel dl div {
    display: grid;
    grid-template-columns: 74px 1fr;
    gap: 10px;
    align-items: center;
  }

  .consult-panel dd {
    margin: 0;
  }

  .hero-proof-strip {
    border-radius: 24px;
  }

  .hero-index {
    grid-template-columns: repeat(2, 1fr);
  }

  .doctor-signature {
    min-height: 470px;
  }

  .hero-decision-card {
    padding: 22px;
  }

  .section-head h2,
  .doctor-content h2,
  .final-cta h2 {
    font-size: 34px;
  }

  .doctor-frame {
    min-height: 460px;
  }

  .doctor-profile-page,
  .services-page {
    padding-top: 118px;
  }

  .testimonial-wrap {
    grid-template-columns: 1fr;
  }

  .testimonial-side {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .slider-btn {
    display: none;
  }

  .testimonial-card {
    padding: 26px;
  }

  .service-toolbar {
    display: grid;
  }

  .doctor-stat-strip {
    grid-template-columns: 1fr;
  }

  .service-detail-grid {
    grid-template-columns: 1fr;
  }

  .service-dialog-content {
    padding: 28px;
  }

  .service-dialog-visual {
    min-height: 180px;
  }

  .floating-cta {
    right: 14px;
    bottom: 14px;
    left: 14px;
    transition:
      opacity 0.25s ease,
      transform 0.25s ease,
      box-shadow 0.22s ease,
      background 0.22s ease;
  }

  .footer-bottom {
    display: grid;
  }
}

/* ===================================================================
   Premium interaction layer
   =================================================================== */

.scroll-progress {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  pointer-events: none;
  background: linear-gradient(90deg, var(--sky), var(--mid), var(--blue));
  box-shadow: 0 0 16px rgba(72, 141, 180, 0.5);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

.main-nav a {
  position: relative;
  transition: color 0.25s ease, text-shadow 0.25s ease;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 6px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  content: "";
  background: linear-gradient(90deg, var(--sky), var(--blue));
  box-shadow: 0 0 12px rgba(72, 141, 180, 0.38);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.35s cubic-bezier(0.2, 0.75, 0.2, 1);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.main-nav a:hover {
  text-shadow: 0 0 20px rgba(72, 141, 180, 0.26);
}

.site-header::after {
  position: absolute;
  right: 10%;
  bottom: -1px;
  left: 10%;
  height: 1px;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(133, 196, 228, 0.8), transparent);
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 0.3s ease, transform 0.45s ease;
}

.site-header.scrolled::after {
  opacity: 1;
  transform: scaleX(1);
}

.ripple-surface {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.interaction-ripple {
  position: absolute !important;
  z-index: 5 !important;
  border-radius: 50%;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.42);
  mix-blend-mode: soft-light;
  transform: scale(0);
  animation: interactionRipple 0.7s cubic-bezier(0.2, 0.75, 0.2, 1);
}

.btn:active,
.nav-cta:active,
.floating-cta:active {
  transform: translateY(1px) scale(0.975) !important;
  transition-duration: 0.08s;
}

.kinetic-title {
  --title-x: 20%;
  --title-y: 20%;
  color: transparent !important;
  background:
    radial-gradient(circle at var(--title-x) var(--title-y), #5ca6ca 0 8%, transparent 32%),
    linear-gradient(115deg, var(--navy) 8%, var(--blue) 45%, var(--mid) 54%, var(--navy) 72%);
  background-size: 100% 100%, 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: kineticTitleSweep 7s ease-in-out infinite;
  transition: background-position 0.25s ease;
}

.service-card {
  isolation: isolate;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(239, 248, 251, 0.88));
}

.service-card .service-visual::after {
  position: absolute;
  z-index: 3;
  inset: auto -18% -42% 38%;
  width: 170px;
  height: 170px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.78), rgba(133, 196, 228, 0.16) 42%, transparent 70%);
  box-shadow:
    inset 0 0 34px rgba(255, 255, 255, 0.38),
    0 18px 40px rgba(2, 47, 86, 0.08);
  transform: translate3d(14px, 18px, 0);
  transition: transform 0.6s cubic-bezier(0.2, 0.75, 0.2, 1), opacity 0.35s ease;
}

.service-card:hover .service-visual::after {
  transform: translate3d(-8px, -4px, 0) scale(1.08);
}

.service-card-body::before {
  position: absolute;
  top: 0;
  left: 22px;
  width: 62px;
  height: 2px;
  border-radius: 999px;
  content: "";
  background: linear-gradient(90deg, var(--sky), var(--blue));
  box-shadow: 0 0 14px rgba(72, 141, 180, 0.34);
  transform: scaleX(0.35);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.2, 0.75, 0.2, 1);
}

.service-card:hover .service-card-body::before {
  transform: scaleX(1);
}

.service-card h3,
.service-card p,
.service-card strong,
.service-card-top {
  transform: translateZ(24px);
}

.service-card strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.service-card strong::after {
  width: 18px;
  height: 8px;
  content: "";
  background: currentColor;
  clip-path: polygon(0 37%, 68% 37%, 68% 0, 100% 50%, 68% 100%, 68% 63%, 0 63%);
  transform: translateX(0);
  transition: transform 0.28s ease;
}

.service-card:hover strong::after {
  transform: translateX(6px);
}

/* Homepage featured cards: coordinated ambient motion */
.services-grid[data-mode="featured"] {
  perspective: 1400px;
}

.featured-premium-card {
  --featured-delay: calc(var(--featured-index, 0) * -0.72s);
}

.featured-premium-card .service-visual {
  isolation: isolate;
}

.featured-premium-card .service-photo {
  animation: featuredImageBreathe 8s ease-in-out infinite alternate;
  animation-delay: var(--featured-delay);
  will-change: transform;
}

.featured-premium-card:nth-child(even) .service-photo {
  animation-direction: alternate-reverse;
}

.featured-light-field {
  position: absolute !important;
  z-index: 4 !important;
  inset: 0 !important;
  overflow: hidden;
  pointer-events: none;
}

.featured-light-field::before {
  position: absolute;
  top: -34%;
  left: -28%;
  width: 64%;
  aspect-ratio: 1;
  border-radius: 50%;
  content: "";
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.78) 0 5%,
    rgba(133, 196, 228, 0.36) 24%,
    transparent 68%
  );
  opacity: 0.54;
  mix-blend-mode: screen;
  transform: translate3d(0, 0, 0);
  animation: featuredAuraDrift 7.8s ease-in-out infinite alternate;
  animation-delay: var(--featured-delay);
  will-change: transform, opacity;
}

.featured-light-field::after {
  position: absolute;
  top: 12%;
  right: 16px;
  bottom: 12%;
  width: 1px;
  content: "";
  background: linear-gradient(
    180deg,
    transparent,
    rgba(255, 255, 255, 0.9) 24%,
    rgba(133, 196, 228, 0.72) 52%,
    transparent 82%
  );
  box-shadow: 0 0 12px rgba(133, 196, 228, 0.44);
  opacity: 0;
  transform: translate3d(0, -45%, 0) scaleY(0.38);
  animation: featuredScanLine 5.8s ease-in-out infinite;
  animation-delay: calc(0.4s + var(--featured-delay));
  will-change: transform, opacity;
}

.featured-premium-card .service-card-body {
  background:
    radial-gradient(circle at 94% 0%, rgba(133, 196, 228, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(248, 252, 253, 0.96));
}

.featured-premium-card .service-card-top span {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(72, 141, 180, 0.12);
  box-shadow: 0 7px 20px rgba(2, 47, 86, 0.05);
  animation: featuredChipGlow 4.6s ease-in-out infinite;
  animation-delay: var(--featured-delay);
}

.featured-premium-card .service-card-top span::before {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  content: "";
  background: var(--mid);
  box-shadow: 0 0 0 0 rgba(72, 141, 180, 0.34);
  animation: featuredStatusPulse 2.8s ease-out infinite;
  animation-delay: var(--featured-delay);
}

.featured-premium-card h3 {
  transition: color 0.28s ease, transform 0.35s cubic-bezier(0.2, 0.75, 0.2, 1);
}

.featured-premium-card:hover h3 {
  color: var(--blue);
  transform: translate3d(3px, 0, 26px);
}

.featured-premium-card:hover .featured-light-field::before {
  opacity: 0.82;
}

.featured-premium-card:hover .service-photo {
  animation: none;
  transform: scale(1.1) rotate(0.4deg);
}

.card-running-light {
  position: absolute !important;
  z-index: 4 !important;
  inset: 0 !important;
  overflow: hidden;
  border-radius: inherit;
  opacity: 0.58;
  pointer-events: none;
  transform: translateZ(34px);
  transition: opacity 0.3s ease;
}

.card-running-light::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 34%;
  height: 2px;
  border-radius: 999px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.96), var(--sky), transparent);
  box-shadow:
    0 0 10px rgba(133, 196, 228, 0.7),
    0 0 22px rgba(72, 141, 180, 0.34);
  transform: translate3d(-140%, 0, 0);
  animation: cardRunningLine 5.2s cubic-bezier(0.45, 0, 0.2, 1) infinite;
  animation-delay: var(--stagger, 0ms);
  will-change: transform, opacity;
}

.card-running-light::after {
  position: absolute;
  top: -35%;
  left: -48%;
  width: 34%;
  height: 170%;
  content: "";
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(255, 255, 255, 0.03) 28%,
    rgba(255, 255, 255, 0.42) 50%,
    rgba(133, 196, 228, 0.12) 62%,
    transparent 100%
  );
  opacity: 0;
  transform: skewX(-12deg) translate3d(0, 0, 0);
  animation: cardGlarePass 7.2s cubic-bezier(0.45, 0, 0.2, 1) infinite;
  animation-delay: calc(0.8s + var(--stagger, 0ms));
  will-change: transform, opacity;
}

.dynamic-card:hover .card-running-light {
  opacity: 1;
}

.service-card .card-running-light::before {
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.98),
    var(--sky) 58%,
    var(--mid) 76%,
    transparent
  );
}

.outcome-cards article .card-running-light::before {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.92), var(--sky), transparent);
}

.outcome-cards article .card-running-light::after {
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(255, 255, 255, 0.03) 30%,
    rgba(133, 196, 228, 0.22) 50%,
    transparent 100%
  );
}

.feature-block::before,
.timeline article::before,
.doctor-stat-strip article::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.42), transparent 42%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-block:hover::before,
.timeline article:hover::before,
.doctor-stat-strip article:hover::before {
  opacity: 1;
}

.premium-cursor,
.premium-cursor-dot {
  position: fixed;
  z-index: 1100;
  top: 0;
  left: 0;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  will-change: transform;
}

.premium-cursor {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(2, 47, 86, 0.48);
  background: rgba(133, 196, 228, 0.08);
  backdrop-filter: blur(2px);
  box-shadow: 0 0 22px rgba(72, 141, 180, 0.16);
  transition: width 0.2s ease, height 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.premium-cursor-dot {
  width: 5px;
  height: 5px;
  background: var(--blue);
  transition: opacity 0.2s ease;
}

.cursor-visible .premium-cursor,
.cursor-visible .premium-cursor-dot {
  opacity: 1;
}

.premium-cursor.is-active {
  width: 54px;
  height: 54px;
  border-color: rgba(72, 141, 180, 0.52);
  background: rgba(133, 196, 228, 0.14);
}

@media (hover: hover) and (pointer: fine) {
  body.cursor-visible,
  body.cursor-visible a,
  body.cursor-visible button,
  body.cursor-visible input,
  body.cursor-visible select {
    cursor: none;
  }
}

@keyframes interactionRipple {
  0% {
    opacity: 0.7;
    transform: scale(0);
  }
  100% {
    opacity: 0;
    transform: scale(1);
  }
}

@keyframes kineticTitleSweep {
  0%,
  100% {
    background-position: center, 0% 50%;
  }
  50% {
    background-position: center, 100% 50%;
  }
}

@keyframes cardRunningLine {
  0%,
  12% {
    opacity: 0;
    transform: translate3d(-140%, 0, 0);
  }
  22% {
    opacity: 0.95;
  }
  58% {
    opacity: 0.72;
    transform: translate3d(410%, 0, 0);
  }
  59%,
  100% {
    opacity: 0;
    transform: translate3d(410%, 0, 0);
  }
}

@keyframes cardGlarePass {
  0%,
  58% {
    opacity: 0;
    transform: skewX(-12deg) translate3d(0, 0, 0);
  }
  64% {
    opacity: 0.42;
  }
  80% {
    opacity: 0;
    transform: skewX(-12deg) translate3d(540%, 0, 0);
  }
  100% {
    opacity: 0;
    transform: skewX(-12deg) translate3d(540%, 0, 0);
  }
}

@keyframes featuredImageBreathe {
  0% {
    transform: scale(1.015) translate3d(-0.7%, 0.4%, 0);
  }
  100% {
    transform: scale(1.075) translate3d(0.8%, -0.7%, 0);
  }
}

@keyframes featuredAuraDrift {
  0% {
    opacity: 0.38;
    transform: translate3d(-10%, -4%, 0) scale(0.92);
  }
  100% {
    opacity: 0.7;
    transform: translate3d(86%, 48%, 0) scale(1.14);
  }
}

@keyframes featuredScanLine {
  0%,
  18% {
    opacity: 0;
    transform: translate3d(0, -45%, 0) scaleY(0.38);
  }
  28% {
    opacity: 0.72;
  }
  62% {
    opacity: 0.42;
    transform: translate3d(0, 45%, 0) scaleY(1);
  }
  72%,
  100% {
    opacity: 0;
    transform: translate3d(0, 45%, 0) scaleY(0.38);
  }
}

@keyframes featuredChipGlow {
  0%,
  100% {
    background: #edf7fa;
    box-shadow: 0 7px 20px rgba(2, 47, 86, 0.05);
  }
  50% {
    background: #f5fbfd;
    box-shadow:
      0 9px 24px rgba(72, 141, 180, 0.12),
      0 0 0 3px rgba(133, 196, 228, 0.06);
  }
}

@keyframes featuredStatusPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(72, 141, 180, 0.38);
  }
  72%,
  100% {
    box-shadow: 0 0 0 7px rgba(72, 141, 180, 0);
  }
}

@media (max-width: 1080px) {
  .main-nav a::after {
    right: auto;
    bottom: 4px;
    width: 34px;
  }
}

@media (hover: none), (pointer: coarse), (max-width: 720px) {
  .premium-cursor,
  .premium-cursor-dot {
    display: none;
  }

  .service-card .service-visual::after {
    width: 130px;
    height: 130px;
  }

  .card-running-light {
    opacity: 0.42;
  }

  .card-running-light::after {
    display: none;
  }

  .featured-light-field::after {
    display: none;
  }

  .featured-premium-card .service-photo {
    animation-duration: 11s;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kinetic-title {
    color: var(--navy) !important;
    background: none;
  }

  .scroll-progress,
  .interaction-ripple,
  .card-running-light,
  .featured-light-field,
  .premium-cursor,
  .premium-cursor-dot {
    display: none;
  }

  .featured-premium-card .service-photo,
  .featured-premium-card .service-card-top span,
  .featured-premium-card .service-card-top span::before {
    animation: none;
  }
}
