/* страница контактов */

.contacts-page {
  padding-top: 20px;
}

.contacts-page__title {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 0 0 28px;
  max-width: none;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--c-brand);
}

.contacts-page__title-rule {
  display: block;
  flex-shrink: 0;
  width: 40px;
  height: 1px;
  margin-top: calc((1lh - 1px) / 2);
  background-color: var(--c-brand);
}

.contacts-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 28px;
  background-color: var(--c-brand);
}

.contacts-card__map { 
  position: relative;
  min-height: 220px;
  background-color: var(--c-brand);
}

.contacts-card__map-img iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  border-radius: 28px;
}

.contacts-card__info {
  box-sizing: border-box;
  padding: 28px 22px 32px;
  color: #ffffff;
}

.contacts-card__name {
  margin: 0 0 16px;
  font-size: 22px;
  line-height: 28px;
  font-weight: 700;
  text-transform: none;
  color: #ffffff;
}

.contacts-card__text {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 22px;
  font-weight: 400;
  color: #ffffff;
}

.contacts-card__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 28px;
}

.contacts-card__link {
  font-size: 20px;
  line-height: 28px;
  font-weight: 500;
  color: #ffffff;
  text-decoration: none;
}

.contacts-card__link:hover,
.contacts-card__link:focus-visible {
  opacity: 0.85;
}

.contacts-extra__title {
  margin: 0 0 16px;
  font-size: 18px;
  line-height: 24px;
  font-weight: 700;
  text-transform: uppercase;
  color: #33cfab;
}

.contacts-extra__name {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: var(--c-title);
}

.contacts-extra__link {
  display: block;
  margin: 0 0 6px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: var(--c-title);
  text-decoration: none;
}

.contacts-extra__link:hover,
.contacts-extra__link:focus-visible {
  color: var(--c-brand);
}

@media (min-width: 992px) {
  .contacts-page {
    padding-top: 28px;
  }

  .breadcrumbs {
    margin-bottom: 36px;
  }

  .contacts-page__title {
    gap: 20px;
    margin-bottom: 40px;
    font-size: 40px;
    line-height: 1.1;
  }

  .contacts-page__title-rule {
    width: clamp(60px, 8vw, 110px);
    height: 3px;
    margin-top: calc((1lh - 3px) / 2);
    background-color: var(--c-brand);
  }

  .contacts-card {
    flex-direction: row;
    min-height: 360px;
    border-radius: 32px;
  }

  .contacts-card__map {
    flex: 1 1 50%;
    min-height: 360px;
  }

  .contacts-card__map-img iframe {
    min-height: 370px;
    border-radius: 32px;
    
  }

  .contacts-card__info {
    flex: 1 1 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 48px;
  }

  .contacts-card__name {
    font-size: 28px;
    line-height: 34px;
    margin-bottom: 20px;
  }

  .contacts-card__text {
    font-size: 16px;
    line-height: 24px;
  }

  .contacts-card__links {
    margin-top: 36px;
    gap: 10px;
  }

  .contacts-card__link {
    font-size: 24px;
    line-height: 32px;
  }

  .contacts-extra {
    max-width: 520px;
  }

  .contacts-extra__title {
    margin-bottom: 20px;
    font-size: 22px;
    line-height: 28px;
  }
}
