:root {
  --bg: #050505;
  --bg-soft: #0d0d0d;
  --surface: #151515;
  --surface-2: #1c1b19;
  --text: #f8f5ef;
  --muted: #beb7ab;
  --gold: #c9a55a;
  --gold-light: #e0c378;
  --gold-dark: #927033;
  --line: rgba(201, 165, 90, 0.28);
  --line-strong: #e2c987;
  --container: 1180px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Montserrat", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

[hidden] {
  display: none !important;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 11% 29%, rgba(201, 165, 90, 0.035), transparent 25rem),
    var(--bg);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.modal-open {
  overflow: hidden;
}

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

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

button {
  color: inherit;
}

::selection {
  color: #090909;
  background: var(--gold-light);
}

:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 10000;
  top: 12px;
  left: 12px;
  padding: 10px 15px;
  color: #090909;
  background: var(--gold-light);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(100% - 64px, var(--container));
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: clamp(82px, 8vw, 116px);
}

.overline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.overline::before {
  width: 30px;
  height: 1px;
  background: var(--gold);
  content: "";
}

h1,
h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

h1 em,
h2 em {
  color: var(--gold-light);
  font-weight: 500;
}

h2 {
  font-size: clamp(48px, 4.3vw, 64px);
  line-height: 0.98;
}

p {
  text-wrap: pretty;
}

.button {
  position: relative;
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 14px 22px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.11em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 250ms ease, background 250ms ease, border-color 250ms ease, transform 250ms var(--ease);
}

.button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
  transition: transform 250ms var(--ease);
}

.button:hover svg {
  transform: translateX(3px);
}

.button:active {
  transform: translateY(1px);
}

.button--primary {
  border: 1px solid var(--line-strong);
  color: #090909;
  background: var(--gold);
  box-shadow: 0 12px 40px rgba(201, 165, 90, 0.12);
}

.button--primary:hover {
  background: var(--gold-light);
}

.button--secondary {
  border: 1px solid rgba(201, 165, 90, 0.7);
  color: var(--text);
  background: transparent;
}

.button--secondary:hover {
  color: #090909;
  background: var(--gold-light);
}

.button .whatsapp-icon {
  fill: #27c56d;
  stroke: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  text-decoration: none;
}

.brand__monogram {
  display: grid;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(224, 195, 120, 0.6);
  border-radius: 5px;
  place-items: center;
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.11em;
  line-height: 1;
  text-indent: -0.08em;
}

.brand__copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__copy strong {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.005em;
}

.brand__copy small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 7px;
  font-weight: 500;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  display: flex;
  min-height: min(820px, 100svh);
  overflow: hidden;
  align-items: flex-end;
  isolation: isolate;
}

.hero::after {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  height: 22%;
  background: linear-gradient(to bottom, transparent, var(--bg));
  content: "";
  pointer-events: none;
}

.hero__video,
.hero__veil {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__video {
  object-fit: cover;
  object-position: center 44%;
  scale: 1.01;
}

.hero__veil {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.93) 0%, rgba(0, 0, 0, 0.76) 42%, rgba(0, 0, 0, 0.46) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 45%, rgba(0, 0, 0, 0.82));
}

.hero__top {
  position: absolute;
  z-index: 3;
  top: max(22px, env(safe-area-inset-top));
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero__contact {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding-inline: 5px;
  border-bottom: 1px solid rgba(201, 165, 90, 0.7);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
}

.media-toggle {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border: 0;
  color: rgba(248, 245, 239, 0.72);
  background: transparent;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  cursor: pointer;
}

.hero__pause {
  position: absolute;
  z-index: 4;
  right: max(32px, calc((100vw - var(--container)) / 2));
  bottom: 25px;
}

.media-toggle__pause {
  width: 8px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-left: 2px solid currentColor;
}

.media-toggle__play {
  display: none;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid currentColor;
}

.media-toggle[aria-pressed="true"] .media-toggle__pause {
  display: none;
}

.media-toggle[aria-pressed="true"] .media-toggle__play {
  display: block;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-bottom: clamp(82px, 9vh, 112px);
}

.hero__content h1 {
  max-width: 860px;
  font-size: clamp(58px, 5.4vw, 78px);
  line-height: 0.94;
}

.hero__lead {
  max-width: 680px;
  margin: 24px 0 25px;
  color: rgba(248, 245, 239, 0.82);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.65;
}

.authority {
  display: grid;
  max-width: 860px;
  margin: 0 0 32px;
  padding: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 30px;
  list-style: none;
}

.authority li {
  position: relative;
  padding-left: 15px;
  color: rgba(248, 245, 239, 0.85);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.authority li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 4px;
  height: 4px;
  background: var(--gold);
  content: "";
  rotate: 45deg;
}

.hero__scroll {
  position: absolute;
  z-index: 3;
  right: max(32px, calc((100vw - var(--container)) / 2));
  bottom: 70px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(248, 245, 239, 0.65);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-decoration: none;
  text-transform: uppercase;
  rotate: 90deg;
  transform-origin: right bottom;
}

.hero__scroll i {
  display: block;
  width: 48px;
  height: 1px;
  overflow: hidden;
  background: rgba(248, 245, 239, 0.25);
}

.hero__scroll i::after {
  display: block;
  width: 50%;
  height: 100%;
  background: var(--gold);
  content: "";
  animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(200%); }
}

.section-heading {
  display: grid;
  margin-bottom: 48px;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.5fr);
  column-gap: 10%;
}

.section-heading .overline {
  grid-column: 1 / -1;
}

.section-heading h2 {
  max-width: 680px;
}

.section-heading > p:last-child {
  align-self: end;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.results {
  overflow: hidden;
  background:
    linear-gradient(180deg, var(--bg), transparent 20%),
    var(--bg-soft);
}

.carousel {
  width: 100%;
  overflow: hidden;
}

.carousel__track {
  display: flex;
  width: max-content;
  gap: 15px;
  padding-inline: max(32px, calc((100vw - var(--container)) / 2));
  animation: carousel-flow 55s linear infinite;
  will-change: transform;
}

.carousel:hover .carousel__track,
.carousel:focus-within .carousel__track {
  animation-play-state: paused;
}

@keyframes carousel-flow {
  to { transform: translateX(calc(-50% - 7.5px)); }
}

.case {
  position: relative;
  width: min(32vw, 380px);
  aspect-ratio: 1 / 1;
  margin: 0;
  overflow: hidden;
  flex: 0 0 auto;
  border: 1px solid rgba(201, 165, 90, 0.16);
  border-radius: 4px;
  background: var(--surface);
}

.case::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 28%;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.88));
  content: "";
  pointer-events: none;
}

.case img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  transition: scale 900ms var(--ease), filter 500ms ease;
}

.case:hover img {
  filter: saturate(0.86) contrast(1.04);
  scale: 1.025;
}

.case figcaption {
  position: absolute;
  z-index: 1;
  right: 20px;
  bottom: 18px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: rgba(248, 245, 239, 0.9);
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.1;
}

.case figcaption span {
  color: var(--gold-light);
  font-family: var(--sans);
  font-size: 8px;
  letter-spacing: 0.14em;
}

.clinical-note {
  margin-top: 24px;
  margin-bottom: 0;
  color: rgba(190, 183, 171, 0.72);
  font-size: 10px;
  line-height: 1.55;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
}

.carousel-controls__pause {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border: 0;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
}

.carousel-controls__pause span {
  width: 9px;
  height: 11px;
  border-right: 2px solid var(--gold-light);
  border-left: 2px solid var(--gold-light);
}

.carousel-controls__pause[aria-pressed="true"] span {
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-right: 0;
  border-bottom: 5px solid transparent;
  border-left: 8px solid var(--gold-light);
}

.carousel-controls__pause b,
.carousel-controls p {
  margin: 0;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.carousel-controls p {
  display: none;
  color: rgba(190, 183, 171, 0.55);
}

.split {
  display: grid;
  align-items: center;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(60px, 8vw, 120px);
}

.testimonial {
  overflow: hidden;
}

.testimonial::before {
  position: absolute;
  top: 18%;
  right: -18%;
  width: 48vw;
  height: 48vw;
  border: 1px solid rgba(201, 165, 90, 0.1);
  border-radius: 50%;
  content: "";
}

.testimonial__copy {
  position: relative;
  z-index: 1;
}

.quote-mark {
  display: block;
  height: 48px;
  margin-bottom: 12px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 104px;
  font-style: italic;
  line-height: 0.9;
}

.testimonial__copy h2 {
  max-width: 580px;
  font-size: clamp(42px, 3.7vw, 56px);
  line-height: 1.02;
}

.testimonial__copy > p:last-child,
.experience__copy > p:last-of-type,
.doctor__copy > p,
.technology__copy > p:last-of-type {
  max-width: 560px;
  color: var(--muted);
  font-size: 14px;
}

.portrait-video {
  position: relative;
  width: min(100%, 430px);
  margin-inline: auto;
  padding: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.018);
}

.portrait-video::before,
.portrait-video::after,
.doctor__portrait::before,
.doctor__portrait::after {
  position: absolute;
  width: 26px;
  height: 26px;
  border-color: var(--gold-light);
  content: "";
  pointer-events: none;
}

.portrait-video::before,
.doctor__portrait::before {
  top: -1px;
  left: -1px;
  border-top: 1px solid;
  border-left: 1px solid;
}

.portrait-video::after,
.doctor__portrait::after {
  right: -1px;
  bottom: -1px;
  border-right: 1px solid;
  border-bottom: 1px solid;
}

.portrait-video video {
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 2px;
  background: #000;
  object-fit: cover;
}

.portrait-video--muted video {
  filter: saturate(0.72) contrast(1.05);
}

.media-index {
  position: absolute;
  right: -34px;
  bottom: 45px;
  color: var(--gold-light);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.18em;
  rotate: -90deg;
}

.experience {
  background: var(--bg-soft);
}

.metric {
  display: flex;
  align-items: baseline;
  margin: 0 0 16px;
  color: var(--gold-light);
}

.metric__prefix {
  margin-right: 12px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.metric strong {
  font-family: var(--serif);
  font-size: clamp(82px, 9vw, 124px);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.75;
}

.experience__copy h2 {
  max-width: 560px;
  font-size: clamp(42px, 3.8vw, 56px);
  line-height: 1.02;
}

.experience__copy .button {
  margin-top: 20px;
}

.doctor {
  background:
    radial-gradient(circle at 75% 35%, rgba(201, 165, 90, 0.07), transparent 30rem),
    var(--bg);
}

.split--doctor {
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
}

.doctor__copy h2 {
  font-size: clamp(58px, 5.4vw, 76px);
}

.doctor__lead {
  margin-top: 24px;
  color: var(--text) !important;
  font-family: var(--serif);
  font-size: 24px !important;
  line-height: 1.28;
}

.credentials {
  margin-top: 36px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.credentials summary {
  display: flex;
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--text);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  list-style: none;
  text-transform: uppercase;
  cursor: pointer;
}

.credentials summary::-webkit-details-marker {
  display: none;
}

.credentials summary i {
  position: relative;
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.credentials summary i::before,
.credentials summary i::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 1px;
  background: var(--gold-light);
  content: "";
  transition: rotate 300ms ease;
  translate: -50% -50%;
}

.credentials summary i::after {
  rotate: 90deg;
}

.credentials[open] summary i::after {
  rotate: 0deg;
}

.credentials__content {
  padding: 0 0 25px;
  color: var(--muted);
  font-size: 13px;
}

.credentials__content p {
  margin: 0 0 13px;
}

.credentials__content .registration {
  margin-top: 18px;
  color: var(--gold-light);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.doctor__portrait {
  position: relative;
  margin: 0;
  padding: 10px;
  border: 1px solid var(--line);
}

.doctor__portrait img,
.doctor__portrait-placeholder {
  width: 100%;
  aspect-ratio: 0.82;
}

.doctor__portrait img {
  filter: saturate(0.6) contrast(1.08);
  object-fit: cover;
  object-position: center 17%;
}

.doctor__portrait-placeholder {
  position: relative;
  display: flex;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background:
    radial-gradient(circle at 50% 36%, rgba(201, 165, 90, 0.17), transparent 34%),
    repeating-linear-gradient(90deg, transparent 0 56px, rgba(201, 165, 90, 0.025) 57px),
    #0b0b0b;
}

.doctor__portrait-placeholder::before,
.doctor__portrait-placeholder::after {
  position: absolute;
  border: 1px solid rgba(201, 165, 90, 0.13);
  border-radius: 50%;
  content: "";
}

.doctor__portrait-placeholder::before {
  width: 78%;
  height: 64%;
}

.doctor__portrait-placeholder::after {
  width: 56%;
  height: 46%;
}

.doctor__portrait-placeholder span {
  position: relative;
  z-index: 1;
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: clamp(100px, 12vw, 170px);
  font-weight: 500;
  letter-spacing: -0.12em;
  line-height: 0.72;
  text-indent: -0.1em;
}

.doctor__portrait-placeholder i {
  position: relative;
  z-index: 1;
  width: 42px;
  height: 1px;
  margin: 34px 0 18px;
  background: var(--gold);
}

.doctor__portrait-placeholder small {
  position: relative;
  z-index: 1;
  color: var(--muted);
  font-size: 7px;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.doctor__portrait::after {
  z-index: 2;
}

.doctor__portrait figcaption {
  position: absolute;
  z-index: 1;
  right: 11px;
  bottom: 11px;
  left: 11px;
  display: flex;
  min-height: 86px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px 22px;
  background: linear-gradient(transparent, rgba(5, 5, 5, 0.92));
}

.doctor__portrait figcaption strong {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
}

.doctor__portrait figcaption span {
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.technology {
  overflow: hidden;
  background: var(--bg-soft);
}

.technology__line {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 80px;
  background: linear-gradient(transparent, var(--gold));
}

.split--technology {
  grid-template-columns: minmax(0, 0.82fr) minmax(380px, 1.18fr);
}

.technology__copy h2 {
  font-size: clamp(48px, 4.5vw, 64px);
}

.technology__list {
  margin: 34px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.technology__list li {
  display: flex;
  min-height: 54px;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.technology__list span {
  color: var(--gold-light);
  font-size: 8px;
}

.technology__visual {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.technology__visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.68));
  content: "";
}

.technology__visual video {
  width: 100%;
  height: 100%;
  min-height: 520px;
  filter: saturate(0.55) contrast(1.08);
  object-fit: cover;
}

.technology__frame {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: 9%;
  display: flex;
  width: 190px;
  min-height: 190px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 1px solid rgba(224, 195, 120, 0.7);
  background: rgba(5, 5, 5, 0.68);
  backdrop-filter: blur(10px);
  translate: 0 -50%;
}

.technology__frame span {
  font-family: var(--serif);
  font-size: 25px;
}

.technology__frame i {
  width: 35px;
  height: 1px;
  margin-block: 15px;
  background: var(--gold);
}

.technology__frame small {
  color: var(--muted);
  font-size: 7px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.final-cta {
  display: grid;
  min-height: 680px;
  overflow: hidden;
  place-items: center;
  text-align: center;
}

.final-cta::before {
  position: absolute;
  top: 0;
  right: 12%;
  left: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
  content: "";
}

.final-cta__ring {
  position: absolute;
  width: min(70vw, 760px);
  height: min(70vw, 760px);
  border: 1px solid rgba(201, 165, 90, 0.09);
  border-radius: 50%;
}

.final-cta__ring::before,
.final-cta__ring::after {
  position: absolute;
  border: 1px solid rgba(201, 165, 90, 0.06);
  border-radius: inherit;
  content: "";
  inset: 12%;
}

.final-cta__ring::after {
  inset: 26%;
}

.final-cta__content {
  position: relative;
  z-index: 1;
}

.final-cta .overline {
  justify-content: center;
}

.final-cta__content h2 {
  max-width: 840px;
  margin-inline: auto;
}

.final-cta__content > p:not(.overline, .final-cta__note) {
  max-width: 570px;
  margin: 24px auto 32px;
  color: var(--muted);
  font-size: 14px;
}

.final-cta__actions {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.final-cta__note {
  margin-top: 26px;
  color: rgba(190, 183, 171, 0.55);
  font-size: 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer {
  border-top: 1px solid rgba(201, 165, 90, 0.22);
  background: #030303;
}

.footer__inner {
  display: grid;
  min-height: 150px;
  align-items: center;
  grid-template-columns: 1fr auto 1fr;
  gap: 30px;
}

.footer p {
  margin: 0;
  color: rgba(190, 183, 171, 0.65);
  font-size: 9px;
  text-align: center;
}

.footer nav {
  display: flex;
  justify-content: flex-end;
  gap: 22px;
}

.footer nav a {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.05em;
  text-decoration-color: rgba(201, 165, 90, 0.45);
  text-underline-offset: 4px;
}

.lead-modal {
  width: min(calc(100% - 32px), 620px);
  max-height: min(880px, calc(100dvh - 32px));
  overflow: auto;
  padding: 0;
  border: 1px solid rgba(201, 165, 90, 0.35);
  border-radius: 8px;
  color: var(--text);
  background: var(--bg-soft);
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.65);
}

.lead-modal::backdrop {
  background: rgba(0, 0, 0, 0.84);
  backdrop-filter: blur(7px);
}

.lead-modal__panel {
  position: relative;
  min-height: 610px;
  padding: 45px clamp(28px, 6vw, 58px) 42px;
}

.lead-modal__panel::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: 35%;
  height: 1px;
  background: var(--gold-light);
  content: "";
  translate: -50% 0;
}

.lead-modal__close {
  position: absolute;
  z-index: 2;
  top: 16px;
  right: 16px;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  place-items: center;
}

.lead-modal__close svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.2;
}

.lead-modal__brand {
  margin-bottom: 38px;
}

.lead-modal .overline {
  margin-bottom: 12px;
}

.lead-modal h2 {
  font-size: clamp(42px, 7vw, 54px);
}

.lead-modal__intro {
  max-width: 470px;
  margin: 13px 0 26px;
  color: var(--muted);
  font-size: 12px;
}

.form-progress {
  display: grid;
  align-items: center;
  margin-bottom: 34px;
  grid-template-columns: auto 1fr auto 1fr auto 1fr auto;
  gap: 9px;
}

.form-progress span {
  color: rgba(190, 183, 171, 0.5);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.1em;
  transition: color 250ms ease;
}

.form-progress span.is-active,
.form-progress span.is-complete {
  color: var(--gold-light);
}

.form-progress i {
  height: 1px;
  background: #34312c;
}

.form-step label:not(.choice, .consent),
.form-step legend {
  display: block;
  margin: 0 0 13px;
  color: var(--text);
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 500;
  line-height: 1.15;
}

.form-step input[type="text"],
.form-step input[type="tel"],
.form-step input[type="email"] {
  width: 100%;
  min-height: 58px;
  padding: 14px 16px;
  border: 1px solid #6b655b;
  border-radius: 5px;
  color: var(--text);
  background: var(--surface);
  font-size: 14px;
  outline: none;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.form-step input::placeholder {
  color: rgba(190, 183, 171, 0.5);
}

.form-step input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 165, 90, 0.1);
}

.form-step input[aria-invalid="true"] {
  border-color: #e7a39c;
}

.field-error {
  min-height: 20px;
  margin: 7px 0 0;
  color: #f0b5ae;
  font-size: 10px;
}

.form-step fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.choice {
  display: flex;
  min-height: 54px;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  padding: 12px 14px;
  border: 1px solid #6b655b;
  border-radius: 5px;
  background: var(--surface);
  cursor: pointer;
  transition: border-color 200ms ease, background 200ms ease;
}

.choice:has(input:checked) {
  border-color: var(--gold);
  background: rgba(201, 165, 90, 0.07);
}

.choice input,
.consent input {
  width: 18px;
  height: 18px;
  margin: 0;
  flex: 0 0 auto;
  accent-color: var(--gold);
}

.choice span {
  font-size: 12px;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.55;
}

.consent input {
  margin-top: 1px;
}

.consent a {
  color: var(--gold-light);
  text-underline-offset: 3px;
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 20px;
}

.form-back {
  min-height: 48px;
  padding: 10px 8px;
  border: 0;
  color: var(--muted);
  background: transparent;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 5px;
  text-transform: uppercase;
  cursor: pointer;
}

.form-status {
  min-height: 20px;
  margin: 12px 0 0;
  color: var(--gold-light);
  font-size: 10px;
  text-align: right;
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}

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

@media (max-width: 1024px) {
  .container {
    width: min(100% - 48px, 940px);
  }

  .hero__scroll {
    display: none;
  }

  .hero__content h1 {
    max-width: 760px;
  }

  .case {
    width: min(43vw, 370px);
  }

  .split {
    gap: 55px;
  }

  .split--doctor,
  .split--technology {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer__inner {
    grid-template-columns: auto 1fr;
  }

  .footer p {
    text-align: right;
  }

  .footer nav {
    grid-column: 1 / -1;
    justify-content: center;
    padding-bottom: 24px;
  }
}

@media (max-width: 767px) {
  .container {
    width: min(100% - 40px, 560px);
  }

  .section {
    padding-block: 68px;
  }

  .overline {
    margin-bottom: 14px;
    font-size: 10px;
  }

  h2 {
    font-size: clamp(36px, 11vw, 48px);
    line-height: 1;
  }

  .button {
    width: 100%;
    min-height: 54px;
  }

  .hero {
    min-height: 100svh;
    max-height: none;
  }

  .hero__top {
    top: max(18px, env(safe-area-inset-top));
  }

  .hero__contact {
    display: none;
  }

  .hero__video {
    object-position: 55% center;
  }

  .hero__veil {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.63), rgba(0, 0, 0, 0.4) 30%, rgba(0, 0, 0, 0.93) 72%, rgba(0, 0, 0, 0.98)),
      rgba(0, 0, 0, 0.22);
  }

  .hero__content {
    padding-bottom: max(42px, env(safe-area-inset-bottom));
  }

  .hero__content h1 {
    font-size: clamp(38px, 11.8vw, 52px);
    line-height: 0.98;
  }

  .hero__lead {
    margin: 16px 0 18px;
    font-size: 14px;
    line-height: 1.55;
  }

  .authority {
    margin-bottom: 22px;
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .authority li {
    font-size: 10px;
  }

  .hero .button {
    max-width: 420px;
  }

  .section-heading {
    display: block;
    margin-bottom: 32px;
  }

  .section-heading > p:last-child {
    margin-top: 18px;
    font-size: 13px;
  }

  .carousel {
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .carousel::-webkit-scrollbar {
    display: none;
  }

  .carousel__track {
    animation: none;
  }

  .carousel-controls__pause {
    display: none;
  }

  .carousel-controls p {
    display: block;
  }

  .case {
    width: 78vw;
    max-width: 340px;
    scroll-snap-align: center;
  }

  .case[aria-hidden="true"] {
    display: none;
  }

  .clinical-note {
    font-size: 9px;
  }

  .split,
  .split--doctor,
  .split--technology {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .split--testimonial .portrait-video {
    grid-row: 1;
  }

  .split--testimonial .testimonial__copy {
    grid-row: 2;
  }

  .testimonial__copy h2,
  .experience__copy h2,
  .technology__copy h2 {
    font-size: clamp(36px, 10.5vw, 46px);
  }

  .testimonial__copy > p:last-child,
  .experience__copy > p:last-of-type,
  .doctor__copy > p,
  .technology__copy > p:last-of-type {
    font-size: 14px;
  }

  .quote-mark {
    height: 33px;
    font-size: 80px;
  }

  .portrait-video {
    width: min(88vw, 390px);
  }

  .media-index {
    right: -27px;
  }

  .metric strong {
    font-size: 82px;
  }

  .experience__copy .button {
    margin-top: 15px;
  }

  .doctor__copy h2 {
    font-size: clamp(46px, 14vw, 62px);
  }

  .doctor__lead {
    font-size: 21px !important;
  }

  .doctor__portrait {
    width: min(100%, 430px);
    margin-inline: auto;
  }

  .hero__pause {
    right: 16px;
    bottom: 4px;
  }

  .hero__pause .media-toggle__label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .technology__visual,
  .technology__visual video {
    min-height: 450px;
  }

  .technology__frame {
    right: 7%;
    width: 165px;
    min-height: 165px;
  }

  .final-cta {
    min-height: 680px;
  }

  .final-cta__ring {
    width: 115vw;
    height: 115vw;
  }

  .final-cta__actions {
    flex-direction: column;
  }

  .footer__inner {
    min-height: 250px;
    justify-items: center;
    padding-block: 35px;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer p {
    text-align: center;
  }

  .footer nav {
    grid-column: auto;
    padding: 0;
  }

  .lead-modal {
    width: 100%;
    max-width: none;
    height: 100dvh;
    max-height: none;
    margin: 0;
    border-width: 0;
    border-radius: 0;
  }

  .lead-modal__panel {
    min-height: 100%;
    padding: max(32px, env(safe-area-inset-top)) 22px max(28px, env(safe-area-inset-bottom));
  }

  .lead-modal__brand {
    margin-bottom: 28px;
  }

  .lead-modal h2 {
    font-size: 44px;
  }

  .form-step label:not(.choice, .consent),
  .form-step legend {
    font-size: 23px;
  }

  .form-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .form-back {
    width: 100%;
  }

  .form-status {
    text-align: center;
  }
}

@media (max-width: 370px) {
  .container {
    width: calc(100% - 32px);
  }

  .brand__copy strong {
    font-size: 17px;
  }

  .brand__monogram {
    width: 38px;
    height: 38px;
  }

  .hero__content h1 {
    font-size: 37px;
  }

  .hero__lead {
    font-size: 13px;
  }

  .authority li {
    font-size: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

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

@media (forced-colors: active) {
  .button,
  .choice,
  .lead-modal,
  .portrait-video,
  .doctor__portrait {
    border: 1px solid ButtonText;
  }
}
