@charset "UTF-8";

.title-new h1 {
  font-size: clamp(25px, 1.3888888889vw + 20px, 40px);
  color: #fff;
  text-transform: uppercase;
  max-width: 650px;
  line-height: 1.4;
}

.global-dvishok {
  overflow: hidden;
  padding: 0 0 320px 0;
  margin: 0 0 -200px 0;
}

@media (max-width: 1100px) {
  .global-dvishok {
    padding: 25px 0 145px 0;
    margin: 0 0 0px 0;
  }
}

@media (max-width: 1000px) {
  .global-dvishok {
    overflow: visible;
  }
}

@media (max-width: 650px) {
  .global-dvishok {
    padding: 0 0 25px 0;
    margin: 0 0 0px 0;
  }
}

@media (min-width: 1100px) {
  .tabs-dvishok-conts h3 {
    font-size: 28px;
  }
}

.global-dvishok__content {
  display: flex;
  background: linear-gradient(101.32deg, #1D1D1D 100%, #CC001E 100%);
  padding: 40px;
  border-radius: 40px;
  box-shadow: 0px 20px 30px 0px rgba(0, 0, 0, 0.3019607843);
  background-color: #1D1D1D;
  position: relative;
}

@media (max-width: 1100px) {
  .global-dvishok__content {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .global-dvishok__content {
    padding: 20px;
    border-radius: 25px;
  }
}

.global-dvishok__column {
  flex: 1 1 auto;
}

@media (max-width: 1250px) {
  .global-dvishok__cont {
    max-width: 500px;
  }
}

@media (max-width: 1100px) {
  .global-dvishok__cont {
    max-width: 100%;
  }
}

@media (max-width: 991px) {
  .global-dvishok__cont {
    display: contents;
  }

  .global-dvishok__title {
    order: 1;
  }
}

.global-dvishok__desp {
  margin-top: 25px;
  max-width: 650px;
}

@media (max-width: 991px) {
  .global-dvishok__desp {
    order: 3;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .global-dvishok__desp {
    margin-top: 12px;
  }
}

.global-dvishok__btns {
  display: flex;
  margin-top: 60px;
  gap: 30px;
}

@media (max-width: 991px) {
  .global-dvishok__btns {
    order: 4;
    align-self: center;
  }
}

@media (max-width: 768px) {
  .global-dvishok__btns {
    margin-top: 24px;
    gap: 20px;
    flex-direction: column;
    width: 100%;
  }
}

.global-dvishok__btn a {
  min-width: 217px;
}

.global-dvishok__image {
  max-width: 600px;
  position: absolute;
  top: 0%;
  right: -5%;
}

@media (max-width: 1300px) {
  .global-dvishok__image {
    max-width: 450px;
    right: -1%;
  }
}

@media (max-width: 1100px) {
  .global-dvishok__image {
    right: -18%;
    /* position: relative;
    max-width: 350px;
    top: 0;
    right: auto;
    left: 50%;
    transform: translate(-50%, 0);
    margin-top: 24px;
    margin-bottom: -200px; */
  }
}

@media (max-width: 991px) {
  .global-dvishok__image {
    position: relative;
    top: unset;
    right: unset;
    left: unset;
    display: flex !important;
    order: 2;
    align-self: center;
    max-width: 450px;
  }
}

@media (max-width: 768px) {
  .global-dvishok__image {
    max-width: 320px;
    margin-top: 34px;
    margin-bottom: -110px;
  }
}

.animated-border {
  position: relative;
}

@media (max-width: 768px) {
  .global-dvishok__content {
    background: linear-gradient(163.8deg, #1D1D1D 100%, #CC001E 88.74%);
  }
}

.animated-border::before {
  content: "";
  position: absolute;
  top: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(101.32deg, #1D1D1D 50.24%, #CC001E 100%);
  z-index: 0;
  opacity: 0;
  transition: all 0.8s ease;
  pointer-events: none;
  border-radius: 42px;
  width: 0;
}

@media (max-width: 768px) {
  .animated-border::before {
    background: linear-gradient(163.8deg, #1D1D1D 46.1%, #CC001E 88.74%);
    border-radius: 25px;
    width: 100%;
  }
}

.animated-border._active::before {
  opacity: 1;
  width: 100%;
}

/* Уникальная анимация для главного изображения */
.image-hero-reveal {
  display: block;
  position: relative;
  opacity: 0;
  transform: translateY(80px) scale(0.9);
  filter: brightness(0.7) blur(5px);
  transition: all 1.2s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform, opacity, filter;
}

.image-hero-reveal::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(204, 0, 30, 0.3) 0%, transparent 100%);
  opacity: 0;
  z-index: 2;
  transition: opacity 1.5s ease;
  pointer-events: none;
}

.image-hero-reveal._active {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: brightness(1) blur(0);
  animation: floatAnimation 6s ease-in-out infinite;
}

.image-hero-reveal._active::before {
  opacity: 1;
  animation: gradientPulse 8s ease-in-out infinite alternate;
}


@keyframes floatAnimation {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }

  100% {
    transform: translateY(0);
  }
}


@keyframes gradientPulse {
  0% {
    background: linear-gradient(135deg, rgba(204, 0, 30, 0.2) 0%, transparent 100%);
  }

  50% {
    background: linear-gradient(135deg, rgba(204, 0, 30, 0.4) 0%, rgba(204, 0, 30, 0.1) 100%);
  }

  100% {
    background: linear-gradient(135deg, rgba(204, 0, 30, 0.2) 0%, transparent 100%);
  }
}

.tip-dvishok {
  padding: 50px 0;
  overflow: hidden;
}

@media (max-width: 991px) {
  .tip-dvishok {
    padding: 25px 0;
  }
}

@media (min-width: 991px) {
  .tip-dvishok .tip-dvishok-dvishok__pags {
    display: none;
  }
}

.tip-dvishok__top {
  text-align: center;
  max-width: 1080px;
  margin: 0 auto;
}

.tip-dvishok__desp {
  margin-top: 25px;
  margin-bottom: 50px;
}

@media (max-width: 768px) {
  .tip-dvishok__desp {
    margin-bottom: 0px;
    margin-top: 12px;
  }
}

@media (min-width: 991px) {
  .tip-dvishok__content {
    display: flex;
    margin: -20px;
    position: relative;
    flex-wrap: wrap;
  }
}

@media (min-width: 991px) and (max-width: 991px) {
  .tip-dvishok__content {
    margin: -10px;
  }
}

@media (min-width: 991px) and (max-width: 768px) {
  .tip-dvishok__content {
    flex-direction: column;
    margin: 0px;
  }
}

.tip-dvishok__item {
  padding: 0 50px 50px 50px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

@media (max-width: 1250px) {
  .tip-dvishok__item {
    padding: 0 25px 25px 25px;
  }
}

@media (max-width: 768px) {
  .tip-dvishok__item {
    padding: 14px 0px;
  }
}

.tip-dvishok__column {
  position: relative;
  height: auto !important;
}

.tip-dvishok__column::before {
  content: "";
  position: absolute;
  width: 1px;
  height: 100%;
  top: 0;
  right: 0;
  background-color: #CC001E;
}

@media (max-width: 768px) {
  .tip-dvishok__column::before {
    display: none;
  }
}

.tip-dvishok__column:nth-child(even)::before {
  content: "";
  display: none;
}

.tip-dvishok__column::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  bottom: 0;
  right: 0;
  background-color: #CC001E;
}

@media (min-width: 991px) {
  .tip-dvishok__column {
    flex: 0 1 50%;
    padding: 0 20px 20px 20px;
  }
}

@media (min-width: 991px) and (max-width: 991px) {
  .tip-dvishok__column {
    padding: 0 10px 10px 10px;
  }
}

@media (min-width: 991px) and (max-width: 768px) {
  .tip-dvishok__column {
    padding: 10px 0px;
  }
}

@media (min-width: 991px) {
  .tip-dvishok__column:nth-child(n+3) {
    padding: 20px;
  }
}

@media (min-width: 991px) and (max-width: 991px) {
  .tip-dvishok__column:nth-child(n+3) {
    padding: 10px;
  }
}

@media (min-width: 991px) and (max-width: 768px) {
  .tip-dvishok__column:nth-child(n+3) {
    padding: 10px 0px;
  }
}

@media (min-width: 991px) {
  .tip-dvishok__column:nth-child(n+3) .tip-dvishok__item {
    padding: 50px;
  }
}

@media (min-width: 991px) and (max-width: 1250px) {
  .tip-dvishok__column:nth-child(n+3) .tip-dvishok__item {
    padding: 25px 25px 25px 25px;
  }
}

@media (min-width: 991px) and (max-width: 768px) {
  .tip-dvishok__column:nth-child(n+3) .tip-dvishok__item {
    padding: 14px 0;
  }
}

@media (min-width: 991px) {

  .tip-dvishok__column:last-child::after,
  .tip-dvishok__column:nth-last-child(2)::after {
    content: "";
    display: none;
  }

  .tip-dvishok__column:nth-last-child(2)::after {
    content: "";
  }
}

@media (min-width: 991px) and (max-width: 768px) {
  .tip-dvishok__column:nth-last-child(2)::after {
    display: block;
  }
}

@media (min-width: 991px) and (max-width: 650px) {
  .tip-dvishok__column:last-child {
    padding: 10px 0 0 0;
  }

  .tip-dvishok__column:last-child .tip-dvishok__item.item-tip-dvishok {
    padding: 14px 0 0 0;
  }
}

.item-tip-dvishok__cont {
  flex: 1 1 auto;
}

.item-tip-dvishok__icon {
  background: #1D1D1D;
  width: 70px;
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 20px;
}

@media (max-width: 768px) {
  .item-tip-dvishok__icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
  }

  .item-tip-dvishok__icon svg {
    width: 42px;
    height: 42px;
  }
}

.item-tip-dvishok__title {
  display: block;
  margin-top: 20px;
}

@media (max-width: 768px) {
  .item-tip-dvishok__title {
    margin-top: 15px;
  }
}

.item-tip-dvishok__desp {
  margin-top: 20px;
}

@media (max-width: 768px) {
  .item-tip-dvishok__desp {
    margin-top: 10px;
  }
}

.item-tip-dvishok__desp p {
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .item-tip-dvishok__desp p {
    margin-bottom: 15px;
  }
}

.item-tip-dvishok__desp p:last-child {
  margin-bottom: 0px;
}

.bottom-item-tip {
  margin-top: 30px;
}

@media (max-width: 768px) {
  .bottom-item-tip {
    margin-top: 10px;
  }
}

.bottom-item-tip__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: "Geometria-Bold";
  font-size: 16px;
  font-weight: 700;
  gap: 20px;
  background-color: #1D1D1D;
  border-radius: 15px;
  padding: 20px 25px;
}

@media (max-width: 768px) {
  .bottom-item-tip__top {
    padding: 20px 18px;
  }
}

@media (max-width: 1250px) {
  .bottom-item-tip__top {
    flex-direction: column;
    align-items: start;
  }
}

.bottom-item-tip__text {
  color: #CC001E;
  text-decoration: underline;
}

@media (min-width: 991px) {
  .bottom-item-tip__text:hover {
    text-decoration: none;
  }
}

.bottom-item-tip__set {
  color: rgba(255, 255, 255, 0.3019607843);
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.bottom-item-tip__set svg {
  transition: all 0.4s ease 0s;
}

.bottom-item-tip__set._active svg {
  transform: scale(1, -1);
}

.why-dvishok {
  padding: 50px 0;
  overflow: hidden;
  padding: 50px 0 550px 0;
  margin: 0 0 -500px 0;
}

@media (max-width: 991px) {
  .why-dvishok {
    padding: 25px 0 525px 0;
    margin: 0 0 -500px 0;
  }
}

.why-dvishok__content {
  display: flex;
  margin: -30px;
  align-items: center;
  position: relative;
  z-index: 2;
}

@media (max-width: 991px) {
  .why-dvishok__content {
    margin: -15px;
  }
}

@media (max-width: 850px) {
  .why-dvishok__content {
    flex-direction: column;
    align-items: start;
    margin: -10px;
  }
}

.why-dvishok__column {
  padding: 30px;
  flex: 0 1 50%;
}

@media (max-width: 991px) {
  .why-dvishok__column {
    padding: 15px;
  }
}

@media (max-width: 850px) {
  .why-dvishok__column {
    padding: 10px;
  }
}

.why-dvishok__image {
  border-radius: 30px;
  overflow: hidden;
}

@media (max-width: 850px) {
  .why-dvishok__image {
    border-radius: 20px;
  }
}

.why-dvishok__desp {
  margin-top: 25px;
}

@media (max-width: 850px) {
  .why-dvishok__desp {
    margin-top: 12px;
  }
}

.why-dvishok__swiper {
  margin-top: 50px;
  overflow: hidden;
  position: relative;
  z-index: 2;
}

@media (max-width: 850px) {
  .why-dvishok__swiper {
    margin-top: 24px;
  }
}

.why-dvishok .pag {
  max-width: 500px;
  margin: 0 auto;
  padding: 24px 0 0 0;
}

.why-dvishok .cirle-blur .cirle-blur-elem {
  top: 400px;
}

.why-dvishok-item {
  box-shadow: 0px 10px 40px 0px rgba(0, 0, 0, 0.2);
  background: #1D1D1D;
  padding: 30px;
  border-radius: 30px;
}

@media (max-width: 991px) {
  .why-dvishok-item {
    padding: 20px;
    border-radius: 20px;
  }
}

.why-dvishok-item__icon img {
  width: 70px;
  height: 70px;
}

@media (max-width: 991px) {
  .why-dvishok-item__icon img {
    width: 60px;
    height: 60px;
  }
}

.why-dvishok-item__title {
  margin-top: 20px;
}

.why-dvishok-item__desp {
  margin-top: 20px;
}

@media (max-width: 850px) {
  .why-dvishok-item__desp {
    margin-top: 10px;
  }
}

.itap-dvishok {
  padding: 50px 0;

}

@media (max-width: 1350px) {
  .itap-dvishok {

    overflow: hidden;
  }
}

@media (max-width: 991px) {
  .itap-dvishok {
    padding: 25px 0;
  }
}

.itap-dvishok__top {
  display: flex;
  gap: 60px;
}

@media (max-width: 991px) {
  .itap-dvishok__top {
    flex-direction: column;
    gap: 6px;
  }
}

.itap-dvishok__top .itap-dvishok__text {
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  font-family: "Geometria-Light";
  font-size: clamp(20px, 1.8518518519vw + 13.3333333333px, 40px);
}

@media (min-width: 991px) {
  .itap-dvishok__top .itap-dvishok__text {
    flex: 0 0 400px;
  }
}

.itap-dvishok__desp {
  margin-top: 25px;
}

@media (max-width: 991px) {
  .itap-dvishok__desp {
    margin-top: 12px;
  }
}

.itap-dvishok__content {
  margin-top: 40px;
  display: flex;
  gap: 80px;
}

@media (max-width: 1250px) {
  .itap-dvishok__content {
    gap: 35px;
  }
}

@media (max-width: 991px) {
  .itap-dvishok__content {
    margin-top: 15px;
    flex-direction: column;
    gap: 10px;
  }
}

.itap-dvishok__column {
  flex: 1 1 auto;
}

@media (min-width: 991px) {
  .itap-dvishok__column:first-child {
    flex: 0 0 400px;
  }
}

.itap-dvishok__column:last-child {
  margin-top: 20px;
}

@media (min-width: 1100px) {
  .itap-dvishok__item {
    position: sticky;
    top: 180px;
  }
}

.itap-dvishok__column:last-child .itap-dvishok__item {
  box-shadow: 0px 10px 40px 0px rgba(0, 0, 0, 0.2);
  background: #1D1D1D;
  padding: 30px 40px;
  border-radius: 30px;
}

@media (max-width: 650px) {
  .itap-dvishok__column:last-child .itap-dvishok__item {
    padding: 20px;
    border-radius: 20px;
  }
}

.itap-dvishok__btns {
  display: flex;
  gap: 30px;
  margin-top: 50px;
}

@media (max-width: 991px) {
  .itap-dvishok__btns {
    margin-top: 24px;
  }
}

@media (max-width: 550px) {
  .itap-dvishok__btns {
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 991px) {
  .tabs-dvishok {
    display: flex;
    white-space: nowrap;
    gap: 0px;
    overflow: auto;
    padding: 0;
    border-radius: 0px;
    background: rgba(255, 255, 255, 0);
    box-shadow: none;
    position: relative;
  }
}

.tabs-dvishok__item:last-child .tabs-dvishok__tab {
  border-bottom: none;
}

@media (max-width: 991px) {
  .tabs-dvishok__item {
    padding: 0 20px 0 0;
    position: relative;
  }

  .tabs-dvishok__item::before {
    content: "";
    background-color: rgba(255, 255, 255, 0.3019607843);
    position: absolute;
    min-width: 100%;
    width: 100%;
    height: 1px;
    bottom: 0;
    left: 0;
    z-index: 2;
  }

  .tabs-dvishok__item .tabs-dvishok__tab._active {
    position: relative;
  }

  .tabs-dvishok__item .tabs-dvishok__tab._active::before {
    content: "";
    background-color: #CC001E;
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: -1px;
    left: 0;
    z-index: 3;
  }
}

.tabs-dvishok__tab {
  border-bottom: 1px solid rgba(255, 255, 255, 0.3019607843);
  padding: 25px 0;
  color: #FFFFFF;
  font-family: "Geometria-Light";
  cursor: pointer;
  transition: all 0.4s ease 0s;
}

@media (max-width: 991px) {
  .tabs-dvishok__tab {
    border-bottom: 1px solid rgba(255, 255, 255, 0);
    padding: 15px 0;
    font-size: 14px;
  }
}

@media (min-width: 991px) {
  .tabs-dvishok__tab:hover {
    color: #CC001E;
    border-bottom: 1px solid #CC001E;
  }
}

.tabs-dvishok__tab._active {
  color: #CC001E;
  border-bottom: 1px solid #CC001E;
}

.tabs-dvishok-content__tab {
  display: none;
}

.tabs-dvishok-content__tab._active {
  display: block;
}

.tabs-dvishok-content__itap {
  font-size: clamp(18px, calc(0.9259vw + 14.6667px), 28px);
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  margin-bottom: 20px;
  font-family: "TTNorms-Bold";
}

@media (max-width: 1350px) {
  .tabs-dvishok-content__itap {
    margin-bottom: 150px;
  }
}

.tabs-dvishok-content__cont h2 {
  font-size: clamp(20px, 1.3888888889vw + 15px, 35px);
  color: #FFFFFF;
  line-height: 1.2;
  text-transform: uppercase;
  margin-bottom: 20px;
}

@media (max-width: 650px) {
  .tabs-dvishok-content__cont h2 {
    margin-bottom: 15px;
  }
}

.tabs-dvishok-content__cont h3 {
  font-size: clamp(18px, 0.9259259259vw + 14.6666666667px, 28px);
  color: #FFFFFF;
  line-height: 1.2;
  text-transform: uppercase;
  margin-bottom: 20px;
}

@media (max-width: 650px) {
  .tabs-dvishok-content__cont h3 {
    margin-bottom: 15px;
  }
}

.tabs-dvishok-content__cont p {
  margin-bottom: 20px;
}

@media (max-width: 650px) {
  .tabs-dvishok-content__cont p {
    margin-bottom: 15px;
  }
}

.tabs-dvishok-content__cont ul {
  margin: 0 0 20px 20px;
}

@media (max-width: 650px) {
  .tabs-dvishok-content__cont ul {
    margin-bottom: 15px;
  }
}

/* Основные стили для табов */
.itap-dvishok__content {
  position: relative;
}

.tabs-dvishok__tab {
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Стили для контента табов */
.tabs-dvishok-content__tab {
  position: relative;
  transition: opacity 0.3s ease, transform 0.3s ease;
  will-change: transform, opacity;
}

.tabs-dvishok-conts {
  max-width: 510px;
  margin-bottom: 20px;
}

.tabs-dvishok-conts h3 {
  margin-bottom: 20px;
}

.tabs-dvishok-conts h3:last-child {
  margin-bottom: 0px;
}

.tabs-dvishok-conts h2 {
  margin-bottom: 20px;
}

.tabs-dvishok-conts h2:last-child {
  margin-bottom: 0px;
}

.tabs-dvishok-conts p {
  margin-bottom: 20px;
  font-size: 20px;
  color: #CC001E;
  text-transform: uppercase;
  font-weight: 700;
}

@media (max-width: 650px) {
  .tabs-dvishok-conts p {
    font-size: 16px;
  }
}

.tabs-dvishok-conts p:last-child {
  margin-bottom: 0px;
}

.tabs-dvishok-content__image {
  position: absolute;
  top: -135px;
  right: -15%;
}

@media (min-width: 1100px) {
  .tabs-dvishok-conts {
    min-height: 115px;
  }
}

@media (max-width: 1700px) {
  .tabs-dvishok-content__image {
    right: -15%;
  }
}

.tabs-dvishok-content__image img {
  max-height: 360px;
  max-width: 400px;
}

@media (max-width: 1600px) {
  .tabs-dvishok-content__image {
    display: block;
    right: -5%;
    top: -8%;
  }

  .tabs-dvishok-content__image img {
    max-width: 300px;
  }
}

@media (max-width: 991px) {
  .tabs-dvishok-content__image {
    top: -90px;
  }

  .tabs-dvishok-content__image img {
    max-width: 170px;
  }
}

@media (max-width: 991px) {
  .itap-dvishok__column:last-child {
    margin-top: 70px;
  }

  .tabs-dvishok-content__itap {
    margin-bottom: 40px;
  }
}

/* Начальное состояние неактивных табов */
.tabs-dvishok-content__tab:not(._active) {
  display: none;
  opacity: 0;
  transform: translateY(15px);
}

/* Состояние активного таба */
.tabs-dvishok-content__tab._active {
  opacity: 1;
  transform: translateY(0);
}

/* Анимация для спойлеров */
.mob-spoller {
  transition: max-height 0.4s ease;
}

.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 {
  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 .item-cms-dvishok__cont {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-align: center;
}

.cms-dvishok-three .cms-dvishok__item .item-cms-dvishok__cont .item-cms-dvishok__title h3 {
  font-size: 17px;
}

.cms-dvishok-three .item-cms-dvishok__desp {
  margin-top: 12px;
  flex: 1 1 auto;
}

.cms-dvishok-three .item-cms-dvishok__link {
  border: 2px solid #CC001E;
}

.cms-dvishok-three .uslugi-custom__pags {
  margin-top: 40px;
}

.prise-dvishok {
  padding: 50px 0 350px 0;
  margin: 0 0 -300px 0;
  overflow: hidden;
  position: relative;
  z-index: 5;
}

@media (max-width: 991px) {
  .prise-dvishok {
    padding: 25px 0 325px 0;
    margin: 0 0 -300px 0;
  }
}

.prise-dvishok__top {
  max-width: 920px;
  text-align: left;
  position: relative;
  z-index: 2;
}

.prise-dvishok .cirle-blur .cirle-blur-elem {
  right: auto;
  left: 200px;
  top: auto;
  bottom: 100px;
}

.prise-dvishok__desp {
  margin-top: 20px;
}

@media (max-width: 991px) {
  .prise-dvishok__desp {
    margin-top: 12px;
  }
}

.prise-dvishok__content {
  padding-top: 50px;
  display: flex;
  margin: -20px;
  position: relative;
  z-index: 2;
}

@media (max-width: 1200px) {
  .prise-dvishok__content {
    margin: -10px;
    padding-top: 24px;
    margin: -10px -10px -10px -10px;
  }
}

.prise-dvishok__column {
  padding: 20px;
  flex: 0 1 33.333%;
}

@media (max-width: 1200px) {
  .prise-dvishok__column {
    padding: 10px;
  }
}

.prise-dvishok__column:last-child .item-prise-dvishok {
  border: 3px solid #CC001E;
}

.prise-dvishok__item {
  min-width: 280px;
}

.item-prise-dvishok {
  box-shadow: 0px 10px 40px 0px rgba(0, 0, 0, 0.2);
  background: #1D1D1D;
  padding: 25px 25px;
  border-radius: 30px;
}

@media (max-width: 850px) {
  .item-prise-dvishok {
    padding: 16px;
    border-radius: 25px;
  }
}

.item-prise-dvishok__title {
  text-align: left;
  min-height: 62px;
}


.item-prise-dvishok__title h3 {
  font-size: clamp(20px, 0.1851851852vw + 19.3333333333px, 22px);
  color: #FFFFFF;
  line-height: 1.3;
  text-transform: uppercase;
  text-align: left;
  display: inline;
}

@media (max-width: 650px) {
  .item-prise-dvishok__title {
    max-height: unset;
  }

  .item-prise-dvishok__title h3 {
    max-width: 237px;
  }
}

.item-prise-dvishok__title-two {
  padding: 50px 0 0 0;
  position: relative;
}

.item-prise-dvishok__title-two::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  top: 25px;
  left: 0;
  background-color: #CC001E;
}

.item-prise-dvishok__title-two h3 {
  font-size: clamp(14px, 0.3703703704vw + 12.6666666667px, 18px);
  color: #FFFFFF;
  font-family: "Geometria-Bold";
  line-height: 1.2;
  text-transform: uppercase;
  text-align: left;
}

.item-prise-dvishok__list ul li {
  margin-top: 15px;
  padding: 0 0 0 20px;
  position: relative;
  color: #FFFFFF;
  font-family: "Geometria-Light";
  font-size: 16px;
  line-height: 1.3;
}

@media (max-width: 1200px) {
  .item-prise-dvishok__list ul li {
    font-size: 12px;
    padding: 0 0 0 15px;
  }
}

.item-prise-dvishok__list ul li::before {
  content: "";
  position: absolute;
  width: 2px;
  height: 100%;
  top: 0;
  left: 0;
  background-color: #CC001E;
}

.item-prise-dvishok__prise-global {
  background: #2B2B2B;
  padding: 20px;
  border-radius: 20px;
  margin-top: 20px;
}

@media (max-width: 1200px) {
  .item-prise-dvishok__prise-global {
    margin-top: 25px;
    padding: 16px;
  }
}

.item-prise-dvishok .item-prise-dvishok__btn {
  margin-top: 30px;
  text-transform: uppercase;
}

@media (max-width: 650px) {
  .item-prise-dvishok .item-prise-dvishok__btn {
    margin-top: 20px;
  }
}

.item-prise-dvishok .item-prise-dvishok__btn button {
  max-width: 100%;
  width: 100%;
}

.item-prise-dvishok__text {
  color: #FFFFFF;
  font-family: "Geometria-Light";
  line-height: 1.4;
}

@media (max-width: 650px) {
  .item-prise-dvishok__text {
    font-size: 13px;
  }
}

.item-prise-dvishok__optimal {
  margin-top: 25px;
  max-width: 325px;
}

@media (max-width: 650px) {
  .item-prise-dvishok__optimal {
    max-width: 210px;
  }
}

.item-prise-dvishok__optimal h3 {
  display: inline;
  font-size: clamp(14px, 0.3703703704vw + 12.6666666667px, 18px);
  color: #FFFFFF;
  line-height: 1.2;
  text-transform: uppercase;
  text-align: left;
  font-family: "Geometria-Bold";
}

.tooltip-dvishok {
  display: inline-block;
  position: relative;
}

@media (min-width: 1200px) {
  .tooltip-dvishok:hover .tooltip-dvishok__content {
    opacity: 1;
    top: 0;
    pointer-events: all;
    transition: all 0.4s ease 0s;
  }
}

.tooltip-dvishok__icon {
  transform: translate(0, 3px);
  cursor: pointer;
}

.tooltip-dvishok__content {
  opacity: 0;
  padding: 40px 0 0 0;
  pointer-events: none;
  position: absolute;
  width: 220px;
  height: auto;
  top: 25px;
  left: -20px;
  z-index: 4;
  transition: all 0.4s ease 0.3s;
}

.tooltip-dvishok__content .tooltip-dvishok__content-global {
  box-shadow: 0px 5px 20px 0px rgba(0, 0, 0, 0.4);
  border: 1px solid #CC001E;
  border-radius: 15px;
  background: #2B2B2B;
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.3;
  font-family: "Geometria-Light";
  color: #fff;
}

.tooltip-dvishok__content p {
  margin-bottom: 10px;
}

.tooltip-dvishok__content p:last-child {
  margin-bottom: 0px;
}

.tooltip-dvishok._active .tooltip-dvishok__content {
  opacity: 1;
  top: 0;
  pointer-events: all;
  transition: all 0.4s ease 0s;
}

.item-prise-dvishok__prise {
  font-size: 32px;
  font-weight: 700;
  font-family: "Geometria-Bold";
  margin-top: 10px;
  color: #FFFFFF;
}

@media (max-width: 650px) {
  .item-prise-dvishok__prise {
    font-size: 28px;
    margin-top: 8px;
  }
}

.item-prise-dvishok__rows {
  display: flex;
  margin-top: 20px;
  gap: 10px;
  align-items: end;
  justify-content: space-between;
}

@media (max-width: 650px) {
  .item-prise-dvishok__rows {
    margin-top: 10px;
  }
}

.item-prise-dvishok__row {
  font-family: "Geometria-Light";
  color: #FFFFFF;
  line-height: 1.5;
}

@media (max-width: 650px) {
  .item-prise-dvishok__row {
    font-size: 14px;
  }
}

.text-red {
  font-weight: 700;
  font-family: "Geometria-Bold";
  color: #CC001E;
  white-space: nowrap;
}

@media (max-width: 1200px) {
  .prise-dvishok__content-globals {
    overflow-y: hidden;
    margin: 0 -20px -300px 0;
    padding: 0 0 300px 0;
  }
}

@media (max-width: 991px) {
  .prise-dvishok .cirle-blur .cirle-blur-elem {
    bottom: 600px;
  }
}

.portfolio-dvishok {
  padding: 50px 0;
  overflow: hidden;
  position: relative;
  z-index: 7;
}

@media (max-width: 991px) {
  .portfolio-dvishok {
    padding: 25px 0;
  }
}

.portfolio-dvishok .portfolio-dvishok__cont {
  display: block;
  transition: all 0.4s ease 0s;
}

@media (min-width: 991px) {
  .portfolio-dvishok .portfolio-dvishok__cont:hover {
    transform: scale(0.98);
  }

  .portfolio-dvishok .portfolio-dvishok__cont:hover .cont-portfolio-dvishok__image {
    box-shadow: -7px 0px 40px 0px rgba(204, 0, 30, 0.4);
  }
}

.portfolio-dvishok .cont-portfolio-dvishok__image {
  border-radius: 30px;
  overflow: hidden;
}

.portfolio-dvishok__title {
  max-width: 700px;
}

.portfolio-dvishok__content {
  margin-top: 40px;
  overflow: hidden;
}

@media (max-width: 650px) {
  .portfolio-dvishok__content {
    margin-top: 20px;
  }
}

.portfolio-dvishok .portfolio-dvishok__pag {
  position: relative;
  margin-top: 50px;
}

@media (max-width: 991px) {
  .portfolio-dvishok .portfolio-dvishok__pag {
    margin-top: 24px;
  }
}

.portfolio-dvishok .portfolio-dvishok__pags {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

@media (max-width: 991px) {
  .portfolio-dvishok .portfolio-dvishok__pags {
    flex-direction: column;
    align-items: start;
    gap: 30px;
  }
}

.portfolio-dvishok .portfolio-dvishok__pags .pag .uslugi-custom__arrows {
  margin-top: 0px;
}

.portfolio-dvishok .portfolio-dvishok__pags .pag {
  width: 400px;
}

@media (max-width: 650px) {
  .portfolio-dvishok .portfolio-dvishok__pags .pag {
    width: 100%;
  }
}

@media (min-width: 991px) {
  .portfolio-dvishok__btn {
    position: absolute;
    bottom: 0;
    right: 0;
  }
}

.cont-portfolio-dvishok__text h3 {
  color: #FFFFFF;
  font-weight: 400;
  font-family: "Geometria-Light";
  text-align: center;
  margin-top: 20px;
  font-size: 22px;
}

@media (max-width: 650px) {
  .cont-portfolio-dvishok__text h3 {
    margin-top: 12px;
    font-size: 14px;
  }
}

.cms-dvishok {
  overflow: hidden;
  padding: 50px 0;
}

@media (max-width: 991px) {
  .cms-dvishok {
    padding: 25px 0;
  }
}

@media (min-width: 991px) {
  .cms-dvishok .cms-dvishok-dvishok__pags {
    display: none;
  }
}

.cms-dvishok__title {
  text-align: left;
  max-width: 820px;
}

@media (max-width: 991px) {
  .cms-dvishok .cms-dvishok-dvishok__pags {
    margin: 0 0 20px 0;
  }
}

.cms-dvishok__content {
  padding-top: 50px;
}

@media (max-width: 991px) {
  .cms-dvishok__content {
    padding-top: 24px;
    padding-bottom: 14px;
  }
}

@media (min-width: 991px) {
  .cms-dvishok__content {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -60px;
    width: auto !important;
  }
}

@media (min-width: 991px) and (max-width: 1200px) {
  .cms-dvishok__content {
    margin: 0 -30px;
    padding-top: 24px;
  }
}

@media (min-width: 991px) and (max-width: 600px) {
  .cms-dvishok__content {
    padding-top: 0px;
    margin: 0 -25px;
  }
}

@media (min-width: 991px) {
  .cms-dvishok__column {
    flex: 0 1 33.333%;
    padding: 60px;
    position: relative;
  }
}

@media (min-width: 991px) and (max-width: 1200px) {
  .cms-dvishok__column {
    padding: 30px;
  }
}

@media (min-width: 991px) and (max-width: 900px) {
  .cms-dvishok__column {
    flex: 0 1 50%;
  }
}

@media (min-width: 991px) and (max-width: 600px) {
  .cms-dvishok__column {
    flex: 1 1 100%;
    padding: 25px;
  }
}

@media (min-width: 991px) {
  .cms-dvishok__column::before {
    content: "";
    background-color: #CC001E;
    position: absolute;
    width: 1px;
    height: 100%;
    top: 0;
    right: 0;
  }
}

@media (min-width: 991px) and (min-width: 900px) {
  .cms-dvishok__column {
    /* Первые три элемента */
    /* Последние три элемента */
  }

  .cms-dvishok__column:nth-child(3n)::before {
    content: "";
    display: none;
  }

  .cms-dvishok__column:nth-child(-n+3)::after {
    content: "";
    display: none;
  }

  .cms-dvishok__column:nth-child(-n+3) {
    padding: 0 60px 60px 60px;
  }
}

@media (min-width: 991px) and (min-width: 900px) and (max-width: 1200px) {
  .cms-dvishok__column:nth-child(-n+3) {
    padding: 0 30px 30px 30px;
  }
}

@media (min-width: 991px) and (min-width: 900px) {
  .cms-dvishok__column:nth-last-child(-n+3) {
    padding: 60px 60px 0px 60px;
  }
}

@media (min-width: 991px) and (min-width: 900px) and (max-width: 1200px) {
  .cms-dvishok__column:nth-last-child(-n+3) {
    padding: 30px 30px 0px 30px;
  }
}

@media (min-width: 991px) and (min-width: 600px) and (max-width: 900px) {
  .cms-dvishok__column:nth-child(-n+2)::after {
    content: "";
    display: none;
  }
}

@media (min-width: 991px) and (max-width: 600px) {
  .cms-dvishok__column:nth-child(-n+1)::after {
    content: "";
    display: none;
  }
}

@media (min-width: 991px) {
  .cms-dvishok__column::after {
    content: "";
    background-color: #CC001E;
    position: absolute;
    width: 100%;
    height: 1px;
    top: 0;
    right: 0;
  }
}

.cms-dvishok__btns {
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: center;
  margin-top: 50px;
}

@media (max-width: 600px) {
  .cms-dvishok__btns {
    margin-top: 15px;
    flex-direction: column;
    gap: 20px;
  }
}

.item-cms-dvishok__icon img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

@media (max-width: 991px) {
  .item-cms-dvishok__icon img {
    width: 65px;
    height: 65px;
  }
}

.item-cms-dvishok__title {
  margin-top: 20px;
}

@media (max-width: 991px) {
  .item-cms-dvishok__title {
    margin-top: 12px;
  }
}

.item-cms-dvishok__desp {
  margin-top: 20px;
  font-family: "Geometria-Light";
  color: #fff;
  line-height: 1.3;
}

@media (max-width: 991px) {
  .item-cms-dvishok__desp {
    margin-top: 6px;
    font-size: 14px;
  }
}

.item-cms-dvishok__link {
  background: #1D1D1D;
  display: flex;
  margin-top: 25px;
  padding: 20px 25px;
  border-radius: 15px;
  justify-content: space-between;
  align-items: center;
  color: #CC001E;
  font-size: 16px;
  font-family: "Geometria-Bold";
  transition: all 0.4s ease 0s;
}

@media (min-width: 991px) {
  .item-cms-dvishok__link:hover {
    transform: translate(0px, -5px);
    box-shadow: -7px 0px 40px 0px rgba(204, 0, 30, 0.4);
  }
}

@media (min-width: 991px) {
  .cms-dvishok .cms-dvishok-dvishok__pags {
    display: none !important;
  }
}

.rew-global .swiper-button-prevs {
  top: 50%;
  transform: translate(0, -50%);
  left: -25px;
}

.rew-global .swiper-button-nexts {
  top: 50%;
  transform: translate(0, -50%);
  right: -25px;
}

@media (max-width: 991px) {
  .rew-global .swiper-button-nexts {
    right: -10px;
  }

  .rew-global .swiper-button-prevs {
    left: -10px;
  }
}

.rew-global__content {
  position: relative;
}

.rew-global__arrows {
  position: relative;
}

.rew-global__title {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.rew-global__title.title svg {
  margin: 0 15px;
}

.slide-rew-global__conts {
  margin: 0 80px 0 0;
}

.rew-global__desp.subtitle {
  max-width: 650px;
  margin: 0 auto;
  text-align: center;
  padding: 20px 0 0 0;
}

.rew-global__content {
  margin: 80px 0 0 0;
}

.rew-global__content .uslugi-custom__pags.pag {
  padding-top: 50px;
  max-width: 500px;
  margin: 0 auto;
}

@media (max-width: 650px) {
  .rew-global__content .uslugi-custom__pags.pag {
    padding-top: 24px;
  }
}

.rew-global__content .pag .uslugi-custom__arrows {
  margin-top: 0px;
}

.slide-rew-global__conts {
  box-shadow: 0px 0px 16.42px 0px rgba(0, 0, 0, 0.2);
  background: #272727;
  color: #FFFFFF;
  font-weight: 400;
  padding: 30px;
  border-radius: 20px;
  font-family: "Geometria-Light";
}

.slide-rew-global__desp:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 100%;
  background: #B80001;
}

.slide-rew-global__desp {
  margin: 25px 0 20px 0;
  padding: 0 0 0 20px;
  position: relative;
  line-height: 120%;
}

a.rew-global__slide.slide-rew-global {
  position: relative;
}

.slide-rew-global__image {
  position: absolute;
  top: -20px;
  right: 0;
  transition: all 0.4s ease 0s;
}

.slide-rew-global__conts {
  position: relative;
  z-index: 2;
}

a.rew-global__slide.slide-rew-global {
  padding: 135px 0 0 0;
  display: block;
}

a.rew-global__slide.slide-rew-global:hover .slide-rew-global__image {
  transform: rotate(7deg);
}

a.rew-global__slide.slide-rew-global:hover .slide-rew-global__conts {
  transform: rotate(1deg);
}

.slide-rew-global__conts {
  transition: all 0.4s ease 0s;
}

.rew-global__container._container {
  overflow: hidden;
}

@media (max-width: 768px) {
  .slide-rew-global__conts {
    margin: 0 40px 0 0;
  }
}

@media (max-width: 650px) {
  .slide-rew-global__desp {
    font-size: 14px;
    margin: 15px 0 10px 0;
  }

  .rew-global__content {
    margin: 45px 0 0 0;
  }
}

.lg-backdrop {
  background-color: rgba(0, 0, 0, 0.7803921569);
  opacity: 0;
}

.permalink-sec {
  padding: 50px 0;
  overflow: hidden;
}

@media (max-width: 650px) {
  .permalink-sec {
    padding: 25px 0;
  }
}

.permalink-sec__title {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.permalink-sec__desp {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  margin-top: 15px;
}

.permalink-sec__content {
  margin-top: 35px;
}

@media (max-width: 650px) {
  .permalink-sec__content {
    margin-top: 24px;
  }
}

.permalink-sec__cont.cont-permalink {
  box-shadow: 0px 10px 40px 0px rgba(0, 0, 0, 0.2);
  background: #1D1D1D;
  padding: 15px;
  border-radius: 15px;
  display: block;
}

.cont-permalink__desp.subtitle {
  flex: 1 1 auto;
}

.permalink-sec__slide.swiper-slide {
  margin: 105px 0 0 0;
}

.cont-permalink__image {
  border-radius: 15px;
  overflow: hidden;
}

.cont-permalink__title.title {
  font-size: 16px;
  line-height: 1.5;
  margin-top: 16px;
}

.cont-permalink__desp.subtitle {
  margin: 10px 0 0 0;
  font-size: 14px;
  text-align: center;
  line-height: 1.5;
}

.cont-permalink__link {
  color: #CC001E;
  font-weight: 700;
  text-decoration: underline;
  text-align: center;
  font-size: 16px;
  margin-top: 20px;
  padding: 0 0 15px 0;
}

.cont-permalink__image {
  margin: -120px 0 0 0;
}

.cont-permalink__image img {
  height: 150px;
  width: 100%;
  object-fit: cover;
}

a.permalink-sec__cont.cont-permalink {
  height: 100%;
  display: flex;
  flex-direction: column;
}

@media (max-width: 650px) {
  .cont-permalink__image img {
    height: 140px;
  }
}

.permalink-sec__cont.cont-permalink {
  transition: all 0.4s ease 0s;
}

.permalink-sec__pag.pag-permalink {
  display: none;
}

@media (max-width: 991px) {
  .permalink-sec__pag.pag-permalink {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
  }
}

@media (min-width: 991px) {
  .permalink-sec__cont.cont-permalink:hover {
    transform: translate(0px, -15px);
    box-shadow: -7px 0px 40px 0px rgba(204, 0, 30, 0.4);
  }

  .permalink-sec__slide.swiper-slide {
    flex: 0 1 25%;
    padding: 20px;
  }

  .permalink-sec__wrapper.swiper-wrapper {
    display: flex;
    margin: -20px;
    width: auto;
    flex-wrap: wrap;
  }
}

@media (max-width: 650px) {
  .permalink-sec__desp {
    margin: 10px 0 0 0;
  }
}

.permalink-sec .uslugi-custom__pags.pag {
  position: relative;
}

@media (min-width: 991px) {
  .permalink-sec .uslugi-custom__pags.pag {
    display: none;
  }
}

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

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

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

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

.contacts-secit__title h2 {
  color: #fff;
}

.contacts-secit__title h2,
.contacts-secit__title p {
  text-transform: uppercase;
  font-size: 40px;
  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: flex;
  gap: 50px;
  align-items: center;
  margin-bottom: 35px;
}

.contacts-secit__tel {
  display: flex;
  gap: 5px;
  color: #fff;
  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 {
    flex: 0 1 26% !important;
    margin: 0px;
  }

  .contacts-secit .item-form__check.check-item-form {
    flex: 0 1 23% !important;
    margin: 0px;
  }

  .contacts-secit .rows-bottom__btn {
    flex: 0 1 25% !important;
  }
}

.contacts-secit__messages {
  display: flex;
  gap: 20px;
  align-items: center;
}

@media (max-width: 768px) {
  .contacts-secit__content {
    padding: 20px;
    border-radius: 20px;
    margin-top: 20px;
  }

  .contacts-secit__top {
    flex-direction: column;
    align-items: start;
    gap: 20px;
  }
}

@media (max-width: 650px) {
  .contacts-secit .item-form__check.check-item-form {
    flex: 1 1 100% !important;
  }

  .contacts-secit .rows-bottom__btn {
    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;
  }
}

.contacts-secit__form {
  min-height: 300px;
}

.why-vid {
  padding: 50px 0;
}

@media (max-width: 991px) {
  .why-vid {
    padding: 25px 0;
  }
}

.why-vid .why-vid__top {
  display: flex;
  gap: 30px;
  align-items: center;
  margin-bottom: 50px;
}

@media (max-width: 900px) {
  .why-vid .why-vid__top {
    margin-bottom: 24px;
    gap: 16px;
  }

  .why-vid .why-vid__top img {
    width: 50px;
    min-width: 50px;
    height: 50px;
  }
}

.why-vid .why-vid__top h2 {
  max-width: 500px;
  text-align: left;
  line-height: 1.3;
  font-size: clamp(22px, 1.6666666667vw + 16px, 40px);
}

.why-vid p {
  color: #FFFFFF;
  font-family: "Geometria-Light";
  line-height: 1.3;
}

.why-vid p strong {
  font-weight: 700;
}

@media (max-width: 650px) {
  .why-vid p {
    font-size: 14px;
  }
}

.why-vid__content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
  gap: 40px;
}

@media (max-width: 900px) {
  .why-vid__content {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
}

.why-vid__column {
  grid-column: 2 span;
}

.why-vid__column:first-child {
  grid-column: 3 span;
}

.why-vid__column:nth-child(2) {
  grid-column: 3 span;
}

.why-vid__column p {
  padding-left: 30px;
  position: relative;
}

.why-vid__column p::before {
  content: "";
  position: absolute;
  width: 2px;
  height: 100%;
  top: 0;
  left: 0;
  background-color: #CC001E;
}

.why-vid-content {
  display: flex;
  margin: -10px;
  padding-bottom: 30px;
}

@media (max-width: 991px) {
  .why-vid-content {
    flex-direction: column;
    padding-bottom: 20px;
  }
}

.why-vid-content__column {
  flex: 0 1 50%;
  padding: 10px;
}


.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: flex;
  flex-direction: column;
  gap: 20px;
}

.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 .cms-dvishok-dvishok__pags {
  display: flex;
  max-width: 500px;
  width: 100%;
  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;
  }
}

.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;
  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: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  transition: all 0.5s ease;
}

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

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

.niche-item.highlighted {
  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 {
  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: linear-gradient(360deg, #111111 0%, rgba(17, 17, 17, 0) 60.46%);
  backdrop-filter: blur(4px);
  pointer-events: none;
  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;
  filter: none;
  pointer-events: auto;
}

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

.show-all-btn {
  position: absolute;
  bottom: 40px;
  /* Примерно на уровне 3-й линии */
  left: 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;
  transition: all 0.3s ease;
  z-index: 20;
  background-color: #111111;
  font-weight: 700;
  width: 240px;
  display: flex;
  justify-content: center;
}

.show-all-btn svg {
  transition: all 0.3s ease;
}

.show-all-btn svg path {
  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%);
  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 {
  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;
  transform: none;
  margin: 40px auto 0;
  display: block;
}

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

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

.show-all-btn.expanded .arrow {
  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 {
    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 {}

@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__column {
  height: auto;
}

.cms-dvishok__item {
  height: 100%;
}

.cms-dvishok__item .item-cms-dvishok__cont {
  display: flex;
  flex-direction: column;
  height: 100%;
}
/* 
.contacts-secit__desp {
  display: flex;
  max-width: 100%;
}

.contacts-secit__desp p {
  flex: 0 1 50%;
}

@media (max-width: 1200px) {
  .contacts-secit__desp {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
}

.contacts-secit__fon:last-child {
  display: none;
} */

.cms-dvishok-three .cms-dvishok__swiper-three .uslugi-custom__pags {
  display: none;
}

@media (max-width: 991px) {
  .cms-dvishok-three .cms-dvishok__swiper-three .uslugi-custom__pags {
    display: flex;
  }
}

@media (min-width: 1100px) {
  .contacts-secit__messages {
    margin-left: 100px;
  }
}

.cms-dvishok__swiper-two .item-cms-dvishok__icon {
  width: 80px;
  height: 80px;
}

@media (max-width: 991px) {
  .cms-dvishok__swiper-two .item-cms-dvishok__icon {
    width: 80px;
    height: 80px;
  }

}

.swiper-why .why-dvishok-item__icon {
  width: 70px;
  height: 70px;
}

@media (max-width: 991px) {
  .swiper-why .why-dvishok-item__icon {
    width: 65px;
    height: 65px;
  }
}