:root {
  --ink: #0a0907;
  --ink-soft: #15120d;
  --brown: #4d3613;
  --brown-deep: #392b16;
  --gold: #bc8b42;
  --gold-light: #d8b06e;
  --gold-pale: #ead7b7;
  --cream: #f4efe7;
  --paper: #fbfaf7;
  --white: #ffffff;
  --text: #28231d;
  --muted: #746b60;
  --line: rgba(77, 54, 19, 0.15);
  --shadow: 0 24px 70px rgba(34, 24, 11, 0.12);
  --radius-sm: 12px;
  --radius: 22px;
  --radius-lg: 34px;
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--brown-deep);
  letter-spacing: -0.035em;
  line-height: 1.08;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(2.55rem, 5vw, 5rem);
  font-weight: 600;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2.05rem, 4vw, 3.85rem);
  font-weight: 600;
}

h3 {
  font-size: 1.25rem;
  font-weight: 650;
}

em {
  color: var(--gold);
  font-style: normal;
}

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

.section {
  position: relative;
  padding: 112px 0;
  overflow: clip;
}

.section-light {
  background: var(--paper);
}

.section-cream {
  background: var(--cream);
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  padding: 10px 15px;
  color: var(--ink);
  background: var(--white);
  border-radius: 8px;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

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

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  color: var(--gold);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 35px;
  height: 1px;
  background: currentColor;
}

.eyebrow-light {
  color: var(--gold-light);
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 66px;
  text-align: center;
}

.section-heading .eyebrow {
  justify-content: center;
}

.section-heading > p:last-child {
  max-width: 660px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-heading-wide {
  max-width: 920px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 14px 25px;
  color: var(--white);
  background: linear-gradient(135deg, #c7964d, #9e6f2e);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9px;
  box-shadow: 0 12px 30px rgba(157, 114, 50, 0.25);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.button:hover {
  background: linear-gradient(135deg, #d6aa67, #a77a38);
  box-shadow: 0 16px 38px rgba(157, 114, 50, 0.34);
  transform: translateY(-2px);
}

.button:focus-visible,
.text-link:focus-visible,
.hero-secondary-link:focus-visible,
summary:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 4px;
}

.button svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.button-large {
  min-height: 62px;
  padding: 17px 30px;
  font-size: 1rem;
}

.button-small {
  min-height: 44px;
  padding: 11px 20px;
  font-size: 0.8rem;
}

.button-dark {
  background: var(--ink);
  box-shadow: 0 12px 30px rgba(10, 9, 7, 0.18);
}

.button-dark:hover {
  background: var(--brown-deep);
}

/* Hero */

.hero {
  position: relative;
  min-height: 850px;
  color: var(--white);
  background: var(--ink);
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(5, 4, 3, 0.97) 0%, rgba(7, 6, 4, 0.86) 47%, rgba(7, 6, 4, 0.42) 100%),
    radial-gradient(circle at 74% 38%, rgba(188, 139, 66, 0.13), transparent 37%),
    url("assets/prime-clinic-bg.webp");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-glow {
  position: absolute;
  right: 12%;
  bottom: -310px;
  width: 720px;
  height: 720px;
  background: radial-gradient(circle, rgba(188, 139, 66, 0.42), transparent 68%);
  border-radius: 50%;
  filter: blur(10px);
}

.hero::before {
  position: absolute;
  top: 150px;
  left: -130px;
  width: 360px;
  height: 360px;
  content: "";
  border: 1px solid rgba(188, 139, 66, 0.14);
  border-radius: 50%;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(390px, 0.85fr);
  align-items: end;
  min-height: 850px;
  padding-top: 56px;
}

.hero-copy {
  align-self: center;
  max-width: 720px;
  padding: 42px 0 68px;
}

.hero-eyebrow {
  display: inline-flex;
  max-width: 620px;
  margin-bottom: 17px;
  padding: 9px 15px;
  border: 1px solid rgba(231, 185, 108, 0.62);
  border-radius: 999px;
  background: rgba(180, 119, 34, 0.2);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.26);
  color: #f6d28e;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.hero-eyebrow > span {
  width: 25px;
  height: 2px;
}

.hero-copy h1 {
  max-width: 710px;
  margin-bottom: 20px;
  color: var(--white);
  font-size: clamp(2.75rem, 3.9vw, 3.75rem);
  line-height: 1.05;
}

.hero-copy h1 em {
  display: inline;
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 25px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(0.96rem, 1.4vw, 1.08rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-bottom: 19px;
}

.hero-secondary-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 2px;
  color: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid rgba(216, 176, 110, 0.42);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.hero-secondary-link:hover {
  color: var(--white);
  border-color: var(--gold-light);
}

.hero-secondary-link svg {
  width: 15px;
  height: 15px;
  stroke: var(--gold-light);
  stroke-width: 1.8;
  fill: none;
}

.hero-reassurance {
  display: flex;
  align-items: center;
  gap: 13px;
  max-width: 650px;
  padding: 12px 15px;
  margin-bottom: 22px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(216, 176, 110, 0.2);
  border-radius: 12px;
  backdrop-filter: blur(7px);
}

.hero-reassurance p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.71rem;
  line-height: 1.5;
}

.hero-reassurance strong {
  color: rgba(255, 255, 255, 0.94);
  font-weight: 700;
}

.reassurance-icon {
  display: grid;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--gold-light);
  background: rgba(188, 139, 66, 0.12);
  border-radius: 50%;
}

.reassurance-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.hero-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 680px;
  padding: 0;
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  list-style: none;
}

.hero-trust li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  min-width: 0;
  padding: 16px 13px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-trust li:first-child {
  padding-left: 0;
}

.hero-trust li:last-child {
  border-right: 0;
}

.hero-trust li > span:last-child {
  display: grid;
  gap: 2px;
}

.hero-trust strong {
  color: rgba(255, 255, 255, 0.89);
  font-size: 0.67rem;
  font-weight: 700;
  line-height: 1.35;
}

.hero-trust small {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.58rem;
  line-height: 1.4;
}

.trust-icon {
  display: grid;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  place-items: center;
  color: var(--gold-light);
  background: rgba(188, 139, 66, 0.11);
  border-radius: 50%;
}

.trust-icon svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.hero-portrait {
  position: relative;
  align-self: end;
  height: 700px;
}

.hero-clinic-frame {
  position: absolute;
  right: -6px;
  bottom: 146px;
  z-index: 2;
  width: min(100%, 455px);
  height: 345px;
  background: var(--ink-soft);
  border: 1px solid rgba(216, 176, 110, 0.42);
  border-radius: 24px;
  box-shadow: 0 30px 75px rgba(0, 0, 0, 0.38);
  overflow: hidden;
}

.hero-clinic-frame::after {
  position: absolute;
  inset: 38% 0 0;
  content: "";
  background: linear-gradient(transparent, rgba(5, 4, 3, 0.78));
  pointer-events: none;
}

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

.hero-clinic-frame > span {
  position: absolute;
  right: 20px;
  bottom: 18px;
  left: 20px;
  z-index: 2;
  display: grid;
  gap: 1px;
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.hero-clinic-frame > span small {
  color: var(--gold-light);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.portrait-orbit {
  position: absolute;
  right: 1%;
  bottom: 92px;
  width: 490px;
  height: 490px;
  border: 1px solid rgba(218, 176, 110, 0.28);
  border-radius: 50%;
}

.portrait-orbit::before,
.portrait-orbit::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(218, 176, 110, 0.12);
  border-radius: 50%;
}

.portrait-orbit::before {
  inset: 32px;
}

.portrait-orbit::after {
  inset: 74px;
}

.portrait-card {
  position: absolute;
  right: -4px;
  bottom: 38px;
  z-index: 3;
  display: grid;
  min-width: 274px;
  padding: 16px 20px;
  color: var(--brown-deep);
  background: rgba(251, 250, 247, 0.96);
  border-left: 3px solid var(--gold);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.portrait-card strong {
  font-size: 0.98rem;
}

.portrait-card span {
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.portrait-card small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.68rem;
}

.portrait-card small:first-child {
  margin: 0 0 2px;
  color: #8f826e;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.protocol-float-card {
  position: absolute;
  bottom: 270px;
  left: -55px;
  z-index: 4;
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: center;
  gap: 12px;
  width: 255px;
  padding: 9px 13px 9px 9px;
  color: var(--brown-deep);
  background: rgba(251, 250, 247, 0.96);
  border: 1px solid rgba(216, 176, 110, 0.36);
  border-radius: 14px;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.23);
  backdrop-filter: blur(10px);
}

.protocol-float-card img {
  width: 72px;
  height: 70px;
  padding: 5px;
  object-fit: contain;
  background: var(--cream);
  border-radius: 10px;
}

.protocol-float-card span {
  display: grid;
  gap: 3px;
}

.protocol-float-card small {
  color: var(--gold);
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.protocol-float-card strong {
  font-size: 0.67rem;
  line-height: 1.45;
}

.hero-scroll {
  position: absolute;
  bottom: 26px;
  left: 50%;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.hero-scroll span {
  width: 34px;
  height: 1px;
  background: var(--gold);
}

/* Pain */

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

.pain-card {
  position: relative;
  min-height: 280px;
  padding: 35px 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 42px rgba(57, 43, 22, 0.06);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.pain-card:hover {
  border-color: rgba(188, 139, 66, 0.45);
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

.pain-card > svg {
  width: 40px;
  height: 40px;
  margin-bottom: 40px;
  stroke: var(--gold);
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.pain-card .number {
  position: absolute;
  top: 22px;
  right: 24px;
  color: rgba(188, 139, 66, 0.32);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.pain-card h3 {
  margin-bottom: 13px;
}

.pain-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.soft-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-top: 44px;
  padding: 38px 44px;
  background: var(--cream);
  border-radius: var(--radius);
}

.soft-cta > div {
  max-width: 690px;
}

.soft-cta .eyebrow {
  margin-bottom: 12px;
}

.soft-cta h3 {
  margin-bottom: 8px;
  font-size: 1.45rem;
}

.soft-cta p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.soft-cta .button {
  flex-shrink: 0;
}

/* Protocol */

.protocol-section {
  color: rgba(255, 255, 255, 0.75);
  background: var(--ink);
}

.protocol-section::before {
  position: absolute;
  top: -220px;
  left: -160px;
  width: 520px;
  height: 520px;
  content: "";
  background: radial-gradient(circle, rgba(188, 139, 66, 0.18), transparent 66%);
  border-radius: 50%;
}

.protocol-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  align-items: center;
  gap: 90px;
}

.protocol-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.protocol-visual::before {
  position: absolute;
  inset: 8% 5%;
  content: "";
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.protocol-visual > img {
  position: relative;
  z-index: 2;
  width: min(86%, 490px);
  height: auto;
  filter: drop-shadow(0 42px 35px rgba(0, 0, 0, 0.5));
  transform: scale(1.12);
}

.protocol-halo {
  position: absolute;
  width: 330px;
  height: 110px;
  background: rgba(188, 139, 66, 0.4);
  border-radius: 50%;
  filter: blur(70px);
}

.visual-label {
  position: absolute;
  bottom: 55px;
  z-index: 2;
  padding: 9px 14px;
  color: var(--gold-light);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.protocol-copy h2 {
  color: var(--white);
}

.protocol-copy > p:not(.eyebrow, .clinical-note) {
  max-width: 630px;
  margin-bottom: 34px;
  font-size: 0.98rem;
}

.benefit-list {
  padding: 0;
  margin: 0 0 30px;
  list-style: none;
}

.benefit-list li {
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  gap: 14px;
  padding: 15px 0;
  color: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 0.92rem;
  font-weight: 500;
}

.benefit-list li span {
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.clinical-note {
  display: flex;
  gap: 12px;
  padding: 18px 20px;
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  background: rgba(255, 255, 255, 0.04);
  border-left: 2px solid var(--gold);
  font-size: 0.76rem;
  line-height: 1.55;
}

.clinical-note svg {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  stroke: var(--gold);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

/* Results gallery */

.results-section {
  background:
    radial-gradient(circle at 12% 18%, rgba(188, 139, 66, 0.12), transparent 30%),
    var(--paper);
}

.results-heading,
.clinic-heading {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: end;
  gap: 80px;
  margin-bottom: 52px;
}

.results-heading h2,
.clinic-heading h2 {
  max-width: 720px;
  margin-bottom: 0;
}

.results-heading > p,
.clinic-heading > p {
  max-width: 470px;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 0.95rem;
}

.results-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.result-card {
  position: relative;
  min-width: 0;
  aspect-ratio: 4 / 5;
  margin: 0;
  background: var(--ink);
  border: 1px solid rgba(188, 139, 66, 0.22);
  border-radius: var(--radius);
  box-shadow: 0 20px 48px rgba(35, 25, 13, 0.1);
  overflow: hidden;
}

.result-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), filter 0.4s ease;
}

.result-card:hover img {
  filter: brightness(1.04);
  transform: scale(1.025);
}

.result-card::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 29%;
  content: "";
  background: linear-gradient(transparent, rgba(5, 4, 3, 0.56));
  pointer-events: none;
}

.result-card figcaption {
  position: absolute;
  right: 0;
  bottom: 14px;
  left: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  pointer-events: none;
}

.result-card figcaption span {
  justify-self: center;
  padding: 7px 12px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(10, 9, 7, 0.58);
  border: 1px solid rgba(216, 176, 110, 0.36);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.results-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-top: 30px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.results-footer > p {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  max-width: 660px;
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.55;
}

.results-footer > p svg {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  stroke: var(--gold);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.results-footer .button {
  flex: 0 0 auto;
}

/* Process */

.process-section .container {
  position: relative;
}

.process-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.process-line {
  position: absolute;
  top: 225px;
  right: 12%;
  left: 12%;
  height: 1px;
  background: rgba(188, 139, 66, 0.28);
}

.process-card {
  position: relative;
  min-height: 210px;
  padding: 32px 27px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(77, 54, 19, 0.1);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
}

.process-card::before {
  position: absolute;
  top: -5px;
  left: 50%;
  width: 10px;
  height: 10px;
  content: "";
  background: var(--gold);
  border: 3px solid var(--cream);
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--gold);
  transform: translateX(-50%);
}

.process-number {
  display: block;
  margin-bottom: 34px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.process-card h3 {
  margin-bottom: 12px;
}

.process-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

/* Technology */

.technology-section {
  color: rgba(255, 255, 255, 0.7);
  background: linear-gradient(145deg, #100e0a, #080705 65%);
}

.technology-section::before {
  position: absolute;
  top: -260px;
  right: -220px;
  width: 700px;
  height: 700px;
  content: "";
  border: 1px solid rgba(188, 139, 66, 0.09);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(188, 139, 66, 0.03), 0 0 0 150px rgba(188, 139, 66, 0.015);
}

.technology-heading {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: end;
  gap: 90px;
  margin-bottom: 60px;
}

.technology-heading h2 {
  margin-bottom: 0;
  color: var(--white);
}

.technology-heading > p {
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.technology-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.tech-card {
  position: relative;
  min-height: 310px;
  padding: 32px 26px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.tech-card:hover {
  background: rgba(188, 139, 66, 0.08);
  border-color: rgba(188, 139, 66, 0.35);
  transform: translateY(-6px);
}

.tech-card > span {
  position: absolute;
  top: 28px;
  right: 26px;
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.68rem;
  font-weight: 700;
}

.tech-icon {
  display: grid;
  width: 56px;
  height: 56px;
  margin-bottom: 50px;
  background: rgba(188, 139, 66, 0.12);
  border: 1px solid rgba(188, 139, 66, 0.25);
  border-radius: 50%;
  place-items: center;
}

.tech-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--gold-light);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.tech-card h3 {
  margin-bottom: 15px;
  color: var(--white);
}

.tech-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.82rem;
}

.technology-signoff {
  position: relative;
  z-index: 2;
  margin: 42px 0 0;
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: center;
}

/* Clinic gallery */

.clinic-gallery-section {
  background:
    linear-gradient(rgba(244, 239, 231, 0.91), rgba(244, 239, 231, 0.96)),
    radial-gradient(circle at 82% 18%, rgba(188, 139, 66, 0.16), transparent 34%);
}

.clinic-gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 175px;
  gap: 14px;
}

.clinic-photo {
  position: relative;
  grid-column: span 4;
  margin: 0;
  background: var(--ink);
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(42, 29, 12, 0.11);
  overflow: hidden;
}

.clinic-photo-featured {
  grid-column: span 7;
  grid-row: span 2;
}

.clinic-photo:nth-child(2) {
  grid-column: span 5;
}

.clinic-photo:nth-child(3) {
  grid-column: span 5;
}

.clinic-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), filter 0.4s ease;
}

.clinic-photo:hover img {
  filter: brightness(1.04);
  transform: scale(1.035);
}

.clinic-photo::after {
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  content: "";
  background: linear-gradient(transparent, rgba(5, 4, 3, 0.68));
  pointer-events: none;
}

.clinic-photo figcaption {
  position: absolute;
  right: 18px;
  bottom: 15px;
  left: 18px;
  z-index: 2;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.clinic-visit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 26px;
  padding: 22px 25px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(77, 54, 19, 0.11);
  border-radius: 14px;
  font-size: 0.78rem;
  font-weight: 600;
}

/* Team */

.team-section {
  background: var(--paper);
}

.lead-doctor {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  min-height: 520px;
  margin-bottom: 40px;
  background: var(--cream);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.lead-doctor-image {
  position: relative;
  min-height: 520px;
  background: #cbc8c1;
  overflow: hidden;
}

.lead-doctor-image img {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  margin: auto;
}

.doctor-backdrop {
  position: absolute;
  top: 6%;
  left: 50%;
  width: 390px;
  height: 390px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  transform: translateX(-50%);
}

.doctor-backdrop::before {
  position: absolute;
  inset: 36px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}

.lead-doctor-copy {
  align-self: center;
  max-width: 650px;
  padding: 65px 70px;
}

.doctor-label,
.team-card-content > span {
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lead-doctor-copy h3 {
  max-width: 540px;
  margin: 18px 0 8px;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.lead-doctor-copy .cro {
  margin-bottom: 3px;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.lead-doctor-copy .credential {
  margin-bottom: 24px;
  color: var(--brown-deep);
  font-weight: 600;
}

.lead-doctor-copy > p:last-of-type {
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--brown-deep);
  border-bottom: 1px solid var(--gold);
  font-size: 0.82rem;
  font-weight: 700;
  transition: gap 0.25s ease, color 0.25s ease;
}

.text-link:hover {
  gap: 15px;
  color: var(--gold);
}

.team-carousel {
  position: relative;
}

.team-carousel-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.team-carousel-toolbar > p {
  margin: 0;
  color: var(--brown-deep);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.team-carousel-navigation {
  display: flex;
  align-items: center;
  gap: 9px;
}

.team-carousel-status {
  min-width: 56px;
  margin-right: 5px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  text-align: center;
}

.team-carousel-status strong {
  color: var(--gold);
  font-size: 0.92rem;
}

.team-carousel-button {
  display: inline-grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  color: var(--brown-deep);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 50%;
  font: inherit;
  font-size: 1.18rem;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.team-carousel-button:hover,
.team-carousel-button:focus-visible {
  color: var(--white);
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.team-carousel-viewport {
  margin: -6px -2px -18px;
  padding: 6px 2px 18px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
}

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

.team-carousel-viewport:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 5px;
  border-radius: var(--radius-sm);
}

.team-grid {
  display: grid;
  grid-auto-columns: calc((100% - 32px) / 3);
  grid-auto-flow: column;
  gap: 16px;
}

.team-card {
  min-height: 420px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.team-card:hover {
  border-color: rgba(188, 139, 66, 0.5);
  transform: translateY(-4px);
}

.team-card-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  background: #cbc8c1;
  overflow: hidden;
}

.team-card-photo::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 28%;
  content: "";
  background: linear-gradient(to top, rgba(10, 9, 7, 0.18), transparent);
  pointer-events: none;
}

.team-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.45s ease;
}

.team-card:hover .team-card-photo img {
  transform: scale(1.025);
}

.team-card-content {
  padding: 23px 22px 25px;
}

.team-card h3 {
  margin: 12px 0 12px;
  font-size: 0.98rem;
  line-height: 1.35;
}

.team-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
}

/* Transparency */

.transparency-section {
  color: rgba(255, 255, 255, 0.67);
  background: var(--brown-deep);
}

.transparency-section::before {
  position: absolute;
  right: -250px;
  bottom: -300px;
  width: 640px;
  height: 640px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  box-shadow: 0 0 0 90px rgba(255, 255, 255, 0.025), 0 0 0 180px rgba(255, 255, 255, 0.015);
}

.transparency-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 110px;
}

.transparency-copy h2 {
  color: var(--white);
}

.transparency-copy > p:last-child {
  max-width: 520px;
}

.transparency-list > p {
  margin-bottom: 18px;
  color: var(--gold-light);
  font-size: 0.82rem;
  font-weight: 600;
}

.transparency-list ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.transparency-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  padding: 18px 0;
  color: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

.transparency-list li span {
  color: var(--gold-light);
  font-size: 0.68rem;
  font-weight: 700;
}

/* FAQ */

.faq-section {
  background: var(--paper);
}

.faq-grid {
  max-width: 900px;
}

.faq-heading {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.faq-heading .eyebrow {
  justify-content: center;
}

.faq-heading > p:not(.eyebrow) {
  max-width: 680px;
  margin: 0 auto;
  color: var(--muted);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 24px 0;
  color: var(--brown-deep);
  font-size: 0.98rem;
  font-weight: 650;
  list-style: none;
  cursor: pointer;
}

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

.faq-list summary span {
  position: relative;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.faq-list summary span::before,
.faq-list summary span::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 1px;
  content: "";
  background: var(--gold);
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease;
}

.faq-list summary span::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-list details[open] summary span::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-list details[open] summary {
  color: var(--gold);
}

.faq-list details p {
  max-width: 690px;
  padding: 0 48px 26px 0;
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

/* Steps and final CTA */

.steps-section {
  color: rgba(255, 255, 255, 0.7);
  background: var(--ink);
}

.steps-section .section-heading h2 {
  color: var(--white);
}

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

.step-card {
  padding: 34px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
}

.step-card > span {
  display: block;
  margin-bottom: 50px;
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.step-card h3 {
  color: var(--white);
}

.step-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.84rem;
}

.final-cta {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 50px;
  margin-top: 80px;
  padding: 64px 68px;
  background: linear-gradient(125deg, #5a3f18, #3d2d16);
  border: 1px solid rgba(218, 176, 110, 0.28);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.final-cta > div:not(.final-cta-mark) {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.final-cta h2 {
  margin-bottom: 18px;
  color: var(--white);
  font-size: clamp(2rem, 3.5vw, 3.45rem);
}

.final-cta p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
}

.final-cta .button {
  position: relative;
  z-index: 2;
}

.final-cta-mark {
  position: absolute;
  right: 8%;
  bottom: -150px;
  color: rgba(255, 255, 255, 0.045);
  font-family: Georgia, serif;
  font-size: 420px;
  line-height: 1;
  pointer-events: none;
}

/* Location */

.location-section {
  background: var(--brown-deep);
}

.location-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  width: min(calc(100% - 40px), var(--container));
  padding: 72px 0;
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.7);
}

.location-card > img {
  width: 86px;
  height: auto;
  margin-bottom: 30px;
}

.location-card h2 {
  color: var(--white);
  font-size: clamp(2rem, 3vw, 3.15rem);
}

.location-card address {
  margin-bottom: 30px;
  font-style: normal;
}

.location-card address div {
  display: grid;
  gap: 4px;
  margin-bottom: 20px;
}

.location-card address strong {
  color: var(--gold-light);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.location-card address span,
.location-card address a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.86rem;
}

/* Lead qualification modal */

[hidden] {
  display: none !important;
}

body.is-modal-open {
  overflow: hidden;
}

.lead-modal {
  position: fixed;
  inset: 0;
  z-index: 2200;
  display: grid;
  padding: 24px;
  overflow-y: auto;
  opacity: 0;
  place-items: center;
  transition: opacity 0.18s ease;
}

.lead-modal.is-open {
  opacity: 1;
}

.lead-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 9, 7, 0.82);
  backdrop-filter: blur(9px);
}

.lead-modal-card {
  position: relative;
  z-index: 1;
  width: min(100%, 700px);
  padding: 26px;
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0, rgba(188, 139, 66, 0.15), transparent 31%),
    var(--paper);
  border: 1px solid rgba(188, 139, 66, 0.28);
  border-radius: 24px;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.34);
  transform: translateY(12px) scale(0.985);
  transition: transform 0.22s ease;
}

.lead-modal.is-open .lead-modal-card {
  transform: translateY(0) scale(1);
}

.lead-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  width: 40px;
  height: 40px;
  padding: 0;
  color: var(--brown-deep);
  background: rgba(77, 54, 19, 0.07);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.65rem;
  line-height: 1;
  place-items: center;
}

.lead-progress {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 4px 52px 0 0;
  margin-bottom: 30px;
}

.lead-progress-bars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.lead-progress-bars i {
  display: block;
  width: 100%;
  height: 6px;
  overflow: hidden;
  background: rgba(77, 54, 19, 0.1);
  border-radius: 999px;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.lead-progress-bars i.is-active {
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  box-shadow: 0 4px 14px rgba(188, 139, 66, 0.24);
}

.lead-score {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 8px 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(77, 54, 19, 0.14);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap;
}

.lead-score strong {
  color: var(--gold-dark);
  font-size: 0.85rem;
}

.lead-question-stage,
.lead-contact-panel {
  animation: lead-stage-enter 0.25s ease both;
}

@keyframes lead-stage-enter {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.lead-step-label {
  margin: 0 0 10px;
  color: var(--gold-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lead-question-stage h3,
.lead-contact-panel h3,
.lead-redirect-message h3 {
  margin: 0 0 8px;
  color: var(--brown-deep);
  font-size: clamp(1.45rem, 4vw, 2rem);
  line-height: 1.12;
}

.lead-question-copy {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.lead-redirect-message {
  padding: 28px 12px 16px;
  text-align: center;
  animation: lead-stage-enter 0.25s ease both;
}

.lead-redirect-message > span {
  display: grid;
  width: 54px;
  height: 54px;
  margin: 0 auto 16px;
  color: var(--white);
  background: linear-gradient(135deg, #c7964d, #9e6f2e);
  border-radius: 50%;
  font-size: 1.5rem;
  place-items: center;
}

.lead-redirect-message p {
  max-width: 420px;
  margin: 0 auto;
  color: var(--muted);
  line-height: 1.55;
}

.lead-chat-options-fieldset {
  padding: 0;
  margin: 0;
  border: 0;
}

.lead-chat-options {
  display: grid;
  gap: 10px;
}

.lead-chat-option {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: center;
  width: 100%;
  min-height: 56px;
  padding: 13px 16px;
  color: var(--brown-deep);
  text-align: left;
  background: var(--white);
  border: 1px solid rgba(77, 54, 19, 0.16);
  border-radius: 14px;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.35;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.lead-chat-option:hover {
  background: rgba(188, 139, 66, 0.07);
  border-color: var(--gold);
  transform: translateY(-1px);
}

.lead-chat-option:focus-visible {
  outline: 3px solid rgba(188, 139, 66, 0.25);
  outline-offset: 2px;
}

.lead-chat-option:disabled {
  cursor: wait;
  transform: none;
}

.lead-chat-option.is-selected {
  background: rgba(188, 139, 66, 0.09);
  border-color: var(--gold);
  box-shadow: 0 8px 24px rgba(188, 139, 66, 0.1);
}

.lead-chat-option-marker {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(77, 54, 19, 0.3);
  border-radius: 50%;
}

.lead-chat-option.is-selected .lead-chat-option-marker {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: inset 0 0 0 3px var(--paper);
}

.lead-contact-step {
  padding-top: 2px;
}

.lead-contact-panel {
  display: grid;
  gap: 12px;
}

.lead-modal-card .button-large {
  min-height: 50px;
  padding: 12px 22px;
  font-size: 0.9rem;
}

.lead-chat-input-row {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 5px;
  background: var(--white);
  border: 1px solid rgba(77, 54, 19, 0.2);
  border-radius: 13px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lead-chat-input-row:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(188, 139, 66, 0.13);
}

.lead-chat-input-row input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 42px;
  padding: 8px 10px;
  color: var(--text);
  background: transparent;
  border: 0;
  outline: none;
  font-size: 0.9rem;
}

.lead-chat-send {
  display: grid;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  color: var(--white);
  background: linear-gradient(135deg, #c7964d, #9e6f2e);
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
  place-items: center;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.lead-chat-send:hover {
  filter: brightness(1.05);
  transform: translateX(1px);
}

.lead-chat-send:focus-visible {
  outline: 3px solid rgba(188, 139, 66, 0.3);
  outline-offset: 2px;
}

.lead-chat-send:disabled {
  cursor: wait;
  opacity: 0.65;
}

[data-name-error] {
  margin: -2px 0 0;
}

.lead-consent {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  margin: 2px 0 0;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.75rem;
  line-height: 1.5;
}

.lead-consent input {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  accent-color: var(--gold);
}

.lead-form-error {
  padding: 10px 12px;
  margin: 0 0 14px;
  color: #8d2b20;
  background: #fff0ed;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
}

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

/* Thank-you page */

.thank-you-page {
  min-height: 100vh;
  padding: 0;
  background:
    radial-gradient(circle at 12% 15%, rgba(188, 139, 66, 0.22), transparent 28%),
    radial-gradient(circle at 88% 84%, rgba(188, 139, 66, 0.12), transparent 30%),
    var(--ink);
}

.thank-you-shell {
  display: grid;
  min-height: 100vh;
  padding: 22px;
  place-items: center;
}

.thank-you-card {
  width: min(100%, 620px);
  padding: 36px;
  text-align: center;
  background:
    radial-gradient(circle at 100% 0, rgba(188, 139, 66, 0.13), transparent 30%),
    var(--paper);
  border: 1px solid rgba(216, 176, 110, 0.28);
  border-radius: 24px;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.35);
}

.thank-you-check {
  display: grid;
  width: 60px;
  height: 60px;
  margin: 0 auto 18px;
  color: var(--white);
  background: linear-gradient(135deg, #c7964d, #9e6f2e);
  border-radius: 50%;
  box-shadow: 0 14px 35px rgba(157, 114, 50, 0.3);
  place-items: center;
}

.thank-you-check svg {
  width: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
}

.thank-you-card .eyebrow {
  justify-content: center;
  margin-bottom: 10px;
}

.thank-you-card h1 {
  margin-bottom: 12px;
  font-size: clamp(1.85rem, 4vw, 3rem);
  line-height: 1.08;
}

.thank-you-lead {
  max-width: 560px;
  margin: 0 auto 22px;
  color: var(--muted);
}

.redirect-status {
  max-width: 520px;
  padding: 14px;
  margin: 0 auto 17px;
  background: rgba(77, 54, 19, 0.06);
  border: 1px solid rgba(77, 54, 19, 0.1);
  border-radius: 14px;
}

.redirect-status-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 10px;
  color: var(--brown-deep);
  font-size: 0.78rem;
  font-weight: 700;
}

.redirect-status-copy strong {
  color: var(--gold);
}

.redirect-progress {
  height: 8px;
  overflow: hidden;
  background: rgba(77, 54, 19, 0.12);
  border-radius: 999px;
}

.redirect-progress i {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: inherit;
  transition: width 6s linear;
}

.thank-you-whatsapp {
  min-width: min(100%, 330px);
  background: linear-gradient(135deg, #26c66a, #149248);
  box-shadow: 0 12px 30px rgba(20, 146, 72, 0.2);
}

.thank-you-whatsapp:hover {
  background: linear-gradient(135deg, #31d676, #159b4d);
}

.thank-you-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.7rem;
}

/* Floating CTA */

.whatsapp-float {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 900;
  display: grid;
  width: 58px;
  height: 58px;
  color: var(--white);
  background: #1fbd5b;
  border: 3px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
  place-items: center;
  transition: transform 0.25s ease;
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.03);
}

.faq-in-view .whatsapp-float {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.mobile-cta-bar {
  display: none;
}

.faq-in-view .mobile-cta-bar.is-visible {
  opacity: 0;
  visibility: hidden;
  transform: translateY(110%);
  pointer-events: none;
}

/* Reveal motion */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.reveal-delay,
.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::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;
  }
}

/* Responsive */

@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .hero-copy h1 {
    font-size: clamp(2.5rem, 4.2vw, 3.2rem);
  }

  .hero-portrait {
    height: 640px;
  }

  .hero-clinic-frame {
    right: -22px;
    bottom: 142px;
    width: 430px;
    height: 325px;
  }

  .portrait-card {
    right: -15px;
  }

  .protocol-float-card {
    bottom: 265px;
    left: -20px;
    width: 235px;
  }

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

  .team-grid {
    grid-auto-columns: calc((100% - 16px) / 2);
  }

  .process-line {
    display: none;
  }

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

  .process-card::before {
    display: none;
  }

}

@media (max-width: 900px) {
  .section {
    padding: 90px 0;
  }

  .hero,
  .hero-grid {
    min-height: 1140px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    align-items: start;
    padding-top: 64px;
  }

  .hero-copy {
    z-index: 3;
    max-width: 720px;
    padding: 50px 0 500px;
  }

  .hero-copy h1 em {
    display: inline;
  }

  .hero-portrait {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 520px;
  }

  .hero-clinic-frame {
    right: 0;
    bottom: 74px;
    left: auto;
    width: min(78%, 570px);
    height: 350px;
  }

  .portrait-orbit {
    right: -70px;
    bottom: 55px;
    width: 380px;
    height: 380px;
  }

  .portrait-card {
    right: auto;
    bottom: 55px;
    left: 0;
  }

  .protocol-float-card {
    display: none;
  }

  .hero-scroll {
    display: none;
  }

  .protocol-grid,
  .results-heading,
  .technology-heading,
  .clinic-heading,
  .transparency-grid {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .results-heading,
  .clinic-heading {
    gap: 24px;
    margin-bottom: 42px;
  }

  .results-footer {
    align-items: flex-start;
  }

  .clinic-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 190px;
  }

  .clinic-photo-featured {
    grid-column: span 2;
    grid-row: span 2;
  }

  .clinic-photo:nth-child(2),
  .clinic-photo:nth-child(3) {
    grid-column: span 1;
  }

  .clinic-photo:last-child {
    grid-column: span 2;
  }

  .protocol-visual {
    min-height: 380px;
  }

  .technology-heading {
    margin-bottom: 50px;
  }

  .technology-heading > p {
    max-width: 650px;
  }

  .lead-doctor {
    grid-template-columns: 0.8fr 1.2fr;
  }

  .lead-doctor-copy {
    padding: 50px 40px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .step-card {
    min-height: 0;
  }

  .step-card > span {
    margin-bottom: 26px;
  }

  .final-cta {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .final-cta .button {
    justify-self: start;
  }

}

@media (max-width: 640px) {
  .faq-section {
    padding: 64px 0 76px;
  }

  body {
    padding-bottom: 62px;
    font-size: 15px;
  }

  body.is-modal-open,
  body.thank-you-page {
    padding-bottom: 0;
  }

  .lead-modal {
    align-items: end;
    padding: 0;
  }

  .lead-modal-card {
    width: 100%;
    max-height: calc(100dvh - 10px);
    padding: 18px 16px calc(16px + env(safe-area-inset-bottom));
    overflow-y: auto;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 18px 18px 0 0;
  }

  .lead-progress {
    gap: 10px;
    padding-right: 46px;
    margin-bottom: 15px;
  }

  .lead-score {
    gap: 4px;
    padding: 6px 9px;
    font-size: 0.62rem;
  }

  .lead-chat-options {
    gap: 7px;
  }

  .lead-chat-option {
    min-height: 46px;
    padding: 9px 11px;
    font-size: 0.78rem;
  }

  .lead-question-stage h3,
  .lead-contact-panel h3,
  .lead-redirect-message h3 {
    font-size: 1.35rem;
  }

  .lead-question-copy {
    margin-bottom: 15px;
    font-size: 0.82rem;
  }

  .lead-chat-input-row input {
    font-size: 1rem;
  }

  .lead-form-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .lead-form-actions .button {
    width: 100%;
  }

  .thank-you-shell {
    padding: 10px;
  }

  .thank-you-card {
    padding: 26px 18px;
    border-radius: 18px;
  }

  .thank-you-card h1 {
    font-size: 1.85rem;
  }

  .redirect-status-copy {
    align-items: flex-start;
    text-align: left;
  }

  .container {
    width: min(calc(100% - 30px), var(--container));
  }

  .section {
    padding: 74px 0;
  }

  .section-heading {
    margin-bottom: 44px;
    text-align: left;
  }

  .section-heading .eyebrow {
    justify-content: flex-start;
  }

  .section-heading > p:last-child {
    margin: 0;
  }

  .hero,
  .hero-grid {
    min-height: 1220px;
  }

  .hero-background {
    background-position: 62% center;
  }

  .hero-grid {
    padding-top: 34px;
  }

  .hero-copy {
    padding: 34px 0 440px;
  }

  .hero-copy h1 {
    font-size: clamp(2rem, 8vw, 2.4rem);
    line-height: 1.07;
  }

  .hero-lead {
    font-size: 0.98rem;
  }

  .hero-actions {
    align-items: stretch;
    gap: 11px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-secondary-link {
    justify-content: center;
    width: 100%;
    border-bottom: 0;
  }

  .hero-trust {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero-trust li,
  .hero-trust li:first-child {
    padding: 11px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .hero-trust li:last-child {
    border-bottom: 0;
  }

  .hero-reassurance {
    align-items: flex-start;
  }

  .hero-portrait {
    height: 420px;
  }

  .hero-clinic-frame {
    right: -12px;
    bottom: 62px;
    width: calc(100% + 12px);
    height: 300px;
  }

  .portrait-orbit {
    right: -125px;
    bottom: 30px;
    width: 340px;
    height: 340px;
  }

  .portrait-card {
    bottom: 34px;
    min-width: 218px;
    padding: 14px 17px;
  }

  .pain-grid,
  .technology-grid,
  .process-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-auto-columns: 86%;
  }

  .team-carousel-toolbar {
    align-items: flex-end;
  }

  .team-carousel-toolbar > p {
    max-width: 150px;
    line-height: 1.45;
  }

  .team-carousel-status {
    display: none;
  }

  .team-carousel-button {
    width: 42px;
    height: 42px;
  }

  .pain-card,
  .tech-card {
    min-height: 0;
  }

  .pain-card > svg,
  .tech-icon {
    margin-bottom: 30px;
  }

  .soft-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 25px;
  }

  .soft-cta .button {
    width: 100%;
  }

  .protocol-grid {
    gap: 30px;
  }

  .results-heading,
  .clinic-heading {
    margin-bottom: 32px;
  }

  .results-gallery {
    grid-template-columns: 1fr;
  }

  .results-footer {
    flex-direction: column;
    gap: 22px;
  }

  .results-footer .button {
    width: 100%;
  }

  .clinic-gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 235px;
  }

  .clinic-photo,
  .clinic-photo-featured,
  .clinic-photo:nth-child(2),
  .clinic-photo:nth-child(3),
  .clinic-photo:last-child {
    grid-column: span 1;
    grid-row: span 1;
  }

  .clinic-photo-featured {
    min-height: 285px;
  }

  .clinic-visit {
    flex-direction: column;
    align-items: flex-start;
  }

  .protocol-visual {
    min-height: 280px;
  }

  .protocol-visual::before {
    inset: 5%;
  }

  .visual-label {
    bottom: 25px;
  }

  .process-card {
    min-height: 0;
  }

  .technology-heading {
    gap: 20px;
  }

  .technology-grid {
    gap: 12px;
  }

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

  .lead-doctor-image {
    min-height: 410px;
  }

  .lead-doctor-copy {
    padding: 40px 26px 46px;
  }

  .team-card {
    min-height: 0;
  }

  .faq-heading {
    margin-bottom: 35px;
  }

  .faq-list summary {
    font-size: 0.9rem;
  }

  .faq-list details p {
    padding-right: 0;
  }

  .final-cta {
    gap: 30px;
    margin-top: 55px;
    padding: 40px 26px;
  }

  .final-cta .button {
    width: 100%;
  }

  .location-card {
    padding: 52px 0;
  }

  .location-card .button {
    width: 100%;
  }

  .whatsapp-float {
    display: none;
  }

  .mobile-cta-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1100;
    display: block;
    padding: 9px 12px calc(9px + env(safe-area-inset-bottom));
    background: rgba(10, 9, 7, 0.96);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(110%);
    backdrop-filter: blur(14px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
  }

  .mobile-cta-bar.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .mobile-cta-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    color: var(--white);
    background: linear-gradient(135deg, #c7964d, #9e6f2e);
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 700;
  }
}

@media (min-width: 901px) and (max-height: 780px) {
  .hero,
  .hero-grid {
    min-height: 720px;
  }

  .hero-grid {
    padding-top: 48px;
  }

  .hero-copy {
    padding: 20px 0 22px;
  }

  .hero-eyebrow {
    margin-bottom: 12px;
  }

  .hero-copy h1 {
    margin-bottom: 14px;
    font-size: clamp(2.55rem, 3.8vw, 3.2rem);
  }

  .hero-lead {
    margin-bottom: 18px;
    line-height: 1.55;
  }

  .hero-actions {
    margin-bottom: 14px;
  }

  .hero-reassurance {
    padding-block: 10px;
    margin-bottom: 12px;
  }

  .hero-trust li {
    padding-block: 12px;
  }

  .hero-portrait {
    height: 625px;
  }

  .hero-clinic-frame {
    bottom: 132px;
    height: 310px;
  }

  .portrait-orbit {
    bottom: 72px;
    width: 430px;
    height: 430px;
  }

  .protocol-float-card {
    bottom: 225px;
  }

  .portrait-card {
    right: 76px;
    bottom: 22px;
  }

  .hero-scroll {
    display: none;
  }
}
