/* ================================================================
   QUALZY — Use Cases Page
   ================================================================ */


/* HERO
   ---------------------------------------------------------------- */
.uc-hero {
  padding-top: 64px;
  background: var(--wh);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--rule);
}

.uc-hero::before {
  content: '';
  position: absolute;
  top: -160px; right: -180px;
  width: 620px; height: 620px;
  border-radius: 50%;
  background: var(--op);
  z-index: 0;
}

.uc-hero::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -80px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: var(--om);
  z-index: 0;
}

.uc-hi {
  max-width: 860px;
  margin: 0 auto;
  padding: 90px 48px 80px;
  text-align: center;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.uc-hi h1 {
  font-family: var(--font-display);
  font-size: clamp(44px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  color: var(--dk);
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.uc-hi h1 em { font-style: italic; color: var(--o); }

.uc-sub {
  font-size: 19px;
  color: var(--mid);
  line-height: 1.65;
  font-weight: 300;
  max-width: 520px;
  margin-bottom: 52px;
}


/* USE CASE SECTIONS
   ---------------------------------------------------------------- */
.uc-sec {
  border-bottom: 1px solid var(--rule);
}

.uc-sec--pale {
  background: var(--op);
}

.uc-sec--dark {
  background: var(--dk);
  border-color: rgba(255, 255, 255, 0.06);
}

.uc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Reverse: evidence left, content right */
.uc-grid--rev .uc-ev { order: -1; }

/* Section number (decorative background numeral) */
.uc-num {
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 900;
  color: var(--op);
  line-height: 1;
  margin-bottom: -8px;
  user-select: none;
  letter-spacing: -0.04em;
}

.uc-sec--dark .uc-num { color: rgba(255, 255, 255, 0.04); }
.uc-sec--pale .uc-num { color: rgba(232, 97, 44, 0.12); }

/* Section label overrides */
.uc-sec--dark .slbl { color: var(--ol); }
.uc-sec--dark .stit { color: #fff; }
.uc-sec--dark .sbod { color: rgba(255, 255, 255, 0.6); }


/* OUTCOMES LIST
   ---------------------------------------------------------------- */
.uc-outcomes {
  list-style: none;
  margin: 22px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.uc-outcomes li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--mid);
}

.uc-outcomes li::before {
  content: '→';
  color: var(--o);
  font-weight: 600;
  flex-shrink: 0;
  margin-top: 1px;
}

.uc-sec--dark .uc-outcomes li { color: rgba(255, 255, 255, 0.65); }


/* CLIENT CHIPS
   ---------------------------------------------------------------- */
.uc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.uc-chip {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--mu);
  background: #fff;
  border: 1.5px solid var(--rule);
  border-radius: 100px;
  padding: 4px 14px;
  transition: border-color var(--t-base), color var(--t-base);
}

.uc-sec--pale .uc-chip { background: var(--wh); }

.uc-sec--dark .uc-chip {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.5);
}

a.uc-chip {
  text-decoration: none;
}

a.uc-chip:hover {
  border-color: var(--o);
  color: var(--o);
  background: var(--op);
}

.uc-sec--pale a.uc-chip:hover {
  background: #fff;
}

.uc-sec--dark a.uc-chip:hover {
  border-color: var(--o);
  color: var(--ol);
  background: rgba(232, 97, 44, 0.15);
}

.uc-chips-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mu);
  margin-bottom: 8px;
}

.uc-sec--dark .uc-chips-label { color: rgba(255, 255, 255, 0.3); }


/* EVIDENCE COLUMN
   ---------------------------------------------------------------- */
.uc-ev {
  display: flex;
  flex-direction: column;
  gap: 20px;
}


/* QUOTE CARD
   ---------------------------------------------------------------- */
.uc-quote {
  background: #fff;
  border-radius: 12px;
  border-left: 4px solid var(--o);
  padding: 28px 28px 24px 24px;
  box-shadow: 0 4px 28px rgba(0, 0, 0, 0.07);
}

.uc-sec--dark .uc-quote {
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
  border-color: var(--o);
}

.uc-quote p {
  font-family: var(--font-quote);
  font-style: italic;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--dk);
  margin-bottom: 14px;
}

.uc-sec--dark .uc-quote p { color: rgba(255, 255, 255, 0.88); }

.uc-quote cite {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mu);
  font-style: normal;
}

.uc-sec--dark .uc-quote cite { color: rgba(255, 255, 255, 0.35); }


/* STAT HIGHLIGHTS
   ---------------------------------------------------------------- */
.uc-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.uc-stat {
  background: #fff;
  border: 1.5px solid var(--rule);
  border-radius: 10px;
  padding: 18px 14px;
  text-align: center;
}

.uc-sec--pale .uc-stat { background: var(--wh); }

.uc-sec--dark .uc-stat {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.09);
}

.uc-stat-n {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 900;
  color: var(--o);
  display: block;
  line-height: 1;
}

.uc-stat-l {
  font-size: 11.5px;
  color: var(--mu);
  margin-top: 6px;
  line-height: 1.4;
}

.uc-sec--dark .uc-stat-l { color: rgba(255, 255, 255, 0.4); }


/* TESTIMONIAL WALL
   ---------------------------------------------------------------- */
.uc-wall {
  background: var(--d2);
}

.uc-wall-hd {
  text-align: center;
  margin-bottom: 52px;
}

.uc-wall-hd .slbl { color: var(--ol); }
.uc-wall-hd .stit { color: #fff; }

.uc-wall-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.uc-wcard {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background var(--t-base);
}

.uc-wcard:hover { background: rgba(255, 255, 255, 0.08); }

.uc-wcard p {
  font-family: var(--font-quote);
  font-style: italic;
  font-size: 15.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 18px;
  flex: 1;
}

.uc-wcard cite {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  font-style: normal;
}


/* RESPONSIVE
   ---------------------------------------------------------------- */
@media (max-width: 900px) {
  .uc-hi { padding: 70px 24px 60px; }

  .uc-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Restore stacking order on mobile (evidence after content) */
  .uc-grid--rev .uc-ev { order: 0; }

  .uc-num { font-size: 56px; }

  .uc-stats { grid-template-columns: repeat(2, 1fr); }

  .uc-wall-grid {
    grid-template-columns: 1fr;
  }
}
