:root {
  --shadow-box: #00000010;
  --base-color-green: #5a9aae;
  --base-color-lite-gray: #f6f7f8;
  --base-color-dark: #454c52;
  --base-color-background: #f2f6fb;
  --base-color-hover: #5a9aae;
  --base-font-family: 'PT Sans';
  --base-font-weight: 400;
  --text-article-color: #454c52;
  --block-border-radius: 15px;
  --ukcr-header-content-gap: clamp(24px, 2.2vw, 36px);
  --ukcr-mobile-header-height: 70px;
  --ukcr-mobile-header-content-gap: 22px;
}

body {
  font-family: var(--base-font-family);
  background-color: var(--base-color-background);
}

body > header {
  margin-bottom: var(--ukcr-header-content-gap);
}

@media (min-width: 991px) {
  body.master > header {
    margin-bottom: 0;
  }
}

.ukcr-flow-card__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 88px;
  padding: 18px 0;
  border: 0;
  background: transparent;
  color: var(--base-color-dark);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  gap: 16px;
}

.ukcr-flow-card__toggle:hover,
.ukcr-flow-card__toggle:focus {
  color: var(--base-color-dark);
  text-decoration: none;
}

.ukcr-flow-card__toggle:focus-visible {
  outline: 2px solid var(--base-color-green);
  outline-offset: 4px;
  border-radius: var(--block-border-radius);
}

.ukcr-flow-card__media {
  display: flex;
  align-items: center;
  min-width: 0;
}

.ukcr-flow-card__icon {
  width: 50px;
  height: 50px;
  object-fit: contain;
  flex: 0 0 50px;
}

.ukcr-flow-card__title {
  margin-left: .5rem;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 700;
}

.ukcr-flow-card__toggle .chevron {
  flex: 0 0 auto;
  margin-left: 12px;
}

.ukcr-flow-card__photo {
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
}

.fs-20 {
  font-size: 20px;
}

p {
    text-align: left;
}

.mobile {
  display: none;
}

.width_20 {
  width: 20%;
}

.margin-left-31 {
  margin-left: 0;
}

.word-color {
  color: var(--base-color-green);
}

.pdf-color {
  color: #da7d40;
  font-size: 30px;
}

.ukcr-orange-accent {
  color: #da7d40 !important;
}

.width_80 {
  width: 80%;
}

.min_width_100_px {
  min-width: 100px;
}

.news-detail .text-article {
  line-height: 30px;
  text-align: justify;
}

.news-detail .text-article p {
  margin: 0 0 20px;
}

.news-detail .times {
  color: var(--base-color-green);
}

.text-article {
  text-align: justify;
}

.cc_red {
  color: #ee1d24;
}

.cc_company {
  color: #004a80;
}

.owl-carousel-header h2 {
  padding: 20px 0 13px 0;
}

.section-name {
  font-family: 'PT Sans';
}

.color_0c5674_hover_ea7700 {
  color: #454c52;
}

.show_w_926 {
  display: none;
}

.fa-color-orange {
  color: #ea7700;
}

.social_networks {
  height: 57px;
}

.social_networks a {
  color: var(--base-color-green);
}

.social_networks a:hover {
  color: #ea7700;
}

.brand_color {
  color: #ef8f0e;
}

.border-3-base {
    border: 3px solid var(--base-color-green);
}

.fal {
  font-weight: 300;
}

.slider .slide .elements .el {
    position: relative;
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    will-change: transform;
    transform: translate3d(var(--translate-x, 0px), 0px, 0px);
    -webkit-transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    -moz-transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    -ms-transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    -o-transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    -webkit-transform: translate3d(var(--translate-x, 0px), 0px, 0px);
    -moz-transform: translate3d(var(--translate-x, 0px), 0px, 0px);
    -ms-transform: translate3d(var(--translate-x, 0px), 0px, 0px);
    -o-transform: translate3d(var(--translate-x, 0px), 0px, 0px);
}

.slider-items-blog {
    overflow-x: auto; /* Включаем горизонтальную прокрутку */
    touch-action: pan-y; /* Разрешаем вертикальную прокрутку страницы */
    min-height: 468px;
}

.slider-items {
    overflow-x: auto; /* Включаем горизонтальную прокрутку */
    touch-action: pan-y; /* Разрешаем вертикальную прокрутку страницы */
    min-height: 468px;
}

[class^="icon-"]:before,
[class*=" icon-"]:before {
  font-family: FontAwesome;
  font-weight: 400;
  font-style: normal;
  display: inline-block;
  text-decoration: inherit;
}

/* Базовые стили */
.footer-content {
    display: flex;
    justify-content: space-between; /* Распределяем элементы по ширине */
    align-items: center; /* Выравниваем по центру по вертикали */
    font-size: 12px;
    padding: 10px 0;
}

.footer-link {
    text-decoration: none;
    color: #333;
    font-weight: normal;
}

.footer-link:hover {
    text-decoration: underline;
}

.mobile-hide {
    display: inline-block; /* Показываем на десктопе */
}

.title-mobile-h80 {
    min-height: 100px;
}

.h-auto-520-450 {
    min-height: 100%;
}

.img-w-80 img {
    max-width: 80%;
}

@media (max-width: 991px) {

    .h-auto-520-450 {
        min-height: 520px;
    }

    .new-container-white {
        padding: 15px;
    }

    .new-container-gray {
        padding: 0 15px;
        margin-bottom: 60px;
    }

    .title-mobile-info {
        min-height: 120px;
    }

    .mob-img-max-width-80 img {
        max-width: 80%;
    }

    h1 {
        padding: 20px 0 0 0;
    }

    .social_networks {
        width: 100%;
        justify-content: space-around;
      }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .footer-link {
        width: 100%;
        text-align: center;
    }

    .top_education_block .block_2 .small-text {
        text-align: center;
    }

    .top_education_block .block_2 .header {
        padding: 0px 0px 0px 25%;
    }
}

@media (max-width: 991.98px) {
  .no_926 {
    display: none !important;
  }

  h1, .h1-base,
  h2, .h2-base{
      margin-bottom: 0;
  }

  .width_916_100 {
    width: 100% !important;
    max-width: 100%;
    flex: 0 0 100%;
  }

  .show_w_926 {
    display: block;
  }

  .category .row .element {
    width: 100%;
    margin: 10px 15px;
  }

  .about_index .ukcr_img {
    width: 100%;
  }

  .about_index .row-mobile {
    display: block;
  }

  .section-title-wr {
    float: left;
  }

  .mp .section-title {
    font-weight: 400;
    border-bottom: 0;
  }

  .section-title-wr .aux-nav {
    display: block;
    border-bottom: 0;
    text-align: left;
    margin: 10px 0 0;
    float: left;
    width: 100%;
  }

  .owl-carousel {
    float: left;
  }

  .history {
    float: left;
  }

  body > header {
    margin-top: calc(var(--ukcr-mobile-header-height) + var(--ukcr-mobile-header-content-gap));
    margin-bottom: 0;
  }

  #footer .contact_blocks .__phone {
    font-size: 16px;
  }

  #footer .contact_blocks .__adress {
    font-size: 16px;
  }

  #footer .contact_blocks .__email {
    font-size: 16px;
  }

  .subscribe {
    float: left;
    width: 100%;
    margin-bottom: 1.5rem;
  }

  #owl-carousel-reviews .owl-nav {
    position: absolute;
    top: -79px;
    width: 100%;
  }

  #owl-carousel-reviews .owl-nav button[type="button"] {
    height: 45px;
    width: 40px;
  }

  #owl-carousel-reviews .owl-nav .owl-prev {
    left: 0px;
    position: absolute;
  }

  #owl-carousel-reviews .owl-nav .owl-next {
    position: absolute;
    right: 0px;
  }

  .owl-carousel-header {
    text-align: center;
    padding: 0px 60px;
  }

  .row {
    width: auto;
  }
}

@media (max-width: 767.98px) {

  .faq .width_20,
  .faq .width_80 {
    width: 100%;
  }

  .faq .d-flex {
    display: block !important;
    text-align: center;
  }

  .subscribe .row {
    display: block;
    text-align: center;
  }

  .subscribe .row > div {
    width: 100%;
    max-width: 100%;
  }

  .subscribe form button {
    margin: 20px 0;
    width: 100%;
  }

  #footer .row {
    display: block;
  }

  #footer .row .col {
    float: left;
    width: 100%;
    margin-bottom: 20px;
    text-align: center !important;
  }

  #footer .row .col-10,
  #footer .row .col-6 {
    flex: 0 0 100%;
    max-width: 100%;
    text-align: center !important;
    float: left;
  }

  #footer .contact_blocks .__title {
    text-align: center !important;
    border-bottom: 2px solid #ea7700;
  }

  #footer .contact_blocks .__title:after {
    content: none;
  }

  #footer .container {
    float: left;
    width: 100%;
  }

  #footer .op_show {
    max-width: 250px;
    float: none !important;
  }

  #footer .pay_icons {
    float: left;
    width: 100%;
    text-align: center;
    margin-top: 20px;
  }

  #footer .pay_icons img {
    float: none;
  }

  #footer .footer-dop-icon {
    float: left;
    width: auto;
  }

  #footer .row .col.footer-dop-text {
    float: left;
    width: auto;
  }

  #footer .row .w-100 {
    float: left;
    width: 100%;
  }
  .row {
    width: auto;
  }
}

@media (max-width: 575.98px) {
    .h-auto-520-450 {
        min-height: 450px;
    }

    .ukcr-flow-card__toggle {
      min-height: 82px;
      padding: 16px 0;
    }

    .ukcr-flow-card__icon {
      width: 46px;
      height: 46px;
      flex-basis: 46px;
    }

    .ukcr-flow-card__title {
      font-size: 17px;
      line-height: 1.3;
    }
}

@media (max-width: 376px) {
  #mobile-header-info a.__site_phone_mobile {
    font-size: 15px;
  }
}

.img-effect-size {
  transition: transform 0.3s ease;
}

.img-effect-size:hover {
  transform: scale(1.1);
}

.image-frame {
  max-width: 1440px;
  max-height: 498px;
  overflow: hidden;
  border-radius: var(--block-border-radius);
  display: flex;
  justify-content: center;
  align-items: center;
  -webkit-border-radius: var(--block-border-radius);
  -moz-border-radius: var(--block-border-radius);
  -ms-border-radius: var(--block-border-radius);
  -o-border-radius: var(--block-border-radius);
}

.image-frame img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
}

.flex_center {
  display: flex;
  width: 100%;
  justify-content: center;
}

.navbar {
  margin-bottom: 20px;
}

.abc:hover {
  color: #ea7700 !important;
}

.footeractive {
  color: #ea7700 !important;
}

.svg-container:hover path {
  fill: #ea7700 !important;
}

.fa-rutub:hover {
  background: url("/upload/rutube-orange.svg") no-repeat center;
}

.hero {
  margin-bottom: clamp(8px, 0.8vw, 14px) !important;
}

@media (min-width: 991px) {
  .hero {
    aspect-ratio: 1410 / 365;
    padding-block: 22px;
  }

  .hero--main-full .hero__image {
    top: 0;
    left: -28px;
    width: calc(100% + 28px);
    height: 100%;
    object-position: right center;
  }
}

.hero + .container,
.hero + .section {
  margin-top: 0 !important;
}

.hero + .container > .section-title-wr,
.hero + .section > .container {
  padding-top: 0 !important;
}

.hero + .container > .section-title-wr {
  margin-top: 0 !important;
}

@media (max-width: 990px) {
  .hero {
    margin-bottom: 16px !important;
  }
}

/* Offer page */
.page-offer__intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
  border: 1px solid #e6edf3;
  overflow: hidden;
}

.page-offer__content {
  min-width: 0;
}

.page-offer__title {
  max-width: 660px;
  padding-top: 0;
}

.page-offer__lead {
  max-width: 760px;
  margin: 0;
  color: var(--base-color-dark);
  font-size: 18px;
  line-height: 1.62;
}

.page-offer__visual {
  display: flex;
  justify-content: center;
  min-width: 0;
}

.page-offer__visual img {
  display: block;
  width: 100%;
  max-width: 520px;
  height: auto;
}

.page-offer__cards-shell {
  padding: 0;
}

.page-offer__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--ukcr-card-gap, 24px);
}

.page-offer-card {
  display: flex;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e6edf3;
  border-radius: var(--block-border-radius);
  background: #fff;
}

.page-offer-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-bottom: 1px solid #e6edf3;
  background: var(--base-color-background);
}

.page-offer-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
}

.page-offer-card__title {
  margin: 0;
}

.page-offer-card__text {
  flex: 1 1 auto;
  margin: 0;
  color: var(--base-color-dark);
  line-height: 1.55;
}

.page-offer-card__button {
  display: inline-flex;
  min-height: 46px;
  min-width: 220px;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  border-radius: var(--block-border-radius);
}

@media (max-width: 991.98px) {
  .page-offer__intro {
    grid-template-columns: 1fr;
  }

  .page-offer__cards {
    max-width: 760px;
    grid-template-columns: 1fr;
    margin-inline: auto;
  }

  .page-offer__visual {
    justify-content: flex-start;
  }

  .page-offer__visual img {
    max-width: 440px;
  }
}

@media (max-width: 767.98px) {
  .page-offer__intro {
    padding: 24px 18px;
  }

  .page-offer__lead {
    font-size: 16px;
    line-height: 1.55;
  }

  .page-offer-card__body {
    padding: 20px 18px;
  }

  .page-offer-card__button {
    width: 100%;
  }
}

/* Service section pages */
.container.page-uslugi-sec {
  background: #fff;
  border: 1px solid #e3edf4;
  border-radius: var(--block-border-radius);
  padding: clamp(24px, 3vw, 38px) clamp(18px, 3.2vw, 42px) clamp(28px, 3.2vw, 44px) !important;
}

.page-uslugi-sec .section-title,
.page-uslugi-sec .section-title h1,
.page-uslugi-sec h2,
.page-uslugi-sec h3 {
  text-align: left;
}

.page-uslugi-sec .section-title h1 {
  margin-bottom: 0;
}

.page-uslugi-sec h2,
.page-uslugi-sec h3 {
  position: relative;
  margin: clamp(28px, 3vw, 38px) 0 20px;
  padding-bottom: 15px;
  color: #454c52;
  font-weight: 700;
  line-height: 1.28;
}

.page-uslugi-sec h2::after,
.page-uslugi-sec h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64px;
  height: 3px;
  border-radius: 999px;
  background: #da7d40;
}

.page-uslugi-sec > .category.container {
  width: 100%;
  max-width: none;
  padding-right: 0;
  padding-left: 0;
}

.page-uslugi-sec .category .row {
  gap: 18px;
  margin-right: 0;
  margin-left: 0;
}

.page-uslugi-sec .category .row .element {
  min-height: 112px;
  margin: 0 !important;
  padding: 18px 20px;
  border: 1px solid #e3edf4;
  border-radius: var(--block-border-radius);
  background: #fff;
  box-shadow: none;
}

.page-uslugi-sec .category .row.count_in_row_4 .element {
  flex: 1 1 calc((100% - 54px) / 4);
  max-width: calc((100% - 54px) / 4);
}

.page-uslugi-sec .category .row.count_in_row_3 .element,
.page-uslugi-sec .category .row .element.col-4 {
  flex: 1 1 calc((100% - 36px) / 3);
  max-width: calc((100% - 36px) / 3);
}

.page-uslugi-sec .category .row.count_in_row_2 .element,
.page-uslugi-sec .category .row .element.col-6 {
  flex: 1 1 calc((100% - 18px) / 2);
  max-width: calc((100% - 18px) / 2);
}

.page-uslugi-sec .category .row .element.col-12 {
  flex: 1 1 100%;
  max-width: 100%;
}

.page-uslugi-sec .category .row .element .small_icon,
.page-uslugi-sec .category .row .element.col-12 .small_icon {
  width: 72px;
  min-width: 72px;
  height: 72px;
  margin: 0 18px 0 0;
  padding: 0;
}

.page-uslugi-sec .category .row .element .small_icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.page-uslugi-sec .category .row .element .name,
.page-uslugi-sec .category .row .element .name a {
  color: #454c52;
  font-weight: 600;
  line-height: 1.35;
}

.page-uslugi-sec .category .row .element:hover {
  border-color: #5a9aae;
  box-shadow: 0 8px 18px rgba(69, 76, 82, 0.08);
}

.page-uslugi-sec p {
  max-width: 86ch;
  color: #454c52;
  line-height: 1.65;
  text-align: left;
}

@media (max-width: 991.98px) {
  .page-uslugi-sec .category .row.count_in_row_4 .element,
  .page-uslugi-sec .category .row.count_in_row_3 .element,
  .page-uslugi-sec .category .row.count_in_row_2 .element,
  .page-uslugi-sec .category .row .element.col-4,
  .page-uslugi-sec .category .row .element.col-6 {
    flex-basis: 100%;
    max-width: 100%;
  }
}

@media (max-width: 767.98px) {
  .container.page-uslugi-sec {
    border-radius: var(--block-border-radius);
    padding: 22px 16px 26px !important;
  }

  .page-uslugi-sec h2,
  .page-uslugi-sec h3 {
    margin-top: 26px;
    font-size: 20px;
  }

  .page-uslugi-sec .category .row {
    gap: 14px;
  }

  .page-uslugi-sec .category .row .element {
    min-height: 96px;
    padding: 15px 14px;
  }

  .page-uslugi-sec .category .row .element .small_icon,
  .page-uslugi-sec .category .row .element.col-12 .small_icon {
    width: 58px;
    min-width: 58px;
    height: 58px;
    margin-right: 14px;
  }
}

/* Mobile breadcrumbs */
@media (max-width: 767.98px) {
  nav[aria-label="breadcrumb"] {
    min-width: 0;
    max-width: 100%;
  }

  .breadcrumb.ukcr-breadcrumb-inline,
  .bc {
    position: relative;
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 48px), rgba(0, 0, 0, 0));
    mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 48px), rgba(0, 0, 0, 0));
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
  }

  .bc::before {
    content: none;
  }

  .breadcrumb.ukcr-breadcrumb-inline > .breadcrumb-item {
    display: inline-flex !important;
    flex: 0 0 auto;
    align-items: center;
    max-width: none;
    color: #bebebeff;
    white-space: nowrap;
  }

  .breadcrumb.ukcr-breadcrumb-inline > .breadcrumb-item > a,
  .breadcrumb.ukcr-breadcrumb-inline > .breadcrumb-item.active,
  .bc__item,
  .bc__el {
    flex: 0 0 auto;
    white-space: nowrap !important;
  }

  .breadcrumb.ukcr-breadcrumb-inline > .breadcrumb-item + .breadcrumb-item::before {
    flex: 0 0 auto;
  }
}
