.df-footer {
  background: #ffffff;
  color: #000000;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  padding: var(--df-sp-8);
  display: flex;
  flex-direction: column;
  gap: var(--df-sp-6);
}

.df-footer__top,
.df-footer__middle,
.df-footer__nav-row,
.df-footer__bottom {
  width: 100%;
  max-width: 1680px;
  margin: 0 auto;
}

.df-footer__top {
  text-align: center;
}

.df-footer__brand {
  display: inline-block;
  line-height: 0;
}

.df-footer__brand img {
  width: 160px;
  height: auto;
}

.df-footer__middle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--df-sp-16);
}

.df-footer__block {
  min-width: 0;
}

.df-footer__block--newsletter {
  justify-self: end;
  width: min(460px, 100%);
}

.df-footer__label {
  font-family: var(--df-font-body);
  font-size: 0.6rem;
  letter-spacing: var(--df-track-widest);
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.9);
  margin-bottom: var(--df-sp-4);
}

.df-footer__copy {
  font-family: var(--df-font-body);
  font-size: 0.68rem;
  color: rgba(0, 0, 0, 0.72);
  margin-bottom: var(--df-sp-4);
}

.df-footer__search,
.df-footer__newsletter-row {
  display: flex;
  align-items: center;
  gap: var(--df-sp-4);
}

.df-footer__input {
  width: 100%;
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.22);
  background: transparent;
  color: #000000;
  font-family: var(--df-font-body);
  font-size: 0.68rem;
  padding: var(--df-sp-2) 0;
  outline: none;
}

.df-footer__input::placeholder {
  color: rgba(0, 0, 0, 0.56);
}

.df-footer__input:focus {
  border-color: rgba(0, 0, 0, 0.75);
}

.df-footer__btn-link {
  border: none;
  background: transparent;
  color: #000000;
  font-family: var(--df-font-body);
  font-size: 0.64rem;
  letter-spacing: var(--df-track-wide);
  cursor: pointer;
  padding: 0;
}

.df-footer__consent {
  margin-top: var(--df-sp-4);
  display: inline-flex;
  align-items: center;
  gap: var(--df-sp-2);
  font-family: var(--df-font-body);
  font-size: 0.62rem;
  color: rgba(0, 0, 0, 0.72);
}

.df-footer__consent input {
  width: 12px;
  height: 12px;
}

.df-footer__maps-link {
  display: inline-block;
  margin-top: var(--df-sp-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.df-footer__maps-link:hover {
  color: var(--df-gold);
}

.df-footer__nav-row {
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--df-sp-6);
  padding-top: var(--df-sp-4);
}

.df-footer__services a {
  font-family: var(--df-font-body);
  font-size: 0.62rem;
  letter-spacing: var(--df-track-wide);
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.78);
  text-decoration: none;
}

.df-footer__consent a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.df-footer__consent a:hover {
  color: #000000;
}

.df-footer__nav {
  min-width: 0;
}

.df-footer__services {
  display: flex;
  flex-wrap: wrap;
  gap: var(--df-sp-2) var(--df-sp-4);
  list-style: none;
  margin: 0;
  padding: 0;
}

.df-footer__social {
  display: flex;
  align-items: center;
  gap: var(--df-sp-2);
  list-style: none;
  margin: 0;
  padding: 0;
}

.df-footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #000000;
  text-decoration: none;
  transition: opacity var(--df-ease);
}

.df-footer__social-link:hover {
  opacity: 0.55;
}

.df-footer__social-link svg {
  display: block;
  width: 24px;
  height: 24px;
}

.df-footer__services a:hover {
  color: #000000;
}

.df-footer__credit-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.df-footer__credit-link:hover {
  color: #000000;
}

.df-footer__bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--df-sp-6);
}

.df-footer__bottom p {
  margin: var(--df-sp-4) 0;
  flex: 1;
  min-width: 0;
  font-family: var(--df-font-body);
  font-size: 9px;
  color: rgba(0, 0, 0, 0.46);
  line-height: 1.5;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .df-footer {
    padding-left: var(--df-sp-4);
    padding-right: var(--df-sp-4);
  }
}

@media (max-width: 1023px) {
  .df-footer {
    padding-bottom: calc(var(--df-sp-8) + 56px);
  }

  .df-footer__middle {
    grid-template-columns: 1fr;
    gap: var(--df-sp-8);
  }

  .df-footer__block--newsletter {
    justify-self: start;
    width: 100%;
  }

  .df-footer__nav-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .df-footer__services {
    width: 100%;
  }

  .df-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .df-footer__social {
    flex-wrap: wrap;
  }
}
