/* =============================================================
 * tc-treatments-2026.css — Treatments page redesign (Concept B)
 * Loads AFTER tc-brand-2026.css. Turns the bulky formulary accordion
 * into a high-end tabbed "treatment menu": a sticky category tab bar,
 * one category panel in view at a time, protocols as clean menu rows
 * with right-aligned prices. Recolors the brown bands to mineral,
 * lightens headings, removes italics. Copy & data unchanged.
 * ============================================================= */

/* ---------- Page headings: airy Poppins ---------- */
.luxe-display,
.luxe-display.is-medium,
.luxe-display.is-small {
  font-family: var(--sans);
  font-weight: 300;
  letter-spacing: -0.02em;
}
.luxe-display em { font-style: normal; font-weight: 500; color: inherit; }

/* ---------- 1. CATEGORY TAB BAR (was brown #3d2817) ---------- */
.luxe-formulary-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(232, 228, 218, 0.86) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line) !important;
  border-bottom: 1px solid var(--line) !important;
  padding: 0 !important;
}
.luxe-formulary-nav .container { padding-block: 0; }
.luxe-formulary-nav-list {
  justify-content: flex-start !important;
  gap: 0 !important;
  overflow-x: auto;
  scrollbar-width: none;
  flex-wrap: nowrap !important;
}
.luxe-formulary-nav-list::-webkit-scrollbar { display: none; }
.luxe-formulary-nav a {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 1.05rem 1.15rem !important;
  margin: 0 !important;
  font-size: 0.9rem !important;
  letter-spacing: 0.005em !important;
  text-transform: none !important;
  color: var(--ink-500) !important;
  border-bottom: 2px solid transparent !important;
  border-top: 2px solid transparent;  /* keep text centered vs the active border */
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease) !important;
}
.luxe-formulary-nav a:hover {
  color: var(--ink-900) !important;
  border-bottom-color: var(--line-strong) !important;
}
.luxe-formulary-nav a.is-active {
  color: var(--ink-900) !important;
  border-bottom-color: var(--gold) !important;
}

/* ---------- 2. GROUPS — all categories visible; tabs scroll-jump ---------- */
.luxe-formulary { gap: clamp(1rem, 2vw, 1.75rem) !important; }
/* Tighten the vertical rhythm between formulary groups */
.luxe-formulary { gap: clamp(1.75rem, 3vw, 2.75rem) !important; }
/* Closed dropdowns don't need the head's bottom gap — kills the "forehead" whitespace */
.luxe-formulary-group:not([open]) .luxe-formulary-group-head { margin-bottom: 0 !important; }

.luxe-formulary-group {
  display: block !important;
  scroll-margin-top: 80px;
}

/* Panel header — slim, editorial, not a disclosure */
.luxe-formulary-group-head {
  list-style: none;
  cursor: default;
  align-items: center !important;
  gap: 1.25rem !important;
  padding-bottom: 1.25rem !important;
  margin-bottom: clamp(2rem, 4vw, 3rem) !important;
  border-bottom: 1px solid var(--line) !important;
}
.luxe-formulary-group-head::-webkit-details-marker { display: none; }
.luxe-formulary-group-head::after,
.luxe-formulary-group-head::before { content: none !important; }
.luxe-formulary-group-num {
  font-family: var(--sans) !important;
  font-style: normal !important;
  font-size: 0.8rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.04em;
  color: var(--gold) !important;
  font-variant-numeric: tabular-nums;
}
.luxe-formulary-group-title {
  font-weight: 300 !important;
  letter-spacing: -0.02em !important;
  font-size: clamp(1.7rem, 2.4vw, 2.3rem) !important;
}
.luxe-formulary-group-note {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, system-ui, sans-serif !important;
  text-transform: none !important;
  color: var(--ink-300) !important;
  letter-spacing: 0.03em !important;
}

/* ---------- 3. REGIONS ---------- */
.luxe-formulary-regions { gap: clamp(2rem, 3.5vw, 3rem) clamp(2.5rem, 4vw, 4rem) !important; }
.luxe-formulary-region h4 {
  color: var(--ink-900) !important;
  font-size: 0.98rem !important;
  font-weight: 400 !important;
  letter-spacing: 0.005em !important;
  text-transform: none !important;
  border-bottom-color: var(--line) !important;
  margin-bottom: 1rem !important;
}
.luxe-formulary-intro { margin-bottom: 1.25rem; }
.luxe-formulary-intro-icon { color: var(--gold); }
.luxe-formulary-intro-areas {
  font-family: var(--sans);
  color: var(--ink-900);
  font-weight: 400;
}
.luxe-formulary-intro-blurb {
  font-family: var(--sans);
  color: var(--ink-500);
  font-size: 0.9rem;
  line-height: 1.55;
}

/* ---------- 4. PROTOCOLS AS MENU ROWS ---------- */
.luxe-formulary-list { gap: 0 !important; }
.luxe-formulary-list li {
  padding: 0.72rem 0 !important;
  border-bottom: 1px solid var(--line);
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: baseline !important;
  gap: 0.55rem !important;
  font-size: 0.95rem !important;
}
.luxe-formulary-list li::before { content: none !important; }   /* drop the dash */
.luxe-formulary-list .name {
  color: var(--ink-900) !important;
  font-weight: 500 !important;
  flex-shrink: 0;
}
.luxe-formulary-list .dose {
  font-family: var(--sans) !important;   /* was serif italic */
  font-style: normal !important;
  color: var(--ink-500) !important;
  font-size: 0.95rem !important;
}
.luxe-formulary-list .trx-price {
  margin-left: auto;
  padding-left: 1rem;
  color: var(--ink-900);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
  flex-shrink: 0;
  white-space: nowrap;
}

/* Intro/section lead link stays gold (already), keep tidy */
#formulary .luxe-section-head { max-width: 64ch; }

/* ---------- 5. PROCESS BAND: brown #3d2817 -> mineral ---------- */
#process { background: var(--ink-900) !important; color: var(--bone-200) !important; }
#process h2,
#process h3,
#process strong { color: var(--bone-50) !important; }
#process p { color: rgba(232, 228, 218, 0.74) !important; }
#process .luxe-process-num,
#process .luxe-process-icon { color: var(--gold) !important; }
#process .luxe-process-step {
  background: rgba(232, 228, 218, 0.05) !important;
  border-color: rgba(232, 228, 218, 0.12) !important;
  border-top-color: var(--gold) !important;
  color: var(--bone-200) !important;
}
#process .luxe-process-step em { font-style: normal; }

/* ---------- 6. Misc de-italic on this page ---------- */
.tc-feature-cta-title em,
.luxe-big-testi-quote em,
.luxe-formulary-intro-areas em { font-style: normal; }

/* ---------- Mobile ---------- */
@media (max-width: 600px) {
  .luxe-formulary-list li { flex-wrap: wrap !important; }
  .luxe-formulary-list .trx-price { margin-left: auto; }
  .luxe-formulary-group-head { flex-wrap: wrap !important; gap: 0.5rem 1rem !important; }
  .luxe-formulary-group-note { flex-basis: 100%; }
}


/* =============================================================
 * Process rail — compact 4 step row, no numbers, less vertical
 * (replaces the legacy .luxe-process-grid card stack on this section)
 * ============================================================= */
.trx-process-rail {
  list-style: none;
  padding: 0;
  margin: clamp(2rem, 3.5vw, 3rem) 0 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.25rem, 2vw, 2rem);
}
.trx-process-step {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 0.85rem;
  padding: 1.5rem 0 0;
  border-top: 1px solid rgba(245, 235, 214, 0.18);
  position: relative;
  transition: border-color var(--dur) var(--ease);
}
.trx-process-step::before {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 36px; height: 1.5px;
  background: var(--gold);
  transition: width 0.5s var(--ease);
}
.trx-process-step:hover::before { width: 64px; }
.trx-process-icon {
  width: 30px;
  height: 30px;
  color: var(--gold);
  margin-bottom: 0.15rem;
}
.trx-process-icon svg { width: 30px; height: 30px; display: block; }
.trx-process-step h3 {
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.25;
  color: var(--bone-50);
  margin: 0;
  text-wrap: balance;
}
.trx-process-step p {
  font-family: var(--sans);
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(245, 235, 214, 0.72);
  margin: 0;
}
.trx-process-step p strong { color: var(--bone-50); font-weight: 500; }
@media (max-width: 980px) {
  .trx-process-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 1.75rem; }
}
@media (max-width: 540px) {
  .trx-process-rail { grid-template-columns: 1fr; }
}

/* Who this isn't for — compact subsection at the foot of the process band */
.trx-process-not-for {
  margin-top: clamp(2rem, 3.5vw, 3rem);
  padding-top: clamp(1.5rem, 2.5vw, 2rem);
  border-top: 1px solid rgba(245, 235, 214, 0.18);
  display: grid;
  grid-template-columns: minmax(0, 0.32fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: start;
  max-width: 1100px;
  margin-inline: auto;
}
.trx-process-not-for .eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  padding-top: 0.35rem;
}
.trx-process-not-for h3 {
  font-family: var(--sans);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  font-weight: 500;
  letter-spacing: -0.012em;
  line-height: 1.25;
  color: var(--bone-50);
  margin: 0 0 0.6rem;
  text-wrap: balance;
}
.trx-process-not-for p {
  font-family: var(--sans);
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(245, 235, 214, 0.72);
  margin: 0;
}
@media (max-width: 760px) {
  .trx-process-not-for { grid-template-columns: 1fr; gap: 0.75rem; }
  .trx-process-not-for .eyebrow { padding-top: 0; }
}

