.site-footer {
  background: #06111a;
  color: #fff;
  padding: 105px 0 32px;
}

.site-footer .wrap {
  width: min(1200px, calc(100% - 80px));
  margin: auto;
}

.site-footer .footer-top {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 9vw;
  align-items: end;
}

.site-footer .footer-logo {
  display: block;
  width: 215px;
  height: auto;
  margin-bottom: 38px;
}

.site-footer .footer-statement {
  max-width: 590px;
  margin: 0;
  color: rgba(255, 255, 255, .94);
  font-family: var(--serif, Georgia, serif);
  font-size: clamp(25px, 2.3vw, 34px);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -.01em;
}

.site-footer .footer-action {
  justify-self: end;
  text-align: right;
}

.site-footer .footer-action p {
  max-width: 300px;
  margin: 0 0 25px;
  color: rgba(255, 255, 255, .74);
  font-size: 15px;
  line-height: 1.7;
}

.site-footer .footer-book {
  display: inline-flex;
  align-items: center;
  gap: 42px;
  padding-bottom: 11px;
  border-bottom: 1px solid rgba(255, 255, 255, .7);
  color: #fff;
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
}

.site-footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 38px;
  margin-top: 85px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.site-footer .footer-links a {
  color: rgba(255, 255, 255, .8);
  font-size: 15px;
  text-decoration: none;
  transition: color .25s ease;
}

.site-footer .footer-links a:hover,
.site-footer .footer-links a:focus-visible {
  color: #fff;
}

.site-footer .footer-links .social-start {
  margin-left: auto;
}

.site-footer .legal {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-top: 55px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .66);
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: .035em;
}

.site-footer .legal a {
  color: inherit;
  text-decoration: none;
  transition: color .25s ease;
}

.site-footer .legal a:hover,
.site-footer .legal a:focus-visible {
  color: rgba(255, 255, 255, .9);
}

@media (max-width: 760px) {
  .site-footer {
    padding: 78px 0 28px;
  }

  .site-footer .wrap {
    width: calc(100% - 38px);
  }

  .site-footer .footer-top {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .site-footer .footer-logo {
    width: 205px;
    margin-bottom: 30px;
  }

  .site-footer .footer-statement {
    font-size: 27px;
  }

  .site-footer .footer-action {
    justify-self: start;
    text-align: left;
  }

  .site-footer .footer-action p {
    font-size: 16px;
  }

  .site-footer .footer-book {
    min-height: 44px;
  }

  .site-footer .footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 25px;
    margin-top: 62px;
  }

  .site-footer .footer-links .social-start {
    margin-left: 0;
  }

  .site-footer .footer-links a {
    display: flex;
    align-items: center;
    min-height: 36px;
    overflow-wrap: anywhere;
    font-size: 16px;
  }

  .site-footer .legal {
    display: block;
    margin-top: 45px;
    font-size: 12px;
  }

  .site-footer .legal span {
    display: block;
    margin-top: 9px;
  }
}

@media (max-width: 390px) {
  .site-footer .footer-links {
    grid-template-columns: 1fr;
  }
}
