/* =========================================================
   treatment-page.css — clean, airy layout for every treatment
   landing page. Built on top of main.css + components.css so
   most styling (sections, headings, buttons, reveals) is
   inherited from the homepage. Only treatment-specific
   classes live here.
   ========================================================= */

/* ---------- Breadcrumb (lives inside the .hero block) ---------- */
.tx-breadcrumb {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 18px;
}
.tx-breadcrumb a {
  color: var(--gold-300);
  text-decoration: none;
  transition: color 0.2s;
}
.tx-breadcrumb a:hover { color: var(--gold-500); }
.tx-breadcrumb__sep { color: rgba(255,255,255,0.3); }

/* ---------- About page: credentials card grid ---------- */
.about-creds {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: clamp(28px, 4vw, 40px);
}
.about-cred {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease-out),
              border-color 0.35s, box-shadow 0.35s;
}
.about-cred::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
  transition: transform 0.35s var(--ease-out);
}
.about-cred:hover {
  transform: translateY(-5px);
  border-color: var(--gold-500);
  box-shadow: 0 14px 30px rgba(10,46,80,0.1);
}
.about-cred:hover::before { transform: translateX(-50%) scaleX(1); }
.about-cred__icon {
  width: 46px; height: 46px;
  border-radius: 999px;
  background: var(--blue-50);
  color: var(--blue-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  transition: background 0.3s, color 0.3s;
}
.about-cred:hover .about-cred__icon {
  background: var(--gold-500);
  color: var(--blue-900);
}
.about-cred__icon svg { width: 22px; height: 22px; }
.about-cred__title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--blue-900);
  line-height: 1.3;
  margin: 0 0 4px;
}
.about-cred__sub {
  font-size: 0.82rem;
  color: var(--gray-500);
  letter-spacing: 0.04em;
}

/* ---------- About page: bio continuation cards ---------- */
.about-bio-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 32px);
  max-width: 1040px;
  margin: clamp(40px, 6vw, 64px) auto 0;
}
.about-bio-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 38px);
  overflow: hidden;
  transition: transform 0.35s var(--ease-out),
              border-color 0.35s, box-shadow 0.35s;
}
.about-bio-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
  transform: scaleX(0);
  transition: transform 0.4s var(--ease-out);
}
.about-bio-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold-500);
  box-shadow: 0 18px 40px rgba(10,46,80,0.1);
}
.about-bio-card:hover::before { transform: scaleX(1); }
.about-bio-card__icon {
  width: 54px; height: 54px;
  border-radius: 999px;
  background: var(--blue-50);
  color: var(--blue-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: background 0.3s, color 0.3s, transform 0.3s var(--ease-bounce);
}
.about-bio-card__icon svg { width: 26px; height: 26px; }
.about-bio-card:hover .about-bio-card__icon {
  background: var(--gold-500);
  color: var(--blue-900);
  transform: rotate(-6deg) scale(1.06);
}
.about-bio-card__title {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 1.7vw, 1.3rem);
  font-weight: 700;
  color: var(--blue-900);
  line-height: 1.3;
  margin: 0 0 12px;
}
.about-bio-card p {
  font-size: 0.97rem;
  line-height: 1.75;
  color: var(--gray-700);
  margin: 0;
}
.about-bio-card strong { color: var(--blue-900); }

@media (max-width: 720px) {
  .about-bio-cards { grid-template-columns: 1fr; }
}

/* ---------- About page: hospitals marquee ---------- */
.about-marquee {
  margin-top: clamp(28px, 4vw, 40px);
}
.about-marquee__group-title {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: var(--container-max);
  padding-inline: var(--container-pad);
  margin-inline: auto;
}
.about-marquee__group-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.about-marquee__group + .about-marquee__group {
  margin-top: clamp(28px, 4vw, 36px);
}
.about-marquee__viewport {
  position: relative;
  overflow: hidden;
  padding: 8px 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%);
}
.about-marquee__track {
  display: inline-flex;
  width: max-content;
  will-change: transform;
}
.about-marquee__row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: inline-flex;
  gap: 16px;
  padding-right: 16px;
  align-items: stretch;
}
.about-marquee__row > li { display: flex; }

.about-hospital {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold-500);
  padding: 18px 22px;
  border-radius: var(--radius-md);
  transition: transform 0.3s, background 0.3s, box-shadow 0.3s;
  min-width: 240px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about-hospital:hover {
  transform: translateY(-3px);
  background: rgba(201,168,76,0.06);
  box-shadow: 0 10px 24px rgba(10,46,80,0.08);
}
.about-hospital__city {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--blue-900);
  margin: 0 0 4px;
  white-space: nowrap;
}
.about-hospital__role {
  font-size: 0.8rem;
  color: var(--gray-500);
  white-space: nowrap;
}
/* "Founder" highlight variant */
.about-hospital--founder {
  background: linear-gradient(135deg, rgba(201,168,76,0.18), rgba(201,168,76,0.04));
  border-color: rgba(201,168,76,0.4);
}
.about-hospital--founder .about-hospital__role {
  color: var(--gold-500);
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* ---------- FAQ page: topic chip index + category sections ---------- */
.faq-index {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  max-width: 1040px;
  margin: clamp(28px, 4vw, 40px) auto 0;
}
.faq-index__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--blue-900);
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.25s, border-color 0.25s,
              background 0.25s, color 0.25s, box-shadow 0.25s;
}
.faq-index__chip:hover {
  transform: translateY(-2px);
  border-color: var(--gold-500);
  background: rgba(201,168,76,0.08);
  color: var(--blue-900);
  box-shadow: 0 8px 18px rgba(10,46,80,0.08);
}
.faq-category {
  scroll-margin-top: 100px;
}
.faq-category + .faq-category {
  padding-top: clamp(40px, 5vw, 56px);
  border-top: 1px solid var(--border);
  margin-top: clamp(40px, 5vw, 56px);
}
.faq-category__eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-500);
  font-weight: 700;
  margin-bottom: 8px;
}
.faq-category__title {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  font-weight: 700;
  color: var(--blue-900);
  line-height: 1.3;
  margin: 0 0 8px;
}
.faq-category__sub {
  font-size: 0.95rem;
  color: var(--gray-600);
  margin: 0 0 24px;
}
.faq-category__sub a {
  color: var(--blue-700);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.faq-category__sub a:hover { color: var(--gold-500); }

/* ---------- Legal / policy page layout ---------- */
.legal-hero {
  position: relative;
  background:
    linear-gradient(135deg, var(--blue-900) 0%, #0c3a68 50%, var(--blue-800) 100%);
  color: var(--white);
  padding: clamp(120px, 14vh, 160px) 0 clamp(50px, 7vh, 80px);
  overflow: hidden;
  isolation: isolate;
}
.legal-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 30%, rgba(201,168,76,0.16), transparent 55%),
    radial-gradient(circle at 12% 90%, rgba(96,190,255,0.14), transparent 55%);
  pointer-events: none;
  z-index: -1;
}
.legal-hero__inner {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.legal-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 14px;
}
.legal-hero__meta {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.legal-hero__meta strong { color: var(--gold-300); font-weight: 600; }

.legal-content {
  background: var(--white);
}
.legal-content__inner {
  max-width: 820px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--gray-700);
}
.legal-content__intro {
  font-size: 1.05rem;
  color: var(--gray-600);
  margin: 0 0 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.legal-content__inner h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  font-weight: 700;
  color: var(--blue-900);
  line-height: 1.3;
  margin: 40px 0 14px;
}
.legal-content__inner h2:first-of-type { margin-top: 0; }
.legal-content__inner h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--blue-900);
  line-height: 1.4;
  margin: 24px 0 10px;
}
.legal-content__inner p { margin: 0 0 16px; }
.legal-content__inner ul,
.legal-content__inner ol {
  margin: 0 0 18px;
  padding-left: 22px;
}
.legal-content__inner li { margin-bottom: 8px; }
.legal-content__inner strong { color: var(--blue-900); }
.legal-content__inner a {
  color: var(--blue-700);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-content__inner a:hover { color: var(--gold-500); }

/* ---------- "What Is" feature panel — anatomical illustration
   paired with an editorial quick-facts panel. ---------- */
.tx-what {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
  max-width: 1100px;
  margin: clamp(36px, 5vw, 56px) auto 0;
  padding: clamp(28px, 4vw, 56px);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(10, 46, 80, 0.06);
  position: relative;
  /* overflow: visible so the SVG illustration's annotation text can
     extend past the SVG bounding box without being clipped. */
  overflow: visible;
}
.tx-what::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
  /* Without overflow:hidden on the parent, round the accent's top
     corners so they still hug the panel's rounded corners. */
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.tx-what__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Let SVG annotation text overflow the column boundary into the gap. */
  overflow: visible;
  min-width: 0;
}
.tx-what__visual svg {
  width: 100%;
  height: auto;
  max-width: 420px;
  display: block;
  /* Allow text labels positioned outside the viewBox to still render. */
  overflow: visible;
}

.tx-what__panel {
  display: flex;
  flex-direction: column;
}

.tx-what__eyebrow {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 12px;
}

.tx-what__title {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  font-weight: 700;
  color: var(--blue-900);
  line-height: 1.3;
  margin: 0 0 16px;
}

.tx-what__lede {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--gray-700);
  margin: 0 0 26px;
}
.tx-what__lede strong { color: var(--blue-900); }

.tx-what__facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.tx-what__fact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  background: var(--surface-1);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--gold-500);
  transition: transform 0.3s var(--ease-out), background 0.3s;
}
.tx-what__fact:hover {
  transform: translateY(-3px);
  background: rgba(201,168,76,0.06);
}
.tx-what__fact-icon {
  width: 24px;
  height: 24px;
  color: var(--gold-500);
  margin-bottom: 6px;
}
.tx-what__fact-value {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--blue-900);
  line-height: 1.2;
}
.tx-what__fact-label {
  font-size: 0.78rem;
  color: var(--gray-500);
  line-height: 1.45;
}

.tx-what__note {
  max-width: 720px;
  margin: clamp(28px, 4vw, 40px) auto 0;
  text-align: center;
  font-size: 0.96rem;
  line-height: 1.75;
  color: var(--gray-600);
}
.tx-what__note strong { color: var(--blue-900); }

@media (max-width: 860px) {
  .tx-what { grid-template-columns: 1fr; }
  .tx-what__visual { max-width: 380px; margin: 0 auto; }
}
@media (max-width: 480px) {
  .tx-what__facts { grid-template-columns: 1fr; }
}

/* ---------- Symptoms (clean two-column checklist) ---------- */
.tx-symptoms__list {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 36px;
  max-width: 940px;
  margin-inline: auto;
}
.tx-symptoms__list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--gray-700);
}
.tx-symptoms__check {
  flex: 0 0 24px;
  width: 24px; height: 24px;
  border-radius: 999px;
  background: var(--gold-500);
  color: var(--blue-900);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  box-shadow: 0 4px 12px rgba(201,168,76,0.25);
}
.tx-symptoms__check svg { width: 13px; height: 13px; }
.tx-symptoms__list strong { color: var(--blue-900); }

@media (max-width: 720px) {
  .tx-symptoms__list { grid-template-columns: 1fr; }
}

/* ---------- Surgical techniques — editorial numbered list.
   Big serif gold numerals + hairline dividers create a refined
   magazine-style layout. Each technique gets one row. ---------- */
.tx-techniques {
  max-width: 880px;
  margin: clamp(36px, 5vw, 56px) auto 0;
}
.tx-techniques__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(20px, 4vw, 40px);
  padding: clamp(28px, 4vw, 40px) 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
  position: relative;
}
.tx-techniques__item:first-child { padding-top: 0; }
.tx-techniques__item:last-child { border-bottom: 0; }

.tx-techniques__num {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--gold-500);
  line-height: 1;
  letter-spacing: -0.02em;
  min-width: 70px;
}

.tx-techniques__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 14px;
  margin-bottom: 10px;
}
.tx-techniques__title {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 700;
  color: var(--blue-900);
  margin: 0;
  line-height: 1.3;
}
.tx-techniques__tag {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-500);
  background: rgba(201,168,76,0.1);
  padding: 5px 11px;
  border-radius: 999px;
  white-space: nowrap;
}
.tx-techniques__desc {
  font-size: 0.97rem;
  line-height: 1.75;
  color: var(--gray-700);
  margin: 0;
  max-width: 640px;
}

@media (max-width: 600px) {
  .tx-techniques__item { grid-template-columns: 1fr; gap: 12px; }
  .tx-techniques__num { min-width: 0; }
}

/* ---------- Recovery timeline ---------- */
.tx-timeline {
  position: relative;
  padding-left: 32px;
  margin: 40px auto 0;
  max-width: 760px;
}
.tx-timeline::before {
  content: '';
  position: absolute;
  left: 10px; top: 6px; bottom: 6px;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold-500), rgba(201,168,76,0.1));
}
.tx-timeline__item {
  position: relative;
  padding-bottom: 32px;
}
.tx-timeline__item:last-child { padding-bottom: 0; }
.tx-timeline__dot {
  position: absolute;
  left: -32px; top: 4px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--gold-500);
  border: 4px solid var(--white);
  box-shadow: 0 0 0 2px var(--gold-500), 0 6px 14px rgba(201,168,76,0.3);
}
.tx-timeline__time {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-500);
  display: block;
  margin-bottom: 6px;
}
.tx-timeline__heading {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--blue-900);
  margin: 0 0 8px;
}
.tx-timeline__body {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--gray-700);
  margin: 0;
}

/* ---------- FAQ accordion ---------- */
.tx-faq__list {
  max-width: 820px;
  margin: 40px auto 0;
  display: grid;
  gap: 12px;
}
.tx-faq__item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.tx-faq__item[open] {
  border-color: var(--gold-500);
  box-shadow: 0 10px 26px rgba(10,46,80,0.08);
}
.tx-faq__q {
  list-style: none;
  cursor: pointer;
  padding: 22px 24px;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--blue-900);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  user-select: none;
}
.tx-faq__q::-webkit-details-marker { display: none; }
.tx-faq__icon {
  flex: 0 0 28px;
  width: 28px; height: 28px;
  border-radius: 999px;
  background: var(--blue-50);
  color: var(--blue-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s, background 0.3s, color 0.3s;
}
.tx-faq__icon svg { width: 14px; height: 14px; }
.tx-faq__item[open] .tx-faq__icon {
  transform: rotate(45deg);
  background: var(--gold-500);
  color: var(--blue-900);
}
.tx-faq__a {
  padding: 0 24px 22px 24px;
  font-size: 0.96rem;
  line-height: 1.75;
  color: var(--gray-700);
  border-top: 1px solid var(--border);
  padding-top: 18px;
}
.tx-faq__a p { margin: 0 0 12px; }
.tx-faq__a p:last-child { margin: 0; }
.tx-faq__a strong { color: var(--blue-900); }
.tx-faq__a a {
  color: var(--blue-700);
  text-decoration: underline;
  text-underline-offset: 3px;
}

