
.page-home main.site-main {
    --rhythm: 64px;
    padding-bottom: 8px;
}

.page-home main.site-main > * + * {
    margin-top: var(--rhythm) !important;
}

main.site-main > .h-hero,
main.site-main > .h-stats,
main.site-main > .video-section,
main.site-main > .products-section,
main.site-main > .faq-block,
main.site-main > .how_section {
    margin-bottom: 0 !important;
}

.how_step_desc,
.how_subtitle,
.h-stat-lbl,
.captcha-badge-label,
.product-note,
.h-hero-sub,
.h-hero > p {
    color: rgba(255, 255, 255, 0.64) !important;
}

.how_step_num {
    color: #e8a3a3 !important;
}

@media (max-width: 900px) {
    .footer-legal a,
    .footer-social-link,
    .auth-alt a,
    .auth-links a,
    .link-quiet {
        display: inline-flex;
        align-items: center;
        min-height: 40px;
    }

    .footer-social-link {
        padding: 9px 14px;
    }

    .lang-switch button,
    [data-lang-btn] {
        min-width: 40px;
        min-height: 40px;
    }

    .site-nav-toggle {
        min-width: 44px;
        min-height: 44px;
    }

    .auth-checkbox {
        display: flex;
        gap: 10px;
        align-items: flex-start;
    }

    .auth-checkbox input[type="checkbox"] {
        width: 22px;
        height: 22px;
        min-width: 22px;
        margin: 2px 0 0;
        flex: 0 0 22px;
    }

    .auth-checkbox label {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 6px;
        min-height: 28px;
        line-height: 1.5;
    }
}

.auth-input-group input.auth-input-has-toggle {
    padding-right: 44px;
}

.auth-input-group input::placeholder {
    font-size: 0.82rem;
    letter-spacing: 0;
    color: rgba(255, 255, 255, 0.5);
}

.page-auth main.site-main {
    min-height: 0;
    padding-bottom: 0;
}

.page-auth .site-footer {
    margin-top: 1.5rem;
}

.site-footer .footer-brand {
    margin-bottom: 1rem;
}

.site-footer .footer-copy {
    margin-top: 0.25rem;
}

/* --- support chips: ровный круг внутри кнопки, 28.10 --- */
.sp-chips span {
    height: 38px !important;
    padding: 0 14px !important;
    gap: 8px !important;
    line-height: 1 !important;
}

.sp-chips span i {
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    flex: 0 0 24px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, .07) !important;
    font-size: .68rem !important;
    line-height: 1 !important;
    overflow: hidden;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transform: none !important;
}

.sp-chips input:checked + span i {
    background: rgba(255, 255, 255, .16) !important;
    color: #fff !important;
}

.sp-chips label {
    overflow: hidden;
    border-radius: 999px !important;
}

/* --- диалог подтверждения (HospitalFX.confirm) --- */
.hfx-confirm {
    position: fixed;
    inset: 0;
    z-index: 12000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(6, 4, 4, 0.68);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    animation: hfxFade 0.16s ease;
}

.hfx-confirm-panel {
    width: min(420px, 100%);
    padding: 22px;
    border-radius: 18px;
    background: linear-gradient(180deg, #171212 0%, #0d0a0a 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    animation: hfxRise 0.18s cubic-bezier(0.22, 1, 0.36, 1);
}

.hfx-confirm-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hfx-confirm-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(198, 43, 59, 0.12);
    border: 1px solid rgba(198, 43, 59, 0.3);
    color: #f0b9bd;
    font-size: 0.82rem;
}

.hfx-confirm-title {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #f3f0f0;
}

.hfx-confirm-text {
    margin: 16px 0 22px;
    font-size: 0.84rem;
    line-height: 1.55;
    color: rgba(232, 221, 221, 0.62);
}

.hfx-confirm-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.hfx-confirm-btn {
    appearance: none;
    height: 38px;
    padding: 0 16px;
    border-radius: 11px;
    border: 1px solid transparent;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.12s;
}

.hfx-confirm-btn:active {
    transform: translateY(1px);
}

.hfx-confirm-cancel {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.14);
    color: rgba(232, 221, 221, 0.75);
}

.hfx-confirm-cancel:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.hfx-confirm-ok {
    background: linear-gradient(180deg, #c62b3b 0%, #8c1828 100%);
    border-color: rgba(198, 43, 59, 0.5);
    color: #fff;
}

.hfx-confirm-ok:hover {
    background: linear-gradient(180deg, #d63345 0%, #9c1c2c 100%);
}

.hfx-confirm-btn:focus-visible {
    outline: 2px solid rgba(235, 45, 65, 0.6);
    outline-offset: 2px;
}

body.hfx-confirm-open {
    overflow: hidden;
}

@keyframes hfxFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes hfxRise {
    from { opacity: 0; transform: translateY(8px) scale(0.98); }
    to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    .hfx-confirm,
    .hfx-confirm-panel {
        animation: none;
    }
}
