.section-contacts-wrap {
  container-type: inline-size;
  container-name: section-contacts;
}

.section-contacts {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.section-contacts__column,
.section-contacts__person {
  min-width: 0;
  height: 100%;
}

.section-contacts__info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: stretch;
}

.section-contacts__details {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.section-contacts__card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.section-contacts__card-icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  background: var(--tabbed-accent, #026cbc);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.section-contacts__card-icon svg {
  width: 22px;
  height: 22px;
  display: block;
  fill: currentColor;
}

.section-contacts__card-content {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.section-contacts__card-label {
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
  font-weight: 700;
}

.section-contacts__card-value {
  color: #0f172a;
  font-weight: 600;
  line-height: 1.45;
}

.section-contacts__card-value a {
  text-decoration: none;
}

.section-contacts__card-value a:hover {
  text-decoration: underline;
}

.section-contacts__phones {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.section-contacts__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.section-contacts__action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #fff;
  font-weight: 700;
  text-decoration: none;
  min-height: 40px;
  transition: transform 180ms ease, box-shadow 180ms ease,
    border-color 180ms ease;
  color: var(--tabbed-accent);
}
.section-contacts__action:visited,
.section-contacts__action:hover {
  color: var(--tabbed-accent);
  text-decoration: underline;
}

.section-contacts__action-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 18px;
}

.section-contacts__action-icon i {
  width: 18px;
  height: 18px;
  display: inline-block;
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: center;
}

.section-contacts__action-text {
  overflow-wrap: anywhere;
  font-weight: 600;
  text-decoration: none;
}

.section-contacts__action--telegram {
  background: #229ed9;
  border-color: #229ed9;
  color: #fff;
}

.section-contacts__action--whatsapp {
  background: #25d366;
  border-color: #25d366;
  color: #fff;
}

.section-contacts__action--email {
  background: var(--tabbed-accent, #026cbc);
  border-color: var(--tabbed-accent, #026cbc);
  color: #fff;
}

.section-contacts__map {
  width: 100%;
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  height: 300px;
  max-height: 300px;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.1);
}


.section-contacts__map iframe {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  border: 0;
  display: block;
}

.section-contacts__person .consultant_card {
  height: 100%;
}

.section-contacts__person .your-consultant__photo-link .userpic_div {
  width: 150px;
  height: 150px;
  max-width: none;
  max-height: none;
}

@media (max-width: 1024px) {
  .section-contacts__person .your-consultant__photo-link .userpic_div {
    width: 100px;
    height: 100px;
    max-width: none;
    max-height: none;
  }
  .section-contacts {
    grid-template-columns: 1fr;
  }

  .section-contacts__info {
    grid-template-columns: 1fr;
  }

  .your-consultant {
    max-width: 100%;
  }

  .section-contacts__map {
    height: 260px;
    max-height: 260px;
  }
}

@container section-contacts (max-width: 850px) {
  .section-contacts {
    grid-template-columns: 1fr;
  }
}

@media (hover: none), (pointer: coarse) {
  .section-contacts__card-value a:hover {
    text-decoration: none;
  }

  .section-contacts__action:hover {
    text-decoration: none;
  }
}
