.foot-image {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 500px;
  border-radius: 52px 52px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 96px 24px;
}

.foot-image__bg {
  position: absolute;
  left: 0;
  right: 0;
  top: -30%;
  height: 160%;
  z-index: 0;
  will-change: transform;
}

.foot-image__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.foot-image__inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.foot-image__title {
  font-size: clamp(32px, 4.6vw, 58px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: #fff;
  text-wrap: balance;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.3);
}

.foot-image__lead {
  margin-top: 20px;
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 20px rgba(0, 0, 0, 0.25);
}

.foot-image__btn {
  margin-top: 34px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.6);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  backdrop-filter: blur(12px) saturate(150%);
  padding: 15px 28px;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  box-shadow: 0 16px 40px -16px rgba(0, 0, 0, 0.4);
  transition: background 0.2s, transform 0.15s, border-color 0.2s;
}

.foot-image__btn:hover {
  background: rgba(255, 255, 255, 0.28);
  border-color: #fff;
}

.foot-image__btn:active {
  transform: scale(0.97);
}

.foot-image__btn svg {
  width: 17px;
  height: 17px;
  transition: transform 0.2s;
}

.foot-image__btn:hover svg {
  transform: translateX(4px);
}

.site-foot {
  position: relative;
  z-index: 1;
  margin-top: -52px;
  background: #f2f2f3;
  border-radius: 52px 52px 0 0;
  padding: 120px 0 40px;
}

.site-foot__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

.site-foot__grid {
  display: grid;
  grid-template-columns: minmax(300px, 360px) 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.site-foot-card {
  background: #fff;
  border-radius: 22px;
  padding: 36px 34px;
  box-shadow: 0 24px 60px -34px rgba(24, 24, 27, 0.2);
}

.site-foot-card__logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 26px;
  line-height: 0;
  text-decoration: none;
}

.site-foot-card__logo img {
  display: block;
  width: auto;
  height: 65px;
}

.site-foot-card__row {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #3f3f46;
  font-size: 15px;
  margin-bottom: 16px;
}

.site-foot-card__row svg {
  width: 18px;
  height: 18px;
  color: #a1a1aa;
  flex: none;
}

.site-foot-card__row a {
  color: #3f3f46;
  text-decoration: none;
  transition: color 0.2s;
}

.site-foot-card__row a:hover {
  color: #18181b;
}

.site-foot-card__social {
  display: flex;
  gap: 10px;
  margin-top: 26px;
}

.site-foot-soc {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #ececed;
  color: #3f3f46;
  border: 1px solid transparent;
  transition: background 0.25s, color 0.2s, transform 0.2s, box-shadow 0.25s, border-color 0.25s;
}

.site-foot-soc:hover {
  color: #18181b;
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(8px) saturate(160%);
  backdrop-filter: blur(8px) saturate(160%);
  box-shadow: 0 10px 24px -8px rgba(24, 24, 27, 0.28);
}

.site-foot-soc svg {
  width: 17px;
  height: 17px;
}

.site-foot-col__title {
  font-size: 15px;
  font-weight: 700;
  color: #18181b;
  margin-bottom: 20px;
}

.site-foot-col a {
  display: block;
  font-size: 15px;
  color: #71717a;
  text-decoration: none;
  margin-bottom: 14px;
  transition: color 0.2s;
}

.site-foot-col a:hover {
  color: #18181b;
}

.site-foot__bottom {
  max-width: 1180px;
  margin: 56px auto 0;
  padding: 24px 32px 0;
  border-top: 1px solid #e2e2e4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.site-foot__copy {
  font-size: 14px;
  color: #a1a1aa;
}

.site-foot__legal {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.site-foot__legal a,
.site-foot__legal .site-foot__cookie-btn {
  color: #71717a;
  text-decoration: none;
  transition: color 0.2s;
}

.site-foot__legal a:hover,
.site-foot__legal .site-foot__cookie-btn:hover {
  color: #18181b;
}

.site-foot__legal span {
  color: #c9c9cd;
}

.site-foot__cookie-btn {
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

@media (max-width: 900px) {
  .foot-image {
    min-height: 420px;
    height: auto;
    border-radius: 40px 40px 0 0;
    padding: 72px 24px;
  }

  .foot-image__title {
    font-size: clamp(28px, 7vw, 42px);
  }

  .foot-image__lead {
    margin-top: 16px;
    font-size: 16px;
  }

  .foot-image__btn {
    margin-top: 28px;
  }

  .site-foot {
    border-radius: 40px 40px 0 0;
    padding: 96px 0 32px;
    margin-top: -40px;
  }

  .site-foot__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .site-foot-card {
    grid-column: 1 / -1;
    padding: 28px 24px;
  }

  .site-foot__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

@media (max-width: 560px) {
  .foot-image {
    min-height: 380px;
    padding: 64px 20px;
    border-radius: 32px 32px 0 0;
  }

  .foot-image__btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .site-foot {
    border-radius: 32px 32px 0 0;
    padding: 80px 0 28px;
    margin-top: -32px;
  }

  .site-foot__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .site-foot__inner {
    padding: 0 20px;
  }

  .site-foot-card__logo img {
    height: 55px;
  }

  .site-foot__bottom {
    padding-left: 20px;
    padding-right: 20px;
    margin-top: 40px;
  }

  .site-foot__legal {
    flex-wrap: wrap;
  }
}
