.ortho-page {
  --ortho-panel: #f3f7ff;
  --ortho-line: #dce7f5;
  --ortho-muted: #414752;
  gap: clamp(20px, 3vw, 32px);
}

.ortho-page :is(.ortho-hero, .ortho-section) {
  min-width: 0;
}

.ortho-page .ortho-hero {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 48px);
  padding: clamp(24px, 4vw, 48px);
}

.ortho-hero-lead {
  max-width: 47ch;
  margin: 18px 0 20px;
  color: var(--ortho-muted);
  font-size: clamp(16px, 1.6vw, 18px);
}

.ortho-hero-prices {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 0;
  color: var(--ortho-muted);
  font-size: 14px;
}

.ortho-hero-prices dd {
  margin: 0;
  color: var(--section-blue);
  font-size: clamp(20px, 2.2vw, 25px);
  font-weight: 700;
  line-height: 1.35;
}

.ortho-hero-media {
  overflow: hidden;
  aspect-ratio: 5 / 4;
  border-radius: 18px;
  background: #dce7f5;
}

.ortho-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 42% center;
}

.ortho-nav,
.ortho-page .ortho-related {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ortho-nav a,
.ortho-related a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 7px 14px;
  border: 1px solid var(--ortho-line);
  border-radius: 10px;
  background: #fff;
  color: var(--section-blue);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.ortho-nav a:hover,
.ortho-related a:hover {
  background: var(--ortho-panel);
  color: #004786;
}

.ortho-section {
  padding: clamp(20px, 4vw, 42px);
  scroll-margin-top: 132px;
  border: 1px solid var(--section-border);
  border-radius: 20px;
  background: #fff;
}

.ortho-page .ortho-section > h2 {
  margin-bottom: clamp(16px, 2.4vw, 24px);
  font-size: clamp(23px, 3vw, 34px);
}

.ortho-section p {
  margin: 0 0 14px;
  color: var(--ortho-muted);
}

.ortho-section p:last-child {
  margin-bottom: 0;
}

.ortho-section > p {
  max-width: 75ch;
}

.ortho-section p a,
.ortho-expert-profile a {
  color: var(--section-blue);
  text-decoration: underline;
  text-underline-offset: .18em;
}

.ortho-page :is(.ortho-card-list, .ortho-steps, .ortho-related) {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ortho-card-list,
.ortho-comparison,
.ortho-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.ortho-card-list > li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  padding: clamp(12px, 2vw, 20px);
  border-radius: 14px;
  background: var(--ortho-panel);
}

.ortho-mark {
  display: grid;
  min-height: 36px;
  place-items: center;
  border-radius: 10px;
  background: #e0edff;
}

.ortho-section :is(.ortho-card-list, .ortho-comparison, .ortho-team, .ortho-expert) h3 {
  margin: 0 0 6px;
  font-size: clamp(16px, 2vw, 20px);
}

.ortho-outcomes {
  margin: 0;
}

.ortho-outcomes > div {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(12px, 2vw, 22px);
  padding: clamp(14px, 2vw, 20px);
  border-top: 1px solid var(--ortho-line);
}

.ortho-outcomes > div:nth-child(odd) {
  background: var(--ortho-panel);
}

.ortho-outcomes dt {
  font-weight: 700;
}

.ortho-outcomes dd {
  margin: 0;
  color: var(--ortho-muted);
}

.ortho-outcomes dd > span {
  display: block;
  color: var(--section-blue);
  font-size: 13px;
  font-weight: 700;
}

.ortho-disclosures {
  display: grid;
  gap: 8px;
}

.ortho-disclosures details {
  min-width: 0;
  border: 1px solid var(--ortho-line);
  border-radius: 12px;
  background: #fff;
}

.ortho-disclosures details[open] {
  border-color: #b9d3f2;
}

.ortho-disclosures summary {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px clamp(12px, 2vw, 18px);
  border-radius: 11px;
  background: var(--ortho-panel);
  cursor: pointer;
  font-weight: 650;
  line-height: 1.4;
  list-style: none;
}

.ortho-disclosures summary h3 {
  font-size: 16px;
  font-weight: inherit;
}

.ortho-step-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ortho-step-number {
  display: grid;
  flex: 0 0 28px;
  height: 28px;
  place-items: center;
  border-radius: 7px;
  background: #e0edff;
  color: var(--section-blue);
  font-size: 14px;
  font-weight: 700;
}

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

.ortho-disclosures summary::after {
  content: "";
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  margin: 0 3px 4px 0;
  transform: rotate(45deg);
  border: solid var(--section-blue);
  border-width: 0 2px 2px 0;
}

.ortho-disclosures details[open] > summary::after {
  transform: rotate(225deg);
  margin-bottom: -4px;
}

.ortho-answer {
  padding: 16px clamp(12px, 2vw, 18px);
}

.ortho-answer > p {
  max-width: 75ch;
}

.ortho-comparison {
  margin-bottom: 16px;
}

.ortho-comparison article,
.ortho-points > div {
  padding: clamp(14px, 2vw, 20px);
  border-radius: 12px;
  background: var(--ortho-panel);
}

.ortho-points .ortho-points-label {
  margin: 0;
  color: var(--section-ink);
  font-weight: 700;
}

.ortho-points ul {
  margin: 8px 0 0;
  padding-inline-start: 1.15em;
  color: var(--ortho-muted);
}

.ortho-points li + li {
  margin-top: 4px;
}

.ortho-accent {
  background: linear-gradient(135deg, #e7efff, #f2f3fb 75%);
}

.ortho-expert {
  display: grid;
  grid-template-columns: minmax(132px, 220px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(18px, 4vw, 40px);
}

.ortho-expert > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  border-radius: 14px;
  background: #e0edff;
  object-fit: cover;
  object-position: center 25%;
}

.ortho-expert-profile {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #cbdaf0;
}

.ortho-expert-profile p {
  margin: 0 0 4px;
}

.ortho-price-frame {
  margin-bottom: 16px;
  overflow: hidden;
  border: 1px solid var(--ortho-line);
  border-radius: 12px;
}

.ortho-page .ortho-price-frame table {
  width: 100%;
  margin: 0;
  border: 0;
}

.ortho-page .ortho-price-frame :is(th, td) {
  border: 0;
  background: transparent;
  vertical-align: top;
}

.ortho-page .ortho-price-frame tr > :last-child {
  width: auto;
  white-space: nowrap;
  color: var(--section-blue);
  font-weight: 700;
}

.ortho-booking {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
}

.ortho-booking p {
  max-width: 62ch;
  margin: 0;
}

.ortho-booking a {
  flex: 0 0 auto;
}

.ortho-page .ortho-team {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ortho-team .clinic-card {
  display: grid;
  grid-template-columns: minmax(94px, 34%) minmax(0, 1fr);
}

.ortho-team .clinic-card > :is(img, .clinic-portrait-placeholder) {
  width: 100%;
  height: 100%;
  min-height: 168px;
  aspect-ratio: auto;
  background-color: var(--ortho-panel);
  object-fit: cover;
  object-position: center 25%;
}

.ortho-team .clinic-card-body {
  justify-content: center;
  gap: 4px;
  padding: clamp(12px, 2vw, 20px);
}

.ortho-team .clinic-card-body .clinic-actions {
  margin-top: 0;
}

@media (max-width: 899px) {
  .ortho-page .ortho-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .ortho-hero-media {
    aspect-ratio: 2 / 1;
  }

  .ortho-page .ortho-team {
    grid-template-columns: minmax(0, 1fr);
  }

  .ortho-team .clinic-card {
    grid-template-columns: minmax(94px, 152px) minmax(0, 1fr);
  }
}

@media (max-width: 767px) {
  .stitch-interior .restore-cookie {
    bottom: calc(76px + env(safe-area-inset-bottom, 0px));
    max-height: calc(100dvh - 156px);
    overflow-y: auto;
  }

  .ortho-section {
    scroll-margin-top: 80px;
  }

  .ortho-outcomes > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
}

@media (max-width: 575px) {
  .ortho-page .ortho-hero,
  .ortho-section {
    padding: 16px;
    border-radius: 16px;
  }

  .ortho-hero .clinic-actions > .clinic-action {
    width: 100%;
  }

  .ortho-card-list,
  .ortho-comparison,
  .ortho-points {
    grid-template-columns: minmax(0, 1fr);
  }

  .ortho-expert {
    grid-template-columns: minmax(0, 1fr);
  }

  .ortho-expert > img {
    width: min(100%, 180px);
  }

  .ortho-booking {
    flex-direction: column;
    align-items: stretch;
  }

  .ortho-price-frame :is(th, td) {
    padding: 9px;
    font-size: 14px;
  }

  .ortho-team .clinic-card {
    grid-template-columns: minmax(76px, 29%) minmax(0, 1fr);
  }
}
