/* Contacts page – lightweight, mobile-first */

.ts-contacts-section {
  padding: 72px 0;
}

.ts-contacts__container {
  padding-top: 24px;
}

/* Header */
.ts-contacts__header {
  margin-bottom: 28px;
}

.ts-contacts__title {
  margin: 0;
  font: 800 32px/1.12 'Gilroy', sans-serif;
  color: #2c2f34;
  letter-spacing: -0.02em;
}

.ts-contacts__subtitle {
  margin: 10px 0 0;
  font: 400 16px/1.55 'Gilroy', sans-serif;
  color: rgba(44, 47, 52, 0.8);
  max-width: 820px;
}

/* Grid */
.ts-contacts__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.ts-contacts__col {
  min-width: 0;
}

/* Cards */
.ts-contacts__card {
  background: #fff;
  border: 1px solid rgba(44, 47, 52, 0.08);
  border-radius: 16px;
  padding: 18px 16px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.04);
}

.ts-contacts__card + .ts-contacts__card {
  margin-top: 14px;
}

.ts-contacts__card-head {
  margin-bottom: 12px;
}

.ts-contacts__h2 {
  margin: 0 0 8px;
  font: 800 22px/1.15 'Gilroy', sans-serif;
  color: #2c2f34;
}

.ts-contacts__muted {
  margin: 0;
  font: 400 14px/1.55 'Gilroy', sans-serif;
  color: rgba(44, 47, 52, 0.7);
}

.ts-contacts__warn {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 0, 0, 0.06);
  color: #8d2a2a;
  font: 500 14px/1.45 'Gilroy', sans-serif;
}

.ts-contacts__link {
  color: #2c2f34;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Methods */
.ts-contacts__methods {
  display: grid;
  gap: 10px;
}

.ts-contacts__btn {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(44, 47, 52, 0.10);
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  background: #fff;
}

.ts-contacts__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.06);
  border-color: rgba(44, 47, 52, 0.18);
}

.ts-contacts__btn-ico {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(44, 47, 52, 0.06);
  color: #2c2f34;
  overflow: hidden;
}

.ts-contacts__btn-ico svg {
  width: 22px;
  height: 22px;
  display: block;
}

.ts-contacts__btn-text {
  font: 700 15px/1.2 'Gilroy', sans-serif;
  color: #2c2f34;
}

.ts-contacts__btn-sub {
  font: 500 20px/1.2 'Gilroy', sans-serif;
  color: rgba(44, 47, 52, 0.7);
  justify-self: end;
}

.ts-contacts__badge {
  justify-self: end;
  font: 700 11px/1 'Gilroy', sans-serif;
  color: #2c2f34;
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(44, 47, 52, 0.08);
}

.ts-contacts__btn--primary {
  border-color: rgba(0, 136, 204, 0.22);
  background: rgba(0, 136, 204, 0.06);
}

.ts-contacts__btn--primary .ts-contacts__btn-ico {
  background: rgba(0, 136, 204, 0.12);
}

.ts-contacts__btn--secondary {
  border-color: rgba(44, 47, 52, 0.14);
  background: rgba(44, 47, 52, 0.03);
}

.ts-contacts__btn--ghost {
  background: #fff;
}

.ts-contacts__note {
  margin: 6px 0 0;
  font: 400 13px/1.55 'Gilroy', sans-serif;
  color: rgba(44, 47, 52, 0.7);
}

/* Key-value blocks */
.ts-contacts__kv {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  padding: 10px 0;
  border-top: 1px solid rgba(44, 47, 52, 0.08);
}

.ts-contacts__kv:first-of-type {
  border-top: none;
  padding-top: 0;
}

.ts-contacts__k {
  font: 600 12px/1.2 'Gilroy', sans-serif;
  color: #863a3a;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.ts-contacts__v {
  font: 500 16px/1.45 'Gilroy', sans-serif;
  color: #2c2f34;
}

/* Text */
.ts-contacts__text {
  margin-top: 10px;
  font: 400 14px/1.7 'Gilroy', sans-serif;
  color: rgba(44, 47, 52, 0.82);
}

/* Bullets */
.ts-contacts__bullets {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.ts-contacts__bullets li {
  position: relative;
  padding-left: 18px;
  font: 500 14px/1.55 'Gilroy', sans-serif;
  color: rgba(44, 47, 52, 0.86);
}

.ts-contacts__bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(44, 47, 52, 0.25);
}

/* FAQ */
.ts-contacts__faq {
  margin-top: 8px;
  display: grid;
  gap: 10px;
}

.ts-contacts__faq-item {
  border: 1px solid rgba(44, 47, 52, 0.10);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

.ts-contacts__faq-q {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 22px;
  gap: 10px;
  align-items: center;
  text-align: left;
  padding: 12px 12px;
  background: #fff;
  cursor: pointer;
  border: none;
}

.ts-contacts__faq-q span:first-child {
  font: 700 14px/1.35 'Gilroy', sans-serif;
  color: #2c2f34;
}

.ts-contacts__faq-ico {
  width: 22px;
  height: 22px;
  border-radius: 8px;
  background: rgba(44, 47, 52, 0.06);
  position: relative;
}

.ts-contacts__faq-ico::before,
.ts-contacts__faq-ico::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 2px;
  background: rgba(44, 47, 52, 0.7);
  transform: translate(-50%, -50%);
}

.ts-contacts__faq-ico::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform .15s ease;
}

.ts-contacts__faq-a {
  display: none;
  padding: 0 12px 12px;
  font: 400 14px/1.7 'Gilroy', sans-serif;
  color: rgba(44, 47, 52, 0.82);
}

.ts-contacts__faq-item.is-open .ts-contacts__faq-a {
  display: block;
}

.ts-contacts__faq-q[aria-expanded="true"] .ts-contacts__faq-ico::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

/* Requisites table */
.ts-contacts__table {
  margin-top: 10px;
  border: 1px solid rgba(44, 47, 52, 0.10);
  border-radius: 14px;
  overflow: hidden;
}

.ts-contacts__tr {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  padding: 12px 12px;
  border-top: 1px solid rgba(44, 47, 52, 0.08);
  background: #fff;
}

.ts-contacts__tr:first-child {
  border-top: none;
}

.ts-contacts__td--k {
  font: 600 12px/1.2 'Gilroy', sans-serif;
  color: rgba(44, 47, 52, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.ts-contacts__td--v {
  font: 500 14px/1.55 'Gilroy', sans-serif;
  color: #2c2f34;
  word-break: break-word;
}

.ts-contacts__policy {
  margin-top: 10px;
}

/* Map */
.ts-contacts__card--map {
  position: sticky;
  top: 90px;
}

.ts-contacts__map-consent {
  margin-top: 10px;
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(44, 47, 52, 0.14);
  background: rgba(44, 47, 52, 0.04);
  font: 700 14px/1.2 'Gilroy', sans-serif;
  color: #2c2f34;
  cursor: pointer;
}

.ts-contacts__map-hint {
  margin-top: 8px;
}

.ts-contacts__map {
  margin-top: 12px;
  height: 520px;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(44, 47, 52, 0.03);
  border: 1px solid rgba(44, 47, 52, 0.08);
}

/* Custom pin for Yandex v3 */
.ts-contacts__pin {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #e53935;
  box-shadow: 0 8px 18px rgba(0,0,0,0.18);
  border: 2px solid #fff;
}

/* Responsive */
@media (min-width: 992px) {
  .ts-contacts__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 18px;
    align-items: start;
  }

  .ts-contacts__title {
    font-size: 44px;
    line-height: 1.08;
  }

  .ts-contacts__h2 {
    font-size: 26px;
  }

  .ts-contacts__tr {
    grid-template-columns: 0.38fr 0.62fr;
    align-items: start;
    gap: 14px;
  }

  .ts-contacts__td--k {
    padding-top: 2px;
  }
}

@media (max-width: 767px) {
  .ts-contacts-section {
    padding: 0px 0;
  }

  .ts-contacts__map {
    height: 360px;
  }

  .ts-contacts__card--map {
    position: static;
  }

  .ts-contacts__btn {
    grid-template-columns: 36px 1fr;
    grid-auto-rows: auto;
  }

  .ts-contacts__btn-sub,
  .ts-contacts__badge {
    justify-self: start;
    margin-top: 6px;
  }
   .ts-contacts__btn-sub {
    grid-column: 2 / -1;   /* номер всегда во 2-й колонке */
    justify-self: start;
  }
}

@media (max-width: 480px) {
  .ts-contacts__title {
    font-size: 28px;
  }

  .ts-contacts__map {
    height: 300px;
  }
}



.ts-contacts__card,
.ts-contacts__btn,
.ts-contacts__faq-item,
.ts-contacts__table,
.ts-contacts__map {
  border-radius: 0;
}