.contacts ul {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 40px;
  list-style-type: none;
}
.contacts__item {
  padding: 20px;
  background-color: #f2f2f2;
  border-radius: 20px;
}
.contacts__subtitle {
  margin-bottom: 20px;
}
.contacts__item-icon {
  margin-bottom: 20px;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #02888d;
  border-radius: 10px;
}
.contacts__item-title {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.2;
}
.contacts__item a {
  color: #02888d;
  transition: all 0.3s linear;
}
.contacts__item a:hover {
  color: #858790;
}
.contacts__item-span-2 {
  grid-column: span 2;
}
.contacts__item-span-3 {
  grid-column: span 3;
}
.contacts__item-span-6 {
  grid-column: span 6;
}
.contacts__item-line {
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
}
.contacts__item-line span:first-of-type {
  margin-bottom: 5px;
  font-weight: 700;
}
@media (max-width: 1080px) {
.contacts ul {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.contacts__item-span-2 {
    grid-column: span 1;
}
.contacts__item-span-3 {
    grid-column: span 1;
}
.contacts__item-span-6 {
    grid-column: span 2;
}
.contacts__item-documents {
    grid-column: span 2;
}
}
@media (max-width: 768px) {
.contacts ul {
    grid-template-columns: repeat(1, 1fr);
}
.contacts__item-span-6 {
    grid-column: span 1;
}
.contacts__item-documents {
    grid-column: span 1;
}
}
@media (max-width: 500px) {
.contacts__item-title {
    font-size: 18px;
}
}