/* Use cases pages — shared styles */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --heading: 'Inter', sans-serif;
  --navy: #4a5468;
  --teal: #9890b8;
  --white: #ffffff;
  --off: #f4f2f8;
  --border: #dcdce8;
  --text: #2a2a3a;
  --muted: #5a5a72;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--heading);
  color: var(--text);
  background: var(--white);
}

body.uc-page nav {
  background: rgba(58, 66, 84, .97);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .08);
}
body.uc-page .nav-inner { border-bottom-color: transparent; }

nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 6%;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.nav-logo {
  font-size: 1.15rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--white); text-decoration: none;
}
.nav-logo span { color: #c4bce0; }
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  font-size: .72rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: rgba(255, 255, 255, .7);
  text-decoration: none; transition: color .2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }
.nav-cta {
  font-size: .72rem; font-weight: 600; letter-spacing: .12em;
  padding: 10px 22px; border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 2px; color: var(--white); text-decoration: none;
  transition: background .2s, border-color .2s;
}
.nav-cta:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .8); }

/* Page hero */
.uc-page-hero {
  margin-top: 72px;
  padding: 56px 3% 48px;
  background: #f8f7fc;
  color: var(--text);
}
.uc-page-hero-inner { max-width: 100%; margin: 0 auto; }

.uc-breadcrumb {
  font-size: .68rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; margin-bottom: 16px;
  color: var(--muted);
}
.uc-breadcrumb a {
  color: var(--navy); text-decoration: none;
}
.uc-breadcrumb a:hover { color: var(--text); }
.uc-breadcrumb span { margin: 0 10px; opacity: .45; }

.uc-page-hero h1 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 700; line-height: 1.15;
  letter-spacing: .01em;
  margin-bottom: 10px;
}
.uc-page-hero .lead {
  font-size: 1rem; font-weight: 300; line-height: 1.8;
  color: var(--muted); max-width: 520px;
}

/* Wide case study card */
.uc-case-section {
  padding: 0 3% 80px;
  background: #f8f7fc;
}
.uc-case-card {
  display: grid;
  grid-template-columns: 42% 58%;
  min-height: 520px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 60px rgba(0, 0, 0, .14), 0 2px 12px rgba(0, 0, 0, .08);
}

.uc-case-media {
  position: relative;
  background: linear-gradient(145deg, #c8ccd4 0%, #a8b0bc 50%, #909aaa 100%);
  min-height: 320px;
}
.uc-case-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.uc-case-media-placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: .65rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: rgba(255, 255, 255, .7);
  background: linear-gradient(145deg, #8a929e 0%, #6e7a92 100%);
}

.uc-case-panel {
  display: flex; flex-direction: column;
  padding: 48px 52px 52px;
  background: linear-gradient(160deg, #3a4254 0%, #323848 35%, #2a3040 70%, #242836 100%);
  color: #fff;
}

.uc-case-logo {
  font-size: .95rem; font-weight: 700;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .9);
  margin-bottom: 28px;
}
.uc-case-logo span {
  display: block;
  font-size: .62rem; font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .45);
  margin-top: 4px;
}

.uc-case-title {
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 700; line-height: 1.25;
  letter-spacing: .01em;
  margin-bottom: 28px;
  max-width: 520px;
}

.uc-case-tabs {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 28px;
}
.uc-case-tab {
  font-family: var(--heading);
  font-size: .72rem; font-weight: 600; letter-spacing: .08em;
  padding: 10px 22px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, .85);
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.uc-case-tab:hover {
  border-color: rgba(255, 255, 255, .6);
  color: #fff;
}
.uc-case-tab.active {
  background: #9890b8;
  border-color: #9890b8;
  color: #fff;
}

.uc-case-body {
  flex: 1;
  position: relative;
}
.uc-case-pane {
  display: none;
  animation: ucFadeIn .35s ease;
}
.uc-case-pane.active { display: block; }
.uc-case-pane p {
  font-size: .95rem; font-weight: 300; line-height: 1.85;
  color: rgba(255, 255, 255, .72);
  max-width: 540px;
}
.uc-case-pane p + p { margin-top: 14px; }

.uc-case-pane ul {
  list-style: none; display: flex; flex-direction: column; gap: 10px;
  margin-top: 4px;
}
.uc-case-pane ul li {
  font-size: .92rem; font-weight: 300; line-height: 1.7;
  color: rgba(255, 255, 255, .72);
  padding-left: 16px; position: relative;
}
.uc-case-pane ul li::before {
  content: ''; position: absolute; left: 0; top: .55em;
  width: 5px; height: 5px; border-radius: 50%;
  background: #9890b8;
}

.uc-case-metrics {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  margin-top: 8px;
}
.uc-case-metric {
  padding: 16px 14px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 10px; text-align: center;
}
.uc-case-metric strong {
  display: block;
  font-size: 1.4rem; font-weight: 700;
  color: #fff; line-height: 1; margin-bottom: 6px;
}
.uc-case-metric span {
  font-size: .65rem; font-weight: 500; letter-spacing: .04em;
  color: rgba(255, 255, 255, .5); line-height: 1.4;
}

@keyframes ucFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.uc-more-note {
  margin-top: 40px;
  padding: 48px 32px;
  text-align: center;
  border-radius: 16px;
  background: linear-gradient(135deg, #fff 0%, #f4f2f8 100%);
  border: 1px solid #dcdce8;
  box-shadow: 0 4px 24px rgba(74, 84, 104, .06);
}
.uc-more-inner {
  max-width: 380px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.uc-more-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(152, 144, 184, .15);
  border: 1px solid rgba(152, 144, 184, .35);
  color: #9890b8;
  margin-bottom: 4px;
}
.uc-more-icon svg { width: 20px; height: 20px; }
.uc-more-eyebrow {
  font-size: .65rem; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: #9890b8;
}
.uc-more-title {
  font-size: 1.15rem; font-weight: 700; letter-spacing: .01em;
  color: var(--text);
}
.uc-more-text {
  font-size: .9rem; font-weight: 300; line-height: 1.7;
  color: var(--muted);
}

/* CTA strip */
.uc-cta {
  padding: 56px 10%;
  background: linear-gradient(to right, #555f72 0%, #6e7a92 50%, #706e8e 100%);
  text-align: center;
}
.uc-cta-inner { max-width: 560px; margin: 0 auto; }
.uc-cta h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  font-weight: 700; color: #fff; margin-bottom: 12px;
}
.uc-cta p {
  font-size: .95rem; font-weight: 300; line-height: 1.75;
  color: rgba(255, 255, 255, .7); margin-bottom: 24px;
}
.uc-cta-btn {
  display: inline-block;
  font-size: .78rem; font-weight: 600; letter-spacing: .1em;
  padding: 13px 28px; color: #fff;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 8px; text-decoration: none;
  transition: background .2s;
}
.uc-cta-btn:hover { background: rgba(255, 255, 255, .22); }

/* Footer */
footer {
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, .06);
}
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 60px; padding: 64px 10% 48px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.footer-brand .nav-logo { display: block; margin-bottom: 18px; }
.footer-brand p {
  font-size: 1rem; font-weight: 300; line-height: 1.85;
  color: rgba(255, 255, 255, .35); max-width: 280px;
}
.footer-col h4 {
  font-size: .64rem; font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase; color: rgba(255, 255, 255, .3);
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col ul a {
  font-size: 1rem; font-weight: 300;
  color: rgba(255, 255, 255, .5); text-decoration: none;
  transition: color .2s;
}
.footer-col ul a:hover { color: var(--white); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 10%;
}
.footer-bottom p {
  font-size: .65rem; letter-spacing: .08em;
  color: rgba(255, 255, 255, .25);
}
.footer-social a {
  font-size: .65rem; letter-spacing: .1em;
  color: rgba(255, 255, 255, .3); text-decoration: none;
}
.footer-social a:hover { color: var(--teal); }

@media (max-width: 960px) {
  .uc-case-card { grid-template-columns: 1fr; }
  .uc-case-media { min-height: 240px; }
  .uc-case-panel { padding: 36px 28px 40px; }
  .uc-case-metrics { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  nav .nav-links, nav .nav-cta { display: none; }
  .uc-page-hero, .uc-case-section { padding-left: 6%; padding-right: 6%; }
  .uc-case-tabs { gap: 8px; }
  .uc-case-tab { padding: 8px 16px; font-size: .68rem; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}
