.footer-top {
  background-color: var(--color-yellow);
}
.footer-top__wrapper {
  padding: 120px 0 125px;
}
.footer-top__title {
  max-width: 700px;
  margin: 0 auto 32px;
  font-size: 72px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  color: var(--color-gray-blue);
}
.footer-top__button {
  display: flex;
  justify-content: center;
  width: max-content;
  margin: 0 auto;
}

@media screen and (max-width: 575px) {
  .footer-top__button {
    width: 100%;
  }
}
.footer-bottom {
  background-color: #ffd038;
}
.footer-bottom__wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 45px 0;
}
.footer-bottom__right {
  display: flex;
  align-items: center;
  justify-content: right;
}
.footer-bottom__right .link {
  transition: opacity 0.3s;
}
.footer-bottom__right .link:hover {
  opacity: 0.8;
}
.footer-bottom__right .link:not(:last-child):after {
  content: "|";
  padding: 0 5px;
}
.footer__wrapper {
  display: flex;
  justify-content: space-between;
  gap: 100px;
  padding: 110px 0 65px;
  border-top: 1px solid rgba(84, 84, 84, 0.2);
}
.footer {
  background-color: var(--color-yellow);
}
.footer__content {
  width: 100%;
  max-width: 450px;
}
@media only screen and (max-width: 575px) {
  .footer__content {
    max-width: 100%;
  }
}
.footer__title {
  margin-bottom: 8px;
  color: #27383f;
  font-size: 16px;
  text-transform: uppercase;
  font-weight: 700;
  line-height: 1.25;
}
.footer__form form input,
.footer__text {
  line-height: 155%;
  font-size: 14px;
  font-weight: 400;
}
.footer__text {
  line-height: 1.29;
  margin-bottom: 32px;
  color: rgba(23, 23, 23, 0.57);
  max-width: 370px;
}
.footer__form {
  margin-bottom: 24px;
}
.footer__menu-block {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 25px;
  max-width: 750px;
  width: 100%;
}

@media screen and (max-width: 1025px) {
  .footer__menu-block {
    justify-content: flex-start;
  }
}
.footer__form form {
  position: relative;
}
.footer__form form input {
  font-family: "Proxima Nova", sans-serif;
  width: 100%;
  height: 64px;
  padding: 8px 22px;
  background-color: #fff;
  border: none;
  outline: 0;
  border-radius: 80px;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 400;
  font-style: normal;
  color: #27383f;
}
.footer__form form input::placeholder {
  color: #27383f;
}
.footer__form form input[type="submit"] {
  position: absolute;
  right: 0;
  top: 0;
  width: max-content;
  padding: 15px 36px;
  height: 64px;
  font-family: "Proxima Nova", sans-serif;
  text-align: center;
  text-transform: uppercase;
  font-size: 18px;
  font-weight: 700;
  line-height: 130%;
  background-color: #27383f;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.4s ease;
  cursor: pointer;
}
@media only screen and (max-width: 575px) {
  .footer__form form input[type="submit"] {
    position: static;
    margin-top: 18px;
    width: 100%;
  }
}
.footer__form form input[type="submit"]:active,
.footer__form form input[type="submit"]:visited,
.footer__form form input[type="submit"]:hover,
.footer__form form input[type="submit"]:focus {
  background-color: #000;
}
.social-list-footer {
  gap: 6px;
  justify-content: left;
}
@media only screen and (max-width: 575px) {
  .social-list-footer {
    justify-content: center;
  }
}
.social-list-footer .social-list__item a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  transition: opacity 0.3s;
  color: var(--color-gray-blue);
}
.social-list-footer .social-list__item a:hover {
  opacity: 0.8;
  color: inherit;
}
.footer__navigation ul ul {
  position: static;
  flex-direction: column;
  margin: 0;
}
.footer__menu {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
}
.footer__contact,
.footer__menu > li {
  max-width: 200px;
  width: 100%;
  color: var(--color-gray-blue);
}
.footer__contact li:first-child,
.footer__menu > li > a {
  display: block;
  font-size: 16px;
  font-weight: 700;
  line-height: 120%;
  margin-bottom: 20px;
}
.footer__contact li:not(:first-child),
.footer__menu .sub-menu li {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 20px;
}
.footer__contact li a,
.footer__menu li a {
  transition: color 0.3s;
}
.footer__contact li a:hover,
.footer__menu li a:hover {
  color: rgba(0, 0, 0, 0.43);
}
.footer__navigation {
  max-width: 425px;
  width: 100%;
}
.footer-bottom__wrapper {
  color: var(--color-gray-blue);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
}
.footer .social-list {
  margin-top: -15px;
}
.footer__form form input[type="submit"]:hover {
  background-color: #232323;
}
.footer .wpcf7-not-valid-tip {
  display: none;
}
.wpcf7-response-output {
  margin: 1em 0.5em;
}
