footer {
  background-color: #0c2145;
  overflow: hidden;
  position: relative;
}

footer * {
  box-sizing: border-box;
}

footer ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

body footer .footer-block__container {
  max-width: 1440px !important;
}

.footer-section__wrapper {
  display: flex;
  flex-direction: column;
}

.footer-block__top--desktop {
  display: flex;
  justify-content: space-between;
}

.footer-right {
  display: flex;
  width: 100%;
  flex-basis: calc(100% - 414px);
  justify-content: space-between;
  margin-top: 30px;
  gap: 30px;
}

.footer-logo-logotype a {
  display: flex;
  max-width: fit-content;
}

.footer-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.footer-right__form {
  display: flex;
  max-width: 320px;
  width: 100%;
  flex-direction: column;
  gap: 10px;
}

.footer-left {
  width: 100%;
  flex-basis: 414px;
}

.footer-logo {
  position: relative;
}

footer .container {
  padding: 0;
}

.footer-logo .skewed-element {
  background: #fff;
  border-radius: 0 0 20px;
  bottom: 0;
  position: absolute;
  top: -1px;
  transform: skewX(-37deg);
  width: 100vw;
  z-index: 0;
}

.footer-logo-logotype {
  position: relative;
  z-index: 1;
}

.footer-center {
  padding: 30px 6px 40px 6px;
  width: 100%;
}

.footer-badges {
  justify-content: flex-start;
  max-width: 989px;
  padding-left: 6px;
  align-items: center;
  display: flex;
  width: 100%;
}

.footer-badge {
  align-items: center;
  display: flex;
  font-size: 0;
  opacity: 1;
  text-decoration: none;
  transition: all 0.3s;
}

.form__wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.footer-block__form-title {
  font-weight: 600;
  line-height: 125%;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
}

.form__inputs-inner {
  display: flex;
  flex-direction: column;
}

/* Input styles are now handled by  input class above */

.form-button-submit {
  background: rgba(254, 96, 0, 1);
  border: none;
  border-radius: 100px;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  display: block;
  font-weight: 600;
  outline: none;
  text-align: center;
  text-transform: uppercase;
  width: 100%;
  position: relative;
  transition: all 0.3s;
}

/* Form input styles */
.footer-right__form input {
  width: 100%;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.1);
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.3s ease;
  position: relative;

  font-weight: 400;
  line-height: 130%;
  color: #fff;
}

.footer-right__form input::placeholder {
  font-weight: 400;
  line-height: 130%;
  color: #fff;
}

.footer-right__form input.wpcf7-not-valid {
  border-color: #f30606;
  border-width: 1px;
  border-style: solid;
}

.footer-right__form input.wpcf7-not-valid:focus {
  border-color: transparent;
}

/* Form response output */
.footer-right__form .wpcf7 form .wpcf7-response-output {
  border: none;
  border-left: 1px solid #46b450;
  color: #fff;
  transition: all 0.3s;
  font-weight: 400;
  line-height: 130%;
  margin: 0 !important;
  padding-left: 10px;
}

.footer-right__form form .wpcf7-not-valid-tip {
  display: none;
}

.footer-right__form form.send .wpcf7-response-output {
  border-left-color: #46b450;
}

.footer-right__form form.invalid .wpcf7-response-output {
  border-left-color: #f30606;
}

@media screen and (min-width: 1280px) {
  .footer-right__form .wpcf7 form .wpcf7-response-output {
    font-size: 14px;
  }
}

@media screen and (max-width: 1279px) {
  .footer-right__form form .wpcf7-response-output {
    font-size: 12px;
  }
}

.footer-block__menus {
  column-gap: 60px;
  display: flex;
  justify-content: flex-start;
  margin: 0;
  padding: 0;
  width: 100%;
}

.footer-block__menus > .footer-block__menu-item ul {
  display: flex;
  flex-direction: column;
}

.footer-block__menus > .footer-block__menu-item a,
.footer-block__menu-title {
  color: #fff;
  transition: all 0.3s;
}

.footer-block__menu-title {
  margin-bottom: 20px;
}

.footer-block__menus > .footer-block__menu-item:first-child ul {
  gap: 20px;
}

.footer-block__menus > .footer-block__menu-item:first-child a,
.footer-block__menu-title {
  font-weight: 600;
  line-height: 125%;
  text-transform: uppercase;
}

.footer-block__menus > .footer-block__menu-item:not(:first-child) ul {
  gap: 10px;
}

.footer-block__menus > .footer-block__menu-item:not(:first-child) a {
  font-weight: 400;
  font-size: 14px;
  line-height: 130%;
}

.footer-info {
  display: flex;
  flex-direction: column;
  margin-top: 40px;
  gap: 14px;
}

.footer-block__bottom {
  display: flex;
  justify-content: space-between;
  gap: 17px;
}

.footer-info-wrapper {
  display: flex;
  flex-direction: column;
  gap: 19px;
}

.footer-info-wrapper p a {
  color: #fff;
  transition: all 0.3s;
}

.footer-info-wrapper p:nth-of-type(1) a {
  font-weight: 700;
  line-height: 125%;
}

.footer-info-wrapper p:nth-of-type(2) a,
.footer-info-wrapper p:nth-of-type(3) a {
  font-weight: 400;
  line-height: 130%;
}

.footer-info-wrapper p:nth-of-type(3) {
  max-width: 215px;
}

.footer-block__social-menu {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-block__copy p,
.footer-menu a {
  font-weight: 400;
  line-height: 130%;
  position: relative;
}

.footer-menu {
  display: flex;
  align-items: center;
}

.footer-block__copy p {
  color: #fff;
}

.footer-menu a {
  color: #bfbfbf;
  transition: all 0.3s;
}

@media screen and (min-width: 1536px) {
  .footer-logo-logotype {
    padding: 36px 0 37px;
  }

  .footer-logo-logotype img {
    max-width: 185px;
  }
}

@media screen and (min-width: 1280px) and (max-width: 1535px) {
  .footer-logo-logotype {
    padding: 44px 0;
  }

  .footer-logo-logotype img {
    max-width: 141px;
  }

  .footer-left {
    flex-basis: 280px;
  }

  .footer-right {
    flex-basis: calc(100% - 280px);
  }

  .footer-logo .skewed-element {
    right: 35% !important;
  }
}

@media screen and (min-width: 1280px) {
  .footer-menu a:hover {
    color: #fff;
  }

  .footer-block__menus > .footer-block__menu-item a:hover,
  .footer-info-wrapper p a:hover {
    color: #bfbfbf;
  }

  .form-button-submit:hover {
    background: rgba(254, 136, 54, 1);
  }

  .footer-logo .skewed-element {
    height: 133px;
    right: 40%;
  }

  .footer-badge:not(:last-child) {
    margin-right: 10px;
  }

  .footer-badge img {
    max-height: 70px;
  }

  .footer-block__top--mobile {
    display: none !important;
  }

  .footer-info-wrapper p:nth-of-type(1) a {
    font-size: 16px;
  }

  .footer-info-wrapper p:nth-of-type(2) a,
  .footer-info-wrapper p:nth-of-type(3) a {
    font-size: 14px;
  }

  .footer-block__menus > .footer-block__menu-item:first-child a,
  .footer-block__menu-title {
    font-size: 20px;
  }

  .footer-right__form,
  .form__wrapper {
    gap: 20px;
  }

  .footer-block__form-title {
    font-size: 26px;
  }

  .form__inputs-inner {
    gap: 10px;
  }

  .footer-right__form input {
    border-radius: 14px;
    padding: 14px 19px;
  }

  .footer-right__form input,
  .footer-right__form input::placeholder {
    font-size: 14px;
  }

  .form-button-submit {
    font-size: 16px;
    padding: 16px 38px;
  }

  .footer-block__bottom {
    align-items: center;
    padding-top: 20px;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.17);
    padding-bottom: 30px;
  }

  .footer-block__copy p,
  .footer-menu a {
    font-size: 14px;
  }

  .footer-menu {
    gap: 28px;
  }
}

@media screen and (max-width: 1279px) {
  .footer-block__top--desktop {
    display: none !important;
  }

  .footer-right__form {
    max-width: 100%;
  }

  .footer-block__top--mobile {
    display: flex;
    flex-direction: column;
  }

  .footer-second {
    display: flex;
    flex-direction: column;
  }

  .footer-block__menu-list {
    display: flex;
    flex-direction: column;
  }

  .footer-block__menu-list a {
    font-weight: 400;
    line-height: 130%;
    color: #fff;
  }

  .footer-block__bottom {
    flex-direction: column;
    padding-top: 26px;
    margin-top: 26px;
    border-top: 0.86px solid rgba(255, 255, 255, 0.17);
    padding-bottom: 20px;
  }

  .footer-right__form,
  .form__wrapper {
    gap: 17px;
  }

  .footer-block__form-title {
    font-size: 17px;
  }

  .form__inputs-inner {
    gap: 8px;
  }

  .footer-right__form input {
    border-radius: 12px;
    padding: 11px 16px;
  }

  .footer-right__form input,
  .footer-right__form input::placeholder {
    font-size: 12px;
  }

  .form-button-submit {
    font-size: 13px;
    padding: 13px 38px;
  }

  .footer-fifth {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 26px;
  }

  .footer-badge img {
    max-height: 50px;
  }

  .footer-block__copy p,
  .footer-menu a {
    font-size: 12px;
  }

  .footer-menu {
    gap: 18px;
    flex-wrap: wrap;
  }

  .heading {
    cursor: pointer;
  }

  .contents {
    display: none;
  }

  .c-accordion__item {
    position: relative;
  }

  .footer-block__accordion-wrapper .c-accordion__title {
    padding-right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;

    font-weight: 600;
    font-size: 17px;
    line-height: 125%;
    text-transform: uppercase;
    color: #fff;
    padding-top: 10px;
    padding-bottom: 10px;
    border-bottom: 0.86px solid rgba(255, 255, 255, 0.17);
  }

  .footer-block__accordion-wrapper .c-accordion__title svg {
    width: 100%;
    height: auto;
    min-width: 21px;
    max-width: 21px;
    transition: all 0.5s ease;
    transform-origin: center;
  }

  .footer-block__accordion-wrapper .c-accordion__title.active svg {
    transform: rotate(180deg);
  }

  .c-accordion__content {
    padding-top: 20px;
  }

  .c-accordion__item {
    cursor: pointer;
  }

  .footer-second {
    margin-top: 30px;
  }

  .footer-second .footer-block__menus > .footer-block__menu-item:first-child a,
  .footer-second .footer-block__menu-title {
    font-size: 17px !important;
  }

  .footer-second .footer-block__menus > .footer-block__menu-item li {
    width: 100%;
    padding-bottom: 10px;
    border-bottom: 0.86px solid rgba(255, 255, 255, 0.17);
  }

  .footer-second
    .footer-block__menus
    > .footer-block__menu-item
    li:not(:last-child) {
    margin-bottom: 10px;
  }

  .footer-second
    .footer-block__menus
    > .footer-block__menu-item:first-child
    ul {
    gap: 0 !important;
  }

  .footer-block__menu-item {
    width: 100%;
  }

  .footer-third {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 26px;
    margin-bottom: 26px;
  }

  .footer-block__social-menu li a img {
    max-width: 25px;
    height: auto;
    width: 100%;
  }
}

@media screen and (min-width: 768px) and (max-width: 1279px) {
  .footer-block__menu-list a {
    font-size: 14px;
  }

  .footer-block__menu-list {
    gap: 12px;
  }

  .footer-info-wrapper p:nth-of-type(1) a {
    font-size: 14px;
  }

  .footer-info-wrapper p:nth-of-type(2) a,
  .footer-info-wrapper p:nth-of-type(3) a {
    font-size: 12px;
  }

  .footer-logo-logotype {
    padding: 24px 0;
  }

  .footer-logo-logotype img {
    max-width: 110px;
  }

  .footer-logo .skewed-element {
    height: 84px;
    right: 75%;
  }
}

@media screen and (max-width: 767px) {
  body .footer-block__menu-list a {
    font-size: 12px !important;
  }

  body .footer-block__menu-list {
    gap: 9px !important;
  }

  body .footer-info-wrapper p:nth-of-type(1) a {
    font-size: 13px !important;
  }

  body .footer-info-wrapper p:nth-of-type(2) a,
  body .footer-info-wrapper p:nth-of-type(3) a {
    font-size: 12px !important;
  }

  .footer-logo-logotype {
    padding: 26px 0;
  }

  .footer-logo-logotype img {
    max-width: 95px;
  }

  .footer-logo .skewed-element {
    height: 83px;
    right: 60%;
  }
}
