/* Fonts */
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&amp;display=swap");
@import url("https://fonts.googleapis.com/css2?family=Fira+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&amp;display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&amp;display=swap");
/* Global стили - для всего веб-сайта */
@import "./global/container.css";
@import "./global/visually-hidden.css";
@import "./global/reboot.css";
/* Blocks стили - для отдельных компонентов */
@import "./blocks/our-solution.css";
@import "./blocks/qualities.css";
@import "./blocks/about-us.css";
@import "./blocks/testimonials.css";
@import "./blocks/lectures.css";
@import "./blocks/video.css";
@import "./blocks/slider.css";
@import "./blocks/features.css";
@import "./blocks/reviews.css";
/* Отключаем «палочки» Aspro у списков внутри новой страницы,
   но без !important — свои правила смогут переопределить */
.nh-reset ul li::before{
  content: none;
  background: none;
  width: 0;
  height: 0;
  margin: 0;
  display: none;
}
/* Стили модального окна */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s;
}
.modal-content {
    position: relative;
    background-color: #fff;
    margin: 5% auto;
    padding: 20px;
    width: 90%;
    max-width: 900px;
    border-radius: 8px;
    animation: slideIn 0.3s;
}
.modal-close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #333;
    z-index: 1001;
}
.modal-close:hover {
    color: #000;
}
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 соотношение */
    height: 0;
}
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}
/* Анимации */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes slideIn {
    from { 
        opacity: 0;
        transform: translateY(-50px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}
/* Адаптивность */
@media (max-width: 768px) {
    .modal-content {
        margin: 10% auto;
        width: 95%;
        padding: 15px;
    }
    .video-container {
        padding-bottom: 75%; /* 4:3 для мобильных */
    }
}

body > .body:not(.index) > .main {
    padding-bottom: 0;
}

.features__card-link {
  display: inline-block;
  margin-top: 12px;
  color: #f2722c;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.features__card-link:hover {
  color: #ff9800;
  text-decoration: underline;
}

.our-solutions__item_testimonials {
    min-height: 560px;
    overflow: hidden;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center bottom;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.our-solutions__item--testimonials{
 background-image: url("../../newhome/images/testimonials-images/testimonials-image.webp");
}



/* ===== HERO TABS ===== */
.nh-hero-tabs {
  padding: 24px 0 36px;
  font-family: "Roboto", sans-serif;
  background-color: #212121;
  background-image: url("../../images/features-images/features-bg-icon.svg");
}

.nh-hero-tabs__page-title {
  margin: 0 0 16px;
  text-align: center;
  color: #fff;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.1;
  font-weight: 700;
}

/* Фон блока: оставляем изображение */
.nh-hero-tabs__slider {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: url('/upload/newhome/images/features-images/features-image.webp') center center / cover no-repeat;
}

.nh-hero-tabs__slider::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,20,34,.15) 0%, rgba(10,20,34,.45) 45%, rgba(10,20,34,.8) 100%);
  z-index: 1;
}

.nh-hero-tabs__track {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 520px;
}

.nh-hero-tabs__panel {
  position: relative;
  flex: 0 0 7.5%;
  min-width: 78px;
  cursor: pointer;
  border-right: 1px solid rgba(255,255,255,.26);
  background: rgba(10, 20, 34, .20);
  transition: flex-basis .45s ease, background .25s ease;
  outline: none;
}

.nh-hero-tabs__panel:last-child {
  border-right: 0;
}

.nh-hero-tabs__panel:not(.is-active):hover {
  background: rgba(10, 20, 34, .28);
}

.nh-hero-tabs__panel.is-active {
  flex: 1 1 auto;
  background: rgba(10, 20, 34, .10);
}

.nh-hero-tabs__vertical-title {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-90deg);
  transform-origin: center;
  white-space: nowrap;
  color: #fff;
  font-size: clamp(15px, 1.35vw, 21px);
  font-weight: 700;
  letter-spacing: .02em;
  transition: opacity .25s ease, transform .35s ease;
  text-shadow: 0 2px 10px rgba(0,0,0,.35);
}

.nh-hero-tabs__panel.is-active .nh-hero-tabs__vertical-title {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(-90deg) scale(.92);
  pointer-events: none;
}

.nh-hero-tabs__content {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 24px;
  color: #fff;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .3s ease, transform .35s ease;
  pointer-events: none;
}

.nh-hero-tabs__panel.is-active .nh-hero-tabs__content {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.nh-hero-tabs__title {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(22px, 2.2vw, 34px);
  line-height: 1.12;
  font-weight: 700;
}

.nh-hero-tabs__desc {
  margin: 0 0 14px;
  font-size: clamp(14px, 1.05vw, 17px);
  line-height: 1.45;
  max-width: 860px;
}

.nh-hero-tabs__link {
    display: inline-block;
    color: #000;
    text-decoration: none;
    /* border-bottom: 1px solid rgba(255, 255, 255, .6); */
    padding: 10px 20px;
    background-color: #fff;
    border-radius: 8px;
}

.nh-hero-tabs__link:hover {
  color: #fff;
  background-color: #f2722c;
}

/* Точки */
.nh-hero-tabs__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  margin-bottom: 12px;
}

.nh-hero-tabs__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  background: #d9d9d9; /* светло-серые */
  padding: 0;
  cursor: pointer;
}

.nh-hero-tabs__dot.is-active {
  background: #f2722c;
}

/* Кнопки-переключатели */
.nh-hero-tabs__buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.nh-hero-tabs__tab-btn {
  border: 1px solid #f2722c;
  background: transparent;
  color: #f2722c;
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s ease;
}

.nh-hero-tabs__tab-btn:hover,
.nh-hero-tabs__tab-btn.is-active {
  background: #f2722c;
  color: #fff;
}

/* Мобилка */
@media (max-width: 991px) {
  .nh-hero-tabs__track {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    min-height: 0;
    padding: 10px;
  }

  .nh-hero-tabs__panel {
    flex: none !important;
    min-height: 86px;
    border-right: 0;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.20);
  }

  .nh-hero-tabs__panel.is-active {
    min-height: 320px;
  }

  .nh-hero-tabs__vertical-title {
    left: 18px;
    top: 18px;
    transform: none;
    font-size: 18px;
  }

  .nh-hero-tabs__panel.is-active .nh-hero-tabs__vertical-title {
    opacity: 0;
    transform: translateY(-8px);
  }

  .nh-hero-tabs__content {
    left: 18px;
    right: 18px;
    bottom: 16px;
  }
}


/* Затемнение фона у каждого слайда */
.nh-hero-tabs__panel{
  position: relative;
  overflow: hidden; /* чтобы оверлей не вылезал за скругления/границы, если они есть */
}

/* Оверлей поверх картинки */
.nh-hero-tabs__panel::before{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.35); /* сила затемнения: 0.35–0.65 */
  pointer-events: none;
  z-index: 1;
}

.nh-hero-tabs__content, .nh-hero-tabs__vertical-title{z-index:99}