

/* Start:/o-nas/style.css?175689316310455*/
html,
body {
    overflow-x: hidden;
}



#pagetitle {
    display: none;
}


.wh-section__title {
    font-size: 28px !important;
    text-align: center !important;
    margin-bottom: 0 !important;
}



/* Базовое */
.stx-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

.stx-title {
    color: #3171C6;
    font-weight: 700;
    font-size: 28px;
    margin: 24px 0 16px;
    text-transform: uppercase;
}

.stx-title--small {
    font-size: 24px;
}

.stx-subtitle {
    color: #3171C6;
    font-weight: 700;
    font-size: 20px;
    margin: 24px 0 16px;
}

.stx-section {
    margin: 32px 0 64px 0;
}

.stx-dashes {

    border-radius: 12px;
    border: 2px solid #D9D9D9;
}

.stx-dash {
    position: relative;
    padding-left: 20px;
    margin: 6px 0;
    color: #3B3C3B;
    line-height: 1.6;
    text-align: center;

}

hr {

    margin: 0;
}

/* HERO */
.stx-hero {
    background-image: url('/local/templates/supertex/images/bg/o_nas.webp');
    padding: 36px 0 24px;
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    overflow: hidden;
}


.stx-hero__title {
    font-size: 22px;
    line-height: 1.35;
    text-align: center;
    color: #3B3C3B;
    text-transform: uppercase;
    font-weight: 600;
}

.stx-hero__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin: 16px 0 8px;
}

.chip {
    background: #3171C6;
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 13px;
    border: 1px solid #e6e8eb;
    color: #fff;
}

.stx-hero__lead {
    text-align: center;
    color: #3B3C3B;
    margin: 8px auto 20px;
    max-width: 820px;
}

.stx-hero__banner {
    height: 140px;
    border-radius: 12px;
    background: #e9ecef;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .05);
}

/* Grid преимуществ */
.stx-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 100%;
}

.plaque {
    position: relative;
    overflow: hidden;
    background-color: #fff;
    background-image: var(--plaque-bg, none);
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: 55% auto;
    border-radius: 16px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, .08);
    padding: 20px;
    min-height: 180px;
    box-sizing: border-box;
}

.plaque__title {
    font-weight: 600;
    font-size: 18px;
    line-height: 1.3;
    margin: 0 0 8px;
    color: #3B3C3B;
    text-transform: uppercase;
    max-width: 70%;
}

.plaque__desc {
    font-size: 14px;
    color: #969696;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    position: absolute;
    max-width: 70%;
    bottom: 20px;
}


.stx-card {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, .06);
}

.stx-card__title {
    font-weight: 700;
    color: #3B3C3B;
    margin-bottom: 6px;
}

.stx-card__text {
    color: #3B3C3B;
}

/* Скидки */
.stx-flex {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 24px;
}

.stx-box {

    border-radius: 12px;
    padding: 16px;

}

.stx-box__title {
    font-weight: 700;
    margin-bottom: 8px;
    color: #3B3C3B;
    text-align: center;
}

.stx-table {
    width: 100%;
    border-collapse: collapse;

}

.stx-table th,
.stx-table td {
    border: 1px solid #D9D9D9;
    padding: 10px 12px;
    text-align: center;
}

.stx-table thead th {
    background: #EF7736;
    font-weight: 600;
    text-align: center;
    color: #fff;

}

.stx-table thead th:first-child {
    border-top-left-radius: 12px;
}


.stx-table thead th:nth-child(2) {
    border-top-right-radius: 20px;

}

/* CTA */
.stx-cta {
    position: relative;
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
    background: url('/local/templates/supertex/images/bg/o_nas_footer.webp') no-repeat center bottom / cover;
    border-radius: 16px;
    padding: 24px;
    overflow: hidden;
    min-height: 50vh;
    flex-direction: column;
    margin-left:  calc(50% - 50vw);
  margin-right: calc(50% - 50vw);


}

.stx-cta__text {
    color: #3B3C3B;
    margin-bottom: 14px;
}

.stx-btn {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 10px;
    background: #3171C6;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.stx-btn:hover {
    opacity: .92;
}


/* Поп-ап */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
}

.popup.is-open {
    display: block;
}

.popup__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .6);
}

.popup__content {
    position: relative;
    max-width: 480px;
    margin: 60px auto;
    background: #3171C6;
    color: #fff;
    padding: 24px;
    border-radius: 12px;
    z-index: 10;
    padding-top: 56px;
}

.popup__close {
    position: absolute;
    top: 0;
    right: 12px;
    background: none;
    border: none;
    font-size: 34px;
    color: #fff;
    cursor: pointer;
}

/* Верхние кнопки */
.popup__header {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.popup__btn {
    flex: 1;
    background: #EF7736;
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
}

.popup__btn--wa {
    background: #EF7736;
}

/* Заголовки */
.popup__title {
    text-align: center;
    margin: 0;
    font-size: 20px;
    font-weight: 700;
}

.popup__subtitle {
    text-align: center;
    margin: 8px 0 16px;
    font-size: 14px;
}

/* Форма */
.popup__form label {
    display: block;
    font-size: 14px;
    margin-bottom: 10px;
}

.popup__form input,
.popup__form textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-top: 4px;
    color: #000;
}

.popup__row {
    display: flex;
    gap: 8px;
}

.popup__row label {
    flex: 1;
}

.popup__submit {
    display: block;
    width: 100%;
    margin-top: 12px;
    padding: 10px;
    border: 1px solid #fff;
    border-radius: 8px;
    background: none;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

.popup__submit:hover {
    background: rgba(255, 255, 255, .1);
}

.popup__form .is-invalid {
    border-color: #ff6a2b !important;
    box-shadow: 0 0 0 3px rgba(255, 106, 43, .18);
}

/* текст ошибки под полем */
.field-error {
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.3;
    color: #ff6a2b;
}





/* Адаптив */
@media (max-width: 1023.98px) {
    .stx-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stx-flex {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .stx-container {
        padding: 0 10px;
    }

    .stx-title {
        font-size: 22px;
    }

    .stx-subtitle {
        font-size: 18px;
        text-transform: none;
    }

    .stx-hero {
        padding: 24px 0 16px;
    }

    .stx-hero__title {
        font-size: 18px;
    }

    .stx-hero__banner {
        height: 120px;
    }

    .stx-grid {
        grid-template-columns: 1fr;
    }
}

/* Мобильная версия поп-апа */
@media (max-width: 560px) {

    .popup {
        overflow: auto;
        /* если форма длинная — скролл внутри модалки */
        -webkit-overflow-scrolling: touch;
    }

    .popup__content {
        max-width: none;
        margin: max(12px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom));
        padding: 20px;
        border-radius: 16px;
        padding-top: 64px;
    }

    /* крестик побольше, ближе к краю */
    .popup__close {
        top: 8px;
        right: 10px;
        font-size: 28px;
        line-height: 1;
    }

    /* верхние кнопки в столбик */
    .popup__header {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 18px;
    }

    .popup__btn {
        padding: 14px;
        border-radius: 12px;
        font-weight: 700;
    }

    /* заголовок/подзаголовок */
    .popup__title {
        margin-top: 6px;
        font-size: 22px;
        text-transform: uppercase;
        letter-spacing: .02em;
        text-align: center;
    }

    .popup__subtitle {
        font-size: 13px;
        opacity: .92;
        margin: 10px 0 18px;
        text-align: center;
    }

    /* поля формы — в одну колонку */
    .popup__row {
        flex-direction: column;
        gap: 10px;
    }

    .popup__form label {
        font-size: 13px;
        margin-bottom: 12px;
    }

    /* инпуты/текстариа — чуть крупнее и удобнее для тача */
    .popup__form input,
    .popup__form textarea {
        padding: 12px 14px;
        border-radius: 10px;
        background: #fff;
        border: 1px solid #dbe2ea;
        color: #0f172a;
    }

    .popup__form input::placeholder,
    .popup__form textarea::placeholder {
        color: #9aa8b4;
    }

    .popup__form input:focus,
    .popup__form textarea:focus {
        outline: none;
        border-color: #7fb2ff;
        box-shadow: 0 0 0 3px rgba(49, 113, 198, .22);
    }

    /* ошибки — просто добавь класс .is-invalid на input/textarea */
    .popup__form .is-invalid {
        border-color: #ff6a2b;
        box-shadow: 0 0 0 3px rgba(255, 106, 43, .18);
    }

    /* кнопка отправки — заметнее */
    .popup__submit {
        padding: 14px;
        border-radius: 12px;
        font-size: 16px;
        margin-top: 14px;
    }
}
/* End */


/* Start:/bitrix/components/bitrix/system.show_message/templates/.default/style.min.css?175520816651*/
font.errortext{color:red}font.notetext{color:green}
/* End */
/* /o-nas/style.css?175689316310455 */
/* /bitrix/components/bitrix/system.show_message/templates/.default/style.min.css?175520816651 */
