/* ============================================================
   Beyond Beauty Academy × Glowtech — "Pain" section
   Follows the hero. Warm cream ground, burgundy accents,
   dark "stakes" card echoing the hero's floating-card motif.
   .pain is the query container → reflows per artboard width.
   ============================================================ */

.pain {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  container-type: inline-size;
  font-family: var(--font-sans);
  direction: rtl;
  text-align: right;
  background: var(--gt-cream);
  color: var(--gt-ink);
}
.pain *, .pain *::before, .pain *::after { box-sizing: border-box; }

.pain .blob {
  position: absolute; border-radius: 50%; filter: blur(70px);
  pointer-events: none; z-index: 0;
}
.pain .blob-1 { width: 360px; height: 360px; background: #f3d5de; top: -130px; right: -90px; opacity: .55; }
.pain .blob-2 { width: 300px; height: 300px; background: #edc9d3; bottom: -140px; left: -80px; opacity: .4; }

.pain .inner {
  position: relative; z-index: 1;
  height: 100%;
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: 64px;
  align-items: center;
  padding: 64px 72px;
}

/* ---- Copy column ---- */
.pain .copy { min-width: 0; }
.pain .eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .05em;
  color: var(--gt-burgundy);
  margin-bottom: 18px;
}
.pain .eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gt-burgundy); }
.pain h2 {
  font-size: 44px; font-weight: 800; line-height: 1.1;
  letter-spacing: -0.02em; margin: 0 0 22px;
  text-wrap: balance;
}
.pain h2 em { font-style: normal; color: var(--gt-burgundy); }
.pain .lead {
  font-size: 19px; line-height: 1.6; color: var(--gt-body);
  margin: 0 0 26px; max-width: 560px;
}
.pain .lead b { color: var(--gt-burgundy-ink); font-weight: 700; }

/* ---- Empathy pull-quote ---- */
.pain .quote {
  position: relative;
  font-size: 21px; line-height: 1.5; font-weight: 600;
  color: var(--gt-ink);
  padding: 4px 20px 4px 0;
  border-right: 3px solid var(--gt-burgundy);
  margin: 0 0 30px; max-width: 560px;
}
.pain .quote b { color: var(--gt-burgundy); }

/* ---- Bridge line ---- */
.pain .bridge {
  display: inline-flex; align-items: center; gap: 13px;
  font-size: 24px; font-weight: 800; color: var(--gt-burgundy-ink);
  letter-spacing: -0.01em;
}
.pain .bridge .ar {
  width: 36px; height: 36px; flex: none;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--gt-burgundy); color: #fff;
  box-shadow: 0 8px 18px rgba(184,51,106,.32);
}
.pain .bridge .ar svg { width: 19px; height: 19px; }

/* ---- Visual column ---- */
.pain .visual {
  position: relative; align-self: stretch;
  display: flex; flex-direction: column; justify-content: center; gap: 22px;
}
.pain .photo {
  width: 100%; flex: 1 1 auto; min-height: 300px;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: linear-gradient(155deg, #f6d8e0 0%, #efe4d6 55%, #fff6e8 100%);
  box-shadow: 0 28px 64px rgba(110,28,64,.20), 0 4px 12px rgba(110,28,64,.10);
}
.pain .photo image-slot { width: 100%; height: 100%; display: block; }

/* Dark "stakes" card — sits below the photo in the visual column */
.pain .stakes {
  position: static;
  width: 100%;
  background: var(--gt-burgundy-ink);
  color: var(--gt-cream);
  border-radius: var(--r-lg);
  padding: 22px 22px 24px;
  box-shadow: 0 22px 48px rgba(45,18,30,.38);
}
.pain .stakes .st-title {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 700; color: #fff;
  margin-bottom: 16px; line-height: 1.35;
}
.pain .stakes .st-title svg { width: 20px; height: 20px; flex: none; color: var(--gt-pink); }
.pain .escalate { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
.pain .esc-step {
  display: flex; align-items: center; gap: 11px;
  font-size: 15px; font-weight: 700;
  padding: 12px 14px; border-radius: 11px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,246,232,.95);
}
.pain .esc-step .esc-ic {
  width: 20px; height: 20px; flex: none;
  display: grid; place-items: center; border-radius: 50%;
  background: rgba(255,255,255,.14); color: #fff;
}
.pain .esc-step .esc-ic svg { width: 12px; height: 12px; }
.pain .esc-arrow {
  display: grid; place-items: center;
  height: 16px; color: rgba(255,210,222,.6);
}
.pain .esc-arrow svg { width: 16px; height: 16px; }
/* severity ramp */
.pain .esc-step.sev-2 {
  background: rgba(214,69,90,.13);
  border-color: rgba(214,69,90,.30);
}
.pain .esc-step.sev-2 .esc-ic { background: rgba(214,69,90,.45); }
.pain .esc-step.sev-3 {
  background: rgba(214,69,90,.22);
  border-color: rgba(214,69,90,.60);
  color: #ffdde2;
  font-weight: 800;
}
.pain .esc-step.sev-3 .esc-ic { background: var(--gt-danger); }

/* ============================================================
   MOBILE — ≤ 560px artboard width
   ============================================================ */
@container (max-width: 560px) {
  .pain .blob-1 { width: 240px; height: 240px; top: -110px; right: -90px; }
  .pain .blob-2 { display: none; }
  .pain .inner {
    display: flex; flex-direction: column; align-items: stretch;
    gap: 22px; padding: 34px 22px 38px; height: auto; min-height: 100%;
  }
  .pain .copy { display: contents; }
  .pain .eyebrow { order: 1; margin: 0; }
  .pain h2 { order: 2; font-size: 29px; line-height: 1.15; margin: 0; }
  .pain .lead { order: 3; font-size: 16.5px; margin: 0; max-width: none; }
  .pain .visual { order: 4; align-self: stretch; display: block; height: auto; }
  .pain .photo { height: 200px; }
  .pain .stakes {
    position: static; width: 100%; margin-top: 16px;
    left: auto; bottom: auto;
  }
  .pain .quote { order: 5; font-size: 18px; margin: 0; max-width: none; }
  .pain .bridge { order: 6; font-size: 21px; }
}
