/* ==========================================================================
   Section: Sub-services — list with hover content panel
   ========================================================================== */

.sub-services-section {
  background-color: var(--bg-white);
  padding-block: var(--section-py);
}

/* Grid: list (left) + content panel (right) */
.sub-services-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}

/* ── Left: Service List ──────────────────────────────────────────────────── */
.sub-services-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.sub-service-item {
  display: block;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
  transition: opacity 0.3s ease;
}
.sub-service-item:hover {
  opacity: 0.7;
}
.sub-service-item.is-active {
  opacity: 1;
}

/* Service title — title-md (48px) */
.sub-service-title {
  display: block;
  font-size: var(--title-md);
  font-weight: 400;
  line-height: var(--title-md-lh);
  letter-spacing: -0.02em;
  color: var(--text-title);
  margin-bottom: 8px;
}

/* Service subtitle — title-xs (32px) */
.sub-service-subtitle {
  display: block;
  font-size: var(--title-xs);
  font-weight: 400;
  line-height: var(--title-xs-lh);
  letter-spacing: -0.02em;
  color: var(--text-muted);
}

/* ── Right: Content Panel ───────────────────────────────────────────────── */
.sub-services-content {
  position: relative;
  min-height: 400px;
}

.sub-service-panel {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.sub-service-panel.is-active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
}

/* Header: Service name + description */
.sub-service-header {
  margin-bottom: 48px;
}

/* Service name label — title-xs (32px) */
.sub-service-label {
  display: block;
  font-size: var(--title-xs);
  font-weight: 400;
  line-height: var(--title-xs-lh);
  letter-spacing: -0.02em;
  color: var(--text-title);
  margin-bottom: 8px;
}

/* Description — body-sm (16px) */
.sub-service-description {
  font-size: var(--body-sm);
  font-weight: 400;
  line-height: var(--body-sm-lh);
  color: var(--text-body);
  margin: 0;
  max-width: 600px;
}

/* Content grid: What We Do, How We Work, How It Creates Value */
.sub-service-content-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.sub-service-content-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Content titles — title-lg (80px) */
.sub-service-content-title {
  font-size: var(--title-lg);
  font-weight: 400;
  line-height: var(--title-lg-lh);
  letter-spacing: -0.02em;
  color: var(--text-title);
  margin: 0;
}

/* Content body — body-sm (16px) */
.sub-service-content-body {
  font-size: var(--body-sm);
  font-weight: 400;
  line-height: var(--body-sm-lh);
  color: var(--text-body);
  margin: 0;
}
