.site-footer {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(11, 22, 38, 0.55) 0%, rgba(11, 22, 38, 0.92) 45%, #0b1626 75%),
    var(--color-dark) url("../images/about-bg.3fcc1fd5a1dc.png") 50% 0 / cover no-repeat;
  color: var(--color-white);
  scroll-margin-top: 0;
}

.site-footer__inner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(64px, 7vw, 100px) var(--gutter) 28px;
  display: flex;
  flex-direction: column;
}

.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 40px;
  padding-bottom: clamp(28px, 3vw, 44px);
}

.site-footer__title {
  margin: 0;
  min-width: 0;
  max-width: 100%;
  font-weight: 600;
  font-size: var(--fs-hero);
  line-height: 1;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}

.site-footer__lead {
  max-width: 360px;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.7);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.site-footer__left {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 32px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.site-footer__logo {
  display: block;
  width: 80px;
  max-width: 100%;
  aspect-ratio: 1;
  flex-shrink: 0;
  overflow: hidden;
}

.site-footer__logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

@media (min-width: 640px) {
  .site-footer__logo {
    width: 104px;
  }
}

.site-footer__tagline {
  max-width: 300px;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.6);
}

.site-footer__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
  gap: 32px 24px;
}

.site-footer__nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.site-footer__nav-title {
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.site-footer__nav a {
  text-decoration: none;
  color: var(--color-white);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.2;
  align-self: flex-start;
  padding-bottom: 3px;
  background: linear-gradient(90deg, #b58b4a 0%, #b58b4a 50%, #b58b4a 100%) 0 100% / 0 1px no-repeat;
  transition: color 0.2s ease, background-size 0.3s ease;
}

.site-footer__nav a:hover {
  color: var(--color-gold-light);
  background-size: 100% 1px;
}

.site-footer__contacts {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  min-width: 0;
}

.site-footer__row {
  display: grid;
  grid-template-columns: subgrid;
  grid-column: 1 / -1;
  column-gap: 12px;
  align-items: start;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.site-footer__row:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.site-footer__row-label {
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--color-gold);
  padding-top: 3px;
  white-space: nowrap;
}

.site-footer__row-value {
  min-width: 0;
  font-weight: 500;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  overflow-wrap: anywhere;
}

.site-footer__row-value.is-placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.site-footer__row-value a {
  color: inherit;
  text-decoration: none;
}

.site-footer__row-value a:hover {
  color: var(--color-gold-light);
}

.site-footer__right {
  padding: 32px 0;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 20px;
  font-size: 12px;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.55);
}

.site-footer__bottom a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer__bottom a:hover,
.site-footer__cookie:hover {
  color: var(--color-gold-light);
}

.site-footer__cookie {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, 0.75);
  font: inherit;
  font-size: 12px;
  line-height: 1.3;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
}

.site-footer__up {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.site-footer__credit {
  color: rgba(255, 255, 255, 0.75);
}

.site-footer__credit-link,
.site-footer__credit-name {
  color: inherit;
}

.site-footer__credit-link {
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer__credit-link:hover {
  color: var(--color-gold-light);
}

@media (min-width: 1000px) {
  .site-footer__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  }

  .site-footer__left {
    padding: 40px 48px 40px 0;
    border-right: 1px solid rgba(255, 255, 255, 0.14);
    border-bottom: 0;
  }

  .site-footer__right {
    padding: 40px 0 40px 48px;
  }
}
