

/* Start:/local/templates/teh/css/molar.css?17862760907976*/
.parallax-wrapper {
    min-height: 20vw;
    /* Высота блока, можно настроить */
    max-height: 600px;
    position: relative;
    overflow: hidden;
  }

  .parallax-bg-layer {
    position: absolute;
    left: 0;
    top: -70%;
    /* Начинаем со смещением вверх */
    width: 100%;
    height: 200%;
    /* Слой выше контейнера для эффекта движения */
    background-size: cover;
    background-position: center;
    z-index: 0;
    /* Фон всегда сзади */
  }
#malar-parallax-bg {
    /* 
       Смещаем фоновое изображение по вертикали.
       Первое значение 'center' - выравнивание по горизонтали.
       Второе значение '25%' - выравнивание по вертикали. 
       Чем меньше процент, тем выше будет изображение. 
       (50% - это центр по умолчанию).
    */
    background-position: center 75%;
}
  /* Применяем затемнение к тексту, т.к. фон теперь отдельный */
  .hero-slide-caption {
    z-index: 1;
    /* Текст поверх фона */
  }

  /* --- ОБЩИЕ СТИЛИ --- */
  .content-section {
    padding: 80px 0;
  }

  .section-heading {
    font-size: 2.8rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 50px;
    text-align: center;
  }

  /* --- HERO-СЕКЦИЯ --- */
  .hero-slide {
    min-height: 20vw;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    background-position: center;
  }

  .hero-slide-caption {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.3);
    text-align: center;
    padding: 20px;
    z-index: 2;
  }

  .hero-slide-caption h1 {
    font-size: 3.5rem;
    font-weight: 300;
    color: #fff;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
  }

  .hero-slide-caption p {
    font-size: 1.25rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
  }

  /* --- СЕКЦИИ С ПРОЕКТАМИ --- */
  .project-section {
    background-color: #222;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
  }

  .project-section .project-title {
    font-size: 2rem;
    font-weight: 500;
    color: #7B94E3;
    margin-bottom: 20px;
  }

  .project-section p {
    color: #ccc;
    line-height: 1.7;
  }

  .project-section .carousel,
  .project-section img-comparison-slider {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    width: 100%;
    background-color: #fff;
  }

  .project-section .carousel-inner,
  .project-section .carousel-item {
    height: 100%;
  }

  .project-section .carousel-item img,
  .project-section img-comparison-slider img {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }

  /* --- СЕТКА УСЛУГ (УЛУЧШЕНО) --- */
  .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 20px;
  }

  .service-item {
    background: #282c30;
    padding: 34px 26px 32px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    text-align: center;
    transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
    position: relative;
    overflow: hidden;
  }

  .service-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 44px;
    height: 2px;
    background: #4d8dff;
    transform: translateX(-50%);
    opacity: 0;
    transition: width 0.25s ease, opacity 0.25s ease;
  }

  .service-item:hover {
    transform: translateY(-4px);
    background-color: #2d3136;
    border-color: rgba(77, 141, 255, 0.35);
  }

  .service-item:hover::before {
    width: 100%;
    opacity: 1;
  }

  .service-item .service-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #9fb0c3;
    transition: transform 0.25s ease, color 0.25s ease;
  }

  .service-item:hover .service-icon {
    transform: translateY(-2px);
    color: #4d8dff;
  }

  .service-item .service-icon svg {
    width: 100%;
    height: 100%;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .service-item .service-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
    text-align: center;
    margin: 0 0 9px;
    line-height: 1.35;
  }

  .service-item p {
    color: #9ba2ac;
    font-size: 0.88rem;
    line-height: 1.6;
    margin: 0;
    text-align: center;
  }

  /* Стили для описаний */

  /* --- ЭТАПЫ РАБОТ (НОВОЕ) --- */
  .feature-icon {
    font-size: 3rem;
    color: #7B94E3;
    margin-bottom: 15px;
    font-weight: 600;
  }

  .feature-title {
    font-size: 1.2rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 10px;
  }

  .feature-text {
    color: #aaa;
  }

  /* --- FAQ (УНИФИЦИРОВАНО) --- */
  .faq-accordion {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
  }

  .faq-item {
    border-bottom: 1px solid #444;
    transition: border-color 0.4s ease;
  }

  .faq-item.active {
    border-bottom-color: #7B94E3;
  }

  .faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 25px 0;
    font-size: 1.25rem;
    color: #fff;
    cursor: pointer;
    position: relative;
    padding-left: 35px;
    font-weight: 500;
  }

  .faq-question::before {
    content: '+';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: #7B94E3;
    transition: transform 0.3s ease;
  }

  .faq-question.active::before {
    content: '–';
  }

  .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    color: #ccc;
    line-height: 1.7;
    padding-left: 35px;
  }

  .faq-answer p {
    padding-bottom: 25px;
  }

  /* --- АНИМАЦИЯ --- */
  .fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  }

  .fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* --- АДАПТАЦИЯ --- */
  @media (max-width: 768px) {

    .parallax-wrapper {
      /* На десктопе можем сделать секцию чуть ниже */
      height: 40vh;
    }

    .parallax-bg-layer {

      top: -80%;
      /* Начинаем со смещением вверх */

    }

    .hero-slide-caption h1 {
      font-size: 2.5rem;
    }

    .hero-slide-caption p {
      font-size: 1.1rem;
    }

    .section-heading {
      font-size: 2.2rem;
      margin-bottom: 30px;
    }

    .project-section .project-title {
      font-size: 1.8rem;
    }

    .hero-slide {
      min-height: 60vh;
    }

    .content-section {
      padding: 50px 0;
    }

    .project-section .col-lg-6,
    .details-section .description-text {
      text-align: center;
      margin-top: 30px;
    }

    .feature-item {
      margin-bottom: 20px;
    }
  }

  /* =================================================================== */
/*    ОТКЛЮЧЕНИЕ ПАРАЛЛАКСА НА МОБИЛЬНЫХ УСТРОЙСТВАХ                 */
/* =================================================================== */
@media (max-width: 768px) {
  .parallax-bg-layer {
    /* Возвращаем фон в статичное положение и отменяем JS-трансформацию */
    transform: none !important; 
    top: 0;
    height: 100%;
  }
}
/* End */
/* /local/templates/teh/css/molar.css?17862760907976 */
