.contacts {
  background-color: #f7f8fa;
  padding: 56px 0;
  font-family: 'Montserrat', sans-serif;
  color: #222;
}

.contacts .container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.contacts .contacts-columns {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
}

.contacts .contacts-column {
  flex: 1 1 0;
  min-width: 260px;
}

.contacts h3 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 12px;
  color: #009C8F;
}

.contacts p {
  font-size: 14px;
  line-height: 1.6;
  margin: 4px 0;
}

.contacts a {
  color: #009C8F;
  text-decoration: none;
}

.contacts a:hover {
  text-decoration: underline;
}

.contacts .contacts-social-row {
  display: flex;
  justify-content: center;
  gap: 12px; 
  margin-top: 78px;
}

.contacts .contacts-social-row a {
  flex: 1;
  text-align: center;
}

.contacts .contacts-social-row i {
  font-size: 22px;
  color: #009C8F;
  transition: opacity 0.3s ease;
}

.contacts .contacts-social-row a:hover i {
  opacity: 0.7;
}

.contacts .contacts-columns > .contacts-column:nth-child(3) h3 {
  padding-left: 56px; /* или подбери визуально — 6px, 10px */
}

@media (max-width: 768px) {
  .contacts .contacts-columns {
    flex-direction: column;
    gap: 24px; /* или меньше — визуально подбери */
  }

  .contacts .contacts-columns > .contacts-column {
    width: 100%;
  }

  .contacts .contacts-columns > .contacts-column h3 {
    padding-left: 0; /* сбрасываем desktop-сдвиг */
    margin-bottom: 8px;
    font-size: 18px; /* может чуть больше/меньше — зависит от дизайна */
    text-align: left;
  }

  .contacts .contacts-social-row {
    justify-content: flex-start; /* или центр, если визуально лучше */
    gap: 16px; /* иконки не должны слипаться */
    flex-wrap: wrap;
  }
}



