/* ======= Раздел “Контакты” ======= */
.contacts-section {
  padding: 60px 0px;
}

/* Весь блок карты + инфо — относительный контейнер */
.contacts-wrapper {
  position: relative;
  border-radius: 32px !important;
  overflow: hidden;
  margin-bottom: auto;
  height: 600px;
}

/* Карта занимает весь контейнер */
.contacts-map {
  width: 100%;
  height: 100%;
  margin: 0 auto;
}
.contacts-map iframe {
  border-radius: 30px !important;
  display: block;      /* убираем возможные inline-баги */
  width: 100% !important;
  height: 100% !important;
}

/* Блок с контактами поверх карты */
.contacts-info {
  position: absolute;
  bottom: 40px;
  right: 60px;
  width: 430px;
  background: #FCFCFC;
  border-radius: 24px;
  box-sizing: border-box;
  z-index: 2;
}

/* Контент в информационном блоке */

.contacts-list {
  padding: 38px 0 0 50px;
}

.contacts-list li {
  display: flex;
  align-items: center;
  margin-bottom: 38px;
}
.contacts-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  margin-right: 12px;
  background-size: contain;
  background-repeat: no-repeat;
  margin-top: auto;
}
.contacts-icon--marker {
  background-image: url('../../img/contacts/locator.png');
}
.contacts-icon--clock {
  background-image: url('../../img/contacts/calendar.png');
}
.contacts-icon--email {
  background-image: url('../../img/contacts/mail.png');
}
.contacts-icon--phone {
  background-image: url('../../img/contacts/phone.png');
}
.contacts-list a {
  text-decoration: none;
  color: #000;
}
.contacts-list small {
  display: block;
  opacity: 0.6;
  margin-top: 4px;
}

/* Социальные кнопки */
.contacts-social {
  display: flex;
  gap: 20px;
  padding: 12px 0 30px 50px;
}
.contacts-btn-container {
  width: 40px;
  height: 40px;
}

.social-btn {
  width: 100%;
  height: 100%;
  display: block;
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform 0.3s ease;
}

.social-btn:hover {
  transform: scale(1.25); /* увеличивает на 20% */
}

.social-btn--whatsapp  { background-image: url('../../img/contacts/wa.svg'); }
.social-btn--vk        { background-image: url('../../img/contacts/vk.svg'); }
.social-btn--telegram  { background-image: url('../../img/contacts/tg.svg'); }

/* Адаптив: узкие экраны — карта сверху, инфо снизу */
@media (max-width: 900px) {
  .contacts-wrapper {
    display: block;
    height: auto;
    overflow: visible;
  }

  .contacts-list {
    padding: 20px;
    padding-bottom: 0;
  }
  .contacts-list li{
    margin-bottom: 30px !important;
  }
  .contacts-map {
    width: 100%;
    height: 300px;
    border-radius: 999px;
  }
  .contacts-info {
    position: static;
    width: auto;
    border-radius: 24px;
  }
  .contacts-social {
      padding: 6px 0 20px 20px;
  }
}
