﻿/* Новые исправления */
.block_all .wpb_content_element {
  margin-bottom: 0;
}

body .block_all {
  padding-top: 104px;
  padding-bottom: 104px;
  padding-left: 0;
  padding-right: 0;
  margin-left: 0px;
  margin-right: 0px;
  display: inline-block;
}

.block_all h2 {
  padding-top: 0;
  padding-bottom: 0;
  font-weight: 400;
  font-size: 36px;
  line-height: 44px;
  letter-spacing: -0.005em;
  color: #2a2e3d;
  margin-bottom: 40px;
}

.block_dark h2 {
  color: #ffffff;
}

.block_all h2:not(:first-child) {
  margin-top: 104px;
}

.block_all h3 {
  padding-top: 0;
  padding-bottom: 0;
  font-weight: 400;
  font-size: 20px;
  line-height: 140%;
  color: #2a2e3d;
  margin-bottom: 24px;
}

.block_dark h3 {
  color: #ffffff;
}

.block_all p {
  font-weight: 400;
  font-size: 16px;
  line-height: 26px;
  color: #2a2e3d;
}

.block_all .vc_column_container > .vc_column-inner {
  padding: 0;
}

.block_text_name {
  max-width: 913px;
  padding: 0;
  margin-bottom: 16px;
}

.block_text_name strong {
  font-weight: 400;
  color: #1367fa;
}

.block_text_p {
  max-width: 913px;
  padding: 0;
  margin-bottom: 40px;
}

.block_flex2 {
  margin-left: 0 !important;
  margin-right: 0 !important;
  column-gap: 20px;
  display: flex;
  column-gap: 20px;
  row-gap: 16px;
}

.block_flex2:not(:last-child) {
  margin-bottom: 40px;
}

.block_flex2 .wpb_content_element:not(:last-child) {
  margin-bottom: 16px;
}

.block_flex2::after,
.block_flex2::before {
  display: none !important;
}

/* Список с точками */

.block_list_fix ul {
  overflow: hidden;
  margin-left: 0;
  margin-top: 0;
  margin-bottom: 40px !important;
  max-width: 895px;
}

.block_list_fix ul li {
  max-width: 100%;
  margin-top: 0;
  margin-bottom: 16px;
}

.block_list_fix ul li:last-child {
  margin-bottom: 0;
}

.block_list_fix ul li strong {
  font-weight: 400;
  color: #1367fa;
}

.block_dark {
  background: var(--background-dark, #363f5b);
}

.block_dark p {
  color: #ffffff;
}

.block_dark ul li {
  color: #ffffff;
}

.block_grid2 ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  row-gap: 20px;
  column-gap: 20px;
  margin: 0;
  margin-bottom: 40px !important;
  list-style: none;
}

.block_grid2 ul li {
  padding: 16px 24px 16px 32px !important;
  background: #f7f7f7;
  border-radius: 10px;
  position: relative;
  font-weight: 400;
  font-size: 16px;
  line-height: 26px;
  color: #2a2e3d;
}

.block_grid2 ul li strong {
  font-weight: 400;
  color: #1367fa;
  display: block;
  margin-bottom: 8px !important;
}

.block_grid2 ul li::before {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  left: 16px;
  top: 26px;
  background: #1367fa;
  border-radius: 50%;
}

.block_all .block_listnum2:not(:last-child) {
  margin-bottom: 40px;
}

.block_listnum2 ol {
  margin: 0;
  margin-bottom: 40px;
  list-style: none;
  columns: 2;
  counter-reset: li;
}

.block_listnum3 ol {
  columns: 1;
}

.block_listnum2 ol li {
  padding-left: 37px;
  position: relative;
  font-weight: 400;
  font-size: 16px;
  line-height: 26px;
  color: #2a2e3d;
  page-break-inside: avoid;
  -moz-column-break-inside: avoid;
  -webkit-column-break-inside: avoid;
  break-inside: avoid;
  break-inside: avoid-column;
  max-width: 540px;
}

.block_listnum2 ol li ul {
  margin-top: 16px;
}

.block_listnum2 ol li ul li::before {
  display: none;
}

.block_dark .block_listnum2 ol li {
  color: #fff;
}

.block_listnum2 ol li::before {
  position: absolute;
  left: 0px;
  top: 0px;
  counter-increment: li;
  content: "0" counters(li, ".") " " !important;
  font-weight: 500;
  font-size: 18px;
  line-height: 25px;
  color: #1367fa;
}

.block_listnum2 ol li:nth-child(10):before {
  content: "10" !important;
}

.block_listnum2 ol li:nth-child(11):before {
  content: "11" !important;
}

.block_listnum2 ol li:nth-child(12):before {
  content: "12" !important;
}

.block_listnum2 ol li:not(:last-child) {
  margin-bottom: 16px;
}

.block_listnum3 ol li {
  max-width: 876px;
}

.block_check {
  margin-bottom: 40px !important;
  background: #f7f7f7;
  border-radius: 10px;
  padding: 16px 73px 16px 56px;
  position: relative;
}

.block_check::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 16px;
  background-image: url(../img/icon_check.svg);
  width: 25px;
  height: 25px;
  background-size: cover;
}

.block_attent::before {
  background-image: url(../img/icon_attention.svg);
}

.block_check p {
  font-weight: 400;
  font-size: 16px;
  line-height: 26px;
  color: #2a2e3d;
}

.block_check strong {
  font-weight: 400;
  color: #1367fa;
}

.block_line {
  background: #f7f7f7;
  border-radius: 10px;
  padding: 24px;
  border-left: 4px solid #1367fa;
}

.block_line p {
  color: #2a2e3d;
}

.block_all .vc_row {
  margin-left: 0;
  margin-right: 0;
}

.block_right_image {
  display: flex;
  column-gap: 20px;
  align-items: center;
  justify-content: space-between;
}

.block_right_image img {
  width: 353px;
}

.block_right_image .wpb_content_element:not(:last-child) {
  margin-bottom: 16px;
}

.block_right_image:not(:last-child) {
  margin-bottom: 40px;
}

.block_all .vc_row:after,
.block_all .vc_row:before {
  display: none;
}

.block_all .ul-timeline-001 ul li:last-child::after {
  z-index: 1;
}

.block_grid3 ul {
  grid-template-columns: repeat(3, 1fr);
}

.block_grid4 ul {
  grid-template-columns: repeat(4, 1fr);
}

.block_fixvideo .vc_custom_1665525130320 {
  margin-top: auto !important;
}

/* ////////// */

.head_banner {
  margin-top: 60px !important;
  margin-bottom: 60px !important;
}

.head_banner__image {
  height: 333px;
  display: flex;
}

.head_banner__button {
  white-space: nowrap;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 52px;
}

.head_banner__button a {
  font-weight: 400;
  font-size: 16px;
  line-height: 110%;
  color: #ffffff !important;
  background: #d9315d;
  border-radius: 5px;
  padding: 16px 33px;
}

.fix_mt0 .wpb_video_widget {
  margin-top: 0 !important;
}

.faq_fix .vc_toggle_size_md.vc_toggle_arrow .vc_toggle_icon {
  position: absolute;
  right: 0;
  top: 4px;
}

.faq_fix .vc_toggle_title {
  padding-right: 40px;
}

@media only screen and (max-width: 600px) {
  .head_banner .head_banner__image {
    background-image: url(../../../uploads/2023/05/mobilka-1.jpg) !important;
  }

  .head_banner__image {
    height: 627px;
    height: calc(500px + (627 - 500) * ((100vw - 320px) / (600 - 320)));
  }
}

/* /// */

#pageid-13 .vc_custom_1591684397065 {
  padding-top: 0;
}

.d_flex_hero {
  display: flex;
  flex-direction: row-reverse;
}

.d_flex_hero .vc_column-inner.vc_custom_1592392085233 {
  padding-left: 0 !important;
}

.title_h2 {
  font-size: 36px !important;
  margin-bottom: 40px;
  padding-bottom: 0 !important;
}

body h2 {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.accord_main_fix .entry {
  padding-bottom: 0;
  padding-right: 30px;
}

.flex_top_justify {
  align-items: flex-start;
  justify-content: space-between;
}

.but_more_fix {
  margin-top: 16px;
  margin-bottom: 24px;
  padding-bottom: 0 !important;
}

.block_center_justify_fix {
  border-radius: 8px;
}

/* Стилизация лайков на страницах статей */

.wpulike {
  column-gap: 30px;
  align-items: center;
  padding-top: 0;
  padding-bottom: 0;
  flex-wrap: inherit;
}

html .wpulike .wp_ulike_general_class {
  border: none;
  padding: 0px;
  border-radius: 0px;

  display: flex;
  column-gap: 10px;
  align-items: center;
}

html .wpulike .wp_ulike_btn {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 40px;
  background: var(--gray, #f7f7f7);
}

html .wpulike .wp_ulike_btn:hover {
  background: var(--gray, #f7f7f7);
}

html .wpulike .wp_ulike_btn::after {
  content: "";
  display: block;
  background-size: cover;
  background-repeat: no-repeat;
  width: 24px;
  height: 24px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
}

html .wpulike .wp_ulike_btn_up::after {
  background-image: url(../img/svg/like.svg) !important;
}

html .wpulike .wp_ulike_btn_up.wp_ulike_btn_is_active {
  background: #f7f7f7 !important;
}

html .wpulike .wp_ulike_btn_up.wp_ulike_btn_is_active::after {
  background-image: url(../img/svg/like_active.svg) !important;
  filter: none !important;
}

html .wpulike .wp_ulike_btn_up:hover::after {
  background-image: url(../img/svg/like_active.svg) !important;
  filter: none !important;
}

html .wpulike .wp_ulike_btn_down:hover::after {
  background-image: url(../img/svg/dislike_active.svg) !important;
  filter: none !important;
}

html .wpulike .wp_ulike_btn_down::after {
  background-image: url(../img/svg/dislike.svg) !important;
}

html .wpulike .wp_ulike_btn_down.wp_ulike_btn_is_active {
  background: #f7f7f7 !important;
}

html .wpulike .wp_ulike_btn_down.wp_ulike_btn_is_active::after {
  background-image: url(../img/svg/dislike_active.svg) !important;
  filter: none !important;
}

html .wpulike .count-box {
  padding: 0;
  display: inline-block;
  color: #b5b2b2;
  font-size: 16px;
  line-height: 26px;
}

.wpulike-notification {
  display: none !important;
}

html .wpulike .wpulike_up_vote.wp_ulike_is_liked span {
  color: #1367fa;
}

html .wpulike .wpulike_up_vote:hover span {
  color: #1367fa;
}

.icon_fb {
  background-image: url(../img/svg/fb.svg);
}

.icon_fb:hover {
  background-image: url(../img/svg/fb_active.svg);
}

.icon_vk {
  background-image: url(../img/svg/vk.svg);
}

.icon_vk:hover {
  background-image: url(../img/svg/vk_active.svg);
}

.icon_tg {
  background-image: url(../img/svg/tg.svg);
}

.icon_tg:hover {
  background-image: url(../img/svg/tg_active.svg);
}

/* .footer */

.footer {
  background-color: #363f5b;
  padding-top: 104px;
  padding-bottom: 104px;
}

.footer_top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 20px;
  padding-bottom: 32px;
  border-bottom: 1px solid #4d5570;
}

.footer_text {
  color: var(--gray, #f7f7f7);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
}

.footer__logo {
  display: inline-block;
  width: 100px;
  margin-bottom: 12px;
}

.footer__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer_top__contacts {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  column-gap: 20px;
}

.footer__title {
  font-family: "Noto Sans", sans-serif;
  color: #fff;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px;
  margin-bottom: 20px;
}

.footer__cont_row {
  display: flex;
  column-gap: 8px;
  align-items: center;
}

.footer__cont_row p {
  font-family: "Noto Sans", sans-serif;
  color: #fff;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 26px;
  padding-bottom: 0;
}

.footer__cont_row span {
  color: #fff;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
}

.footer_top__contacts_column a {
  color: #fff;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 26px;
  display: block;
}

.footer__cont_row:not(:last-child) {
  margin-bottom: 4px;
}

.footer_bottom {
  padding-top: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid #4d5570;
}

.footer_bottom__contacts_items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 20px;
  row-gap: 20px;
}

.footer_bottom__name {
  font-family: "Noto Sans", sans-serif;
  color: #fff;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 26px;
  margin-bottom: 2px;
}

.footer_bottom__contacts_item p {
  color: var(--white, #fff);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  margin-bottom: 2px;
  padding-bottom: 0;
}

.footer_bottom__contacts_item a {
  color: var(--gray-dark, #d4d1d1);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
}

.footer_link__items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 20px;
  padding-top: 40px;
}

.footer_link__items .social_block {
  margin-left: 0;
  margin-right: 0;
}

.footer_link__columns {
  display: contents;
}

.footer_link__column-name {
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 26px;
  margin-bottom: 8px;
}

.footer_link__right {
  display: flex;
  column-gap: 40px;
  align-items: flex-start;
  justify-content: flex-end;
  grid-column: 3/5;
}

.footer_link__right a {
  color: var(--gray-dark, #d4d1d1);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
}

@media (max-width: 1440px) {
  .footer {
    padding-top: 88px;
    padding-bottom: 88px;
  }
}

@media (max-width: 1090px) {
  .footer_link__items {
    display: flex;
    justify-content: flex-start;
  }

  .footer_link__columns {
    column-gap: 52px;
  }

  .footer_link__right {
    margin-left: auto;
  }

  .footer_bottom {
    padding-bottom: 32px;
  }

  .footer_link__items {
    padding-top: 32px;
  }
}

@media (max-width: 930px) {
  .footer_link__items {
    flex-direction: column;
    row-gap: 32px;
  }

  .footer_link__right {
    margin-left: 0;
    justify-content: flex-start;
  }

  .footer_link__columns {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    column-gap: 40px;
  }
}

@media (max-width: 768px) {
  .footer_bottom__contacts_items {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 650px) {
  .footer {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .footer_top {
    grid-template-columns: 1fr;
    padding-bottom: 30px;
    row-gap: 20px;
  }

  .footer_bottom__contacts_items {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer_link__items {
    flex-direction: column;
    row-gap: 32px;
    align-items: flex-start;
  }

  .footer_link__right {
    column-gap: 20px;
  }

  .footer {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .footer_link__columns {
    flex-direction: column;
    row-gap: 20px;
  }
}

@media (max-width: 500px) {
  .footer_link__items .social_block {
    flex-wrap: wrap;
    row-gap: 10px;
  }

  .footer_link__right {
    flex-direction: column;
    align-items: flex-start;
    row-gap: 10px;
  }
}

/* Главная */

.section_hero {
  position: relative;
}

.section_hero .container {
  position: relative;
}

.gallery-top {
  width: 100%;
}

.swiper-container {
  width: 100%;
  height: 300px;
}

.gallery-top__slide-inner {
  background-color: var(--gray, #f7f7f7);
}

.gallery-top__container {
  min-height: 525px;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 20px;
  padding-top: 100px;
  box-sizing: border-box;
  position: relative;
}

.gallery-top__slide-title {
  font-size: 46px;
  font-weight: 500;
  line-height: 46px;
  margin-bottom: 24px;
}

.gallery-top__slide-text {
  margin-bottom: 36px;
}

.gallery-top__slide-button {
  width: fit-content;
  font-weight: 500;
}

.gallery-top__slide-image {
  position: absolute;
  right: 60px;
  bottom: -34px;
  width: 524px;
  height: 524px;
  box-sizing: border-box;
}

.gallery-top__slide-image-human {
  width: 440px;
  height: 432px;
  position: relative;
  right: 12px;
}

.gallery-top .swiper-slide:nth-child(2) .gallery-top__slide-image-human {
  position: relative;
  right: 40px;
}

.gallery-top__slide-image-human img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-top__slide-image-inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}

.gallery-top__slide-image-circle-big {
  position: absolute;
  width: 100%;
  height: 100%;
  animation: loading 200s linear infinite;
}

.gallery-top__slide-image-circle-small-wrapper {
  width: 100%;
  height: 100%;
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
}

.gallery-top__slide-image-circle-small {
  width: 340px;
  height: 340px;
  animation: loading-rotate 200s linear infinite;
}

.gallery-top__slide-image-circle-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes loading {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes loading-rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(-360deg);
  }
}

.section_hero__pagin {
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: -123px;
}

.gallery-thumbs {
  box-sizing: border-box;
}

.gallery-thumbs {
  border-radius: 10px;
  background: #fff;
  box-shadow: 0px 2px 11px 0px rgba(0, 0, 0, 0.1);
}

.gallery-thumbs__slide-inner {
  min-height: 184px;
  padding: 32px;
  box-sizing: border-box;
  position: relative;
  cursor: default;
}

.gallery-thumbs__slide-name {
  font-family: "Noto Sans", sans-serif;
  color: var(--black, #2a324a);
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px;
  display: inline-block;
  margin-bottom: 16px;
}

.gallery-thumbs__slide-progress {
  position: absolute;
  bottom: 32px;
  left: 32px;
  right: 32px;
  height: 3px;
}

.gallery-thumbs__slide-progress-line {
  background-color: #f2f2f2;
  width: 100%;
  height: 100%;
  position: relative;
}

.gallery-thumbs__slide-progress-line-active {
  --progress: 0;
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: var(--progress);
  background-color: var(--red, #1367fa);
}

.gallery-thumbs .swiper-slide {
  cursor: pointer;
}

.gallery-thumbs .swiper-slide.swiper-slide-thumb-active {
  border-radius: 10px;
  background: #fff;
  box-shadow: 0px 2px 11px 0px rgba(0, 0, 0, 0.1);
}

.gallery-thumbs .gallery-thumbs__slide-progress {
  display: none;
}

.gallery-thumbs .swiper-slide-thumb-active .gallery-thumbs__slide-progress {
  display: block;
}

.autoplay-progress {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 10;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: var(--swiper-theme-color);
}

.autoplay-progress svg {
  --progress: 0;
  z-index: 10;
  width: 100%;
  height: 100%;
  stroke-width: 4px;
  stroke: var(--swiper-theme-color);
  fill: none;
  stroke-dashoffset: calc(125.6 * (1 - var(--progress)));
  stroke-dasharray: 125.6;
  transform: rotate(-90deg);
}

/* // */

.main_hero {
  margin-top: 245px;
}

.main_hero__container {
  display: grid;
  grid-template-columns: 1fr 3fr;
  column-gap: 20px;
  align-items: flex-start;
}

.main_hero__image {
  flex-shrink: 0;
  padding-right: 48px;
  margin-top: 10px;
}

.main_hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main_hero__text {
  margin-bottom: 32px;
}

.main_hero__button {
  padding: 18px 40px;
  font-weight: 500;
  line-height: 130%;
}

.accounting_services__items {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  column-gap: 16px;
}

.accounting_services__item_image {
  border-radius: 8px;
  background: var(--gray, #f7f7f7);
  padding: 10px;
  width: min-content;
  width: 100%;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  margin-bottom: 8px;
}

.accounting_services__item_image img {
  width: 100%;
  height: 100%;
  flex-shrink: 0;
}

.accounting_services__item_name {
  text-align: center;
  font-family: "Noto Sans Display", sans-serif;
  color: var(--black, #2a324a);
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px;
}

.accounting_services__text {
  color: var(--black, #2a324a);
  margin-top: 24px;
}

.customer_choice {
  background-color: #f7f7f7;
}

.customer_choice__items {
display: grid;
  /* Используем minmax, чтобы блоки растягивались, но не становились слишком узкими */
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  column-gap: 20px;
  row-gap: 20px;
  width: 100%;
}

.customer_choice__item {
  display: flex; /* Картинка и текст в ряд */
  align-items: stretch;
  overflow: hidden;
  border-radius: 10px;
  background: var(--white, #fff);
  text-decoration: none;
  transition: box-shadow 0.3s ease;
  height: 100px; /* Фиксируем высоту для всех блоков, чтобы они были одинаковыми */
}

.customer_choice__item_image {
  overflow: hidden;
  width: 127px;
  height: 100%;
  flex-shrink: 0;
}

.customer_choice__item_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.customer_choice__item_content {
  font-family: "Noto Sans", sans-serif;
  padding: 24px 20px;
  color: var(--black, #2a324a);
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px;
  overflow: hidden;
  background: var(--white, #fff);
  height: 100%;
  box-sizing: border-box;
}

.customer_choice__item:hover {
  cursor: pointer;
  box-shadow: 0px 2px 11px 0px rgba(0, 0, 0, 0.1);
}

.activity_insurance__text {
  margin-bottom: 24px;
}

.activity_insurance__container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  column-gap: 20px;
}

.activity_insurance__content_item {
  border-radius: 10px;
  background: #f7f7f7;
  padding: 24px;
  display: flex;
  flex-direction: column;
  row-gap: 16px;
}

.charge .activity_insurance__content_item {
  background: none;
  padding: 0;
  flex-direction: row;
  align-items: center;
  column-gap: 16px;
}

.activity_insurance__content_item-num {
  font-family: "Noto Sans", sans-serif;
  color: var(--red, #1367fa);
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: 100%;
  letter-spacing: -0.72px;
}

.charge .activity_insurance__content_item-num {
  border-radius: 8px;
  background: var(--gray, #f7f7f7);
  padding: 18px;
}

.activity_insurance__content_item:not(:last-child) {
  margin-bottom: 20px;
}

.charge .activity_insurance__content_item:not(:last-child) {
  margin-bottom: 16px;
}

.activity_insurance__image {
  width: 100%;
  height: 100%;

  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 10px;
  overflow: hidden;
}

.activity_insurance__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 576px) {
  .charge .activity_insurance__content_item {
    flex-direction: column;
    align-items: flex-start;
    row-gap: 8px;
  }
}

.business_opportunities__text {
  margin-bottom: 24px;
}

.business_opportunities__items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 20px;
}

.business_opportunities__item {
  border-radius: 10px;
  background: #f7f7f7;
  padding: 24px;
}

.business_opportunities__item_image {
  border-radius: 5px;
  margin-bottom: 24px;
  width: 100%;
  height: 230px;
  overflow: hidden;
}

.business_opportunities__item_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.business_opportunities__item_name {
  font-family: "Noto Sans", sans-serif;
  color: var(--red, #1367fa);
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px;
  margin-bottom: 8px;
}

.stock__items {
  margin-left: -5px;
  padding-left: 5px;
  margin-right: -5px;
  padding-right: 5px;
}

.stock__item {
  border-radius: 10px;
  overflow: hidden;
}

.stock__items .swiper-slide {
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.3s ease-in-out;
}

.stock__items .swiper-slide:hover {
  cursor: pointer;
  box-shadow: 0px 2px 11px 0px rgba(0, 0, 0, 0.1);
}

.stock__item_image {
  width: 100%;
  height: 200px;
  position: relative;
}

.stock__item_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stock__item_tag {
  position: absolute;
  right: 12px;
  top: 12px;
  border-radius: 4px;
  background: var(--red, #1367fa);
  color: var(--white, #fff);
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: 140%;
  padding: 2px 8px;
}

.stock__item_content {
  padding: 20px 24px 24px 24px;
  background-color: #fff;
}

.stock__item_name {
  font-family: "Noto Sans", sans-serif;
  color: var(--red, #1367fa);
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px;
  margin-bottom: 8px;
}

.gallery-top__but_show {
  display: none;
}

@media (max-width: 1200px) {
  .gallery-top__container {
    grid-template-columns: 7fr 6fr;
    padding-top: 80px;
    min-height: 476px;
  }

  .gallery-top__slide-title {
    font-size: 42px;
  }

  .gallery-thumbs__slide-inner {
    padding: 30px 20px;
    min-height: 192px;
  }

  .gallery-thumbs__slide-name {
    margin-bottom: 8px;
  }

  .gallery-thumbs__slide-progress {
    bottom: 30px;
  }

  .gallery-top__slide-image {
    width: 418px;
    height: 418px;
    bottom: 0px;
    right: 36px;
  }

  .gallery-top__slide-image-human {
    right: 10px;
    width: 350px;
    height: 345px;
  }

  .gallery-top__slide-image-circle-small {
    width: 270px;
    height: 270px;
  }

  .section_hero__pagin {
    bottom: -117px;
  }

  .main_hero__title {
    font-size: 32px;
    line-height: 40px;
    margin-bottom: 30px;
  }

  .main_hero__text {
    margin-bottom: 32px;
  }

  .main_hero {
    margin-top: 225px;
  }

  .customer_choice__item_image {
    width: 120px;
  }

  .customer_choice__item_content {
    padding: 12px 16px;
    display: flex;
    align-items: center;
    width: 100%;
  }

  .business_opportunities__item_image {
    height: 194px;
    margin-bottom: 16px;
  }

  .business_opportunities__item {
    padding: 20px;
  }
}

@media (max-width: 930px) {
  .gallery-top__container {
    min-height: 462px;
    padding-top: 43px;
  }

  .gallery-top__slide-title {
    font-size: 38px;
    line-height: 44px;
    margin-bottom: 20px;
  }

  .gallery-top__slide-text {
    margin-bottom: 32px;
  }

  .gallery-top__slide-image {
    width: 384px;
    height: 384px;
    right: 30px;
    bottom: 0px;
  }

  .gallery-top__slide-image-circle-small {
    width: 248px;
    height: 248px;
  }

  .gallery-top__slide-image-human {
    width: 322px;
    height: 316px;
    right: 18px;
  }

  .gallery-thumbs__slide-inner {
    padding: 24px 20px;
    min-height: 168px;
  }

  .gallery-thumbs__slide-name {
    margin-bottom: 8px;
  }

  .gallery-thumbs__slide-progress {
    bottom: 24px;
    left: 20px;
    right: 20px;
  }

  .section_hero__pagin {
    bottom: -100px;
  }

  .gallery-thumbs .swiper-slide {
    height: auto;
  }

  .gallery-thumbs__slide-inner {
    height: 100%;
  }

  .accounting_services__items {
    grid-template-columns: repeat(5, 1fr);
    row-gap: 20px;
  }

  .customer_choice__items {
    grid-template-columns: repeat(2, 1fr);
  }

  .activity_insurance__content_item-num {
    font-size: 20px;
  }

  .business_opportunities__item_image {
    height: 130px;
  }
}

@media (max-width: 768px) {
  .gallery-top__container {
    grid-template-columns: 1fr;
    padding-top: 32px;
    padding-bottom: 32px;
    min-height: auto;
    row-gap: 32px;
  }

  .gallery-top__slide-image {
    position: static;
  }

  .gallery-top__slide-title {
    font-size: 34px;
    line-height: 40px;
    margin-bottom: 20px;
  }

  .section_hero__pagin {
    position: static;
    margin-top: -100px;
  }

  .gallery-thumbs__slide-inner {
    min-height: 124px;
  }

  .main_hero {
    margin-top: 40px;
  }

  .main_hero__container {
    grid-template-columns: 1fr;
    row-gap: 20px;
  }

  .main_hero__image {
    width: 162px;
    height: 162px;
    padding-right: 0;
  }

  .main_hero__title {
    font-size: 30px;
    line-height: 38px;
    margin-bottom: 128px;
  }

  .main_hero__text {
    margin-bottom: 30px;
  }

  .gallery-top__slide-button {
    display: none;
  }

  .gallery-top__but_show {
    display: flex;
  }
}

@media (max-width: 650px) {
  .accounting_services__items {
    grid-template-columns: repeat(4, 1fr);
  }

  .business_opportunities__items {
    grid-template-columns: repeat(1, 1fr);
    row-gap: 16px;
  }

  .business_opportunities__item_image {
    height: 220px;
  }
}

@media (max-width: 576px) {
  .main_hero__image {
    display: none;
  }

  .customer_choice__items {
    grid-template-columns: repeat(1, 1fr);
    row-gap: 16px;
  }

  .activity_insurance__container {
    grid-template-columns: 1fr;
    row-gap: 16px;
  }

  .activity_insurance__content_item:not(:last-child) {
    margin-bottom: 16px;
  }

  .activity_insurance__content_item {
    row-gap: 8px;
  }

  .activity_insurance__image {
    height: 420px;
  }
}

@media (max-width: 500px) {
  .gallery-top__slide-image {
    width: 345px;
    height: 345px;
  }

  .gallery-top__slide-image-circle-small {
    width: 222px;
    height: 222px;
  }

  .gallery-top__slide-image-human {
    width: 290px;
    height: 284px;
    right: 12px;
  }

  .gallery-top__container {
    row-gap: 0px;
  }

  .main_hero__container {
    row-gap: 60px;
  }

  .gallery-top__slide-button {
    width: 100%;
    box-sizing: border-box;
  }

  .main_hero__button {
    width: 100%;
    box-sizing: border-box;
  }

  .accounting_services__items {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 20px;
  }

  .gallery-thumbs__slide-inner {
    min-height: auto;
  }
}

@media (max-width: 375px) {
  .gallery-top__slide-image {
    width: 100%;
    height: auto;
  }

  .gallery-top__slide-image-circle-small {
    width: 60%;
    height: 60%;
  }

  .gallery-top__slide-image-human {
    width: 85%;
  }
}

.header .top-menu .menu-item a {
  color: var(--black, #2a324a);
}

.header .header-top-wrap {
  background-color: var(--gray, #f7f7f7);
}

.header .topnav {
  background-color: #fff;
}

.page-template-main-page .header .header-top-wrap {
  background-color: #fff;
}

.page-template-main-page .header .topnav {
  background-color: var(--gray, #f7f7f7);
}

.header .top-menu .menu-item-has-children > a:after,
.header .top-menu .menu-item-has-children > span:after,
.header .top-menu .page_item_has_children > a:after,
.header .top-menu .page_item_has_children > span:after {
  background: url(../../../uploads/2023/09/caretright.png);
}

.header .top-menu .menu-item-has-children.current-menu-item:hover > span:after {
  background: url(../../../uploads/2023/09/caretright.svg) !important;
}

.header .top-menu li a:hover {
  color: var(--black, #2a324a);
}

.header .sub-menu .menu-item:hover a {
  color: var(--red, #1367fa);
}

.header .top-menu .sub-menu {
  margin-top: -12px;
  max-height: calc(100vh - 214px);
  overflow-y: auto;
}

.header .top-menu .sub-menu::-webkit-scrollbar {
  width: 4px;
  background: var(--gray, #F7F7F7);
  border-radius: 2px
}

.header .top-menu .sub-menu::-webkit-scrollbar-thumb {
  width: 4px;
  height: 76px;
  background-color: #D4D1D1;
  border-radius: 2px;
  box-shadow: 0 1px 2px 0 rgba(21, 21, 21, 0.25)
}

.header .top-menu .sub-menu:hover::-webkit-scrollbar-thumb {
  background-color: #982D4E;
}

.header .menu-item > a,
.header .menu-item > span {
  font-family: "Noto Sans Display", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
}

.header .top-menu > .menu-item:hover > a:after {
  background: url(../../../uploads/2023/09/caretright.svg) !important;
}

.header .top-menu > .menu-item {
  padding-top: 24px;
  padding-bottom: 24px;
}

@media (max-width: 1151px) {
  .header .top-menu > .menu-item {
    padding-top: 0;
    padding-bottom: 0;
  }

  .header .top-menu .sub-menu {
    margin-top: 0px;
    box-shadow: none;
    padding-top: 24px;
    padding-bottom: 0;
  }
}

/* Уничтожение слайдеров с классом .swiper__price */

.swiper__price .swiper-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  row-gap: 20px;
  column-gap: 20px;
}

@media (max-width: 930px) {
  .swiper__price .swiper-wrapper {
    display: flex;
    grid-template-columns: repeat(3, 1fr);
    row-gap: 0px;
    column-gap: 0px;
  }
}

.swiper__price .swiper-button-row {
  display: none;
}

.ceny_page__button {
  margin-top: 40px;
  width: fit-content;
}

.swiper__price2 .price_column__head {
  min-height: 220px;
}

/* //////////////////////// */

.wp-video-margin .wpb_video_widget {
  margin: 0 !important;
}

/* Header - поиск */

.search_section {
  max-width: 1100px;
  margin: 0 auto;
}

.search__head {
  margin-bottom: 24px;
}

.search__count {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.search__count_name {
  color: var(--black, #2a324a);
  font-family: "Noto Sans", sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
}

.search__count_result {
  color: var(--Gray_12, #7d7d7d);
  font-family: "PT Sans", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
}

.button_search {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background-image: url(../../../uploads/2023/11/frame-25631.svg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  cursor: pointer;
  transition: background-image 0.2s ease-in-out;
}

.page-template-main-page .button_search {
  background-image: url(../../../uploads/2023/11/viber_icon_130796-1.svg);
}

.button_search:hover {
  background-image: url(../../../uploads/2023/11/search-active.svg);
}

.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 11111;
  display: none;
  padding-right: 16px;
}

.search-overlay.active {
  display: block;
}

.button_search__cover {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  z-index: 11112;
}

.button_search__cover.active {
  display: block;
}

.searchform {
  width: 100%;
  position: relative;
}

input.s {
  width: 100%;
  box-sizing: border-box;
  padding: 16px 16px 16px 48px;
  border-radius: 5px;
  border: 1px solid #ededed;
  background-color: var(--white, #fff);
  outline: none;
}

input.s:-webkit-autofill {
  -webkit-box-shadow: inset 0 0 0 50px #fff;
  /* Цвет фона */
  -webkit-text-fill-color: #7d7d7d;
  /* цвет текста */
  color: var(--Gray_12, #7d7d7d);
}

input.search_submit {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 16px;
  width: 24px;
  height: 24px;
  background-image: url(../../../uploads/2023/11/magnifyingglass.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 0;
  background-color: inherit;
}

button.search_close {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 16px;
  width: 24px;
  height: 24px;
  background-image: url(../../../uploads/2023/11/search_close.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 0;
  background-color: inherit;
  display: none;
}

button.search_close.active {
  display: block;
}

/* Меню */

.top-menu li > a,
.top-menu li > span {
  padding-left: 15px;
  padding-right: 44px;
}

@media (max-width: 1151px) {
  .header_nav .top-menu {
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
  }

  .header .top-menu > .menu-item {
    width: 100%;
    box-sizing: border-box;
  }

  .sub-menu .menu-item a,
  .sub-menu .menu-item span {
    padding-top: 0px;
    padding-bottom: 0px;
    border-top: none;
  }

  .top-menu li > a,
  .top-menu li > span {
    padding-left: 0;
    padding-right: 0;
  }

  .open-submenu {
    background-image: url(../../../uploads/2023/11/plus.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    width: 24px;
    height: 24px;

    position: absolute !important;
    right: 0px;
    top: 0px;
  }

  .top-menu {
    position: static;
  }

  .header_nav {
    height: auto;
    overflow-y: auto;
    height: calc(100vh - 144px);
  }
}

@media (max-width: 500px) {
  #logo {
    height: auto;
    width: 100%;
  }

  .social_block {
    column-gap: 10px;
  }
}

@media (max-width: 375px) {
  .header__social_items {
    position: static;
  }

  .button_search__cover {
    left: 15px;
    right: 15px;
    width: auto;
  }
}

@media (max-width: 374px) {
  .button_search__mobile {
    display: none;
  }

  #logo {
    height: 36px;
  }
}


/* Блок с быстрыми ссылками */

.quickLinks {
  margin: 80px 0 0;
  transition: all 0.2s ease;
  height: 64px;
}

.quickLinks__svg {
  display: none;
}

.quickLinks.fixed .quickLinks__content {
  width: 100%;
  top: 70px;
  left: 0;
  position: fixed;
  z-index: 100;
  background: #F7F7F7;
  transition: all 0.2s ease;
}

@media (max-width: 768px) {
  .quickLinks.fixed .quickLinks__content {
    top: 100px; /* Уменьшил отступ сверху для мобильной шапки */
    padding: 10px 15px; /* Добавил внутренние отступы для удобства */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Добавил легкую тень для отделения от контента */
    overflow-x: auto; /* Если ссылок много, появится горизонтальный скролл */
    display: flex;
    white-space: nowrap;
  }
}

.quickLinks__items {
  background: #F7F7F7;
  border-radius: 10px;
  padding: 20px 60px;
  display: flex;
  justify-content: space-between;
  column-gap: 24px;
  overflow: scroll;
  max-width: 1100px;
  margin: 0 auto;
}

.quickLinks__content {
  position: relative;
}

.quickLinks__items::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.quickLinks__link {
  display: flex;
  align-items: center;
  column-gap: 8px;
  flex-shrink: 0;
}

.quickLinks__item {
  flex-shrink: 0;
}

.quickLinks__link img {
  width: 24px;
  height: 24px;
}

.quickLinks__link span {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

@media (max-width: 1220px) {
  .quickLinks__items {
    padding: 20px 40px;
  }

  .quickLinks {
    margin-top: 64px;
  }

  .quickLinks__items span {
    font-size: 14px;
    line-height: 22px;
  }
}

@media (max-width: 1024px) {
  .quickLinks {
    margin-top: 48px;
  }

  .quickLinks__items {
    padding: 20px;
  }

  .quickLinks__items {
    max-width: 964px;
  }
}

@media (max-width: 576px) {
  .quickLinks {
    background: #F7F7F7;
    margin-top: 40px;
  }

  .quickLinks .container {
    padding: 0;
  }

  .quickLinks__svg {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    width: 57px;
    height: 64px;
  }
}


/*  Новая первая секция страницы услуг */
section {
  overflow: hidden;
}

section.section_hero {
  overflow: inherit;
}

.service-breadcrumbs .head-bread {
  margin: 20px 0 0 0;
}

.service-breadcrumbs .rank-math-breadcrumb {
  margin: 0;
}

.service-hero {
  margin-top: 40px;
}

.service-hero__container {
  display: flex;
  align-items: stretch;
  column-gap: 40px;
}

.service-hero__btn {
  flex-shrink: 0;
}

.service-hero__img {
  border-radius: 10px;
  width: 334px;
  flex-shrink: 0;
}

.service-hero__img img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: left;
  border-radius: 10px;
}

.service-hero__title {
  margin-bottom: 24px;
}

.service-hero__txt {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  margin-bottom: 32px;
  color: #2A324A;
  padding: 0;
}

.service-hero__items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 20px;
  margin-bottom: 40px;
}

.service-hero__item {
  background-color: #F7F7F7;
  padding: 20px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  row-gap: 8px;
}

.service-hero__item-icon {
  width: 24px;
  height: 24px;
}

.service-hero__item-txt {
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  color: #2A324A;
}

.service-hero__info {
  display: flex;
  align-items: center;
  column-gap: 32px;
}

.service-hero__price {
  font-size: 28px;
  font-weight: 500;
  line-height: 39.2px;
  letter-spacing: -0.03em;
  color: #2A324A;
}

@media (max-width: 1220px) {
  .service-breadcrumbs .head-bread {
    margin: 36px 0 0;
  }

  .service-hero__container {
    column-gap: 20px;
  }

  .service-hero__img {
    width: 308px;
  }

  .service-hero__title {
    font-size: 42px;
    font-weight: 500;
    line-height: 46px;
  }

  .service-hero__items {
    grid-gap: 12px;
    margin-bottom: 36px;
  }
}

@media (max-width: 930px) {
  .service-breadcrumbs .head-bread {
    margin: 32px 0 0;
  }

  .service-hero {
    margin-top: 36px;
  }

  .service-hero__img {
    width: 162px;
  }

  .service-hero__title {
    font-size: 38px;
    font-weight: 500;
    line-height: 44px;
  }

  .service-hero__txt {
    margin-bottom: 30px;
  }

  .service-hero__items {
    grid-gap: 20px;
  }

  .service-hero__items {
    margin-bottom: 32px;
  }
}

@media (max-width: 767px) {
  .vc_custom_1592910406778 .wpb_content_element {
    margin-bottom: 90px;
  }

  .service-breadcrumbs .head-bread {
    margin: 20px 0 0;
  }

  .service-hero {
    margin-top: 32px;
  }

  .service-hero__container {
    flex-direction: column;
    row-gap: 20px;
  }

  .service-hero__img {
    width: 100%;
    height: 243px;
  }

  .service-hero__title {
    font-size: 34px;
    font-weight: 500;
    line-height: 40px;
  }

  .service-hero__items {
    grid-template-columns: repeat(1, 1fr);
    grid-auto-rows: 1fr;
  }

  .service-hero__info {
    flex-direction: column-reverse;
    row-gap: 24px;
    align-items: flex-start;
  }

  .service-hero__btn {
    width: 100%;
  }

}