/* iPac standalone footer v1.0.0 / asset v50. */
.ipac-footer {
  flex: 0 0 auto !important;
  align-self: stretch;
  width: 100%;
  margin-top: 54px;
  overflow: hidden;
  background: #eaf7fc;
  border-top: 4px solid #38b0e3;
  color: #102d42;
  box-shadow: none;
}

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

.ipac-footer__inner {
  width: 100%;
  max-width: 1640px;
  margin: 0 auto;
  padding: 52px 28px 22px;
}

.ipac-footer__main {
  display: grid;
  grid-template-columns: minmax(240px, 1.35fr) minmax(170px, .8fr) minmax(170px, .8fr) minmax(255px, 1fr);
  gap: 56px;
}

.ipac-footer__logo {
  display: inline-flex;
  align-items: center;
  width: auto;
  min-width: 0;
  min-height: 0;
  margin: 0 0 22px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.ipac-footer__logo img {
  display: block;
  width: 190px;
  max-width: 100%;
  height: auto;
  opacity: 1;
  filter: none;
  mix-blend-mode: normal;
}

.ipac-footer__brand p {
  margin: 0 0 5px;
  color: #0f2c40;
  font-size: 18px;
  font-weight: 800;
}

.ipac-footer__brand > span {
  color: #587080;
  line-height: 1.5;
}

.ipac-footer__column,
.ipac-footer__contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}

.ipac-footer__column > strong,
.ipac-footer__contacts > strong {
  margin-bottom: 7px;
  color: #0f2c40;
  font-size: 17px;
}

.ipac-footer__column a {
  color: #587080;
  line-height: 1.3;
  text-decoration: none;
  transition: color .2s, transform .2s;
}

.ipac-footer__column a:hover,
.ipac-footer__column a:focus,
.ipac-footer__phone:hover,
.ipac-footer__phone:focus {
  color: #159fd3;
}

.ipac-footer__column a:hover {
  transform: translateX(2px);
}

.ipac-footer__contacts p {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  color: #587080;
  line-height: 1.45;
}

.ipac-footer__contacts p i {
  width: 16px;
  margin-top: 3px;
  color: #38b0e3;
  text-align: center;
}

.ipac-footer__phone {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #0f2c40;
  font-size: 19px;
  font-weight: 800;
  text-decoration: none;
}

.ipac-footer__phone i {
  color: #38b0e3;
}

.ipac-footer__socials {
  display: flex;
  gap: 9px;
  margin-top: 6px;
}

.ipac-footer__socials a {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  background: #38b0e3;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  transition: background-color .2s, transform .2s;
}

.ipac-footer__socials a i {
  color: #fff;
}

.ipac-footer__socials a:hover,
.ipac-footer__socials a:focus {
  background: #159fd3;
  color: #fff;
  transform: translateY(-2px);
}

.ipac-footer__bottom {
  position: relative;
  z-index: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  margin-top: 42px;
  padding: 21px 0 0;
  color: #587080;
  font-size: 12px;
  line-height: 1.5;
  background: #ddf2fa;
  border-top: 1px solid rgba(56, 176, 227, .22);
  box-shadow: 0 0 0 100vmax #ddf2fa;
  clip-path: inset(0 -100vmax);
}

.ipac-footer__bottom span:last-child {
  max-width: 820px;
  text-align: right;
}

@media (max-width: 1000px) {
  .ipac-footer__main {
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 36px;
  }

  .ipac-footer__contacts {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
  }

  .ipac-footer__contacts > strong,
  .ipac-footer__socials {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  .ipac-footer {
    margin-top: 34px;
  }

  .ipac-footer__inner {
    padding: 35px 18px 20px;
  }

  .ipac-footer__main {
    grid-template-columns: 1fr 1fr;
    gap: 30px 20px;
  }

  .ipac-footer__brand,
  .ipac-footer__contacts {
    grid-column: 1 / -1;
  }

  .ipac-footer__logo {
    margin-bottom: 18px;
  }

  .ipac-footer__logo img {
    width: 155px;
  }

  .ipac-footer__brand p {
    font-size: 17px;
  }

  .ipac-footer__contacts {
    display: flex;
  }

  .ipac-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-top: 30px;
  }

  .ipac-footer__bottom span:last-child {
    text-align: left;
  }

  .ipac-footer__column a {
    font-size: 13px;
  }

  .ipac-footer__phone {
    font-size: 17px;
  }
}
