/**
 * emdr-lgbtq.css — Inspire Recovery Design System
 * /emdr-for-lgbtq-people/ (WordPress Page ID 2398)
 *
 * Foundation: main.css (tokens · base · layout · typography · components · forms)
 * Visual references — all patterns drawn from the approved trauma/meth cornerstone system:
 *   S1 Hero           → two-column variant: content left + compact Form 6 right (CRO test)
 *   S2 LGBTQ Context  → trauma-cornerstone.css (.tit-context / .section-brown)
 *   S3 What EMDR Is   → trauma-cornerstone.css (.tit-what-tic pattern)
 *   S4 Addresses      → trauma-cornerstone.css (.tit-recognition pattern)
 *   S5 Programs       → trauma-cornerstone.css (.tit-programs pattern)
 *   Final CTA         → shared component
 *
 * No new colors, button styles, or design tokens are introduced here.
 * All values reference CSS custom properties from tokens.css.
 * Hero form layout is the single intentional CRO experiment on this page only.
 */


/* ══════════════════════════════════════════════════════════════
   S1 — HERO
   Aqua, two-column: content (58%) left · compact Form 6 card (42%) right.
   CRO experiment: compact form in hero — this page only.
   ══════════════════════════════════════════════════════════════ */

.elt-hero {
  background: var(--brand-aqua);
}

.elt-hero-grid {
  display: grid;
  grid-template-columns: 58fr 42fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.elt-hero-content h1 {
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  line-height: 1.1;
  margin-bottom: 18px;
}

.elt-hero-content .lead {
  max-width: 54ch;
  margin-bottom: 28px;
  color: var(--text-primary);
}

.elt-hero .btn             { background: #fff; color: var(--ink); }
.elt-hero .btn:hover       { background: #EEF2F1; transform: translateY(-1px); }
.elt-hero .btn.ghost       { background: transparent; color: var(--ink); border-color: rgba(22, 32, 31, .44); }
.elt-hero .btn.ghost:hover { background: rgba(22, 32, 31, .07); transform: none; }

.elt-hero-form {
  background: #fff;
  border-radius: var(--r-sm);
  padding: clamp(24px, 3vw, 36px);
  box-shadow: 0 4px 28px rgba(0, 0, 0, .11);
}

.elt-hero-form-heading {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
  line-height: 1.3;
}

.elt-hero-form-sub {
  font-size: .85rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin-bottom: 16px;
}


/* ══════════════════════════════════════════════════════════════
   S2 — WHY LGBTQ CONTEXT MATTERS
   Brown background, centered prose.
   Pattern: .tit-context / .section-brown (trauma-cornerstone.css)
   ══════════════════════════════════════════════════════════════ */

.elt-context { text-align: center; }

.elt-context-inner {
  max-width: 1060px;
  margin: 0 auto;
}

.elt-context h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: #fff;
  margin-bottom: 20px;
  text-wrap: balance;
}

.elt-context .eyebrow {
  color: rgba(255, 255, 255, .75);
  justify-content: center;
}

.elt-context .eyebrow::before { background: var(--accent-trans-pink); }

.elt-context .lead {
  color: rgba(255, 255, 255, .85);
  max-width: 62ch;
  margin: 0 auto 20px;
}

.elt-context p {
  font-size: .95rem;
  color: rgba(255, 255, 255, .8);
  line-height: 1.65;
  margin-bottom: 20px;
  text-align: center;
}


/* ══════════════════════════════════════════════════════════════
   S3 — WHAT EMDR IS
   White, two-column text grid (sticky heading left, prose right).
   Pattern: .tit-what-tic (trauma-cornerstone.css)
   ══════════════════════════════════════════════════════════════ */

.elt-what-emdr { background: #fff; }

.elt-what-emdr-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.elt-what-emdr-grid > .reveal:first-child {
  position: sticky;
  top: 100px;
}

.elt-what-emdr-grid h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  line-height: 1.18;
  margin-bottom: 0;
}

.elt-what-emdr-content .lead {
  margin-bottom: 24px;
  color: var(--text-secondary);
}

.elt-what-emdr-content p {
  font-size: .95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 18px;
}


/* ══════════════════════════════════════════════════════════════
   S4 — WHAT EMDR CAN HELP ADDRESS
   Soft-blue, 3-column narrative grid.
   Pattern: .tit-recognition (trauma-cornerstone.css)
   ══════════════════════════════════════════════════════════════ */

.elt-addresses { background: var(--surface-soft-blue); }

.elt-addresses-intro {
  max-width: 760px;
  margin: 0 auto var(--space-lg);
  text-align: center;
}

.elt-addresses-intro .eyebrow { justify-content: center; }

.elt-addresses-intro h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 16px;
}

.elt-addresses-intro .lead {
  max-width: 62ch;
  margin: 0 auto;
}

.elt-addresses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 56px);
}

.elt-addresses-col h3 {
  font-size: 1.05rem;
  margin-bottom: 12px;
  color: var(--brand-aqua-hover);
}

.elt-addresses-col p {
  font-size: .95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 14px;
}

.elt-addresses-col p:last-child { margin-bottom: 0; }


/* ══════════════════════════════════════════════════════════════
   S5 — EMDR WITHIN TREATMENT AT INSPIRE RECOVERY
   White, two-column prose grid + trust badges + inline CTA.
   Pattern: .tit-programs (trauma-cornerstone.css)
   ══════════════════════════════════════════════════════════════ */

.elt-programs { background: #fff; border-top: 1px solid var(--border-light); }

.elt-programs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.elt-programs-grid > .reveal:first-child {
  position: sticky;
  top: 100px;
}

.elt-programs-grid h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  line-height: 1.18;
  margin-bottom: 16px;
}

.elt-programs-item {
  padding: 28px 0;
  border-bottom: 1px solid var(--border-light);
}

.elt-programs-item:first-child { padding-top: 0; }

.elt-programs-item h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.elt-programs-item p {
  font-size: .95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}

.elt-programs-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border-light);
}

.elt-trust-badge {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--brand-aqua-hover);
}

.elt-trust-sep {
  color: var(--border-light);
  font-weight: 400;
}

.elt-programs-cta { padding-top: 32px; }

.elt-programs-cta p {
  font-size: .95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.elt-programs-cta .actions { flex-wrap: wrap; }


/* ══════════════════════════════════════════════════════════════
   FORM 6 — HERO CARD OVERRIDES (page-specific, scoped to .elt-hero-form)
   Form 6's own custom CSS sets: .fluentform .ff-el-group { display:inline }
   This overrides Fluent Forms' default display:none on .hiddenfield containers,
   exposing tracking/CRM fields to visitors.
   These rules restore correct hiding ONLY within the hero form card.
   Form 6's configuration, integrations, and field values are unchanged.
   ══════════════════════════════════════════════════════════════ */

/* Hide all tracking/routing field containers within the hero form */
.elt-hero-form .ff-el-group.hiddenfield,
.elt-hero-form .hiddenfield {
  display: none !important;
  visibility: hidden !important;
}

/* Restore block display for visible field containers (overrides .ff-el-group { display:inline }) */
.elt-hero-form .ff-el-group:not(.hiddenfield) {
  display: block !important;
}

/* Submit button — matches approved .btn primary system (components.css lines 33-56).
   !important required throughout: Fluent Forms' own CSS has higher specificity on these properties. */
.elt-hero-form .ff-btn-submit {
  background: var(--brand-aqua) !important;   /* #73D7EE — matches .btn default */
  color: var(--text-primary) !important;       /* #1E1A17 — dark ink; white fails AA on #73D7EE */
  border: 2px solid transparent !important;
  border-radius: 999px !important;             /* pill — matches .btn border-radius */
  padding: 11px 24px !important;
  font-family: inherit !important;
  font-size: .875rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.07em !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  width: 100% !important;
  margin-top: 4px !important;
  transition: background .2s, transform .2s !important;
  line-height: 1.4 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 52px !important;
}

.elt-hero-form .ff-btn-submit:hover {
  background: #5BBFD6 !important;             /* matches .btn:hover */
  transform: translateY(-1px) !important;
}

.elt-hero-form .ff-btn-submit:focus-visible {
  outline: 3px solid var(--brand-aqua-hover) !important;
  outline-offset: 3px !important;
}

/* Tighten form field spacing within compact hero card */
.elt-hero-form .ff-el-group { margin-bottom: 10px; }
.elt-hero-form .ff-el-group:last-of-type { margin-bottom: 0; }


/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */

@media (max-width: 960px) {
  .elt-hero-grid           { grid-template-columns: 1fr; gap: 32px; }
  .elt-hero-form           { max-width: 520px; }
  .elt-what-emdr-grid      { grid-template-columns: 1fr; gap: 32px; }
  .elt-what-emdr-grid > .reveal:first-child { position: static; }
  .elt-programs-grid       { grid-template-columns: 1fr; gap: 32px; }
  .elt-programs-grid > .reveal:first-child { position: static; }
}

@media (max-width: 900px) {
  .elt-addresses-grid      { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 580px) {
  .elt-addresses-grid      { grid-template-columns: 1fr; }
}
