.video-banner {
  position: relative;
  width: 100%;

  margin: 0 auto;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-banner:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.banner-image {
  width: 100%;
  max-height: 700px;
  height: 100%;
  object-fit: cover;
  display: block;
}

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.2),
    rgba(0, 0, 0, 0.5)
  );
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-icon {
  width: 120px;
  height: 120px;
  background-color: #fff;
  border-radius: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  position: relative;
  z-index: 2;
  box-shadow: 0px 5px 10px 0px #00000008;
}

.banner-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px;
  color: white;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  z-index: 1;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 100000000;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.modal.active {
  display: flex;
}

.modal-content {
  width: 100%;
  max-width: 1440px;
  position: relative;
}

.close-modal {
  position: absolute;
  top: -40px;
  right: 0;
  color: white;
  font-size: 30px;
  cursor: pointer;
  background: none;
  border: none;
  transition: opacity 0.3s;
}

.close-modal:hover {
  opacity: 0.7;
}

.video-container {
  position: relative;
  width: 100%;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 8px;
}

.new-window-note {
  margin-top: 25px;
  text-align: center;
  color: #666;
  font-size: 14px;
  padding: 10px;
  background-color: #f8f9fa;
  border-radius: 8px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.new-window-link {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background-color: #007bff;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 500;
  transition: background-color 0.3s;
}

.new-window-link:hover {
  background-color: #0056b3;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.video-banner:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
        }
        
     
   
        .banner-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.5));
            display: flex;
            align-items: center;
            justify-content: center;
        }
        

        
 
        
        .banner-content {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            padding: 30px;
            color: white;
            background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
            z-index: 1;
        }
        
        .banner-title {
            font-size: 28px;
            font-weight: 700;
            margin-bottom: 10px;
            text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
        }
        
        .banner-description {
            font-size: 16px;
            opacity: 0.9;
            max-width: 600px;
            line-height: 1.5;
        }
        
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.9);
            z-index: 1000000000;
            align-items: center;
            justify-content: center;
            animation: fadeIn 0.3s ease;
        }
        
        .modal.active {
            display: flex;
        }
        
        .modal-content {
            width: 90%;
            max-width: 1240px;
            position: relative;
        }
        
        .close-modal {
            position: absolute;
            top: -40px;
            right: 0;
            color: white;
            font-size: 30px;
            cursor: pointer;
            background: none;
            border: none;
            transition: opacity 0.3s;
        }
        
        .close-modal:hover {
            opacity: 0.7;
        }
        
        .video-container {
            position: relative;
            width: 100%;
        
        }
        
        .video-container iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: none;
            border-radius: 8px;
        }
        
        .new-window-note {
            margin-top: 25px;
            text-align: center;
            color: #666;
            font-size: 14px;
            padding: 10px;
            background-color: #f8f9fa;
            border-radius: 8px;
            max-width: 900px;
            margin-left: auto;
            margin-right: auto;
        }
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
/* Адаптивность */
@media (max-width: 768px) {
  .banner-image {
    height: 300px;
  }

  .banner-title {
    font-size: 22px;
  }

  .banner-content {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .banner-image {
    height: 335px;
  }

  .banner-title {
    font-size: 20px;
  }

  .play-icon::after {
    border-left-width: 16px;
    border-top-width: 10px;
    border-bottom-width: 10px;
  }
}
.advantages h2 {
  text-align: left;
  font-weight: 600;
  color: #000;
  font-size: 50px;
  line-height: 59px;
  letter-spacing: 0px;
  margin-top: 0px;
  margin-bottom: 60px;
}
.about__home {
  margin-bottom: 194px;
}
.advantages__flex {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 20px;
}
.advantages__flex-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: space-between;
}
.advantages__flex-block:nth-child(3)
 {
    justify-content: space-between;
    flex-direction: column-reverse;
}
.advantages__flex-block > img {
  max-width: 768px;
  width: 100%;
  border-radius: 40px;
}
.advantages__flex-block-text h3 {
  color: #000;
  font-weight: 600;
  font-size: 50px;
  line-height: 59px;
  letter-spacing: 0px;
  margin: 0;
}
.advantages__flex-block-text p {
  color: #666;
  font-weight: 400;
  font-size: 24px;
  line-height: 36px;
  letter-spacing: 0px;
}
.advantages__flex-block-text {
  background: #f9f9f9;
  border-radius: 40px;
  padding: 78.5px 69px;
  display: flex;
  flex-direction: column;
  gap: 41px;
  transition: all 0.2s linear;
  cursor: pointer;
}
.advantages__flex-block-text:hover {
  transition: all 0.2s linear;
  background: #ebebeb;
}
.advantages__flex-block-text img {
  max-width: 20px;
  width: 100%;
  transform: rotateZ(180deg);
  margin-left: 10px;
}
@media only screen and (min-width: 320px) and (max-width: 768px) {
  .advantages__flex {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .advantages__flex-block {
    display: flex;
    flex-direction: column;
    gap: 9px;
    justify-content: space-between;
  }
  .about__home {
    margin-bottom: 40px;
  }
  .about__home-tope {
    margin-bottom: 15px;
  }
  .advantages__flex-block > img {
    max-width: 768px;
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 20px;
  }
  .advantages__flex-block-text h3 {
    color: #000;
    font-weight: 600;
    font-size: 32px;
    line-height: 38px;
    letter-spacing: 0px;
    margin: 0;
  }
  .advantages__flex-block-text h3::after {
    content: url(../img/icon/leftes.svg);
    float: right;
    transform: rotateZ(180deg);
  }
  .advantages__flex-block-text img {
    max-width: 20px;
    width: 100%;
    transform: rotateZ(180deg);
    margin-left: 10px;
    display: none;
  }
  .advantages__flex-block-text {
    background: #f9f9f9;
    border-radius: 20px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    transition: all 0.2s linear;
    cursor: pointer;
  }
  .advantages__flex-block-text p {
    color: #666;
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    letter-spacing: 0px;
  }

  .advantages__flex {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .advantages h2 {
    text-align: left;
    font-weight: 600;
    color: #000;
    font-size: 26px;
    line-height: 31px;
    letter-spacing: 0px;
    margin-top: 0px;
    margin-bottom: 40px;
  }
}
/*directions*/
.directions h2 {
  text-align: left;
  font-weight: 600;
  color: #000;
  font-size: 50px;
  line-height: 59px;
  letter-spacing: 0px;
  margin-top: 0px;
  margin-bottom: 60px;
}
.container_directions {
  position: relative;
  display: flow-root;
  box-sizing: border-box;
  max-width: 1760px;
  margin-left: auto;
  margin-right: auto;
  padding: 120px 0;

  width: 100%;
  border-radius: 40px;
  background: #f5f5f5;
}
.directions {
  margin: 160px auto;
}
.directions__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(480px, 1fr));
  gap: 20px;
}
.directions__grid-block {
  display: flex;
  background: #fff;
  border-radius: 40px;
  padding: 30px;
  justify-content: space-between;
  transition: all 0.2s linear;
}
.directions__grid-block:hover {
        cursor: auto;
  transition: all 0.2s linear;
  background: #ebebeb;
}
.directions__grid-block:hover .directions__grid-block-img {
  transition: all 0.2s linear;
  background: #fff;
}
.directions__grid-block-img img {
  max-width: 60px;
  width: 100%;
}

.directions__grid-block-text {
  display: flex;
  width: 76%;
  gap: 30px;
  align-items: center;
}
.directions__grid-block-text img {
  max-width: 20px;
  margin: 0 12px;
  width: 100%;
  transform: rotateZ(180deg);
}
.directions__grid-block-text p {
  font-weight: 500;
  font-size: 24px;
  color: #666;
  line-height: 34px;
  letter-spacing: 0px;
}
.directions__grid-block-img {
  transition: all 0.2s linear;
  display: flex;
  width: 100px;
  height: 100px;
  border-radius: 100px;
  background: #ebebeb;
  justify-content: center;
  align-items: center;
}
@media only screen and (min-width: 320px) and (max-width: 1100px) {
  .directions__grid-block {
    display: flex;
    background: #fff;
    border-radius: 40px;
    padding: 30px;
    justify-content: space-between;
    transition: all 0.2s linear;
    flex-direction: row-reverse;
  }
  .directions__grid-block-text {
    display: flex;
    width: 70%;
    gap: 30px;
    align-items: flex-start;
    flex-direction: column;
  }
  .directions__grid-block-text p {
    font-weight: 500;
    font-size: 16px;
    color: #666;
    line-height: 24px;
    letter-spacing: 0px;
  }
  .directions h2 {
    text-align: left;
    font-weight: 600;
    color: #000;
    font-size: 26px;
    line-height: 31px;
    letter-spacing: 0px;
    margin-top: 0px;
    margin-bottom: 40px;
  }
}
@media only screen and (min-width: 320px) and (max-width: 768px) {
  #videoBanner>img{
    height: 100%;
    min-height: 335px;
    object-fit: cover;
  }

  .video-banner {
    position: relative;
    width: 100%;
    min-height: 335px;
    height: 100%;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
  .directions__grid-block {
    display: flex;
    background: #fff;
    border-radius: 20px;
    gap: 20px;
    padding: 20px;
    justify-content: flex-end;
    transition: all 0.2s linear;
    flex-direction: row-reverse;
    align-items: center;
  }
  .directions__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .directions__grid-block-text {
    display: flex;
    width: 60%;
    gap: 30px;
    align-items: flex-start;
    flex-direction: column;
  }
}
@media only screen and (min-width: 320px) and (max-width: 768px) {
    .img-block img {
        width: 100%;
        border-radius: 20px;
        max-height: 800px;
        object-position: center;
        object-fit: cover;
        height: 600px;
    }
}
@media only screen and (min-width: 320px) and (max-width: 1130px) {
  .directions {
    margin: 40px auto;
  }
}
.img-block img {
    width: 100%;
    border-radius: 40px;
    max-height: 800px;
    object-position: center;
    object-fit: cover;
}
@media only screen and (min-width: 320px) and (max-width: 768px) {
  .container_directions {
    position: relative;
    display: flow-root;
    box-sizing: border-box;
    max-width: 1760px;
    margin-left: auto;
    margin-right: auto;
    padding: 40px 0;
    width: 100%;
    border-radius: 40px;
    background: #f5f5f5;
  }
}
/*directions end*/
/*carysel*/
.container__carysel {
  position: relative;

  box-sizing: border-box;
  max-width: 1920px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
  width: 100%;
}
.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #444;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swiper-slide {
  border-radius: 40px;
  min-width: 950px;
  max-width: 950px;
  width: 50%;
}
.swiper-wrapper {
  display: flex;
  height: 640px;
  align-items: center;
}
.swiper-wrapper img {
  border-radius: 40px;
}
.swiper-slide-active a {
  border-radius: 40px;
  height: 100%;
}
.swiper-slide-prev {
  border-radius: 40px;
  height: 500px;
  justify-content: flex-end;
}
.swiper-slide-next,
.swiper-slide-next a {
  border-radius: 40px;
  height: 500px;
  justify-content: flex-start;
}
.swiper-slide-prev a {
  border-radius: 40px;
  height: 500px;
}

.preim_pagotziv {
  padding-top: 120px;
  padding-bottom: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  justify-content: space-between;
}
.preim_pagotziv > p {
  float: right;
  font-weight: 400;
  font-size: 20px;
  line-height: 24px;
  letter-spacing: 0px;
  color: #000;
}
.preim_pagotziv > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  justify-content: flex-start;
}
.swiper-button-next,
.swiper-button-prev {
  display: flex;
  outline: none;
  box-shadow: none;
  padding: 10px;
  background: #f9f9f9;
  border-radius: 20px;
  position: relative;
  top: 0;
  width: 120px;
  height: 100px;
  margin-top: 0;
  z-index: 10;
  cursor: pointer;
  align-items: center;
  color: #000;
  justify-content: center;
}
.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: #ebebeb;
}
.swiper-button-next svg,
.swiper-button-prev svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: none;
}
/* Замена стандартных стрелок на символы */
.swiper-button-next:after,
.swiper-button-prev:after {
  content: ""; /* Убираем стандартный символ */
  font-family: initial; /* Сбрасываем шрифт */
}

.swiper-button-next::after {
  content: url(../img/icon/leftes.svg); /* или &rarr; */
  font-size: 30px;
  font-weight: bold;
  transform: rotateZ(180deg);
}
.swiper-button-prev::after {
  content: url(../img/icon/leftes.svg); /* или &rarr; */
  font-size: 30px;
  font-weight: bold;
}
@media only screen and (min-width: 400px) and (max-width: 1000px) {
  .swiper-slide {
    border-radius: 20px;
    min-width: 360px;
    max-width: 360px;
    width: 50%;
  }
  .swiper-wrapper {
    display: flex;
    height: 242px;
    align-items: center;
  }
  .swiper-slide-next,
  .swiper-slide-next a {
    border-radius: 20px;
    height: 175px;
    justify-content: flex-start;
  }
  .swiper-slide-prev a {
    border-radius: 20px;
    height: 175px;
  }
  .swiper-slide-prev {
    border-radius: 20px;
    height: 175px;
    justify-content: flex-end;
  }
}
@media only screen and (min-width: 350px) and (max-width: 399px) {
  .swiper-slide {
    border-radius: 20px;
    min-width: 330px;
    max-width: 330px;
    width: 50%;
  }
  .swiper-wrapper {
    display: flex;
    height: 242px;
    align-items: center;
  }
  .swiper-slide-next,
  .swiper-slide-next a {
    border-radius: 20px;
    height: 175px;
    justify-content: flex-start;
  }
  .swiper-slide-prev a {
    border-radius: 20px;
    height: 175px;
  }
  .swiper-slide-prev {
    border-radius: 20px;
    height: 175px;
    justify-content: flex-end;
  }
}

@media only screen and (min-width: 350px) and (max-width: 768px) {
  .swiper-button-next,
  .swiper-button-prev {
    display: flex;
    outline: none;
    box-shadow: none;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 12px;
    position: relative;
    top: 0;
    width: 80px;
    height: 60px;
    margin-top: 0;
    z-index: 10;
    cursor: pointer;
    align-items: center;
    color: #000;
    justify-content: center;
  }
  .preim_pagotziv > div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    justify-content: flex-start;
  }
  .preim_pagotziv {
    padding-top: 40px;
    padding-bottom: 0px;
    display: flex;
    align-items: center;
    justify-content: center;

    justify-content: space-between;
  }
  .preim_pagotziv > p {
    float: right;
    font-weight: 400;
    font-size: 12px;
    line-height: 14px;
    letter-spacing: 0px;
    color: #000;
  }
  .swiper .container {
    padding: 0;
  }
}
/*carysel end*/
