.site-footer {
  margin-top: 34px;
  background: #10171d;
  color: #eaddd0;
  padding: 30px 0 28px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: max-content max-content minmax(260px, 1fr);
  gap: 18px 28px;
  align-items: center;
}

.site-footer__brand {
  justify-self: start;
}

.site-footer__brand img {
  height: 90px;
  width: auto;
  display: block;
}

.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-self: start;
  font-family: Arial, Helvetica, sans-serif;
}

.site-footer__links a {
  line-height: 1.2;
  color: inherit;
  text-decoration: none;
}

.site-footer__links a:hover {
  color: var(--copper);
}

.site-footer__social-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-self: end;
  align-self: end;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
}

.site-footer__social {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 12px;
}

.site-footer__social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--copper);
  color: var(--white);
  text-decoration: none;
  transition: 0.2s ease;
  flex: 0 0 auto;
}

.site-footer__social a:hover {
  background: var(--copper-dark);
  color: var(--white);
  transform: translateY(-2px);
}

.site-footer__social i {
  font-size: 1rem;
}

.site-footer__note,
.site-footer__copy {
  font-family: Arial, Helvetica, sans-serif;
  color: #c6b8aa;
  font-size: 0.92rem;
  line-height: 1.4;
  text-align: right;
  max-width: 320px;
  overflow-wrap: anywhere;
}

@media (max-width: 600px) {
  .site-footer {
    padding: 14px 0 12px;
  }

  .site-footer__grid {
    grid-template-columns: minmax(88px, 102px) minmax(0, 1fr);
    gap: 6px 12px;
    align-items: end;
  }

  .site-footer__brand {
    justify-self: start;
    align-self: start;
    text-align: left;
    display: block;
  }

  .site-footer__brand img {
    width: 120px;
    height: auto;
    max-width: none;
  }

  .site-footer__links {
    display: none;
  }

  .site-footer__social-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-self: end;
    align-self: end;
    justify-content: flex-end;
    gap: 4px;
    min-width: 150px;
    padding-top: 0;
    max-width: none;
  }

  .site-footer__social {
    justify-content: flex-end;
    gap: 5px;
    flex-wrap: nowrap;
  }

  .site-footer__social a {
    width: 29px;
    height: 29px;
  }

  .site-footer__social i {
    font-size: 0.75rem;
  }

  .site-footer__note,
  .site-footer__copy {
    max-width: none;
    margin-top: 0;
    font-size: 0.66rem;
    line-height: 1.2;
    text-align: right;
  }

  .site-footer__note {
    white-space: nowrap;
  }
}

@media (max-width: 430px) {
  .site-footer__grid {
    grid-template-columns: minmax(74px, 82px) minmax(0, 1fr);
    gap: 6px 8px;
  }

  .site-footer__brand img {
    width: 108px;
    height: auto;
    max-width: none;
  }

  .site-footer__links {
    display: none;
  }

  .site-footer__social-wrap {
    min-width: 134px;
    gap: 3px;
  }

  .site-footer__social {
    gap: 4px;
  }

  .site-footer__social a {
    width: 26px;
    height: 26px;
  }

  .site-footer__social i {
    font-size: 0.68rem;
  }

  .site-footer__note,
  .site-footer__copy {
    font-size: 0.6rem;
    line-height: 1.15;
  }
}
