/* Contacts — Figma 247:8780 */

.sm-contacts-hero {
  padding: 140px 0 102px;
  background: #fff;
  border-bottom: 1px solid #d6d6d6;
}

.sm-contacts-hero__grid {
  display: grid;
  grid-template-columns: minmax(280px, 616px) minmax(280px, 617px);
  gap: clamp(24px, 3vw, 48px);
  align-items: stretch;
  justify-content: space-between;
}

.sm-contacts-hero__card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 58px;
  padding: 32px;
  border-radius: 16px;
  background:
    linear-gradient(94deg, #fefefe 42%, #f6f7f7 100%),
    linear-gradient(92deg, #fffee9 0%, #fff1a4 98%),
    #fafafa;
  min-height: 600px;
}

.sm-contacts-hero__text {
  display: flex;
  flex-direction: column;
  gap: 21px;
  align-items: flex-start;
}

.sm-contacts-hero__title {
  margin: 0;
  font-family: var(--sm-font-display);
  font-weight: 700;
  font-size: clamp(2.25rem, 4.5vw, 4rem);
  line-height: 1;
  color: var(--sm-grey-900);
}

.sm-contacts-hero__sub {
  margin: 0;
  font-family: var(--sm-font-body);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.35;
  color: var(--sm-grey-600);
}

.sm-contacts-hero__meta {
  margin: 0;
  font-family: var(--sm-font-body);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.35;
  color: var(--sm-grey-600);
}

.sm-contacts-hero__link,
.sm-contacts-hero__address {
  margin: 0;
  font-family: var(--sm-font-body);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.35;
  color: var(--sm-grey-900);
}

.sm-contacts-hero__link a {
  color: inherit;
  text-decoration: none;
}

.sm-contacts-hero__link a:hover {
  text-decoration: underline;
}

.sm-contacts-hero__social {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 3px;
}

.sm-contacts-hero__social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 39px;
  height: 39px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid var(--sm-grey-600, #4c4a4b);
  color: var(--sm-grey-800);
  background: transparent;
  text-decoration: none;
  flex: 0 0 39px;
}

.sm-contacts-hero__social-btn:hover {
  background: rgba(0, 0, 0, 0.04);
}

.sm-contacts-hero__social-icon {
  width: 24px;
  height: 24px;
  display: block;
}

.sm-contacts-hero__social-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.sm-contacts-hero__actions {
  display: flex;
}

.sm-contacts-hero__map {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 58, 50, 0.1);
  background: #fefefe;
  min-height: 600px;
}

.sm-contacts-hero__iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: grayscale(0.35) contrast(0.95) saturate(0.7);
}

@media (max-width: 1100px) {
  .sm-contacts-hero {
    padding: 120px 0 64px;
  }

  .sm-contacts-hero__grid {
    grid-template-columns: 1fr;
  }

  .sm-contacts-hero__card {
    min-height: 0;
    gap: 40px;
  }

  .sm-contacts-hero__map {
    min-height: 420px;
  }
}

/* Contacts mobile 390 — Figma 501:13535 */
@media (max-width: 430px) {
  .sm-contacts-hero {
    padding: calc(var(--sm-header-h) + 24px) 0 48px;
  }

  .sm-contacts-hero__card {
    gap: 24px;
    padding: 24px 16px;
    border-radius: 16px;
  }

  .sm-contacts-hero__title {
    font-size: 32px;
    line-height: 38px;
    text-align: center;
  }

  .sm-contacts-hero__grid {
    gap: 16px;
  }

  .sm-contacts-hero__map {
    min-height: 280px;
    border-radius: 16px;
  }

  .sm-contacts-hero__info {
    text-align: center;
  }

  .sm-contacts-hero .sm-btn {
    width: 100%;
    justify-content: center;
  }
}
