/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

* {
  padding: 0;
  margin: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  line-height: 130%;
}

@font-face {
  font-family: "Veb-Sans";
  src: url("/wp-content/themes/fast/assets/fonts/Veb_Sans_Regular.woff2") format("woff2"), url("/wp-content/themes/fast/assets/fonts/Veb_Sans_Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Veb-Sans-Bold";
  src: url("/wp-content/themes/fast/assets/fonts/Veb_Sans_Bold.woff2") format("woff2"), url("/wp-content/themes/fast/assets/fonts/Veb_Sans_Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

body {
  margin: 0px;
  padding: 140px 0px 0px 0px;
  font-size: 18px;
  background-color: #edeef3;
  font-family: "Veb-Sans";
  color: #000;
  letter-spacing: 0em;
  position: relative;
  overflow-x: hidden;
  /* Кроссбраузерное сглаживание */
  -webkit-font-smoothing: antialiased; /* Для Webkit-браузеров (Chrome, Safari, Opera) */
  -moz-osx-font-smoothing: grayscale; /* Для macOS и Firefox */
  font-smoothing: antialiased; /* Стандартное сглаживание */
}

html {
  scroll-behavior: smooth;
  /* Кроссбраузерное сглаживание */
  -webkit-font-smoothing: antialiased; /* Для Webkit-браузеров (Chrome, Safari, Opera) */
  -moz-osx-font-smoothing: grayscale; /* Для macOS и Firefox */
  font-smoothing: antialiased; /* Стандартное сглаживание */
}

a {
  text-decoration: none; /* Убирает подчеркивание */
  color: inherit; /* Унаследует цвет текста от родителя */
}

.section {
  width: 100%;
  margin-top: 100px;
}

.container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 30px;
}

h1 {
  font-family: "Veb-Sans-Bold";
  font-size: 60px;
  line-height: 100% !important;
}

h2 {
  font-family: "Veb-Sans-Bold";
  font-size: 40px;
  line-height: 100% !important;
  max-width: 700px;
}

h2 span {
  color: #0070c0;
  line-height: 100% !important;
}

.soc {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 10px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.siteinfo {
  font-size: 14px;
  color: #0070c0;
}

.soc img {
  width: 35px;
  height: 35px;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 100;
}

.header_top {
  background: #edeef3;
  width: 100%;
  padding: 10px 0px;
}

.header_bottom_block {
  padding: 10px 0px;
  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;
}

.header_bottom {
  background: rgba(255, 255, 255, 0.6);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  width: 100%;
}

.btn_header {
  padding: 15px 20px !important;
}

.header_bottom_menu {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 30px;
}

.header_bottom_menu a {
  position: relative;
  padding: 10px;
  -webkit-transition: color 0.3s ease;
  -o-transition: color 0.3s ease;
  transition: color 0.3s ease;
}

.header_bottom_menu a.active {
  padding: 10px;
  background: #e8f5ff;
  border-radius: 10px;
}

/* Бургер меню */
.burger {
  width: 35px;
  height: 30px;
  display: none;
  -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;
  cursor: pointer;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.burger span {
  width: 100%;
  height: 3px;
  background: #0070c0;
  border-radius: 3px;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.burger:hover span {
  background: #1d91e3;
}

.burger.active span:nth-child(1) {
  -webkit-transform: rotate(45deg) translate(10px, 10px);
  -ms-transform: rotate(45deg) translate(10px, 10px);
  transform: rotate(45deg) translate(10px, 10px);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  -webkit-transform: rotate(-45deg) translate(10px, -10px);
  -ms-transform: rotate(-45deg) translate(10px, -10px);
  transform: rotate(-45deg) translate(10px, -10px);
}

.header_block {
  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;
}

.header_block_info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 30px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.header_block_contacts {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 30px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.contact {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 7px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  color: #0070c0;
  font-size: 22px;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.logo img {
  width: 180px;
  margin-top: 10px;
}

.contact img {
  width: 25px;
  height: 25px;
}

.btn {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  gap: 10px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 30px 30px;
  border-radius: 10px;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
  color: #fff;
  background: -webkit-gradient(linear, left top, left bottom, from(#1d91e3), to(#0070c0));
  background: -o-linear-gradient(top, #1d91e3 0%, #0070c0 100%);
  background: linear-gradient(180deg, #1d91e3 0%, #0070c0 100%);
}

.btn:hover {
  scale: 0.95;
  opacity: 0.9;
  cursor: pointer;
}

.btnwhite {
  background: #fff;
  color: #000;
  margin-top: 40px;
}

.banner {
  background-image: url("../images/banner.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
  padding: 80px 0px;
}

.banner::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: -webkit-gradient(linear, right top, left top, from(rgba(0, 112, 192, 0.1)), to(#0070c0));
  background: -o-linear-gradient(right, rgba(0, 112, 192, 0.1) 0%, #0070c0 100%);
  background: linear-gradient(270deg, rgba(0, 112, 192, 0.1) 0%, #0070c0 100%);
  z-index: 1;
}

.banner_block {
  max-width: 900px;
  position: relative;
  z-index: 2;
  color: #fff;
}

.descr {
  margin-top: 20px;
  max-width: 600px;
}

.case_block {
  display: -ms-grid;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
  gap: 20px;
  margin-top: 30px;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.case_block_item_img {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  width: 100%;
  height: 220px;
}

.case_block_item {
  padding: 20px;
  background: #fff;
  border-radius: 20px;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.case_block_item_info_header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-top: 20px;
  margin-top: 30px;
  gap: 10px;
}

.case_block_item_info_header_title {
  font-size: 20px;
  font-family: "Veb-Sans-Bold";
}

.case_block_item_info_header_price {
  font-size: 20px;
  font-family: "Veb-Sans-Bold";
  color: #0070c0;
  flex-shrink: 0;
}

.case_block_item_info_text {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 5px;
  margin-top: 15px;
}

.case_block_item_info_text span {
  font-size: 16px;
  line-height: 140%;
}

/* Swiper стили */
.case_block_item_img.swiper {
  height: 220px !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
}

.case_block_item_img .swiper-wrapper,
.case_block_item_img .swiper-slide {
  height: 220px !important;
  width: 100% !important;
  max-width: 100% !important;
}

.case_block_item_img .swiper-slide img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  display: block;
}

.case_block_item_img.swiper-initialized {
  width: 100% !important;
  max-width: 100% !important;
}

.case_block_item_img.swiper-horizontal {
  width: 100% !important;
  max-width: 100% !important;
}

/* Стрелки навигации */
.case_block_item_img .swiper-button-prev,
.case_block_item_img .swiper-button-next {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  color: #0070c0;
}

.case_block_item_img .swiper-button-prev:after,
.case_block_item_img .swiper-button-next:after {
  font-size: 16px;
  font-weight: bold;
}

/* Точки пагинации */
.case_block_item_img .swiper-pagination {
  bottom: 10px !important;
  z-index: 10;
}

.case_block_item_img .swiper-pagination-bullet {
  background: #fff !important;
  opacity: 0.8 !important;
  width: 10px !important;
  height: 10px !important;
  margin: 0 5px !important;
}

.case_block_item_img .swiper-pagination-bullet-active {
  background: #0070c0 !important;
  opacity: 1 !important;
  width: 12px !important;
  height: 12px !important;
}

.test {
  color: red;
  padding: 10px;
}

.center {
  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;
  margin-top: 40px;
}

.serv_block {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 20px 1fr 20px 1fr;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

.serv_block_item_img {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 10px;
}

.serv_block_item_img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  display: block;
}

.serv_block_item {
  padding: 20px;
  background: #fff;
  border-radius: 20px;
}

.serv_block_item_title {
  font-size: 20px;
  font-family: "Veb-Sans-Bold";
  margin-top: 30px;
}

.serv_block_item_info {
  margin-top: 15px;
}

.serv_block_item_list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 5px;
  margin-top: 15px;
  color: #0070c0;
  font-size: 16px;
}

.about {
  padding: 20px;
  background: #fff;
  border-radius: 20px;
}

.video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 8;
  overflow: hidden;
  border-radius: 20px;
  margin-top: 40px;
}

.video video {
  position: absolute;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.card {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 20px 1fr 20px 1fr 20px 1fr 20px 1fr;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  margin-top: 20px;
  gap: 20px;
}

.card_item {
  padding: 20px;
  background: #fff;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: start;
  -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;
}

.card_item img {
  height: 30px;
}

.form {
  border-radius: 20px;
  padding: 20px;
  background: -webkit-gradient(linear, left top, left bottom, from(#1d91e3), to(#0070c0));
  background: -o-linear-gradient(top, #1d91e3 0%, #0070c0 100%);
  background: linear-gradient(180deg, #1d91e3 0%, #0070c0 100%);
}

.form_info_item_list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 5px;
  margin-top: 20px;
}

.form_info {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 20px 1fr;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  color: #fff;
}

.form_info_item_list_item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 10px;
}

.form_info_item_list_item img {
  width: 20px;
}

.form_block {
  margin-top: 40px;
}

.wpforms-container .wpforms-field,
.wp-core-ui div.wpforms-container .wpforms-field {
  padding: 10px 0 !important;
  position: relative;
}

.wpforms-form {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 3fr 20px 1fr;
  grid-template-columns: 3fr 1fr;
  gap: 20px;
}

.wpforms-field-container {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 20px 1fr 20px 1fr;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}

input {
  width: 100% !important;
  max-width: 100% !important;
  padding: 20px !important;
  height: 70px !important;
  border-radius: 10px !important;
  border: 0 !important;
}

.wpforms-submit {
  width: 100% !important;
  max-width: 100% !important;
  padding: 20px !important;
  height: 70px !important;
  background: #000 !important;
  border-radius: 10px !important;
  color: #fff !important;
}

.form_info_item .descr {
  max-width: 500px;
}

.form_info_item_profile {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 20px;
}

.form_info_item_profile img {
  width: 120px;
  height: 120px;
}

.anton_name {
  font-size: 20px;
  font-family: "Veb-Sans-Bold";
}

.form_info_profile {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 20px 1fr;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  color: #fff;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-top: 60px;
}

.text {
  margin-top: 4px;
}

.anton_info {
  margin-top: 4px;
}

.phone {
  font-family: "Veb-Sans-Bold";
  font-size: 40px;
  line-height: 100% !important;
  max-width: 700px;
}

.footer {
  border-radius: 20px;
  padding: 20px;
  background: #242424;
  color: #fff;
  margin-bottom: 30px;
}

.footer_block {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 20px 1fr 20px 1fr;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}

.footer_contact {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 10px;
}

.footer_contact img {
  width: 30px;
}
.footer_contact_phone {
  font-family: "Veb-Sans-Bold";
  font-size: 40px;
  line-height: 100% !important;
}

.footer_block .soc {
  margin-top: 30px;
}

.politic {
  font-size: 14px;
  margin-top: 40px;
  display: inline-block;
  opacity: 0.7;
}

.rek {
  font-size: 20px;
  font-family: "Veb-Sans-Bold";
}

.rek_text {
  margin-top: 10px;
}

.footer_block_item_info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  position: relative;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: end;
  opacity: 0.7;
}

.footerimg {
  position: absolute;
  width: 423px;
  bottom: 0px;
}

.footer_block .btnwhite {
  margin-top: 80px;
}

.footer_block_item {
  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;
}
.page_content {
  margin-top: 40px;
}

.page h1 {
  margin-bottom: 20px;
}

h5 {
  margin-bottom: 5px;
  margin-top: 20px;
  font-size: 20px;
}

.why {
  background-image: url("../images/why.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
  padding: 20px;
  border-radius: 20px;
}

.why::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: -webkit-gradient(linear, right top, left top, from(rgba(255, 255, 255, 0)), color-stop(50%, #fff));
  background: -o-linear-gradient(right, rgba(255, 255, 255, 0) 0%, #fff 50%);
  background: linear-gradient(270deg, rgba(255, 255, 255, 0) 0%, #fff 50%);
  z-index: 1;
}

.why .descr {
  color: #0070c0;
}

.why_content {
  z-index: 2;
  position: relative;
}

.why_block {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 20px 1fr 20px 1fr;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}

.why_block_item_red {
  background: #eedfe4;
  border-radius: 20px;
  padding: 20px;
  height: 140px;
}

.why_block_item_red_title {
  color: #f73836;
  font-size: 20px;
  font-family: "Veb-Sans-Bold";
}

.why_block_item_text {
  margin-top: 5px;
}

.why_block_item_green {
  margin-top: 5px;
  background: #a0e3b9;
  border-radius: 20px;
  height: 140px;
  padding: 20px;
}

.green_check {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 20px 1fr 20px 1fr;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin-top: 60px;
}

.green_check_item {
  border-radius: 20px;
  padding: 20px;
  background: #fff;
}

.green_check_item img {
  width: 40px;
  height: 40px;
}

.green_check_item_title {
  font-size: 20px;
  font-family: "Veb-Sans-Bold";
  margin-top: 20px;
}

.green_check_item_text {
  margin-top: 10px;
}

.scroll-to-top {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 60px;
  height: 60px;
  background: -webkit-gradient(linear, left top, left bottom, from(#1d91e3), to(#0070c0));
  background: -o-linear-gradient(top, #1d91e3 0%, #0070c0 100%);
  background: linear-gradient(180deg, #1d91e3 0%, #0070c0 100%);
  border-radius: 50%;
  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;
  cursor: pointer;
  z-index: 1000;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  -webkit-box-shadow: 0 4px 15px rgba(0, 112, 192, 0.3);
  box-shadow: 0 4px 15px rgba(0, 112, 192, 0.3);
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  -webkit-transform: translateY(-5px);
  -ms-transform: translateY(-5px);
  transform: translateY(-5px);
  -webkit-box-shadow: 0 6px 20px rgba(0, 112, 192, 0.4);
  box-shadow: 0 6px 20px rgba(0, 112, 192, 0.4);
}

.scroll-to-top svg {
  width: 24px;
  height: 24px;
  fill: #fff;
}

/* Адаптивные стили */

/* Планшеты (до 1024px) */
@media (max-width: 1024px) {
  body {
    padding: 120px 0px 0px 0px;
  }

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 32px;
  }

  .section {
    margin-top: 60px;
  }

  .container {
    padding: 0 20px;
  }

  .header_block_contacts {
    gap: 20px;
  }

  .contact {
    font-size: 18px;
  }

  .serv_block {
    -ms-grid-columns: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
  }

  .case_block {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  }

  .card {
    -ms-grid-columns: (1fr) [3];
    grid-template-columns: repeat(3, 1fr);
  }

  .why_block {
    -ms-grid-columns: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
  }

  .green_check {
    -ms-grid-columns: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
    margin-top: 40px;
  }

  .footer_block {
    -ms-grid-columns: 1fr 30px 1fr;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .footer_block_item:last-child {
    grid-column: 1 / -1;
  }

  .form_info {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }

  .form_info_profile {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }

  .wpforms-form {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }

  .wpforms-field-container {
    -ms-grid-columns: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
  }
}

/* Мобильные устройства (до 768px) */
@media (max-width: 768px) {
  body {
    padding: 100px 0px 0px 0px;
    font-size: 16px;
  }

  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 28px;
  }

  .section {
    margin-top: 40px;
  }

  .container {
    padding: 0 15px;
  }

  .header_block {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 15px;
  }

  .header_block_info {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 15px;
  }

  .header_block_contacts {
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    width: 100%;
  }

  .header_bottom_block {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 15px;
  }

  .header_bottom_menu {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }

  .logo img {
    width: 150px;
  }

  .contact {
    font-size: 16px;
  }

  .btn {
    padding: 20px 20px;
    font-size: 16px;
  }

  .btn_header {
    padding: 12px 15px !important;
    width: 100%;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }

  .banner {
    padding: 60px 0px;
  }

  .btnwhite {
    margin-top: 30px;
  }

  .serv_block {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }

  .case_block {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }

  .case_block_item_info_header {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    gap: 10px;
  }

  .card {
    -ms-grid-columns: 1fr 15px 1fr;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }

  .card_item {
    aspect-ratio: auto;
    min-height: 150px;
  }

  .why_block {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }

  .why_block_item_red,
  .why_block_item_green {
    height: auto;
    min-height: 120px;
  }

  .green_check {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
    margin-top: 30px;
  }

  .video {
    aspect-ratio: 16 / 10;
  }

  .form {
    padding: 15px;
  }

  .form_info_profile {
    margin-top: 40px;
  }

  .wpforms-field-container {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }

  input,
  .wpforms-submit {
    height: 60px !important;
    padding: 15px !important;
  }

  .phone {
    font-size: 32px;
  }

  .footer_contact_phone {
    font-size: 32px;
  }

  .footer_block {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer_block_item:last-child {
    grid-column: auto;
  }

  .footer_block .btnwhite {
    margin-top: 40px;
  }

  .footer_block_item_info {
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: start;
  }

  .scroll-to-top {
    width: 50px;
    height: 50px;
    bottom: 20px;
    left: 20px;
  }

  .scroll-to-top svg {
    width: 20px;
    height: 20px;
  }
}

/* Малые мобильные устройства (до 480px) */
@media (max-width: 780px) {
  .siteinfo {
    display: none;
  }

  .header_block {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 30px;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
  }

  .header .soc {
    display: none;
  }

  .header .headeremail {
    display: none;
  }

  /* Показываем бургер */
  .burger {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }

  /* Скрываем header_bottom по умолчанию на мобильных */
  .header_bottom {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    width: 100%;
    background: #fff;
    -webkit-box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    z-index: 99;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }

  /* Показываем header_bottom когда активен */
  .header_bottom.active {
    display: block;
    -webkit-animation: slideDown 0.3s ease;
    animation: slideDown 0.3s ease;
  }

  @-webkit-keyframes slideDown {
    from {
      opacity: 0;
      -webkit-transform: translateY(-20px);
      transform: translateY(-20px);
    }
    to {
      opacity: 1;
      -webkit-transform: translateY(0);
      transform: translateY(0);
    }
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      -webkit-transform: translateY(-20px);
      transform: translateY(-20px);
    }
    to {
      opacity: 1;
      -webkit-transform: translateY(0);
      transform: translateY(0);
    }
  }

  .header_bottom_block {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    padding: 20px 0;
  }

  .header_bottom_menu {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    gap: 0;
  }

  .header_bottom_menu a {
    padding: 15px 20px;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }

  .header_bottom_menu a:hover {
    background: #f5f5f5;
  }

  .header_bottom_menu a.active {
    padding: 15px 20px;
    background: #e8f5ff;
    border-radius: 10px;
  }

  .btn_header {
    margin: 15px 20px;
    width: calc(100% - 40px);
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }

  body {
    padding: 60px 0px 0px 0px;
    font-size: 14px;
  }

  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 24px;
  }

  .section {
    margin-top: 30px;
  }

  .logo img {
    width: 120px;
  }

  .contact {
    font-size: 14px;
  }

  .contact img {
    width: 20px;
    height: 20px;
  }

  .btn {
    padding: 15px 15px;
    font-size: 14px;
    gap: 5px;
  }

  .banner {
    padding: 40px 0px;
  }

  .descr {
    font-size: 14px;
  }

  .card {
    -ms-grid-columns: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
  }

  .card_item {
    min-height: 120px;
  }

  .serv_block_item_title,
  .green_check_item_title,
  .why_block_item_red_title {
    font-size: 18px;
  }

  .serv_block_item_info,
  .serv_block_item_list,
  .green_check_item_text,
  .why_block_item_text {
    font-size: 14px;
  }

  .case_block_item_info_header_title,
  .case_block_item_info_header_price {
    font-size: 18px;
  }

  .case_block_item_info_text span {
    font-size: 14px;
  }

  .video {
    aspect-ratio: 16 / 12;
  }

  .form_info_item_profile img {
    width: 80px;
    height: 80px;
  }

  .anton_name {
    font-size: 18px;
  }

  .phone {
    font-size: 24px;
  }

  .footer_contact_phone {
    font-size: 24px;
  }

  .rek {
    font-size: 18px;
  }

  .soc img {
    width: 30px;
    height: 30px;
  }

  .green_check_item img {
    width: 30px;
    height: 30px;
  }

  .scroll-to-top {
    width: 45px;
    height: 45px;
    bottom: 15px;
    left: 15px;
  }

  .scroll-to-top svg {
    width: 18px;
    height: 18px;
  }
}
