/* Mobile App — 05 Services */

@keyframes cw-mobile-app-svc-fade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cw-mobile-app-services {
  background: #111013;
  color: #eae7e1;
  font-family: 'Inter', system-ui, sans-serif;
  width: 100%;
  --cw-ma-edge: clamp(12px, 1.5vw, 24px);
  --cw-ma-pad-x: clamp(12px, 1.25vw, 18px);
}

.cw-mobile-app-services__inner {
  box-sizing: border-box;
  width: min(1580px, calc(100vw - 2 * var(--cw-ma-edge)));
  max-width: calc(100vw - 2 * var(--cw-ma-edge));
  margin-inline: auto;
  padding: clamp(72px, 9vw, 120px) var(--cw-ma-pad-x);
}

.cw-mobile-app-services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(32px, 4vw, 56px);
  align-items: start;
}

.cw-mobile-app-services__copy {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.cw-mobile-app-services__title {
  margin: 0;
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(34px, 3.8vw, 54px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: #f3efe7;
  text-wrap: balance;
}

.cw-mobile-app-services__title-em {
  color: #ff5527;
}

.cw-mobile-app-services__intro {
  margin: 0;
  max-width: 480px;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(234, 231, 225, 0.72);
}

.cw-mobile-app-services__list {
  display: flex;
  flex-direction: column;
  margin-top: 10px;
}

.cw-mobile-app-services__row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border: 0;
  border-bottom: 1px solid rgba(234, 231, 225, 0.1);
  background: transparent;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: rgba(234, 231, 225, 0.55);
  transition: color 0.25s ease;
}

.cw-mobile-app-services__row.is-active {
  color: #f3efe7;
}

.cw-mobile-app-services__row-num {
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-weight: 800;
  font-size: 18px;
  width: 30px;
  flex: none;
  color: rgba(234, 231, 225, 0.3);
  transition: color 0.25s ease;
}

.cw-mobile-app-services__row.is-active .cw-mobile-app-services__row-num {
  color: #ff5527;
}

.cw-mobile-app-services__row-label {
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.06em;
  flex: 1;
  line-height: 1.25;
}

.cw-mobile-app-services__row-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(234, 231, 225, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  transition: border-color 0.25s ease;
}

.cw-mobile-app-services__row.is-active .cw-mobile-app-services__row-icon {
  border-color: #ff5527;
}

.cw-mobile-app-services__row-bar {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 1px;
  width: 0;
  background: #ff5527;
  transition: width 0.35s ease;
}

.cw-mobile-app-services__row.is-active .cw-mobile-app-services__row-bar {
  width: 100%;
}

.cw-mobile-app-services__aside {
  position: relative;
  min-height: 440px;
}

.cw-mobile-app-services__panel {
  position: sticky;
  top: 100px;
  border: 1px solid rgba(234, 231, 225, 0.1);
  border-radius: 22px;
  background:
    radial-gradient(500px 300px at 90% 0%, rgba(255, 85, 39, 0.14), transparent 70%),
    #18161a;
  padding: clamp(24px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-height: 400px;
  box-sizing: border-box;
}

.cw-mobile-app-services__panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.cw-mobile-app-services__panel-num {
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(64px, 8vw, 88px);
  line-height: 0.8;
  letter-spacing: -0.05em;
  color: #ff5527;
}

.cw-mobile-app-services__panel-counter {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(234, 231, 225, 0.5);
  white-space: nowrap;
}

.cw-mobile-app-services__panel-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex: 1;
}

.cw-mobile-app-services__panel-body--fade {
  animation: cw-mobile-app-svc-fade 0.45s ease-out both;
}

.cw-mobile-app-services__panel-title {
  margin: 0;
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(22px, 2.2vw, 30px);
  letter-spacing: -0.02em;
  color: #f3efe7;
}

.cw-mobile-app-services__panel-text {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(234, 231, 225, 0.78);
}

.cw-mobile-app-services__panel-note-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 15px;
  color: rgba(234, 231, 225, 0.85);
}

.cw-mobile-app-services__panel-note-head {
  color: rgba(234, 231, 225, 0.6);
}

.cw-mobile-app-services__panel-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.cw-mobile-app-services__panel-note-mark {
  color: #d4f53c;
  flex: none;
}

.cw-mobile-app-services__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.cw-mobile-app-services__tag {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(234, 231, 225, 0.07);
  border: 1px solid rgba(234, 231, 225, 0.14);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  color: #eae7e1;
}

.cw-mobile-app-services__panel-nav {
  margin-top: auto;
  display: flex;
  gap: 10px;
}

.cw-mobile-app-services__nav {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.cw-mobile-app-services__nav--prev {
  border: 1px solid rgba(234, 231, 225, 0.2);
  background: transparent;
  color: #eae7e1;
}

.cw-mobile-app-services__nav--prev:hover {
  border-color: #ff5527;
}

.cw-mobile-app-services__nav--next {
  border: 0;
  background: #e0431c;
  color: #fff;
}

.cw-mobile-app-services__nav--next:hover {
  background: #c93a16;
}

@media (max-width: 900px) {
  .cw-mobile-app-services__panel {
    position: relative;
    top: auto;
  }
}
