/**
 * TWC Differentiators Block Styles
 */

.twc-differentiators {
  --twc-dark-navy:  #060f1d;
  --twc-white:      #f0f2f5;
  --twc-grey:       #8a96a8;
  --twc-accent:     #0976bb;

  position: relative;
  z-index: 2;
  padding: 120px 24px;
  background: rgba(9, 124, 195, 0.02);
  border-top:    1px solid rgba(9, 124, 195, 0.06);
  border-bottom: 1px solid rgba(9, 124, 195, 0.06);
}

.twc-diff__inner {
  max-width: 900px;
  margin: 0 auto;
}

/* ─── Item row ─── */
.twc-diff__item {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 64px;
}

.twc-diff__item:last-child {
  margin-bottom: 0;
}

/* ─── Number badge ─── */
.twc-diff__number {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  flex-shrink: 0;
  background: linear-gradient(
    135deg,
    rgba(9, 124, 195, 0.15),
    rgba(9, 124, 195, 0.05)
  );
  border: 1px solid rgba(9, 124, 195, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--twc-accent);
}

/* ─── Content ─── */
.twc-diff__content {
  flex: 1;
  min-width: 0;
}

.twc-diff__headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--twc-white);
  margin: 0 0 8px;
  line-height: 1.2;
}

.twc-diff__body {
  font-size: 16px;
  color: var(--twc-grey);
  line-height: 1.7;
  margin: 0;
  font-family: 'DM Sans', sans-serif;
}

/* ─── Scroll reveal (theme.js) ─── */
.twc-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1),
    transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.twc-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.block-editor .twc-reveal {
  opacity: 1;
  transform: none;
}

/* ─── Responsive ─── */
@media (max-width: 600px) {
  .twc-diff__item {
    flex-direction: column;
    gap: 16px;
  }

  .twc-differentiators {
    padding: 80px 24px;
  }
}
