:root {
  --navy: #2a4368;
  --navy-deep: #172a4b;
  --navy-soft: #496484;
  --magenta: #d1387e;
  --magenta-dark: #a82461;
  --lavender: #f4f3f7;
  --lavender-soft: #faf9fd;
  --lavender-strong: #e3def2;
  --ink: #182442;
  --muted: #69738b;
  --white: #fff;
  --line: rgba(42, 67, 104, .13);
  --shadow: 0 30px 90px rgba(49, 42, 106, .15);
  --shadow-soft: 0 18px 50px rgba(44, 38, 99, .1);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --ease: cubic-bezier(.2, .72, .2, 1);
  --container: min(1240px, calc(100% - 48px));
  --font-display: "Manrope", "Segoe UI", sans-serif;
  --font-body: "DM Sans", "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

body {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
  color: var(--ink);
  background: var(--lavender);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
a, button { touch-action: manipulation; }

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  opacity: .22;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
  content: "";
  pointer-events: none;
}

body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; font: inherit; }
h1, h2, h3, p, blockquote { margin-top: 0; }
h1, h2, h3 { font-family: var(--font-display); text-wrap: balance; }
p { text-wrap: pretty; }

svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.container { width: var(--container); margin-inline: auto; }
.section { padding: 88px 0; }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 10px;
  color: var(--white);
  background: var(--navy-deep);
  transform: translateY(-160%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid #ec79af; outline-offset: 4px; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--navy-soft);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1.3;
  text-transform: uppercase;
}
.eyebrow > span { width: 28px; height: 2px; background: var(--magenta); }
.eyebrow-light { color: rgba(255, 255, 255, .65); }
.eyebrow-light > span { background: #ef78b0; }

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 25px;
  border: 1px solid var(--magenta);
  border-radius: 12px;
  color: var(--white);
  background: var(--magenta);
  box-shadow: 0 14px 28px rgba(209, 56, 126, .22);
  font-size: .86rem;
  font-weight: 700;
  transition: transform .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.button svg { width: 30px; height: 30px; margin-right: -14px; padding: 7px; border-radius: 50%; background: rgba(255, 255, 255, .16); transition: transform .35s var(--ease), background .35s var(--ease); }
.button:hover { border-color: var(--magenta-dark); background: var(--magenta-dark); box-shadow: 0 18px 36px rgba(168, 36, 97, .28); transform: translateY(-2px); }
.button:hover svg { background: rgba(255, 255, 255, .23); transform: translateX(3px); }
.button:active { transform: translateY(0) scale(.98); }
.button-small { min-height: 46px; padding: 0 21px; border-radius: 12px; font-size: .78rem; }
.button-small svg { width: 27px; height: 27px; margin-right: -13px; padding: 6px; }
.button-light { border-color: var(--white); color: var(--navy-deep); background: var(--white); box-shadow: none; }
.button-light:hover { border-color: #f3d8e5; color: var(--navy-deep); background: #f3d8e5; }
.button-light svg { color: var(--white); background: var(--navy-deep); }
.button-light:hover svg { background: var(--magenta); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: .84rem;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(42, 67, 104, .26);
  text-underline-offset: 5px;
}
.text-link svg { width: 18px; height: 18px; }
.text-link:hover { color: var(--magenta); text-decoration-color: currentColor; }
.text-link-light { color: var(--white); text-decoration-color: rgba(255, 255, 255, .35); }

/* Header */
.site-header {
  position: fixed;
  z-index: 100;
  top: 16px;
  right: 0;
  left: 0;
  pointer-events: none;
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.site-header.is-footer { opacity: 0; transform: translateY(-130%); }
.header-shell {
  position: relative;
  display: flex;
  min-height: 72px;
  align-items: center;
  gap: 30px;
  padding: 9px 12px 9px 18px;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 18px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 14px 44px rgba(50, 42, 105, .09), inset 0 1px 0 rgba(255, 255, 255, .85);
  backdrop-filter: blur(18px);
  pointer-events: auto;
  transition: box-shadow .25s ease, background .25s ease, transform .25s ease;
}
.site-header.is-scrolled .header-shell { background: rgba(255, 255, 255, .96); box-shadow: 0 18px 50px rgba(41, 34, 92, .15); transform: translateY(-4px); }
.header-progress { position: absolute; right: 18px; bottom: -1px; left: 18px; height: 2px; border-radius: 999px; background: linear-gradient(90deg, var(--magenta), #ef83b4); opacity: .86; transform: scaleX(var(--page-progress, 0)); transform-origin: left center; transition: transform .12s linear; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand > img { width: 37px; height: 43px; object-fit: contain; }
.brand > span { display: flex; flex-direction: column; line-height: 1.15; }
.brand strong { color: var(--navy-deep); font-family: var(--font-display); font-size: .94rem; font-weight: 800; letter-spacing: -.038em; }
.brand small { margin-top: 4px; color: var(--muted); font-size: .49rem; font-weight: 700; letter-spacing: .105em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.site-nav a { position: relative; color: #536078; font-size: .78rem; font-weight: 600; transition: color .2s ease; }
.site-nav a::after { position: absolute; right: 0; bottom: -8px; left: 0; height: 2px; background: var(--magenta); content: ""; transform: scaleX(0); transition: transform .2s var(--ease); }
.site-nav a:hover, .site-nav a[aria-current="true"] { color: var(--navy-deep); }
.site-nav a:hover::after, .site-nav a[aria-current="true"]::after { transform: scaleX(1); }
.menu-toggle { display: none; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 106px 0 0; }
.hero-orbit { position: absolute; border: 1px solid rgba(93, 72, 176, .1); border-radius: 50%; pointer-events: none; }
.hero-orbit-one { top: -300px; left: -270px; width: 720px; height: 720px; }
.hero-orbit-two { top: 16px; right: -390px; width: 780px; height: 780px; }
.hero-shell {
  position: relative;
  display: grid;
  min-height: 680px;
  grid-template-columns: 51% 49%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: var(--radius-xl);
  background: #fbfafd;
  box-shadow: 0 34px 94px rgba(49, 42, 106, .17), inset 0 1px 0 var(--white);
}
.hero-shell::before {
  position: absolute;
  z-index: 1;
  top: -190px;
  left: 36%;
  width: 470px;
  height: 470px;
  border: 1px solid rgba(209, 56, 126, .12);
  border-radius: 50%;
  content: "";
}
.hero-copy { position: relative; z-index: 4; align-self: center; padding: 86px 40px 84px 76px; }
.hero h1 {
  max-width: 640px;
  margin-bottom: 24px;
  color: var(--navy-deep);
  font-size: clamp(3.7rem, 5.15vw, 5.45rem);
  font-weight: 800;
  letter-spacing: -.076em;
  line-height: .95;
}
.hero h1 span { position: relative; color: var(--magenta); }
.hero h1 span::after { position: absolute; right: 1%; bottom: -7px; left: 3%; height: 6px; border-radius: 999px; background: var(--magenta); content: ""; opacity: .14; transform: rotate(-1deg); }
.hero-lead { max-width: 545px; margin-bottom: 30px; color: #5c6680; font-size: 1.02rem; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; }
.hero-principles { display: grid; width: min(100%, 500px); grid-template-columns: repeat(3, 1fr); margin: 34px 0 0; padding: 0; color: var(--navy-deep); list-style: none; }
.hero-principles li { display: flex; min-width: 0; flex-direction: column; gap: 3px; padding: 0 22px; border-left: 1px solid var(--line); font-size: .72rem; font-weight: 700; }
.hero-principles li:first-child { padding-left: 0; border-left: 0; }
.hero-principles span { color: var(--magenta); font-size: .58rem; font-weight: 800; letter-spacing: .08em; }

.hero-visual { position: relative; z-index: 3; min-width: 0; overflow: hidden; background: var(--navy-deep); }
.hero-visual::after { position: absolute; z-index: 0; right: -180px; bottom: -220px; width: 520px; height: 520px; border: 1px solid rgba(255, 255, 255, .06); border-radius: 50%; box-shadow: 0 0 0 54px rgba(255, 255, 255, .018); content: ""; }
.hero-arch { position: absolute; z-index: 1; right: -50px; bottom: 0; width: 620px; height: 610px; border-radius: 54% 0 0 0; background: #ded8ed; }
.hero-arch::before { position: absolute; inset: 52px 48px 0 34px; border: 1px solid rgba(209, 56, 126, .16); border-bottom: 0; border-radius: 50% 50% 0 0; content: ""; }
.hero-script { position: absolute; z-index: 1; top: 112px; right: 14px; margin: 0; color: rgba(255, 255, 255, .24); font-family: Georgia, serif; font-size: 6.4rem; font-style: italic; line-height: 1; transform: rotate(-5deg); }
.hero-doctor { position: absolute; z-index: 2; right: 1%; bottom: 18px; width: 600px; height: 620px; object-fit: contain; object-position: center bottom; filter: drop-shadow(0 28px 32px rgba(9, 22, 42, .26)); }
.hero-index { position: absolute; z-index: 4; top: 34px; left: 30px; display: flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, .55); }
.hero-index strong { color: #ee7db2; font-family: var(--font-display); font-size: .76rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.hero-index span { font-size: .59rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.hero-specialties { position: absolute; z-index: 4; top: 36px; right: 30px; display: flex; width: auto; align-items: center; gap: 16px; margin: 0; padding: 0; color: rgba(255, 255, 255, .72); list-style: none; }
.hero-specialties li { display: flex; align-items: center; padding: 0; border: 0; font-size: .61rem; font-weight: 600; letter-spacing: .02em; line-height: 1.2; white-space: nowrap; }
.hero-specialties li:first-child { color: var(--white); font-weight: 700; }
.hero-specialties li + li::before { width: 3px; height: 3px; margin-right: 16px; border-radius: 50%; background: #ee7db2; content: ""; }
.hero-specialties li:first-child { border-top: 0; }

/* Intro section */
.intro-wrap { position: relative; z-index: 2; margin-top: 42px; padding: 0 70px; }
.intro-card { display: grid; min-height: 260px; grid-template-columns: .52fr 1.48fr; overflow: hidden; border-radius: 26px; color: var(--white); background: var(--navy-deep); box-shadow: 0 24px 64px rgba(23, 42, 75, .2); }
.intro-portrait { position: relative; min-height: 260px; overflow: hidden; background: #dfe5f0; }
.intro-portrait::after { position: absolute; inset: 0; box-shadow: inset -1px 0 rgba(255, 255, 255, .08), inset 0 0 60px rgba(23, 42, 75, .08); content: ""; pointer-events: none; }
.intro-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; transition: transform .8s var(--ease); }
.intro-card:hover .intro-portrait img { transform: scale(1.018); }
.intro-portrait span { position: absolute; z-index: 1; right: 14px; bottom: 14px; left: 14px; padding: 10px 12px; border-radius: 9px; color: rgba(255, 255, 255, .82); background: rgba(23, 42, 75, .88); font-size: .58rem; font-weight: 700; letter-spacing: .1em; text-align: center; text-transform: uppercase; }
.intro-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 38px 52px; }
.intro-copy h2 { max-width: 660px; margin-bottom: 14px; font-size: clamp(2rem, 2.8vw, 2.9rem); font-weight: 700; letter-spacing: -.055em; line-height: 1.07; }
.intro-copy > p:not(.eyebrow) { max-width: 680px; margin-bottom: 18px; color: rgba(255, 255, 255, .7); font-size: .92rem; }

/* Services */
.services { padding-top: 102px; }
.section-heading { display: grid; grid-template-columns: 1.25fr .75fr; align-items: end; gap: 54px; margin-bottom: 36px; }
.section-heading h2 { max-width: 720px; margin: 0; color: var(--navy-deep); font-size: clamp(2.55rem, 3.7vw, 4rem); font-weight: 800; letter-spacing: -.068em; line-height: 1.02; }
.section-summary { max-width: 410px; margin: 0 0 4px; color: var(--muted); font-size: .9rem; }
.service-scroll-cue { display: none; }
.service-rail { display: grid; grid-template-columns: 1.12fr .94fr .94fr; grid-template-rows: repeat(2, minmax(190px, auto)); gap: 16px; overflow: visible; padding: 4px 2px 18px; }
.service-rail::-webkit-scrollbar { display: none; }
.service-card { position: relative; display: flex; min-width: 0; min-height: 190px; flex-direction: column; align-items: flex-start; justify-content: flex-end; overflow: hidden; padding: 28px 29px; border: 1px solid rgba(255, 255, 255, .92); border-radius: 20px; background: rgba(255, 255, 255, .76); box-shadow: 0 12px 34px rgba(52, 43, 111, .05); transition: transform .28s var(--ease), box-shadow .28s ease, background .28s ease; }
.service-card::after { position: absolute; right: 22px; bottom: 16px; color: rgba(23, 42, 75, .08); font-family: var(--font-display); font-size: 3.7rem; font-weight: 800; letter-spacing: -.08em; line-height: 1; content: "01"; pointer-events: none; }
.service-card:nth-child(2)::after { color: rgba(255, 255, 255, .1); content: "02"; }
.service-card:nth-child(3)::after { content: "03"; }
.service-card:nth-child(4)::after { content: "04"; }
.service-card:hover { background: var(--white); box-shadow: var(--shadow-soft); transform: translateY(-5px); }
.service-card-internal { grid-column: 2; grid-row: 1; }
.service-card-featured { grid-column: 1; grid-row: 1 / span 2; min-height: 396px; justify-content: flex-end; padding: 38px; color: var(--white); background: var(--navy-deep); box-shadow: 0 22px 54px rgba(23, 42, 75, .2); }
.service-card-featured::before { position: absolute; top: -76px; right: -54px; width: 250px; height: 250px; border: 1px solid rgba(255, 255, 255, .11); border-radius: 50%; box-shadow: 0 0 0 38px rgba(255, 255, 255, .025); content: ""; }
.service-card-featured:hover { color: var(--white); background: #1b3157; transform: translateY(-5px); }
.service-card-endoscopy { grid-column: 3; grid-row: 1; }
.service-card-capsule { grid-column: 2 / span 2; grid-row: 2; padding-right: 190px; }
.service-icon { position: absolute; top: 24px; right: 24px; display: grid; width: 48px; height: 48px; place-items: center; border-radius: 14px; color: var(--magenta); background: #f7e5ee; }
.service-icon svg { width: 27px; height: 27px; }
.service-card-featured .service-icon { top: 36px; right: auto; left: 36px; width: 62px; height: 62px; color: var(--white); background: var(--magenta); }
.service-card-featured .service-icon svg { width: 34px; height: 34px; }
.service-card > p { margin-bottom: 7px; color: var(--magenta); font-size: .65rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.service-card-featured > p { color: #ed83b3; }
.service-card h3 { position: relative; z-index: 1; max-width: 260px; margin: 0 0 8px; font-size: 1.25rem; font-weight: 700; letter-spacing: -.04em; line-height: 1.15; }
.service-card-featured h3 { max-width: 420px; font-size: clamp(2.25rem, 3vw, 3.25rem); letter-spacing: -.06em; }
.service-description { position: relative; z-index: 1; display: block; max-width: 390px; color: var(--muted); font-size: .78rem; line-height: 1.52; }
.service-card-featured .service-description { color: rgba(255, 255, 255, .62); }

/* Doctor */
.doctor { padding-top: 64px; }
.doctor-shell { display: grid; grid-template-columns: .82fr 1.18fr; overflow: hidden; border: 1px solid rgba(255, 255, 255, .86); border-radius: var(--radius-xl); background: rgba(255, 255, 255, .72); box-shadow: 0 18px 54px rgba(52, 43, 111, .09); }
.doctor-image { position: relative; min-height: 590px; padding: 22px; }
.doctor-image-frame { height: 100%; min-height: 546px; overflow: hidden; border-radius: 20px 20px 56px 20px; background: #d8d2cd; }
.doctor-image-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform .8s var(--ease); }
.doctor-shell:hover .doctor-image-frame img { transform: scale(1.018); }
.doctor-seal { position: absolute; right: -38px; bottom: 54px; display: flex; width: 154px; height: 154px; flex-direction: column; align-items: center; justify-content: center; border: 8px solid var(--lavender-soft); border-radius: 50%; color: var(--white); background: var(--magenta); box-shadow: 0 18px 42px rgba(168, 36, 97, .22); text-align: center; }
.doctor-seal img { width: 54px; margin-bottom: 7px; filter: brightness(0) invert(1); }
.doctor-seal span { font-size: .63rem; font-weight: 700; letter-spacing: .05em; line-height: 1.3; text-transform: uppercase; }
.doctor-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 62px 64px 62px 90px; }
.doctor-copy h2 { margin-bottom: 12px; color: var(--navy-deep); font-size: clamp(3rem, 4.3vw, 4.7rem); font-weight: 800; letter-spacing: -.075em; line-height: .96; }
.doctor-copy h2 span { color: var(--magenta); }
.doctor-role { margin-bottom: 31px; color: var(--navy-soft); font-size: .7rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.doctor-lead { max-width: 620px; margin-bottom: 18px; color: var(--navy-deep); font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; letter-spacing: -.03em; line-height: 1.42; }
.doctor-copy > p:not(.eyebrow):not(.doctor-role):not(.doctor-lead) { max-width: 630px; color: var(--muted); }
.principles { display: grid; width: 100%; max-width: 560px; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.principles li { display: flex; align-items: center; gap: 11px; min-height: 50px; padding: 10px 13px; border: 1px solid rgba(42, 67, 104, .1); border-radius: 12px; color: var(--navy-deep); background: rgba(255, 255, 255, .54); font-size: .82rem; font-weight: 700; transition: border-color .25s ease, background .25s ease, transform .25s var(--ease); }
.principles span { display: grid; width: 27px; height: 27px; flex: 0 0 27px; place-items: center; border-radius: 8px; color: var(--magenta); background: #f8e8f0; font-size: .61rem; }

/* Process */
.process { padding: 12px 0 88px; }
.process-shell { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 78px; align-items: center; overflow: hidden; padding: 66px 70px; border: 1px solid rgba(255, 255, 255, .9); border-radius: var(--radius-xl); background: rgba(255, 255, 255, .7); box-shadow: 0 18px 54px rgba(52, 43, 111, .07); }
.process-shell::before { position: absolute; top: -160px; left: -145px; width: 330px; height: 330px; border: 1px solid rgba(209, 56, 126, .12); border-radius: 50%; content: ""; }
.process-heading { position: relative; z-index: 1; }
.process-heading h2 { max-width: 580px; margin-bottom: 20px; color: var(--navy-deep); font-size: clamp(2.7rem, 3.65vw, 3.9rem); font-weight: 800; letter-spacing: -.068em; line-height: 1.02; }
.process-heading > p:last-child { max-width: 530px; margin: 0; color: var(--muted); }
.process-list { position: relative; margin: 0; padding: 0; list-style: none; }
.process-list::before { position: absolute; top: 35px; bottom: 35px; left: 23px; width: 1px; background: rgba(209, 56, 126, .2); content: ""; }
.process-list li { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 21px; padding: 23px 0; border-top: 1px solid var(--line); }
.process-list li:last-child { border-bottom: 1px solid var(--line); }
.process-list > li > span { position: relative; z-index: 1; display: grid; width: 47px; height: 47px; place-items: center; border: 1px solid rgba(209, 56, 126, .16); border-radius: 50%; color: var(--magenta); background: var(--white); box-shadow: 0 8px 24px rgba(69, 47, 114, .08); font-size: .68rem; font-weight: 800; }
.process-list h3 { margin-bottom: 6px; color: var(--navy-deep); font-size: 1.07rem; font-weight: 700; letter-spacing: -.025em; }
.process-list p { margin: 0; color: var(--muted); font-size: .86rem; }

/* Credentials */
.credentials { padding: 0 0 88px; }
.credentials-shell { position: relative; display: grid; grid-template-columns: .82fr 1.18fr; gap: 76px; overflow: hidden; padding: 72px 76px; border-radius: var(--radius-xl); color: var(--white); background: var(--navy-deep); box-shadow: 0 24px 64px rgba(23, 42, 75, .18); }
.credentials-shell::after { position: absolute; right: -170px; bottom: -210px; width: 480px; height: 480px; border: 1px solid rgba(255, 255, 255, .07); border-radius: 50%; box-shadow: 0 0 0 54px rgba(255, 255, 255, .018); content: ""; pointer-events: none; }
.credentials-heading { position: sticky; top: 120px; align-self: start; }
.credentials-heading h2 { max-width: 500px; margin-bottom: 20px; font-size: clamp(2.65rem, 3.65vw, 3.85rem); font-weight: 800; letter-spacing: -.07em; line-height: 1.01; }
.credentials-heading > p:last-child { max-width: 450px; margin: 0; color: rgba(255, 255, 255, .62); }
.timeline { position: relative; z-index: 1; margin: 0; padding: 0; list-style: none; }
.timeline::before { position: absolute; top: 35px; bottom: 35px; left: 19px; width: 1px; background: linear-gradient(#ed83b3, rgba(237, 131, 179, .1)); content: ""; }
.timeline li { position: relative; display: grid; grid-template-columns: 42px 1fr; gap: 22px; padding: 25px 0; border-top: 1px solid rgba(255, 255, 255, .13); }
.timeline li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .13); }
.timeline > li > span { position: relative; z-index: 1; display: grid; width: 39px; height: 39px; place-items: center; border: 1px solid rgba(237, 131, 179, .32); border-radius: 50%; color: #f08bb9; background: var(--navy-deep); font-size: .66rem; font-weight: 800; }
.timeline small { display: block; margin-bottom: 5px; color: #ed83b3; font-size: .64rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.timeline h3 { margin-bottom: 6px; font-size: 1rem; font-weight: 700; letter-spacing: -.02em; }
.timeline p { margin: 0; color: rgba(255, 255, 255, .58); font-size: .78rem; }

/* Appointment */
.appointment { padding-top: 0; }
.appointment-shell { position: relative; display: grid; grid-template-columns: .98fr 1.02fr; overflow: hidden; border-radius: var(--radius-xl); background: var(--navy-deep); box-shadow: 0 26px 72px rgba(23, 42, 75, .2); }
.appointment-shell::before { position: absolute; top: -220px; left: 34%; width: 440px; height: 440px; border: 1px solid rgba(255, 255, 255, .06); border-radius: 50%; content: ""; pointer-events: none; }
.appointment-copy { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 68px 58px 64px 68px; color: var(--white); }
.appointment-copy h2 { max-width: 650px; margin-bottom: 20px; font-size: clamp(2.75rem, 3.5vw, 3.9rem); font-weight: 800; letter-spacing: -.068em; line-height: 1.01; }
.appointment-copy > p:not(.eyebrow) { max-width: 600px; margin-bottom: 28px; color: rgba(255, 255, 255, .7); }
.appointment-guide { display: grid; width: 100%; max-width: 620px; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 30px; }
.appointment-guide > div { display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: start; padding: 16px 15px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 14px; background: rgba(255, 255, 255, .045); }
.appointment-guide > div > span { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 11px; color: #f08ab9; background: rgba(240, 128, 180, .12); }
.appointment-guide svg { width: 19px; height: 19px; }
.appointment-guide p { display: flex; flex-direction: column; margin: 0; line-height: 1.42; }
.appointment-guide strong { margin-bottom: 4px; color: rgba(255, 255, 255, .92); font-size: .76rem; }
.appointment-guide small { color: rgba(255, 255, 255, .52); font-size: .66rem; }
.appointment-actions { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; }
.appointment-copy > small { max-width: 560px; color: rgba(255, 255, 255, .5); font-size: .65rem; }
.appointment-card { position: relative; display: flex; min-height: 520px; flex-direction: column; align-items: flex-start; justify-content: flex-start; overflow: hidden; margin: 20px; padding: 46px 48px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 22px; color: var(--ink); background: var(--lavender-soft); box-shadow: inset 0 1px 0 var(--white); }
.appointment-card::before { position: absolute; top: -74px; right: -62px; width: 210px; height: 210px; border: 1px solid rgba(209, 56, 126, .18); border-radius: 50%; content: ""; }
.appointment-card::after { position: absolute; right: -18px; bottom: -36px; color: rgba(23, 42, 75, .035); font-family: var(--font-display); font-size: 11rem; font-weight: 800; letter-spacing: -.1em; line-height: 1; content: "01"; pointer-events: none; }
.appointment-card-head { position: relative; z-index: 1; display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 26px; }
.appointment-logo { display: grid; width: 60px; height: 60px; place-items: center; border-radius: 16px; background: var(--white); box-shadow: var(--shadow-soft); }
.appointment-logo img { width: 42px; height: auto; }
.appointment-status { display: inline-flex; align-items: center; gap: 8px; color: var(--navy-soft); font-size: .64rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.appointment-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--magenta); box-shadow: 0 0 0 5px rgba(209, 56, 126, .1); }
.appointment-card > p { position: relative; z-index: 1; margin-bottom: 7px; color: var(--magenta); font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.appointment-card h3 { position: relative; z-index: 1; margin-bottom: 18px; color: var(--navy-deep); font-size: 2.2rem; font-weight: 800; letter-spacing: -.05em; line-height: 1.05; }
.appointment-card .appointment-note { max-width: 420px; margin-bottom: 20px; color: var(--muted); font-size: .84rem; font-weight: 400; letter-spacing: 0; line-height: 1.58; text-transform: none; }
.booking-selection { position: relative; z-index: 1; display: grid; width: 100%; max-width: 460px; grid-template-columns: repeat(2, 1fr); margin: 0 0 25px; border: 1px solid rgba(42, 67, 104, .1); border-radius: 15px; background: var(--white); box-shadow: 0 14px 34px rgba(52, 43, 111, .06); }
.booking-selection > div { min-width: 0; padding: 15px 17px; }
.booking-selection > div + div { border-left: 1px solid rgba(42, 67, 104, .1); }
.booking-selection dt { margin-bottom: 4px; color: var(--muted); font-size: .6rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.booking-selection dd { overflow: hidden; margin: 0; color: var(--navy-deep); font-size: .76rem; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.booking-assurance { position: relative; z-index: 1; display: grid; width: 100%; max-width: 460px; grid-template-columns: 36px 1fr; gap: 12px; align-items: center; margin-top: auto; padding: 15px 16px; border: 1px solid rgba(42, 67, 104, .09); border-radius: 14px; background: rgba(42, 67, 104, .035); }
.booking-assurance > span { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 11px; color: var(--magenta); background: rgba(209, 56, 126, .1); }
.booking-assurance svg { width: 19px; height: 19px; stroke-width: 2; }
.booking-assurance p { display: flex; flex-direction: column; margin: 0; line-height: 1.42; }
.booking-assurance strong { margin-bottom: 3px; color: var(--navy-deep); font-size: .72rem; }
.booking-assurance small { color: var(--muted); font-size: .64rem; }
.map-link { display: inline-flex; align-items: center; gap: 9px; color: var(--magenta); font-size: .8rem; font-weight: 700; transition: color .3s var(--ease); }
.map-link svg { width: 28px; height: 28px; padding: 6px; border-radius: 50%; background: rgba(209, 56, 126, .1); transition: transform .35s var(--ease), background .35s var(--ease); }
.map-link:hover { color: var(--magenta-dark); }
.map-link:hover svg { background: rgba(209, 56, 126, .16); transform: translateX(3px); }
.appointment-card .map-link { position: relative; z-index: 1; margin-top: 20px; }

/* Footer */
.site-footer { padding: 34px 0 24px; color: var(--white); }
.footer-shell { position: relative; overflow: hidden; padding: 68px 72px 28px; border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius-xl); background: #132744; box-shadow: 0 28px 78px rgba(23, 42, 75, .22), inset 0 1px 0 rgba(255, 255, 255, .09); }
.footer-watermark { position: absolute; top: -118px; right: -52px; width: 390px; filter: brightness(0) invert(1); opacity: .035; transform: rotate(8deg); pointer-events: none; }
.footer-callout { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 62px; padding-bottom: 62px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer-kicker { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; color: rgba(255, 255, 255, .68); font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.footer-kicker span { width: 30px; height: 2px; background: var(--magenta); }
.footer-callout h2 { max-width: 850px; margin: 0; font-size: clamp(3.1rem, 5.2vw, 5.8rem); font-weight: 700; letter-spacing: -.075em; line-height: .98; }
.footer-callout h2 em { color: #f080b4; font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.footer-button { flex: 0 0 auto; margin-bottom: 8px; border-radius: 999px; }
.footer-directory { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 48px; padding: 42px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer-brand > img { width: 45px; height: 52px; filter: brightness(0) invert(1); }
.footer-brand strong { color: var(--white); font-size: .95rem; }
.footer-brand small { color: rgba(255, 255, 255, .6); }
.footer-nav { display: flex; gap: 30px; }
.footer-nav a { position: relative; color: rgba(255, 255, 255, .58); font-size: .76rem; font-weight: 600; transition: color .3s var(--ease); }
.footer-nav a::after { position: absolute; right: 0; bottom: -8px; left: 0; height: 1px; background: var(--magenta); content: ""; transform: scaleX(0); transition: transform .3s var(--ease); }
.footer-nav a:hover { color: var(--white); }
.footer-nav a:hover::after { transform: scaleX(1); }
.footer-practice { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.45; text-align: right; }
.footer-practice span { margin-bottom: 5px; color: rgba(255, 255, 255, .58); font-size: .6rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.footer-practice strong { color: rgba(255, 255, 255, .9); font-family: var(--font-display); font-size: .8rem; font-weight: 700; }
.footer-legal { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: flex-start; gap: 28px; padding-top: 24px; color: rgba(255, 255, 255, .57); font-size: .65rem; }
.footer-legal p { max-width: 720px; margin: 0; }
.footer-legal > div { display: flex; align-items: center; gap: 22px; }
.footer-legal a { display: inline-flex; align-items: center; gap: 7px; color: rgba(255, 255, 255, .72); font-weight: 700; transition: color .3s var(--ease); }
.footer-legal a:hover { color: var(--white); }
.footer-legal a svg { width: 17px; height: 17px; transition: transform .3s var(--ease); }
.footer-legal a:hover svg { transform: translateX(3px); }
.footer-legal .footer-top svg { transform: none; }
.footer-legal .footer-top:hover svg { transform: translateY(-3px); }
.mobile-actions { display: none; }

@media (hover: hover) {
  .principles li:hover { border-color: rgba(209, 56, 126, .2); background: var(--white); transform: translateX(3px); }
  .process-list li, .timeline li { transition: background .25s ease, transform .25s var(--ease); }
  .process-list li:hover { background: rgba(255, 255, 255, .58); transform: translateX(5px); }
  .timeline li:hover { background: rgba(255, 255, 255, .035); transform: translateX(5px); }
}

/* Motion */
.reveal { opacity: 1; transform: translateY(18px); }
.js .reveal { opacity: 0; transition: opacity .75s var(--ease), transform .75s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }

@media (max-width: 1120px) {
  :root { --container: min(100% - 40px, 1020px); }
  .header-shell { gap: 18px; }
  .site-nav { gap: 18px; }
  .hero-shell { min-height: 650px; grid-template-columns: 54% 46%; }
  .hero-copy { padding: 76px 30px 78px 54px; }
  .hero h1 { font-size: clamp(3.45rem, 5.6vw, 4.75rem); }
  .hero-doctor { right: -11%; bottom: 18px; width: 550px; height: 570px; }
  .hero-arch { right: -130px; width: 560px; height: 580px; }
  .hero-specialties { display: none; }
  .intro-wrap { padding-inline: 36px; }
  .intro-copy { padding: 42px; }
  .service-rail { grid-template-columns: 1.05fr .95fr .95fr; }
  .doctor-copy { padding: 68px 52px 68px 82px; }
  .doctor-seal { right: -60px; }
  .credentials-shell { gap: 56px; padding-inline: 56px; }
  .appointment-copy { padding: 62px; }
}

@media (max-width: 900px) {
  :root { --container: min(100% - 32px, 760px); }
  .section { padding: 80px 0; }
  .site-header { top: 10px; }
  .header-shell { min-height: 62px; padding: 7px 8px 7px 14px; }
  .header-cta { margin-left: auto; }
  .menu-toggle { display: grid; width: 43px; height: 43px; place-content: center; gap: 5px; margin-left: 2px; border: 0; border-radius: 11px; background: var(--lavender); cursor: pointer; }
  .menu-toggle span { display: block; width: 20px; height: 2px; border-radius: 999px; background: var(--navy-deep); transition: transform .25s ease, opacity .2s ease; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .js .site-nav { position: fixed; top: 86px; right: 16px; left: 16px; display: flex; max-height: 0; flex-direction: column; align-items: stretch; gap: 0; overflow: hidden; border: 1px solid rgba(255, 255, 255, .8); border-radius: 20px; background: rgba(255, 255, 255, .97); box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(-10px); transition: max-height .35s var(--ease), opacity .25s ease, transform .35s var(--ease); }
  .js .site-nav.is-open { max-height: 360px; padding: 14px 22px; opacity: 1; pointer-events: auto; transform: translateY(0); }
  .js .site-nav a { width: 100%; padding: 15px 0; border-bottom: 1px solid var(--line); color: var(--navy-deep); font-size: 1rem; }
  .js .site-nav a:last-child { border-bottom: 0; }
  .js .site-nav a::after { display: none; }

  .hero { padding-top: 88px; }
  .hero-shell { min-height: 0; grid-template-columns: 1fr; grid-template-rows: auto 560px; }
  .hero-copy { padding: 64px 64px 36px; text-align: left; }
  .hero-copy .eyebrow { justify-content: flex-start; }
  .hero h1 { max-width: 700px; margin-inline: 0; }
  .hero-lead { margin-inline: 0; }
  .hero-actions { justify-content: flex-start; }
  .hero-principles { justify-content: initial; }
  .hero-visual { min-height: 540px; margin: 0 14px 14px; border-radius: 28px; }
  .hero-arch { right: 6%; left: 6%; width: auto; height: 520px; border-radius: 50% 50% 0 0; }
  .hero-doctor { right: 50%; bottom: 14px; width: 510px; height: 530px; transform: translateX(50%); }
  .hero-script { top: 55px; right: 50%; font-size: 5.4rem; transform: translateX(50%) rotate(-4deg); }
  .hero-index { top: 28px; left: 28px; }
  .intro-wrap { margin-top: 34px; padding-inline: 28px; }
  .intro-card { grid-template-columns: .58fr 1.42fr; }
  .intro-copy { padding: 38px; }

  .service-scroll-cue { display: flex; align-items: center; justify-content: flex-end; gap: 9px; margin: -10px 0 18px; color: var(--navy-soft); font-size: .68rem; font-weight: 700; letter-spacing: .03em; }
  .service-scroll-cue svg { width: 25px; height: 25px; padding: 6px; border: 1px solid rgba(209, 56, 126, .16); border-radius: 50%; color: var(--magenta); background: rgba(255, 255, 255, .7); }
  .service-rail { grid-template-columns: repeat(4, minmax(270px, 1fr)); grid-template-rows: none; gap: 14px; overflow: auto hidden; padding-bottom: 18px; scroll-behavior: smooth; scroll-snap-type: x proximity; }
  .service-card, .service-card-featured { grid-column: auto; grid-row: auto; min-height: 270px; justify-content: flex-end; padding: 28px; scroll-snap-align: start; }
  .service-card-featured { order: -1; }
  .service-card-capsule { padding-right: 28px; }
  .service-card-featured .service-icon { top: 24px; right: 24px; left: auto; width: 52px; height: 52px; }
  .service-card-featured h3 { font-size: 1.75rem; }
  .doctor-shell { grid-template-columns: 1fr; }
  .doctor-image { min-height: 580px; }
  .doctor-image-frame { min-height: 530px; }
  .doctor-seal { right: 38px; bottom: -55px; }
  .doctor-copy { padding: 100px 60px 68px; }
  .process-shell { grid-template-columns: 1fr; gap: 38px; padding: 58px 50px; }
  .credentials-shell { grid-template-columns: 1fr; gap: 40px; padding: 58px 50px; }
  .credentials-heading { position: static; }
  .appointment-shell { grid-template-columns: 1fr; }
  .appointment-copy { padding: 56px 52px 32px; }
  .appointment-card { margin: 20px 24px 24px; }
  .footer-shell { padding: 58px 50px 28px; }
  .footer-callout { grid-template-columns: 1fr; gap: 34px; }
  .footer-button { justify-self: start; }
  .footer-directory { grid-template-columns: 1fr 1fr; }
  .footer-nav { display: none; }
}

@media (max-width: 680px) {
  :root { --container: calc(100% - 24px); --radius-xl: 25px; }
  html { scroll-padding-top: 84px; }
  .section { padding: 66px 0; }
  .site-header { top: 8px; }
  .header-shell { border-radius: 16px; }
  .brand > img { width: 30px; height: 36px; }
  .brand strong { font-size: .8rem; }
  .brand small { font-size: .43rem; }
  .header-cta { display: none; }
  .menu-toggle { margin-left: auto; }

  .hero { padding-top: 78px; }
  .hero-shell { min-height: 0; grid-template-rows: auto 500px; border-radius: 24px; }
  .hero-copy { padding: 43px 24px 34px; }
  .hero-copy .eyebrow { margin-bottom: 17px; font-size: .62rem; }
  .hero h1 { margin-bottom: 20px; font-size: clamp(2.8rem, 12.8vw, 3.45rem); line-height: .96; }
  .hero-lead { margin-bottom: 25px; font-size: .91rem; line-height: 1.62; }
  .hero-actions { flex-direction: column; gap: 0; }
  .hero-actions .button { width: 100%; }
  .hero-principles { width: 100%; margin-top: 28px; }
  .hero-principles li { padding-inline: 12px; font-size: .67rem; }
  .hero-visual { min-height: 476px; margin: 0 11px 11px; border-radius: 22px; }
  .hero-arch { right: 9px; left: 9px; height: 465px; }
  .hero-doctor { bottom: 12px; width: 430px; height: 470px; }
  .hero-script { top: 68px; font-size: 4.35rem; }
  .hero-index { top: 22px; left: 20px; }
  .hero-specialties { display: none; }

  .intro-wrap { margin-top: 24px; padding-inline: 0; }
  .intro-card { grid-template-columns: 1fr; border-radius: 22px 22px 14px 14px; }
  .intro-portrait { min-height: 310px; }
  .intro-portrait img { object-position: center 22%; }
  .intro-copy { padding: 36px 26px 40px; }
  .intro-copy h2 { font-size: 2rem; }

  .services { padding-top: 74px; }
  .section-heading { grid-template-columns: 1fr; gap: 18px; margin-bottom: 30px; }
  .section-heading h2 { font-size: 2.55rem; }
  .section-summary { font-size: .86rem; }
  .service-scroll-cue { justify-content: space-between; margin-top: -4px; }
  .service-rail { margin-right: calc((100vw - var(--container)) / -2); padding-right: 24px; }
  .service-card, .service-card-featured { min-height: 258px; }
  .service-card-featured { transform: none; }
  .service-card-featured:hover { transform: translateY(-6px); }

  .doctor { padding-top: 24px; }
  .doctor-image { min-height: 480px; padding: 14px; }
  .doctor-image-frame { min-height: 450px; border-radius: 17px 17px 52px 17px; }
  .doctor-seal { right: 18px; bottom: -48px; width: 138px; height: 138px; border-width: 7px; }
  .doctor-seal img { width: 42px; }
  .doctor-seal span { font-size: .52rem; }
  .doctor-copy { padding: 86px 26px 46px; }
  .doctor-copy h2 { font-size: 3rem; }
  .doctor-role { font-size: .6rem; line-height: 1.5; }
  .doctor-lead { font-size: 1.12rem; }
  .principles { gap: 0 14px; }

  .process { padding-top: 0; }
  .process-shell { gap: 32px; padding: 44px 25px; border-radius: 24px; }
  .process-heading h2 { font-size: 2.6rem; }
  .process-list::before { left: 20px; }
  .process-list li { grid-template-columns: 42px 1fr; gap: 15px; }
  .process-list > li > span { width: 41px; height: 41px; }
  .credentials { padding-bottom: 66px; }
  .credentials-shell { padding: 44px 25px; border-radius: 24px; }
  .credentials-heading h2 { font-size: 2.55rem; }
  .timeline::before { left: 17px; }
  .timeline li { grid-template-columns: 36px 1fr; gap: 14px; }
  .timeline > li > span { width: 35px; height: 35px; }

  .appointment { padding-bottom: 66px; }
  .appointment-copy { padding: 48px 26px 24px; }
  .appointment-copy h2 { font-size: 2.7rem; }
  .appointment-guide { grid-template-columns: 1fr; }
  .appointment-actions { width: 100%; flex-direction: column; align-items: flex-start; }
  .appointment-actions .button { width: 100%; }
  .appointment-card { min-height: 0; margin: 12px; padding: 36px 24px 40px; }
  .appointment-card-head { align-items: flex-start; }
  .appointment-status { max-width: 105px; line-height: 1.4; }
  .booking-selection { grid-template-columns: 1fr; }
  .booking-selection > div + div { border-top: 1px solid rgba(42, 67, 104, .1); border-left: 0; }
  .booking-selection dd { white-space: normal; }
  .booking-assurance { margin-top: 4px; }

  .site-footer { padding: 20px 0 16px; }
  .footer-shell { padding: 44px 25px 24px; border-radius: 24px; }
  .footer-watermark { top: -54px; right: -92px; width: 280px; }
  .footer-callout { gap: 28px; padding-bottom: 42px; }
  .footer-kicker { font-size: .58rem; }
  .footer-callout h2 { font-size: clamp(2.7rem, 12vw, 3.65rem); }
  .footer-button { width: 100%; }
  .footer-directory { grid-template-columns: 1fr; gap: 28px; padding: 34px 0; }
  .footer-practice { align-items: flex-start; text-align: left; }
  .footer-legal { flex-direction: column; gap: 18px; }
  .footer-legal > div { width: 100%; flex-direction: column; align-items: flex-start; gap: 10px; }
  .mobile-actions { position: fixed; z-index: 90; right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); display: block; padding: 6px; border: 1px solid rgba(255, 255, 255, .86); border-radius: 999px; background: rgba(255, 255, 255, .92); box-shadow: 0 18px 48px rgba(32, 26, 79, .2); backdrop-filter: blur(16px); }
  .mobile-actions a { display: flex; min-height: 46px; align-items: center; justify-content: center; gap: 10px; padding: 0 9px 0 18px; border-radius: 999px; color: var(--white); background: var(--magenta); font-size: .76rem; font-weight: 700; }
  .mobile-actions svg { width: 28px; height: 28px; padding: 7px; border-radius: 50%; background: rgba(255, 255, 255, .16); }
  .js .mobile-actions { opacity: 0; pointer-events: none; transform: translateY(calc(100% + 24px)); transition: opacity .25s ease, transform .35s var(--ease); }
  .js .mobile-actions.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
}

@media (max-width: 390px) {
  :root { --container: calc(100% - 18px); }
  .brand strong { font-size: .73rem; }
  .brand small { max-width: 150px; font-size: .4rem; }
  .hero-shell { grid-template-rows: auto 470px; }
  .hero-copy { padding-inline: 18px; }
  .hero h1 { font-size: 2.65rem; }
  .hero-principles li { padding-inline: 9px; font-size: .63rem; }
  .hero-doctor { width: 400px; height: 440px; }
  .hero-arch { height: 445px; }
  .section-heading h2, .credentials-heading h2 { font-size: 2.3rem; }
  .service-rail { grid-template-columns: repeat(4, minmax(280px, 1fr)); }
  .principles li { gap: 8px; padding-inline: 10px; font-size: .76rem; }
  .principles span { width: 24px; height: 24px; flex-basis: 24px; }
  .doctor-image { min-height: 460px; }
  .doctor-image-frame { min-height: 430px; }
  .doctor-copy h2 { font-size: 2.65rem; }
  .process-heading h2 { font-size: 2.35rem; }
  .appointment-copy h2 { font-size: 2.4rem; }
}

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