/* Декор не перехватывает клики */
.hero-v11-decor-layer {
    pointer-events: none;
}

/* Точка в верхнем бейдже */
.hero-v11-badge-dot {
    box-sizing: border-box;
    width: 0.5rem;
    height: 0.5rem;
    flex-shrink: 0;
    border-radius: 9999px;
}

/* Иконка в карточке main-feature (w-12 h-12 rounded-lg) */
.hero-v11-icon-main {
    box-sizing: border-box;
    width: 3rem;
    height: 3rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    overflow: hidden;
}

/* Маленькие иконки в benefits-cards (w-8 h-8) */
.hero-v11-icon-card {
    box-sizing: border-box;
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    overflow: hidden;
}

/* Нижний ряд bottom-features (w-12 h-12) */
.hero-v11-icon-bottom {
    box-sizing: border-box;
    width: 3rem;
    height: 3rem;
    flex-shrink: 0;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    overflow: hidden;
}

.hero-v11-icon-main i,
.hero-v11-icon-card i,
.hero-v11-icon-bottom i {
    line-height: 1;
}

/* Фоновые блобы */
.hero-v11-blob-ne {
    position: absolute;
    top: 5rem;
    right: 5rem;
    width: 18rem;
    height: 18rem;
    filter: blur(64px);
}

.hero-v11-blob-sw {
    position: absolute;
    bottom: 5rem;
    left: 5rem;
    width: 24rem;
    height: 24rem;
    filter: blur(64px);
}

.hero-v11-btn-ghost {
    background-color: transparent;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.hero-v11-btn-ghost:hover,
.hero-v11-btn-ghost:focus {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff !important;
    border-color: #fff !important;
}

/* -- Button hover states -- */
.hero-btn-primary {
    transition: filter 0.2s ease, transform 0.15s ease;
}
.hero-btn-primary:hover,
.hero-btn-primary:focus {
    filter: brightness(1.12);
    transform: translateY(-1px);
}

.hero-btn-outline-secondary {
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.hero-btn-outline-secondary:hover,
.hero-btn-outline-secondary:focus {
    background-color: var(--bs-secondary) !important;
    color: #fff !important;
    border-color: var(--bs-secondary) !important;
    transform: translateY(-1px);
}

.hero-btn-outline-primary-light {
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.hero-btn-outline-primary-light:hover,
.hero-btn-outline-primary-light:focus {
    background-color: var(--bs-primary) !important;
    color: #fff !important;
    border-color: var(--bs-primary) !important;
    transform: translateY(-1px);
}
/* Decor geometry (layout only; colors stay in Blade / @sem) */
.leaflet-document__decor-1 {
    position: absolute;
    width: 8rem;
    height: 8rem;
    top: 0;
    left: 0;
    transform: translate(-4rem, -4rem);
    z-index: 0;
    pointer-events: none;
}

.leaflet-document__decor-2 {
    position: absolute;
    width: 12rem;
    height: 12rem;
    bottom: 0;
    right: 0;
    transform: translate(6rem, 6rem);
    z-index: 0;
    pointer-events: none;
}

.leaflet-document__decor-3 {
    position: absolute;
    width: 6rem;
    height: 6rem;
    top: 50%;
    right: 0;
    transform: translate(3rem, -50%);
    z-index: 0;
    pointer-events: none;
}

.leaflet-document__decor-4 {
    position: absolute;
    width: 4rem;
    height: 4rem;
    left: 25%;
    bottom: 25%;
    transform: translate(-50%, 50%);
    z-index: 0;
    pointer-events: none;
}

.leaflet-document__divider-bar {
    height: 0.25rem;
}

.leaflet-document__title-trail { margin-bottom: 2rem; }

.leaflet-document__rule-trail { margin-bottom: 3rem; }

.leaflet-document__wrapper-section-pad {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.content-prose-measure {
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.content-heading-gap {
    margin-bottom: 2rem;
}

/* Geometry shared by both CSS frameworks (Bootstrap has no utilities for it) */
.whyus-bracket {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.mxw-3xl {
    max-width: 48rem !important;
}

.whyus-bracket__corner {
    width: 1.5rem;
    height: 1.5rem;
}

.whyus-bracket__corner--tl { top: 1.5rem; inset-inline-start: 1.5rem; }
.whyus-bracket__corner--tr { top: 1.5rem; inset-inline-end: 1.5rem; }
.whyus-bracket__corner--bl { bottom: 1.5rem; inset-inline-start: 1.5rem; }
.whyus-bracket__corner--br { bottom: 1.5rem; inset-inline-end: 1.5rem; }

.whyus-bracket__head {
    margin-bottom: 3rem;
}

.whyus-bracket__badge {
    padding-top: 0.375rem;
    padding-bottom: 0.375rem;
}

.whyus-bracket__badge-text,
.whyus-bracket__num {
    font-size: 0.75rem;
}

.whyus-bracket__badge-text {
    letter-spacing: 0.025em;
}

.whyus-bracket__lead {
    font-size: 1rem;
}

.whyus-bracket__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
}

.whyus-bracket__card {
    padding: 1.5rem;
    transition: box-shadow 150ms ease;
}

/* hover ring — `:where()` keeps specificity at 0-1-0 so Tailwind's hover:ring-2 wins there */
:where(.whyus-bracket__card):hover {
    box-shadow: 0 0 0 2px var(--bs-primary-border-subtle);
}

.whyus-bracket__card-title {
    font-size: 1.125rem;
}

.whyus-bracket__card-desc {
    font-size: 0.875rem;
}

@media (min-width: 768px) {
    .whyus-bracket {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }

    .whyus-bracket__head {
        margin-bottom: 4rem;
    }

    .whyus-bracket__lead {
        font-size: 1.125rem;
    }

    .whyus-bracket__card-desc {
        font-size: 1rem;
    }

    .whyus-bracket__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2rem;
    }

    .whyus-bracket__card {
        padding: 1.75rem;
    }

    .whyus-bracket__card-title {
        font-size: 1.25rem;
    }

    .whyus-bracket__heading {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .whyus-bracket__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .whyus-bracket__heading {
        font-size: 3rem;
    }
}

/* whyus v24 — bracket-framed card grid */

.whyus-bracket__heading {
    display: inline-block;
    font-size: 1.875rem;
    transform: perspective(600px) rotateX(4deg);
    transform-origin: center bottom;
}

.whyus-bracket__card {
    animation: whyus-bracket-reveal 0.6s ease both;
}

.whyus-bracket__card:nth-child(1) { animation-delay: 0.05s; }
.whyus-bracket__card:nth-child(2) { animation-delay: 0.12s; }
.whyus-bracket__card:nth-child(3) { animation-delay: 0.19s; }
.whyus-bracket__card:nth-child(4) { animation-delay: 0.26s; }
.whyus-bracket__card:nth-child(5) { animation-delay: 0.33s; }
.whyus-bracket__card:nth-child(6) { animation-delay: 0.4s; }

@keyframes whyus-bracket-reveal {
    from {
        opacity: 0;
        transform: translateY(0.75rem);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .whyus-bracket__card {
        animation: none;
    }

    .whyus-bracket__heading {
        transform: none;
    }
}

/* content companion — hairline width for BS decor */
.content-companion__hair {
    width: 3rem;
}

/* numeric index column width on small screens */
.content-companion__index {
    min-width: 0;
}

.content-companion__index-digit {
    font-variant-numeric: tabular-nums;
}

.tips-numbered__card {
    max-width: 24rem;
}

.tips-numbered__thumb {
    width: 4rem;
    height: 4rem;
}


.boost-rally__section {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.boost-rally__inner {
    max-width: 64rem;
}

@keyframes boost-rally-highlight-throb-loop {
    0%, 100% { opacity: 1; }
    50%       { opacity: .5; }
}
.boost-rally__highlight--throb {
    animation: boost-rally-highlight-throb-loop 2s cubic-bezier(.4,0,.6,1) infinite;
}

.boost-rally__appeal--shift:hover { transform: scale(1.05); transition: transform .2s ease; }

.boost-rally__panel--shift:hover { transform: scale(1.05); transition: transform .2s ease; }

/* Всегда на контейнере двух карточек: явный gap для grid (Tailwind) и дублирует зазор для flex (BS) */
.boost-rally__card-stack-gap {
    gap: 2rem;
}

/* Bootstrap only: класс задаётся в bs:, в Tailwind-режиме не выводится — не конфликтует с grid */
.boost-rally__card-row-bs {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    align-items: stretch;
}

@media (min-width: 768px) {
    .boost-rally__card-row-bs {
        flex-direction: row;
    }

    .boost-rally__card-row-bs > .boost-rally__panel--shift {
        flex: 1 1 0;
        min-width: 0;
    }
}

.boost-rally__card-row-bs > .boost-rally__panel--shift {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.boost-rally__card-row-bs > .boost-rally__panel--shift > a:last-of-type {
    margin-top: auto;
}

