/* ═══════════════════════════════════════════════════════════════════
   DESIGN TOKENS
   Brand: #6C47C4 (purple)
   Font: Inter throughout, no italics
   ═══════════════════════════════════════════════════════════════════ */
:root {
  /* Surfaces */
  --bg:          #F7F8FA;
  --surface:     #FFFFFF;
  --surface-2:   #F2F4F8;
  --surface-3:   #EAECF2;

  /* Dark (nav + panel stage only) */
  --dark-bg:     #0F1117;
  --dark-surface:#171C28;
  --dark-rule:   rgba(255,255,255,0.07);
  --dark-text:   #E8EDF5;
  --dark-muted:  #8390AA;

  /* Ink */
  --ink:         #0C0E16;
  --ink-2:       #1A1F32;
  --ink-3:       #354060;
  --muted:       #6B7898;
  --faint:       #A8B2CA;

  /* Rules */
  --rule:        #E0E4EE;
  --rule-dark:   #CDD2E0;

  /* Brand */
  --brand:       #6C47C4;
  --brand-light: #8B6CD8;
  --brand-dim:   rgba(108,71,196,0.10);
  --brand-dark:  #5537A8;

  /* Type — Inter only */
  --text: 'Inter', -apple-system, sans-serif;

  /* Layout */
  --max:  1320px;
  --pad:  clamp(24px, 5vw, 80px);

  /* Easing */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ═══════════════════════════════════════════════════════════════════
   RESET
   ═══════════════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--text);
  font-style: normal;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

/* Prevent any italics anywhere */
*, *::before, *::after { font-style: normal !important; }

img { display: block; max-width: 100%; }
button { cursor: pointer; font-family: inherit; font-style: normal; }
ul { list-style: none; }

/* ═══════════════════════════════════════════════════════════════════
   LAYOUT
   ═══════════════════════════════════════════════════════════════════ */
.c {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ═══════════════════════════════════════════════════════════════════
   EYEBROW
   ═══════════════════════════════════════════════════════════════════ */
.eyebrow {
  /* display: inline-block; */
  font-family: var(--text);
  /* font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 20px; */

  display: inline-block;
  margin-bottom: 16px;
  color: var(--brand);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════════════════════
   SERVICES SECTION HEADER
   ═══════════════════════════════════════════════════════════════════ */
.services {
  background: var(--surface);
  padding: clamp(80px, 10vw, 140px) 0 0;
  border-bottom: 1px solid var(--rule);
}

.services-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 120px);
  align-items: end;
  margin-bottom: clamp(56px, 7vw, 96px);
}

.services-head h2 {
  font-family: var(--text);
  font-size: clamp(34px, 4.5vw, 60px);
  font-weight: 700;
  font-style: normal;
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.services-head-right {
  padding-bottom: 6px;
}

.services-head-right p {
  font-size: 15px;
  font-weight: 400;
  color: var(--ink-3);
  line-height: 1.8;
  max-width: 420px;
}

.services-count {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.services-count-num {
  font-size: 56px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.04em;
}

.services-count-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.4;
  max-width: 90px;
  white-space: nowrap;
}

/* ═══════════════════════════════════════════════════════════════════
   SERVICE NAVIGATION — dark band
   ═══════════════════════════════════════════════════════════════════ */
.svc-nav-wrap {
  background: var(--dark-bg);
}

.svc-nav {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  border-bottom: 1px solid var(--dark-rule);
}
.svc-nav::-webkit-scrollbar { display: none; }

.svc-nav-btn {
  flex-shrink: 0;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 22px 32px;
  color: var(--dark-muted);
  font-size: 13px;
  font-weight: 500;
  font-style: normal;
  white-space: nowrap;
  position: relative;
  transition: color 150ms var(--ease), border-color 150ms var(--ease), background 150ms var(--ease);
  outline: none;
  text-align: left;
}

.svc-nav-btn:hover {
  color: var(--dark-text);
  background: rgba(255,255,255,0.03);
}

.svc-nav-btn.is-active {
  color: var(--dark-text);
  border-bottom-color: var(--brand-light);
  background: rgba(108,71,196,0.08);
}

.svc-nav-btn-sub {
  display: block;
  font-size: 10.5px;
  font-weight: 400;
  font-style: normal;
  color: var(--dark-muted);
  margin-top: 3px;
  letter-spacing: 0.2px;
  opacity: 0.7;
  transition: opacity 150ms;
}

.svc-nav-btn.is-active .svc-nav-btn-sub,
.svc-nav-btn:hover .svc-nav-btn-sub {
  opacity: 1;
}

.svc-nav-sep {
  width: 1px;
  background: var(--dark-rule);
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════════
   SERVICE PANELS — dark stage
   ═══════════════════════════════════════════════════════════════════ */
.svc-stage {
  background: var(--dark-bg);
}

.svc-panels {
  position: relative;
  min-height: 500px;
}

.svc-panel {
  display: grid;
  grid-template-columns: 1fr 460px;
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms var(--ease);
}

.svc-panel.is-active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
}

/* ─── PANEL BODY ─────────────────────────────────────────────────── */
.svc-panel-body {
  padding: clamp(48px, 6vw, 80px) clamp(32px, 5vw, 68px);
  border-right: 1px solid var(--dark-rule);
  display: flex;
  flex-direction: column;
}

.svc-panel-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--brand-light);
  margin-bottom: 22px;
}

.svc-panel-body h3 {
  font-family: var(--text);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 700;
  font-style: normal;
  color: var(--dark-text);
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin-bottom: 14px;
  max-width: 480px;
}

.svc-panel-body > p {
  font-size: 14px;
  font-weight: 400;
  color: var(--dark-muted);
  line-height: 1.8;
  max-width: 400px;
  margin-bottom: 40px;
}

/* Capability rows */
.svc-cap-list {
  flex: 1;
  margin-bottom: 40px;
}

.svc-cap-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--dark-rule);
}
.svc-cap-item:first-child { border-top: 1px solid var(--dark-rule); }

.svc-cap-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--dark-text);
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.svc-cap-title::before {
  content: '';
  display: block;
  width: 16px;
  height: 2px;
  background: var(--brand-light);
  flex-shrink: 0;
  border-radius: 2px;
}

.svc-cap-desc {
  font-size: 12.5px;
  font-weight: 400;
  color: var(--dark-muted);
  line-height: 1.7;
  padding-left: 26px;
}

/* Tags */
.svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.svc-tag {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--dark-muted);
  padding: 5px 12px;
  border: 1px solid var(--dark-rule);
  border-radius: 2px;
}

/* ─── PANEL IMAGE ─────────────────────────────────────────────────── */
.svc-panel-img {
  position: relative;
  overflow: hidden;
  background: #08090E;
}

.svc-panel-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.5) saturate(0.45);
  transition: transform 800ms var(--ease), filter 500ms;
}

.svc-panel:hover .svc-panel-img img {
  transform: scale(1.03);
  filter: brightness(0.58) saturate(0.55);
}

.svc-panel-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(15, 17, 23, 0.55) 0%,
    rgba(15, 17, 23, 0.15) 55%,
    transparent 100%
  );
  pointer-events: none;
}

/* Brand tint overlay */
.svc-panel-img-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(108,71,196,0.18) 0%, transparent 60%);
}

.svc-panel-stat {
  position: absolute;
  bottom: 32px;
  right: 28px;
  text-align: right;
}

.svc-panel-stat-num {
  font-size: 52px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 6px;
}

.svc-panel-stat-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
}

/* ═══════════════════════════════════════════════════════════════════
   METRICS — clean, corporate, light
   ═══════════════════════════════════════════════════════════════════ */
.metrics {
  background: var(--surface);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.metric {
  padding: clamp(44px, 6vw, 72px) clamp(28px, 4vw, 52px);
  border-right: 1px solid var(--rule);
  position: relative;
  transition: background 200ms;
}
.metric:last-child { border-right: none; }
.metric:hover { background: var(--surface-2); }

/* Top accent bar on hover */
.metric::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 250ms var(--ease);
}
.metric:hover::before { transform: scaleX(1); }

.metric-num {
  font-size: clamp(44px, 5vw, 72px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}

.metric-rule {
  width: 28px;
  height: 2px;
  background: var(--brand);
  margin-bottom: 16px;
  border-radius: 2px;
}

.metric-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 6px;
}

.metric-sub {
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════════
   APPROACH — light, editorial two-col
   ═══════════════════════════════════════════════════════════════════ */
.approach {
  background: var(--surface-2);
  padding: clamp(80px, 10vw, 144px) 0;
  border-bottom: 1px solid var(--rule);
}

.approach-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(56px, 8vw, 128px);
  align-items: start;
}

/* Image side */
.approach-img-col {
  position: relative;
  padding-bottom: 48px;
  padding-right: 48px;
}

.approach-img {
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 3px;
  position: relative;
}

.approach-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.75) saturate(0.65);
  transition: transform 900ms var(--ease), filter 500ms;
}
.approach-img:hover img {
  transform: scale(1.025);
  filter: brightness(0.82) saturate(0.72);
}

.approach-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(108,71,196,0.12) 0%, transparent 55%);
  pointer-events: none;
}

/* Offset decorative frame */
.approach-img-col::after {
  content: '';
  position: absolute;
  top: 16px;
  left: -16px;
  right: 64px;
  bottom: 64px;
  border: 1px solid var(--rule-dark);
  border-radius: 3px;
  z-index: -1;
}

.approach-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 3px;
  padding: 28px 32px;
  min-width: 196px;
  box-shadow: 0 8px 32px rgba(10, 15, 30, 0.08);
}

.approach-badge-num {
  font-size: 52px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 8px;
}

.approach-badge-rule {
  width: 24px;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
  margin-bottom: 10px;
}

.approach-badge-label {
  font-size: 11.5px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.6;
}

/* Text side */
.approach-text {
  padding-top: 8px;
}

.approach-text h2 {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  font-style: normal;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 18px;
}

.approach-lead {
  font-size: 15px;
  font-weight: 400;
  color: var(--ink-3);
  line-height: 1.8;
  margin-bottom: 48px;
  max-width: 440px;
}

/* Methodology list */
.approach-list { list-style: none; }

.approach-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.approach-item:first-child { border-top: 1px solid var(--rule); }

.approach-item-index {
  font-size: 12px;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: 1px;
  padding-top: 2px;
  min-width: 28px;
  flex-shrink: 0;
  opacity: 0.7;
  transition: opacity 150ms;
}

.approach-item:hover .approach-item-index { opacity: 1; }

.approach-item-content { flex: 1; }

.approach-item-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 5px;
  transition: color 120ms;
}

.approach-item:hover .approach-item-title { color: var(--ink); }

.approach-item-desc {
  font-size: 12.5px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .svc-panel { grid-template-columns: 1fr 340px; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(2) { border-right: none; }
  .metric:nth-child(3),
  .metric:nth-child(4) { border-top: 1px solid var(--rule); }
}

@media (max-width: 900px) {
  .services-head { grid-template-columns: 1fr; gap: 24px; }
  .svc-panel { grid-template-columns: 1fr; }
  .svc-panel-img { display: none; }
  .svc-panel-body { border-right: none; }
  .approach-inner { grid-template-columns: 1fr; gap: 64px; }
  .approach-img-col { padding-bottom: 36px; padding-right: 36px; }
}

@media (max-width: 640px) {
  .services { padding-top: 60px; }
  .approach { padding: 64px 0; }
  .services-head-right { display: none; }
  .services-count { display: none; }
  .svc-panel-body { padding: 36px 24px; }
  .svc-nav-btn { padding: 18px 20px; font-size: 12px; }
  .metrics-grid { grid-template-columns: 1fr; }
  .metric { border-right: none; border-bottom: 1px solid var(--rule); }
  .metric:last-child { border-bottom: none; }
  .metric:nth-child(2),
  .metric:nth-child(3),
  .metric:nth-child(4) { border-top: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
  }
}