.vhd-footer {
  background: var(--vhd-dark);
  color: var(--vhd-white);
  font-family: Arial, Helvetica, sans-serif;
}

.vhd-footer *,
.vhd-footer *::before,
.vhd-footer *::after {
  box-sizing: border-box;
}

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

.vhd-footer-wrap {
  width: min(var(--vhd-container), calc(100% - 48px));
  margin-inline: auto;
}

.vhd-footer-trust {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--vhd-dark-2);
}

.vhd-footer-trust .vhd-footer-wrap {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 14px 0;
}

.vhd-footer-trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #edf3f6;
  font-size: 13px;
  font-weight: 900;
}

.vhd-footer-trust span::before {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  background: var(--vhd-yellow);
  border-radius: 50%;
}

.vhd-footer-main {
  padding: 44px 0 0;
}

.vhd-footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.15fr) repeat(3, minmax(170px, 0.72fr));
  gap: 28px;
  align-items: start;
}

.vhd-footer-brand {
  display: grid;
  gap: 18px;
  max-width: 420px;
}

.vhd-footer-brand .vhd-logo {
  width: fit-content;
  max-width: 260px;
  padding: 10px 12px;
  border-radius: var(--vhd-radius);
  background: var(--vhd-white);
}

.vhd-footer-brand .vhd-logo img {
  max-width: 230px;
  max-height: 58px;
}

.vhd-footer-brand p,
.vhd-footer-newsletter p {
  margin: 0;
  color: #d6e0e5;
  font-size: 15px;
  line-height: 1.55;
}

.vhd-footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.vhd-footer-contact a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--vhd-radius);
  background: rgba(255, 255, 255, 0.06);
  color: var(--vhd-white);
  font-size: 14px;
  font-weight: 900;
}

.vhd-footer-contact a:first-child {
  background: var(--vhd-yellow);
  color: #091820;
}

.vhd-footer-column h2,
.vhd-footer-newsletter h2,
.vhd-footer-badges h2 {
  margin: 0 0 12px;
  color: var(--vhd-white);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.2;
}

.vhd-footer-column ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.vhd-footer-column a {
  display: inline-flex;
  color: #d6e0e5;
  font-size: 14px;
  line-height: 1.35;
}

.vhd-footer-column a:hover,
.vhd-footer-column a:focus,
.vhd-footer-bottom a:hover,
.vhd-footer-bottom a:focus {
  color: var(--vhd-yellow);
}

.vhd-footer-commerce {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: 20px;
  padding: 34px 0;
}

.vhd-footer-newsletter,
.vhd-footer-badges {
  display: grid;
  gap: 16px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--vhd-radius-lg);
  background: rgba(255, 255, 255, 0.05);
}

.vhd-footer-newsletter {
  grid-template-columns: minmax(0, 0.88fr) minmax(260px, 0.7fr);
  align-items: center;
}

.vhd-footer-newsletter .tnp-subscription,
.vhd-footer-newsletter .vhd-footer-newsletter-form {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.vhd-footer-newsletter input[type="email"],
.vhd-footer-newsletter input[type="text"] {
  min-height: 44px;
}

.vhd-footer-newsletter input[type="submit"] {
  min-height: 44px;
}

.vhd-footer-badges {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.vhd-footer-badges p {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
}

.vhd-footer-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--vhd-radius-sm);
  background: rgba(255, 255, 255, 0.08);
  color: #edf3f6;
  font-size: 12px;
  font-weight: 900;
}

.vhd-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: #061820;
}

.vhd-footer-bottom .vhd-footer-wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 22px;
  padding: 16px 0;
}

.vhd-footer-bottom p,
.vhd-footer-bottom nav {
  margin: 0;
  color: #b7c3ca;
  font-size: 13px;
}

.vhd-footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 980px) {
  .vhd-footer-trust .vhd-footer-wrap,
  .vhd-footer-grid,
  .vhd-footer-commerce,
  .vhd-footer-newsletter {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vhd-footer-brand {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .vhd-footer-wrap {
    width: min(100% - 32px, var(--vhd-container));
  }

  .vhd-footer-trust .vhd-footer-wrap,
  .vhd-footer-grid,
  .vhd-footer-commerce,
  .vhd-footer-newsletter,
  .vhd-footer-badges {
    grid-template-columns: 1fr;
  }

  .vhd-footer-main {
    padding-top: 32px;
  }

  .vhd-footer-commerce {
    padding: 26px 0;
  }
}
