/* ===============================
    СОДЕРЖАНИЕ 

    ГЛОБАЛЬНЫЕ ПЕРЕМЕННЫЕ
    ПОДКЛЮЧЕНИЕ ШРИФТА INVOLVE
    КНОПКИ
        Кнопка меню
        Кнопка фильтра
        Вспомогательные кнопки
    НАВИГАЦИЯ
    ЭЛЕМЕНТЫ
        Flex
        Текст
        Цвета
    КАРТОЧКИ
    МОДАЛКА
    БЛОКИ
       Блок Слайдер
       Блок Результат
       Блок Экспертиза
       Блок Производства
       Блок Продукты
       Блок Форма
       Блок Фильтр
    ФУТТЕР
    СЕРТИФИКАТЫ
    FAQ
    Страница Проекты
    Страница Проект
    Страница Перспективные разработки
    Страница База знаний

================================= */

/* ===============================
   ГЛОБАЛЬНЫЕ ПЕРЕМЕННЫЕ
================================= */
:root {
    --font-main: 'Involve', sans-serif;
    --radius-main: 14px;
    --header-bg: #242A3F;
    --color-menu: #FFFFFF;
    --color-menu-hover: #BFBFBF;
    --сolor-main-text: #2D2D2D;
    --color-bg-filtr: #FFFFFF;
    --color-bg-filter-active: #242A3F;
    --color-bg-cart: #F6F6F7;
    --btn-menu-bg: #FFFFFF;
    --btn-menu-text: #000000;
    --btn-menu-bg-hover: #C8C8C8;
    --btn-menu-text-hover: #000000;
    --btn-filter-bg: #FFFFFF;
    --btn-filter-text: #2D2D2D;
    --btn-filter-bg-hover: #C8C8C8;
    --btn-filter-text-hover: #2D2D2D;
    --btn-filter-bg-active: #242A3F;
    --btn-filter-text-active: #FFFFFF;
    --btn-cart-bg: #3171FE;
    --btn-cart-text: #FFFFFF;
    --btn-cart-bg-hover: #2CB4F8;
    --btn-cart-text-hover: #FFFFFF;
    --header-height-desktop: 100px;
    --header-height-mobile: 70px;
    --color-line: #DBDBDB;


    --card-w: 269px;
    --card-h: 380px;
    --gap: 10px;
}

/* ===============================
   ПОДКЛЮЧЕНИЕ ШРИФТА INVOLVE
================================= */
@font-face {
    font-family: 'Involve';
    src: url('../fonts/involve-regular-webfont.eot');
    src: url('../fonts/involve-regular-webfont.eot?#iefix') format('embedded-opentype'),
        url('../fonts/involve-regular-webfont.woff2') format('woff2'),
        url('../fonts/involve-regular-webfont.woff') format('woff'),
        url('../fonts/involve-regular-webfont.ttf') format('truetype'),
        url('../fonts/involve-regular-webfont.svg#involveregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@media (min-width: 1440px) {
    .container {
        max-width: 1440px;
    }
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;

}

body {
    font-family: var(--font-main);
    color: var(--сolor-main-text);
}

nav {
    height: var(--header-height-desktop);
    background-color: var(--header-bg);
    transition: height 0.3s ease;
}

@media (max-width: 576px) {
    nav {
        height: var(--header-height-mobile);
    }
}

h1.h1_str {
    font-size: clamp(24px, 5vw, 42px);
    font-weight: bold;
    color: var(--сolor-main-text);
    margin-top: clamp(24px, 5vw, 60px);
    margin-bottom: clamp(24px, 5vw, 30px);
}

h2.h2_cart {
    font-size: 18px;
    font-weight: bold;
    color: var(--сolor-main-text);
    padding: 10px 0;
}

.str_desc {
    max-width: 950px;
    margin: 0 auto clamp(24px, 5vw, 40px);
    padding: 0 20px;
    font-size: clamp(16px, 2vw, 18px);
    font-weight: 500;
    line-height: 28px;
    box-sizing: content-box;
}

.ptl_gap {
    gap: 12px;
}

/* ===============================
   КНОПКИ
================================= */
/* Кнопка меню */
.btn-menu {
    background: var(--btn-menu-bg);
    color: var(--btn-menu-text);
    font-size: 18px;
    letter-spacing: 1px;
    padding: 12px;
    font-weight: bold;
    transition: font-size 0.5s ease;
}

.btn-menu:hover {
    background: var(--btn-menu-bg-hover);
    color: var(--btn-menu-text-hover);
}

.btn-menu:focus-visible,
.btn-menu:active {
    color: var(--btn-menu-text-hover);
    background-color: var(--btn-menu-bg-hover);
    border-color: var(--btn-menu-bg-hover);
    outline: 0;
    box-shadow: 0;
}

@media (max-width: 1440px) {
    .btn-menu {
        font-size: 12px;
        padding: 7px;
        transition: font-size 0.5s ease;
    }
}

@media (max-width: 991px) {
    .btn-menu {
        width: 100%;
    }
}

/* Кнопка фильтра */
.btn_filter {
    background: var(--btn-filter-bg);
    color: var(--btn-filter-text);
    border: 1px solid;
    border-image-source: linear-gradient(0deg, #000000, #000000), linear-gradient(0deg, #242A3F, #242A3F);
    border-radius: 1000px;
    padding: 12px 24px;
    text-decoration: none;
    font-size: 18px;
    line-height: 22px;
    font-weight: 500;
}

.btn_filter:hover {
    background: var(--btn-filter-bg-hover);
    color: var(--btn-filter-text-hover);
}

.btn_filter.active {
    background: var(--btn-filter-bg-active);
    color: var(--btn-filter-text-active);
}

.btn_filter.active:hover {
    background: var(--btn-filter-bg-active);
    color: var(--btn-filter-text-active);
}

/* Вспомогательные кнопки */
.ptl_but_blue {
    background: #3171FE;
    font-family: 'Involve', sans-serif !important;
    font-weight: 500;
    text-align: center;
    color: #ffffff;
    border-radius: 10px;
    text-decoration: none;
    display: flex;
    justify-content: center;
    border: 0;
}

.ptl_but_blue:hover {
    background: #2CB4F8;
}

.btn_b {
    font-size: 24px;
    padding: 15px 0;
}

@media (max-width: 991px) {
    .btn_b {
        font-size: 16px;
        width: 100%;
    }
}

.btn_s {
    font-size: 18px;
    padding: 15px 0;
    width: 100%;
}

/* ===============================
   НАВИГАЦИЯ
================================= */
.navbar {
    padding: 0;
}

.navbar-toggler {
    border: 0px solid #122232;
}

@media (max-width: 991px) {
    .navbar-toggler {
        padding-right: 0;
    }
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 #Ffffff;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.offcanvas.offcanvas-end.ptl_offcanvas {
    border: 1px solid #ffffff;
    width: 100%;
}

.offcanvas-body img {
    padding-bottom: 48px;
}

.mobile {
    display: none !important;
}

@media (max-width: 991px) {
    .mobile {
        color: #242A3F;
        font-size: 22px;
        display: flex !important;
        justify-content: center;
        flex-wrap: wrap;
    }

    .mobile img {
        width: 100%;
    }

    .no_mobile {
        display: none;
    }

    .offcanvas_text {
        padding: 12px 0 35px;
    }
}

header .navbar .navbar-nav {
    padding-right: 30px;
}

@media (max-width: 991px) {
    header .navbar .navbar-nav {
        padding-right: 0px;
    }
}

header .navbar-brand img {
    height: 54px;
}

header .navbar .navbar-nav .nav-item {
    display: flex;
    align-items: center;
}

@media (max-width: 991px) {
    header .navbar .navbar-nav .nav-item {
        justify-content: center;
    }
}

header .navbar .navbar-nav .nav-link {
    color: #ffffff;
    font-size: 16px;
    transition: font-size 0.5s ease;
}

@media (max-width: 1440px) {
    header .navbar .navbar-nav .nav-link {
        font-size: 12px;
        transition: font-size 0.5s ease;
    }
}

@media (max-width: 991px) {
    header .navbar .navbar-nav .nav-link {
        font-size: 18px;
        font-weight: bold;
        color: #242A3F;
        padding: 0 0 35px;
    }
}

header .navbar .navbar-nav .nav-link:hover {
    color: #DBDBDB;
}

/* ===============================
   ЭЛЕМЕНТЫ
================================= */
/* Flex */
.bl_flex {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
    margin: 0 -10px;
}

.bl_flex__item_5 {
    flex: 0 1 20%;
    padding: 0 10px;
    display: flex;
}

.bl_flex__item_4 {
    flex: 0 1 25%;
    padding: 0 10px;
    display: flex;
}

.bl_flex__item_3 {
    flex: 0 1 33.33%;
    padding: 0 10px;
    display: flex;
}

.bl_flex__item_2 {
    flex: 0 1 50%;
    padding: 0 10px;
    display: flex;
}

@media (max-width: 1200px) {
    .bl_flex__item_4 {
        padding: 0 10px 20px;
    }
}

@media (max-width: 991px) {
    .bl_flex__item_5 {
        flex: 0 1 100%;
        padding: 0 0 12px;
    }

    .bl_flex__item_4 {
        flex: 0 1 100%;
        padding: 0 0 12px;
    }

    .bl_flex__item_3 {
        flex: 0 1 100%;
        padding: 0 0 12px;
    }

    .bl_flex__item_2 {
        flex: 0 1 100%;
        padding: 0 0 12px;
    }
}

/* Текст */
.bl_name {
    text-align: center;
    font-weight: 600;
    line-height: 46px;
    margin: 0 auto;
    font-size: 42px;
}

.bl_name span {
    font-weight: 600;
    background-image: linear-gradient(180deg, #316BFF 0%, #2CCDF9 100%);
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
}

.bl_text {
    font-size: 24px;
    text-align: center;
    margin: 0 auto;
    font-weight: 500;
}

@media (max-width: 991px) {
    .bl_name {
        line-height: 28px;
        font-size: 24px;
    }

    .bl_text {
        font-size: 16px;
    }
}

ol,
ul {
    padding-left: 1.3rem;
}

/* Цвета */
.b_see {
    background: #122232;
}

.c_see {
    color: #242A3F;
}

.b_grey {
    background: #F6F6F7;
}

/* ===============================
           КАРТОЧКИ
================================= */
.cart {
    border: 1px solid #D0D0D0;
    border-radius: 14px;
    padding: 30px 15px;
    text-align: center;
    background: #ffffff;
}

.cart_name {
    padding: 30px 0 12px;
    font-weight: 700;
    font-size: 28px;
}

.cart_text {
    font-size: 20px;
}

.cart2 {
    background: #F6F6F7;
    border-radius: 14px;
    padding: 20px;
}

.cart2_image {
    height: 223px;
    border-radius: 14px;
    background-size: cover;
    background-position: center center;
    width: 100%;
}

.cart2_name {
    font-size: 24px;
    line-height: 26px;
    font-weight: 600;
    padding: 0 0 12px 10px;
}

.cart2_text {
    font-size: 18px;
}


.cart3_image {
    height: 215px;
    border-radius: 14px;
    background: #ffffff;
}

.cart3_image img {
    border-radius: 14px;
    height: 100%;
    margin: 0 auto;
}

.cart3_name {
    font-size: 18px;
    line-height: 20px;
    font-weight: 700;
    padding: 12px 0 6px;
}

.cart3_text {
    font-size: 16px;
}

.cart3_text ul {
    padding-left: 1.5rem;
}

@media (max-width: 991px) {
    .cart {
        width: 100%;
    }

    .cart_name {
        padding: 20px 0 10px;
        font-size: 24px;
    }

    .cart_text {
        font-size: 16px;
    }

    .cart2_name {
        padding: 12px 0 12px 0;
    }

    .cart2_text ul {
        padding-left: 1.4rem;
    }

    .cart3_text ul {
        margin-bottom: 0;
    }
}

.cart_product {
    background: var(--color-bg-cart);
    border-radius: var(--radius-main);
    padding: 20px;
    height: 100%;
}

.cart_product ul {
    padding-left: 1.5rem;
}

.cart_product img {
    width: 100%;
    height: auto;
    object-fit: scale-down;
    border-radius: var(--radius-main);
    text-align: center;
}

.cart_product_btn {
    background: var(--btn-cart-bg);
    color: var(--btn-cart-text);
    width: 100%;
    font-family: var(--font-main);
    padding: 16px;
    border-radius: 10px;
    border: 1px solid var(--btn-cart-bg);
    font-size: 18px;

}

.cart_product_btn:hover,
.cart_product_btn:active {
    background: var(--btn-cart-bg-hover);
    color: var(--btn-cart-text-hover);
    border: 1px solid var(--btn-cart-bg-hover);

}

/* ===============================
           МОДАЛКА
 ================================= */
.modal-img {
    width: 100%;
    border-radius: var(--radius-main);
    max-height: 300px;
    object-fit: cover;
    font-family: var(--font-main);
}

#productModal .modal-dialog {
    max-width: 768px;
    width: 100%;
}

#productModal .modal-content {
    border-radius: 14px;
    color: var(--сolor-main-text);
}

.modal-header {
    border: 0;
    padding-bottom: 0;
}

.modal-body {
    padding: 24px;
}

.modal-body img {
    object-fit: scale-down;
    border: 1px solid var(--color-line);
}

.line_modal {
    width: 116px;
    height: 6px;
    border-radius: 1000px;
    background: var(--header-bg);
    transform: translate(-50%, -50%);
    position: absolute;
    left: 50%;
}

.modal_product .modal_name {
    font-size: 24px;
    font-weight: bold;
    line-height: 34px;
    padding-bottom: 12px;
}

.modal_product ul {
    font-size: 16px;
    padding-left: 1rem;
}

.table_product {
    font-size: 16px;
}

.table_product th {
    background: #242A3F;
    color: white;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 1px;
}

.table_product td+td {
    font-weight: bold;
    text-align: right;
}

@media (max-width: 768px) {
    #productModal .modal-dialog {
        margin: 0;
    }

    .modal-flex {
        flex-direction: column;
    }

    .modal-flex>div {
        width: 100% !important;
    }
}

/* ===============================
           БЛОКИ
 ================================= */
/* Блок Слайдер */
.bl_slide {
    background: url('../img/fon1.jpg');
    padding: 130px 0 230px;
    background-size: cover;
    background-position: bottom;
}

@media (max-width: 991px) {
    .bl_slide {
        background-image: url('../img/fon3.jpg');
        padding: 32px 0 0px;
    }
}

.bl_slide__name {
    font-weight: 600;
    font-size: 36px;
    line-height: 48px;
    color: #FFFFFF;
    letter-spacing: 1px;
}

.bl_slide__text {
    font-size: 24px;
    color: #FFFFFF;
    padding: 19px 0 48px;
}

.bl_slide__mobile {
    height: 0;
}

@media (max-width: 991px) {
    .bl_slide__name {
        font-size: 18px;
        line-height: 20px;
        text-align: center;
    }

    .bl_slide__text {
        font-size: 16px;
        padding: 12px 0 24px;
        text-align: center;
    }

    .bl_slide__mobile {
        height: 550px;
    }
}

@media (max-width: 768px) {
    .bl_slide__mobile {
        height: 450px;
    }
}

@media (max-width: 576px) {
    .bl_slide__mobile {
        height: 350px;
    }
}

@media (max-width: 430px) {
    .bl_slide__mobile {
        height: 250px;
    }
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ffffff;
    opacity: 1;
    border: 1px solid #2D2D2D;
}

.carousel-indicators .active {
    background-color: #2D2D2D;
    border: 1px solid #2D2D2D;
}

.carousel-indicators {
    bottom: -36px;
    margin-bottom: 0;
}

/* Блок Результат */
.bl_result {
    padding: 90px 0 60px;
    background: url('../img/elips1.svg') bottom left no-repeat,
        url('../img/elips2.svg') top right no-repeat;
}

@media (max-width: 991px) {
    .bl_result {
        background-image: url('../img/elips1.svg');
        background-position: 0 -300px;
        background-repeat: no-repeat;
    }
}

.bl_result .bl_name {
    max-width: 800px;
}

.bl_result .bl_text {
    max-width: 800px;
    padding: 12px 0 60px;
}

.bl_result__video {
    padding: 40px 0;
    background: url('../img/fon2.jpg');
    background-size: cover;
}

.bl_result__video .bl_text {
    color: #ffffff;
    font-size: 24px;
    font-weight: 500;
    text-align: left;
}

.bl_result__video .bl_image {
    text-align: right;
}

.bl_result__video .bl_image img {
    border: 1px solid #8D8D8D;
    border-radius: 14px;
}

@media (max-width: 1200px) {
    .bl_result__video .bl_image img {
        width: 100%;
    }
}

@media (max-width: 991px) {
    .bl_result {
        padding: 24px 16px 12px;
    }

    .bl_result .bl_text {
        padding: 12px 0 24px;
    }

    .bl_result__video .bl_text {
        font-size: 16px;
        padding: 0 10px 24px;
    }

    .bl_result__video .bl_image {
        padding: 0 10px;
    }
}

/* Блок Экспертиза */
.bl_expert {
    padding: 90px 0 0px;
    background: url('../img/elips4.svg') 0 -300px no-repeat,
        url('../img/elips5.svg') top right no-repeat;
}

.bl_expert .bl_name {
    max-width: 820px;
}

.bl_expert .bl_text {
    padding: 12px 0 60px;
    max-width: 770px;
}

.expert1 {
    background-image: url('../img/experts/expert1.png');
}

.expert2 {
    background-image: url('../img/experts/expert2.png');
}

.expert3 {
    background-image: url('../img/experts/expert3.png');
}

.expert4 {
    background-image: url('../img/experts/expert4.png');
}

@media (max-width: 991px) {
    .bl_expert {
        padding: 24px 0 0px;
        background-image: url('../img/elips1.svg');
        background-position: 0 -300px;
        background-repeat: no-repeat;
    }

    .bl_expert .bl_text {
        padding: 12px 16px 24px;
    }
}

/* Блок Производства */
.bl_proizv {
    margin: 30px 0 60px;
    background: url('../img/elips3.svg') center no-repeat;
}

@media (max-width: 991px) {
    .bl_proizv {
        background-image: url('../img/elips1.svg');
        background-position: 0 -300px;
        background-repeat: no-repeat;
    }
}

.bl_proizv .bl_name {
    max-width: 680px;
}

.bl_proizv .bl_text {
    padding: 12px 0 60px;
    max-width: 970px;
}

.bl_proizv .cart {
    padding: 30px;
}

.bl_proizv .cart_image {
    text-align: left;
}

.bl_proizv .cart_name {
    padding: 12px 0;
    font-weight: 600;
    font-size: 20px;
    text-align: left;
}

.bl_proizv .cart_text {
    font-size: 16px;
    text-align: left;
}

@media (max-width: 991px) {
    .bl_proizv {
        margin: 0 0 0px;
        padding: 24px 16px 0;
        background-image: url('../img/elips1.svg');
        background-position: 0 -300px;
        background-repeat: no-repeat;
    }

    .bl_proizv .bl_text {
        padding: 12px 0 24px;
    }
}

/* Блок Продукты */
.bl_product {
    margin: 30px 0 90px;
}

.bl_product .bl_name {
    padding: 0 0 60px;
    max-width: 1200px;
}

.bl_product__but {
    padding-top: 42px;
}

@media (max-width: 991px) {
    .bl_product {
        margin: 24px 16px 0;
    }

    .bl_product .bl_name {
        padding: 0 0 24px;
    }

    .bl_product__but {
        padding-top: 64px;
    }
}

/* Блок Форма */
.bl_forma {
    margin: 0 0 90px;
}

.bl_forma__fon {
    background: #F6F6F7;
    border-radius: 14px;
    padding: 30px 122px 36px 0;
}

.bl_forma .bl_name {
    padding: 0 0 10px;
    text-align: left;
}

.bl_forma .bl_text {
    font-size: 18px;
    font-weight: 400;
    text-align: left;
    padding-bottom: 20px;
}

.form-control {
    padding: 15px;
    line-height: 28px;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    color: #CBCBCB;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: var(--bs-body-bg);
    background-clip: padding-box;
    border: 1px solid #EAEAEA;
    border-radius: 14px;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

input.form-control::-webkit-input-placeholder {
    color: #CBCBCB;
}

input.form-control::-moz-placeholder {
    color: #CBCBCB;
}

input.form-control:-moz-placeholder {
    color: #CBCBCB;
}

input.form-control:-ms-input-placeholder {
    color: #CBCBCB;
}

input.form-control[placeholder] {
    text-overflow: ellipsis;
}

input.form-control::-moz-placeholder {
    text-overflow: ellipsis;
}

input.form-control:-moz-placeholder {
    text-overflow: ellipsis;
}

input.form-control:-ms-input-placeholder {
    text-overflow: ellipsis;
}

input.form-control:focus::-webkit-input-placeholder {
    color: transparent
}

input.form-control:focus::-moz-placeholder {
    color: transparent
}

input.form-control:focus:-moz-placeholder {
    color: transparent
}

input.form-control:focus:-ms-input-placeholder {
    color: transparent
}

@media (max-width: 991px) {
    .bl_forma {
        margin: 24px 7px 48px;
    }

    .bl_forma__fon {
        padding: 0;
    }

    .mobile_forma__icon {
        text-align: center;
        padding: 20px;
    }

    .bl_forma .bl_name {
        padding-left: 16px;
        padding-right: 16px;
    }

    .bl_forma .bl_text {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* Блок Фильтр */
.ptl_filter {
    margin: 0 0 6px;
}

@media (max-width: 991px) {
    .ptl_filter {
        margin: 0;
    }
}

/* ===============================
           ФУТТЕР
================================= */
footer {
    background: #151515;
}

.bl_footer {
    padding: 60px 0;
    color: #ffffff;
}

.footer_name {
    font-weight: 700;
    font-size: 22px;
    color: #ffffff;
    letter-spacing: 0.1rem;
    padding-bottom: 10px;
}

.footer_text {
    font-size: 22px;
    padding-top: 20px;
}

.bl_footer a {
    color: #BFBFBF;
    font-size: 22px;
    text-decoration: none;
    padding: 10px 0;
}

.bl_footer a:hover {
    color: #ffffff;
}

@media (max-width: 1220px) {
    .bl_footer img {
        width: 100%;
    }
}

.f_email.nav-link {
    color: #5B9CFF;
}

.f_tel.nav-link {
    font-weight: bold;
    color: #ffffff;
}

@media (max-width: 991px) {
    .bl_footer {
        padding: 60px 36px;
        text-align: center;
    }

    .footer_name {
        padding-top: 20px;
    }
}


/* ===============================
           СЕРТИФИКАТЫ
 ================================= */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: var(--gap);
}

@media(min-width: 992px) {
    .cert-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.card.cert-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 0;
    transition: transform .18s ease;
}

.card.cert-card:hover {
    transform: scale(1.03);
}

.img-wrap {
    flex: 0 0 auto;
    overflow: hidden;
    position: relative;
}

.certificate-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: zoom-in;
    user-select: none;
}

.card-body {
    flex: 1 1 auto;
    padding: 12px 10px;
    text-align: center;
}

.card-title {
    margin-bottom: 6px;
    font-size: 1.125rem;
    font-weight: 700;
    color: #2D2D2D;
}

.card-text {
    margin: 0;
    font-size: 0.875rem;
    color: #2D2D2D;
}

.modal-backdrop.show {
    opacity: .6;
}

.modal-content.bg-dark {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.95));
    border: none;
    min-height: 100vh;
}

.carousel-item>.viewer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0;
    max-height: 100vh;
    box-sizing: border-box;
    overflow: hidden;
    color: #fff;
}

.viewer .zoom-wrap {
    position: relative;
    max-width: 92vw;
    max-height: 80vh;
    overflow: hidden;
    touch-action: none;
    background: #111;
    border-radius: 6px;
}

.overlay-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px 14px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.55) 60%, rgba(0, 0, 0, 0.75) 100%);
    color: #fff;
    font-size: 1rem;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    box-sizing: border-box;
    pointer-events: none;
}

.overlay-caption .meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.overlay-caption h5 {
    margin: 0;
    font-size: 1rem;
}

.overlay-caption p {
    margin: 0;
    font-size: .85rem;
    opacity: .9;
}

.viewer .modal-caption {
    text-align: center;
    opacity: .95;
    font-size: 0.95rem;
    margin: 6px 0 0 0;
    pointer-events: none;
}

.viewer img.viewer-img {
    display: block;
    max-width: 100%;
    max-height: 80vh;
    transform-origin: center center;
    transition: transform .12s ease;
    cursor: grab;
    user-select: none;
    -webkit-user-drag: none;
}

.viewer img.viewer-img.grabbing {
    cursor: grabbing;
}

.carousel-control-prev,
.carousel-control-next {
    filter: invert(1);
    width: 3.2rem;
    height: 3.2rem;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

/* ===============================
           FAQ
 ================================= */
.accordion-button:focus {
    box-shadow: none !important;
}

.accordion-button,
.accordion-body {
    background-color: #F6F6F7 !important;
}

.accordion-body {
    padding-top: 0;
    font-size: 16px;
    transition: font-size 0.5s ease;
}

@media (max-width: 991px) {
    .accordion-body {
        font-size: 14px;
        transition: font-size 0.5s ease;
    }
}

.accordion-button {
    border-radius: 14px !important;
}

.accordion-button:not(.collapsed) {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.accordion-collapse.show .accordion-body {
    border-bottom-left-radius: 14px;
    border-bottom-right-radius: 14px;
}

.accordion-button:not(.collapsed) {
    box-shadow: 0 0 0 0;
    color: var(--сolor-main-text);
}

.accordion-item {
    margin-bottom: 15px;
    border: none;
}

h2.accordion-header .accordion-button {
    font-size: 1.125rem;
    font-weight: bold;
    line-height: 24px;
    color: var(--сolor-main-text);
    transition: font-size 0.5s ease;
}

@media (max-width: 991px) {
    h2.accordion-header .accordion-button {
        font-size: 14px;
        transition: font-size 0.5s ease;
    }
}

.accordion-button::after {
    flex-shrink: 0;
    margin-left: auto;
    background-size: 44px 44px;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.25s ease-in-out;
    content: '';
    background-image: url('../img/svg/plus.svg');
}

.accordion-button:not(.collapsed)::after {
    background-image: url('../img/svg/minus.svg');
    transform: rotate(180deg);
}

/* ===============================
           Страница Проекты
 ================================= */
.bl_proects {
    margin-bottom: clamp(48px, 5vw, 90px);
}

.cart_proect {
    background: var(--color-bg-cart);
    border-radius: 16px;
    padding: 0;
    height: 100%;
}

.cart_proect img {
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    width: 100%;
    height: auto;
    object-fit: scale-down;


}

.name_proect {
    font-size: clamp(16px, 2vw, 18px);
    font-weight: bold;
    line-height: 26px;
    padding: 16px 16px 8px;
}

.data_proect {
    font-size: clamp(14px, 2vw, 16px);
    padding: 0 16px 16px;
}

.cart_proect a {
    background: var(--btn-cart-bg);
    color: var(--btn-cart-text);
    width: calc(100% - 32px);
    font-family: var(--font-main);
    padding: 16px;
    border-radius: 10px;
    font-size: 18px;
    text-align: center;
    text-decoration: none;
    margin: 16px auto;
    transition: background 0.5s ease;
}

.cart_proect a:hover,
.cart_proect a:active {
    background: var(--btn-cart-bg-hover);
    color: var(--btn-cart-text-hover);
    text-decoration: none;
    transition: background 0.5s ease;
}

/* ===============================
           Страница Проект
 ================================= */
.ptl_main__big {
    margin-top: 24px;
    margin-bottom: clamp(16px, 2vw, 24px);
}

@media (max-width: 991px) {
    .ptl_main__big {
        margin-top: 0;

    }
}

.ptl_main__big .col {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: clamp(390px, 40vw, 610px);
}

.h1_big {
    color: #FFFFFF;
    font-size: clamp(20px, 3vw, 42px);
    font-weight: 600;
    max-width: 900px;
    padding: 0 20px;

}

.str_data {
    color: #FFFFFF;
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 500;
    line-height: 28px;
}

.bl_param {
    margin-top: clamp(16px, 2vw, 24px);
    /*margin-bottom: clamp(16px, 2vw, 40px);*/
}

.bl_param__fon {
    background-color: #F6F6F7;
    border-radius: 14px;
    padding: 0 0 20px;
}

@media (max-width: 991px) {
    .bl_param__fon {
        /*margin:0 20px;*/
        margin-left: 4px;
        margin-right: 4px;
    }
}

.bl_param__name {
    font-size: clamp(14px, 2vw, 18px);
    line-height: 24px;
    /*padding-bottom: 6px;*/
    padding: 20px 18px 6px 8px;
}

.bl_param__info {
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 600;
    line-height: 28x;
    padding: 0 18px 0 8px;
}

.bl_content {
    margin: 0;
    font-size: clamp(16px, 2vw, 18px);
    line-height: 32px;
}

.bl_content h2,
.bl_gal h2 {
    font-size: clamp(24px, 2vw, 28px);
    font-weight: 600;
    margin: 40px 0 20px;
}

@media (max-width: 991px) {

    .bl_content h2,
    .bl_gal h2 {
        margin: 30px 0 20px;
    }
}

.bl_gal {
    margin-bottom: clamp(48px, 5vw, 90px);
}

.swiper-container {
    max-width: 1440px;
    margin: 0 auto 40px;
}

.basaSwiper .swiper-slide img {
    height: 158px;
}

@media (max-width: 991px) {
    .basaSwiper .swiper-slide img {
        height: 235px;
    }
}

.proectSwiper .swiper-slide img {
    height: 309px;
}

.swiper-slide img {
    width: 100%;
    object-fit: cover;
}

.swiper-button-prev,
.swiper-button-next {
    width: 40px;
    height: 40px;
    background: #fff;
    border: 2px solid #ccc;
    border-radius: 50%;
    color: #777;
    display: flex;
    align-items: center;
    justify-content: center;
}

.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 16px;
    font-weight: bold;
}

.swiper-button-prev {
    left: 10px !important;
}

.swiper-button-next {
    right: 10px !important;
}

.swiper-pagination {
    position: relative;
    margin-top: 12px;
}

@media (min-width: 992px) {
    .swiper-pagination {
        display: none;
    }
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #666;
    opacity: 0.4;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: #000;
}

@media (max-width: 991px) {

    .swiper-button-prev,
    .swiper-button-next {
        display: none;
    }
}

/* ===============================
    Страница Перспективные разработки
 ================================= */
.bl_perspectivs {
    margin-bottom: clamp(48px, 4vw, 90px);
}

.cart_perspectiv {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 14px;
    height: clamp(328px, 6vw, 365px);
}

.cart_perspectiv a {
    color: #ffffff;
    font-size: clamp(16px, 2vw, 18px);
    font-weight: 500;
    line-height: 28px;
    text-decoration: none;
}

.cart_perspectiv a::after {
    content: '';
    background-image: url(../img/svg/arrow-right.svg);
    width: 24px;
    height: 24px;
    display: inline-block;
    margin-left: 13px;
    background-position: center center;
    vertical-align: middle;
}

.name_perspectiv {
    color: #ffffff;
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 700;
    line-height: 28px;
    letter-spacing: 1px;
    /*padding-bottom: 10px;*/
    text-align: center;
    padding: 0 20px 10px;
}

/* ===============================
    Страница База знаний
 ================================= */
.bl_base h1 {
    font-size: 24px;
    font-weight: 700;
}

.content-inner {
    max-width: 66%;
}

.bl_menu__name {
    font-size: 24px;
    font-weight: 700;
    line-height: 28px;
    padding: 0 40px;
}

.sidebar {
    background: #f0f0f0;
    min-height: 100vh;
    position: sticky;
    top: 0;
    padding: 40px 0;
}

.menu-item {
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: start;
    padding: 10px 0 10px 40px;
    font-size: 20px;
    font-weight: 600;
    line-height: 28px;
}

.menu-item span {
    padding-left: 10px;
}

.submenu .menu-item a {
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
    text-decoration: none;
    color: #2D2D2D;
    padding: 0 40px;
}

.submenu .menu-item:hover {
    text-decoration: none;
    background-color: #dde0e7;
}

.submenu .menu-item:hover a {
    font-weight: 600;
}

.submenu .menu-item.active a {
    font-weight: 600;
}

.submenu .menu-item.active:hover,
.submenu .menu-item.active {
    background-color: #E0E6F4;
    font-weight: 600;
}

.menu-icon {
    width: 16px;
    height: 16px;
    transition: transform .3s ease;
    display: inline-block;
}

.submenu {
    display: none;
}

/* Mobile */
.mobile-header {
    display: none;
    background: #f0f0f0;
    padding: .5rem 1rem;
    position: sticky;
    top: 0;
    z-index: 20;
    align-items: center;
}

.mobile-title {
    flex-grow: 1;
    font-size: 1rem;
    color: #555;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mobile-header span.separator {
    margin: 0 .5rem;
    color: #888;
}

@media (max-width: 767px) {
    .sidebar {
        display: none;
    }

    .mobile-header {
        display: flex;
    }
}

#mobileMenuCanvas .offcanvas-body {
    padding: 20px;
}

#mobileMenuCanvas .menu-item {
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0 10px 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 28px;
}

#mobileMenuCanvas h5 {
    font-size: 20px;
    font-weight: 700;
    padding-bottom: 14px;
}

#mobileMenuCanvas .menu-icon {
    width: 10px;
    height: 7px;
}

#mobileSubCanvas .offcanvas-header {
    flex-direction: column;
    align-items: start;
    justify-content: center;
}

#mobileSubCanvas .offcanvas-header {
    padding: 20px 20px 0;
}

#mobileSubCanvas .offcanvas-body {
    padding: 0 20px 20px;
}

#mobileSubCanvas span {
    font-size: 14px;
    padding-left: 12px;
}

#mobileSubCanvas .btn {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

#mobileSubCanvas h5 {
    font-size: 20px;
    font-weight: 700;
    padding: 12px 0 14px;
}

#mobileSubCanvas .menu-item {
    padding: 0 0 10px;
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
}

#mobileSubCanvas .menu-item a {
    color: #2D2D2D;
    text-decoration: none;
}