.contact {
  background-color: #fff;
}
.contact__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 26px;
}
.contact__info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  max-width: 465px;
  gap: 24px;
}
.contact__details {
  padding: 24px 26px 24px 24px;

  background-color: #f7f7f7;
  border-radius: 16px;
}
.contact__address {
  margin-bottom: 24px;
}
.contact__description {
  font-weight: 400;
  font-size: 16px;
  line-height: 130%;
  color: #4f4f4f;
  margin-bottom: 8px;
}
.contact__value {
  font-weight: 700;
  font-size: 18px;
  line-height: 120%;
  letter-spacing: 0.02em;
  /*text-transform: uppercase;*/
  color: #19407e;
}

.contact__contacts {
  padding: 24px;
  background-color: #f7f7f7;
  border-radius: 16px;
}
.contact__phone {
  margin-bottom: 24px;
}
.contact__email {
  margin-bottom: 24px;
}

.contact__map {
  max-width: 700px;
  width: 100%;
  min-height: 740px;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); */
}

.map__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Попап */
.map-popup {
  display: none; /* скрыт по умолчанию */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.map-popup__content {
  position: relative;
  width: 90%;
  max-width: 900px;
  height: 70%;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
}

.map-popup__close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 30px;
  font-weight: bold;
  color: #000;
  cursor: pointer;
  z-index: 1001;
}
.modal__map {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgb(0 47 108 / 52%);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.modal__map.active {
  opacity: 1;
  visibility: visible;
}

.modal__content {
  position: relative;
  width: 90%;
  max-width: 900px;
  height: 70vh; /* адаптивная высота в процентах от экрана */
  background: #000;
  border-radius: 10px;
  overflow: hidden;
}
.modal__content iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  font-weight: bold;
  color: #fff;
  cursor: pointer;
  z-index: 1001;
}

@media (max-width: 1165px) {
  .contact__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .contact__info {
    max-width: 100%;
  }

  .contact__map {
    max-width: 100%;
    min-height: 400px;
  }
}

@media (max-width: 768px) {
  .contact__details,
  .contact__contacts {
    padding: 16px;
  }

  .contact__description {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .contact__value {
    font-size: 18px;
    text-transform: none;
  }

  .contact__map {
    min-height: 300px;
  }
}

@media (max-width: 480px) {
  .contact__inner {
    gap: 16px;
  }

  .contact__description {
    font-size: 14px;
  }

  .contact__value {
    font-size: 16px;
  }

  .contact__map {
    min-height: 220px;
    border-radius: 10px;
  }
}

.requisites {
  background-color: #f7f7f7;
}
.requisites__title {
  font-weight: 600;
  font-size: 34px;
  line-height: 120%;
  /*text-transform: uppercase;*/
  color: #2f2f2f;
  margin-bottom: 16px;
}
.requisites__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 16px;
  line-height: 120%;
  color: #149ede;
  margin-bottom: 36px;
}
.requisites__link:hover svg {
  transform: translate(10px, 0);
}
.requisites__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px 20px;
  border-bottom: 1px solid #19407e;
}
.requisites__label {
  font-weight: 700;
  font-size: 20px;
  line-height: 120%;
  letter-spacing: 0.02em;
  /*text-transform: uppercase;*/
  color: #19407e;
}
.requisites__value {
  max-width: 500px;
  width: 100%;
  font-size: 20px;
  line-height: 130%;
  letter-spacing: 0.02em;
  color: #4f4f4f;
}

@media (max-width: 992px) {
  .requisites__label {
    font-size: 20px;
  }

  .requisites__value {
    font-size: 18px;
  }
}

@media (max-width: 860px) {
  .requisites__item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 16px 12px;
  }

  .requisites__label {
    font-size: 18px;
  }

  .requisites__value {
    font-size: 16px;
  }
  .section__box {
    padding: 34px 0;
  }
}

@media (max-width: 480px) {
  .requisites__title {
    font-size: 24px;
    margin-bottom: 12px;
  }

  .requisites__link {
    font-size: 14px;
    margin-bottom: 24px;
  }

  .requisites__label {
    font-size: 18px;
  }

  .requisites__value {
    font-size: 14px;
    line-height: 1.4;
    word-break: break-word; /* чтобы длинные реквизиты не вылезали */
  }
}

.form-event {
  margin-top: 20px;
  color: #bb0707;
  background: #ffcccc;
  border: 1px solid #bb0707;
  border-radius: 4px;
  padding: 10px;
}
