/* Гостевая главная — dash-card, --greeny, без тяжёлых градиентов */

.body_guest_home {
    padding-bottom: 0;
}

@media (max-width: 767.98px) {
    .body_guest_home {
        padding-bottom: calc(5rem + env(safe-area-inset-bottom, 0px));
    }
}

.hg-hero-wrap {
    margin-bottom: 1rem;
}

.hg-hero.dash-card {
    padding: clamp(1.5rem, 4vw, 2.25rem);
}

.hg-hero__eyebrow {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6c757d;
    margin-bottom: 0.75rem;
    margin-top: 0;
}

.hg-hero__title {
    font-size: clamp(1.45rem, 4vw, 2rem);
    font-weight: 700;
    color: var(--blacky, #1a1a1a);
    line-height: 1.22;
    margin-top: 0;
    margin-bottom: 0;
}

.hg-hero__lead {
    font-size: 1rem;
    line-height: 1.55;
    max-width: 38rem;
    margin-top: 1.125rem;
    margin-bottom: 1.375rem !important;
}

.hg-hero__cta {
    margin-top: 0;
    gap: 0.75rem !important;
}

@media (max-width: 575.98px) {
    .hg-hero__eyebrow {
        margin-bottom: 0.65rem;
    }

    .hg-hero__lead {
        margin-top: 1rem;
        margin-bottom: 1.25rem !important;
    }
}

/* Спокойный mint primary (#169d8e) — без «кислотного» бирюза */
.body_guest_home .hg-cta-fill {
    background: #169d8e;
    border: 1px solid #169d8e;
    color: #fff !important;
    font-weight: 600;
}

.body_guest_home .hg-cta-fill:hover {
    background: #148a7d;
    border-color: #148a7d;
    color: #fff !important;
}

.body_guest_home .hg-cta-fill:focus-visible {
    box-shadow: 0 0 0 0.2rem rgba(22, 157, 142, 0.35);
}

.body_guest_home .hg-cta-outline {
    background: transparent;
    color: #117b72 !important;
    border: 2px solid #18b9a7;
    font-weight: 600;
}

.body_guest_home .hg-cta-outline:hover {
    background: rgba(22, 157, 142, 0.08);
    color: #0d5c56 !important;
    border-color: #169d8e;
}

.body_guest_home .hg-cta-outline:focus-visible {
    box-shadow: 0 0 0 0.2rem rgba(22, 157, 142, 0.22);
}

/* Early access: premium CTA — сдержанно, без кричащего mint */
.hg-early-strip .hg-early-strip__cta.hg-cta-outline {
    background: rgba(255, 255, 255, 0.92);
    border-width: 1px;
    border-color: #c5d0ce;
    color: #334155 !important;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.hg-early-strip .hg-early-strip__cta.hg-cta-outline:hover {
    background: #fff;
    border-color: #94a3a8;
    color: #1e293b !important;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

/* Hero: secondary заметно спокойнее primary */
.hg-hero__cta .hg-cta-outline {
    border-width: 1px;
    border-color: #cfe8e3;
    color: #5f736f !important;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.85);
}

.hg-hero__cta .hg-cta-outline:hover {
    border-color: #b8dcd4;
    color: #3d534e !important;
    background: rgba(22, 157, 142, 0.06);
}

.hg-hero__cta .hg-cta-outline:focus-visible {
    box-shadow: 0 0 0 0.15rem rgba(18, 199, 178, 0.2);
}

/* Mockup — «живые» карточки */
.hg-mockup__shell {
    position: relative;
    padding: 0.85rem;
    background: #f8fafb;
    border: 1px solid #e8eaed;
    border-radius: 16px;
}

.hg-mockup__card {
    background: #fff;
    border: 1px solid #e8eaed;
    border-radius: 12px;
    padding: 0.65rem 0.85rem;
    margin-bottom: 0.55rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.045);
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
}

.hg-mockup__card:last-of-type {
    margin-bottom: 0;
}

.hg-mockup__avatar,
.hg-mockup__logo {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
}

.hg-mockup__avatar--initials {
    border-radius: 50%;
    background: var(--greeny, #07c0a1);
}

.hg-mockup__logo--initials {
    border-radius: 8px;
    background: #5c636a;
    font-size: 0.7rem;
}

.hg-mockup__body {
    flex: 1;
    min-width: 0;
}

.hg-mockup__body--full {
    width: 100%;
}

.hg-mockup__name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--blacky, #1a1a1a);
    line-height: 1.3;
}

.hg-mockup__meta {
    font-size: 0.75rem;
    color: #6c757d;
    margin-top: 0.15rem;
    line-height: 1.35;
}

.hg-mockup__stats {
    display: flex;
    flex-direction: column;
    gap: 0.18rem;
    margin-top: 0.35rem;
}

.hg-mockup__stat-line {
    font-size: 0.68rem;
    line-height: 1.35;
    color: #3d534e;
}

.hg-mockup__card--vacancy .hg-mockup__vlabel {
    display: block;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--greeny, #07c0a1);
    margin-bottom: 0.15rem;
}

.hg-mockup__vac-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: linear-gradient(145deg, #e8f7f4, #d4f0ea);
    border: 1px solid rgba(22, 157, 142, 0.25);
    color: #169d8e;
    font-size: 1.1rem;
}

.hg-mockup__badge {
    display: inline-block;
    margin-top: 0.35rem;
    padding: 0.15rem 0.45rem;
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--greeny, #07c0a1);
    background: rgba(7, 192, 161, 0.1);
    border-radius: 4px;
}

.hg-mockup__rating {
    margin-top: 0.35rem;
    font-size: 0.72rem;
    color: #495057;
}

.hg-mockup__rating .bi-star-fill {
    color: #f5a623;
    margin-right: 0.2rem;
    font-size: 0.75rem;
}

.hg-mockup__ptype {
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--greeny, #07c0a1);
}

.hg-mockup__ptitle {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--blacky, #1a1a1a);
    margin-top: 0.35rem;
    line-height: 1.35;
}

.hg-mockup__card--project {
    align-items: stretch;
}

.hg-mockup__links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.65rem;
    padding: 0.55rem 0.75rem;
    margin-top: 0.35rem;
    background: #fff;
    border: 1px solid rgba(7, 192, 161, 0.28);
    border-radius: 10px;
    font-size: 0.78rem;
    color: #495057;
}

.hg-mockup__faces {
    display: flex;
}

.hg-mockup__face {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #dee2e6;
    border: 2px solid #fff;
    margin-left: -6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.58rem;
    font-weight: 700;
    color: #495057;
}

.hg-mockup__face:first-child {
    margin-left: 0;
}

.hg-mockup__face:nth-child(1) {
    background: #cfe8e4;
}
.hg-mockup__face:nth-child(2) {
    background: #e2e8f0;
}
.hg-mockup__face:nth-child(3) {
    background: #fdebd0;
}

.hg-mockup__links-text {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex: 1;
    min-width: 0;
}

.hg-mockup__links-icon {
    color: var(--greeny, #07c0a1);
    font-size: 1rem;
    flex-shrink: 0;
}

/* Trust / proof — три компактные карточки */
.hg-trust-section {
    margin-bottom: 0.75rem !important;
}

.hg-trust-section__kicker {
    text-align: center;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6c757d;
    margin-bottom: 0.9rem;
}

.hg-trust-card {
    background: #fff;
    border: 1px solid #e5eaef;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.055);
    padding: 1.05rem 1.15rem;
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    height: 100%;
}

.hg-trust-card__icon {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #169d8e;
    background: rgba(22, 157, 142, 0.12);
    border-radius: 8px;
}

.hg-trust-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
    min-width: 0;
    padding-top: 0.05rem;
}

.hg-trust-card__num {
    font-size: 1.5rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
    color: var(--blacky, #1a1a1a);
    line-height: 1.15;
}

.hg-trust-card__label {
    font-size: 0.8125rem;
    color: #6c757d;
    line-height: 1.35;
}

@media (max-width: 767.98px) {
    .hg-trust-section .hg-trust-card {
        padding: 0.65rem 0.45rem;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.35rem;
    }

    .hg-trust-section .hg-trust-card__icon {
        width: 1.65rem;
        height: 1.65rem;
        font-size: 0.85rem;
    }

    .hg-trust-section .hg-trust-card__num {
        font-size: 1.15rem;
    }

    .hg-trust-section .hg-trust-card__label {
        font-size: 0.625rem;
        line-height: 1.25;
        hyphens: auto;
    }

    .hg-trust-section .hg-trust-card__body {
        align-items: center;
        padding-top: 0;
    }

    /* Role cards — крупнее шрифты на мобиле */
    .hg-role-card--strong.dash-card {
        padding: 1.05rem 1.1rem 1rem;
    }

    .hg-role-card--strong .hg-role-card__head {
        gap: 0.35rem;
        margin-bottom: 0.65rem;
    }

    .hg-role-card--strong .hg-role-card__emoji {
        font-size: 1.85rem;
    }

    .hg-role-card--strong .hg-role-card__title {
        font-size: 1.22rem;
    }

    .hg-role-card__value--mobile {
        font-size: 0.97rem !important;
        line-height: 1.48 !important;
    }

    .hg-role-card__footer {
        margin-top: 0.85rem;
        padding-top: 0;
    }

    .hg-role-card__btn.btn {
        padding: 0.55rem 0.85rem;
        font-size: 0.95rem;
        font-weight: 600;
        line-height: 1.35;
    }

    /* Финальный CTA — вся карточка кликабельна */
    .hg-final-cta.position-relative {
        cursor: pointer;
        padding-bottom: 1.35rem;
    }

    .hg-final-cta__hit-area:focus-visible {
        outline: 2px solid rgba(22, 157, 142, 0.65);
        outline-offset: 3px;
        z-index: 11;
    }

    .hg-specs__mobile-more {
        margin-top: 0.65rem;
        padding-top: 0.35rem;
        border-top: 1px dashed rgba(148, 163, 184, 0.45);
        text-align: center;
    }

    .hg-specs__mobile-more-link {
        font-size: 0.8125rem;
        font-weight: 500;
        color: #169d8e;
        text-decoration: none;
    }

    .hg-specs__mobile-more-link:hover {
        text-decoration: underline;
        color: #117b72;
    }

    .hg-specs--compact-grid.hg-specs--grouped {
        padding: 0.85rem 1rem !important;
    }
}

/* Ранний доступ — premium: спокойный фон, без «кислого» мятного градиента */
.hg-early-strip.dash-card {
    padding: 1.15rem 1.35rem 1.2rem;
    background: linear-gradient(90deg, #f2fffb, #f7fffd);
    border: 1px solid #d6f5eb;
    border-radius: 14px;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 10px 36px rgba(15, 23, 42, 0.045),
        0 2px 6px rgba(15, 23, 42, 0.03);
}

.hg-early-strip__lead span[aria-hidden='true'] {
    opacity: 0.78;
    margin-right: 0.35rem;
}

.hg-early-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem 1rem;
}

.hg-early-strip__main {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.35rem 0.85rem;
    flex: 1;
    min-width: 0;
}

.hg-early-strip__copy {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    min-width: 0;
    padding-right: 0;
}

.hg-early-strip .hg-early-strip__sub {
    font-size: 0.9rem;
    line-height: 1.52;
    max-width: 38rem;
    margin-bottom: 0 !important;
    color: #64748b !important;
}

.hg-early-strip__lead {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.35;
    color: #1e293b;
    white-space: nowrap;
}

.hg-early-strip__intro {
    font-size: 0.8125rem;
}

.hg-early-strip__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.85rem;
    margin: 0 !important;
    padding: 0 !important;
}

.hg-early-strip__list li {
    font-size: 0.8125rem;
    color: #343a40;
    white-space: nowrap;
}

.hg-early-strip .hg-check {
    color: var(--greeny, #07c0a1);
    font-weight: 700;
    margin-right: 0.2rem;
}

.hg-early-strip__actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 0.25rem;
    flex-shrink: 0;
    align-self: center;
}

@media (max-width: 767.98px) {
    .hg-early-strip.dash-card {
        padding: 1.15rem 1.2rem 1.25rem;
    }

    .hg-early-strip {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    .hg-early-strip__main {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }
    .hg-early-strip__copy {
        gap: 0.5rem;
        padding-right: 0;
    }
    .hg-early-strip__lead {
        white-space: normal;
        font-size: 1.22rem;
    }
    .hg-early-strip .hg-early-strip__sub {
        font-size: 0.9rem;
    }
    .hg-early-strip__list {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.2rem;
    }
    .hg-early-strip__actions {
        align-items: stretch;
        align-self: stretch;
        margin-top: 0;
        padding-top: 0;
    }
    .hg-early-strip__actions .btn {
        width: 100%;
    }
}

/* Карточки ролей — крупнее, эмодзи сверху */
.hg-role-card__head {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.4rem;
    margin-bottom: 0.85rem;
}

.hg-role-card__emoji {
    font-size: 1.85rem;
    line-height: 1;
}

.hg-role-card--strong .hg-role-card__title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0 !important;
    color: #0f172a;
}

.hg-role-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.65rem;
    color: var(--blacky, #1a1a1a);
}

.hg-role-card--strong .hg-role-card__value {
    font-size: 0.9375rem;
    line-height: 1.55;
    text-align: center;
    color: #334155;
}

.hg-role-card__value {
    font-size: 0.9375rem;
    line-height: 1.55;
    color: #343a40;
}

.hg-role-card__tick {
    margin-right: 0.25rem;
}

.hg-role-card__footer {
    margin-top: 1.45rem;
    padding-top: 0.15rem;
}

.hg-role-card--strong.dash-card {
    padding: 1.45rem 1.35rem 1.35rem;
    background: #fff;
    border: 1px solid #18b9a7;
    color: #0f172a;
    box-shadow: 0 2px 14px rgba(15, 23, 42, 0.05);
    transition: background 0.2s ease, box-shadow 0.22s ease, transform 0.22s ease, border-color 0.2s ease;
}

.hg-role-card--strong:hover {
    background: #f2fffb;
    border-color: #18b9a7;
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(24, 185, 167, 0.15);
}

.hg-role-card.dash-card:not(.hg-role-card--strong) {
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.hg-role-card.dash-card:not(.hg-role-card--strong):hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
    transform: translateY(-2px);
}

/* Features */
.hg-feature__icon {
    font-size: 1.75rem;
    color: var(--greeny, #07c0a1);
    margin-bottom: 0.75rem;
    line-height: 1;
}

.hg-feature__title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--blacky, #1a1a1a);
}

.hg-feature__text {
    font-size: 0.875rem;
    line-height: 1.45;
}

.hg-feature.dash-card {
    transition: box-shadow 0.22s ease, transform 0.22s ease, border-color 0.22s ease;
}

.hg-feature.dash-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.055);
}

.hg-feature--premium.dash-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    border-color: rgba(7, 192, 161, 0.35);
}

/* Шаги «Как это работает» — диск + номер, чередование композиции */
.hg-steps--creative {
    overflow: visible;
}

.hg-step--creative {
    background: linear-gradient(165deg, #ffffff 0%, #f9fdfc 55%, #f5faf9 100%);
    border: 1px solid rgba(24, 185, 167, 0.22);
    border-radius: 20px;
    padding: 1.55rem 1.35rem 1.5rem;
    box-shadow: 0 10px 36px rgba(15, 23, 42, 0.06);
    overflow: visible;
}

.hg-step--creative .hg-step__art {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: 5.5rem;
    margin-bottom: 1.15rem;
    position: relative;
}

.hg-step__disk-wrap {
    position: relative;
    display: inline-block;
}

.hg-step__disk {
    width: 5rem;
    height: 5rem;
    border-radius: 1.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.15rem;
    color: #169d8e;
    background: radial-gradient(circle at 28% 22%, #f5fffc 0%, #dff8f3 42%, #ccf0e8 100%);
    border: 2px solid rgba(22, 157, 142, 0.35);
    box-shadow:
        0 12px 28px rgba(22, 157, 142, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.hg-step--creative-b .hg-step__disk {
    width: 5.25rem;
    height: 5.25rem;
    border-radius: 50%;
    transform: rotate(-8deg);
    font-size: 2.25rem;
}

.hg-step--creative-c .hg-step__disk {
    border-radius: 1rem 1.45rem 1.35rem 1rem;
    transform: rotate(5deg);
}

.hg-step__bubble {
    position: absolute;
    min-width: 1.85rem;
    height: 1.85rem;
    padding: 0 0.4rem;
    border-radius: 999px;
    background: #169d8e;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #fff;
    box-shadow: 0 6px 16px rgba(22, 157, 142, 0.35);
    top: -0.55rem;
    right: -0.55rem;
}

.hg-step--creative-b .hg-step__bubble {
    top: auto;
    right: auto;
    bottom: -0.35rem;
    left: -0.35rem;
}

.hg-step--creative-c .hg-step__bubble {
    top: -0.45rem;
    left: -0.45rem;
    right: auto;
}

.hg-step__body {
    text-align: center;
}

.hg-step__title {
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--blacky, #1a1a1a);
    margin-bottom: 0.45rem;
    line-height: 1.3;
}

.hg-step__desc {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.5;
}

/* Legacy step (если где-то остался старый маркер) */
.hg-step__num {
    width: 2.5rem;
    height: 2.5rem;
    margin: 0 auto 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
    background: var(--greeny, #07c0a1);
    border-radius: 50%;
}

.hg-step__label {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--blacky, #1a1a1a);
    line-height: 1.45;
}

/* Аудитории */
.hg-audience__title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--blacky, #1a1a1a);
}

/* Чипы специализаций (shortname) */
.hg-specs.dash-card {
    padding: 1rem 1.15rem;
    background: #fff;
    border: 1px solid #e5eaef;
}

.hg-specs__cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.hg-specs--grouped {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

/* Сетка специализаций: воздух + два столбца от sm */
.hg-specs--grouped.hg-specs--compact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem 1.5rem;
    padding: 1.15rem 1.2rem !important;
}

@media (min-width: 576px) {
    .hg-specs--grouped.hg-specs--compact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem 1.75rem;
        padding: 1.25rem 1.45rem !important;
    }
}

.hg-specs--compact-grid .hg-specs__group {
    min-width: 0;
}

.hg-specs--compact-grid .hg-specs__group-title {
    font-size: 0.6875rem;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.hg-specs--compact-grid .hg-specs__group-row {
    gap: 0.32rem 0.4rem;
}

.hg-specs--compact-grid .hg-chip--short {
    padding: 0.22rem 0.48rem;
    font-size: 0.74rem;
}

.hg-specs__group-title {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #6c757d;
    margin-bottom: 0.45rem;
}

.hg-specs__group-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.hg-chip {
    display: inline-flex;
    padding: 0.28rem 0.55rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #495057;
    background: #f8fafb;
    border: 1px solid #e8eaed;
    border-radius: 6px;
    line-height: 1.2;
}

.hg-chip--short {
    font-size: 0.72rem;
    letter-spacing: 0.02em;
}

a.hg-chip--link {
    color: #343a40;
    transition: border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

a.hg-chip--link:hover {
    color: var(--greeny, #07c0a1);
    border-color: rgba(7, 192, 161, 0.45);
    box-shadow: 0 2px 8px rgba(7, 192, 161, 0.12);
    transform: translateY(-1px);
}

/* Финальный CTA */
.hg-final-cta.dash-card {
    overflow: hidden;
}

.hg-final-cta__bg-layer {
    display: none;
}

@media (max-width: 767.98px) {
    .hg-final-cta__bg-layer {
        display: block;
        position: absolute;
        inset: 0;
        border-radius: inherit;
        background: linear-gradient(
            154deg,
            rgba(12, 148, 136, 0.42) 0%,
            rgba(6, 132, 122, 0.62) 42%,
            rgba(4, 105, 98, 0.58) 100%
        );
        opacity: 0;
        transition: none;
        pointer-events: none;
        z-index: 0;
        will-change: opacity;
    }

    .hg-final-cta__hit-area {
        position: absolute;
        inset: 0;
        z-index: 10;
        border-radius: inherit;
        background: transparent;
        text-indent: -9999px;
        overflow: hidden;
        white-space: nowrap;
    }

    #hg-final-cta > *:not(.hg-final-cta__bg-layer):not(.hg-final-cta__hit-area) {
        position: relative;
        z-index: 1;
        pointer-events: none;
    }

    #hg-final-cta.hg-final-cta--prominent.dash-card {
        border-color: rgba(8, 125, 115, 0.58);
        box-shadow: 0 8px 12px rgba(6, 132, 122, 0.28);
        transition:
            border-color 0.65s cubic-bezier(0.25, 0.1, 0.25, 1),
            box-shadow 0.65s cubic-bezier(0.25, 0.1, 0.25, 1);
    }

    #hg-final-cta.dash-card:not(.hg-final-cta--prominent) {
        transition:
            border-color 0.65s cubic-bezier(0.25, 0.1, 0.25, 1),
            box-shadow 0.65s cubic-bezier(0.25, 0.1, 0.25, 1);
    }
}

.hg-final-cta__title {
    font-size: clamp(1.2rem, 3vw, 1.45rem);
    font-weight: 700;
    color: var(--blacky, #1a1a1a);
}

.hg-final-cta__sub {
    font-size: 1rem;
}

.hg-final-cta__btn {
    margin-top: 1.25rem;
}

/* Sticky mobile CTA */
.hg-sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1030;
    padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-top: 1px solid #e8eaed;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.hg-sticky-cta--hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(100%);
}

.hg-sticky-cta__btn {
    font-weight: 600;
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
}

/*
 * Нижний запас под фиксированную панель (.hg-sticky-cta): высота ≈ вертикальные отступы панели +
 * вертикальные отступы кнопки + одна строка текста + safe-area (как у панели).
 */
@media (max-width: 767.98px) {
    body.body_guest_home {
        --hg-sticky-cta-footer-reserve: calc(
            (0.65rem * 2)
            + (0.65rem * 2)
            + 1.5rem
            + env(safe-area-inset-bottom, 0px)
        );
    }

    /* Расширяем тёмный блок футера (.footer — см. style.css), чтобы контент не упирался в стики */
    body.body_guest_home footer .row.footer {
        padding-bottom: calc(3rem + var(--hg-sticky-cta-footer-reserve));
    }
}
