.vacform__confirm-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.wpcf7-acceptance,
.wpcf7-list-item {
    margin: 0;
}

/* убираем мусор CF7 */
.vacform__confirm-label p,
.vacform__confirm-label span {
    margin: 0;
    padding: 0;
}

/* визуально как label */
.vacform__confirm-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

/* чекбокс */
.vacform__confirm-label input[type="checkbox"] {
    margin-top: 4px;
}

/* neutralize CF7 wrappers */
.wpcf7 p,
.wpcf7 span {
    margin: 0;
    padding: 0;
    line-height: inherit;
}

/* делаем span "прозрачными" для layout */
.wpcf7 span {
    display: contents;
}

.sub-menu li.current-menu-item a {
    color: rgb(0, 92, 169);
}

@media (max-width: 1199px) {
    .parent>.sub-menu {
        box-shadow: none;
    }
}

/*стили для окна Спасибо START*/
body.no-scroll {
    overflow: hidden;
}

.form-thanks {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    opacity: 0;
    visibility: hidden;
    position: fixed;
    left: 0;
    top: 0;
    transition: all 0.3s linear;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 99;
}

.form-thanks .form-thanks__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    color: #fff;
    text-align: center;
}

.form-thanks .form-thanks__title {
    font-size: 48px;
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1em;
}

@media (max-width: 499px) {
    .form-thanks .form-thanks__title {
        font-size: 32px;
    }
}

.form-thanks .form-thanks__text {
    font-weight: 700;
    font-size: 16px;
    line-height: 1.5em;
}

.form-thanks .form-thanks__btn {
    margin-top: 8px;
    justify-content: space-between;
    min-width: 260px;
}

.form-thanks.active {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 499px) {
    .form-thanks .form-thanks__btn {
        min-width: 100%;
        width: 100%;
    }
}

/*стили для окна Спасибо END*/

/* ширина выпадающего меню */
.head__mnu>ul>li ul {
    width: 310px !important;
}

/* Cookie START */
.cookie {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: fixed;
    bottom: 10px;
    right: 20px;
    padding: 20px;
    width: 100%;
    max-width: 360px;
    background-color: #fff;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px inset;
    border-radius: 14px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s linear;
    z-index: 10;
}

.cookie.active {
    position: fixed;
    opacity: 1;
    visibility: visible;
}

.cookie .cookie__title {
    font-size: 14px;
    margin: 0px 0px 10px;
    font-weight: bold;
    padding: 0px;
    color: rgb(0, 0, 0);
}

.cookie .cookie__text {
    line-height: 1.5;
    margin: 0px;
    padding: 0px;
    font-size: 14px;
    color: rgb(68, 68, 68);
}

.cookie .cookie__text a {
    color: rgb(153, 153, 153);
    text-decoration: none;
}

.cookie .cookie__btns {
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin-top: 16px;
}

.cookie .cookie__btn {
    appearance: none;
    width: 100%;
    height: auto;
    border: none;
    padding: 10px;
    border-radius: 8px;
    background: rgb(0, 0, 0);
    color: rgb(255, 255, 255);
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    font-weight: unset;
}

/* Cookie END */

/* Mobile QA fixes — 2026-08-06 */
@media (max-width: 767px) {
    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }

    main p,
    main li,
    main td,
    main th,
    .single__content,
    .service__content,
    .news__content {
        overflow-wrap: anywhere;
        word-break: normal;
    }

    .s-qulist {
        height: auto !important;
        padding-bottom: 80px;
    }

    .s-qulist__contain,
    .s-qulist__body {
        height: auto !important;
        min-height: 0 !important;
    }

    .s-qulist__body {
        display: flex !important;
        flex-direction: column !important;
    }

    .qulist-block__wrap {
        position: static !important;
        width: 100% !important;
        height: auto !important;
        margin-top: 28px !important;
    }

    .qulist-block {
        position: static !important;
        width: 100% !important;
        height: auto !important;
        min-height: 88px !important;
    }

    .s-tbanner__content {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .s-tbanner__btn {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        white-space: normal !important;
        text-align: center;
    }

    .header__col.open {
        box-sizing: border-box !important;
        padding-bottom: calc(32px + env(safe-area-inset-bottom)) !important;
        overscroll-behavior: contain;
    }

    .header__col.open .head__r {
        flex-shrink: 0 !important;
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    .s-news__item {
        height: auto !important;
        overflow: hidden !important;
    }

    .s-news__img-w {
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 872 / 480;
        overflow: hidden !important;
    }

    .s-news__img-w img {
        position: static !important;
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    .s-news__bottom {
        position: relative !important;
        z-index: 1;
    }

    .s-other-serv .solut__item img {
        display: block;
        width: 100%;
        height: auto !important;
        aspect-ratio: 872 / 480;
        object-fit: cover;
    }
}


/* Keep the Liyu Power payoff banner inside the mobile viewport. */
@media (max-width: 767px) {
    .s-tbanner > .contain {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .s-tbanner__content,
    .s-tbanner__btn {
        min-width: 0 !important;
    }
}

/* TZ 2026-08-26, items 1, 2, 18: single-row, larger, persistent header. */
:root {
    --liyu-header-height: 80px;
    --liyu-adminbar-height: 0px;
}
.top,
.top.is-fixed,
.top.is-fixed-transparent,
._white-bg .top {
    position: fixed !important;
    top: var(--liyu-adminbar-height) !important;
    transform: none !important;
}
.head__logo { width: 160px; }
.head__logo img { display: block; width: 100%; height: auto; }
html { scroll-padding-top: calc(var(--liyu-header-height) + var(--liyu-adminbar-height) + 16px); }
@media (min-width: 1200px) {
    .head__row { flex-wrap: nowrap; gap: clamp(14px, 1.5vw, 28px); }
    .header__col { display: flex; flex: 1; min-width: 0; align-items: center; gap: 16px; }
    .head__mnu { width: auto; order: 0; margin: 0; }
    .head__mnu > ul { gap: clamp(12px, 1.25vw, 24px); flex-wrap: nowrap; }
    .head__mnu > ul > li > a { white-space: nowrap; font-size: clamp(13px, 0.97vw, 16px); }
    .head__r { flex-shrink: 0; gap: clamp(10px, 1vw, 16px); margin-left: auto; }
    .head__call, .head__mail { white-space: nowrap; }
    .head__socs { flex-shrink: 0; }
    .head__socs a { width: 32px; height: 32px; }
    .head__btn { white-space: nowrap; font-size: 14px; padding-left: 12px; padding-right: 12px; }
}
@media (min-width: 1200px) and (max-width: 1399px) {
    .head__row { gap: 14px; }
    .header__col { gap: 12px; }
    .head__mnu > ul { gap: 10px; }
    .head__mnu > ul > li > a { font-size: 13px; }
    .head__r { gap: 8px; }
    .head__btn { font-size: 13px; padding-left: 10px; padding-right: 10px; }
    .head__mail { display: none; }
    .head__call { font-size: 13px; }
}
@media (max-width: 1199px) {
    .head__logo { width: 145px; }
    .head__row { min-height: 76px; box-sizing: border-box; }
    .header__col {
        top: calc(var(--liyu-header-height) + var(--liyu-adminbar-height));
        max-height: calc(100vh - var(--liyu-header-height) - var(--liyu-adminbar-height));
        max-height: calc(100dvh - var(--liyu-header-height) - var(--liyu-adminbar-height));
    }
}

/* Item 14: the short catalog form keeps its existing recipient and form ID. */
.form-section .catalog-contact-form { width: 100%; max-width: 720px; margin: 0 auto; }
.form-section .catalog-contact-form .cont__label { color: #1c1c1c; }
.catalog-contact-form textarea { min-height: 120px; resize: vertical; }
.catalog-contact-form .wpcf7-acceptance .wpcf7-list-item { margin: 0; }
.catalog-contact-form .wpcf7-acceptance label { display: flex; align-items: flex-start; gap: 10px; }
.catalog-contact-form .wpcf7-acceptance input { flex-shrink: 0; margin-top: 3px; }
.catalog-contact-form .wpcf7-list-item-label { display: block; color: #1c1c1c; font-size: 14px; line-height: 1.45; }
.catalog-contact-form .wpcf7-list-item-label a { display: inline; color: inherit; text-decoration: underline; }
.catalog-contact-form .wpcf7-not-valid-tip { display: block; margin-top: 6px; font-size: 14px; line-height: 1.35; }
