/* =========================================================
   APS PAGE CSS
   Отдельные стили страницы aps.html
   Подключать после styles.css и chat-widget.css
   ========================================================= */

/* ---------- Общая страница ---------- */
.aps-page {
  position: relative;
}

.aps-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, #000 28%, transparent 82%);
  opacity: .42;
}

.aps-section {
  position: relative;
  padding: 96px 0;
}

.aps-section-soft {
  background: linear-gradient(180deg, rgba(255,255,255,.028), rgba(255,255,255,.045));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* ---------- Hero ---------- */
.aps-hero {
  position: relative;
  min-height: calc(100vh - 160px);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 90px 0 70px;
  isolation: isolate;
}

.aps-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(5, 12, 22, .92) 6%, rgba(5, 12, 22, .77) 42%, rgba(5, 12, 22, .58) 70%, rgba(5, 12, 22, .50) 100%),
    radial-gradient(circle at 85% 18%, rgba(32,164,255,.18), transparent 25%),
    radial-gradient(circle at 10% 90%, rgba(127,92,255,.12), transparent 26%),
    url('images/hero/slide-1.jpg') center/cover no-repeat;
  opacity: .95;
}

body[data-theme="light"] .aps-hero-bg {
  background:
    linear-gradient(110deg, rgba(244, 249, 255, .92) 6%, rgba(244, 249, 255, .80) 42%, rgba(244, 249, 255, .52) 70%, rgba(244, 249, 255, .38) 100%),
    radial-gradient(circle at 85% 18%, rgba(22,134,255,.16), transparent 25%),
    radial-gradient(circle at 10% 90%, rgba(110,92,255,.12), transparent 26%),
    url('images/hero/slide-1.jpg') center/cover no-repeat;
}

.aps-web-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: .85;
}

.aps-hero > *:not(.aps-web-canvas):not(.aps-hero-bg) {
  position: relative;
  z-index: 1;
}

.aps-hero::after {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  right: -170px;
  top: -100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,190,255,.18) 0%, rgba(0,190,255,.06) 36%, transparent 72%);
  filter: blur(10px);
}

.aps-hero-grid,
.aps-integrator,
.aps-cta {
  position: relative;
  z-index: 1;
}

.aps-hero-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 28px;
  align-items: center;
}

.aps-hero-title {
  margin: 0 0 18px;
  font-family: 'Manrope', sans-serif;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.04;
  letter-spacing: -.03em;
}

.aps-hero-text,
.aps-card p,
.aps-hero-card p,
.aps-step p,
.aps-target,
.aps-integrator-copy p {
  color: var(--muted);
}

.aps-hero-text {
  max-width: 720px;
  font-size: 18px;
}

.aps-badge {
  display: inline-flex;
  margin-bottom: 16px;
}

.aps-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.aps-mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.aps-mini-stat,
.aps-card,
.aps-step,
.aps-target,
.aps-hero-card,
.aps-integrator,
.aps-cta {
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 44px rgba(0,0,0,.20);
}

.aps-mini-stat {
  padding: 16px 16px 14px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.05));
  border: 1px solid rgba(255,255,255,.10);
}

.aps-mini-stat strong {
  display: block;
  margin-bottom: 6px;
  font-size: 28px;
  line-height: 1;
}

.aps-mini-stat span {
  display: block;
  font-size: 14px;
  color: var(--muted);
}

.aps-hero-card {
  padding: 32px;
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.11), rgba(255,255,255,.06)),
    linear-gradient(135deg, rgba(12,28,48,.94), rgba(7,17,31,.96));
  border: 1px solid rgba(255,255,255,.12);
  position: relative;
  overflow: hidden;
}

body[data-theme="light"] .aps-hero-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,.82), rgba(255,255,255,.70)),
    linear-gradient(135deg, rgba(255,255,255,.95), rgba(246,251,255,.95));
}

.aps-hero-card::before,
.aps-card::before,
.aps-cta::before,
.aps-integrator::before {
  content: "";
  position: absolute;
  inset: auto -90px -90px auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,185,255,.14), transparent 72%);
  pointer-events: none;
}

.aps-card-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
  color: #a7d8ff;
  font-size: 14px;
}

body[data-theme="light"] .aps-card-top {
  color: #1b70be;
}

.aps-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.09);
}

.aps-status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #70e1b5;
  box-shadow: 0 0 0 0 rgba(112,225,181,.65);
  animation: apsPulse 1.8s infinite;
}

@keyframes apsPulse {
  0% { box-shadow: 0 0 0 0 rgba(112,225,181,.65); }
  70% { box-shadow: 0 0 0 12px rgba(112,225,181,0); }
  100% { box-shadow: 0 0 0 0 rgba(112,225,181,0); }
}

/* ---------- Слайдер ---------- */
.aps-mini-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 22px;
  margin: 0 0 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
}

.aps-mini-track {
  display: flex;
  transition: transform 0.7s ease;
  will-change: transform;
}

.aps-mini-slide {
  min-width: 100%;
  position: relative;
}

.aps-mini-slide img {
  display: block;
  width: 100%;
  height: 250px;
  object-fit: cover;
  object-position: center;
  border-radius: 22px;
}

.aps-mini-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 22px;
  background: linear-gradient(to top, rgba(4, 10, 24, 0.48), rgba(4, 10, 24, 0.08));
  pointer-events: none;
}

.aps-mini-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 3;
  font-size: 28px;
  line-height: 1;
  color: #ffffff;
  background: rgba(10, 20, 38, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}

.aps-mini-nav:hover {
  transform: translateY(-50%) scale(1.08);
  background: rgba(39, 170, 255, 0.22);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.35);
}

.aps-mini-prev { left: 14px; }
.aps-mini-next { right: 14px; }

.aps-mini-dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}

.aps-mini-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
  border: 1px solid rgba(255,255,255,.15);
  transition: all .3s ease;
}

.aps-mini-dot.active {
  width: 28px;
  border-radius: 999px;
  background: linear-gradient(90deg, #41b8ff, #7fd6ff);
  box-shadow: 0 0 16px rgba(65, 184, 255, 0.45);
}

/* ---------- Карточки и блоки ---------- */
.aps-check-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.aps-check-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 15px;
  border-radius: 16px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  color: var(--text);
  font-weight: 600;
}

.aps-check-item span,
.aps-icon-box,
.aps-step-num,
.aps-system-mark {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: linear-gradient(135deg, rgba(24,141,255,.30), rgba(0,208,255,.18));
  border: 1px solid rgba(255,255,255,.10);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}

.aps-check-item span {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  font-size: 13px;
}

.aps-section-head.center {
  text-align: center;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.aps-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.aps-grid {
  display: grid;
  gap: 24px;
}

.aps-grid-2 { grid-template-columns: repeat(2, 1fr); }
.aps-grid-3 { grid-template-columns: repeat(3, 1fr); }
.aps-grid-4 { grid-template-columns: repeat(4, 1fr); }

.aps-card,
.aps-step,
.aps-target {
  position: relative;
  padding: 28px;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.05));
  border: 1px solid rgba(255,255,255,.10);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  transform-style: preserve-3d;
}

body[data-theme="light"] .aps-card,
body[data-theme="light"] .aps-step,
body[data-theme="light"] .aps-target,
body[data-theme="light"] .aps-mini-stat,
body[data-theme="light"] .aps-integrator,
body[data-theme="light"] .aps-cta {
  background: linear-gradient(180deg, rgba(255,255,255,.82), rgba(255,255,255,.68));
}

.aps-card:hover,
.aps-step:hover,
.aps-target:hover,
.aps-pill:hover,
.aps-mini-stat:hover {
  transform: translateY(-8px);
  border-color: var(--line-strong);
  box-shadow: 0 24px 44px rgba(0,0,0,.26);
}

.aps-card h3,
.aps-step h3,
.aps-integrator-copy h3 {
  margin: 0 0 12px;
  font-size: 24px;
}

.aps-icon-box {
  margin-bottom: 18px;
  font-size: 24px;
}

.aps-step-num {
  margin-bottom: 16px;
  font-size: 18px;
  font-weight: 800;
  background: linear-gradient(135deg, #178dff, #00cfff);
}

.aps-card-system ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.aps-card-system li + li {
  margin-top: 8px;
}

.aps-system-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.aps-system-head p {
  margin: 0;
  color: var(--muted);
}

.aps-system-mark {
  font-size: 22px;
}

.aps-target-grid {
  gap: 18px;
}

.aps-target {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 96px;
  text-align: center;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
}

.aps-integrator,
.aps-cta {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 28px;
  padding: 34px;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(12,39,70,.94), rgba(8,20,36,.96));
  border: 1px solid rgba(255,255,255,.10);
  overflow: hidden;
}

body[data-theme="light"] .aps-integrator,
body[data-theme="light"] .aps-cta {
  background: linear-gradient(135deg, rgba(255,255,255,.92), rgba(244,249,255,.92));
}

.aps-pill-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.aps-pill {
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.09);
  font-weight: 700;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

body[data-theme="light"] .aps-pill {
  background: rgba(255,255,255,.72);
}

.aps-pill i {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(24,141,255,.26), rgba(0,208,255,.18));
}

.aps-cta-actions {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

/* ---------- Контакты и форма ---------- */
.aps-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: stretch;
}

.aps-contact-card,
.aps-form-card {
  position: relative;
  padding: 30px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.05));
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 18px 44px rgba(0,0,0,.20);
  backdrop-filter: blur(14px);
}

body[data-theme="light"] .aps-contact-card,
body[data-theme="light"] .aps-form-card {
  background: linear-gradient(180deg, rgba(255,255,255,.82), rgba(255,255,255,.68));
}

.aps-contact-card h3,
.aps-form-card h3 {
  margin: 0 0 12px;
  font-size: 26px;
}

.aps-contact-lead,
.aps-form-note {
  color: var(--muted);
  margin-bottom: 22px;
}

.aps-contact-list {
  display: grid;
  gap: 14px;
}

.aps-contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
}

.aps-contact-icon {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(24,141,255,.30), rgba(0,208,255,.18));
  border: 1px solid rgba(255,255,255,.10);
  color: #fff;
}

.aps-contact-item strong {
  display: block;
  margin-bottom: 6px;
}

.aps-contact-item a,
.aps-contact-item span {
  color: var(--text);
  text-decoration: none;
}

.aps-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.aps-form {
  display: grid;
  gap: 16px;
}

.aps-form-group {
  display: grid;
  gap: 8px;
}

.aps-form-group label {
  font-weight: 700;
}

.aps-form-group input,
.aps-form-group select,
.aps-form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  color: var(--text);
  outline: none;
  resize: vertical;
}

body[data-theme="light"] .aps-form-group input,
body[data-theme="light"] .aps-form-group select,
body[data-theme="light"] .aps-form-group textarea {
  background: rgba(255,255,255,.82);
}

.aps-form-group input:focus,
.aps-form-group select:focus,
.aps-form-group textarea:focus {
  border-color: rgba(64, 183, 255, .7);
  box-shadow: 0 0 0 4px rgba(64, 183, 255, .12);
}

.aps-form-submit {
  width: 100%;
  margin-top: 4px;
}

/* ---------- Фиксированные соцсети ---------- */
.aps-social-fixed {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1200;
}

.aps-social-fixed__link {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #fff;
  text-decoration: none;
  background: rgba(10, 20, 38, 0.82);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 18px 34px rgba(0,0,0,.26);
  backdrop-filter: blur(10px);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.aps-social-fixed__link:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 22px 38px rgba(0,0,0,.34);
}

.aps-social-fixed__link.wa { background: linear-gradient(135deg, rgba(16,163,94,.95), rgba(37,211,102,.95)); }
.aps-social-fixed__link.ig { background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045); }
.aps-social-fixed__link.fb { background: linear-gradient(135deg, #1877f2, #3b82f6); }
.aps-social-fixed__link.mail { background: linear-gradient(135deg, #0ea5e9, #38bdf8); }

/* ---------- APS чат ---------- */
.aps-chat {
  position: fixed;
  right: 96px; /* безопасный отступ от соцсетей */
  bottom: 20px;
  width: 320px;
  max-width: calc(100vw - 140px);
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(9, 18, 32, .97), rgba(7, 16, 29, .95));
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 28px 54px rgba(0,0,0,.36);
  backdrop-filter: blur(14px);
  z-index: 1300;
  transition: box-shadow .25s ease, transform .25s ease;
}

.aps-chat.dragging {
  cursor: grabbing;
  transform: scale(1.02);
  box-shadow: 0 34px 60px rgba(0,0,0,.44);
}

.chat-header {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  background: linear-gradient(135deg, rgba(25, 120, 214, .24), rgba(96, 214, 255, .10));
  border-bottom: 1px solid rgba(255,255,255,.08);
  cursor: grab;
  user-select: none;
}

.chat-header strong {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
}

.chat-header span {
  display: block;
  font-size: 13px;
  margin-top: 4px;
  color: #9ccfff;
}

.chat-close {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 14px;
  color: #fff;
  cursor: pointer;
  background: rgba(255,255,255,.08);
}

.chat-body {
  display: grid;
  gap: 10px;
  padding: 16px 18px 10px;
  max-height: 280px;
  overflow: auto;
}

.chat-msg {
  display: flex;
}

.chat-msg.user {
  justify-content: flex-end;
}

.chat-bubble {
  max-width: 88%;
  padding: 12px 14px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.45;
  color: #fff;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.08);
}

.chat-msg.user .chat-bubble {
  background: linear-gradient(135deg, #1d9bf0, #60d6ff);
  color: #04111f;
  font-weight: 700;
}

.chat-typing {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.chat-typing i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: block;
  background: #9ccfff;
  animation: chatTyping 1s infinite ease-in-out;
}

.chat-typing i:nth-child(2) { animation-delay: .12s; }
.chat-typing i:nth-child(3) { animation-delay: .24s; }

@keyframes chatTyping {
  0%, 80%, 100% { transform: scale(.8); opacity: .5; }
  40% { transform: scale(1.1); opacity: 1; }
}

.chat-quick {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 0 18px 14px;
}

.chat-quick-btn {
  min-height: 42px;
  padding: 10px 12px;
  border: 0;
  border-radius: 14px;
  cursor: pointer;
  font-weight: 700;
  color: #dff6ff;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  transition: transform .2s ease, background .2s ease;
}

.chat-quick-btn:hover {
  transform: translateY(-2px);
  background: rgba(80, 180, 255, .16);
}

.chat-input {
  display: grid;
  grid-template-columns: 1fr 54px;
  gap: 10px;
  padding: 0 18px 18px;
}

.chat-input input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.06);
  color: #fff;
  outline: none;
}

.chat-send {
  border: 0;
  border-radius: 16px;
  cursor: pointer;
  color: #04111f;
  background: linear-gradient(135deg, #1d9bf0, #60d6ff);
  font-size: 18px;
}

.chat-open-btn {
  position: fixed;
  right: 96px;
  bottom: 20px;
  width: 64px;
  height: 64px;
  border: 0;
  border-radius: 20px;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, #1d9bf0, #60d6ff);
  box-shadow: 0 18px 34px rgba(16, 110, 194, .38);
  z-index: 1299;
  display: none;
}

.chat-open-btn.is-visible {
  display: grid;
  place-items: center;
}

.chat-open-btn .chat-open-badge {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 34px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  display: grid;
  place-items: center;
  background: #0f172a;
  color: #8ddbff;
  border: 1px solid rgba(255,255,255,.12);
}

/* ---------- Адаптив ---------- */
@media (max-width: 1160px) {
  .aps-hero-grid,
  .aps-integrator,
  .aps-cta,
  .aps-grid-4,
  .aps-grid-3,
  .aps-grid-2,
  .aps-mini-stats,
  .aps-pill-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .aps-section {
    padding: 78px 0;
  }

  .aps-hero {
    min-height: auto;
    padding: 72px 0 56px;
  }

  .aps-hero-grid,
  .aps-integrator,
  .aps-cta,
  .aps-grid-4,
  .aps-grid-3,
  .aps-grid-2,
  .aps-mini-stats,
  .aps-pill-grid,
  .aps-contact-grid {
    grid-template-columns: 1fr;
  }

  .aps-social-fixed {
    right: 12px;
  }

  .aps-social-fixed__link {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }
}

@media (max-width: 768px) {
  .aps-mini-slide img {
    height: 210px;
  }

  .aps-chat,
  .chat-open-btn {
    right: 12px;
    left: 12px;
    max-width: none;
    width: auto;
    bottom: 12px;
  }

  .chat-quick {
    grid-template-columns: 1fr 1fr;
  }

  .aps-social-fixed {
    top: auto;
    bottom: 96px;
    transform: none;
  }
}

@media (max-width: 560px) {
  .aps-hero-card,
  .aps-card,
  .aps-step,
  .aps-target,
  .aps-integrator,
  .aps-cta,
  .aps-mini-stat,
  .aps-contact-card,
  .aps-form-card {
    padding: 22px;
  }

  .aps-btn-row {
    flex-direction: column;
  }

  .aps-btn-row .btn,
  .aps-cta-actions .btn {
    width: 100%;
  }

  .chat-quick {
    grid-template-columns: 1fr;
  }
}


/* Новый логотип IT-System Solution */
.logo-mark img{width:100%;height:100%;object-fit:contain;display:block;filter:drop-shadow(0 0 14px rgba(0,200,255,.45));}
.brand-logo img,.site-logo img{max-height:68px;width:auto;object-fit:contain;}
