.viph-footer {
  width: 100%;
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 18px 0 64px;
}

.viph-footer * {
  box-sizing: border-box;
}

.viph-footer__inner {
  width: min(1360px, calc(100% - 78px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(330px, 390px) minmax(250px, 280px) minmax(110px, 118px) minmax(180px, 220px);
  column-gap: clamp(48px, 5.5vw, 78px);
  align-items: start;
}

.viph-footer__brand {
  max-width: 402px;
}

.viph-footer__logo {
  display: flex;
  width: 96px;
  margin: 0 auto 14px;
}

.viph-footer__logo img {
  display: block;
  width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
}

.viph-footer__company,
.viph-footer__title {
  color: var(--footer-text);
  font-size: 14px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: 0;
  margin: 0;
}

.viph-footer__company {
  margin-bottom: 12px;
}

.viph-footer__contact {
  color: var(--footer-text);
  font-size: 13px;
  line-height: 1.5;
  font-weight: 500;
}

.viph-footer__contact p {
  margin: 0;
  line-height: inherit;
}

.viph-footer__contact p + p {
  margin-top: 3px;
}

.viph-footer__license {
  padding-top: 8px;
}

.viph-footer__column {
  padding-top: 42px;
}

.viph-footer__title {
  margin-bottom: 10px;
  text-transform: uppercase;
}

.viph-footer__links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.viph-footer__links li + li {
  margin-top: 6px;
}

.viph-footer__links a {
  display: inline-flex;
  color: var(--footer-text);
  font-size: 14px;
  line-height: 1.35;
  font-weight: 500;
  text-decoration: none;
}

.viph-footer__links a:hover,
.viph-footer__links a:focus {
  color: var(--footer-text);
  opacity: 0.78;
}

@media (max-width: 1199px) {
  .viph-footer__inner {
    width: min(1040px, calc(100% - 48px));
    grid-template-columns: 1.35fr 1fr 0.75fr 0.85fr;
    column-gap: 38px;
  }

  .viph-footer__links a {
    font-size: 14px;
  }
}

@media (max-width: 991px) {
  .viph-footer {
    padding: 26px 0 44px;
  }

  .viph-footer__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 34px;
  }

  .viph-footer__brand {
    max-width: none;
  }

  .viph-footer__logo {
    margin-left: 0;
    margin-right: 0;
  }

  .viph-footer__column {
    padding-top: 0;
  }
}

@media (max-width: 575px) {
  .viph-footer {
    padding: 24px 0 38px;
  }

  .viph-footer__inner {
    width: calc(100% - 32px);
    grid-template-columns: 1fr;
    row-gap: 28px;
  }

  .viph-footer__logo {
    width: 132px;
  }

  .viph-footer__company,
  .viph-footer__title {
    font-size: 14px;
  }

  .viph-footer__contact {
    font-size: 13px;
  }

  .viph-footer__links a {
    font-size: 14px;
  }
}
