@font-face { font-family: "Playfair Display"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/playfair_display-r.woff2") format("woff2"), url("fonts/playfair_display-r.woff") format("woff");}
@font-face { font-family: "Playfair Display"; font-weight: 400; font-style: italic; font-display: swap; src: url("fonts/playfair_display-r-i.woff2") format("woff2"), url("fonts/playfair_display-r-i.woff") format("woff");}
@font-face { font-family: "Playfair Display"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/playfair_display-b.woff2") format("woff2"), url("fonts/playfair_display-b.woff") format("woff");}
@font-face { font-family: "Playfair Display"; font-weight: 700; font-style: italic; font-display: swap; src: url("fonts/playfair_display-b-i.woff2") format("woff2"), url("fonts/playfair_display-b-i.woff") format("woff");}
@font-face { font-family: "Playfair Display"; font-weight: 900; font-style: normal; font-display: swap; src: url("fonts/playfair_display-bl.woff2") format("woff2"), url("fonts/playfair_display-bl.woff") format("woff");}
@font-face { font-family: "Playfair Display"; font-weight: 900; font-style: italic; font-display: swap; src: url("fonts/playfair_display-bl-i.woff2") format("woff2"), url("fonts/playfair_display-bl-i.woff") format("woff");}

@font-face { font-family: "Roboto"; font-weight: 100; font-style: normal; font-display: swap; src: url("fonts/roboto-t.woff2") format("woff2"), url("fonts/roboto-t.woff") format("woff");}
@font-face { font-family: "Roboto"; font-weight: 100; font-style: italic; font-display: swap; src: url("fonts/roboto-t-i.woff2") format("woff2"), url("fonts/roboto-t-i.woff") format("woff");}
@font-face { font-family: "Roboto"; font-weight: 300; font-style: normal; font-display: swap; src: url("fonts/roboto-l.woff2") format("woff2"), url("fonts/roboto-l.woff") format("woff");}
@font-face { font-family: "Roboto"; font-weight: 300; font-style: italic; font-display: swap; src: url("fonts/roboto-l-i.woff2") format("woff2"), url("fonts/roboto-l-i.woff") format("woff");}
@font-face { font-family: "Roboto"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/roboto-r.woff2") format("woff2"), url("fonts/roboto-r.woff") format("woff");}
@font-face { font-family: "Roboto"; font-weight: 400; font-style: italic; font-display: swap; src: url("fonts/roboto-r-i.woff2") format("woff2"), url("fonts/roboto-r-i.woff") format("woff");}
@font-face { font-family: "Roboto"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/roboto-m.woff2") format("woff2"), url("fonts/roboto-m.woff") format("woff");}
@font-face { font-family: "Roboto"; font-weight: 500; font-style: italic; font-display: swap; src: url("fonts/roboto-m-i.woff2") format("woff2"), url("fonts/roboto-m-i.woff") format("woff");}
@font-face { font-family: "Roboto"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/roboto-b.woff2") format("woff2"), url("fonts/roboto-b.woff") format("woff");}
@font-face { font-family: "Roboto"; font-weight: 700; font-style: italic; font-display: swap; src: url("fonts/roboto-b-i.woff2") format("woff2"), url("fonts/roboto-b-i.woff") format("woff");}
@font-face { font-family: "Roboto"; font-weight: 900; font-style: normal; font-display: swap; src: url("fonts/roboto-bl.woff2") format("woff2"), url("fonts/roboto-bl.woff") format("woff");}
@font-face { font-family: "Roboto"; font-weight: 900; font-style: italic; font-display: swap; src: url("fonts/roboto-bl-i.woff2") format("woff2"), url("fonts/roboto-bl-i.woff") format("woff");}

:root {
  --color-primary: #000;
  --color-primary2: #000;
  --image-bg: url(images/bg.jpg);
}
body {
  font-family: "Roboto", sans-serif;
  position: relative;
  padding-top: 78px;
}
.bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(254, 250, 243, 0.76) 0%, rgba(254, 250, 243, 0.76) 100%), var(--image-bg);
  background-size: auto, cover;
  background-attachment: scroll, fixed;
  background-repeat: no-repeat, no-repeat;
  background-position: left 0px top 0px, center center;
  z-index: 1;
}
.home_block, header {
  position: relative;
  z-index: 2;
}
.d_fl {
  display: flex;
  justify-content: space-between;
}

.fl_dir {
  flex-direction: column;
}

.fl_w {
  flex-wrap: wrap;
}

.al_cen {
  align-items: center;
}

p {
  margin-bottom: 20px;
}

p:last-child {
  margin-bottom: 0 !important;
}

a {
	outline: none;
	transition: all 0.3s ease-in-out;
}
.home_block a:hover {
	color: #df9987 !important
}
.fw400 {
	font-weight: 400;
}

.fw500 {
	font-weight: 500;
}

.fw700 {
	font-weight: 700;
}
.home_block * {
	line-height: 1.5 !important
}
.home_block .top_home_title, .home_block .block_title {
	line-height: 1.1 !important
} 

.btn {
  font-size: 13px;
  background: #e60003;
  padding: 5px 10px;
  max-width: 100%;
  display: inline-block;
  color: #fff;
}

.container {
  max-width: 1450px;
  padding: 0 15px;
  z-index: 2;
  position: relative;
  margin: 0 auto;
  width: 100%;
}
@media (max-width: 1300px) {
  .container {
    padding: 0 15px;
  }
}


/* modals */
.modal_box {
  max-width: 560px !important;
  padding: 52px 50px !important;
  border-radius: 8px;
  background: #fffaf3;
}

.modal__title {
  color: #5a5650;
  font-family: "Playfair Display", serif;
  font-size: 42px;
  line-height: 1.1;
  margin-bottom: 28px;
  font-weight: 400;
}

.modal__subtitle {
  display: none;
}

.modal_box .fancybox-close-small {
  color: #5a5650;
}

.modal_box .form_item {
  margin-bottom: 20px;
}

input.wpcf7-form-control {
  border: 1px solid #d7d1c9;
  border-radius: 4px;
  background: transparent;
  height: 55px;
  padding: 0 12px;
  color: #5a5650;
}
form input.wpcf7-form-control.wpcf7-submit {
    width: 210px;
    max-width: 100%;
    margin: 24px 0 0;
    border-radius: 0;
    background: #df9987;
    color: #fff;
    font-family: "Playfair Display", serif;
    font-size: 20px;
    height: 55px;
}

.modal_box form input.wpcf7-form-control.wpcf7-submit:hover {
  background: #cf8977;
}

.modal_box label.ch {
  color: #5a5650;
  margin: 6px 0 0;
  align-items: center;
}

.modal_box label.ch input {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.modal_box label.ch>span:last-child {
  font-size: 14px !important;
  line-height: 1.25;
}

.modal_box label.ch a {
  color: #df9987;
  text-decoration: underline;
}
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
    background: #f00;
}
.wpcf7 form .wpcf7-response-output {
  border: none !important;
  font-size: 14px;
  color: #fff;
}

/* modals */


/* header */
header {
  padding: 14px 0;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  z-index: 80;
  background: rgba(255, 250, 243, .92);
  backdrop-filter: blur(8px);
}

.top_line {
  min-height: 50px;
}

.header_callback {
  min-width: 180px;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #df9987;
  color: #fff;
  font-family: "Playfair Display", serif;
  font-size: 17px;
  line-height: 1.2;
  padding: 12px 24px;
}

.header_callback:hover {
  background: #cf8977;
  color: #fff;
}

.menu_icon {
  margin-left: auto;
  display: flex;
  width: 50px;
  height: 50px;
  align-items: center;
  justify-content: center;
  background: #df9987;
  color: #fff;
  cursor: pointer;
  transition: background .3s ease-in-out;
}

.menu_icon:hover {
  background: #cf8977;
}

.menu_icon svg {
  width: 31px;
  height: 31px;
  fill: currentColor;
}

.nav_overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(0, 0, 0, .48);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease-in-out, visibility .3s ease-in-out;
}

.nav_box {
  position: fixed;
  right: 0;
  top: 0;
  z-index: 100;
  width: min(68vw, 540px);
  height: 100vh;
  background: #fff;
  transform: translateX(100%);
  transition: transform .35s ease-in-out;
  box-shadow: -6px 0 24px rgba(0, 0, 0, .12);
}

.nav_box_inner {
  position: relative;
  height: 100%;
  padding: 120px 80px 50px 92px;
}

.menu_close {
  position: absolute;
  left: 92px;
  top: 58px;
  width: 28px;
  height: 28px;
  padding: 0;
  border: none;
  background: transparent;
  color: #5a5650;
}

.menu_close svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.menu_open {
  overflow: hidden;
}

.menu_open .nav_overlay {
  opacity: 1;
  visibility: visible;
}

.menu_open .nav_box {
  transform: translateX(0);
}

ul#topmenu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: block;
  width: 100%;
}

ul#topmenu li a {
  display: block;
  padding: 0;
  margin: 0;
  position: relative;
  color: #5a5650;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 700;
}

ul#topmenu li {
  margin-bottom: 40px;
}

ul#topmenu li a:hover {
  color: #df9987;
}


/* header */


/* soc links */
.soc_links a, .soc_links a img {
    display: block;
    width: 32px;
    height: 32px;
}
.soc_links {
    gap: 8px;
}
/* soc links */


/* home */
.f_img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home_block {
  position: relative;
  scroll-margin-top: 92px;
}

.home_block + .home_block .container {
}

.block_title,
.block4_about_wrapper {
  padding-top: 70px;
  border-top: 2px solid #de9c8a;
}


.block4_about_wrapper .block_title {
  border: none;
  padding-top: 0;
}


.block_title,
.top_home_title,
.block2_pere2_t,
.block3_cons_t,
.block3_cons_price,
.block3_cons_btn,
h1, h2, h3, h4, h5, h6 {
  font-family: "Playfair Display", serif;
}
.page_pag {
  margin-bottom: 20px;
}
.col_r h2, 
.col_r h3, .col_r h4, .col_r h5 {
  margin-bottom: 20px;
  margin-top: 25px;
} 
.top_home {
    padding: 60px 0 50px;
}

.top_home_wrapper {
}

.top_home_info {
  width: calc(100% - 525px);
  padding-left: 40px;
}

.top_home_title {
    margin-bottom: 25px;
    color: #5a5650;
    font-size: 55px;
    line-height: 1.05;
    font-weight: 400;
}
.top_home_text {
  color: #5a5650;
}

.top_home_img {
    width: 525px;
    height: auto;
    overflow: hidden;
}

.block2_cases {
  padding: 55px 0 60px;
}

.block_title {
  color: #5a5650;
  font-size: 55px;
  line-height: 1.05;
  margin-bottom: 36px;
}

.block2_pere2 {
  gap: 32px;
}

.block2_pere2_item {
  width: calc(50% - 16px);
  align-items: flex-start;
  justify-content: flex-start;
  gap: 24px;
  border: 2px solid #e99b87;
  padding: 32px 42px 32px 34px;
  background: rgba(255, 250, 241, 0.58);
}

.block2_pere2_icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #fff;
  flex: 0 0 80px;
  position: relative;
}

.block2_pere2_icon:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 48%;
  width: 14px;
  height: 8px;
  border-left: 2px solid #e19a87;
  border-bottom: 2px solid #e19a87;
  transform: translate(-50%, -50%) rotate(-45deg);
}

.block2_pere2_info {
  padding-top: 2px;
}

.block2_pere2_t {
  color: #5a5650;
  font-size: 38px;
  line-height: 1.05;
  margin-bottom: 18px;
}

.block2_pere2_d {
  color: #5a5650;
  font-size: 18px;
  line-height: 1.25;
  max-width: 520px;
}

.block3_cons {
  padding: 55px 0 65px;
}

.block3_cons_text {
  color: #5a5650;
  font-size: 21px;
  line-height: 1.35;
  margin: -12px 0 32px;
}

.block3_cons_slider {
  overflow: hidden;
  padding-bottom: 40px;
}

.block3_cons_slider .swiper-wrapper {
  align-items: stretch;
}

.block3_cons_slider .swiper-slide {
  height: auto;
}

.block3_cons_item {
  min-height: 305px;
  height: 100%;
  border: 2px solid #e99b87;
  padding: 40px 34px 36px;
  background: rgba(255, 250, 241, 0.58);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.block3_cons_t {
  color: #5a5650;
  font-size: 40px;
  line-height: 1.1;
  margin-bottom: 18px;
}

.block3_cons_time,
.block3_cons_d {
  color: #5a5650;
  font-size: 18px;
  line-height: 1.25;
}

.block3_cons_time {
  margin-bottom: 18px;
}

.block3_cons_price {
  color: #5a5650;
  font-size: 56px;
  line-height: 1;
  margin-bottom: 28px;
}

.block3_cons_btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 82px;
  padding: 14px 20px;
  color: #fff;
  background: #df9987;
  font-size: 31px;
  line-height: 1.15;
  text-align: center;
}

.block3_cons_btn:hover {
  background: #cf8977;
  color: #fff;
}

.block3_cons_slider .swiper-pagination {
  bottom: 0;
}

.block3_cons_slider .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #e99b87;
  opacity: .35;
}

.block3_cons_slider .swiper-pagination-bullet-active {
  opacity: 1;
}

.block4_about {
  padding: 35px 0 70px;
}

.block4_about_wrapper {
  justify-content: flex-start;
  align-items: flex-start;
  gap: 32px;
}

.block4_about_img {
  width: 420px;
  height: 585px;
  overflow: hidden;
  flex: 0 0 420px;
}

.block4_about_info {
  max-width: 890px;
  padding-top: 5px;
}

.block4_about_info .block_title {
  margin-bottom: 28px;
}

.block4_about_text {
  color: #5a5650;
  font-size: 21px;
  line-height: 1.55;
}

@media (max-width: 1099px) {
  .block4_about_text.is-collapsed > *:nth-child(n+4) {
    display: none;
  }
}

.block4_about_more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 14px;
  padding: 10px 22px;
  border: 1px solid #df9987;
  background: transparent;
  color: #5a5650;
  font-size: 16px;
  line-height: 1.2;
  transition: all .3s ease-in-out;
}

.block4_about_more:hover {
  background: #df9987;
  color: #fff;
}

.block5_edu {
  padding: 25px 0 55px;
}

.block5_edu .block_title {
  margin-bottom: 28px;
}

.block5_edu_list {
  gap: 18px ;
  padding-left: 0;
  margin: 0;
}
.block5_edu_item a {
  color: #5a5650;
}
.block5_edu_item {
  color: #5a5650;
  font-size: 21px;
  line-height: 1.08;
  padding-left: 2px;
  list-style: none;
}
.block5_edu_item svg {
  flex-shrink: 0;
}
.block6_guar {
  padding: 50px 0 55px;
}



.block6_guar .block_title {
  margin-bottom: 34px;
}

.block6_guar_list {
  gap: 28px 80px;
}

.block6_guar_item {
  width: calc(50% - 40px);
  justify-content: flex-start;
  align-items: flex-start;
  gap: 20px;
}

.block6_guar_icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 245, 236, 0.9);
  flex: 0 0 42px;
  position: relative;
}

.block6_guar_icon:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 48%;
  width: 11px;
  height: 7px;
  border-left: 2px solid #e19a87;
  border-bottom: 2px solid #e19a87;
  transform: translate(-50%, -50%) rotate(-45deg);
}

.block6_guar_t {
  color: #5a5650;
  font-size: 22px;
  line-height: 1.33;
  max-width: 620px;
}

.block7_rules {
  padding: 40px 0 75px;
}

.block7_rules_wrapper {
  align-items: flex-start;
}

.block7_rules_info {
  width: calc(100% - 400px);
  padding-right: 40px;
}

.block7_rules_info .block_title {
  max-width: 520px;
  margin-bottom: 26px;
}

.block7_rules_text {
  color: #5a5650;
  font-size: 22px;
  line-height: 1.25;
  margin-bottom: 18px;
}

.block7_rules_text.is-collapsed > *:nth-child(n+3) {
  display: none;
}

.block7_rules_more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 22px;
  border: 1px solid #df9987;
  background: transparent;
  color: #5a5650;
  font-size: 16px;
  line-height: 1.2;
  transition: all .3s ease-in-out;
}
.block7_rules_info {
  padding-top: 30px;
}

.block7_rules_more:hover {
  background: #df9987;
  color: #fff;
}

.block7_rules_list {
  color: #5a5650;
  font-size: 22px;
  line-height: 1.2;
  list-style: disc;
  margin: 0;
  padding-left: 22px;
  max-width: 650px;
}

.block7_rules_img {
  width: 400px;
  height: 360px;
  overflow: hidden;
}

.block8_text {
  padding: 35px 0 75px;
}

.block8_text .container {
}

.block8_text .block_title {
  margin-bottom: 26px;
}

.block8_text_content {
  color: #5a5650;
  font-size: 22px;
  line-height: 1.18;
}

.block8_text_content.is-collapsed > *:nth-child(n+4),
.block8_text_content.is-collapsed.is-cut-after-1 > *:nth-child(n+2),
.block8_text_content.is-collapsed.is-cut-after-2 > *:nth-child(n+3),
.block8_text_content.is-collapsed > *:nth-child(-n+3) li:nth-child(n+4) {
  display: none;
}

.block8_text_content p,
.block8_text_content ul,
.block8_text_content ol {
  margin-bottom: 24px;
}

.block8_text_content ul,
.block8_text_content ol {
  padding-left: 22px;
}

.block8_text_more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 22px;
  border: 1px solid #df9987;
  background: transparent;
  color: #5a5650;
  font-size: 16px;
  line-height: 1.2;
  transition: all .3s ease-in-out;
}

.block8_text_more:hover {
  background: #df9987;
  color: #fff;
}

.block9_reviews {
  padding: 35px 0 75px;
}

.block9_reviews .block_title {
  margin-bottom: 30px;
}

.block9_reviews_slider {
  overflow: hidden;
  padding-bottom: 40px;
}

.block9_reviews_slider .swiper-wrapper {
  align-items: stretch;
}

.block9_reviews_slider .swiper-slide {
  height: auto;
}

.block9_reviews_item {
  height: 100%;
  color: #5a5650;
}

.block9_reviews_t {
    display: flex;
    align-items: center;
    color: #5a5650;
    font-size: 24px;
    line-height: 1.25;
    margin-bottom: 18px;
    gap: 10px;
}
.block9_reviews_t img {
  display: block;
  width: 35px;
  height: 35px;
  flex-shrink: 0;
}
.block9_reviews_t:hover {
  color: #df9987;
}

.block9_reviews_d {
  color: #5a5650;
  font-size: 22px;
  line-height: 1.55;
}

.block9_reviews_d p {
  margin-bottom: 18px;
}

.block9_reviews_slider .swiper-pagination {
  bottom: 0;
}

.block9_reviews_slider .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #e99b87;
  opacity: .35;
}

.block9_reviews_slider .swiper-pagination-bullet-active {
  opacity: 1;
}

.block10_contacts {
  padding: 45px 0 40px;
}

.block10_contacts_wrapper {
  align-items: flex-start;
  border-bottom: 2px solid #df9987;
  padding-bottom: 95px;
}

.block10_contacts_left {
    width: 340px;
}

.block10_contacts_left .block_title {
  margin-bottom: 24px;
}

.block10_contacts_img {
  width: 100%;
  max-width: 650px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.block10_contacts_right {
  width: calc(100% - 340px);
  padding-top: 36px;
  padding-left: 40px;
}

.block10_contacts_phones {
  margin-bottom: 38px;
}

.block10_contacts_phones a {
  display: inline-block;
  color: #5a5650;
  font-size: 28px;
  line-height: 1.25;
}

.block10_contacts_address {
  color: #5a5650;
  font-size: 21px;
  line-height: 1.25;
  margin-bottom: 38px;
}

.block10_contacts_soc {
  justify-content: flex-start;
  gap: 18px;
  margin-bottom: 38px;
}

.block10_soc {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #5a5650;
  border: 1px solid transparent;
}

.block10_soc img, .block10_soc svg {
    display: block;
    width: 40px;
    height: 40px;
}

.block10_soc svg {
  fill: currentColor;
}

.block10_soc_vk {
  background: #2787f5;
  color: #fff;
}

.block10_soc_sms {
  border-color: #5a5650;
  background: transparent;
  font-size: 14px;
  line-height: 1;
}

.block10_contacts_rekv {
  color: #5a5650;
  font-size: 21px;
  line-height: 1.2;
}
a.block10_soc.tg {
    background: #26a4e2;
}
footer {
  padding: 0 0 25px;
}
a.block10_soc.max {
    background: none;
}
.footer_copy {
  color: #5a5650;
  font-size: 21px;
  line-height: 1.3;
}
a.block10_soc.max img {
    width: 100%;
    height: 100% !important;
}
.block_title {
  margin-bottom: 45px !important;
}
.block10_soc_sms {
    border-width: 3px;
    border-color: #df9987;
    background: transparent;
    font-size: 16px;
    line-height: 1;
    font-weight: 700;
    color: #674941;
}
a.block10_soc.wh {
    background: #29a71a;
}
.footer_copy {
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
}
.footer_copy img {
  display: block;
  width: 50px;
}
/* home */
.block4_about_text * {
  margin-bottom: 5px;
}



/* swiper slider */
button.swiper-button-next,
button.swiper-button-prev {
  border-radius: 50rem;
  max-width: 42px;
  max-height: 42px;
  min-width: 42px;
  min-height: 42px;
  box-shadow: 0 0 1px 2px rgb(0 0 0 / 15%);
  transition: all .3s ease-in-out;
  border: none;
}


/* swiper slider */
.edu_item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.edu_item svg {
  width: 14px;
  height: 14px;
  display: block;
  margin-top: 5px;
}



@media (max-width: 1100px) {
.block2_pere2_item {
  width: 100%;
}
.top_home_img {
    width: 375px;
}
.top_home_info {
    width: calc(100% - 375px);
    padding-left: 30px;
}
.top_home_title {
    font-size: 42px;
}
body {
  font-size: 17px;
}
.top_home_text {
  font-size: 18px;
}
.top_home {
    padding: 30px 0 60px;
}
    .block2_cases {
        padding: 0 0 35px;
    }
.block_title {
  font-size: 46px;
}
.block_title, .block4_about_wrapper {
    padding-top: 60px;
}
.block_title {
    margin-bottom: 32px !important;
}
.container {
  padding-left: 20px;
  padding-right: 20px;
}
.block2_pere2 {
    gap: 24px;
}
.block2_pere2_item {
  padding: 28px;
}
.block2_pere2_t {
  font-size: 30px;
  margin-bottom: 16px;
}
.block3_cons_text {
    color: #5a5650;
    font-size: 16px;
    line-height: 1.35;
    margin: -5px 0 32px;
}
.block3_cons_t {
    font-size: 34px;
}
.block3_cons_price {
    font-size: 42px;
    margin-bottom: 0;
}
.block3_cons_item {
  min-height: 280px;
  padding: 28px;
}
.block3_cons {
    padding: 55px 0 45px;
}
.block4_about_img {
    width: 295px;
    height: auto;
    flex: 0 0 295px;
}
    .block4_about .block_title {
        margin-bottom: 28px !important;
    }
  .block4_about_text {
    color: #5a5650;
    font-size: 17px;
    line-height: 1.45;
}
.block5_edu_item {
    font-size: 17px;
    line-height: 1.08;
}
.block5_edu {
    padding: 25px 0 35px;
}
.block6_guar_icon {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;

}
.block6_guar_t {
    font-size: 18px;
    max-width: 100%;
    margin-bottom: 5px;
}
.block6_guar {
    padding: 50px 0 35px;
}
.block7_rules_text {
    color: #5a5650;
    font-size: 17px;
    line-height: 1.25;
    margin-bottom: 20px;
}
.block7_rules_info {
    width: calc(100% - 410px);
    padding-right: 30px;
}
.block7_rules_img {
    width: 410px;
    height: 315px;
    overflow: hidden;
}

.block7_rules {
    padding: 40px 0 50px;
}
.block8_text {
    padding: 35px 0 50px;
}
.block9_reviews_d {
    font-size: 17px;
}
.block9_reviews {
    padding: 35px 0 50px;
}
.footer_copy,
.block10_contacts_address,
.block8_text_content {
    font-size: 17px;
}
.block2_pere2_d {
    max-width: 100%;
}
.block6_guar_list {
    gap: 28px 30px;
}



}


@media (max-width: 800px) {
  .home_block + .home_block .container {
    padding-top: 32px;
  }

  .nav_box {
    width: 68vw;
  }

  .nav_box_inner {
    padding: 120px 70px 45px 92px;
  }

  .top_home {
    padding: 25px 0;
  }

  .top_home_wrapper {
    min-height: 0;
    gap: 25px;
    flex-direction: column;
    align-items: flex-start;
  }

  .top_home_info,
  .top_home_img {
    width: 100%;
  }

  .top_home_info {
    padding-left: 0;
  }

  .top_home_title {
    font-size: 22px;
    margin-bottom: 25px;
  }

  .top_home_text {
    font-size: 18px;
  }

  .top_home_img {
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .block2_cases {
    padding: 38px 0 45px;
  }

  .block_title {
    font-size: 48px;
    margin-bottom: 28px;
  }

  .block2_pere2 {
    gap: 20px;
  }

  .block2_pere2_item {
    width: 100%;
    min-height: 0;
    gap: 20px;
    padding: 28px 24px;
  }

  .block2_pere2_icon {
    width: 62px;
    height: 62px;
    flex-basis: 62px;
  }

  .block2_pere2_t {
    font-size: 32px;
    margin-bottom: 12px;
  }

  .block2_pere2_d {
    font-size: 16px;
  }

  .block3_cons {
    padding: 38px 0 48px;
  }

  .block3_cons_text {
    font-size: 18px;
    margin: -10px 0 26px;
  }

  .block3_cons_item {
    min-height: 360px;
    padding: 32px 28px;
  }

  .block3_cons_t {
    font-size: 34px;
  }

  .block3_cons_price {
    font-size: 48px;
  }

  .block3_cons_btn {
    min-height: 66px;
    font-size: 27px;
  }

  .block4_about {
    padding: 32px 0 50px;
  }

  .block4_about_wrapper {
    gap: 25px;
    flex-direction: column;
  }

  .block4_about_img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    flex-basis: auto;
    max-width: 520px;
  }

  .block4_about_info {
    max-width: 100%;
    padding-top: 0;
  }

  .block4_about_text {
    font-size: 18px;
  }

  .block5_edu {
    padding: 25px 0 42px;
  }

  .block5_edu_list {
    gap: 16px;
  }

  .block5_edu_item {
    width: 100%;
    font-size: 18px;
    line-height: 1.15;
  }

  .block6_guar {
    padding: 25px 0 42px;
  }

  .block6_guar .block_title {
    margin-bottom: 26px;
  }

  .block6_guar_list {
    gap: 22px;
  }

  .block6_guar_item {
    width: 100%;
    gap: 16px;
  }

  .block6_guar_t {
    font-size: 18px;
  }

  .block7_rules {
    padding: 32px 0 52px;
  }

  .block7_rules_wrapper {
    flex-direction: column;
    gap: 26px;
  }

  .block7_rules_info,
  .block7_rules_img {
    width: 100%;
  }

    .block7_rules_info {
        padding: 0;
    }

  .block7_rules_info .block_title {
    max-width: 100%;
    margin-bottom: 20px;
  }

  .block7_rules_text,
  .block7_rules_list {
    font-size: 18px;
    max-width: 100%;
  }

  .block7_rules_img {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .block8_text {
    padding: 30px 0 50px;
  }

  .block8_text_content {
    font-size: 18px;
    line-height: 1.28;
  }

  .block9_reviews {
    padding: 30px 0 50px;
  }

  .block9_reviews_t {
    font-size: 18px;
  }

  .block9_reviews_d {
    font-size: 18px;
    line-height: 1.45;
  }

  .block10_contacts {
    padding: 34px 0 50px;
  }

  .block10_contacts_wrapper {
    flex-direction: column;
    gap: 28px;
    padding-bottom: 45px;
  }

  .block10_contacts_left,
  .block10_contacts_right {
    width: 100%;
  }

.block10_contacts_right {
        padding-top: 0;
        padding-left: 0;
    }

  .block10_contacts_img {
    max-width: 520px;
  }

  .block10_contacts_phones a {
    font-size: 24px;
  }

  .block10_contacts_address,
  .block10_contacts_rekv {
    font-size: 18px;
  }

  .footer_copy {
    font-size: 18px;
  }
.block3_cons_t {
    font-size: 34px;
}
.block3_cons_item {
    min-height: 300px;
}


}

@media (max-width: 770px) {
.home_block {
  scroll-margin-top: 78px;
}

body {
  padding-top: 64px;
}

    .block5_edu_list {
        padding-left: 0;
    }
  .home_block + .home_block .container {
    padding-top: 26px;
  }

  header {
    padding: 10px 0;
  }

  .top_line {
    min-height: 44px;
  }

  .header_callback {
    min-width: 152px;
    min-height: 44px;
    font-size: 16px;
    padding: 10px 18px;
  }

  .menu_icon {
    width: 44px;
    height: 44px;
  }

  .menu_icon svg {
    width: 28px;
    height: 28px;
  }

  .nav_box {
    width: 68vw;
    min-width: 255px;
  }

    .nav_box_inner {
        padding: 65px 34px 40px 30px;
    }

.menu_close {
        left: 25px;
        top: 20px;
        width: 26px;
        height: 26px;
    }

  ul#topmenu li {
    margin-bottom: 34px;
  }

  ul#topmenu li a {
    font-size: 18px;
  }

  .modal_box {
    padding: 40px 28px !important;
  }

  .modal__title {
    font-size: 34px;
  }

  .modal_box form input.wpcf7-form-control.wpcf7-submit {
    width: 100%;
    height: 62px;
    line-height: 62px;
    font-size: 25px;
  }

  .top_home {
    padding: 15px 0 25px;
  }

  .top_home_wrapper {
    gap: 20px;
  }

    .top_home_title {
        font-size: 32px;
        margin-bottom: 22px;
    }

  .top_home_text {
    font-size: 16px;
  }

  .top_home_img {
    aspect-ratio: 4 / 3;
  }

  .block2_cases {
    padding: 32px 0 38px;
  }

  .block_title {
    font-size: 38px;
    line-height: 1.1;
    margin-bottom: 24px;
  }

  .block2_pere2_item {
    display: block;
    padding: 24px 20px;
  }

  .block2_pere2_icon {
    width: 56px;
    height: 56px;
    margin-bottom: 18px;
  }

  .block2_pere2_t {
    font-size: 28px;
  }

    .block2_pere2_d {
        font-size: 16px;
    }

  .block3_cons {
    padding: 32px 0 42px;
  }

  .block3_cons_text {
    font-size: 16px;
    margin: -8px 0 22px;
  }

    .block3_cons_item {
        min-height: 245px;
        padding: 26px 20px;
    }

  .block3_cons_t {
    font-size: 30px;
  }

  .block3_cons_time,
  .block3_cons_d {
    font-size: 16px;
  }

    .block3_cons_price {
        font-size: 35px;
        margin-bottom: 0;
    }

  .block3_cons_btn {
    min-height: 58px;
    font-size: 24px;
  }

  .block4_about {
    padding: 28px 0 42px;
  }

  .block4_about_wrapper {
    gap: 20px;
  }

  .block4_about_img {
    aspect-ratio: 3 / 4;
  }

  .block4_about_info .block_title {
    margin-bottom: 18px;
  }

  .block4_about_text {
    font-size: 16px;
    line-height: 1.5;
  }

  .block5_edu {
    padding: 22px 0 36px;
  }

  .block5_edu .block_title {
    margin-bottom: 20px;
  }

  .block5_edu_item {
    font-size: 16px;
  }

  .block6_guar {
    padding: 22px 0 36px;
  }

  .block6_guar .block_title {
    margin-bottom: 20px;
  }

  .block6_guar_item {
    gap: 14px;
  }

  .block6_guar_icon {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .block6_guar_t {
    font-size: 18px;
    line-height: 1.35;
  }

  .block7_rules {
    padding: 28px 0 42px;
  }

  .block7_rules_wrapper {
    gap: 22px;
  }

  .block7_rules_text,
  .block7_rules_list {
    font-size: 16px;
  }

  .block7_rules_text {
    margin-bottom: 18px;
  }

  .block8_text {
    padding: 26px 0 42px;
  }

  .block8_text .block_title {
    margin-bottom: 18px;
  }

  .block8_text_content {
    font-size: 16px;
  }

  .block8_text_content p,
  .block8_text_content ul,
  .block8_text_content ol {
    margin-bottom: 18px;
  }

  .block9_reviews {
    padding: 26px 0 42px;
  }

  .block9_reviews .block_title {
    margin-bottom: 20px;
  }

  .block9_reviews_t,
  .block9_reviews_d {
    font-size: 16px;
  }

  .block10_contacts {
    padding: 28px 0 42px;
  }

  .block10_contacts_wrapper {
    gap: 24px;
    padding-bottom: 34px;
  }

  .block10_contacts_phones {
    margin-bottom: 26px;
  }

  .block10_contacts_phones a {
    font-size: 21px;
  }

  .block10_contacts_address {
    margin-bottom: 26px;
  }

  .block10_contacts_address,
  .block10_contacts_rekv {
    font-size: 16px;
  }

  .block10_contacts_soc {
    gap: 12px;
    margin-bottom: 26px;
  }

  .block10_soc {
    width: 44px;
    height: 44px;
  }

  footer {
    padding-bottom: 35px;
  }

  .footer_copy {
    font-size: 16px;
  }
.warning_container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
button.warning__apply {
    margin: 0 auto 0 0;
}




}



@media (max-width: 480px) {
    .top_home {
        padding: 15px 0 0;
    }
    .block_title {
        font-size: 32px;
        line-height: 1.1;
        margin-bottom: 24px;
    }
    .block2_pere2_t {
        font-size: 25px;
    }
    .block_title {
        margin-bottom: 26px !important;
    }
.block_title, .block4_about_wrapper {
        padding-top: 45px;
    }

  .block3_cons_t {
        font-size: 24px;
    }
    .block3_cons {
        padding: 32px 0 5px;
    }
    .block4_about {
        padding: 28px 0 0;
    }
    .block5_edu {
        padding: 22px 0 5px;
    }
.block6_guar {
        padding: 22px 0 0px;
    }
    .block7_rules {
        padding: 28px 0 5px;
    }
.block8_text {
        padding: 26px 0 5px;
    }
        .block9_reviews {
        padding: 26px 0 15px;
    }

}