/* Couple relationship test — warm accents on site gold theme */

.couple-relationship-test-page {
  --couple-rose: #c9a99a;
  --couple-terracotta: #a67c6d;
  --couple-milk: #f5f1ed;
  --couple-header-offset: 78px;
  --couple-touch-min: 48px;
  overflow-x: clip;
}

.couple-relationship-test-page .site-header {
  padding-top: env(safe-area-inset-top, 0);
}

.couple-test-section {
  padding-bottom: calc(4rem + env(safe-area-inset-bottom, 0));
}

.couple-test-section .container {
  padding-left: max(1rem, env(safe-area-inset-left, 0));
  padding-right: max(1rem, env(safe-area-inset-right, 0));
}

.couple-test-soft {
  padding: clamp(1.25rem, 4vw, 2rem);
}

.couple-test-soft .couple-test-intro p,
.couple-test-soft .couple-test-block p,
.couple-test-soft .couple-test-mirror p,
.couple-test-soft .couple-test-disclaimer,
.couple-test-soft .couple-test-contacts p {
  color: var(--text-muted);
}

.couple-test-soft h2,
.couple-test-soft h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--gold-pale);
}

.couple-test-progress-wrap {
  position: sticky;
  z-index: 20;
  top: calc(var(--couple-header-offset) + env(safe-area-inset-top, 0));
  margin: 0 0 1.25rem;
  padding: 0.35rem 0 0.5rem;
  background: linear-gradient(to bottom, rgba(10, 10, 10, 0.92) 65%, rgba(10, 10, 10, 0));
}

.couple-test-progress__label {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--couple-rose);
  margin-bottom: 0.45rem;
}

.couple-test-soft .test-progress__bar {
  background: linear-gradient(90deg, var(--couple-terracotta), var(--gold-bright, #f5d76e));
}

.couple-test-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.couple-test-factor {
  margin-bottom: 1.15rem;
}

.couple-test-factor__head {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: clamp(0.82rem, 2.6vw, 0.92rem);
  margin-bottom: 0.35rem;
  color: var(--gold-pale);
}

.couple-test-factor__head span:first-child {
  flex: 1;
  min-width: 0;
  line-height: 1.35;
}

.couple-test-factor__head span:last-child {
  flex-shrink: 0;
  font-weight: 600;
  color: var(--couple-rose);
}

.couple-test-factor__bar {
  height: 8px;
  background: rgba(201, 169, 154, 0.2);
  border-radius: 999px;
  overflow: hidden;
}

.couple-test-factor__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--couple-terracotta), var(--couple-rose));
  border-radius: 999px;
  transition: width 0.6s ease;
}

.couple-test-factor__level {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

.couple-test-focus,
.couple-test-mirror,
.couple-test-influence,
.couple-test-missing,
.couple-test-create,
.couple-test-reflect,
.couple-test-program {
  margin: 1.5rem 0;
  padding: 1.2rem 1.25rem;
  border: 1px solid rgba(201, 169, 154, 0.25);
  background: rgba(201, 169, 154, 0.06);
}

.couple-test-focus h3,
.couple-test-influence h3,
.couple-test-missing h3,
.couple-test-create h3,
.couple-test-program h3 {
  margin: 0 0 0.65rem;
  font-size: 1.15rem;
}

.couple-test-focus p,
.couple-test-mirror p {
  margin: 0 0 0.65rem;
  line-height: 1.55;
}

.couple-test-missing ul,
.couple-test-influence ul,
.couple-test-program ul {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.couple-test-reflect {
  border-left: 3px solid var(--couple-terracotta);
  font-style: italic;
  color: var(--gold-pale);
  line-height: 1.5;
}

.couple-test-program__price {
  color: var(--couple-rose);
  font-size: 1.05rem;
  margin: 0.5rem 0 1rem;
}

.couple-test-disclaimer {
  font-size: 0.82rem;
  line-height: 1.55;
  margin-top: 1.5rem;
  padding: 1rem;
  border: 1px solid rgba(212, 175, 55, 0.12);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text-muted);
}

.couple-test-contacts {
  margin-top: 1.5rem;
}

.couple-test-contacts__phone {
  margin-top: 1rem;
  color: var(--text-muted);
}

.couple-test-actions .btn {
  min-height: var(--couple-touch-min);
}

.couple-test-program .couple-test-contacts {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(201, 169, 154, 0.2);
}

@media (max-width: 599px) {
  .couple-relationship-test-page {
    --couple-header-offset: 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .couple-test-factor__fill {
    transition: none;
  }
}
