@charset "UTF-8";
:root {
  --index: calc(1vw + 1vh);
}

/*Обнуление*/
* {
  padding: 0;
  margin: 0;
  border: 0;
  font-family: "Noto Sans", sans-serif;
}

*, *:before, *:after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: 0.6s;
  transition: 0.6s;
}

:focus, :active {
  outline: none;
}

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

a:focus, a:active {
  outline: none;
}

nav, footer, header, aside {
  display: block;
}

html, body {
  height: 100%;
  width: 100%;
  font-size: 100%;
  line-height: 1;
  font-size: 14px;
  -ms-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

input, button, textarea {
  font-family: inherit;
}

input::-ms-clear {
  display: none;
}

button {
  cursor: pointer;
  background: transparent;
  color: inherit;
}

button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

a, a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

ul li {
  list-style: none;
}

img {
  vertical-align: top;
}

h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: 400;
}

/*--------------------*/
body {
  background: #252424;
}
body .pop_up {
  position: fixed;
  z-index: 1000;
  top: 50%;
  left: 50%;
  width: 90%;
  -webkit-transform: translate(200vw, 200vh);
          transform: translate(200vw, 200vh);
}
body .pop_up .form {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: inherit;
      -ms-flex-align: inherit;
          align-items: inherit;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  overflow: hidden;
  position: relative;
}
body .pop_up .form .close_pop_up {
  cursor: pointer;
  position: absolute;
  top: calc(var(--index) * 1);
  right: calc(var(--index) * 1);
  width: calc(var(--index) * 2);
  height: calc(var(--index) * 2);
}
body .pop_up .form .close_pop_up .close_line {
  position: absolute;
  top: 50%;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
  background: #000;
  width: calc(var(--index) * 2);
  height: calc(var(--index) * 0.2);
}
body .pop_up .form .close_pop_up .close_line:after {
  position: absolute;
  -webkit-transform: rotate(90deg);
          transform: rotate(90deg);
  width: calc(var(--index) * 2);
  height: calc(var(--index) * 0.2);
  content: "";
  display: block;
  background: #000;
}
body .pop_up .form .left-side {
  background: transparent url("/static/images/FormLSide.webp") left top no-repeat;
  -ms-flex-preferred-size: 50%;
      flex-basis: 50%;
  -webkit-transition: 0.8s;
  transition: 0.8s;
  background-size: cover;
}
body .pop_up .form .right-side {
  background: transparent url("/static/images/FormRSide.webp") left top no-repeat;
  -ms-flex-preferred-size: 50%;
      flex-basis: 50%;
  background-size: cover;
  -webkit-box-shadow: -10px 0 25px #FFE7CA;
          box-shadow: -10px 0 25px #FFE7CA;
  -webkit-transition: 0.8s;
  transition: 0.8s;
}
body .pop_up .form .right-side form {
  padding: calc(var(--index) * 5) 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  width: 80%;
  margin: 0 auto;
}
body .pop_up .form .right-side form h2 {
  font-family: Lora;
  font-size: calc(var(--index) * 2);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-align: left;
  color: #000;
  padding: 0 0 30px 0;
}
body .pop_up .form .right-side form input[type=text], body .pop_up .form .right-side form input[type=tel] {
  margin: 0 0 30px 0;
  border-bottom: 1px solid #694321;
  border-radius: 0;
  background: transparent;
  font-family: Noto Sans;
  color: #000;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-align: left;
  font-size: calc(var(--index) * 0.9);
}
body .pop_up .form .right-side form input[type=submit] {
  background: #252424;
  -webkit-box-shadow: 0px 0px 11px #FFE4BF;
          box-shadow: 0px 0px 11px #FFE4BF;
  color: #FFE4BF;
  -webkit-backdrop-filter: blur(2px);
          backdrop-filter: blur(2px);
  padding: calc(var(--index) * 1) 0;
  font-size: calc(var(--index) * 0.9);
  font-weight: 500;
  letter-spacing: 0.05em;
  border-radius: 0px;
  text-align: center;
  cursor: pointer;
}
@media (max-width: 920px) {
  body .pop_up .form .left-side {
    display: none;
  }
  body .pop_up .form .right-side {
    -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
  }
}
body header {
  position: fixed;
  width: 100%;
  z-index: 100;
}
body header .header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  border-bottom: 1px solid #F2EED9;
}
body header .header nav ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
body header .header nav ul li {
  margin: 0 calc(var(--index) * 0.8);
  padding: calc(var(--index) * 1.3) 0;
  border-bottom: 2px solid transparent;
}
body header .header nav ul li a {
  font-size: calc(var(--index) * 0.9);
  font-weight: 500;
}
body header .header .socials {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: calc(var(--index) * 0.8) 0;
}
body header .header .socials a {
  margin: 0 calc(var(--index) * 0.4);
}
body header .header .socials a img {
  width: calc(var(--index) * 1.2);
}
body header .header .socials .theme {
  width: calc(var(--index) * 2.2);
  height: calc(var(--index) * 1.1);
  cursor: pointer;
}
body header .header .socials .theme .line {
  width: 100%;
  height: 100%;
  background: #F2EED9;
  border-radius: 50px;
  border: 1px solid #252424;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
body header .header .socials .theme .line .circle {
  width: calc(var(--index) * 1);
  height: calc(var(--index) * 1);
  background: #000;
  border-radius: 50px;
  margin: calc(var(--index) * 0.1);
}
body header .header .burger {
  display: none;
  width: calc(var(--index) * 3);
  height: calc(var(--index) * 3);
  margin: 0 0 0 calc(var(--index) * 0.8);
  position: relative;
}
body header .header .burger .burger_line {
  position: absolute;
  top: 50%;
  width: calc(var(--index) * 2.6);
  height: 2px;
  background: #fff;
}
body header .header .burger .burger_line:before, body header .header .burger .burger_line:after {
  content: "";
  display: block;
  position: absolute;
  width: calc(var(--index) * 2.6);
  height: 2px;
  background: #fff;
}
body header .header .burger .burger_line:before {
  top: -450%;
}
body header .header .burger .burger_line:after {
  top: 450%;
}
body header .header .burger_active .burger_line {
  background: transparent;
}
body header .header .burger_active .burger_line:after {
  top: 0;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}
body header .header .burger_active .burger_line:before {
  top: 0;
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
}
body footer {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: start;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  padding: calc(var(--index) * 1.2) 0;
}
body footer img {
  width: calc(var(--index) * 12);
}
body footer ul li {
  padding-bottom: calc(var(--index) * 0.7);
}
body footer ul li h3 {
  font-family: Noto Sans;
  font-size: calc(var(--index) * 1.2);
  font-weight: 400;
  letter-spacing: 0.05em;
  text-align: left;
}
body footer ul li a {
  font-family: Noto Sans;
  font-size: calc(var(--index) * 1);
  font-weight: 400;
  letter-spacing: 0.05em;
  text-align: left;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
body footer ul li img {
  width: calc(var(--index) * 1.4);
  height: calc(var(--index) * 1.4);
  margin-right: calc(var(--index) * 0.7);
}
body footer ul .socialMediaIcons {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
body .pre_anim {
  opacity: 0;
  -webkit-transition: 1.2s;
  transition: 1.2s;
}
body .anim {
  opacity: 1;
  -webkit-transform: scale(1);
          transform: scale(1);
}
body .dark_theme_text {
  color: #F2EED9 !important;
}
body .dark_theme_button {
  color: #F2EED9 !important;
}
body .dark_theme_button:hover {
  color: #252424 !important;
}
body .white_theme_button {
    color: #FFE7CA !important;
    background: rgb(37, 36, 36);
}
body .white_theme_button:hover{
    color: rgb(37, 36, 36) !important;
    background: #FFE7CA;
}
body .dark_theme_burger .burger_line {
  background: #252424 !important;
}
body .dark_theme_burger .burger_line:before, body .dark_theme_burger .burger_line:after {
  background: #252424 !important;
}
body .white_theme_burger .burger_line {
  background: #F2EED9 !important;
}
body .white_theme_burger .burger_line:before, body .white_theme_burger .burger_line:after {
  background: #F2EED9 !important;
}
body .burger_active .burger_line {
  background: transparent !important;
}
body .burger_active .burger_line:after {
  top: 0;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}
body .burger_active .burger_line:before {
  top: 0;
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
}
body .white_theme_text {
  color: #252424 !important;
}
body .dark_theme_block {
  background: #252424;
}
body .white_theme_block {
  background: #F2EED9;
}
body .dark_theme_header_li:hover {
  border-bottom: 2px solid #F2EED9 !important;
}
body .white_theme_header_li:hover {
  border-bottom: 2px solid #252424 !important;
}
body .white_snake_bdr {
  border-color: #F2EED9 !important;
}
body .dark_snake_bdr {
  border-color: #252424 !important;
}
body .burger_menu {
  -webkit-transform: translate(-100vh, -100vw);
          transform: translate(-100vh, -100vw);
  width: 100%;
  height: 100vh;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  position: fixed;
  z-index: 50;
}
body .burger_menu nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}
body .burger_menu nav a {
  margin: calc(var(--index) * 0.8);
  font-size: calc(var(--index) * 1.8);
}
body .burger_menu_active {
  -webkit-transform: translate(0, 0);
          transform: translate(0, 0);
}
body .main_h2 {
  font-family: Lora;
  font-size: calc(var(--index) * 2.5);
  font-weight: 600;
  line-height: 100%;
  letter-spacing: 0.05em;
}
body .main_p {
  font-family: Noto Sans;
  font-size: calc(var(--index) * 0.8);
  font-weight: 400;
  line-height: 115%;
  letter-spacing: 0.05em;
  text-align: left;
}
@media (max-width: 915px) {
  body .main_p {
    font-size: calc(var(--index) * 1.2);
  }
}

@media (max-width: 915px) {
  body .header nav {
    display: none;
  }
  body .header .socials a {
    display: none !important;
  }
  body .header .socials .theme {
    width: calc(var(--index) * 7.2) !important;
    height: calc(var(--index) * 3.7) !important;
  }
  body .header .socials .theme .line .circle {
    width: calc(var(--index) * 3.5) !important;
    height: calc(var(--index) * 3.5) !important;
  }
  body .header .burger {
    display: block !important;
  }
  body .main .right_side {
    display: none;
  }
  body .main .left_side {
    -ms-flex-preferred-size: 100% !important;
        flex-basis: 100% !important;
    padding: calc(var(--index) * 7) calc(var(--index) * 1) !important;
  }
}
@media (max-width: 920px) {
  body footer a {
    -ms-flex-preferred-size: 46%;
        flex-basis: 46%;
  }
  body footer nav {
    -ms-flex-preferred-size: 46%;
        flex-basis: 46%;
  }
  body footer nav ul li a {
    font-size: calc(var(--index) * 1.4);
  }
  body footer nav ul li img {
    width: calc(var(--index) * 2);
    margin: 0 !important;
    padding: 0 !important;
  }
}
@media (max-width: 820px) {
  body .we {
    background: transparent url("/static/images/DSC05201_3 2.webp") left top no-repeat;
    background-size: 300% !important;
    height: 100%;
  }
  body .we .we_ares {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
  body .we .we_ares .we_are {
    -ms-flex-preferred-size: 49% !important;
        flex-basis: 49% !important;
    margin: 5px 0;
  }
  body .statistic .items {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
  body .statistic .items .item {
    -ms-flex-preferred-size: 49%;
        flex-basis: 49%;
  }
  body .form .left-side {
    display: none;
  }
  body .form .right-side {
    -ms-flex-preferred-size: 100% !important;
        flex-basis: 100% !important;
  }
  body .form .right-side form h2 {
    font-size: calc(var(--index) * 3) !important;
  }
  body .form .right-side form input[type=text], body .form .right-side form input[type=tel] {
    font-size: calc(var(--index) * 2) !important;
  }
  body .form .right-side form input[type=submit] {
    font-size: calc(var(--index) * 2) !important;
    padding: calc(var(--index) * 2) 0 !important;
  }
}
@media (max-width: 700px) {
  body .header .burger {
    width: calc(var(--index) * 4) !important;
    height: calc(var(--index) * 4) !important;
  }
  body .header .burger .burger_line {
    width: calc(var(--index) * 3.6) !important;
    height: 2px;
  }
  body .header .burger .burger_line:before, body .header .burger .burger_line:after {
    width: calc(var(--index) * 3.6) !important;
  }
  body .practics {
    background: transparent url("/static/images/background_b2.webp?v=1789593532") left 0 no-repeat !important;
    background-size: 130% !important;
  }
  body .practics .pre_images_block {
    padding: 30px 0 0 0;
  }
  body .practics .pre_images_block .items {
    height: 400px !important;
  }
  body .practics .navs {
    -webkit-clip-path: polygon(100% 100%, 0 100%, 0 0, 50% 20%, 100% 0) !important;
            clip-path: polygon(100% 100%, 0 100%, 0 0, 50% 20%, 100% 0) !important;
    padding: 50px 0 30px 0 !important;
  }
  body .practics .navs .practics_nav a {
    font-size: 20px !important;
    padding-bottom: 20px !important;
  }
  body .we .we_ares {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
  body .we .we_ares .we_are {
    -ms-flex-preferred-size: 100% !important;
        flex-basis: 100% !important;
    margin: 5px 0;
  }
}
@media (max-width: 550px) {
  body .practics .pre_images_block {
    padding: 30px 0 0 0;
  }
  body .practics .pre_images_block .items {
    height: 300px !important;
  }
  body .practics_nav {
    text-align: center;
    display: block !important;
  }
  body .practics_nav .navs {
    -webkit-clip-path: polygon(100% 100%, 0 100%, 0 0, 50% 20%, 100% 0) !important;
            clip-path: polygon(100% 100%, 0 100%, 0 0, 50% 20%, 100% 0) !important;
    padding: 50px 0 30px 0 !important;
  }
  body .practics_nav .navs .practics_nav a {
    font-size: 20px !important;
    padding-bottom: 20px !important;
  }
  body .statistic .items {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
  body .statistic .items .item {
    -ms-flex-preferred-size: 100% !important;
        flex-basis: 100% !important;
    padding-bottom: calc(var(--index) * 3) !important;
  }
  body .statistic .items .item h3 {
    font-size: calc(var(--index) * 6) !important;
  }
  body .statistic .items .item p {
    font-size: calc(var(--index) * 3) !important;
  }
}

/* Тема застосовується до першого рендеру, щоб не було спалаху фону */
html[data-theme="dark"] body {
  background: #252424;
}

html[data-theme="light"] body {
  background: #F2EED9;
}

/* Приховане поле-пастка для ботів */
.website_field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* Повідомлення після надсилання форми */
.flash_messages {
  position: fixed;
  z-index: 1000;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 90vw;
  padding: 14px 22px;
  border-radius: 8px;
  background: #2f6f4f;
  color: #fff;
  font-size: 15px;
  line-height: 1.4;
  text-align: center;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
}

.flash_messages p + p {
  margin-top: 6px;
}

@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Сторінка 404 */
.error_page {
  min-height: 60vh;
  padding: 180px 20px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
}

.error_page h1 {
  font-family: "Lora", serif;
  font-size: calc(var(--index) * 2.2);
  line-height: 1.2;
}

.error_page p {
  font-size: 16px;
  line-height: 1.6;
  max-width: 620px;
}

.error_page a {
  text-decoration: underline;
}

@media (max-width: 767px) {
  .error_page {
    padding: 120px 16px 60px;
  }
}
