/* Страница контактов */

.contacts-page .npage-content {
  margin-bottom: 0;
}

.contacts-page__section {
  padding: 32px 0 48px;
  font-family: var(--font-family-montserrat);
  color: var(--color-black);
}

.contacts-page__top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px 32px;
  align-items: flex-end;
  margin-bottom: 40px;
}

.contacts-page__intro {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 400;
  max-width: 420px;
}

.contacts-page__phone {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.contacts-page__phone:hover,
.contacts-page__phone:focus {
  text-decoration: none;
  color: inherit;
}

.contacts-page__phone-cont {
  background: var(--color-gold-hard);
  padding: 10px;
  border-radius: 50%;
}

.contacts-page__phone-icon {
  width: 25px;
  height: 25px;
  object-fit: contain;
  flex-shrink: 0;
  filter: invert(1);
}

.contacts-page__phone-num {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 500;
  line-height: 1.1;
  white-space: nowrap;
  color: var(--color-gold-hard);
}

.contacts-page__top-col--btn {
  display: flex;
  justify-content: center;
}

.contacts-page__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--color-gold-hard);
  color: #fff;
  border-radius: 50px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  transition: opacity 0.2s linear;
  white-space: nowrap;
}

.contacts-page__btn:hover,
.contacts-page__btn:focus {
  color: #fff;
  text-decoration: none;
  opacity: 0.9;
}

.contacts-page__btn-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
  filter: invert(1);
}

.contacts-page__top-col--hours {
  text-align: right;
}

.contacts-page__hours-title {
  font-weight: 700;
  font-size: 16px;
  line-height: 1.3;
}

.contacts-page__hours-text {
  margin-top: 4px;
  font-size: 16px;
  line-height: 1.4;
}

.contacts-page__locations {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contacts-page__location {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.contacts-page__map {
  min-height: 280px;
  border-radius: 12px;
  overflow: hidden;
  background: #e8e8e8;
}

.contacts-page__map--grayscale {
  filter: grayscale(100%);
}

.contacts-page__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 440px;
  border: 8px solid #fff;
    border-radius: 8px;
}

.contacts-page__card {
  background: var(--color-gold-hard);
  color: #fff;
  border-radius: 12px;
  padding: 32px 36px;
  height: 100%;
}

.contacts-page__card-title {
  margin: 0 0 24px;
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 400;
  line-height: 1.2;
  color: #fff;
  font-family: var(--font-family-montserrat);
}

.contacts-page__card-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contacts-page__card-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.contacts-page__card-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
  margin-top: 2px;
}

.contacts-page__card-text {
  font-size: 15px;
  line-height: 1.45;
}

.contacts-page__card-text p {
  margin: 0;
  color: #fff;
}

.contacts-page__card-text a {
  color: #fff;
  text-decoration: underline;
}

.contacts-page__card-text a:hover {
  color: #fff;
  opacity: 0.85;
}

@media (max-width: 1199px) {
  .contacts-page__top {
    grid-template-columns: 1fr 1fr;
  }

  .contacts-page__top-col--btn {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .contacts-page__top-col--hours {
    text-align: left;
  }
}

@media (max-width: 991px) {
  .contacts-page__location {
    grid-template-columns: 1fr;
  }

  .contacts-page__map {
    min-height: 240px;
  }

  .contacts-page__map iframe {
    min-height: 240px;
  }
}

@media (max-width: 767px) {
  .contacts-page__section {
    padding: 24px 0 40px;
  }

  .contacts-page__top {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 32px;
  }

  .contacts-page__phone-num {
    white-space: normal;
  }

  .contacts-page__card {
    padding: 24px 20px;
  }
}
