/* ============================================================
   case-studies-v2.css — Page-specific styles for case-studies.html
   Depends on: home-v2.css (tokens, nav, footer, buttons, sections)
   ============================================================ */

/* ── SECTION UTILITIES ── */
.section--sm { padding: 3.5rem 0; }

/* ── PAGE HERO ── */
.page-hero {
  padding: 3.5rem 0 3rem;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 60% 120%, rgba(0,119,204,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--t);
}

.breadcrumb a:hover { color: var(--accent); }

.breadcrumb__sep {
  color: var(--border);
  font-size: 0.75rem;
}

.page-hero__eyebrow {
  display: inline-block;
  font-size: 0.725rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.page-hero__title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-strong);
  letter-spacing: -0.03em;
  margin-bottom: 0.875rem;
}

.page-hero__subtitle {
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.72;
  max-width: 560px;
}

/* ── SECTION HEADER BEM ── */
.section-header__label {
  display: inline-block;
  font-size: 0.725rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-header__title {
  font-size: clamp(1.75rem, 3.5vw, 2.375rem);
  font-weight: 800;
  color: var(--text-strong);
  line-height: 1.18;
  letter-spacing: -0.028em;
  margin-bottom: 0.875rem;
}

.section-header__desc {
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.72;
}

/* ── INDUSTRY EXPERIENCE ── */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.industry-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
}

.industry-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: var(--radius) var(--radius) 0 0;
}

.industry-card--healthcare::before { background: #0ea5e9; }
.industry-card--finance::before    { background: #10b981; }
.industry-card--legal::before      { background: #8b5cf6; }

.industry-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.industry-card--healthcare .industry-card__icon { background: #e0f2fe; }
.industry-card--finance .industry-card__icon    { background: #d1fae5; }
.industry-card--legal .industry-card__icon      { background: #ede9fe; }

.industry-card__name {
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--text-strong);
  margin-bottom: 0.5rem;
}

.industry-card__desc {
  font-size: 0.835rem;
  color: var(--text);
  line-height: 1.68;
  margin-bottom: 1rem;
}

.industry-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.675rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 100px;
}

.industry-card--healthcare .industry-badge { background: #e0f2fe; color: #0369a1; }
.industry-card--finance .industry-badge    { background: #d1fae5; color: #047857; }
.industry-card--legal .industry-badge      { background: #ede9fe; color: #6d28d9; }

/* ── PROCESS (HOW IT WORKS) ── */
.services-process {
  background: var(--bg);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 1.125rem;
  left: calc(12.5% + 1rem);
  right: calc(12.5% + 1rem);
  height: 1px;
  background: var(--border);
}

.process-step {
  padding: 0 1.25rem;
  text-align: center;
  position: relative;
}

.process-step__num {
  width: 2.25rem;
  height: 2.25rem;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  margin: 0 auto 1.25rem;
  position: relative;
  z-index: 1;
}

.process-step:last-child .process-step__num {
  background: var(--green);
}

.process-step__title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-strong);
  margin-bottom: 0.5rem;
}

.process-step__desc {
  font-size: 0.845rem;
  color: var(--text);
  line-height: 1.65;
}

/* ── CASE STUDIES ── */
.case-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.case-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--t), border-color var(--t);
}

.case-card:hover {
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.case-card__body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.case-card__tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  background: var(--accent-light);
  color: var(--accent);
  border: 1px solid var(--accent-border);
  margin-bottom: 0.75rem;
}

.case-card__title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-strong);
  letter-spacing: -0.02em;
  margin-bottom: 0.375rem;
}

.case-card__client {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.875rem;
}

.case-card__text {
  font-size: 0.845rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 1.125rem;
  flex: 1;
}

.case-outcomes {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  padding-top: 0.875rem;
  border-top: 1px solid var(--border);
}

.case-outcome {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--text);
  line-height: 1.55;
}

.case-outcome__check {
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
}

/* ── GEOGRAPHY ── */
.geo-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 2.5rem;
  align-items: center;
}

.geo-map-placeholder {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 1.5rem;
  text-align: center;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.geo-map-icon {
  font-size: 2.5rem;
  opacity: 0.5;
}

.geo-map-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 260px;
}

.geo-info h3 {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--text-strong);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.geo-info p {
  font-size: 0.875rem;
  color: var(--text);
  line-height: 1.72;
  margin-bottom: 0.75rem;
}

.geo-info p:last-of-type {
  margin-bottom: 1.25rem;
}

.geo-regions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.geo-region-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.3rem 0.75rem;
}

.geo-region-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}

/* ── INTERACTIVE SERVICE FINDER ── */
.svc-finder {
  --finder-bg: #f1f5f9;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 640px;
  margin: 0 auto;
}

.svc-finder__step-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  margin-bottom: 2rem;
}

.svc-finder__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  transition: all var(--t);
}

.svc-finder__dot--active {
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,119,204,0.15);
}

.svc-finder__dot--done {
  background: var(--green);
}

.svc-finder__question {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-strong);
  text-align: center;
  margin-bottom: 1.5rem;
  min-height: 2.8em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.svc-finder__options {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-bottom: 1.5rem;
}

.svc-finder__opt {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.875rem 1.125rem;
  background: var(--finder-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-strong);
  cursor: pointer;
  transition: all var(--t);
  font-family: var(--sans);
}

.svc-finder__opt:hover {
  border-color: var(--accent);
  background: var(--accent-light);
}

.svc-finder__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.svc-finder__back {
  background: none;
  border: none;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  font-family: var(--sans);
  padding: 0.375rem 0.5rem;
  transition: color var(--t);
}

.svc-finder__back:hover { color: var(--text-strong); }
.svc-finder__back:disabled { opacity: 0.3; cursor: default; }

.svc-finder__counter {
  font-size: 0.775rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* ── FINDER RESULT ── */
.svc-finder__result {
  display: none;
}

.svc-finder__result--active {
  display: block;
}

.svc-finder__result-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-strong);
  text-align: center;
  margin-bottom: 0.5rem;
}

.svc-finder__result-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 1.5rem;
}

.svc-finder__result-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-bottom: 1.5rem;
}

.svc-finder__result-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-strong);
}

.svc-finder__result-item::before {
  content: '\2192';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

.svc-finder__result-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.svc-finder__restart {
  background: none;
  border: 1px solid var(--border);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  font-family: var(--sans);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  transition: all var(--t);
}

.svc-finder__restart:hover {
  border-color: #94a3b8;
  color: var(--text-strong);
}

/* ── CTA SECTION ── */
.cta-section {
  padding: 5rem 0;
}

.cta-box {
  background: var(--dark);
  border-radius: var(--radius-lg);
  padding: 4rem 3rem;
  text-align: center;
}

.cta-box__title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: #f1f5f9;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 0.875rem;
}

.cta-box__desc {
  font-size: 1rem;
  color: #64748b;
  line-height: 1.7;
  max-width: 480px;
  margin: 0 auto 2rem;
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .page-hero { padding: 2.5rem 0 2rem; }

  .section--sm { padding: 2.75rem 0; }

  .industry-grid { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr; }
  .geo-grid { grid-template-columns: 1fr; }
  .svc-finder { padding: 1.5rem; }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .process-steps::before { display: none; }
  .process-step {
    text-align: left;
    display: flex;
    gap: 1rem;
    padding: 0;
  }
  .process-step__num {
    margin: 0;
    flex-shrink: 0;
  }

  .cta-box {
    padding: 2.5rem 1.5rem;
  }
}

