.footer {
  position: relative;
  z-index: 3;
  width: 1440px;
  height: 530px;
  overflow: hidden;
  color: #000;
  background: #5fbc83;
}

.footer-background {
  position: absolute;
  inset: 0;
  width: 1440px;
  height: 530px;
  max-width: none;
  pointer-events: none;
}

.footer-left-hand {
  position: absolute;
  left: 0;
  top: 208.508px;
  width: 179px;
  height: 138.105px;
  max-width: none;
  pointer-events: none;
}

.footer-right-hand {
  position: absolute;
  left: 1253px;
  top: 0;
  width: 73px;
  height: 228.314px;
  max-width: none;
  pointer-events: none;
}

.footer-brand {
  position: absolute;
  left: 40px;
  top: 120px;
  width: 155px;
  height: 80px;
}

.footer-brand img {
  position: absolute;
  max-width: none;
}

.footer-brand-cat {
  left: 0;
  top: 6px;
  width: 68.541px;
  height: 68.537px;
}

.footer-brand-baby {
  left: 73.687px;
  top: 15.88px;
  width: 65.815px;
  height: 17.411px;
}

.footer-brand-land {
  left: 73.687px;
  top: 35.896px;
  width: 66.318px;
  height: 17.414px;
}

.footer-brand-camp {
  left: 74.028px;
  top: 58.408px;
  width: 20.8px;
  height: 5.135px;
}

.footer-links {
  position: absolute;
  display: grid;
  align-content: start;
  gap: 0;
  font-family: var(--menu-font);
  font-size: 14px;
  line-height: 21px;
  font-weight: 400;
}

.footer-links a {
  font-weight: 400;
}

.footer-links strong {
  margin-bottom: 10px;
  color: #fff3cb;
  font-family: var(--title-font);
  font-size: 24px;
  line-height: 29px;
  font-weight: 950;
  text-transform: uppercase;
}

.footer-kindergarten {
  left: 400px;
  top: 120px;
  width: 150px;
}

.footer-school {
  left: 610px;
  top: 120px;
  width: 98px;
}

.footer-camp {
  left: 768px;
  top: 120px;
  width: 139px;
}

.footer-contacts {
  position: absolute;
  left: 400px;
  top: 284px;
  display: grid;
  gap: 10px;
  width: 146px;
  font-family: var(--menu-font);
  font-size: 14px;
  line-height: 21px;
  font-weight: 400;
}

.footer-contacts div {
  display: grid;
}

.footer-contacts span,
.footer-contacts a,
.footer-documents a {
  font-weight: 400;
}

.footer-contacts strong,
.footer-documents strong {
  color: #fff3cb;
  font-family: var(--title-font);
  font-size: 12px;
  line-height: 14px;
  font-weight: 950;
  text-transform: uppercase;
}

.footer-documents {
  position: absolute;
  left: 610px;
  top: 284px;
  display: grid;
  width: 208px;
  font-family: var(--menu-font);
  font-size: 14px;
  line-height: 21px;
  font-weight: 400;
}

.footer-documents strong {
  margin-bottom: 9px;
}

.footer-socials {
  position: absolute;
  left: 915px;
  top: 359px;
  display: flex;
  gap: 10px;
  width: 170px;
  height: 50px;
}

.footer-social {
  display: block;
  flex: 0 0 50px;
  width: 50px;
  height: 50px;
}

.footer-social img {
  width: 50px;
  height: 50px;
  max-width: none;
  filter: brightness(0) saturate(100%) invert(92%) sepia(11%) saturate(756%) hue-rotate(343deg) brightness(107%) contrast(103%);
}

.footer-actions {
  position: absolute;
  left: 1150px;
  top: 249px;
  width: 250px;
  height: 160px;
}

.footer-actions button {
  position: absolute;
  left: 0;
  width: 250px;
  height: 75px;
  border: 2px solid #fff3cb;
  border-radius: 100px;
  font-family: var(--menu-font);
  font-size: 12px;
  line-height: 18px;
  font-weight: 500;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.footer-consultation {
  top: 0;
  color: #fff3cb;
  background: transparent;
}

.footer-application {
  top: 85px;
  color: var(--green);
  background: #fff3cb;
}

.footer-consultation:hover,
.footer-consultation:focus-visible {
  color: var(--white);
  border-color: var(--white);
}

.footer-application:hover,
.footer-application:focus-visible {
  border-color: var(--white);
  background: var(--white);
}

.footer-legal {
  position: absolute;
  left: 40px;
  top: 471px;
  display: flex;
  justify-content: space-between;
  width: 1360px;
  color: #265b3b;
  font-family: var(--menu-font);
  font-size: 10px;
  line-height: 15px;
  font-weight: 400;
}

@media (max-width: 1099px) {
  .footer {
    width: 100%;
    height: 809px;
    margin-top: 80px;
    background: var(--green);
  }

  .footer-background {
    content: url("assets/decor/mobile-footer-route.svg");
    inset: auto;
    left: -896px;
    top: 31px;
    width: 2167px;
    height: 743px;
  }

  .footer-left-hand {
    left: calc(100% - 112px);
    top: 30px;
    width: 179px;
    height: 138.105px;
    transform: rotate(180deg) scaleY(-1);
  }

  .footer-right-hand {
    display: none;
  }

  .footer-brand {
    left: 10px;
    top: 41px;
  }

  .footer-links {
    width: auto;
    font-size: 14px;
    line-height: 21px;
  }

  .footer-links strong {
    margin-bottom: 0;
    font-size: 18px;
    line-height: 22px;
  }

  .footer-kindergarten {
    left: 10px;
    top: 154px;
    width: 150px;
  }

  .footer-school {
    left: 10px;
    top: 265px;
    width: 98px;
  }

  .footer-camp {
    left: 10px;
    top: 352px;
    width: 150px;
  }

  .footer-camp a:last-child {
    font-size: 0;
  }

  .footer-camp a:last-child::after {
    content: "– зимовий в Карпатах";
    font-size: 14px;
  }

  .footer-contacts {
    left: calc(100% - 155px);
    top: 154px;
    gap: 10px;
    width: 146px;
  }

  .footer-socials {
    left: calc(100% - 155px);
    top: 304px;
    flex-wrap: wrap;
    gap: 10px;
    width: 110px;
    height: 110px;
  }

  .footer-actions {
    left: 10px;
    top: 449px;
    width: calc(100% - 20px);
    height: 160px;
  }

  .footer-actions button {
    width: 100%;
  }

  .footer-documents {
    left: 10px;
    top: 639px;
    display: block;
    width: 317px;
    height: 65px;
  }

  .footer-documents strong,
  .footer-documents a {
    position: absolute;
  }

  .footer-documents strong {
    left: 0;
    top: 0;
  }

  .footer-documents a:nth-of-type(1) { left: 0; top: 23px; }
  .footer-documents a:nth-of-type(2) { left: 0; top: 44px; }
  .footer-documents a:nth-of-type(3) { left: 228px; top: 23px; }
  .footer-documents a:nth-of-type(4) { left: 228px; top: 44px; }

  .footer-legal {
    left: 10px;
    top: 764px;
    width: calc(100% - 20px);
  }
}

@media (max-width: 330px) {
  .footer-documents {
    width: calc(100% - 20px);
  }

  .footer-documents a:nth-of-type(3),
  .footer-documents a:nth-of-type(4) {
    right: 0;
    left: auto;
  }
}
