/* CTA and feature cards belong directly below the QR type selector. */

.qrcode-home .home-type-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    width: 100%;
    padding-top: 18px;
}

.qrcode-home .home-type-actions .home-hero-actions {
    justify-content: center !important;
    width: 100%;
    margin: 0 !important;
}

.qrcode-home .home-type-actions .home-primary-cta {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 11px !important;
    min-height: 48px !important;
    padding: 0 28px 0 32px !important;
    border: 1px solid rgba(255, 255, 255, .2) !important;
    border-radius: 12px !important;
    font-size: 15px !important;
    background: #0051bb !important;
    box-shadow: 0 16px 32px rgba(35, 73, 197, .22) !important;
    transition: transform .18s ease, box-shadow .18s ease !important;
}

.qrcode-home .home-type-actions .home-primary-cta .home-cta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 10px;
    background: rgba(255, 255, 255, .12);
}

.qrcode-home .home-type-actions .home-primary-cta .home-cta-icon svg {
    width: 18px;
    height: 18px;
}

.qrcode-home .home-type-actions .home-primary-cta:hover,
.qrcode-home .home-type-actions .home-primary-cta:focus {
    transform: translateY(-2px);
    box-shadow: 0 20px 38px rgba(35, 73, 197, .28) !important;
}

.qrcode-home .home-type-actions .home-advantages {
    width: min(calc(100vw - 48px), 1280px);
    margin: 42px 0 0 50%;
    padding: 42px 0 8px;
    border-top: 1px solid rgba(49, 93, 222, .10);
    transform: translateX(-50%);
}

.qrcode-home .home-advantages-host {
    width: 100%;
}

.qrcode-home .home-advantages-host .home-advantages {
    width: min(calc(100% - 48px), 1280px);
    margin: 0 auto;
    padding: 54px 0 70px;
    transform: none;
}

.qrcode-home .home-type-actions .home-advantages-heading {
    max-width: 680px;
    margin: 0 auto 34px;
    text-align: center;
}

.qrcode-home .home-type-actions .home-advantages-heading>span {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    padding: 0 13px;
    border-radius: 17px;
    color: #0051bb;
    background: #edf3ff;
    font-size: 11px;
    font-weight: 600;
}

.qrcode-home .home-type-actions .home-advantages-heading h2 {
    margin: 11px 0 7px;
    color: #101828;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.2;
}

.qrcode-home .home-type-actions .home-advantages-heading p {
    margin: 0;
    color: #59647a;
    font-size: 13px;
    line-height: 1.55;
}

.qrcode-home .home-type-actions .home-trust-row {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 20px !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}

.qrcode-home .home-type-actions .home-trust-row>div {
    position: relative;
    overflow: hidden;
    display: flex !important;
    align-items: flex-end;
    gap: 0;
    min-height: 205px !important;
    padding: 30px 28px 28px !important;
    border: 0 !important;
    border-radius: 26px !important;
    background: linear-gradient(145deg, #ffffff 0%, #f3f6ff 100%) !important;
    box-shadow: inset 0 0 0 1px rgba(49, 93, 222, .09), 0 20px 48px rgba(32, 62, 130, .09) !important;
    transition: transform .2s ease, box-shadow .2s ease !important;
}

.qrcode-home .home-type-actions .home-trust-row>div::before {
    content: "";
    position: absolute;
    top: 28px;
    left: 28px;
    width: auto;
    height: auto;
    padding: 7px 11px;
    border-radius: 999px;
    color: #0051bb;
    background: #edf2ff;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .05em;
    line-height: 1;
}

.qrcode-home .home-type-actions .home-trust-row>div:nth-child(1)::before {
    content: "ҮНЭГҮЙ ЭРХ";
}

.qrcode-home .home-type-actions .home-trust-row>div:nth-child(2) {
    background: linear-gradient(145deg, #ffffff 0%, #eef9ff 100%) !important;
}

.qrcode-home .home-type-actions .home-trust-row>div:nth-child(2)::before {
    content: "ТАТАЖ АВАХ";
    color: #1681ce;
    background: #e7f6ff;
}

.qrcode-home .home-type-actions .home-trust-row>div:nth-child(3) {
    background: linear-gradient(145deg, #ffffff 0%, #edf9f4 100%) !important;
}

.qrcode-home .home-type-actions .home-trust-row>div:nth-child(3)::before {
    content: "ХЯНАЛТ";
    color: #16805d;
    background: #e5f7ef;
}

.qrcode-home .home-type-actions .home-trust-row>div:hover {
    transform: translateY(-5px);
    box-shadow: inset 0 0 0 1px rgba(49, 93, 222, .12), 0 28px 56px rgba(32, 62, 130, .13) !important;
}

.qrcode-home .home-type-actions .home-trust-icon {
    position: absolute;
    isolation: isolate;
    top: 24px;
    right: 26px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    margin: 0 !important;
    border: 1px solid rgba(49, 93, 222, .12);
    border-radius: 18px;
    color: #0051bb;
    background: linear-gradient(145deg, #ffffff 0%, #e9efff 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), 0 12px 24px rgba(49, 93, 222, .16);
    transition: transform .2s ease, box-shadow .2s ease;
}

.qrcode-home .home-type-actions .home-trust-icon::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 6px;
    border: 1px solid currentColor;
    border-radius: 12px;
    opacity: .08;
}

.qrcode-home .home-type-actions .home-trust-row>div:nth-child(2) .home-trust-icon {
    color: #1681ce;
    border-color: rgba(22, 129, 206, .14);
    background: linear-gradient(145deg, #ffffff 0%, #e3f4ff 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), 0 12px 24px rgba(22, 129, 206, .16);
}

.qrcode-home .home-type-actions .home-trust-row>div:nth-child(3) .home-trust-icon {
    color: #16805d;
    border-color: rgba(22, 128, 93, .14);
    background: linear-gradient(145deg, #ffffff 0%, #dff5ec 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), 0 12px 24px rgba(22, 128, 93, .16);
}

.qrcode-home .home-type-actions .home-trust-icon svg {
    position: relative;
    z-index: 2;
    width: 28px;
    height: 28px;
    stroke-width: 2;
    filter: drop-shadow(0 2px 3px rgba(30, 68, 170, .10));
    transition: transform .2s ease;
}

.qrcode-home .home-type-actions .home-trust-row>div:hover .home-trust-icon {
    transform: translateY(-3px) rotate(-2deg);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), 0 16px 30px rgba(32, 72, 170, .20);
}

.qrcode-home .home-type-actions .home-trust-row>div:hover .home-trust-icon svg {
    transform: scale(1.08);
}

.qrcode-home .home-type-actions .home-trust-copy {
    display: block !important;
    min-width: 0;
    margin: 0 !important;
    text-align: left;
    width: 100%;
}

.qrcode-home .home-type-actions .home-trust-copy strong,
.qrcode-home .home-type-actions .home-trust-copy small {
    display: block;
}

.qrcode-home .home-type-actions .home-trust-copy strong {
    color: #101828;
    font-size: 18px;
    line-height: 1.3;
    white-space: normal;
}

.qrcode-home .home-type-actions .home-trust-copy small {
    max-width: 310px;
    margin-top: 9px;
    color: #59647a;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
}

@media (max-width: 575.98px) {
    .qrcode-home .home-type-actions .home-advantages {
        width: 100%;
        margin: 20px 0 0;
        padding-top: 28px;
        transform: none;
    }
    .qrcode-home .home-type-actions .home-advantages-heading h2 {
        font-size: 21px;
    }
    .qrcode-home .home-type-actions .home-trust-row {
        grid-template-columns: minmax(0, 1fr) !important;
        width: 100% !important;
    }
    .qrcode-home .home-type-actions .home-trust-row>div {
        min-height: 180px !important;
    }
}


/* Final mobile flow lock: category content must finish before the footer starts. */

@media (max-width: 767.98px) {
    body:has(.home-mobile-category-host) {
        height: auto !important;
        min-height: 100% !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
    }
    .home-mobile-category-host,
    .home-mobile-category-content,
    .home-mobile-category-host .home-type-stack,
    .home-mobile-category-host .home-showcase-types,
    .home-mobile-category-host .home-type-actions {
        position: relative !important;
        inset: auto !important;
        float: none !important;
        clear: both !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        transform: none !important;
    }
    .home-mobile-category-host {
        display: flow-root !important;
        z-index: 1 !important;
        padding-bottom: 38px !important;
        overflow: visible !important;
    }
    .home-mobile-category-content,
    .home-mobile-category-host .home-type-stack {
        display: block !important;
        overflow: visible !important;
    }
    .home-mobile-category-host .home-type-stack>.home-hero-copy {
        display: block !important;
        visibility: visible !important;
        width: 100% !important;
        max-width: 560px !important;
        margin: 0 auto 22px !important;
        padding: 0 6px !important;
        text-align: center !important;
        opacity: 1 !important;
        transform: none !important;
    }
    .home-mobile-category-host .home-type-stack>.home-hero-copy h1 {
        margin: 0 0 9px !important;
        color: #101828 !important;
        font-size: clamp(23px, 6.4vw, 28px) !important;
        font-weight: 600 !important;
        line-height: 1 !important;
        letter-spacing: -.025em !important;
    }
    .home-mobile-category-host .home-type-stack>.home-hero-copy h1 span {
        color: #0051bb !important;
    }
    .home-mobile-category-host .home-type-stack>.home-hero-copy .home-hero-subtitle {
        max-width: 440px !important;
        margin: 0 auto !important;
        color: #475467 !important;
        font-size: 15px !important;
    }
    .home-mobile-category-host .home-showcase-types {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
        margin-bottom: 18px !important;
    }
    .home-mobile-category-host .home-type-actions {
        display: block !important;
    }
    .home-mobile-category-host .home-type-actions .home-hero-actions {
        position: static !important;
        width: 100% !important;
        margin: 0 !important;
        transform: none !important;
    }
    .home-mobile-category-host .home-type-actions .home-advantages {
        display: none !important;
    }
    body:has(.home-mobile-category-host) .site-footer .footer-cta-card {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        width: 100% !important;
    }
    body:has(.home-mobile-category-host) .site-footer {
        position: relative !important;
        inset: auto !important;
        z-index: 0 !important;
        clear: both !important;
        width: 100% !important;
        margin: 0 !important;
        padding-top: 32px !important;
        transform: none !important;
    }
}

@media (max-width: 419.98px) {
    .home-mobile-category-host .home-showcase-types {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}