/* Sentra treatment guides — editorial navigation built around the existing site palette */
.treatment-page {
  --td-navy: var(--navy, #102f46);
  --td-blue: var(--blue, #17679f);
  --td-aqua: var(--aqua, #27b6b0);
  --td-sky: var(--sky, #e7f6f7);
  --td-pearl: var(--pearl, #f8fbfc);
  --td-ink: var(--ink, #162c38);
  --td-muted: var(--muted, #61717b);
  color: var(--td-ink);
}

.treatment-page .container { width: min(1160px, 92%); }
.treatment-page a:focus-visible,
.treatment-page button:focus-visible {
  outline: 3px solid var(--td-aqua);
  outline-offset: 4px;
}

.td-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(ellipse at 76% 21%, rgba(39,182,176,.19), transparent 34%),
    linear-gradient(132deg, #102f46 0%, #174967 64%, #17679f 100%);
  padding: clamp(9.5rem, 13vw, 12.4rem) 0 clamp(4.4rem, 7vw, 6.8rem);
}
.td-hero::before,
.td-hero::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(178,231,228,.13);
  border-radius: 50%;
  pointer-events: none;
}
.td-hero::before {
  width: 460px;
  height: 460px;
  right: -155px;
  top: -245px;
  box-shadow: 0 0 0 28px rgba(178,231,228,.025), 0 0 0 57px rgba(178,231,228,.025);
}
.td-hero::after {
  width: 280px;
  height: 280px;
  left: -190px;
  bottom: -170px;
  box-shadow: 0 0 0 22px rgba(178,231,228,.025), 0 0 0 46px rgba(178,231,228,.02);
}
.td-hero__wash {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .13;
  background-image: linear-gradient(115deg, transparent 48%, rgba(255,255,255,.08) 48.1%, transparent 48.4%);
  background-size: 76px 76px;
  mask-image: linear-gradient(90deg, transparent 20%, #000 100%);
}
.td-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, .86fr);
  align-items: center;
  gap: 1.8rem clamp(2.8rem, 7vw, 6.5rem);
}
.td-breadcrumbs {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .55rem;
  color: #b8d4dc;
  font-size: .79rem;
  margin-bottom: .7rem;
  position: relative;
  z-index: 1;
}
.td-breadcrumbs a { color: #8edbd6; transition: color .2s ease; }
.td-breadcrumbs a:hover { color: #fff; }
.td-breadcrumbs span[aria-current="page"] { color: #fff; }
.td-hero__copy { max-width: 660px; }
.td-eyebrow,
.td-section-kicker {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: var(--td-blue);
  font-size: .7rem;
  line-height: 1.45;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.td-eyebrow { color: #9fe2dc; margin-bottom: 1.15rem; }
.td-eyebrow span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--td-aqua);
  box-shadow: 0 0 0 5px rgba(39,182,176,.15);
}
.td-hero h1 {
  max-width: 720px;
  color: #fff;
  font-size: clamp(2.5rem, 5vw, 4.7rem);
  line-height: 1.02;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.td-hero__lead {
  max-width: 580px;
  margin-top: 1.2rem;
  color: #d9edf0;
  font-size: clamp(1.05rem, 1.7vw, 1.27rem);
  line-height: 1.55;
  font-weight: 600;
}
.td-hero__reassurance {
  max-width: 540px;
  margin-top: .9rem;
  color: #bad3dc;
  font-size: .94rem;
  line-height: 1.75;
}
.td-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.15rem 1.5rem; margin-top: 1.8rem; }
.td-hero__actions .btn { min-height: 50px; }
.td-text-link {
  color: #e5f5f4;
  font-size: .9rem;
  font-weight: 700;
  display: inline-flex;
  gap: .6rem;
  align-items: center;
  transition: color .2s ease, transform .2s ease;
}
.td-text-link:hover { color: #fff; transform: translateY(2px); }
.td-hero__visual {
  justify-self: end;
  position: relative;
  width: 100%;
  max-width: 490px;
  margin: 0;
  padding: 0 0 0 2.3rem;
}
.td-hero__visual::before {
  content: "";
  position: absolute;
  width: 58%;
  height: 66%;
  right: -1rem;
  top: -1rem;
  border: 1px solid rgba(143,219,214,.42);
  border-radius: 48% 48% 22px 22px;
}
.td-hero__visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: clamp(300px, 34vw, 430px);
  object-fit: cover;
  object-position: center;
  border-radius: 48% 48% 16px 16px;
  box-shadow: 0 28px 65px rgba(5,26,40,.3);
}
.treatment-page--lasik-refractive-surgery .td-hero__visual img { object-position: 54% center; }
.treatment-page--cataract .td-hero__visual img { object-position: center 48%; }
.treatment-page--retina-vitreous .td-hero__visual img { object-position: center 42%; }
.treatment-page--diabetic-retinopathy .td-hero__visual img { object-position: 58% center; }
.treatment-page--cornea .td-hero__visual img { object-position: center 42%; }
.treatment-page--keratoconus .td-hero__visual img { object-position: center 45%; }
.treatment-page--glaucoma .td-hero__visual img { object-position: 48% center; }
.treatment-page--uvea .td-hero__visual img { object-position: center 38%; }
.treatment-page--pediatric-eye-care .td-hero__visual img { object-position: 55% center; }
.treatment-page--squint .td-hero__visual img { object-position: center 40%; }
.treatment-page--dry-eye .td-hero__visual img { object-position: 50% center; }
.treatment-page--orbit-oculoplasty .td-hero__visual img { object-position: center 45%; }
.td-hero__visual figcaption {
  position: relative;
  z-index: 2;
  margin-top: .85rem;
  display: flex;
  align-items: center;
  gap: .55rem;
  color: #cce3e6;
  font-size: .68rem;
  letter-spacing: .025em;
}
.td-visual-dot { width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: var(--td-aqua); }
.td-hero__index {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-top: .25rem;
  color: #a8c9d3;
  font-family: var(--font-head);
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .2em;
}
.td-hero__index i { display: block; width: 54px; height: 1px; background: var(--td-aqua); }

.td-content-wrap {
  position: relative;
  padding: clamp(3.2rem, 6vw, 5.4rem) 0 clamp(5rem, 8vw, 8rem);
  background:
    radial-gradient(ellipse at 100% 4%, rgba(39,182,176,.06), transparent 27rem),
    var(--td-pearl);
}
.td-layout { display: grid; grid-template-columns: 238px minmax(0, 1fr); gap: clamp(2.3rem, 5vw, 5.3rem); align-items: start; }
.td-aside { min-width: 0; align-self: stretch; }
.td-toc {
  position: sticky;
  top: 108px;
  max-height: calc(100svh - 124px);
  overflow-y: auto;
  padding: 1.15rem 1rem .9rem;
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(23,103,159,.13);
  border-radius: 18px;
  box-shadow: 0 16px 44px -34px rgba(16,47,70,.42);
}
.td-toc__label {
  padding: 0 .55rem .7rem;
  color: var(--td-navy);
  font-family: var(--font-head);
  font-size: .77rem;
  font-weight: 800;
  letter-spacing: .06em;
}
.td-toc > a {
  position: relative;
  display: block;
  padding: .48rem .55rem .48rem .85rem;
  color: #5e727d;
  font-size: .79rem;
  line-height: 1.35;
  border-radius: 8px;
  transition: color .18s ease, background .18s ease, padding .18s ease;
}
.td-toc > a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: .45rem;
  width: 3px;
  height: 0;
  border-radius: 3px;
  background: var(--td-aqua);
  transform: translateY(-50%);
  transition: height .18s ease;
}
.td-toc > a:hover,
.td-toc > a:focus-visible { padding-left: 1rem; color: var(--td-blue); background: #eff8f8; }
.td-toc > a:hover::before,
.td-toc > a:focus-visible::before { height: 15px; }
.td-aside-cta {
  margin-top: 1rem;
  padding: 1rem .8rem .85rem;
  border-top: 1px solid rgba(23,103,159,.12);
}
.td-aside-cta__mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-bottom: .75rem;
  border-radius: 50%;
  color: var(--td-navy);
  background: #e5f5f3;
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 800;
}
.td-aside-cta h2 { font-size: .97rem; line-height: 1.3; letter-spacing: -.02em; }
.td-aside-cta p { margin-top: .42rem; color: var(--td-muted); font-size: .75rem; line-height: 1.6; }
.td-aside-cta > a {
  display: inline-flex;
  gap: .4rem;
  align-items: center;
  margin-top: .75rem;
  color: var(--td-blue);
  font-size: .76rem;
  font-weight: 800;
}
.td-article { min-width: 0; }
.td-review-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem;
  margin: 0 0 2.5rem;
  color: #687c84;
  font-size: .74rem;
  letter-spacing: .01em;
}
.td-review-line__symbol {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  color: #17679f;
  background: #e5f5f3;
  font-size: .7rem;
  font-weight: 800;
}
.td-review-line__divider { width: 1px; height: 14px; margin: 0 .18rem; background: #cad9dc; }
.td-section {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 1.05rem;
  padding: 2.15rem 0 2.3rem;
  border-top: 1px solid rgba(23,103,159,.13);
  scroll-margin-top: 112px;
}
.td-section--intro { padding-top: 0; border-top: 0; }
.td-section-number {
  padding-top: .46rem;
  color: #80b9ba;
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
}
.td-section-kicker { margin-bottom: .45rem; }
.td-article h2 {
  margin: 0 0 .85rem;
  color: var(--td-navy);
  font-size: clamp(1.48rem, 2.4vw, 2rem);
  letter-spacing: -.04em;
  line-height: 1.18;
  text-wrap: balance;
  scroll-margin-top: 112px;
}
.td-article p:not(.td-section-kicker):not(.td-review-line):not(.td-disclaimer) {
  color: #536a75;
  font-size: .96rem;
  line-height: 1.82;
}
.td-article .td-lead-copy { color: #405966 !important; font-size: 1.02rem !important; line-height: 1.9 !important; }
.td-section-intro { margin: -.1rem 0 .35rem; }
.td-list { display: grid; gap: .65rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.td-list li {
  position: relative;
  padding: .1rem 0 .1rem 1.45rem;
  color: #536a75;
  font-size: .94rem;
  line-height: 1.65;
}
.td-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .66em;
  width: 7px;
  height: 7px;
  border: 1.5px solid var(--td-aqua);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(39,182,176,.1);
}
.td-urgency {
  display: grid;
  grid-template-columns: 42px minmax(0,1fr);
  gap: 1rem;
  margin: .55rem 0 1rem;
  padding: 1.55rem 1.6rem;
  border: 1px solid rgba(242,140,24,.35);
  border-left: 4px solid var(--orange);
  border-radius: 4px 18px 18px 4px;
  background: linear-gradient(110deg, #fff9ed, #fffdf9);
  scroll-margin-top: 112px;
}
.td-urgency__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #875212;
  background: #ffedcb;
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 800;
}
.td-urgency .td-section-kicker { color: #9c6419; }
.td-urgency h2 { font-size: clamp(1.3rem, 2vw, 1.7rem); }
.td-urgency p:last-child { font-size: .93rem !important; line-height: 1.75 !important; }
.td-section--note { padding: 1.5rem 1.2rem; margin: .5rem 0; border: 1px solid rgba(23,103,159,.14); border-radius: 14px; background: rgba(255,255,255,.63); }
.td-section--note .td-section-number { padding-left: .25rem; }
.td-faq-section { padding-top: 2.5rem; border-top: 1px solid rgba(23,103,159,.13); scroll-margin-top: 112px; }
.td-faq-section > h2 { margin-bottom: 1.25rem; }
.td-faq-list { display: grid; gap: .65rem; }
.td-faq-list .faq-item {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(23,103,159,.14);
  border-radius: 12px;
  background: rgba(255,255,255,.84);
  box-shadow: 0 8px 22px -20px rgba(16,47,70,.42);
  transition: border-color .2s ease, background .2s ease;
}
.td-faq-list .faq-item.open { border-color: rgba(39,182,176,.55); background: #fff; }
.td-faq-list .faq-q {
  min-height: 56px;
  padding: 1rem 1.2rem;
  color: var(--td-navy);
  font-size: .91rem;
  line-height: 1.5;
}
.td-faq-list .faq-q::after { color: var(--td-blue); font-size: 1.35rem; }
.td-faq-list .faq-a { color: var(--td-muted); font-size: .9rem; line-height: 1.75; }
.td-faq-list .faq-a > div { padding: 0 1.2rem 1.15rem; }
.td-disclaimer {
  margin: 1.6rem 0 2.7rem;
  padding: 1rem 1.15rem;
  border-radius: 10px;
  background: #edf5f6;
  color: #60747d;
  font-size: .8rem;
  line-height: 1.7;
}
.td-disclaimer strong { color: var(--td-navy); }
.td-related-section { padding-top: 2rem; border-top: 1px solid rgba(23,103,159,.13); scroll-margin-top: 112px; }
.td-related-section > h2 { margin-bottom: 1rem; }
.td-related-links { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .6rem; }
.td-related-links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .8rem;
  min-height: 54px;
  padding: .8rem 1rem;
  border: 1px solid rgba(23,103,159,.16);
  border-radius: 10px;
  color: var(--td-navy);
  background: rgba(255,255,255,.76);
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.4;
  transition: color .2s ease, border-color .2s ease, transform .2s ease, background .2s ease;
}
.td-related-links a span { color: var(--td-blue); font-size: 1rem; flex: 0 0 auto; }
.td-related-links a:hover { color: var(--td-blue); border-color: rgba(39,182,176,.55); background: #fff; transform: translateY(-2px); }
.td-end-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 2.3rem;
  padding: clamp(1.35rem, 3vw, 2.1rem);
  border-radius: 18px;
  color: #fff;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(39,182,176,.32), transparent 45%),
    linear-gradient(125deg, #102f46, #17679f);
}
.td-end-cta .td-section-kicker { color: #a4e3de; }
.td-end-cta h2 { margin: .3rem 0 .5rem; color: #fff; font-size: clamp(1.35rem, 2.2vw, 1.8rem); }
.td-end-cta p { max-width: 450px; color: #d1e6e9 !important; font-size: .86rem !important; line-height: 1.65 !important; }
.td-end-cta .btn { white-space: nowrap; flex: 0 0 auto; }

@media (min-width: 1361px) {
  .td-hero { padding-top: 12.6rem; }
}
@media (max-width: 1024px) {
  .td-hero__inner { grid-template-columns: minmax(0, 1fr) minmax(280px, .78fr); gap: 1.5rem 3rem; }
  .td-hero__visual { padding-left: 1rem; }
  .td-layout { grid-template-columns: 205px minmax(0,1fr); gap: 2rem; }
  .td-toc { top: 90px; max-height: calc(100svh - 106px); padding-inline: .7rem; }
}
@media (max-width: 767px) {
  .td-hero { padding: 8.8rem 0 3.3rem; }
  .td-hero__inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .td-breadcrumbs { grid-column: auto; margin-bottom: .15rem; font-size: .72rem; }
  .td-hero h1 { max-width: 590px; font-size: clamp(2.45rem, 9vw, 3.6rem); }
  .td-hero__lead { margin-top: .9rem; font-size: 1.05rem; }
  .td-hero__reassurance { font-size: .88rem; }
  .td-hero__actions { margin-top: 1.35rem; gap: .8rem 1rem; }
  .td-hero__actions .btn { padding: .78rem 1.25rem; font-size: .88rem; }
  .td-hero__visual { justify-self: start; width: min(100%, 490px); padding: 0 1rem 0 0; }
  .td-hero__visual img { height: clamp(245px, 66vw, 360px); border-radius: 42% 42% 14px 14px; }
  .td-hero__visual::before { right: 0; top: -.6rem; }
  .td-hero__visual figcaption { font-size: .62rem; }
  .td-hero__index { margin-top: -.2rem; }
  .td-content-wrap { padding: 2.2rem 0 4rem; }
  .td-layout { display: flex; flex-direction: column; gap: 1.7rem; }
  .td-aside { order: -1; width: 100%; }
  .td-toc { position: static; max-height: none; padding: .7rem; overflow: hidden; }
  .td-toc__label { padding: .1rem .4rem .55rem; }
  .td-toc > a { display: inline-flex; white-space: nowrap; padding: .48rem .68rem; margin: 0 .12rem .18rem 0; border: 1px solid rgba(23,103,159,.11); background: #fff; font-size: .74rem; }
  .td-toc > a::before { display: none; }
  .td-toc > a:hover, .td-toc > a:focus-visible { padding-left: .68rem; }
  .td-aside-cta { display: none; }
  .td-review-line { margin-bottom: 1.8rem; font-size: .69rem; }
  .td-section { grid-template-columns: 25px minmax(0,1fr); gap: .65rem; padding: 1.65rem 0 1.75rem; scroll-margin-top: 100px; }
  .td-section--intro { padding-top: 0; }
  .td-section-number { font-size: .65rem; padding-top: .4rem; }
  .td-article h2 { font-size: clamp(1.4rem, 6vw, 1.8rem); margin-bottom: .68rem; scroll-margin-top: 100px; }
  .td-article p:not(.td-section-kicker):not(.td-review-line):not(.td-disclaimer) { font-size: .91rem; line-height: 1.78; }
  .td-article .td-lead-copy { font-size: .96rem !important; }
  .td-list { gap: .55rem; margin-top: .8rem; }
  .td-list li { font-size: .9rem; padding-left: 1.25rem; }
  .td-urgency { grid-template-columns: 32px minmax(0,1fr); gap: .7rem; margin: .25rem 0 .6rem; padding: 1.1rem .85rem; scroll-margin-top: 100px; }
  .td-urgency__icon { width: 30px; height: 30px; font-size: .95rem; }
  .td-urgency h2 { font-size: 1.33rem; }
  .td-urgency p:last-child { font-size: .88rem !important; }
  .td-section--note { padding: 1.1rem .75rem; }
  .td-faq-section, .td-related-section { padding-top: 1.8rem; scroll-margin-top: 100px; }
  .td-faq-list .faq-q { padding: .9rem .95rem; font-size: .86rem; }
  .td-faq-list .faq-a > div { padding: 0 .95rem 1rem; }
  .td-disclaimer { margin: 1.2rem 0 2rem; font-size: .76rem; }
  .td-related-links { grid-template-columns: 1fr; }
  .td-related-links a { min-height: 50px; }
  .td-end-cta { align-items: flex-start; flex-direction: column; margin-top: 1.7rem; }
}
@media (max-width: 420px) {
  .td-hero { padding-top: 8.45rem; }
  .td-hero__actions { align-items: flex-start; flex-direction: column; }
  .td-hero__actions .btn { min-height: 46px; }
  .td-breadcrumbs { gap: .36rem; }
  .td-toc > a { font-size: .7rem; }
  .td-section { grid-template-columns: 20px minmax(0,1fr); gap: .55rem; }
  .td-section-number { font-size: .61rem; }
}
@media (prefers-reduced-motion: reduce) {
  .treatment-page *,
  .treatment-page *::before,
  .treatment-page *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
