@font-face {
  font-family: "Fira Sans Condensed";
  src: local("FiraSansCondensed-Regular"), local("FiraSansCondensed-Regular"),
    url("../fonts/FiraSansCondensed-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fira Sans Condensed";
  src: local("FiraSansCondensed-Medium"), local("FiraSansCondensed-Medium"),
    url("../fonts/FiraSansCondensed-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fira Sans Condensed";
  src: local("FiraSansCondensed-SemiBold"), local("FiraSansCondensed-SemiBold"),
    url("../fonts/FiraSansCondensed-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fira Sans";
  src: local("FiraSans-Regular"), local("FiraSans-Regular"),
    url("../fonts/FiraSans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fira Sans";
  src: local("FiraSans-Medium"), local("FiraSans-Medium"),
    url("../fonts/FiraSans-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

*::before,
*::after {
  box-sizing: inherit;
}

html {
  scroll-behavior: smooth;
}
body {
  font-family: "Fira Sans", "Fira Sans Condensed", sans-serif;
  font-style: normal;
  min-width: 320px;
  font-size: 16px;
  line-height: 137.5%;
  font-weight: 400;
  color: var(--text);
  background-color: var(--bg);
}

body.lock {
  overflow: hidden;
}

ul,
ol {
  padding: 0;
  margin: 0;
  list-style: none;
	margin-left: 20px;
}
.wp-block-list li{
	list-style: disc;
}
img {
  max-width: 100%;
  vertical-align: bottom;
  object-fit: cover;
}

a {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: all 0.3s ease;
}
a:focus,
button:focus {
  outline: none;
}
button {
  border: none;
  padding: 0;
  background-color: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

h1,
h2,
h3,
h4,
p {
  padding: 0;
  margin: 0;
  transition: all 0.3s ease;
}

figure {
  margin: 0;
  text-align: center;
}
picture {
  font-size: 0;
}
input,
textarea {
  padding: 0;
  margin: 0;
  border: none;
  background-color: transparent;
  transition: all 0.3s ease;
}
input:focus,
textarea:focus {
  outline: none;
}
input:focus::placeholder,
textarea:focus::placeholder {
  opacity: 0;
}
textarea {
  resize: none;
}
.site-container {
  overflow: hidden;
}
.container {
  margin: 0 auto;
  padding: 0 100px;
  max-width: 1520px;
}

.flex {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* кнопки */

.btn {
  padding: 14px 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  font-weight: 400;
  line-height: 133.333%;
  border-radius: 8px;
  gap: 4px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}
.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.btn-fill {
  color: var(--white);
  background-color: var(--main);
  border-color: var(--main);
}
.btn-fill:focus {
  background-color: var(--main);
  border-color: var(--main-focus);
  box-shadow: 0px 0px 0px 2px var(--outline-color);
}
.btn-fill:hover {
  background-color: var(--main-hover);
  border-color: var(--main-hover);
}

.btn-fill:active {
  background-color: var(--main-active);
  color: var(--white);
  border-color: var(--main-active);
}

.btn-with-border {
  color: var(--main);
  border-color: var(--main);
}

.btn-with-border:focus {
  box-shadow: 0px 0px 0px 2px var(--outline-color);
}

.btn-with-border:hover {
  color: var(--text);
  border-color: var(--text);
  background-color: var(--secondary-main-hover);
}

.btn-with-border:active {
  color: var(--main-active);
  border-color: var(--main-active);
}

/* Кнопка без текста */
.btn-without-text {
  padding: 6px;
  color: var(--white);
  background-color: var(--main);
  border-color: var(--main);
}
.btn-without-text:focus {
  background-color: var(--main);
  border-color: var(--main-focus);
  box-shadow: 0px 0px 0px 2px var(--outline-color);
}
.btn-without-text:hover {
  background-color: var(--main-hover);
  border-color: var(--main-hover);
}

.btn-without-text:active {
  background-color: var(--main-active);
  color: var(--white);
  border-color: var(--main-active);
}

/* Кнопка без рамки */
.btn-without-border {
  padding: 6px 14px;
  font-weight: 500;
  border-radius: 0px;
}

.btn-without-border:focus {
  box-shadow: 0px 0px 0px 2px var(--outline-color);
}

.btn-without-border:hover {
  color: var(--main);
  border-bottom-color: var(--main-hover);
}

.btn-without-border:active {
  border-color: var(--main-active);
}

/* Табы */
.tab-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 500;
  line-height: 24px; /* 133.333% */
}
.tab-btn:hover {
  background-color: var(--main-hover);
  color: var(--white);
}
.tab-btn:focus {
  box-shadow: 0px 0px 0px 2px var(--outline-color);
}
.tab-btn.active {
  background-color: var(--main);
  color: var(--white);
}

/* Ссылки */

.link {
  padding: 6px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  line-height: 18px;
  color: var(--white);
  border: 2px solid transparent;
}

.link:focus {
  color: var(--secondary-main-hover);
  border-color: var(--secondary-main-hover);
}

.link:hover {
  color: var(--main-hover);
}

.link:active {
  color: var(--secondary-main);
  border-bottom-color: var(--secondary-main);
}

/* Заголовки */
.title {
  margin-bottom: 60px;
  color: var(--text);
  font-family: "Fira Sans Condensed";
}
.main-title {
  font-size: 90px;
  font-weight: 400;
  line-height: normal;
}

.second-title {
  font-size: 42px;
  font-weight: 600;
  line-height: normal;
}

.third-title,.fourth-title  {
  font-size: 34px;
  font-weight: 600;
  line-height: 40px;
}

/* Текст */
.text-large {
  font-size: 18px;
  font-weight: 400;
  line-height: 24px;
}

.text-medium {
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
}

.text-small {
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;
}

/* Header */
.header {
  background-color: var(--text);
}
.header.main-page {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  background-color: transparent;
}
.header__container {
  padding-top: 34px;
  padding-bottom: 34px;
  display: flex;
  justify-content: space-between;
}
.header__left {
  justify-content: space-between;
  gap: 86px;
}
.header__feedback-link {
  color: var(--white);
  font-family: "Fira Sans Condensed";
  font-size: 26px;
  font-weight: 500;
  line-height: 32px; /* 123.077% */
}

.header__feedback-link:hover {
  color: var(--main-hover);
}

.header__mobile {
  display: none;
}
.header__mobile-menu-top {
  justify-content: space-between;
}
/* Бургер */
.burger {
  padding: 9px 4px;
  width: 40px;
  height: 40px;
  flex-direction: column;
  gap: 8px;
  color: var(--white);
  border-radius: 6px;
}
.burger:hover {
  color: var(--main-hover);
}
.burger:focus {
  box-shadow: 0px 0px 0px 2px var(--outline-color);
}
/* swiper */
.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  border: 2px solid var(--checkbox-border);
  background-color: transparent;
  opacity: 1;
}
.swiper-horizontal > .swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal {
  bottom: 0;
}
.swiper-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet {
  margin: 0;
}
.swiper-pagination-bullet-active {
  background-color: var(--main-active);
  border-color: var(--main-active);
}
/* Footer */

.footer {
  padding-top: 90px;
  padding-bottom: 90px;
  background-color: var(--text);
  color: var(--white);
}
.footer__container {
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}
.footer__logo-img {
  width: 153px;
}
.footer__info {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.footer__nav-list {
  flex-wrap: wrap;
}
.footer__nav-link {
  color: var(--checkbox-border);
  font-size: 16px;
  font-weight: 400;
  line-height: 22px; /* 137.5% */
}
.footer__info-label {
  font-weight: 500;
}
.footer__info-text {
  gap: 10px;
}
.footer__info-text-label {
  color: var(--secondary-text);
}
.footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.footer__contacts-social {
  gap: 16px;
}
.footer__contacts-social-link {
  color: var(--main);
	border-radius: 6px;
}
.footer__contacts-social-link use{
  transition: all 0.3s ease;
}
.footer__contacts-social-link:hover use {
	color:var(--main-hover);
}

.footer__contacts-social-link:focus {
	box-shadow: 0 0 0 2px var(--outline-color);
}
.footer__contacts-feedback-link {
  justify-content: flex-end;
  font-size: 18px;
  font-weight: 500;
  line-height: 24px; /* 133.333% */
}
.footer-policy {
  padding-top: 16px;
  padding-bottom: 16px;
  justify-content: space-between;
  color: var(--secondary-text);
}
/* Модальное окно */

.pum.pum-overlay {
  background-color: rgba(14, 1, 1, 0.25);
}

.modal-close-btn {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 30px;
  right: 30px;
  z-index: 10;
  width: 34px;
  height: 34px;
}
html.pum-open.pum-open-overlay.pum-open-scrollable
  body
  > :not([aria-modal="true"]) {
  padding-right: 18px;
}
.modal-close-btn::before,
.modal-close-btn::after {
  content: "";
  position: absolute;
  top: 15px;
  left: 5px;
  display: inline-block;
  height: 2px;
  width: 28px;
  border-radius: 2px;
  background-color: var(--bg-2);
  transform-origin: center;
}

.modal-close-btn::before {
  transform: rotate(45deg);
}

.modal-close-btn::after {
  transform: rotate(-45deg);
}

.modal-close-btn:hover::before,
.modal-close-btn:hover::after,
.modal-close-btn:focus::before,
.modal-close-btn:focus::after {
  background-color: var(--main-hover);
}

.modal-content-success {
  padding: 60px 60px 70px 60px;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  border-radius: 16px;
  background-color: var(--white);
  z-index: 1;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
}
.modal-content-success.open {
  opacity: 1;
  visibility: visible;
}
.modal-content-success-text-wrap {
  margin-bottom: 80px;
}
.modal-content-success-title {
  font-size: 22px;
  font-weight: 500;
  line-height: 120%;
  text-align: center;
}
/* Форма */
.wpcf7 {
  padding: 112px;
  border-radius: 8px;
  background-color: var(--white);
}
.wpcf7-form > p {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.form-input {
  padding: 11px;
  border-radius: 8px;
  border: 1px solid var(--input-border);
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
  width: 100%;
}

.form-input:hover {
  border-color: var(--main-hover);
}

.form-input:focus {
  box-shadow: 0px 0px 0px 2px var(--outline-color);
}
.form-input:disabled {
  opacity: 0.4;
}

.form-textarea {
  height: 74px;
}
.form-label-acceptance {
  position: relative;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.wpcf7-list-item {
  margin: 0;
}
.form-checkbox {
  width: 20px;
  height: 20px;
}
.form-checkbox:hover {
  border-color: var(--main-hover);
}
.form-checkbox:focus {
  box-shadow: 0px 0px 0px 2px var(--outline-color);
}
.form-checkbox:disabled {
  border-color: var(--main-disable);
}
.custom-checkbox {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: 1px solid var(--checkbox-border);
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0;
}
.custom-checkbox:hover {
  border-color: var(--main-hover);
}
.custom-checkbox:focus {
  box-shadow: 0px 0px 0px 2px var(--outline-color);
}

.form-acceptance-text a {
  text-decoration: underline;
}
.form-acceptance-text a:hover,
.form-acceptance-text a:focus {
  color: var(--main-hover);
}
/* Кнопка прокрутки */
.scroll-up-wrapper {
  position: fixed;
  bottom: 50px;
  right: 50px;
  background-color: var(--outline-color);
  border-radius: 8px;

  z-index: -1;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.3s ease;
}
.scroll-up-wrapper.show {
  opacity: 1;
  transform: none;
  z-index: 999;
}

.scroll-up-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: all 0.3s ease;
  overflow: hidden;
  background-color: var(--outline-color);
  border-radius: 8px;
  width: 68px;
  height: 68px;
  z-index: 10;
}

.scroll-up-layer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color:var(--main);
  transform: translateY(100%);
}
.scroll-up-wrapper svg {
  width: 36px;
  height: 36px;
  z-index: 1;
}

/* 404 */
.page-not-found {
  padding-top: 140px;
  padding-bottom: 140px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.page-not-found__btn {
  width: fit-content;
}

/* Аccordion */
.header__nav-mobile-item__content-item-title,
.header__nav-mobile-item__content-item-top-title {
  font-size: 18px;
  line-height: 24px; /* 133.333% */
  font-weight: 400;
}
.header__nav-mobile-item__content-item-top-title {
  font-weight: 500;
}

.header__nav-mobile-item__content-item-title-wrap,
.header__nav-mobile-item__content-item-top-title-wrap {
  padding: 16px;
  gap: 8px;
  justify-content: flex-start;
  border-radius: 8px;
}
.header__nav-mobile-item__content-item-subitem-info-list {
  padding-left: 20px;
}
.header__nav-mobile-item__content-item-subitem-info-link {
  padding: 16px;
  justify-content: flex-start;
  color: var(--text);
  font-size: 18px;
  font-weight: 400;
  line-height: 24px; /* 133.333% */
  border: none;
}
.header__nav-mobile-item__content-item-subitem-top {
  padding: 16px;

}
.header__nav-mobile-item__content-item-btn,
.header__nav-mobile-item__content-item-top-btn,
.header__nav-mobile-item__content-item-subitem-btn {
  margin-left: auto;
}
.header__nav-mobile-item__content-item-top--mobile.is-active .header__nav-mobile-item__content-item-top-title-wrap {
  background-color: var(--main);
  color: var(--white);
}

.header__nav-mobile-item__content-item-top--mobile.is-active .header__nav-mobile-item__content-item-top-btn {
  color: var(--white);
  transform: rotate(180deg);
}

.header__nav-mobile-item__content-item--mobile.is-active .header__nav-mobile-item__content-item-title-wrap {
  background-color: var(--main-border);
}
.header__nav-mobile-item__content-item--mobile.is-active .header__nav-mobile-item__content-item-btn {
  transform: rotate(180deg);
}
.header__nav-mobile-item__content-item-subitem-title {
  display: flex;
  padding: 16px;
  justify-content: flex-start;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 400;
  line-height: 24px;
}

.header__nav-mobile-item__content-item-subitem-title:hover,
.header__nav-mobile-item__content-item-subitem-title:focus {
  color: var(--main);
}
.header__nav-mobile-item__content-item-sublist {
  padding-left: 20px;
}

@media screen and (max-width: 1500px) {
  .container {
    padding-right: 80px;
    padding-left: 80px;
  }
  .header__container {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .main-title {
    font-size: 75px;
  }
}

@media screen and (max-width: 1280px) {
  .container {
    padding-right: 70px;
    padding-left: 70px;
  }
  .header__container {
    padding-top: 24px;
    padding-bottom: 24px;
  }
  .second-title {
    font-size: 28px;
  }
}
@media screen and (max-width: 1100px) {
  .footer__container {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }
  .footer__info {
    align-items: center;
  }
  .footer__contacts {
    align-items: center;
  }
  .footer__contacts-feedback-link {
    justify-content: center;
  }
}
@media screen and (max-width: 970px) {
  .container {
    padding-right: 57px;
    padding-left: 57px;
  }
  .title {
    margin-bottom: 40px;
  }
  .main-title {
    font-size: 34px;
    font-weight: 600;
    line-height: 40px; /* 117.647% */
  }
  .third-title,.fourth-title {
    font-size: 26px;
    font-weight: 500;
    line-height: 32px;
  }
  .header__mobile {
    display: flex;
  }
  .header__mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    min-height: 100vh;
    padding-bottom: 50px;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 30px;
    background-color: var(--white);
    border-radius: 8px;
    transform: translateX(101%);
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
  }
  .header__mobile-menu.open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .header__mobile-menu-top {
    padding: 24px 57px;
  }
  .header__mobile-menu-close-btn {
    border-radius: 6px;
  }
  .header__mobile-menu-close-btn:hover {
    color: var(--main-hover);
  }
  .header__mobile-menu-close-btn:focus {
    box-shadow: 0px 0px 0px 2px var(--outline-color);
  }
  .header__nav {
    display: none;
  }
  .header__nav-mobile-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
  .header__mobile-menu-bottom {
    margin-top: auto;
    padding: 0 97px;
    flex-direction: column;
    gap: 20px;
  }
  .header__mobile-menu-nav {
    padding: 0 97px;
  }
  .header__nav-mobile-link {
    color: var(--text);
    font-size: 18px;
    line-height: 24px;
    border: none;
    padding: 16px;
    border-radius: 8px;
  }
  .header__nav-mobile-link:hover,
  .header__nav-mobile-link:focus,
  .header__nav-mobile-link:active {
    color: var(--white);
    background-color: var(--main);
  }
  .header__mobile-menu-feedback-link {
    font-size: 18px;
    font-weight: 500;
    line-height: 24px;
  }
  .header__mobile-menu-feedback-link:hover,
  .header__mobile-menu-feedback-link:focus {
    color: var(--main-hover);
  }
  .header__mobile-menu-social {
    gap: 16px;
  }
  .header__mobile-menu-social-link {
    color: var(--main);
    border-radius: 6px;
  }
  .header__mobile-menu-social-link:hover {
    color: var(--main-hover);
  }
  .header__mobile-menu-social-link:focus {
    box-shadow: 0px 0px 0px 2px var(--outline-color);
  }
  .header__mobile-menu-social-link:disabled {
    opacity: 0.5;
    color: var(--main-disable);
  }
  .wpcf7 {
    padding: 110px 125px 120px 125px;
  }
}
@media screen and (max-width: 768px) {
  .wpcf7 {
    padding: 50px 28px 60px 28px;
  }
}
@media screen and (max-width: 610px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  .header__right {
    display: none;
  }
  .header__mobile-menu-nav {
    padding: 0 20px;
	  max-height: 500px;
	  overflow-y: auto;
  }
  .header__nav-mobile-link {
    justify-content: flex-start;
  }
  .form-title {
    margin-bottom: 20px;
    font-size: 18px;
    line-height: 24px; /* 133.333% */
  }
  .wpcf7 button {
    font-size: 16px;
    line-height: 22px; /* 137.5% */
  }
  .wpcf7 button svg {
    display: none;
  }
  .footer__container {
    padding-left: 0;
    padding-right: 0;
  }
  .footer-policy {
    flex-direction: column;
    gap: 8px;
  }
  .scroll-up-wrapper {
    bottom: 30px;
    right: 30px;
  }
}
