/* Footer */
.site-footer { padding: 58px max(32px, calc((100% - 1650px) / 2)) 0; color: #31404a; background: #f8faf8; border-top: 1px solid #e4ebe5; }
.site-footer__main { display: grid; grid-template-columns: 1.35fr .72fr .78fr 1fr; gap: 46px; padding-bottom: 52px; }
.site-footer__brand { max-width: 390px; }
.site-footer__brand img { width: 230px; height: auto; }
.site-footer__brand h2 { margin: 24px 0 10px; color: #17242d; font-size: 24px; }
.site-footer__brand p { max-width: 390px; margin: 0 0 17px; color: #718078; font-size: 15px; line-height: 1.7; }
.site-footer__brand > a { color: #26343c; font-size: 14px; font-weight: 600; text-decoration: none; }
.site-footer__brand-contact { display: grid; gap: 10px; margin-top: 18px; }
.site-footer__brand-contact > a,
.site-footer__brand-contact > span { display: flex; align-items: flex-start; gap: 10px; color: #718078; font-size: 13px; line-height: 1.55; text-decoration: none; }
.site-footer__brand-contact i { width: 16px; flex: 0 0 16px; margin-top: 3px; color: #009ed9; text-align: center; }
.site-footer__socials { display: flex; gap: 8px; margin-top: 20px; }
.site-footer__socials a { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid #d6e4dc; border-radius: 5px; color: #008fc6; background: #fff; text-decoration: none; transition: color .2s ease, background .2s ease, border-color .2s ease; }
.site-footer__socials a:hover { color: #fff; border-color: #00aeef; background: #00aeef; }
.site-footer__column { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; }
.site-footer__column h3 { margin: 0 0 10px; color: #17242d; font-size: 16px; }
.site-footer__column a, .site-footer__column span { color: #718078; font-size: 14px; text-decoration: none; }
.site-footer__column a:hover { color: #009ed9; }
.site-footer__column i { width: 18px; color: #009ed9; }
.site-footer__contact-card { align-self: start; padding: 26px; border: 1px solid #dce6df; border-radius: 7px; background: #fff; }
.site-footer__contact-card > i { color: #009ed9; font-size: 26px; }
.site-footer__contact-card h3 { margin: 17px 0 8px; color: #17242d; font-size: 17px; }
.site-footer__contact-card p { margin: 0; color: #718078; font-size: 14px; }
.site-footer__contact-card a { display: inline-block; margin-top: 20px; color: #008fc6; font-size: 15px; font-weight: 700; text-decoration: none; }
.site-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 260px 24px 0; border-top: 1px solid #dde6df; }
.site-footer__bottom p { margin: 0; color: #77857c; font-size: 12px; }
.site-footer__bottom nav { display: flex; flex-wrap: wrap; gap: 18px; }
.site-footer__bottom a { color: #77857c; font-size: 12px; text-decoration: none; }

@media (max-width: 1180px) {
  .site-footer__main { grid-template-columns: 1.2fr .8fr .9fr; }
  .site-footer__contact-card { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .site-footer__main { grid-template-columns: 1.2fr 1fr; }
  .site-footer__contact-card { grid-column: auto; }
}

@media (max-width: 700px) {
  .site-footer { padding-inline: 22px; }
  .site-footer__main { grid-template-columns: 1fr; gap: 34px; }
  .site-footer__contact-card { grid-column: auto; }
  .site-footer__bottom { align-items: flex-start; flex-direction: column; }
  .site-footer__bottom { padding-right: 64px; }
}

.site-footer *,
.site-footer *::before,
.site-footer *::after { box-sizing: border-box; }
.site-footer__bottom a:hover,
.site-footer__bottom button:hover { color: #008fc6; }
.site-footer__bottom button {
  border: 0;
  padding: 0;
  background: none;
  color: #77857c;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
}
