/* =========================================================
  New Life Strategies — Case Study Page
  ========================================================= */

:root {
  --clr-primary: #a26a84;
  --clr-primary-dark: #7f4870;
  --clr-primary-light: #c597ad;
  --clr-purple-dark: #9b5c79;
  --clr-purple-mid: #494949;
  --clr-bg: #f8f5fc;
  --clr-accent-light: #f8ecf1;
  --clr-border: #dbc0cc;
  --clr-gradient: linear-gradient(135deg, #c28ea7 0%, #a26a84 100%);
  --clr-gradient-rev: linear-gradient(135deg, #a26a84 0%, #c597ad 100%);
}

.spacer {
  height: 92px;
}

/* =========================================================
   HERO
   ========================================================= */
.cs-hero {
  background: var(--clr-gradient);
  padding: 4.5rem 0 5rem;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cs-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.cs-hero__inner {
  position: relative;
  z-index: 1;
}

.cs-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.cs-hero__breadcrumb a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  transition: color 0.2s;
}
.cs-hero__breadcrumb a:hover {
  color: #fff;
}
.cs-hero__breadcrumb .sep {
  opacity: 0.5;
}

.cs-hero__badges {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.cs-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
}
.cs-badge--type {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.cs-badge--date {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cs-hero__title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 1rem;
  color: #fff;
}
.cs-hero__subtitle {
  font-size: 1.1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
  max-width: 680px;
  margin-bottom: 2rem;
}
.cs-hero__interview {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 100px;
  padding: 8px 20px 8px 14px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.92);
}

/* =========================================================
   STAT STRIP
   ========================================================= */
.cs-stat-strip {
  background: var(--clr-purple-dark);
  padding: 2.25rem 0;
}
.cs-stat {
  text-align: center;
  padding: 0.75rem 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}
.cs-stat:last-child {
  border-right: none;
}
.cs-stat__value {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.5px;
}
.cs-stat__value em {
  font-style: normal;
  color: var(--clr-primary-light);
}
.cs-stat__label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.58);
  margin-top: 5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}
@media (max-width: 767px) {
  .cs-stat {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .cs-stat:last-child {
    border-bottom: none;
  }
}

/* =========================================================
   MAIN LAYOUT
   ========================================================= */
.cs-body {
  background: var(--clr-bg);
  padding: 3.5rem 0 5rem;
}
.cs-content {
  max-width: 820px;
}
.cs-sidebar {
  position: sticky;
  top: 110px;
}

/* =========================================================
   SECTION LABELS & TITLES
   ========================================================= */
.cs-section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-primary);
  margin-bottom: 0.5rem;
}
.cs-section-label::before {
  content: '';
  display: block;
  width: 18px;
  height: 3px;
  border-radius: 2px;
  background: var(--clr-primary);
  flex-shrink: 0;
}
.cs-section-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--clr-purple-dark);
  margin-bottom: 1.1rem;
  line-height: 1.3;
}
.cs-prose {
  font-size: 0.97rem;
  line-height: 1.78;
  color: var(--clr-purple-mid);
}
.cs-prose p {
  margin-bottom: 1rem;
}
.cs-prose p:last-child {
  margin-bottom: 0;
}

/* =========================================================
   CARDS
   ========================================================= */
.cs-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 2px 18px rgba(127, 72, 112, 0.07);
  margin-bottom: 1.75rem;
  border: 1px solid rgba(162, 106, 132, 0.08);
}
.cs-card:last-child {
  margin-bottom: 0;
}

.cs-exec-summary {
  border-left: 4px solid var(--clr-primary);
  background: linear-gradient(135deg, #fff 0%, #fdf5f8 100%);
  border-radius: 0 16px 16px 0;
}

/* =========================================================
  RESULTS GRID (2-column responsive table)
  ========================================================= */
.cs-results-grid {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--clr-border);
  border-radius: 14px;
  overflow: hidden;
}
.cs-results-row {
  display: grid;
  grid-template-columns: 1.2fr 2.2fr;
  background: #fff;
}
.cs-results-row--head {
  background: var(--clr-purple-dark);
}
.cs-results-cell {
  padding: 13px 14px;
  font-size: 13px;
  color: var(--clr-purple-mid);
  line-height: 1.45;
  border-right: 1px solid #f0e8f5;
}
.cs-results-cell:last-child {
  border-right: none;
}
.cs-results-row--head .cs-results-cell {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  border-right-color: rgba(255, 255, 255, 0.1);
}
.cs-results-cell--metric {
  font-weight: 600;
  color: var(--clr-purple-dark);
}
.cs-results-cell--impact {
  font-weight: 700;
  color: var(--clr-primary-dark);
}
.cs-results-row:nth-child(even):not(.cs-results-row--head) {
  background: #fdf9fc;
}

@media (max-width: 699px) {
  .cs-results-row {
    grid-template-columns: 1fr;
  }
  .cs-results-row--head {
    display: none;
  }
  .cs-results-cell {
    border-right: none;
    border-bottom: 1px solid #f0e8f5;
    padding: 10px 14px;
  }
  .cs-results-cell:last-child {
    border-bottom: none;
  }
  .cs-results-cell[data-label]::before {
    content: attr(data-label);
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--clr-primary);
    margin-bottom: 3px;
  }
}

/* =========================================================
   BLOCKQUOTES
   ========================================================= */
.cs-quote {
  position: relative;
  background: var(--clr-accent-light);
  border-radius: 16px;
  padding: 1.75rem 2rem 1.5rem 2.5rem;
  margin: 0 0 1.75rem;
  border-left: 4px solid var(--clr-primary);
}
.cs-quote::before {
  content: '\201C';
  position: absolute;
  top: -4px;
  left: 14px;
  font-size: 4.5rem;
  line-height: 1;
  color: var(--clr-primary-light);
  font-family: Georgia, serif;
  opacity: 0.45;
  pointer-events: none;
}
.cs-quote__text {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--clr-purple-dark);
  font-style: italic;
  font-weight: 500;
  margin-bottom: 0.75rem;
}
.cs-quote__attribution {
  font-size: 13px;
  font-weight: 600;
  color: var(--clr-primary-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}
.cs-quote__attribution::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--clr-primary);
  border-radius: 2px;
  flex-shrink: 0;
}

/* =========================================================
   PAIN POINTS
   ========================================================= */
.cs-pain-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.cs-pain-list li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--clr-purple-mid);
}
.cs-pain-list li i {
  flex-shrink: 0;
  color: #c9566a;
  margin-top: 3px;
  font-size: 0.8rem;
}

/* =========================================================
   WORKFLOW STEPS
   ========================================================= */
.cs-steps {
  display: flex;
  flex-direction: column;
  margin-top: 1rem;
}
.cs-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  position: relative;
  padding-bottom: 1.4rem;
}
.cs-step:last-child {
  padding-bottom: 0;
}
.cs-step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 40px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, #dbc0cc, transparent);
}
.cs-step__num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--clr-gradient-rev);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  position: relative;
  z-index: 1;
  box-shadow: 0 2px 8px rgba(127, 72, 112, 0.22);
}
.cs-step__body {
  padding-top: 8px;
  flex: 1;
}
.cs-step__body p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--clr-purple-mid);
  margin: 0;
}

/* =========================================================
   ADOPTION LIST
   ========================================================= */
.cs-adoption-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.cs-adoption-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--clr-purple-mid);
  background: var(--clr-bg);
  border-radius: 10px;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(162, 106, 132, 0.1);
}
.cs-adoption-list li i {
  color: var(--clr-primary);
  font-size: 0.9rem;
  margin-top: 3px;
  flex-shrink: 0;
}
.cs-adoption-list li strong {
  color: var(--clr-purple-dark);
}

/* =========================================================
   OUTCOMES
   ========================================================= */
.cs-outcome {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  padding: 1.35rem 1.5rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(162, 106, 132, 0.1);
  box-shadow: 0 2px 12px rgba(127, 72, 112, 0.05);
  margin-bottom: 0.85rem;
  transition:
    box-shadow 0.22s ease,
    transform 0.22s ease;
}
.cs-outcome:last-child {
  margin-bottom: 0;
}
.cs-outcome:hover {
  box-shadow: 0 8px 28px rgba(127, 72, 112, 0.11);
  transform: translateY(-2px);
}
.cs-outcome__num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--clr-gradient-rev);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 2px 8px rgba(127, 72, 112, 0.2);
}
.cs-outcome__body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--clr-purple-dark);
  margin-bottom: 0.4rem;
  line-height: 1.3;
}
.cs-outcome__body p {
  font-size: 0.92rem;
  line-height: 1.72;
  color: var(--clr-purple-mid);
  margin: 0;
}

/* =========================================================
   LESSONS LIST
   ========================================================= */
.cs-lessons-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.cs-lessons-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--clr-purple-mid);
}
.cs-lessons-list li i {
  flex-shrink: 0;
  color: var(--clr-primary);
  margin-top: 4px;
  font-size: 0.75rem;
}

/* =========================================================
   SIDEBAR WIDGETS
   ========================================================= */
.cs-widget {
  background: #fff;
  border-radius: 14px;
  padding: 1.4rem 1.5rem;
  box-shadow: 0 2px 16px rgba(127, 72, 112, 0.07);
  margin-bottom: 1.25rem;
  border: 1px solid rgba(162, 106, 132, 0.08);
}
.cs-widget:last-child {
  margin-bottom: 0;
}
.cs-widget__title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--clr-primary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 7px;
}
.cs-widget__text {
  color: var(--clr-purple-mid);
  line-height: 1.55;
}
.cs-metric-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  padding: 0.45rem 0;
  border-bottom: 1px solid #f5eef8;
  font-size: 13px;
}
.cs-metric-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.cs-metric-row__label {
  color: var(--clr-purple-mid);
  flex: 1;
  line-height: 1.45;
}
.cs-metric-row__value {
  font-weight: 700;
  color: var(--clr-primary-dark);
  white-space: nowrap;
}

.cs-widget__cta-btn {
  display: block;
  text-align: center;
  background: var(--clr-gradient-rev);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 100px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.cs-widget__cta-btn:hover {
  opacity: 0.86;
  color: #fff;
  text-decoration: none;
}
.cs-widget__cta-btn--outline {
  display: block;
  text-align: center;
  background: transparent;
  color: var(--clr-primary-dark);
  font-size: 14px;
  font-weight: 600;
  padding: 11px 20px;
  border-radius: 100px;
  text-decoration: none;
  border: 2px solid var(--clr-primary);
  margin-top: 0.6rem;
  transition: background 0.2s ease;
}
.cs-widget__cta-btn--outline:hover {
  background: var(--clr-accent-light);
  color: var(--clr-primary-dark);
  text-decoration: none;
}

.cs-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.cs-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
  background: var(--clr-accent-light);
  color: var(--clr-primary-dark);
  border: 1px solid var(--clr-border);
}

/* =========================================================
   BACK LINK
   ========================================================= */
.cs-back-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--clr-primary-dark);
  text-decoration: none;
  margin-bottom: 1.5rem;
  transition: gap 0.2s ease;
}
.cs-back-link:hover {
  gap: 4px;
  color: var(--clr-primary);
  text-decoration: none;
}

/* =========================================================
   DISCLAIMER
   ========================================================= */
.cs-disclaimer {
  background: #fff;
  border-radius: 10px;
  padding: 1rem 1.25rem;
  font-size: 12px;
  line-height: 1.65;
  color: #8a7e92;
  border: 1px dashed var(--clr-border);
  margin-top: 1.75rem;
}

/* =========================================================
   CTA SECTION
   ========================================================= */
.cs-cta {
  background: var(--clr-purple-dark);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cs-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--clr-gradient);
  opacity: 0.3;
}
.cs-cta__inner {
  position: relative;
  z-index: 1;
}
.cs-cta h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.75rem;
  letter-spacing: -0.3px;
}
.cs-cta p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 480px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}
.cs-cta__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.cs-cta__btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--clr-primary-dark);
  font-size: 14px;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 100px;
  text-decoration: none;
  transition: background 0.2s ease;
}
.cs-cta__btn-primary:hover {
  background: var(--clr-accent-light);
  color: var(--clr-primary-dark);
  text-decoration: none;
}
.cs-cta__btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: 100px;
  text-decoration: none;
  border: 2px solid rgba(255, 255, 255, 0.4);
  transition:
    border-color 0.2s,
    background 0.2s;
}
.cs-cta__btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  text-decoration: none;
}

/* =========================================================
   DIVIDER
   ========================================================= */
.cs-divider {
  border: none;
  height: 1px;
  background: #f0e8f5;
  margin: 1.75rem 0;
}

.gtm-noscript-frame {
  display: none;
  visibility: hidden;
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  .cs-hero *,
  .cs-hero *::before,
  .cs-hero *::after,
  .cs-stat-strip *,
  .cs-stat-strip *::before,
  .cs-stat-strip *::after,
  .cs-body *,
  .cs-body *::before,
  .cs-body *::after,
  .cs-cta *,
  .cs-cta *::before,
  .cs-cta *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
