.modern-footer {
  position: relative;
  overflow: hidden;
  padding: 34px 0 14px;
  background:
    linear-gradient(135deg, rgba(5, 27, 66, .98), rgba(16, 74, 142, .94)),
    url("../images/bg_5.jpg") center/cover no-repeat;
  color: #fff;
}

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

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

.modern-footer a:hover {
  color: #9dd7ff;
  text-decoration: none;
}

.modern-footer__inner {
  width: min(1140px, calc(100% - 32px));
  margin: 0 auto;
}

.modern-footer__grid {
  display: grid;
  grid-template-columns: minmax(230px, 1.25fr) minmax(150px, .75fr) minmax(180px, .9fr) minmax(240px, 1.15fr);
  gap: 26px;
  align-items: start;
}

.modern-footer__brand h2,
.modern-footer__col h3 {
  margin: 0 0 10px;
  color: #fff;
  font-weight: 700;
  line-height: 1.25;
}

.modern-footer__brand h2 {
  font-size: 22px;
}

.modern-footer__col h3 {
  position: relative;
  padding-bottom: 9px;
  font-size: 15px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.modern-footer__col h3::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  border-radius: 999px;
  background: #56b7ff;
  content: "";
}

.modern-footer__brand p {
  max-width: 310px;
  margin: 0 0 15px;
  color: rgba(255, 255, 255, .75);
  font-size: 13px;
  line-height: 1.6;
}

.modern-footer__social {
  display: flex;
  gap: 10px;
}

.modern-footer__social a {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-size: 0;        /* hide any residual text */
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.modern-footer__social a svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex-shrink: 0;
}

.modern-footer__social a:hover {
  border-color: #56b7ff;
  background: #167ce9;
  color: #fff;
  transform: translateY(-2px);
}

.modern-footer__links,
.modern-footer__contact {
  margin: 0;
  padding: 0;
  list-style: none;
}

.modern-footer__links li + li {
  margin-top: 7px;
}

.modern-footer__links a {
  color: rgba(255, 255, 255, .76);
  font-size: 13px;
  line-height: 1.35;
}

.modern-footer__contact {
  display: grid;
  gap: 9px;
}

.modern-footer__contact li,
.modern-footer__contact a {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  color: rgba(255, 255, 255, .76);
  font-size: 13px;
  line-height: 1.45;
}

.modern-footer__icon {
  display: inline-flex;
  width: 24px;
  min-width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(86, 183, 255, .16);
  color: #9dd7ff;
  font-size: 12px;
  font-weight: 700;
}

.modern-footer__bottom {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .68);
  font-size: 12px;
}

.modern-footer__bottom p {
  margin: 0;
}

.modern-footer__tagline {
  color: #fff;
  font-weight: 700;
}

@media (max-width: 991.98px) {
  .modern-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .modern-footer {
    padding-top: 28px;
  }

  .modern-footer__inner {
    width: min(100% - 26px, 1140px);
  }

  .modern-footer__grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .modern-footer__bottom {
    display: block;
    text-align: left;
  }
}
