.hero-v28-block {
    max-width: 42rem;
}

/* -- 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);
}
.gallery-zigzag__w-40 { width: 10rem; }
.gallery-zigzag__h-40 { height: 10rem; }
.gallery-zigzag__top-20 { top: 5rem; }

.gallery-zigzag__ratio-3x4 {
    --bs-aspect-ratio: 133.333333%;
}

.gallery-zigzag__hover-scale {
    transition: transform 0.3s ease;
}
.gallery-zigzag__hover-scale:hover {
    transform: scale(1.05);
}

.gallery-zigzag__group-hover-opacity {
    opacity: 0;
    transition: opacity 0.3s ease;
}
.gallery-zigzag__item:hover .gallery-zigzag__group-hover-opacity {
    opacity: 1;
}

.gallery-zigzag__translate-y-full {
    transform: translateY(100%);
    transition: transform 0.5s ease;
}
.gallery-zigzag__item:hover .gallery-zigzag__group-hover-translate-y-0 {
    transform: translateY(0);
}

.gallery-zigzag__group-hover-scale-110 {
    transition: transform 0.5s ease;
}
.gallery-zigzag__item:hover .gallery-zigzag__group-hover-scale-110 {
    transform: scale(1.1);
}

/* FAQ v11 — timeline layout helpers */
.faq-timeline__thumb {
    width: 4rem;
    height: 4rem;
}

.faq-timeline__line {
    left: 2rem;
    width: 0.125rem;
}

@media (min-width: 768px) {
    .faq-timeline__line {
        left: 50%;
        transform: translateX(-50%);
    }
}


.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;
}

