.contact-bar {
  padding: 24px 0 0 !important;
  color: #fff !important;
  background: #151515 !important;
}

.contact-bar-inner {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  grid-template-areas:
    "title social"
    "items social";
  justify-content: stretch;
  align-items: center !important;
  gap: 10px 70px !important;
  padding-top: 26px !important;
  padding-bottom: 28px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-bar-title {
  grid-area: title;
  margin: 0 !important;
  color: #fff !important;
  font-size: 18px !important;
  line-height: 1.6 !important;
}

.contact-bar-items {
  grid-area: items;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px 38px !important;
  color: rgba(255, 255, 255, 0.78) !important;
  line-height: 1.65 !important;
}

.contact-bar-items span {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.contact-bar-items span:nth-child(1),
.contact-bar-items span:nth-child(4) {
  display: none !important;
}

.contact-bar-items span:nth-child(3) {
  order: 1;
}

.contact-bar-items span:nth-child(2) {
  order: 2;
}

.contact-bar-items span:nth-child(3)::before {
  content: "✉";
  color: #fff;
  font-size: 22px;
  line-height: 1;
}

.contact-bar-items span:nth-child(2)::before {
  content: "☎";
  color: #fff;
  font-size: 20px;
  line-height: 1;
}

.contact-bar-items strong {
  color: rgba(255, 255, 255, 0.9) !important;
  white-space: nowrap;
}

.site-footer {
  padding: 22px 0 30px !important;
  background: #151515 !important;
}

.footer-social-block {
  grid-area: social;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 54px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-social-title {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 16px;
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: #fff;
  transition: color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.footer-social-link svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-social-link svg .icon-fill {
  fill: currentColor;
  stroke: none;
}

.footer-social-link:hover {
  color: #00a7c2;
  transform: translateY(-3px);
}

.footer-social-link.is-disabled {
  opacity: 0.28;
  cursor: not-allowed;
  pointer-events: none;
}

@media (max-width: 900px) {
  .contact-bar {
    padding-top: 24px !important;
  }

  .contact-bar-inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "items"
      "social";
    gap: 12px !important;
    padding-top: 22px !important;
    padding-bottom: 24px !important;
  }

  .contact-bar-items {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 7px !important;
    font-size: 13px !important;
    justify-content: start !important;
  }

  .contact-bar-items span:nth-child(2),
  .contact-bar-items span:nth-child(3) {
    display: flex !important;
  }

  .footer-social-block {
    margin-top: 10px;
    padding: 20px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-left: 0;
  }

  .footer-social-links {
    gap: 20px;
  }

  .site-footer {
    padding-top: 18px !important;
    padding-bottom: 80px !important;
  }
}
