.home-page .after-catalog .social-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: min(1180px, calc(100% - 40px));
  margin: 20px auto 0;
  padding: 25px;
  border: 1px solid #283543;
  border-radius: 23px;
  background: radial-gradient(28rem 17rem at 92% 0%, rgba(217, 255, 73, .11), transparent 72%), linear-gradient(145deg, #121b26, #0d141d);
  color: #f4f6f8;
}

.home-page .social-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.home-page .social-section-head h2 {
  margin: 0 0 7px;
  color: #f4f6f8;
  font-size: clamp(22px, 2.3vw, 30px);
  line-height: 1.1;
  letter-spacing: -.04em;
}

.home-page .social-section-head p {
  max-width: 650px;
  margin: 0;
  color: #a5b0bd;
  font-size: 14px;
  line-height: 1.55;
}

.home-page .social-handle {
  flex: 0 0 auto;
  padding: 9px 12px;
  border: 1px solid #34414e;
  border-radius: 999px;
  background: #17212b;
  color: #d4dbe2;
  font-size: 12px;
  font-weight: 750;
}

.home-page .social-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px;
}

.home-page .social-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  min-height: 86px;
  padding: 14px;
  overflow: hidden;
  border: 1px solid #303c49;
  border-radius: 16px;
  background: linear-gradient(145deg, #192430, #131c26);
  color: #f5f7f9;
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.home-page .social-card:hover {
  transform: translateY(-3px);
  border-color: #536044;
  background: linear-gradient(145deg, #202b35, #151f28);
}

.home-page .social-card:focus-visible {
  outline: 3px solid #d9ff49;
  outline-offset: 3px;
}

.home-page .social-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 14px;
  background: #202e3a;
}

.home-page .social-icon img {
  display: block;
  width: 27px;
  height: 27px;
  object-fit: contain;
}

.home-page .social-card--vk .social-icon { background: rgba(47, 145, 255, .15); }
.home-page .social-card--instagram .social-icon { background: rgba(210, 89, 153, .14); }
.home-page .social-card--avito .social-icon--image { padding: 6px; background: #fff; }

.home-page .social-card-copy {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 4px;
}

.home-page .social-card-copy b {
  font-size: 15px;
  letter-spacing: -.01em;
}

.home-page .social-card-copy small {
  color: #aab5c0;
  font-size: 12px;
  line-height: 1.4;
}

.home-page .social-arrow {
  display: grid;
  place-items: center;
  color: #d9ff49;
  transition: transform .2s ease;
}

.home-page .social-arrow svg { display: block; width: 19px; height: 19px; }

.home-page .social-card:hover .social-arrow { transform: translate(2px, -2px); }

@media (max-width: 900px) {
  .home-page .after-catalog .social-section { width: calc(100% - 28px); }
}

@media (max-width: 760px) {
  .home-page .social-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-page .social-section-head { align-items: flex-start; flex-direction: column; gap: 10px; }
}

@media (max-width: 650px) {
  .home-page .after-catalog .social-section { width: calc(100% - 24px); margin-top: 14px; padding: 20px 16px; }
  .home-page .social-grid { grid-template-columns: 1fr; gap: 8px; }
  .home-page .social-card { min-height: 76px; padding: 11px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .home-page .social-card,
  .home-page .social-arrow { transition: none; }
  .home-page .social-card:hover { transform: none; }
}
