.faq__item.is-hidden {
    display: none;
}

.faq__items.faq__items--page {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: start;
    flex: none;
    width: 100%;
}

@media (min-width: 768px) {
    .faq__items.faq__items--page {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}

.faq__items--page .faq__item {
    background: var(--white);
    border-color: rgba(0, 0, 0, 0.12);
}

.faq__items--page .faq__item-toggle {
    color: var(--black);
}

.faq__items--page .faq__item-toggle-text {
    color: var(--black);
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: auto;
}

.faq__item-num {
    font-size: var(--text-size-14);
    font-weight: 600;
    opacity: 0.35;
    flex: none;
}

.faq__items--page .faq__item-toggle-icon {
    width: 28px;
    height: 28px;
}

.faq__items--page .faq__item-content {
    color: var(--black);
    opacity: 0.7;
}

.cases__list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media (min-width: 1200px) {
    .cases__list {
        gap: 40px;
    }
}

/* Phone: desktop text, hidden on mobile */
.header__phone {
    display: none;
    position: relative;
}

@media (min-width: 1200px) {
    .header__phone {
        display: block;
    }
}

/* Phone trigger button (multiple phones, desktop) */
.header__phone-trigger {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--white);
}

.header__phone-arrow {
    width: 12px;
    height: 12px;
    flex: none;
    transition: transform var(--transition);
}

.header__phone--has-dropdown.is-open .header__phone-arrow {
    transform: rotate(180deg);
}

/* Phone dropdown */
.header__phone-drop {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--black);
    border: 1px solid var(--white-20);
    border-radius: 8px;
    padding: 8px 0;
    z-index: 100;
    min-width: 150px;
}

.header__phone--has-dropdown.is-open .header__phone-drop,
.header__phone-mob.is-open .header__phone-drop {
    display: block;
}

.header__phone-drop-link {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 8px 16px;
    color: var(--white);
    font-size: var(--text-size);
    transition: color var(--transition);
}

@media (min-width: 1200px) {
    .header__phone-drop-link {
        white-space: nowrap;
    }

    .header__phone-drop-link:hover {
        color: var(--white-70);
    }
}

.header__phone-drop-desc {
    font-size: 11px;
    opacity: 0.5;
    line-height: 1.2;
    max-width: 300px;
    min-width: 300px;
    white-space: pre-wrap;
}


.header__phone-link {
    display: block;
}

.header__phone-desc {
    display: block;
    font-size: 11px;
    opacity: 0.5;
    line-height: 1.2;
}

/* Phone: mobile icon button */
.header__phone-mob {
    display: flex;
    align-items: center;
    position: relative;
}

@media (min-width: 1200px) {
    .header__phone-mob {
        display: none;
    }
}

.header__phone-mob-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    background-color: var(--primary);
    border: none;
    cursor: pointer;
    padding: 8px;
    flex: none;
}

.header__phone-mob .header__phone-drop {
    left: auto;
    right: 0;
    transform: none;
    min-width: 260px;
    max-width: calc(100vw - 16px);
}

/* Burger menu: "Обсудить задачу" button */
.header__menu-footer {
    padding: 20px 0 0;
    margin-top: auto;
}

@media (min-width: 1200px) {
    .header__menu-footer {
        display: none;
    }
}

.header__menu-task-btn {
    width: 100%;
}

.header__link.is-active {
    pointer-events: none;
    color: var(--white-70);
}

.header__submenu-link.is-active {
    pointer-events: none;
    color: var(--primary);
}

.footer__link.is-active {
    pointer-events: none;
    color: var(--primary);
}

.footer__additional-link.is-active {
    pointer-events: none;
    color: var(--primary);
}

.footer__bottom-link.is-active {
    pointer-events: none;
    color: var(--primary);
}

.news-card__stretch-link,
.article-card__stretch-link {
    z-index: 4;
}

.modal-body__form-noty-link {
    color: var(--primary);
    transition: color var(--transition);
}

.modal-body__form-noty-link:hover {
    color: var(--primary-40);
}

.tech-data-list li {
    color: var(--gray-100);
    line-height: 1.5em;
}

.tech-data__card {
    transition: transform 0.4s ease !important;
}

.tech-data__card.active {
    height: auto !important;
}

.tech-data-list {
    transition: grid-template-rows 0.5s ease, opacity 0.5s ease, margin-top 0.5s ease !important;
}

.tech-data__wrapper.has-active .tech-data__card:not(.active):not(.opening) {
    transform: translateY(0) !important;
    transition-delay: 0s !important;
}

.tech-data__btn {
    touch-action: manipulation;
}

.tech-data__card.active .tech-data__btn svg {
    transform: rotate(-135deg) !important;
}

.tech-data__card:not(.active) .tech-data__btn svg {
    transform: rotate(45deg) !important;
}

.article-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    isolation: isolate;
}

.article-card__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.article-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;

    background: linear-gradient(180deg,
            rgba(13, 42, 61, 0.92) 0%,
            rgba(13, 42, 61, 0.72) 34%,
            rgba(13, 42, 61, 0.38) 62%,
            rgba(13, 42, 61, 0.78) 100%);
}

.article-card__content {
    position: relative;
    z-index: 2;
}

.article-card__stretch-link {
    position: absolute;
    inset: 0;
    z-index: 3;
}

.article-card__btn {
    position: relative;
    z-index: 4;
}

.article__props {
    display: flex;
    flex-direction: column;
    margin-bottom: 28px;
}

.article__props-row {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-300);
}

.article__props-row:first-child {
    border-top: 1px solid var(--gray-300);
}

.article__props-label {
    flex: 0 0 auto;
    min-width: 120px;
    font-size: var(--text-size-14);
    font-weight: 500;
    color: var(--black);
    line-height: 1.5;
    opacity: 0.5;
}

.article__props-value {
    flex: 1;
    font-size: var(--text-size-14);
    color: var(--black);
    line-height: 1.5;
}

.article__props-row--result .article__props-label,
.article__props-row--result .article__props-value {
    font-weight: 600;
    color: var(--primary);
    opacity: 1;
}

/* Gallery */
.article-gallery__item {
    display: block;
    width: 100%;
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.article-gallery__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition);
}

.article-gallery__item:hover .article-gallery__img {
    transform: scale(1.04);
}

/* Lightbox */
.article-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.article-lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.article-lightbox__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    cursor: pointer;
}

.article-lightbox__inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 92vw;
    max-height: 92vh;
}

.article-lightbox__close {
    position: absolute;
    top: -44px;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    padding: 0;
    opacity: 0.8;
    transition: opacity var(--transition);
}

.article-lightbox__close:hover {
    opacity: 1;
}

.article-lightbox__close .icon {
    width: 20px;
    height: 20px;
}

.article-lightbox__img {
    max-width: 92vw;
    max-height: 88vh;
    object-fit: contain;
    border-radius: 4px;
    display: block;
}

.wpcf7-form-control-wrap:has(> .iti) {
    display: block;
    width: 100%;
}

.iti {
    display: block;
    width: 100%;
}

.footer__develop {
    margin-top: 40px;
}

.footer__develop-link {
    position: relative;
    font-size: 14px;
    line-height: 1.2em;
    font-weight: 400;
    color: white;
    -webkit-transition: opacity .3s ease-in-out;
    transition: opacity .3s ease;
}

.footer__develop-link.animate {
    opacity: .75
}

.footer__develop-link svg {
    position: absolute;
    bottom: 4px;
    right: -16px;
    width: 20px;
    height: auto;
    color: white;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: .75;
    }
}

.footer__develop-link svg g path {
    opacity: 0;
}

.footer__develop-link.animate svg g path:nth-child(1) {
    animation: fadeIn .2s forwards;
    animation-delay: .1s;
}

.footer__develop-link.animate svg g path:nth-child(2) {
    animation: fadeIn .2s forwards;
    animation-delay: .2s;
}

.footer__develop-link.animate svg g path:nth-child(3) {
    animation: fadeIn .2s forwards;
    animation-delay: .3s;
}

.footer__develop-link.animate svg g path:nth-child(4) {
    animation: fadeIn .2s forwards;
    animation-delay: .4s;
}

@media (max-width: 400px) {
    .footer__develop-link {
        font-size: 13px;
    }
}

.header__submenu-column {
    padding: 25px !important;
}

.header__submenu-list {
    margin-top: 0 !important;
}

@media (max-width: 960px) {
    .header__submenu-column {
        padding: 5px !important;
    }
}

/* Product gallery section */
.product-gallery__head {
    margin-bottom: 32px;
}

@media (min-width: 1200px) {
    .product-gallery__head {
        margin-bottom: 40px;
    }
}

.product-gallery .article-gallery__wrapper {
    position: relative;
}

.set-components {
    padding: 28px;
    border: 1px solid rgba(22, 61, 84, 0.14);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(13, 44, 62, 0.06);
}

.section-label {
    margin-bottom: 8px;
    color: #2e8fc5;
    font-size: 11px;
    line-height: 1;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.set-components__title {
    margin: 0 0 10px;
    color: #123044;
    font-size: 28px;
    line-height: 1.15;
    font-weight: 700;
}

.set-components__text {
    margin: 0 0 22px;
    color: #5f7481;
    font-size: 14px;
    line-height: 1.55;
}

.set-components__list {
    display: grid;
    gap: 14px;
}

.set-component-card {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    padding: 14px;
    border: 1px solid rgba(22, 61, 84, 0.12);
    border-radius: 6px;
    background: #f8fbfd;
    color: inherit;
    text-decoration: none;
    transition: 0.2s ease;
}

.set-component-card:hover {
    border-color: rgba(46, 143, 197, 0.45);
    background: #fff;
    box-shadow: 0 14px 34px rgba(13, 44, 62, 0.08);
    transform: translateY(-2px);
}

.set-component-card__image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 82px;
    border-radius: 4px;
    background: #fff;
    overflow: hidden;
}

.set-component-card__image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.set-component-card__label {
    margin-bottom: 4px;
    color: #2e8fc5;
    font-size: 11px;
    line-height: 1;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.set-component-card__title {
    margin: 0 0 8px;
    color: #123044;
    font-size: 16px;
    line-height: 1.25;
    font-weight: 700;
}

.set-component-card__link {
    color: #2e8fc5;
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
    text-transform: uppercase;
}

.set-component-card__link::after {
    content: " →";
}

@media (max-width: 991px) {
    .product-info-grid {
        grid-template-columns: 1fr;
    }

    .set-components {
        margin-top: 32px;
    }
}

@media (max-width: 575px) {
    .set-components {
        padding: 22px;
    }

    .set-component-card {
        grid-template-columns: 84px minmax(0, 1fr);
        gap: 12px;
    }

    .set-component-card__image {
        height: 70px;
    }

    .set-components__title {
        font-size: 24px;
    }
}

/* Notes labels in product banner — overlay on image */
.product-banner__image-wrapper {
    position: relative;
}

.product-banner__image-wrapper .product-card__labels {
    position: absolute;
    z-index: 2;
    top: 12px;
    left: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 8px;
    padding: 0;
}

.product-banner__image-wrapper .product-card__label {
    font-size: var(--text-size-14);
    padding: 8px 12px;
}