/* Hallmark · component: inner-page emdr-therapy · pre-emit critique: P2 H1 E1 S1 R1 V1 */

/* ============================================================
   EMDR therapy page — per-page styles, loaded AFTER eyecue.css.
   Reuses .ec-* tokens + classes from eyecue.css. Only adds
   section types the homepage does not already ship:
     - hero trust bar (payer chips under the hero CTA)
     - numbered phase steps ("how EMDR works")
     - "what EMDR helps with" condition card grid
     - differentiator bullets card
     - cost-flip insurance band
     - single large pull-quote review
   No raw hex / oklch: every colour is var(--ec-*) from eyecue.css.
   Type is pinned in px (html root is 10px), line-height >= 1.5.
   ============================================================ */

/* ---- Hero trust bar: payer chips + hours under the hero CTA ---- */
.emdr-hero-trust {
  display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: center;
  margin-top: 30px; max-width: 60ch;
}
.emdr-hero-trust .emdr-trust-chip {
  display: inline-flex; align-items: center; min-height: 32px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28);
  color: #fff; font-weight: 600; font-size: 14px; line-height: 1.3;
  padding: 6px 14px; border-radius: 999px; overflow-wrap: anywhere;
}

/* ---- Hero CTA pair: keep the secondary text link from breaking layout ---- */
.emdr-hero-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.emdr-hero-links .tf-btn-link { color: #fff; }
.emdr-hero-links .tf-btn-link span { font-size: 16px !important; }
.emdr-hero-links .tf-btn-link:hover { color: var(--ec-sand); }
.emdr-hero-links .tf-btn-link i { color: var(--ec-sand); }

/* ---- Generic prose intro block (centred or left) ---- */
.emdr-prose { max-width: 760px; }
.emdr-prose.emdr-prose-center { margin-left: auto; margin-right: auto; text-align: left; }
.emdr-prose h2 { margin-bottom: 18px; }
.emdr-prose p { color: var(--ec-body); font-size: 17px !important; line-height: 1.6; margin-bottom: 16px; }
.emdr-prose p a { color: var(--ec-clay); font-weight: 700; }
.emdr-prose p a:hover { color: var(--ec-ink); }
.emdr-prose .tf-btn { margin-top: 10px; }

/* ---- Section heading block reused across this page ---- */
.emdr-heading { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.emdr-heading h2 { margin-bottom: 14px; }
.emdr-heading p { color: var(--ec-body); font-size: 17px !important; line-height: 1.6; margin: 0; }

/* ============================================================
   SPLIT with prose + framed image (reuses .ec-media)
   ============================================================ */
.emdr-split .emdr-prose { padding-left: 0; }
.emdr-split-body { padding-right: 18px; }
@media (max-width: 991px) {
  .emdr-split-body { padding-right: 0; }
}

/* ============================================================
   NUMBERED PHASES — "how EMDR works"
   ============================================================ */
.emdr-phases { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
.emdr-phase {
  position: relative; display: flex; gap: 18px; align-items: flex-start;
  background: #fff; border: 1px solid var(--ec-line); border-radius: 16px;
  padding: 24px 26px; box-shadow: 0 2px 14px rgba(60,33,14,.05);
}
.emdr-phase-num {
  flex: 0 0 44px; width: 44px; height: 44px; display: inline-flex;
  align-items: center; justify-content: center; border-radius: 50%;
  background: var(--ec-clay); color: #fff; font-weight: 800; font-size: 18px;
}
.emdr-phase-body { min-width: 0; }
.emdr-phase-body h3 {
  color: var(--ec-ink); font-size: 19px !important; line-height: 1.3;
  margin: 4px 0 8px; overflow-wrap: anywhere;
}
.emdr-phase-body p { color: var(--ec-body); font-size: 17px !important; line-height: 1.6; margin: 0; }
@media (max-width: 767px) {
  .emdr-phases { grid-template-columns: 1fr; }
}

/* ============================================================
   COST-FLIP INSURANCE BAND (conditional coverage, never asserted)
   ============================================================ */
.emdr-cost { background: var(--ec-paper); }
.emdr-cost-card {
  background: #fff; border: 1px solid var(--ec-line); border-top: 4px solid var(--ec-clay);
  border-radius: var(--ec-radius); padding: 36px clamp(24px,4vw,48px);
  box-shadow: var(--ec-shadow); max-width: 920px; margin: 0 auto;
}
.emdr-cost-card .emdr-prose { max-width: 100%; }
.emdr-payer-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 22px; }
.emdr-payer-list li {
  list-style: none; background: var(--ec-paper); border: 1px solid var(--ec-line);
  color: var(--ec-ink); font-weight: 600; font-size: 14px !important; line-height: 1.4;
  padding: 8px 16px; border-radius: 999px;
}
.emdr-verify-note {
  color: var(--ec-body); font-size: 15px !important; line-height: 1.6;
  font-style: italic; margin: 4px 0 0;
}

/* ============================================================
   "WHAT EMDR HELPS WITH" — condition card grid (6)
   ============================================================ */
.emdr-help-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.emdr-help-card {
  background: #fff; border: 1px solid var(--ec-line); border-radius: 16px;
  padding: 28px 28px 30px; box-shadow: 0 2px 14px rgba(60,33,14,.05);
  transition: transform .35s var(--ec-ease), box-shadow .35s var(--ec-ease);
}
.emdr-help-card:hover { transform: translateY(-4px); box-shadow: var(--ec-shadow); }
.emdr-help-card h3 {
  color: var(--ec-ink); font-size: 20px !important; line-height: 1.3;
  margin: 0 0 10px; overflow-wrap: anywhere;
}
.emdr-help-card p { color: var(--ec-body); font-size: 17px !important; line-height: 1.6; margin: 0; }
@media (max-width: 991px) { .emdr-help-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 575px) { .emdr-help-grid { grid-template-columns: 1fr; } }

/* ============================================================
   DIFFERENTIATOR bullets card ("set by your clinician")
   ============================================================ */
.emdr-diff { background: var(--ec-paper); }
.emdr-diff-quote {
  color: var(--ec-ink); font-size: clamp(20px, 2.4vw, 26px) !important; line-height: 1.45;
  font-weight: 600; margin: 0 0 10px; overflow-wrap: anywhere;
}
.emdr-diff-attrib { color: var(--ec-clay); font-weight: 700; font-size: 15px !important; margin: 0 0 24px; }
.emdr-diff-card {
  background: #fff; border: 1px solid var(--ec-line); border-top: 4px solid var(--ec-clay);
  border-radius: 16px; padding: 30px 32px 32px; box-shadow: var(--ec-shadow);
}
.emdr-diff-list { list-style: none; margin: 0; padding: 0; }
.emdr-diff-list li {
  position: relative; color: var(--ec-ink); font-weight: 600; font-size: 17px !important; line-height: 1.55;
  padding: 14px 0 14px 30px; border-bottom: 1px solid var(--ec-line); overflow-wrap: anywhere;
}
.emdr-diff-list li:last-child { border-bottom: 0; }
.emdr-diff-list li::before {
  content: ""; position: absolute; left: 4px; top: 21px;
  width: 9px; height: 9px; border-radius: 50%; background: var(--ec-clay);
}
@media (max-width: 991px) {
  .emdr-diff-card { margin-top: 26px; }
}

/* ============================================================
   CTA BAND (full-bleed, centred, on the dark ink band)
   ============================================================ */
.emdr-ctaband { background: var(--ec-ink); }
.emdr-ctaband-inner { max-width: 760px; margin: 0 auto; text-align: center; padding: 0 8px; }
.emdr-ctaband-inner h2 { color: #fff; margin-bottom: 16px; font-size: clamp(30px,3.6vw,44px) !important; line-height: 1.15; overflow-wrap: anywhere; }
.emdr-ctaband-inner p { color: rgba(255,255,255,.9); font-size: 17px !important; line-height: 1.6; margin: 0 auto 26px; max-width: 58ch; }
.emdr-ctaband-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 24px; }
.emdr-ctaband-links .tf-btn-link { color: #fff; }
.emdr-ctaband-links .tf-btn-link span { font-size: 16px !important; }
.emdr-ctaband-links .tf-btn-link:hover { color: var(--ec-sand); }
.emdr-ctaband-links .tf-btn-link i { color: var(--ec-sand); }
.emdr-crisis-note {
  color: rgba(255,255,255,.82); font-size: 14px !important; line-height: 1.6;
  margin: 24px auto 0; max-width: 54ch; font-style: italic;
}
.emdr-crisis-note a { color: var(--ec-sand); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.emdr-crisis-note a:hover { color: #fff; }

/* ============================================================
   WIDE CTA BUTTONS — the theme pins .tf-btn to width:max-content,
   so a long label ("Call ... to verify your coverage") overflows
   narrow viewports. Cap these specific CTAs to the container and
   let the label wrap (centred) below the desktop breakpoint.
   ============================================================ */
.emdr-cost-card .tf-btn,
.emdr-ctaband-links .tf-btn {
  max-width: 100%;
}
.emdr-cost-card .tf-btn span,
.emdr-ctaband-links .tf-btn span {
  overflow-wrap: anywhere;
}
@media (max-width: 575px) {
  .emdr-cost-card .tf-btn,
  .emdr-ctaband-links .tf-btn {
    width: 100%;
  }
  .emdr-cost-card .tf-btn span,
  .emdr-ctaband-links .tf-btn span {
    white-space: normal; text-align: center; line-height: 1.35;
  }
}

/* ============================================================
   RESPONSIVE — guarantee no horizontal scroll, 1-col on mobile
   ============================================================ */
@media (max-width: 991px) {
  .emdr-split-body { padding-right: 0; }
}
@media (max-width: 575px) {
  .emdr-hero-trust { margin-top: 24px; }
  .emdr-cost-card { padding: 28px 22px; }
}
