@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/outfit-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("assets/fonts/sora-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #1a1523;
  --ink-soft: #4a4458;
  --muted: #6f687a;
  --paper: #f7f4ef;
  --paper-2: #efeae2;
  --white: #ffffff;
  --brand: #5a2d82;
  --brand-deep: #3d1b5c;
  --brand-soft: #ede4f5;
  --accent: #c45c26;
  --line: rgba(26, 21, 35, 0.1);
  --shadow: 0 24px 60px rgba(26, 21, 35, 0.12);
  --radius: 18px;
  --header-h: 72px;
  --section-y: clamp(3.5rem, 5.5vw, 4.5rem);
  --font-display: "Sora", "Outfit", system-ui, sans-serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(90, 45, 130, 0.08), transparent 60%),
    radial-gradient(900px 500px at 100% 20%, rgba(196, 92, 38, 0.06), transparent 55%),
    var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
  max-width: 100%;
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

.btn:focus-visible,
.nav-toggle:focus-visible,
.assess-close:focus-visible,
.mobile-sticky-cta:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

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

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

button,
input,
select {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--brand);
  color: white;
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
  max-width: 100%;
}

@media (max-width: 480px) {
  .container {
    width: min(1120px, calc(100% - 1.5rem));
  }

  .why-content {
    width: min(40rem, calc(100% - 1.5rem));
    margin-inline: max(0.75rem, calc((100% - 1120px) / 2)) auto;
  }
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
}

.eyebrow.light {
  color: #e8d7f7;
}

.section-intro {
  max-width: 42rem;
  margin-bottom: 2.25rem;
}

.section-intro.center {
  margin-inline: auto;
  text-align: center;
  text-wrap: balance;
}

.section-intro.center .section-lead {
  margin-inline: auto;
  max-width: 38rem;
}

.section-intro h2,
.doctor-intro h2,
.why-content h2,
.final-cta h2,
.assess-dialog h2,
.concern-close h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.85rem, 3.4vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.85rem;
}

.section-divider {
  display: flex;
  justify-content: center;
  padding: 0.25rem 0;
}

.section-divider span {
  display: block;
  width: min(12rem, 40vw);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(90, 45, 130, 0.35) 20%,
    rgba(196, 92, 38, 0.4) 50%,
    rgba(90, 45, 130, 0.35) 80%,
    transparent
  );
}

.section-lead {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.section-lead + .section-lead {
  margin-top: 0.75rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  padding: 0.85rem 1.35rem;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  text-align: center;
  text-wrap: balance;
  max-width: 100%;
  min-width: 0;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-sm {
  padding: 0.65rem 1.05rem;
  font-size: 0.88rem;
}

.btn-lg {
  padding: 1rem 1.55rem;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
  color: var(--white);
  box-shadow: 0 10px 28px rgba(90, 45, 130, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 14px 34px rgba(90, 45, 130, 0.36);
}

/* High-contrast CTA for dark media / purple scrims */
.btn-on-dark,
.why-content .btn-primary {
  background: var(--white);
  color: var(--brand);
  border-color: var(--white);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.btn-on-dark:hover,
.why-content .btn-primary:hover {
  background: var(--brand-soft);
  color: var(--brand-deep);
  border-color: var(--brand-soft);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.34);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(247, 244, 239, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(247, 244, 239, 0.92);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(26, 21, 35, 0.06);
}

.header-inner {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.brand picture {
  display: contents;
}

.brand img {
  width: 108px;
  height: auto;
}

.nav-desktop {
  display: none;
  gap: 1.1rem;
  margin-left: auto;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.nav-desktop a:hover {
  color: var(--brand);
}

.header-actions {
  display: none;
  gap: 0.6rem;
  margin-left: auto;
}

.nav-toggle {
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  display: grid;
  place-content: center;
  gap: 6px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.nav-mobile {
  display: grid;
  gap: 0.35rem;
  padding: 0.5rem 1rem 1.25rem;
  border-top: 1px solid var(--line);
  background: rgba(247, 244, 239, 0.98);
}

.nav-mobile[hidden] {
  display: none !important;
}

.nav-mobile a,
.nav-mobile .btn {
  padding: 0.75rem 0.5rem;
  font-weight: 500;
}

.nav-mobile .btn {
  margin-top: 0.5rem;
  padding: 0.85rem 1.35rem;
}

@media (min-width: 980px) {
  .nav-desktop,
  .header-actions {
    display: flex;
  }

  .nav-toggle,
  .nav-mobile {
    display: none !important;
  }

  .header-actions {
    margin-left: 0;
  }
}

/* Hero – split composition */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: stretch;
  overflow: hidden;
  isolation: isolate;
  color: var(--ink);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-bg picture,
.hero-bg img {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-bg img {
  object-fit: cover;
  object-position: center center;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      105deg,
      rgba(247, 244, 239, 0.92) 0%,
      rgba(247, 244, 239, 0.82) 28%,
      rgba(237, 228, 245, 0.55) 48%,
      rgba(61, 27, 92, 0.28) 72%,
      rgba(61, 27, 92, 0.18) 100%
    ),
    linear-gradient(
      180deg,
      rgba(26, 21, 35, 0.12) 0%,
      transparent 42%,
      rgba(26, 21, 35, 0.22) 100%
    );
}

@media (max-width: 899px) {
  .hero-bg img {
    object-position: center 42%;
  }

  .hero-bg::after {
    background:
      linear-gradient(
        180deg,
        rgba(247, 244, 239, 0.88) 0%,
        rgba(247, 244, 239, 0.78) 38%,
        rgba(237, 228, 245, 0.55) 62%,
        rgba(61, 27, 92, 0.32) 100%
      ),
      linear-gradient(
        90deg,
        rgba(247, 244, 239, 0.55) 0%,
        transparent 55%
      );
  }
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.5rem;
  align-items: center;
  padding: clamp(2rem, 5.5vh, 3.75rem) 0;
  width: min(1120px, calc(100% - 2rem));
}

.brand-mark {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 7vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--brand-deep);
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.95rem, 4.8vw, 3.15rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.hero-h1-emphasis {
  display: inline;
  font-weight: 700;
  color: var(--brand);
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: clamp(1.85rem, 8vw, 2.15rem);
  }
}

.hero-lead {
  margin: 0 0 1.1rem;
  font-size: clamp(0.98rem, 1.4vw, 1.1rem);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 34rem;
}

.hero-proof {
  margin: 0 0 1.35rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.45rem;
  font-size: 0.9rem;
  font-weight: 550;
  color: var(--ink-soft);
}

.hero-proof [aria-hidden="true"] {
  opacity: 0.5;
}

.hero-cta {
  display: grid;
  gap: 0.55rem;
  justify-items: start;
}

.hero-cta-primary {
  letter-spacing: 0.02em;
}

.hero-visual {
  justify-self: center;
  width: min(520px, 92vw);
  display: grid;
  align-content: center;
}

.hero-award {
  margin: 0;
}

.hero-award picture {
  display: contents;
}

.hero-award img {
  width: 100%;
  height: auto;
  aspect-ratio: 1040 / 688;
  object-fit: cover;
  object-position: center 35%;
  border-radius: 22px;
  background: var(--brand-soft);
  box-shadow: 0 28px 60px rgba(61, 27, 92, 0.2);
}

@media (min-width: 900px) {
  .hero-layout {
    grid-template-columns: 1fr 1.05fr;
    gap: 2.75rem;
    padding-block: clamp(2rem, 6vh, 4rem);
  }

  .hero-visual {
    width: 100%;
    max-width: 560px;
    justify-self: end;
  }
}

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

.js .hero .reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: heroReveal 0.75s var(--ease) forwards;
}

.js .hero .reveal.delay-1 { animation-delay: 0.1s; }
.js .hero .reveal.delay-2 { animation-delay: 0.18s; }
.js .hero .reveal.delay-3 { animation-delay: 0.26s; }
.js .hero .reveal.delay-4 { animation-delay: 0.34s; }

#doctor,
#approach,
#concerns,
#team,
#why,
#stories,
#centers,
#book {
  scroll-margin-top: calc(var(--header-h) + 0.75rem);
}

/* Doctor */
.doctor {
  padding: var(--section-y) 0;
}

.doctor-layout {
  display: grid;
  gap: 1.75rem;
  align-items: start;
  max-width: 42rem;
  margin-inline: auto;
}

/* Mobile flow: titles → photo → stats/CTA (DOM order) */
.doctor-content {
  display: grid;
  gap: 1.35rem;
  text-align: left;
  min-width: 0;
}

.doctor-intro {
  text-align: left;
}

.doctor-intro h2 {
  margin-bottom: 0.65rem;
}

.doctor-visual {
  border-radius: 28px;
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow);
  width: min(100%, 22rem);
  margin: 0.35rem auto 0.5rem;
  justify-self: center;
}

.doctor-visual picture {
  display: contents;
}

.doctor-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 533 / 800;
  object-fit: contain;
  object-position: center;
  display: block;
}

.role {
  margin: 0 0 0.35rem;
  color: var(--brand);
  font-weight: 600;
}

.specialty {
  margin: 0;
  color: var(--ink-soft);
  font-weight: 500;
}

.doctor-copy {
  display: grid;
  justify-items: start;
  text-align: left;
  gap: 0;
}

.doctor-copy .cred-list {
  max-width: none;
  width: 100%;
}

.doctor-copy .award-highlight {
  width: 100%;
  max-width: none;
}

.doctor-copy .btn {
  justify-self: start;
}

.cred-list {
  --cred-num-col: 8.75rem;
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: grid;
  gap: 0;
  width: 100%;
  max-width: none;
}

.cred-list li {
  display: grid;
  grid-template-columns: var(--cred-num-col) minmax(0, 1fr);
  column-gap: 1.15rem;
  align-items: start;
  min-width: 0;
  padding: 1.15rem 0;
  border-bottom: 1px solid rgba(90, 45, 130, 0.16);
}

.cred-list li:first-child {
  padding-top: 0.15rem;
}

.cred-list li:last-child {
  border-bottom: none;
  padding-bottom: 0.25rem;
}

.cred-num {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(1.02rem, 2.6vw, 1.22rem);
  color: #5a2d81;
  line-height: 1.2;
  letter-spacing: -0.02em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  padding-top: 0.12em;
}

.cred-label {
  color: var(--ink);
  font-size: clamp(0.94rem, 2.4vw, 1.04rem);
  font-weight: 500;
  line-height: 1.5;
  min-width: 0;
}

@media (max-width: 480px) {
  .cred-list {
    --cred-num-col: 1fr;
  }

  .cred-list li {
    grid-template-columns: 1fr;
    row-gap: 0.35rem;
    column-gap: 0;
    padding: 1.05rem 0;
  }

  .cred-num {
    font-size: clamp(0.98rem, 4.2vw, 1.12rem);
  }

  .cred-label {
    font-size: 0.94rem;
    line-height: 1.45;
  }
}

.award-highlight {
  display: grid;
  gap: 0.3rem;
  margin: 0 0 1.75rem;
  padding: 0.85rem 0.95rem;
  border-radius: 12px;
  border: 1px solid rgba(90, 45, 130, 0.08);
  background: rgba(90, 45, 130, 0.03);
  box-shadow: none;
}

.award-label {
  margin: 0;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(90, 45, 130, 0.72);
}

.award-highlight p {
  margin: 0;
  color: rgba(48, 40, 56, 0.62);
  font-size: 0.84rem;
  line-height: 1.45;
}

@media (min-width: 860px) {
  .doctor-layout {
    max-width: 68rem;
    gap: 2.5rem;
  }

  /* Desktop: photo left, intro + stats/CTA stacked right */
  .doctor-content {
    grid-template-columns: minmax(16rem, 0.9fr) minmax(0, 1.15fr);
    grid-template-areas:
      "visual intro"
      "visual copy";
    column-gap: 2.75rem;
    row-gap: 1.15rem;
    align-items: start;
  }

  .doctor-visual {
    grid-area: visual;
    width: 100%;
    max-width: 26rem;
    margin: 0;
    justify-self: stretch;
    align-self: start;
  }

  .doctor-intro {
    grid-area: intro;
    align-self: end;
  }

  .doctor-copy {
    grid-area: copy;
  }
}

/* Approach */
.approach {
  padding: var(--section-y) 0;
  background: var(--brand-soft);
}

.approach-lead-2 {
  margin-top: 0.85rem;
}

.approach-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  position: relative;
}

.approach-timeline li {
  display: grid;
  grid-template-columns: auto 1.25rem 1fr;
  column-gap: 0.85rem;
  align-items: start;
  position: relative;
  overflow: hidden;
  padding-bottom: 1.75rem;
}

.approach-timeline li:last-child {
  padding-bottom: 0;
}

.approach-timeline .step-num {
  display: block;
  font-family: var(--font-display);
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  padding-top: 0.15rem;
  min-width: 1.75rem;
}

.timeline-marker {
  position: relative;
  width: 0.85rem;
  height: 0.85rem;
  margin-top: 0.35rem;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(90, 45, 130, 0.12);
  z-index: 1;
}

.approach-timeline li:not(:last-child) .timeline-marker::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  width: 2px;
  height: 100vh;
  background: linear-gradient(180deg, rgba(90, 45, 130, 0.45), rgba(90, 45, 130, 0.15));
}

.timeline-body h3 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
}

.timeline-body p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

@media (min-width: 900px) {
  .approach-timeline {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    align-items: start;
  }

  .approach-timeline::before {
    content: "";
    position: absolute;
    top: 2.35rem;
    left: 6%;
    right: 6%;
    height: 2px;
    background: linear-gradient(
      90deg,
      rgba(90, 45, 130, 0.15),
      rgba(90, 45, 130, 0.45) 20%,
      rgba(90, 45, 130, 0.45) 80%,
      rgba(90, 45, 130, 0.15)
    );
    z-index: 0;
  }

  .approach-timeline li {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding-bottom: 0;
    gap: 0.65rem;
    overflow: visible;
  }

  .approach-timeline .step-num {
    order: 0;
    padding-top: 0;
  }

  .timeline-marker {
    margin-top: 0;
    order: 1;
  }

  .approach-timeline li:not(:last-child) .timeline-marker::after {
    display: none;
  }

  .timeline-body {
    order: 2;
  }

  .timeline-body h3 {
    font-size: 1.1rem;
  }
}

/* Concerns */
.concerns {
  padding: var(--section-y) 0;
}

.concern-grid {
  display: grid;
  gap: 1rem;
}

.concern-card {
  padding: 1.15rem 1.1rem 1.25rem;
  border-top: 2px solid var(--brand);
  background: transparent;
}

.concern-icon {
  display: block;
  width: 60px;
  height: 60px;
  margin: 0 0 0.75rem;
  object-fit: contain;
  background: transparent;
  opacity: 1;
}

.concern-card h3 {
  margin: 0 0 0.45rem;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--brand-deep);
}

.concern-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.concern-close {
  margin-top: 2.25rem;
  text-align: center;
  max-width: 40rem;
  margin-inline: auto;
}

.concern-close h3 {
  font-size: clamp(1.45rem, 2.8vw, 2rem);
}

.concern-close p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

@media (min-width: 700px) {
  .concern-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem 1.75rem;
  }
}

@media (min-width: 1000px) {
  .concern-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Team / services */
.team {
  padding: var(--section-y) 0;
  background:
    radial-gradient(920px 420px at 8% 0%, rgba(90, 45, 130, 0.08), transparent 58%),
    radial-gradient(760px 380px at 100% 100%, rgba(196, 92, 38, 0.05), transparent 52%),
    linear-gradient(165deg, #f3efe9 0%, var(--brand-soft) 48%, #f2ebe6 100%);
}

.team-grid {
  display: grid;
  gap: 1.25rem;
}

.team-item {
  display: grid;
  align-content: start;
  min-width: 0;
}

.team-item picture {
  display: contents;
}

.team-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 0.85rem;
}
.team-item img[src*="service-01-pain-management"] {
  object-position: center 40%;
}
.team-item img[src*="service-02-orthopedic"] {
  object-position: 50% 40%;
}
.team-item img[src*="service-03-physiotherapy"] {
  object-position: 55% 45%;
}
.team-item img[src*="service-04-neurological"] {
  object-position: center 30%;
}
.team-item img[src*="service-05-functional"] {
  object-position: 60% center;
}
.team-item img[src*="service-06-integrated"] {
  object-position: center 45%;
}


.service-label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.3rem;
  min-width: 0;
}

.service-num {
  display: block;
  font-family: var(--font-display);
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 650;
  letter-spacing: 0.04em;
}


.team-item h3,
.team-item p {
  margin: 0;
}

.team-item h3 {
  font-size: 1.15rem;
}

.team-item p {
  padding-top: 0.4rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

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

@media (min-width: 1000px) {
  .team-grid-6 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Why */
.why {
  position: relative;
  min-height: 520px;
  display: grid;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}

.why-media {
  position: absolute;
  inset: 0;
}

.why-media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.why-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
}

.why-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(26, 21, 35, 0.82) 0%, rgba(61, 27, 92, 0.78) 100%),
    linear-gradient(90deg, rgba(26, 21, 35, 0.92) 0%, rgba(61, 27, 92, 0.78) 48%, rgba(61, 27, 92, 0.35) 100%);
}

@media (min-width: 760px) {
  .why-scrim {
    background: linear-gradient(90deg, rgba(26, 21, 35, 0.92) 0%, rgba(61, 27, 92, 0.78) 48%, rgba(61, 27, 92, 0.35) 100%);
  }
}

.why-content {
  position: relative;
  z-index: 1;
  padding: var(--section-y) 0;
  max-width: 40rem;
  width: min(40rem, calc(100% - 2rem));
  margin-inline: max(1rem, calc((100% - 1120px) / 2)) auto;
  text-align: left;
  justify-self: start;
}

.why-content h2.why-headline {
  font-size: clamp(1.7rem, 3.1vw, 2.55rem);
  max-width: 100%;
}

/* Desktop: Because Every Person's Health Journey / Is Different.
   Mobile:  Because Every Person's / Health Journey Is Different. */
.why-br-sm {
  display: none;
}

.why-br-lg {
  display: inline;
}

@media (max-width: 640px) {
  .why-br-sm {
    display: inline;
  }

  .why-br-lg {
    display: none;
  }

  .why-content h2.why-headline {
    font-size: clamp(1.55rem, 5.6vw, 1.85rem);
  }
}

.usp-list {
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.9rem;
}

.usp-list li {
  position: relative;
  padding-left: 1.35rem;
  color: rgba(255, 255, 255, 0.88);
}

.usp-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
}

.usp-list strong {
  display: block;
  color: var(--white);
  margin-bottom: 0.15rem;
  font-weight: 650;
}

/* Stories */
.stories {
  padding: var(--section-y) 0;
}

.story-grid {
  display: grid;
  gap: 1rem;
}

.story {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0.85rem 0.85rem 1.2rem;
  border-radius: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(26, 21, 35, 0.04);
  min-width: 0;
}

.story-photo {
  margin: 0 0 0.95rem;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
  background: var(--brand-soft);
}

.story-photo picture {
  display: contents;
}

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

.story:nth-child(1) .story-photo img { object-position: center 55%; }
.story:nth-child(2) .story-photo img { object-position: center 22%; }
.story:nth-child(3) .story-photo img { object-position: center 35%; }

.story-stars {
  margin: 0 0 0.55rem !important;
  font-family: var(--font-body) !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em;
  line-height: 1 !important;
  color: var(--accent);
}

.story > p:not(.story-stars) {
  margin: 0 0 1.15rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.45;
  font-weight: 500;
  overflow-wrap: break-word;
  flex: 1;
}

.story footer {
  display: grid;
  gap: 0.15rem;
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding-top: 0.85rem;
}

.story strong {
  font-size: 0.95rem;
  color: var(--ink);
}

.story footer span {
  color: var(--ink-soft);
  font-size: 0.88rem;
}

@media (min-width: 800px) {
  .story-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Centers */
.centers {
  padding: var(--section-y) 0;
  background: linear-gradient(180deg, transparent, rgba(90, 45, 130, 0.04), transparent);
}

.centers .section-intro {
  margin-bottom: 2rem;
}

.centers-locations-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: 56rem;
  margin: 0 auto;
}

.center-card {
  margin: 0;
  padding: 1.6rem 1.75rem 1.7rem;
  text-align: left;
  border-radius: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 14px 36px rgba(26, 21, 35, 0.06);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.center-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 44px rgba(26, 21, 35, 0.09);
}

.center-card-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}

.center-pin {
  flex-shrink: 0;
  color: var(--brand);
  opacity: 0.85;
}

.center-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--brand-deep);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.center-address {
  margin: 0;
  padding-left: calc(20px + 0.65rem);
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.65;
  max-width: 36rem;
}

.center-address-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.center-address-link:hover,
.center-address-link:focus-visible {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.center-directions {
  display: inline-block;
  margin: 0.65rem 0 0;
  padding-left: calc(20px + 0.65rem);
  color: var(--brand);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: color 0.2s var(--ease), opacity 0.2s var(--ease);
}

.center-directions:hover,
.center-directions:focus-visible {
  color: var(--brand-deep);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.center-map {
  margin-top: 1.1rem;
  width: 100%;
  max-width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--brand-soft);
}

.center-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (min-width: 720px) {
  .centers-locations-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .center-card {
    padding: 1.85rem 1.9rem 1.95rem;
  }

  .center-map {
    height: 230px;
  }
}

@media (max-width: 480px) {
  .center-map {
    height: 180px;
  }
}

/* Final CTA */
.final-cta {
  padding: var(--section-y) 0 calc(var(--section-y) + 0.5rem);
}

.final-cta-inner {
  text-align: center;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(90, 45, 130, 0.1), transparent 55%),
    var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.final-cta-inner p {
  margin: 0 auto 0.55rem;
  max-width: 34rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.final-cta-inner .btn {
  margin-top: 1.15rem;
  letter-spacing: 0.02em;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  padding: var(--section-y) 0 2rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-logo {
  width: 120px;
  height: auto;
  margin-bottom: 0.85rem;
  filter: brightness(0) invert(1);
}

.footer-tagline {
  margin-bottom: 0.35rem !important;
}

.footer-tagline strong {
  color: var(--white);
  font-size: 1.05rem;
}

.footer-motto {
  font-family: var(--font-display);
  font-style: italic;
  color: rgba(255, 255, 255, 0.9) !important;
}

.site-footer h4 {
  margin: 0 0 0.7rem;
  color: var(--white);
  font-size: 0.95rem;
}

.site-footer p {
  margin: 0 0 0.45rem;
  font-size: 0.92rem;
}

.site-footer a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
}

.footer-legal {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  margin: 0;
}

@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

/* Assessment modal */
.assess-modal[hidden] {
  display: none;
}

.assess-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding:
    max(0.55rem, env(safe-area-inset-top, 0px))
    max(0.55rem, env(safe-area-inset-right, 0px))
    max(0.55rem, env(safe-area-inset-bottom, 0px))
    max(0.55rem, env(safe-area-inset-left, 0px));
}

.assess-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 21, 35, 0.55);
  backdrop-filter: blur(4px);
}

.assess-dialog {
  position: relative;
  width: min(640px, 100%);
  max-height: min(94svh, 880px);
  overflow: auto;
  background: var(--paper);
  border-radius: 28px;
  padding: 1.75rem 1.45rem 1.55rem;
  box-shadow: var(--shadow);
  animation: modalIn 0.4s var(--ease);
}

/* Intro (Screen 1): taller, more present card without shrinking later steps */
.assess-dialog:has(.assess-intro-step.is-active) {
  display: flex;
  flex-direction: column;
  min-height: min(78svh, 720px);
  width: min(680px, 100%);
  padding: 1.85rem 1.55rem 1.7rem;
}

.assess-dialog:has(.assess-intro-step.is-active) #assess-form {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.assess-dialog:has(.assess-intro-step.is-active) .assess-actions {
  margin-top: auto;
  padding-top: 1.5rem;
}

.assess-close {
  position: absolute;
  top: 0.45rem;
  right: 0.45rem;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: var(--muted);
  display: grid;
  place-items: center;
  z-index: 2;
}

.assess-close:hover {
  color: var(--ink);
  background: rgba(26, 21, 35, 0.06);
}

.assess-progress {
  height: 4px;
  border-radius: 999px;
  background: rgba(90, 45, 130, 0.12);
  overflow: hidden;
  margin: 0.25rem 2.5rem 0.85rem 0;
}

.assess-progress-bar {
  height: 100%;
  width: 20%;
  background: linear-gradient(90deg, var(--brand), var(--brand-deep));
  border-radius: inherit;
  transition: width 0.3s var(--ease);
}

.assess-step-label {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
}

.assess-intro-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.25rem 0 0.85rem;
  text-align: center;
}

.assess-intro-step h2,
.assess-dialog #assess-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 7.2vw, 2.85rem);
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0.45rem 0 0.95rem;
  padding: 0 0.15rem;
  color: var(--ink);
  text-wrap: balance;
}

.assess-intro {
  margin: 0 auto;
  max-width: 32ch;
  color: var(--ink-soft);
  font-size: clamp(0.95rem, 2.8vw, 1.05rem);
  line-height: 1.5;
}

.assess-step {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.assess-step[hidden] {
  display: none !important;
}

.assess-step legend,
.location-fieldset legend {
  padding: 0;
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}

.assess-hint {
  margin: -0.35rem 0 0.75rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.assess-options {
  display: grid;
  gap: 0.55rem;
}

.assess-options-compact {
  grid-template-columns: 1fr 1fr;
}

.assess-options-compact .assess-option-span {
  grid-column: 1 / -1;
}

.assess-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.assess-card {
  position: relative;
  cursor: pointer;
  margin: 0;
}

.assess-card input {
  position: absolute;
  opacity: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}

.assess-card-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 108px;
  padding: 0.95rem 0.65rem;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  text-align: center;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease), color 0.2s var(--ease);
}

.assess-card:hover .assess-card-inner {
  border-color: rgba(90, 45, 130, 0.4);
}

.assess-card:has(input:checked) .assess-card-inner,
.assess-card:has(input:focus-visible) .assess-card-inner {
  border-color: var(--brand);
  background: var(--brand-soft);
  box-shadow: 0 0 0 1px rgba(90, 45, 130, 0.18);
}

.assess-card:has(input:focus-visible) .assess-card-inner {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.assess-card-wide {
  grid-column: 1 / -1;
}

.assess-card-wide .assess-card-inner {
  flex-direction: row;
  justify-content: flex-start;
  min-height: 72px;
  padding: 0.85rem 1rem;
  gap: 0.85rem;
  text-align: left;
}

.assess-card-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
  flex: 0 0 auto;
  pointer-events: none;
}

.assess-card-label {
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
}

.assess-card-sub {
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--muted);
}

.assess-consult-label {
  margin: 1rem 0 0.55rem;
  font-size: 0.88rem;
  font-weight: 550;
  color: var(--ink-soft);
}

.assess-consult-grid .assess-card-inner {
  min-height: 88px;
  gap: 0.25rem;
}

.assess-other-field {
  margin-top: 0.75rem;
}

.assess-other-field[hidden] {
  display: none !important;
}

.assess-other-field label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 550;
  color: var(--ink-soft);
}

.assess-other-field input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.9rem 0.95rem;
  min-height: 48px;
  background: var(--white);
  color: var(--ink);
}

.assess-other-field input:focus {
  outline: 2px solid rgba(90, 45, 130, 0.35);
  border-color: var(--brand);
}

.assess-option {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.assess-option:hover {
  border-color: rgba(90, 45, 130, 0.35);
}

.assess-option:has(input:checked) {
  border-color: var(--brand);
  background: var(--brand-soft);
  box-shadow: 0 0 0 1px rgba(90, 45, 130, 0.2);
}

.assess-option input {
  margin-top: 0.15rem;
  accent-color: var(--brand);
  flex: 0 0 auto;
}

.assess-option span {
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink);
}

.assess-option-icon {
  align-items: center;
}

.assess-option-svg,
.assess-option-icon-img {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  object-fit: contain;
  margin-top: 0;
}

.assess-option-svg {
  color: var(--brand);
}

.assess-option-icon input {
  margin-top: 0;
}

.assess-actions .btn-primary.is-intro-cta {
  width: 100%;
  margin-left: 0;
  min-height: 52px;
  font-size: 1.02rem;
}

.assess-fields {
  display: grid;
  gap: 0.85rem;
}

.assess-fields > label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 550;
  color: var(--ink-soft);
}

.assess-fields input[type="text"],
.assess-fields input[type="tel"],
.assess-fields input[type="email"] {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.95rem;
  min-height: 48px;
  background: var(--white);
  color: var(--ink);
}

.assess-fields input:focus {
  outline: 2px solid rgba(90, 45, 130, 0.35);
  border-color: var(--brand);
}

.location-fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

.location-fieldset legend {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 550;
  margin-bottom: 0.55rem;
}

.assess-note {
  margin-top: 0.85rem;
  text-align: left;
}

.assess-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.assess-actions .btn-primary:not(.btn-block) {
  margin-left: auto;
}

.assess-actions .btn-block {
  width: 100%;
}

.assess-actions [hidden] {
  display: none !important;
}

.form-note {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Floating WhatsApp */
.whatsapp-float {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right, 0px));
  bottom: calc(1.15rem + env(safe-area-inset-bottom, 0px));
  z-index: 95;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 28px rgba(18, 140, 70, 0.35);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.whatsapp-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(18, 140, 70, 0.42);
}

.whatsapp-float:focus-visible {
  outline: 3px solid #128c7e;
  outline-offset: 3px;
}

@media (max-width: 979px) {
  body.has-sticky-pad .whatsapp-float {
    bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
  }
}

/* Mobile sticky CTA */
.mobile-sticky-cta {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: var(--white);
  font-weight: 650;
  box-shadow: 0 12px 30px rgba(90, 45, 130, 0.35);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.mobile-sticky-cta.is-ready:not(.is-hidden) {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.mobile-sticky-cta.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}

@media (min-width: 980px) {
  .mobile-sticky-cta {
    display: none;
  }
}

@media (max-width: 979px) {
  body.has-sticky-pad {
    padding-bottom: calc(5.75rem + env(safe-area-inset-bottom, 0px));
  }

  body.has-sticky-pad .hero-layout {
    padding-bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
  }

  body.has-sticky-pad .stories,
  body.has-sticky-pad .doctor,
  body.has-sticky-pad .approach,
  body.has-sticky-pad .team,
  body.has-sticky-pad .concerns,
  body.has-sticky-pad .why,
  body.has-sticky-pad .centers {
    scroll-margin-bottom: 5.5rem;
  }

  .mobile-sticky-cta {
    left: 0.85rem;
    right: 0.85rem;
    bottom: calc(0.85rem + env(safe-area-inset-bottom, 0px));
  }

  .hero-cta .btn {
    width: 100%;
  }

  .assess-options-compact {
    grid-template-columns: 1fr;
  }
}

/* Thank-you page */
.thank-you {
  min-height: calc(100svh - var(--header-h));
  display: grid;
  align-items: center;
  padding: 3rem 0 5rem;
}

.thank-you-card {
  width: min(640px, calc(100% - 1.5rem));
  margin: 0 auto;
  padding: 2rem 1.35rem 2.15rem;
  border-radius: 24px;
  background:
    linear-gradient(160deg, rgba(90, 45, 130, 0.08), transparent 45%),
    var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  text-align: center;
}

.js .thank-you-card.is-animating {
  opacity: 0;
  transform: translateY(18px) scale(0.96);
}

.js .thank-you-card.is-animating.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

.thank-you-success {
  position: relative;
  width: 88px;
  height: 88px;
  margin: 0 auto 1.1rem;
  display: grid;
  place-items: center;
}

.thank-you-pulse {
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: rgba(90, 45, 130, 0.16);
  transform: scale(0.7);
  opacity: 0;
}

.js .thank-you-card.is-visible .thank-you-pulse {
  animation: thankYouPulse 1.1s var(--ease) 0.25s both;
}

.thank-you-check {
  position: relative;
  z-index: 1;
}

.thank-you-check-ring {
  stroke: var(--brand);
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-dasharray: 176;
  stroke-dashoffset: 176;
}

.thank-you-check-mark {
  stroke: var(--brand-deep);
  stroke-width: 3.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
}

.js .thank-you-card.is-visible .thank-you-check-ring {
  animation: thankYouDraw 0.7s var(--ease) 0.15s forwards;
}

.js .thank-you-card.is-visible .thank-you-check-mark {
  animation: thankYouDraw 0.45s var(--ease) 0.55s forwards;
}

.thank-you-card .brand-mark {
  font-size: clamp(1.85rem, 7vw, 2.6rem);
  color: var(--brand-deep);
}

.thank-you-card h1 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 5.5vw, 2.2rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0.35rem 0 0.85rem;
}

.thank-you-card > p {
  margin: 0 auto 1.25rem;
  max-width: 34rem;
  color: var(--ink-soft);
}

.thank-you-back {
  margin-top: 0.35rem !important;
}

.thank-you-back a {
  color: var(--brand);
  font-weight: 600;
}

@keyframes thankYouDraw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes thankYouPulse {
  0% {
    opacity: 0;
    transform: scale(0.7);
  }
  40% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
    transform: scale(1.35);
  }
}

@media (min-width: 560px) {
  .thank-you-card {
    padding: 2.5rem 2.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .js .thank-you-card.is-animating,
  .js .thank-you-card.is-animating.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .js .thank-you-card.is-visible .thank-you-pulse,
  .js .thank-you-card.is-visible .thank-you-check-ring,
  .js .thank-you-card.is-visible .thank-you-check-mark {
    animation: none;
  }

  .thank-you-check-ring,
  .thank-you-check-mark {
    stroke-dashoffset: 0;
  }
}

/* Reveal motion */
.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.18s; }
.delay-3 { transition-delay: 0.26s; }
.delay-4 { transition-delay: 0.34s; }

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

  .js .reveal,
  .js .hero .reveal,
  .assess-dialog,
  .btn,
  .mobile-sticky-cta,
  .whatsapp-float {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (max-width: 899px) and (max-height: 760px) {
  .hero h1 {
    font-size: clamp(1.75rem, 5.8vw, 2.35rem);
  }

  .hero-visual {
    width: min(420px, 88vw);
  }
}
