/* Logistics App — 04 Expertise */

@keyframes cw-la-exp-fade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.cw-logistic-app-expertise {
  background: #1e1b18;
  color: #141210;
  font-family: 'Inter', system-ui, sans-serif;
  width: 100%;
  box-sizing: border-box;
}

.cw-logistic-app-expertise__shell {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: clamp(48px, 6vw, 80px) clamp(16px, 2.5vw, 32px);
}

.cw-logistic-app-expertise__card {
  border-radius: 32px;
  background: #cfc4f6;
  color: #141210;
  padding: clamp(24px, 4vw, 56px);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 4vw, 56px);
}

@media (min-width: 900px) {
  .cw-logistic-app-expertise__card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.cw-logistic-app-expertise__card[data-cw-logistic-expertise-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.cw-logistic-app-expertise__card.is-revealed {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .cw-logistic-app-expertise__card[data-cw-logistic-expertise-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.cw-logistic-app-expertise__copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cw-logistic-app-expertise__title {
  margin: 0;
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 1;
  letter-spacing: -0.035em;
}

.cw-logistic-app-expertise__title-em {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #c8391a;
}

.cw-logistic-app-expertise__lead {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: #2a2440;
}

.cw-logistic-app-expertise__lead--divider {
  padding-top: 18px;
  border-top: 1px solid rgba(20, 18, 16, 0.15);
}

.cw-logistic-app-expertise__interactive {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.cw-logistic-app-expertise__pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.cw-logistic-app-expertise__pill {
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(20, 18, 16, 0.25);
  background: transparent;
  color: #141210;
  font: 600 13.5px 'Inter', system-ui, sans-serif;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.cw-logistic-app-expertise__pill.is-active {
  background: #141210;
  color: #f3efe7;
  border-color: #141210;
}

.cw-logistic-app-expertise__pill:focus-visible {
  outline: 2px solid #c8391a;
  outline-offset: 2px;
}

.cw-logistic-app-expertise__svc-panel {
  border-radius: 22px;
  background: #141210;
  color: #f3efe7;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cw-logistic-app-expertise__svc-panel.is-updating {
  animation: cw-la-exp-fade 0.4s ease-out both;
}

.cw-logistic-app-expertise__svc-title {
  font: 800 21px 'Inter Tight', system-ui, sans-serif;
  letter-spacing: -0.02em;
}

.cw-logistic-app-expertise__svc-desc {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(234, 231, 225, 0.8);
}

.cw-logistic-app-expertise__tech-kicker {
  margin: 8px 0 0;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: #2a2440;
}

.cw-logistic-app-expertise__tech-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.cw-logistic-app-expertise__tech {
  height: 46px;
  padding: 0 14px;
  border-radius: 14px;
  border: 0;
  background: rgba(20, 18, 16, 0.06);
  color: #141210;
  font: 700 13.5px 'Inter', system-ui, sans-serif;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s ease, color 0.2s ease;
}

.cw-logistic-app-expertise__tech.is-active {
  background: #ff5527;
  color: #fff;
}

.cw-logistic-app-expertise__tech:focus-visible {
  outline: 2px solid #c8391a;
  outline-offset: 2px;
}

.cw-logistic-app-expertise__tech-detail {
  margin: 0;
  border-radius: 18px;
  background: #fff;
  padding: 16px 18px;
  font-size: 15px;
  line-height: 1.6;
  color: #2a2440;
}

.cw-logistic-app-expertise__tech-detail.is-updating {
  animation: cw-la-exp-fade 0.35s ease-out both;
}

@media (max-width: 520px) {
  .cw-logistic-app-expertise__tech-grid {
    grid-template-columns: 1fr;
  }
}
