/* Страница «Контакты» — карточки, без правого текстового блока */

.s2-contacts-page .contacts.inside-page {
  padding: 72px 0 88px;
}

.s2-ct__head {
  max-width: 560px;
  margin: 0 0 32px;
}

.s2-ct__pre {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #7874fe;
}

.s2-ct__title {
  margin: 0 0 12px;
  font-size: 36px;
  line-height: 1.2;
  font-weight: 700;
  color: #282c4b;
}

.s2-ct__lead {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: #8181a5;
}

.s2-ct__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.s2-ct__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  min-height: 168px;
  padding: 24px;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid #e8e9f2;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(40, 44, 75, 0.05);
  box-sizing: border-box;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

a.s2-ct__card:hover {
  border-color: #d9d7f5;
  box-shadow: 0 14px 32px rgba(90, 80, 200, 0.1);
  transform: translateY(-1px);
}

.s2-ct__ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 14px;
  background: linear-gradient(180deg, #f7f6ff 0%, #eef0fb 100%);
}

.s2-ct__ico img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
}

.s2-ct__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.s2-ct__label {
  font-size: 13px;
  font-weight: 600;
  color: #9a9ca5;
}

.s2-ct__value {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
  color: #282c4b;
  word-break: break-word;
}

a.s2-ct__card .s2-ct__value {
  color: #5b56d6;
}

@media (max-width: 1024px) {
  .s2-contacts-page .contacts.inside-page {
    padding: 28px 0 40px;
    background: #f8f9fc;
  }

  .s2-ct__head {
    max-width: none;
    margin-bottom: 18px;
  }

  .s2-ct__title {
    font-size: 26px;
  }

  .s2-ct__lead {
    font-size: 15px;
    line-height: 1.45;
  }

  .s2-ct__grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .s2-ct__card {
    flex-direction: row;
    align-items: center;
    gap: 14px;
    min-height: 0;
    padding: 16px;
    border-radius: 16px;
  }

  a.s2-ct__card:hover {
    transform: none;
  }

  .s2-ct__ico {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  .s2-ct__value {
    font-size: 15px;
  }
}
