.fv-legacy-footer {
  display: none !important;
}

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

.fv-site-footer {
  margin-top: clamp(56px, 6vw, 96px);
  padding: clamp(48px, 4.1vw, 64px) 0 24px;
  border-top: 1px solid #e6e8ec;
  background: #fff;
  color: var(--fv-color-text);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
}

.fv-site-footer__grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.35fr) repeat(4, minmax(140px, 1fr));
  align-items: start;
  gap: clamp(24px, 2.75vw, 52px);
}

.fv-site-footer__brand,
.fv-site-footer__column {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
}

.fv-site-footer__logo,
.fv-site-footer__logo:hover,
.fv-site-footer__logo:focus-visible {
  color: var(--fv-color-text);
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
  font-size: clamp(22px, 1.55vw, 28px);
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.fv-site-footer__logo-accent {
  color: var(--fv-color-accent);
}

.fv-site-footer__description {
  max-width: 274px;
  margin: 16px 0 18px;
  color: #969aa4;
  font-size: 14px;
  line-height: 1.58;
}

.fv-site-footer__phone {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  gap: 10px;
  color: var(--fv-color-text);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.fv-site-footer__phone-icon {
  display: block;
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
}

.fv-site-footer__phone:hover,
.fv-site-footer__phone:focus-visible,
.fv-site-footer__link:hover,
.fv-site-footer__link:focus-visible,
.fv-site-footer__legal-link:hover,
.fv-site-footer__legal-link:focus-visible {
  color: var(--fv-color-accent-dark);
  text-decoration: none;
}

.fv-site-footer__actions {
  display: flex;
  width: min(100%, 252px);
  flex-direction: column;
  gap: 9px;
  margin-top: 18px;
}

.fv-site-footer__action {
  display: inline-flex;
  width: 100%;
  min-height: 39px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 18px;
  border: 1px solid transparent;
  border-radius: 9px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: filter 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.fv-site-footer__action img {
  display: block;
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  pointer-events: none;
}

.fv-site-footer__action--telegram {
  background: #2aaee8;
}

.fv-site-footer__action--max {
  background: #17181c;
}

.fv-site-footer__action--quote {
  min-height: 44px;
  justify-content: space-between;
  margin-top: 3px;
  border-radius: 999px;
  background: var(--fv-color-accent);
  font-size: 14px;
}

.fv-site-footer__action-arrow {
  font-size: 17px;
  line-height: 1;
}

.fv-site-footer__action:hover,
.fv-site-footer__action:focus-visible {
  color: #fff;
  filter: brightness(0.92);
  outline: 0;
  box-shadow: 0 8px 18px rgba(24, 26, 33, 0.14);
  text-decoration: none;
  transform: translateY(-1px);
}

.fv-site-footer__action:active {
  box-shadow: none;
  transform: translateY(0);
}

.fv-site-footer__title {
  margin: 0 0 14px;
  color: var(--fv-color-text);
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
  font-size: clamp(15px, 1vw, 17px);
  font-weight: 750;
  line-height: 1.3;
}

.fv-site-footer__links {
  display: flex;
  width: 100%;
  flex-direction: column;
}

.fv-site-footer__link {
  display: flex;
  width: 100%;
  min-height: 33px;
  align-items: center;
  color: #969aa4;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
  text-decoration: none;
  transition: color 0.18s ease;
}

.fv-site-footer__bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(38px, 3.7vw, 58px);
  padding-top: 21px;
  border-top: 1px solid #eceef1;
  color: #b2b5bd;
  font-size: 12.5px;
  line-height: 1.45;
}

.fv-site-footer__copyright {
  flex: 0 0 auto;
}

.fv-site-footer__legal {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  text-align: right;
}

.fv-site-footer__legal-link {
  color: #b2b5bd;
  text-decoration: none;
  transition: color 0.18s ease;
}

.fv-site-footer__legal-separator {
  color: #c5c8cf;
}

@media (max-width: 1100px) {
  .fv-site-footer__grid {
    grid-template-columns: minmax(230px, 1.1fr) repeat(2, minmax(170px, 1fr));
    row-gap: 42px;
  }

  .fv-site-footer__brand {
    grid-row: span 2;
  }
}

@media (max-width: 720px) {
  .fv-site-footer {
    margin-top: 64px;
    padding: 44px 0 22px;
  }

  .fv-site-footer > .fv-container {
    width: calc(100% - 36px);
  }

  .fv-site-footer__grid {
    display: flex;
    flex-direction: column;
    gap: 46px;
  }

  .fv-site-footer__brand,
  .fv-site-footer__column {
    width: 100%;
  }

  .fv-site-footer__logo,
  .fv-site-footer__logo:hover,
  .fv-site-footer__logo:focus-visible {
    font-size: 14.5px;
    font-weight: 800;
  }

  .fv-site-footer__description {
    max-width: 330px;
    margin: 14px 0 18px;
    font-size: 14.5px;
    line-height: 23.49px;
  }

  .fv-site-footer__phone {
    min-height: 30px;
    font-size: 17px;
  }

  .fv-site-footer__actions {
    width: 100%;
    gap: 10px;
    margin-top: 22px;
  }

  .fv-site-footer__action,
  .fv-site-footer__action--quote {
    min-height: 44px;
    margin-top: 0;
    font-size: 13.5px;
  }

  .fv-site-footer__title {
    margin-bottom: 15px;
    font-size: 15.5px;
  }

  .fv-site-footer__link {
    min-height: 39px;
    font-size: 14.5px;
  }

  .fv-site-footer__bottom {
    flex-direction: column;
    gap: 16px;
    margin-top: 52px;
    padding-top: 24px;
    font-size: 12.5px;
  }

  .fv-site-footer__legal {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 5px 8px;
    text-align: left;
  }
}
