/* Treatment pages, the Treatments list and the home treatments section (built by _tools/treatment_pages.py). */
.tr-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.tr-kicker { margin: 0 0 8px !important; font-size: 13px !important; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #f37021 !important; }
.tr-h2b { margin: 0 0 18px; font-size: 36px; line-height: 1.2; color: #0d1b3e; }
.tr-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; padding: 0 22px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; transition: transform .15s, background .15s; }
.tr-btn:hover { transform: translateY(-2px); }
.tr-btn svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.tr-btn-navy { background: #1f3967; color: #fff !important; }
.tr-btn-wa { background: #25d366; color: #fff !important; }
.tr-btn-orange { background: #f37021; color: #fff !important; }
.tr-btn-line { background: #fff; color: #1f3967 !important; border: 1.5px solid #c9d6e8; }
.tr-link { font-weight: 700; color: #1f3967 !important; text-decoration: none; padding: 8px 4px; }
.tr-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.tr-pills { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.tr-pills li { padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid #d7e2f0; font-size: 14px; color: #1f3967; font-weight: 600; }

/* cards (list page, home, related) */
.tr-grid { display: grid; gap: 22px; }
.tr-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tr-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #e3eaf4; border-radius: 20px; overflow: hidden; text-decoration: none; box-shadow: 0 10px 28px rgba(13, 27, 62, .07); transition: transform .2s, box-shadow .2s; }
.tr-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(13, 27, 62, .13); }
.tr-card[hidden] { display: none; }
.tr-card-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #eef3f9; }
.tr-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.tr-card:hover .tr-card-img img { transform: scale(1.05); }
.tr-card-body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; flex: 1; }
.tr-card-body small { color: #8a96ab; font-weight: 700; font-size: 13px; }
.tr-card-title { margin: 0; font-size: 20px; line-height: 1.3; color: #0d1b3e; }
.tr-card-text { color: #5b6880; font-size: 15px; line-height: 1.55; }
.tr-card-body em { margin-top: auto; padding-top: 10px; font-style: normal; font-weight: 700; color: #1f3967; font-size: 14.5px; }

/* home section + list page */
.tr-home { width: 100%; padding: 10px 0; text-align: left; }
.tr-home .tr-h2b { text-align: center; } .tr-home .tr-kicker { text-align: center; }
.tr-more { text-align: center; margin: 30px 0 0; }
.tr-listsec { padding: 60px 0 30px; }
.tr-listlead { max-width: 760px; color: #33415c; font-size: 16.5px; line-height: 1.7; margin: 0 0 22px; }
.tr-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.tr-chip { font: inherit; font-weight: 600; font-size: 14.5px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid #c9d6e8; background: #fff; color: #1f3967; cursor: pointer; }
.tr-chip[aria-pressed="true"] { background: #1f3967; border-color: #1f3967; color: #fff; }

/* treatment page: hero */
.tr-hero { padding: 46px 0 56px; background: radial-gradient(circle at 80% 40%, #ffffff 0, #eef5fd 40%, #d9e7f6 100%); }
.tr-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; }
.tr-crumbs { margin: 0 0 18px; font-size: 14px; color: #5b6880; }
.tr-crumbs a { color: #1f3967 !important; font-weight: 600; text-decoration: none; }
.tr-h1 { margin: 0 0 14px; font-size: 50px; line-height: 1.1; color: #0d1b3e; }
.tr-lead { margin: 0 0 20px; font-size: 18px; line-height: 1.65; color: #33415c; max-width: 600px; }
.tr-glance { margin: 0 0 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8a96ab; }
.tr-hero .tr-pills { margin-bottom: 24px; }
.tr-hero-img { margin: 0; }
.tr-hero-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; display: block; box-shadow: 0 22px 54px rgba(13, 27, 62, .16); }

/* treatment page: layout */
.tr-layout { display: grid; grid-template-columns: 190px minmax(0, 1fr) 290px; gap: 40px; align-items: start; padding-top: 50px; padding-bottom: 30px; }
.tr-toc { position: sticky; top: 120px; }
.tr-toc p { margin: 0 0 10px; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8a96ab; }
.tr-toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid #e3eaf4; }
.tr-toc a { display: block; padding: 7px 0 7px 14px; margin-left: -2px; border-left: 2px solid transparent; color: #5b6880 !important; font-size: 14.5px; text-decoration: none; }
.tr-toc a:hover { color: #1f3967 !important; }
.tr-toc a.on { border-left-color: #f37021; color: #0d1b3e !important; font-weight: 700; }
.tr-sec { padding: 0 0 44px; scroll-margin-top: 110px; }
.tr-sec > p, .tr-sec li span, .tr-callout p { color: #33415c; font-size: 16.5px; line-height: 1.75; }
.tr-num { display: block; font-size: 15px; font-weight: 700; color: #f37021; margin-bottom: 4px; }
.tr-sec h2 { margin: 0 0 14px; font-size: 30px; line-height: 1.25; color: #0d1b3e; }
.tr-h3 { margin: 22px 0 12px; font-size: 18px; color: #0d1b3e; }
.tr-checks, .tr-why { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; }
.tr-why { grid-template-columns: 1fr; }
.tr-checks li, .tr-why li { display: flex; gap: 10px; align-items: flex-start; background: #f7fafd; border: 1px solid #e8eef6; border-radius: 14px; padding: 12px 14px; }
.tr-checks svg, .tr-why svg { flex: none; width: 21px; height: 21px; fill: #22a35a; margin-top: 3px; }
.tr-checks li span, .tr-why li span { font-size: 15.5px !important; line-height: 1.55 !important; }
.tr-callout { border-left: 4px solid #1f3967; background: #f3f7fc; border-radius: 0 16px 16px 0; padding: 18px 22px; }
.tr-callout p { margin: 0 0 10px; }
.tr-callout ul { margin: 0; padding-left: 20px; color: #33415c; }
.tr-callout li { margin: 4px 0; }
.tr-opts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tr-opt { display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: 16px; background: #fff; border: 1px solid #e3eaf4; box-shadow: 0 6px 18px rgba(13, 27, 62, .05); }
.tr-opt b { font-size: 17px; color: #0d1b3e; line-height: 1.35; }
.tr-opt > span:last-child { font-size: 15px !important; color: #5b6880 !important; line-height: 1.6; }
.tr-opt-kind { align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; }
.tr-opt-n .tr-opt-kind { background: #e7f8ee; color: #137a3d; }
.tr-opt-s .tr-opt-kind { background: #e9eef8; color: #1f3967; }
.tr-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 10px; counter-reset: s; position: relative; }
.tr-steps li { position: relative; display: flex; flex-direction: column; gap: 10px; font-weight: 600; color: #0d1b3e; font-size: 15px; line-height: 1.4; }
.tr-steps li span { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #1f3967; color: #fff; font-weight: 700; position: relative; z-index: 1; }
.tr-steps li:not(:last-child)::after { content: ""; position: absolute; top: 17px; left: 36px; right: -10px; height: 2px; background: #c9d6e8; }
.tr-reviews { display: grid; grid-template-columns: 1fr; gap: 14px; }
.tr-faq details { border: 1px solid #e3eaf4; border-radius: 14px; background: #fff; margin-bottom: 10px; }
.tr-faq summary { cursor: pointer; padding: 16px 48px 16px 18px; font-weight: 700; color: #0d1b3e; font-size: 16px; list-style: none; position: relative; }
.tr-faq summary::-webkit-details-marker { display: none; }
.tr-faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 22px; color: #1f3967; }
.tr-faq details[open] summary::after { content: "−"; }
.tr-faq details p { margin: 0; padding: 0 18px 16px; color: #33415c; font-size: 15.5px; line-height: 1.7; }

/* sticky booking card */
.tr-aside { position: sticky; top: 120px; }
.tr-talk { background: #fff; border: 1px solid #e3eaf4; border-radius: 20px; padding: 22px; box-shadow: 0 14px 38px rgba(13, 27, 62, .09); display: grid; gap: 10px; }
.tr-clinic { display: grid; gap: 2px; padding: 10px 0; border-bottom: 1px solid #edf1f7; }
.tr-clinic b { color: #0d1b3e; font-size: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.tr-clinic b .apx-open { margin: 0 !important; font-size: 11.5px; }
.tr-clinic span { color: #5b6880; font-size: 14px; }
.tr-clinic small { color: #33415c; font-size: 13.5px; }
.tr-talk .tr-btn { width: 100%; min-height: 46px; }

/* related + band */
.tr-related { padding: 40px 0 50px; background: #f3f7fc; }
.tr-bandwrap { padding: 50px 0 70px; }
.tr-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 30px; padding: 36px 42px; border-radius: 24px; background: linear-gradient(135deg, #1f3967, #0d1b3e); }
.tr-band h2 { margin: 0 0 6px; color: #fff; font-size: 30px; }
.tr-band p { margin: 0; color: #c9d6e8; max-width: 560px; }
.tr-band p a { color: #fff !important; font-weight: 700; }

/* tablet */
@media (max-width: 1100px) {
  .tr-layout { grid-template-columns: minmax(0, 1fr) 280px; }
  .tr-toc { display: none; }
}
@media (max-width: 1024px) {
  .tr-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tr-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .tr-hero-img { max-width: 620px; }
  .tr-h1 { font-size: 42px; }
  .tr-layout { grid-template-columns: minmax(0, 1fr); }
  .tr-aside { position: static; }
  .tr-talk { grid-template-columns: 1fr 1fr; }
  .tr-talk .tr-kicker { grid-column: 1 / -1; }
}
/* phone */
@media (max-width: 767px) {
  .tr-wrap { padding: 0 16px; }
  .tr-h2b { font-size: 27px; }
  .tr-grid-3 { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .tr-hero { padding: 26px 0 36px; }
  .tr-h1 { font-size: 33px; }
  .tr-lead { font-size: 16px; }
  .tr-cta .tr-btn { flex: 1 1 100%; }
  .tr-link { width: 100%; text-align: center; }
  .tr-layout { padding-top: 30px; }
  .tr-sec h2 { font-size: 24px; }
  .tr-sec > p { font-size: 15.5px; }
  .tr-checks, .tr-opts { grid-template-columns: minmax(0, 1fr); }
  .tr-steps { grid-auto-flow: row; grid-auto-columns: auto; }
  .tr-steps li { flex-direction: row; align-items: center; }
  .tr-steps li:not(:last-child)::after { top: 36px; left: 17px; right: auto; width: 2px; height: 10px; }
  .tr-talk { grid-template-columns: minmax(0, 1fr); }
  .tr-chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 20px; padding: 0 16px 4px; scrollbar-width: none; }
  .tr-chip { flex: none; }
  .tr-band { padding: 26px 22px; }
  .tr-band h2 { font-size: 24px; }
  .tr-band .tr-cta { width: 100%; }
}
.tr-listtop { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px; align-items: center; margin-bottom: 8px; }
.tr-listimg { margin: 0; }
.tr-listimg img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 20px; display: block; box-shadow: 0 16px 40px rgba(13, 27, 62, .12); }
@media (max-width: 1024px) { .tr-listtop { grid-template-columns: minmax(0, 1fr); gap: 20px; } .tr-listimg { max-width: 560px; } }
/* Treatments list intro: centred, no picture (user, 31 Oct 2026) */
.tr-listtop-c { grid-template-columns: minmax(0, 1fr); text-align: center; margin-bottom: 14px; }
.tr-listtop-c .tr-listlead { margin-left: auto; margin-right: auto; }
.tr-listsec .tr-chips { justify-content: center; }
@media (max-width: 767px) { .tr-listsec .tr-chips { justify-content: flex-start; } }
.tr-listtop-c .tr-listlead, .tr-listtop-c .tr-h2b, .tr-listtop-c .tr-kicker { text-align: center !important; }
/* heading-to-text spacing (audit 31 Oct 2026) */
.tr-band h2 { margin-bottom: 10px !important; }
.tr-card-title { margin-bottom: 2px !important; }
