.pag .uslugi-custom__arrows {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  margin-top: 20px;
}
.pag .uslugi-custom__arrow {
  width: 40px;
  background-color: #FFFFFF;
  border-radius: 10px;
  height: 40px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  cursor: pointer;
  -webkit-transition: all 0.4s ease 0s;
  transition: all 0.4s ease 0s;
}
@media (min-width: 991px) {
  .pag .uslugi-custom__arrow:hover {
    -webkit-transform: translate(0, -5px);
            transform: translate(0, -5px);
  }
}
.pag .uslugi-custom__arrow.next-arrow-uslugi.disabled {
  opacity: 0.6;
}
.pag .uslugi-custom__pags {
  position: relative;
  height: 40px;
}
.pag .uslugi-custom__pag {
  position: absolute;
  left: 50% !important;
  -webkit-transform: translate(-50%, 0);
          transform: translate(-50%, 0);
  height: 30px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  bottom: -5px !important;
  width: 200px !important;
  margin: 0 auto !important;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.pag .uslugi-custom__pag span.bullet {
  width: 8px;
  height: 8px;
  cursor: pointer;
  min-width: 8px;
  min-height: 8px;
  border-radius: 50%;
  background-color: #2B2B2B;
  margin: 0 8px;
  -webkit-transition: all 0.4s ease 0s;
  transition: all 0.4s ease 0s;
  display: block;
}
.pag .uslugi-custom__pag span.bullet.swiper-pagination-bullet-active {
  width: 32px;
  border-radius: 30px;
  background-color: #CC001E;
}


@media (max-width: 650px){
  .page-id-7 section.fullscreen-global{
    padding: 0 0 30px 0 !important;
  }
}

@media (max-width: 650px) {
  html .btn-white {
    width: 100%;
    max-width: 100%;
  }
}
html .btn-white p, html .btn-white a  {
  white-space: nowrap;
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  line-height: 19px;
  letter-spacing: 0.02em;
  color: #111111;
  background: #FFFFFF;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  position: relative;
  padding: 16px 34px 15px 34px;
  text-align: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  border-radius: 15px;
  overflow: hidden;
  -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
          box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  font-family: "Geometria-Bold";
  /* Эффект блика */
  /* 3D эффект при наведении */
  /* Анимация нажатия */
}
html .btn-white p:before, html .btn-white a:before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0)), color-stop(50%, rgba(255, 255, 255, 0.8)), to(rgba(255, 255, 255, 0)));
  background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0) 100%);
  -webkit-transform: skewX(-25deg);
          transform: skewX(-25deg);
  -webkit-transition: all 0.75s ease;
  transition: all 0.75s ease;
  z-index: 1;
}
html .btn-white p:hover, html .btn-white a:hover {
  -webkit-transform: translateY(-5px);
          transform: translateY(-5px);
  -webkit-box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1), 0 6px 0 rgba(0, 0, 0, 0.1);
          box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1), 0 6px 0 rgba(0, 0, 0, 0.1);
}
html .btn-white p:hover:before, html .btn-white a:hover:before {
  left: 100%;
}
html .btn-white p:active, html .btn-white a:active {
  -webkit-transform: translateY(0);
          transform: translateY(0);
  -webkit-box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1), 0 0 0 rgba(0, 0, 0, 0.1);
          box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1), 0 0 0 rgba(0, 0, 0, 0.1);
  -webkit-transition: all 0.1s ease;
  transition: all 0.1s ease;
}

@media (max-width: 1085px) {
    ._container {
      padding: 0 20px;
    }
  }
  
  @media (max-width: 650px) {
    html .btn-red {
      width: 100%;
      max-width: 100%;
    }
  }
  html .btn-red p, html .btn-red a , .popup-link-custom , .btn button {
    white-space: nowrap;
    cursor: pointer;
    font-weight: 700;
    font-size: 16px;
    line-height: 19px;
    gap: 20px;
    letter-spacing: 0.02em;
    color: #FFFFFF;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    position: relative;
    padding: 16px 34px 15px 34px;
    text-align: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    border-radius: 15px;
    overflow: hidden;
    font-family: "Geometria-Bold";
    background: linear-gradient(91.96deg, #CC001E 38.45%, #7A0114 100%);
    /* Эффект блика */
    /* 3D эффект при наведении */
    /* Анимация нажатия */
  }
  html .btn-red p:before, html .btn-red a:before, .popup-link-custom:before , .btn button:before  {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: -webkit-gradient(linear, left top, right top, from(rgba(255, 255, 255, 0)), color-stop(50%, rgba(255, 255, 255, 0.8)), to(rgba(255, 255, 255, 0)));
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0) 100%);
    -webkit-transform: skewX(-25deg);
            transform: skewX(-25deg);
    -webkit-transition: all 0.75s ease;
    transition: all 0.75s ease;
    z-index: 1;
  }
  html .btn-red p:hover, html .btn-red a:hover, .popup-link-custom:hover , .btn button:hover  {
    -webkit-transform: translateY(-2.5px);
            transform: translateY(-2.5px);
    -webkit-box-shadow: 0px 10px 30px 0px rgba(255, 131, 131, 0.4);
            box-shadow: 0px 10px 30px 0px rgba(255, 131, 131, 0.4);
  }
  html .btn-red p:hover:before, html .btn-red a:hover:before , .popup-link-custom:hover:before , .btn button:hover:before  {
    left: 100%;
  }
  html .btn-red p:active, html .btn-red a:active , .popup-link-custom:active  , .btn button:active  {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    -webkit-box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1), 0 0 0 rgba(0, 0, 0, 0.1);
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1), 0 0 0 rgba(0, 0, 0, 0.1);
    -webkit-transition: all 0.1s ease;
    transition: all 0.1s ease;
  }
  .popup-link-custom{
    min-width: 250px;
    max-width: max-content;
        position: relative;
    z-index: 2;
  }
  
@media (max-width: 650px){
      .popup-link-custom {
    width: 100%;
    max-width: 100%;
}
}
@media (min-width: 1400px){
    .header__bottom-btns-glo button{
  display: none;
}
}
  .cirle-blur {
    position: relative;
  }
  .cirle-blur .cirle-blur-elem {
    width: 500px;
    height: 500px;
    background: #CC001E;
    -webkit-filter: blur(200px);
            filter: blur(200px);
    border-radius: 50%;
    position: absolute;
    top: 200px;
    right: -200px;
  }
  @media (max-width: 991px) {
    .cirle-blur .cirle-blur-elem {
      width: 200px;
      height: 200px;
      -webkit-filter: blur(100px);
              filter: blur(100px);
      right: -50px;
      top: 150px;
    }
  }
  
  /* Добавьте в HTML обертку для текста */
  /* <a class="btn-white"><span>Текст кнопки</span></a> */
  .title-new h2, .title-new h3 {
    color: #FFFFFF;
    text-transform: uppercase;
    line-height: 1.4;
  }
  .title-new h2 {
    font-size: clamp(22px, 1.6666666667vw + 16px, 40px);
  }
  .title-new h3 {
    font-size: clamp(18px, 0.3703703704vw + 16.6666666667px, 22px);
  }
  
  .title-new-global h3 {
    font-size: clamp(20px, 0.9259259259vw + 16.6666666667px, 30px);
    color: #FFFFFF;
    line-height: 1.2;
    text-transform: uppercase;
  }
  
  .desp-new p {
    color: #FFFFFF;
    font-family: "Geometria-Light";
    line-height: 1.4;
    font-size: clamp(14px, 0.3703703704vw + 12.6666666667px, 18px);
  }
  
  .desp-new ul {
    color: #FFFFFF;
    font-family: "Geometria-Light";
    line-height: 1.4;
    font-size: clamp(14px, 0.3703703704vw + 12.6666666667px, 18px);
    margin: 0 0 20px 20px;
  }
  .desp-new ul li {
    list-style: disc;
    margin-bottom: 10px;
  }
  .desp-new ul li:last-child {
    margin-bottom: 0px;
  }
  @media (max-width: 991px) {
    .desp-new ul {
      margin: 0 0 15px 15px;
    }
  }
  
   .desp-new ol {
    color: #FFFFFF;
    font-family: "Geometria-Light";
    line-height: 1.4;
    font-size: clamp(14px, 0.3703703704vw + 12.6666666667px, 18px);
    margin: 0 0 20px 20px;
  }
  .desp-new ol li {
    list-style: disc;
    margin-bottom: 10px;
  }
  .desp-new ol li:last-child {
    margin-bottom: 0px;
  }
  @media (max-width: 991px) {
    .desp-new ol {
      margin: 0 0 15px 15px;
    }
  }
  
  .uslugi-custom {
    position: relative;
    z-index: 2;
    padding: 60px 0;
    overflow: hidden;
  }
  @media (max-width: 991px) {
    .uslugi-custom {
      padding: 25px 0;
    }
  }
  .uslugi-custom__global {
    margin-top: 50px;
  }
  @media (max-width: 768px) {
    .uslugi-custom__global {
      margin-top: 30px;
    }
  }
  .uslugi-custom__swiper {
    margin-top: 180px;
  }
  @media (max-width: 768px) {
    .uslugi-custom__swiper {
      margin-top: 155px;
    }
  }
  @media (min-width: 1200px) {
    .uslugi-custom__wrapper {
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
      margin: -20px;
      width: auto !important;
    }
  }
  @media (min-width: 1200px) {
    .uslugi-custom__column {
      -webkit-box-flex: 0;
          -ms-flex: 0 1 33.333%;
              flex: 0 1 33.333%;
      padding: 20px;
      height: auto !important;
    }
  }
  @media (max-width: 1200px){
    .uslugi-custom__column{
      height: auto !important;
    }
  }
  .uslugi-custom__item {
    -webkit-box-shadow: 0px 10px 40px 0px rgba(0, 0, 0, 0.2);
            box-shadow: 0px 10px 40px 0px rgba(0, 0, 0, 0.2);
    background: #1D1D1D;
    padding: 30px;
    border-radius: 30px;
    display: flex
    ;
        height: 100%;
  }
  .item-uslugi-custom__cont {
    display: flex
;
    flex-direction: column;
    height: 100%;
}
.item-uslugi-custom__desp {
  flex: 1 1 auto;
}
  @media (max-width: 650px) {
    .uslugi-custom__item {
      padding: 20px;
      border-radius: 20px;
    }
  }
  @media (max-width: 1200px) {
    .uslugi-custom__arrows {
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      width: 100%;
      -webkit-box-pack: justify;
          -ms-flex-pack: justify;
              justify-content: space-between;
      margin-top: 20px;
    }
    .uslugi-custom__arrow {
      top: 11px !important;
      width: 40px;
      background-color: #FFFFFF;
      border-radius: 10px;
      height: 40px;
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-pack: center;
          -ms-flex-pack: center;
              justify-content: center;
      -webkit-box-align: center;
          -ms-flex-align: center;
              align-items: center;
    }
    .uslugi-custom .uslugi-custom__arrow.next-arrow-uslugi.disabled {
      opacity: 0.6;
    }
    .uslugi-custom .uslugi-custom__pags {
      position: relative;
      height: 40px;
    }
    html .uslugi-custom__pag .rew-global .swiper-horizontal>.swiper-pagination-bullets, .swiper-pagination-bullets.swiper-pagination-horizontal, .swiper-pagination-custom, .swiper-pagination-fraction {
      position: absolute;
      left: 50% !important;
      -webkit-transform: translate(-50%, 0);
              transform: translate(-50%, 0);
      height: 30px;
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      bottom: -5px !important;
      width: 200px !important;
      margin: 0 auto !important;
      -webkit-box-pack: center;
          -ms-flex-pack: center;
              justify-content: center;
    }
    .uslugi-custom__pag span.bullet {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background-color: #2B2B2B;
      margin: 0 8px;
      -webkit-transition: all 0.4s ease 0s;
      transition: all 0.4s ease 0s;
      display: block;
    }
    .uslugi-custom__pag span.bullet.swiper-pagination-bullet-active {
      width: 32px;
      border-radius: 30px;
      background-color: #CC001E;
    }
  }
  
  .elem-global-uslugi__content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  @media (max-width: 768px) {
    .elem-global-uslugi__content {
      -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: start;
    }
  }
  .elem-global-uslugi__column:first-child {
    margin: 0 -140px 0 0;
    -webkit-box-flex: 1;
        -ms-flex: 1 1 auto;
            flex: 1 1 auto;
  }
  @media (max-width: 768px) {
    .elem-global-uslugi__column:first-child {
      margin: 0 0 -140px 0;
      width: 100%;
    }
  }
  .elem-global-uslugi__column:last-child {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 540px;
            flex: 0 0 540px;
  }
  @media (max-width: 1200px) {
    .elem-global-uslugi__column:last-child {
      -webkit-box-flex: 0;
          -ms-flex: 0 0 340px;
              flex: 0 0 340px;
    }
  }
  @media (max-width: 768px) {
    .elem-global-uslugi__column:last-child {
      -webkit-box-flex: 1;
          -ms-flex: 1 1 auto;
              flex: 1 1 auto;
      width: 100%;
    }
  }
  .elem-global-uslugi__cont {
    width: 100%;
    -webkit-box-shadow: 0px 10px 40px 0px rgba(0, 0, 0, 0.2);
            box-shadow: 0px 10px 40px 0px rgba(0, 0, 0, 0.2);
    background: #1D1D1D;
    padding: 40px 220px 40px 40px;
    border-radius: 30px;
  }
  @media (max-width: 991px) {
    .elem-global-uslugi__cont {
      padding: 25px 160px 25px 25px;
      border-radius: 20px;
    }
  }
  @media (max-width: 768px) {
    .elem-global-uslugi__cont {
      padding: 20px 20px 170px 20px;
    }
  }
  .elem-global-uslugi__desp {
    margin-top: 30px;
  }
  @media (max-width: 991px) {
    .elem-global-uslugi__desp {
      margin-top: 20px;
    }
  }
  .elem-global-uslugi__btn {
    margin-top: 50px;
    width: 280px;
  }
  @media (max-width: 991px) {
    .elem-global-uslugi__btn {
      margin-top: 30px;
    }
  }
  .elem-global-uslugi__btn p {
    text-transform: none;
    font-weight: 700;
  }
  .elem-global-uslugi__image img {
    border-radius: 15px;
    overflow: hidden;
    width: 100%;
  }
  @media (max-width: 768px) {
    .elem-global-uslugi__image {
      padding: 0 20px;
    }
    .elem-global-uslugi__image img {
      width: 100%;
    }
  }
  
  .item-uslugi-custom__image {
    border-radius: 15px;
    overflow: hidden;
    width: 100%;
    margin-top: -160px;
  }
  @media (max-width: 768px) {
    .item-uslugi-custom__image {
      margin-top: -130px;
    }
  }
  .item-uslugi-custom__image img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
  }
  .item-uslugi-custom__title {
    margin-top: 30px;
  }
  @media (max-width: 768px) {
    .item-uslugi-custom__title {
      margin-top: 20px;
    }
  }
  .item-uslugi-custom__desp {
    margin-top: 20px;
  }
  @media (max-width: 768px) {
    .item-uslugi-custom__desp {
      margin-top: 10px;
    }
  }
  .item-uslugi-custom__btn {
    margin-top: 40px;
  }
  @media (max-width: 768px) {
    .item-uslugi-custom__btn {
      margin-top: 20px;
    }
  }
  
  .faq-custom {
    overflow: hidden;
    padding: 250px 0 50px 0;
    margin: -200px 0 0 0;
  }
  @media (max-width: 991px) {
    .faq-custom {
      padding: 225px 0 25px 0px;
    }
  }
  .faq-custom__top {
    margin-bottom: 50px;
  }
  @media (max-width: 991px) {
    .faq-custom__top {
      margin-bottom: 24px;
    }
  }
  .faq-custom__title {
    max-width: 1110px;
    position: relative;
    z-index: 2;
  }
  .faq-custom__title h2 {
    font-size: clamp(20px, 1.8518518519vw + 13.3333333333px, 40px);
  }
  .faq-custom__desp {
    max-width:795px;
    margin-top: 25px;
    position: relative;
    z-index: 2;
  }
  @media (max-width: 991px) {
    .faq-custom__desp {
      margin-top: 12px;
    }
  }
  .faq-custom__content {
    position: relative;
    z-index: 2;
  }
  .faq-cust {
    -webkit-box-shadow: 0px 10px 40px 0px rgba(0, 0, 0, 0.2);
            box-shadow: 0px 10px 40px 0px rgba(0, 0, 0, 0.2);
    background: #1D1D1D;
    border-radius: 20px;
    margin-bottom: 30px;
  }
  @media (max-width: 991px) {
    .faq-cust {
      border-radius: 18px;
    }
  }
  .faq-cust__top {
    cursor: pointer;
    padding: 25px 0px 25px 0;
    margin: 0 25px;
    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;
    gap: 30px;
    border-bottom: 1px solid rgba(204, 0, 31, 0);
    -webkit-transition: all 0.4s ease 0s;
    transition: all 0.4s ease 0s;
  }
  @media (max-width: 650px) {
    .faq-cust__top {
      gap: 10px;
    }
  }
  @media (max-width: 991px) {
    .faq-cust__top {
      margin: 0 16px;
      padding: 16px 0px 16px 0;
    }
  }
  .faq-cust__top svg {
    -webkit-transition: all 0.4s ease 0s;
    transition: all 0.4s ease 0s;
  }
  .faq-cust__title h3 {
    font-size: clamp(16px, 0.3703703704vw + 14.6666666667px, 20px);
  }
  .faq-cust__desp {
    padding: 25px 0px 20px 0;
    margin: 0 25px;
    font-size: clamp(14px, 0.1851851852vw + 13.3333333333px, 16px);
  }
  .faq-cust__desp ul{
    margin-left: 20px;
  }
  @media (max-width: 991px) {
    .faq-cust__desp {
      padding: 20px 0px 16px 0;
      margin: 0 16px;
    }
  }
  .faq-cust__desp p {
    margin-bottom: 20px;
  }
  @media (max-width: 991px) {
    .faq-cust__desp p {
      margin-bottom: 15px;
    }
  }
  .faq-cust__desp p:last-child {
    margin-bottom: 0px;
  }
  
  .faq-cust._active .faq-cust__top {
    border-bottom: 1px solid #CC001E;
  }
  .faq-cust._active .faq-cust__top svg {
    -webkit-transform: scale(1, -1);
            transform: scale(1, -1);
  }
  
  .bottom-faq {
    border: 1px solid #CC001E;
    padding: 30px;
    border-radius: 30px;
    position: relative;
    z-index: 2;
  }
  @media (max-width: 1200px) {
    .bottom-faq {
      padding: 20px 16px;
      border-radius: 18px;
    }
  }
  .bottom-faq__content {
    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;
  }
  @media (max-width: 1200px) {
    .bottom-faq__content {
      -webkit-box-orient: vertical;
      -webkit-box-direction: normal;
          -ms-flex-direction: column;
              flex-direction: column;
      -webkit-box-align: center;
          -ms-flex-align: center;
              align-items: center;
      gap: 20px;
    }
  }
  @media (max-width: 650px) {
    .bottom-faq__column {
      width: 100%;
    }
  }
  .bottom-faq__btns {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 30px;
  }
  @media (max-width: 650px) {
    .bottom-faq__btns {
      gap: 20px;
      width: 100%;
      -webkit-box-orient: vertical;
      -webkit-box-direction: normal;
          -ms-flex-direction: column;
              flex-direction: column;
    }
  }
  .bottom-faq__btn {
    min-width: 230px;
  }

  
  .rew-global__content .uslugi-custom__pags.pag{
    max-width: 900px !important;
    margin: 0 auto;
  }

  .contacts-secit.contacts-secit-global .bottom-form__item {
    flex: 0 1 50% !important;
    margin-bottom: 40px;
}
.contacts-secit.contacts-secit-global .item-form__check.check-item-form {
  flex: 0 1 50% !important;
}
.contacts-secit.contacts-secit-global .rows-bottom__btn {
  flex: 0 1 50% !important;
}

.contacts-secit.contacts-secit-global .rows-bottom__rows {
  margin-top: 40px;
}
.contacts-secit.contacts-secit-global .bottom-form__item.global-item{
  margin-bottom: 0px !important;
}
.contacts-secit.contacts-secit-global .bottom-form__item.bottom-form__textarea{
  margin-bottom: 0px !important;
}


@media (max-width: 768px){
  .contacts-secit.contacts-secit-global .bottom-form__item {
    flex: 1 1 100% !important;
    margin-bottom: 20px;
}
.contacts-secit.contacts-secit-global .item-form__check.check-item-form {
  flex: 1 1 100% !important;
}
.contacts-secit.contacts-secit-global .rows-bottom__btn {
  flex: 1 1 100% !important;
}
.contacts-secit.contacts-secit-global .bottom-form__item.global-item {
  margin-bottom: 20px !important;
}

}
@media (max-width: 991px){
  .contacts-secit.contacts-secit-global .bottom-form__column {
    margin: 0;
  }
  .contacts-secit.contacts-secit-global .bottom-form__column .rows-bottom__rows{
    margin-top: 20px;
  }
}

@media (max-width: 991px){
  .rew-global .uslugi-custom__pag {
    display: none;
}
}
@media (max-width: 900px){
  .case__column a {
    flex-direction: column;
}
.case__column a .case__image {
  margin: 0 0 10px 0;
}
.case__image {
  border-radius: 15px;
}
}





section.contacts-secit {
  background: #2C2C2C;
}

.contacts-secit__fon img {
  -webkit-box-shadow: none;
          box-shadow: none;
  border-radius: 0px;
  width: 100%;
  height: 50px;
  -o-object-fit: fill;
     object-fit: fill;
}

.contacts-secit__fon.first {
  -webkit-transform: scale(1, -1);
          transform: scale(1, -1);
}

.contacts-secit__conts {
  padding: 40px 0;
}

@media (max-width: 991px){
  .contacts-secit__conts {
    padding: 20px 0;
  }
}
.contacts-secit__title h2 {
  color: #fff;
}

.contacts-secit__title h2, .contacts-secit__title p {
  text-transform: uppercase;
  font-size: 42px;
  line-height: 1.4;
}

@media (max-width: 1200px) {
  .contacts-secit__title h2, .contacts-secit__title p {
    text-transform: uppercase;
    font-size: 36px;
  }
}
@media (max-width: 991px) {
  .contacts-secit__title h2, .contacts-secit__title p {
    text-transform: uppercase;
    font-size: 28px;
  }
}
@media (max-width: 768px) {
  .contacts-secit__title h2, .contacts-secit__title p {
    text-transform: uppercase;
    font-size: 22px;
  }
}
.contacts-secit__title p {
  color: #CC011E;
}

.contacts-secit__content {
  background: #111111;
  padding: 37px 40px;
  border-radius: 30px;
  margin-top: 40px;
}

@media (max-width: 768px) {
  .contacts-secit__content {
    margin-top: 20px;
  }
}
.contacts-secit__top {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 50px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 35px;
}

.contacts-secit__tel {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 5px;
  color: #fff;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

main.kejs .contacts-secit__tel p {
  font-family: "Geometria-Light";
  line-height: 1.5;
  margin: 0px;
}

.contacts-secit .bottom-form__item .wpcf7-not-valid-tip-custom {
  display: none;
}

@media (min-width: 1350px) {
  .contacts-secit .bottom-form__item {
    -webkit-box-flex: 0 !important;
        -ms-flex: 0 1 26% !important;
            flex: 0 1 26% !important;
    margin: 0px;
  }
  .contacts-secit .item-form__check.check-item-form {
    -webkit-box-flex: 0 !important;
        -ms-flex: 0 1 23% !important;
            flex: 0 1 23% !important;
    margin: 0px;
  }
  .contacts-secit .rows-bottom__btn {
    -webkit-box-flex: 0 !important;
        -ms-flex: 0 1 25% !important;
            flex: 0 1 25% !important;
  }
}
.contacts-secit__messages {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 20px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

@media (max-width: 768px) {
  .contacts-secit__content {
    padding: 20px;
    border-radius: 20px;
    margin-top: 20px;
  }
  .contacts-secit__top {
    -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: start;
    gap: 20px;
  }
}
@media (max-width: 650px) {
  .contacts-secit .item-form__check.check-item-form {
    -webkit-box-flex: 1 !important;
        -ms-flex: 1 1 100% !important;
            flex: 1 1 100% !important;
  }
  .contacts-secit .rows-bottom__btn {
    -webkit-box-flex: 1 !important;
        -ms-flex: 1 1 100% !important;
            flex: 1 1 100% !important;
  }
  .contacts-secit .contacts-secit__top {
    margin-bottom: 25px;
  }
  .contacts-secit .item-form__check {
    margin: 0px !important;
  }
}
.contacts-secit [data-name=acceptance-727] input {
  width: 24px !important;
  height: 24px !important;
  padding: 0 !important;
  top: 10px;
  left: 14px;
}

.contacts-secit__desp {
  margin-top: 25px;
  max-width: 900px;
}
@media (max-width: 650px) {
  .contacts-secit__desp {
    margin-top: 12px;
  }
}





@media (max-width: 991px){

  .uslugi-custom__arrows {
    position: absolute;
    top: 50%;
}
@media (max-width: 850px){
     .uslugi-custom .uslugi-custom__pags {
    position: static !important;
}

.uslugi-custom__swiper {
    position: relative;
}
.uslugi-custom__arrows {
    position: absolute;
     top: 35%;
    left: -4%;
    transform: translate(0, -50%);
    z-index: 4;
    width: 108% !important;
    margin: 0 !important;
}
.uslugi-custom__arrow {
    width: 30px !important;
    height: 30px !important;
}

.uslugi-custom__arrow svg {
    width: 18px !important;
    height: 18px !important;
}
 

section.slaider-cust .uslugi-custom__arrows {
    width: 100% !important;
    left: 0px !important;
        top: 45% !important;
}
html .uslugi-custom__pag .rew-global .swiper-horizontal>.swiper-pagination-bullets, .swiper-pagination-bullets.swiper-pagination-horizontal, .swiper-pagination-custom, .swiper-pagination-fraction {
    position: relative;
    left: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    /* margin: 0 !important; */
    transform: translate(0px, 0px);
    margin-top: 15px !important;
}
}


.prise-pag .uslugi-custom__arrow.swiper-button-next {
    right: 0px !important;
}
.prise-pag  .uslugi-custom__arrow.swiper-button-prev{
    left: 0px !important;
}
.prise-pag  .uslugi-custom__arrow:after{
  display: none;
}
.prise-pag  span.swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #2B2B2B;
    margin: 0 8px !important;
    -webkit-transition: all 0.4s ease 0s;
    transition: all 0.4s ease 0s;
    display: block;
    left: 0 !important;
    top: 50% !important;
    transform: translate(0, -50%);
        animation: none !important;
        box-shadow: none !important;
        
}

}

@media (max-width: 650px){
    p.amime {
    line-height: 1.4;
}
div#utp .popup-content {
    margin: 50px 0 0 0;
}
}
.prise-slid{
  margin-bottom: 20px;
  position: relative;
}

.prise-pag span.swiper-pagination-bullet.swiper-pagination-bullet-active {
    width: 32px;
    border-radius: 30px;
    background-color: #CC001E;
}

@media (max-width: 991px){
    .rew-global .uslugi-custom__pag{
      display: none !important;
    }
    .permalink-sec__content {
    position: relative;
}
.permalink-sec__pag.pag-permalink {
    position: absolute;
    top: 50%;
    width: 100%;
    z-index: 2;
}
}

@media (max-width: 490px) {
    .depctop-reply__title {
        font-size: 21px;
        left: 32%;
    }
}

@media (max-width: 650px) {
    .portfolio-kejsyy-template-single-portfolio-kejsyy-template2 .margin-elem-header,.portfolio-kejsyy-template-single-portfolio-kejsyy-template1 .margin-elem-header {
         margin: 95px 0 0 0;
    }
}


.global-dvishok__image-image {
    display: none;
}
@media (max-width: 768px){
    .global-dvishok__image{
      display: none !important;
    }
    .global-dvishok__image-image {
    display: block !important;
}
.page-template-page-cms .global-dvishok__image {
    margin-bottom: -5px;
}


.page-template-page-dop .global-dvishok__image {
    margin-bottom: -5px;
}


.page-template-page-sfer section.slaider-cust .uslugi-custom__arrows {
    top: 57% !important;
}
.prise-dvishok__desp{
  display: none;
}
.faq-custom__item{
  opacity: 1 !important;
    transform: translate(0, 0) !important;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.5s ease !important;
    transition-delay: 0.3s !important;
}
}
@media (max-width: 395px){
    .cont-portfolio-dvishok__text h3{
      font-size: 11px;
      text-align: left;
    }
}

.item-prise-dvishok__title.title-new h3{

  font-size: 24px;
}
.item-prise-dvishok__title{
  min-height:93px;
}
.item-prise-dvishok__title .tooltip-dvishok .tooltip-dvishok__content{
  left: auto;
  right: -40px;
}
@media (max-width: 991px){
   .item-prise-dvishok__title{
  min-height:auto;
} 
.item-prise-dvishok__title.title-new h3{

  font-size: 20px;
}
}
.tooltip-dvishok__content-global ul{
  margin-left: 20px;
}
.tooltip-dvishok__content-global li{
  list-style: disc;
}

a.rew-global__slide.slide-rew-global {
    height: 100% !important;
}
.slide-rew-global__conts {
    height: 100%;
}








.cms-dvishok-three .cms-dvishok__column::before {
  display: none;
}
.cms-dvishok-three .cms-dvishok__column {
  padding: 0px;
  height: auto;
}
.cms-dvishok-three .cms-dvishok__swiper-three {
  overflow: hidden;
}
.cms-dvishok-three .cms-dvishok__item {
  -webkit-box-shadow: 0px 10px 40px 0px rgba(0, 0, 0, 0.2);
          box-shadow: 0px 10px 40px 0px rgba(0, 0, 0, 0.2);
  background: #1D1D1D;
  padding: 20px;
  height: 100%;
  border-radius: 30px;
}
.cms-dvishok-three .cms-dvishok__item a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  height: 100%;
  text-align: center;
}
.cms-dvishok-three .cms-dvishok__item a .item-cms-dvishok__title h3 {
  font-size: 17px;
}
@media (max-width: 650px){
    .cms-dvishok-three .cms-dvishok__item a .item-cms-dvishok__title h3 {
  font-size: 16px;
        max-width: 245px;
        margin: 0 auto;
}
}
.cms-dvishok-three .item-cms-dvishok__desp {
  margin-top: 12px;
  -webkit-box-flex: 1;
      -ms-flex: 1 1 auto;
          flex: 1 1 auto;
}
.cms-dvishok-three .item-cms-dvishok__link {
  border: 2px solid #CC001E;
}
.cms-dvishok-three .uslugi-custom__pags {
  margin-top: 40px;
}

















.niches-section {
  padding: 50px 0 100px 0px;
}
@media (max-width: 991px) {
  .niches-section {
    padding: 25px 0 50px 0;
  }
}

.niches-section__container {
  position: relative;
}

.niches-container {
  position: relative;
  overflow: hidden;
  max-height: 272px;
  -webkit-transition: max-height 0.5s ease;
  transition: max-height 0.5s ease;
}

.niches-section__title {
  margin-bottom: 40px;
}
.niches-section__title h2 {
  text-align: left;
  font-size: clamp(25px, 1.3888888889vw + 20px, 40px);
}

.niches-container.expanded {
  max-height: 700px;
}

.niches-grid {
  display: -ms-grid;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

.niche-item {
  background: #1D1D1D;
  border-radius: 15px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 15px 15px;
  font-size: 15px;
  font-weight: 400;
  font-family: "Geometria-Light";
  text-align: center;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  -webkit-backdrop-filter: blur(5px);
          backdrop-filter: blur(5px);
  position: relative;
  text-decoration: none;
  color: #FFFFFF;
}

.niche-item:hover {
  background: linear-gradient(91.96deg, #CC001E 38.45%, #7A0114 100%);
  -webkit-transform: translateY(-5px);
          transform: translateY(-5px);
  -webkit-box-shadow: 0px 10px 30px 0px rgba(255, 131, 131, 0.4);
          box-shadow: 0px 10px 30px 0px rgba(255, 131, 131, 0.4);
  cursor: pointer;
}

.niche-item.highlighted {
  -webkit-box-shadow: 0px 10px 30px 0px rgba(255, 131, 131, 0.4);
          box-shadow: 0px 10px 30px 0px rgba(255, 131, 131, 0.4);
  background: linear-gradient(91.96deg, #CC001E 38.45%, #7A0114 100%);
}

.niche-item.highlighted:hover {
  -webkit-box-shadow: 0px 10px 30px 0px rgba(255, 131, 131, 0.4);
          box-shadow: 0px 10px 30px 0px rgba(255, 131, 131, 0.4);
  background: linear-gradient(91.96deg, #CC001E 38.45%, #7A0114 100%);
}

/* Блюр для скрытых элементов */
.blur-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: -webkit-gradient(linear, left bottom, left top, from(#111111), color-stop(60.46%, rgba(17, 17, 17, 0)));
  background: linear-gradient(360deg, #111111 0%, rgba(17, 17, 17, 0) 60.46%);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  pointer-events: none;
  -webkit-transition: opacity 0.5s ease;
  transition: opacity 0.5s ease;
  z-index: 10;
}
@media (max-width: 991px) {
  .blur-overlay {
    height: 145px;
  }
}

.blur-overlay.hidden {
  opacity: 0;
}

/* Скрытые элементы */
.niches-grid.collapsed .niche-item:nth-child(n+9) {
  opacity: 1;
  -webkit-filter: none;
          filter: none;
  pointer-events: auto;
}

.niches-grid.expanded .niche-item {
  opacity: 1;
  -webkit-filter: none;
          filter: none;
  pointer-events: auto;
}

.show-all-btn {
  position: absolute;
  bottom: 40px; /* Примерно на уровне 3-й линии */
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  margin: 0;
  padding: 13px 22px 16px 22px;
  border: 2px solid #CC001E;
  color: #CC001E;
  font-size: 16px;
  border-radius: 15px;
  cursor: pointer;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  z-index: 20;
  background-color: #111111;
  font-weight: 700;
  width: 240px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.show-all-btn svg {
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.show-all-btn svg path {
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.show-all-btn.expanded {
  bottom: -95px;
}

.show-all-btn:hover,
.show-all-btn:active {
  background: linear-gradient(91.96deg, #CC001E 38.45%, #7A0114 100%);
  -webkit-box-shadow: 0px 10px 30px 0px rgba(255, 131, 131, 0.4);
          box-shadow: 0px 10px 30px 0px rgba(255, 131, 131, 0.4);
  border-color: transparent;
  color: #fff;
}
.show-all-btn:hover svg,
.show-all-btn:active svg {
  -webkit-transform: scale(-1, 1);
          transform: scale(-1, 1);
}
.show-all-btn:hover svg path,
.show-all-btn:active svg path {
  stroke: #fff;
}

.niches-container.expanded .show-all-btn {
  position: static;
  -webkit-transform: none;
          transform: none;
  margin: 40px auto 0;
  display: block;
}

.show-all-btn:hover {
  background: #dc2626;
}

.show-all-btn .arrow {
  margin-left: 10px;
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}

.show-all-btn.expanded .arrow {
  -webkit-transform: rotate(180deg);
          transform: rotate(180deg);
}

/* Адаптивность */
@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }
  .niches-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
  }
  .niche-item {
    padding: 15px;
    font-size: 16px;
  }
  .show-all-btn {
    font-size: 14px;
  }
}
@media (max-width: 480px) {
  .niches-grid {
    -ms-grid-columns: 1fr 10px 1fr;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .section-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 650px){
    .global-dvishok__cont{
      display: flex;
      flex-direction: column;
    }
    .global-dvishok__desp{
      order: 3;
    }
    .global-dvishok__btns{
      order: 2;
    }
}

section.portfolio-dvishok .uslugi-custom__arrows{
 
}


.cms-dvishok .cms-dvishok-dvishok__pags {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  max-width: 500px;
  width: 100%;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin: 0 auto;
}
.cms-dvishok .cms-dvishok-dvishok__pag.pag {
  width: 100%;
}

@media (max-width: 1100px) {
  .cms-dvishok .cms-dvishok__swiper-two::before {
    display: none;
  }
}



.cms-dvishok__swiper-three .swiper-slide{
  height: auto;
}
.cms-dvishok-three .cms-dvishok__item a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  height: 100%;
  text-align: center;
}


.why-vid-content__cont p, .why-vid-content__cont h2 {
  text-align: left;
}
.why-vid-content__desp {
  margin-top: 25px;
}

.cms-dvishok__top {
  max-width: 930px;
  margin: 0 auto;
  text-align: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 20px;
}

.cms-dvishok-three .cms-dvishok__swiper-three  {
  padding-top: 50px;
}
@media (max-width: 991px) {
 .cms-dvishok-three .cms-dvishok__swiper-three {
    padding-top: 24px;
    padding-bottom: 14px;
  }
}
.cms-dvishok__top .cms-dvishok__title {
  max-width: 100%;
}
.cms-dvishok__top h2 {
  max-width: 100%;
  text-align: center;
}
@media (max-width: 650px) {
  .cms-dvishok__top {
    gap: 15px;
  }
}
.cms-dvishok-three .cms-dvishok__item a .item-cms-dvishok__title h3 {

}
.cms-dvishok-three .item-cms-dvishok__desp {

      -ms-flex: 1 1 auto;
          flex: 1 1 auto;
}
 @media (max-width: 991px){
  section.portfolio-dvishok .uslugi-custom__arrows,.cms-dvishok .uslugi-custom__arrows{
 
                  top: 35%;
            left: 0;
            transform: translate(0, 0%);
            z-index: 4;
            width: 100% !important;
}

.cms-dvishok  .pag .uslugi-custom__pags {
    position: relative;
    height: 50px;
}
  }

  .portfolio-dvishok__desp{
    max-width: 780px;
  }








  .cms-dvishok__swiper-three  .item-cms-dvishok__icon img {
  width: auto;
  max-height: 210px;
  height: auto;
}
@media (max-width: 991px) {
 .cms-dvishok__swiper-three   .item-cms-dvishok__icon img {
    width: auto;
      max-height: 210px;
  }
}

.item-cms-dvishok__conts {
    display: flex
;
    align-items: center;
    gap: 20px;
}
.item-cms-dvishok__title {
    margin: 0;
}











.video-ds-art {
    position: relative;
    width: 100%;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-ds-art video {
    width: 100%;
    height: auto;
    display: block;
    outline: none;
}

.video-controls {
    position: absolute;
    bottom: -60px;
    left: 0;
    right: 0;
    background-color: #00000028;
    padding: 12px 16px;
    height: 60px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(8px);
    box-sizing: border-box;
    z-index: 3;
}

.video-ds-art:hover .video-controls,
.video-ds-art.controls-visible .video-controls {
    bottom: 0;
}

.controls-row {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 36px;
}

.play-pause-btn, .volume-btn, .fullscreen-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(4px);
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.play-pause-btn:hover, .volume-btn:hover, .fullscreen-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

/* Иконки в кнопках */
.play-pause-btn-icon, .volume-btn-icon, .fullscreen-btn-icon, .play-overlay-btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: inherit;
    transition: all 0.3s ease;
}

.progress-container {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    cursor: pointer;
    position: relative;
    transition: height 0.2s ease;
    margin: 0 4px;
}

.progress-container:hover {
    height: 8px;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #CC001E, #FF1744);
    border-radius: 3px;
    width: 0%;
    position: relative;
    box-shadow: 0 0 8px rgba(204, 0, 30, 0.3);
    pointer-events: none;
}

.progress-handle {
    position: absolute;
    top: 50%;
    right: -8px;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: #CC001E;
    border: 3px solid white;
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: grab;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.progress-handle:active,
.progress-handle.dragging {
    cursor: grabbing;
    transform: translateY(-50%) scale(1.2);
    opacity: 1 !important;
}

.progress-container:hover .progress-handle {
    opacity: 1;
}

.time-display {
    color: white;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 12px;
    font-weight: 500;
    min-width: 80px;
    text-align: center;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    flex-shrink: 0;
}

.volume-container {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    position: relative;
}

/* Добавляем контейнер для слайдера для лучшего контроля */
.volume-slider-container {
    position: relative;
    width: 60px;
    height: 20px;
    display: flex;
    align-items: center;
}

/* Если нужен дополнительный фон */
.volume-slider-bg {
    position: absolute;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

/* .volume-slider-bg:hover {
    height: 6px;
} */

/* ИСПРАВЛЕННЫЕ СТИЛИ ДЛЯ СЛАЙДЕРА ГРОМКОСТИ */
.volume-slider {
    width: 60px;
    padding: 0;
    height: 4px;
    background: linear-gradient(to right, #CC001E 0%, #CC001E var(--volume-percentage, 100%), rgba(255, 255, 255, 0.2) var(--volume-percentage, 100%), rgba(255, 255, 255, 0.2) 100%);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    transition: all 0.2s ease;
    position: relative;
    --volume-percentage: 100%;
}

/* .volume-slider:hover {
    height: 6px;
} */

/* Убираем встроенное фоновое заполнение */
.volume-slider::-webkit-slider-track {
    background: transparent;
    border: none;
    height: 4px;
    border-radius: 2px;
}

/* .volume-slider:hover::-webkit-slider-track {
    height: 6px;
} */

/* Ползунок для Webkit */
.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    background: #CC001E;
    border: 2px solid white;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    margin-top: -5px;
    position: relative;
    z-index: 2;
}

/* .volume-slider:hover::-webkit-slider-thumb {
    transform: scale(1.1);
    margin-top: -6px;
} */

/* Стили для Firefox */
.volume-slider::-moz-range-track {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    border: none;
}

.volume-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    background: #CC001E;
    border: 2px solid white;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    border: none;
    margin-top: 0;
}

.volume-slider::-moz-range-progress {
    height: 4px;
    background: #CC001E;
    border-radius: 2px;
}

/* Стили для Edge/IE */
.volume-slider::-ms-track {
    width: 100%;
    height: 4px;
    background: transparent;
    border-color: transparent;
    color: transparent;
    border-radius: 2px;
}

.volume-slider::-ms-fill-lower {
    background: #CC001E;
    border-radius: 2px;
}

.volume-slider::-ms-fill-upper {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
}

.volume-slider::-ms-thumb {
    width: 14px;
    height: 14px;
    background: #CC001E;
    border: 2px solid white;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    margin-top: 0;
}

/* Дополнительное исправление для Webkit */
.volume-slider::-webkit-slider-runnable-track {
    width: 100%;
    height: 4px;
    background: transparent;
    border-radius: 2px;
    border: none;
}

.volume-slider:hover::-webkit-slider-runnable-track {
    height: 6px;
}

/* Центральная кнопка play */
.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(204, 0, 30, 0.95);
    color: white;
    border: none;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
    pointer-events: all;
    box-shadow: 0 8px 24px rgba(204, 0, 30, 0.4);
    backdrop-filter: blur(4px);
    z-index: 2;
}

/* Позиционирование иконок */
.play-overlay-btn-icon {
    transform: translate(0px, -1px);
}

.play-overlay-btn-icon.pause-icon {
    transform: translate(1px, -2px);
}

.play-pause-btn-icon.play-icon {
    transform: translate(0px, -1px);
}

.play-pause-btn-icon.pause-icon {
    transform: translate(-1px, -2px);
}

.fullscreen-btn-icon.fullscreen-enter {
    transform: translate(-1px, -1px);
}

.volume-btn-icon {
    transform: translate(-1px, -1px);
}

.play-overlay .pause-icon {
    font-size: 24px;
}

.video-ds-art.playing .play-overlay {
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.8);
}

.play-overlay:hover {
    background: rgba(204, 0, 30, 1);
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 12px 32px rgba(204, 0, 30, 0.6);
}

/* СТИЛИ ДЛЯ ПОСТЕРА */
.video-poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    transition: opacity 0.3s ease;
    cursor: pointer;
    border-radius: inherit;
}

/* Скрываем постер при воспроизведении */
.video-ds-art.playing .video-poster {
    opacity: 0;
    pointer-events: none;
}

/* Показываем постер при паузе */
.video-ds-art.paused .video-poster {
    opacity: 1;
    pointer-events: all;
}

/* Постер скрывается при загрузке */
.video-ds-art.loading .video-poster {
    opacity: 0.8;
}

/* Эффект при наведении на постер */
.video-poster:hover {
    opacity: 0.9;
}

.scroll-pause-indicator {
    position: absolute;
    top: 24px;
    right: 24px;
    background: rgba(204, 0, 30, 0.95);
    color: white;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 500;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    z-index: 4;
}

.scroll-pause-indicator.show {
    opacity: 1;
    transform: translateY(0);
}

/* Fullscreen стили */
.video-ds-art:fullscreen {
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-ds-art:fullscreen video {
    width: 100vw;
    height: 100vh;
    object-fit: contain;
}

.video-ds-art:fullscreen .video-controls {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 30px;
    height: 80px;
    font-size: 16px;
}

.video-ds-art:fullscreen .play-pause-btn, 
.video-ds-art:fullscreen .volume-btn,
.video-ds-art:fullscreen .fullscreen-btn {
    width: 48px;
    height: 48px;
    font-size: 18px;
}

.video-ds-art:fullscreen .time-display {
    font-size: 16px;
    min-width: 120px;
}

.video-ds-art:fullscreen .volume-slider {
    width: 100px;
}

.video-ds-art:fullscreen .progress-container {
    height: 8px;
}

.video-ds-art:fullscreen .progress-container:hover {
    height: 12px;
}

.video-ds-art:fullscreen .progress-handle {
    width: 20px;
    height: 20px;
    right: -10px;
}

.video-ds-art:fullscreen .video-poster {
    border-radius: 0;
}

/* Индикатор загрузки */
.loading-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    display: none;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.8);
    padding: 12px 20px;
    border-radius: 8px;
    backdrop-filter: blur(4px);
    z-index: 4;
}

.video-ds-art.loading .loading-indicator {
    display: flex;
}

.loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid #CC001E;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Уведомления о действиях */
.action-notification {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 4;
}

.action-notification.show {
    opacity: 1;
}

/* Индикатор буферизации */
.buffer-indicator {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.buffer-bar {
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    width: 0%;
    transition: width 0.3s ease;
}

.video-ds-art.buffering .buffer-indicator {
    opacity: 1;
}

/* Автоскрытие курсора в полноэкране */
.video-ds-art:fullscreen.hide-cursor {
    cursor: none;
}

.video-ds-art:fullscreen.hide-cursor * {
    cursor: none;
}

/* Hover preview для прогресс-бара */
.progress-preview {
    position: absolute;
    bottom: 100%;
    left: 0;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(-50%) translateY(-5px);
    transition: opacity 0.2s ease;
    pointer-events: none;
    z-index: 100;
}

.progress-container:hover .progress-preview {
    opacity: 1;
}

/* Z-index иерархия */
.video-ds-art video {
    z-index: 0;
}

.video-poster {
    z-index: 1;
}

.play-overlay {
    z-index: 2;
}

.video-controls {
    z-index: 3;
}

.loading-indicator,
.action-notification,
.scroll-pause-indicator {
    z-index: 4;
}

/* Responsive */
@media (max-width: 768px) {
    .video-ds-art {
        border-radius: 8px;
    }
    
    .play-overlay {
               width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .controls-row {
        gap: 10px;
    }
    
    .play-pause-btn, .volume-btn, .fullscreen-btn {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .volume-slider {
        width: 50px;
    }
    
    .video-controls {
        padding: 10px 12px;
        height: 50px;
    }
    
    .time-display {
        font-size: 11px;
        min-width: 70px;
    }
    
    .video-poster {
        border-radius: 8px;
    }
    
    .video-ds-art:fullscreen .video-poster {
        border-radius: 0;
    }
}

/* Плавные переходы для кнопок */
button, .progress-container, .volume-slider {
    user-select: none;
}

/* Эффект ripple для кнопок */
.play-pause-btn::after, .volume-btn::after, .fullscreen-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
}

.play-pause-btn:active::after, .volume-btn:active::after, .fullscreen-btn:active::after {
    width: 100px;
    height: 100px;
}

/* Дополнительные стили для улучшения UX */
.video-ds-art {
    isolation: isolate;
}

.video-ds-art * {
    box-sizing: border-box;
}

/* Улучшенная анимация загрузки */
.video-ds-art.loading .play-overlay {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.05);
        opacity: 0.8;
    }
}

/* Стили для ошибок */
.error-icon {
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Accessibility improvements */
.video-controls button:focus {
    outline: 2px solid #CC001E;
    outline-offset: 2px;
}

.volume-slider:focus {
    outline: 2px solid #CC001E;
    outline-offset: 2px;
}

/* Улучшения для темной темы */
@media (prefers-color-scheme: dark) {
    .action-notification,
    .loading-indicator,
    .scroll-pause-indicator {
        background: rgba(0, 0, 0, 0.9);
    }
}

/* Стили для уменьшенной анимации */
@media (prefers-reduced-motion: reduce) {
    .video-ds-art,
    .video-controls,
    .play-overlay,
    .progress-handle,
    .volume-slider,
    .action-notification,
    .loading-indicator,
    .scroll-pause-indicator,
    .video-poster {
        transition: none !important;
        animation: none !important;
    }
    
    .loading-spinner {
        animation: none !important;
        border: 2px solid #CC001E;
    }
}
@media (max-width: 1200px){
    .item-cms-dvishok__conts {
    flex-direction: column;
    align-items: start;
    gap: 5px;
}
.item-cms-dvishok__conts img {
    width: 50px;
    height: 50px;
}
}

.pag .uslugi-custom__arrow{
  display: flex !important;
  justify-content:center;align-items: center;
}

@media (max-width: 991px){
    .play-icon svg {
    width: 20px;
    height: 20px;
}
.volume-btn-icon svg {
    width: 20px;
    height: 20px;
}

.play-overlay-btn-icon {
    transform: translate(0px, -1px);
}
}

.video-ds-art video {
    max-height: 600px;
    object-fit: cover;
}
@media (max-width: 991px){
    .video-ds-art video {
    max-height: 350px;
    object-fit: cover;
}
}