.section-apps {
  background: var(--night);
  padding: var(--section-py) var(--section-px);
}

.apps-header {
  text-align: center;
  margin-bottom: 64px;
}

.apps-h2 {
  font-family: var(--font-display);
  font-size: 56px;
  text-transform: uppercase;
  line-height: 1.1;
  color: var(--white);
}

.app-logo {
  height: 32px;
  width: auto;
  margin-bottom: 16px;
  display: block;
}

.app-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}
.app-block:last-child { margin-bottom: 0; }

.app-block-reversed .app-text  { order: 2; }
.app-block-reversed .app-phones-wrap { order: 1; }

.app-tag {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.app-badge {
  background: var(--ocre);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 4px;
}
.app-name-tag {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 2px;
  color: rgba(255,255,255,.45);
  text-transform: uppercase;
}

.app-title {
  font-family: var(--font-display);
  font-size: 30px;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 16px;
}
.app-desc {
  font-size: 15px;
  color: rgba(255,255,255,.65);
  line-height: 1.7;
  margin-bottom: 24px;
}
.app-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.app-feat {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,.75);
  line-height: 1.5;
}
.feat-check { flex-shrink: 0; margin-top: 2px; }

.app-phones-wrap {
  position: relative;
  height: 360px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-sm {
  width: 158px;
  aspect-ratio: 9 / 19.5;
  background: var(--lavender);
  border: 2.5px solid var(--text-dark);
  border-radius: 28px;
  box-shadow: 6px 12px 30px rgba(0,0,0,.3);
  overflow: hidden;
  position: absolute;
  flex-shrink: 0;
}

.phone-sm img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.phone-sm.p-back  { transform: rotate(-3deg) translateX(-36px); z-index: 1; }
.phone-sm.p-front { transform: rotate(2deg)  translateX(36px);  z-index: 2; }

@media (max-width: 1024px) {
  .apps-h2    { font-size: 42px; }
  .app-block  { gap: 40px; }
}

@media (max-width: 768px) {
  .apps-h2 { font-size: 34px; }

  .app-block,
  .app-block-reversed {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .app-block .app-text         { order: 2; }
  .app-block .app-phones-wrap  { order: 1; }

  .app-phones-wrap { height: 280px; }
  .phone-sm        { width: 126px; }
}
