/* ===== Сетка с равной высотой ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}

/* ===== Карточки ===== */
.two-col > div {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.02);
  padding: 24px;
  border-radius: 14px;
}

/* ===== Правая колонка (карта) ===== */
.two-col > div:last-child {
  height: 100%;
}

/* ===== Карта занимает всё свободное место ===== */
.map-wrapper {
  margin-top: 16px;
  flex-grow: 1;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
}

/* Встроенная карта */
.map-wrapper iframe,
.map-wrapper > div,
.map-wrapper script {
  width: 100% !important;
  height: 100% !important;
  border: none;
}


/* ===== Основной контейнер ===== */
.contact-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 16px;
}

/* ===== Сетка ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

/* ===== Колонки ===== */
.two-col > div {
  background: rgba(255, 255, 255, 0.02);
  padding: 24px;
  border-radius: 14px;
}

/* ===== Заголовки ===== */
.contact-section h1 {
  text-align: center;
  margin-bottom: 40px;
}

.contact-section h3 {
  text-align: center;
  margin: 24px 0 16px;
}

/* ===== Списки ===== */
.contact-section ul,
.contact-section ol {
  padding-left: 0;
  margin: 0;
  list-style: none;
}

/* Пункты */
.contact-section li,
.contact-section p {
  text-align: center;
  margin: 10px 0;
  line-height: 1.5;
}

/* ===== Блок контактов ===== */
.contact-section ol p {
  font-weight: 500;
}

/* ===== Карта ===== */
.map-wrapper {
  margin-top: 16px;
  border-radius: 16px;
  overflow: hidden;
}

/* ===== Адаптация ===== */

/* Планшеты */
@media (max-width: 1024px) {
  .two-col {
    grid-template-columns: 1fr;
  }

  .two-col > div {
    height: auto;
  }

  .map-wrapper {
    height: 300px;
    flex-grow: 0;
  }
}


/* Телефоны */
@media (max-width: 600px) {
  .contact-section {
    padding: 16px 0;
  }

  .contact-section h1 {
    font-size: 22px;
  }

  .contact-section h3 {
    font-size: 18px;
  }

  .map-wrapper iframe,
  .map-wrapper > div {
    height: 260px !important;
  }

  .contact-section ul,
  .contact-section ol {
    padding-left: 16px;
  }
}
