/* ==============================
   БАЗА
============================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

.contacts {
  padding: 20px 0;
  background: #f7f9fc;
  font-family: "Inter", sans-serif;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 15px;
  margin: 0 auto;
}

.section-title {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 40px;
  color: #1f2d3d;
}

/* ==============================
   СЕТКА
============================== */

.contacts-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  align-items: start;
}

.contacts-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ==============================
   КАРТОЧКИ
============================== */

.contact-card {
  background: #ffffff;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  transition: 0.3s ease;
  width: 100%;
}

.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.contact-card h3 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #6c7a89;
  margin-bottom: 8px;
}

.contact-card p,
.contact-card a {
  font-size: 16px;
  color: #1f2d3d;
  text-decoration: none;
  word-break: break-word;
}

.contact-card a:hover {
  color: #2b8cc4;
}

/* ==============================
   КНОПКА
============================== */

.contact-btn {
  margin-top: 20px;
  padding: 16px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #2b8cc4, #3aa4db);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: 0.3s ease;
  width: 100%;
}

.contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(43, 140, 196, 0.3);
}

/* ==============================
   КАРТА
============================== */

.contacts-map {
  width: 100%;
  margin-top:0px !important;
  
}

.contacts-map {
    
    height: 475px !important;
   
}


.map-widget {
  width: 100%;
  height: 600px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

/* iframe принудительно 100% */
.map-widget iframe {
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
}

/* ==============================
   АДАПТИВ
============================== */

@media (max-width: 992px) {

  .contacts {
    padding: 60px 0;
  }

  .contacts-wrapper {
    grid-template-columns: 1fr;
  }

  .map-widget {
    height: 450px;
  }

  .section-title {
    font-size: 28px;
    text-align: center;
  }
}

@media (max-width: 768px) {

  .contacts {
    padding: 0px 0;
  }

  .section-title {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .contact-card {
    padding: 18px;
    border-radius: 14px;
  }

  .contact-card h3 {
    font-size: 12px;
  }

  .contact-card p,
  .contact-card a {
    font-size: 15px;
  }

  .map-widget {
    height: 350px;
  }
}

@media (max-width: 480px) {

  .section-title {
    font-size: 22px;
  }

  .contact-card {
    padding: 16px;
  }

  .contact-card:hover {
    transform: none;
  }

  .map-widget {
    height: 300px;
  }
}