.ef-site-footer {
  --ef-footer-text: #0b1934;
  --ef-footer-muted: #64748b;
  --ef-footer-blue: #0554f2;
  width: 100%;
  padding: 30px 0 18px;
  color: var(--ef-footer-text);
  background: #f7f7f7;
  box-sizing: border-box;
}

.ef-site-footer,
.ef-site-footer * {
  box-sizing: border-box;
}

.ef-site-footer a {
  color: inherit;
  text-decoration: none;
}

.ef-site-footer__holder,
.ef-site-footer__bottom {
  width: min(100% - 32px, var(--ef-ui-container, 1360px));
  margin-inline: auto;
  padding-inline: 32px;
}

.ef-site-footer__holder {
  display: grid;
  grid-template-columns: minmax(190px, 1.25fr) repeat(3, minmax(135px, 0.85fr)) minmax(210px, 1fr);
  gap: clamp(26px, 4vw, 72px);
  align-items: start;
}

.ef-site-footer__brand {
  min-width: 0;
}

.ef-site-footer__logo {
  display: block;
  width: 150px;
  max-width: 100%;
}

.ef-site-footer__logo img {
  display: block;
  width: 100%;
  height: auto;
}

.ef-site-footer__logo--text {
  color: var(--ef-footer-blue);
  font-size: 24px;
  font-weight: 700;
}

.ef-site-footer__description {
  max-width: 230px;
  margin: 16px 0 0;
  color: var(--ef-footer-muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.55;
}

.ef-site-footer__menu {
  min-width: 0;
}

.ef-site-footer__menu-title,
.ef-site-footer__connect-title {
  margin: 0 0 13px;
  color: var(--ef-footer-text);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
}

.ef-site-footer__menu-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ef-site-footer__menu-list a,
.ef-site-footer__contacts a {
  color: #334155;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  transition: color 160ms ease;
}

.ef-site-footer__menu-list a:hover,
.ef-site-footer__contacts a:hover {
  color: var(--ef-footer-blue);
}

.ef-site-footer__contacts {
  display: grid;
  gap: 10px;
}

.ef-site-footer__contacts a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.ef-site-footer__contact-icon {
  display: grid;
  place-items: center;
  flex: 0 0 17px;
  width: 17px;
  height: 17px;
}

.ef-site-footer__contact-icon svg {
  display: block;
  width: 17px;
  height: 17px;
}

.ef-site-footer__contact-icon svg,
.ef-site-footer__socials svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.ef-site-footer__socials svg .is-filled,
.ef-site-footer__socials svg path.is-filled {
  fill: currentColor;
  stroke: none;
}

.ef-site-footer__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 15px;
}

.ef-site-footer__socials a {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: var(--ef-footer-blue);
  border: 1px solid #b7ccfb;
  border-radius: 50%;
  background: #fff;
  transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.ef-site-footer__socials a:hover {
  color: #fff;
  border-color: var(--ef-footer-blue);
  background: var(--ef-footer-blue);
}

.ef-site-footer__socials svg {
  width: 16px;
  height: 16px;
}

.ef-site-footer__bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  padding-top: 15px;
  border-top: 1px solid #e2e8f0;
  color: var(--ef-footer-muted);
  font-size: 11px;
  line-height: 1.4;
  text-align: center;
}

.ef-site-footer__bottom p {
  margin: 0;
}

.ef-site-footer__bottom a {
  color: var(--ef-footer-blue);
}

@media (min-width: 1440px) {
  .ef-site-footer__holder,
  .ef-site-footer__bottom {
    width: 100%;
    padding-inline: 60px;
  }
}

@media (max-width: 1023px) {
  .ef-site-footer__holder {
    grid-template-columns: minmax(180px, 1fr) repeat(2, minmax(140px, 1fr));
  }

  .ef-site-footer__connect {
    grid-column: 2 / -1;
  }
}

@media (max-width: 767px) {
  .ef-site-footer {
    padding: 24px 0 16px;
  }

  .ef-site-footer__holder,
  .ef-site-footer__bottom {
    width: min(100% - 24px, var(--ef-ui-container, 1360px));
    padding-inline: 0;
  }

  .ef-site-footer__holder {
    display: block;
  }

  .ef-site-footer__brand {
    margin-bottom: 20px;
  }

  .ef-site-footer__logo {
    width: 138px;
  }

  .ef-site-footer__description {
    max-width: 300px;
    margin-top: 12px;
  }

  .ef-site-footer__menu-list {
    gap: 11px;
    padding: 0 0 18px;
  }

  .ef-site-footer__menu-list a,
  .ef-site-footer__contacts a {
    font-size: 14px;
  }

  .ef-site-footer__connect {
    padding-top: 18px;
    border-top: 1px solid #dde4ee;
  }

  .ef-site-footer__connect-title {
    margin-bottom: 12px;
  }

  .ef-site-footer__bottom {
    flex-direction: column;
    gap: 7px;
    margin-top: 20px;
    padding-top: 14px;
  }
}
