/* Декор: pointer-events (Bootstrap pe-none — не то свойство) */
.hero-v30-decor-layer {
    pointer-events: none;
}

.hero-v30-quote-mark {
    position: absolute;
    z-index: 0;
    font-size: clamp(12rem, 25vw, 22rem);
    line-height: 0.75;
    opacity: 0.7;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.hero-v30-block {
    position: relative;
    z-index: 1;
    max-width: 48rem;
}

.hero-v30-divider {
    max-width: 20rem;
}

/* Размер звёзд (иконки не растягиваются в flex) */
.hero-v30-star {
    font-size: 0.875rem;
    line-height: 1;
    flex-shrink: 0;
}

@media (min-width: 576px) {
    .hero-v30-cta:hover {
        transform: scale(1.05);
    }
}

.hero-v30-cta {
    transition: transform 150ms ease;
}

.hero-v30-cta-icon {
    line-height: 1;
}

/* -- 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);
}
.intro-icon-benefits__icon-box {
    width: 4rem;
    height: 4rem;
}

.intro-icon-benefits__decor-top {
    width: 5rem;
    height: 5rem;
    top: 2.5rem;
    left: 2.5rem;
}

.intro-icon-benefits__decor-bottom {
    width: 8rem;
    height: 8rem;
    bottom: 2.5rem;
    right: 2.5rem;
}

.intro-icon-benefits__decor-mid {
    width: 4rem;
    height: 4rem;
    top: 50%;
    left: 25%;
}

/* features institution — hairline dividers between trust items (width/style only, color comes from Tailwind/BS classes) */

/* BS flex child needs min-width:0 to shrink instead of overflowing on long titles (no BS utility) */
.features-inst__body {
    min-width: 0;
}

.features-inst__item:not(:first-child) {
    border-top-width: 1px;
    border-top-style: solid;
}

@media (min-width: 768px) {
    /* equal-width columns regardless of text length (basis 0 + min-width:0 lets a text-heavy item shrink) */
    .features-inst__item {
        flex: 1 1 0%;
        min-width: 0;
    }

    .features-inst__item:not(:first-child) {
        border-top-width: 0;
        border-left-width: 1px;
        border-left-style: solid;
    }
}

/* v26 newspaper — border fix for last col in each row */
@media (min-width: 992px) {
    .perks-newspaper__col:nth-child(3n) {
        border-right: none !important;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .perks-newspaper__col:nth-child(2n) {
        border-right: none !important;
    }
}

.spotlight-carousel-quote__portrait {
    width: 5rem;
    height: 5rem;
}

.stats__icon-dim--lg {
  width: 5rem;
  height: 5rem;
}

.stats-card-hover {
  transition:
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.stats-card-hover:hover {
  box-shadow:
    0 20px 25px -5px rgb(0 0 0 / 0.1),
    0 8px 10px -6px rgb(0 0 0 / 0.1);
  transform: translateY(-0.5rem) scale(1.05);
}


/* whyus v17 — bookshelf pill grid (layout/animation only, no colors) */

/* shelf row spacing — ultra-tight external gaps */
.whyus-shelf-pills__shelf {
    position: relative;
}

.whyus-shelf-pills__shelf + .whyus-shelf-pills__shelf {
    margin-top: 0.25rem;
}

.whyus-shelf-pills__shelf--last {
    margin-bottom: 0;
    border-bottom-width: 0;
}

/* pill — magnetic pull toward cursor, driven by JS-set custom properties */
.whyus-shelf-pills__pill {
    --tilt-x: 0;
    --tilt-y: 0;
    will-change: transform;
    transform: translate(calc(var(--tilt-x) * 1px), calc(var(--tilt-y) * 1px));
    transition: transform 150ms ease-out;
}

.whyus-shelf-pills__items {
    display: flex;
    flex-direction: column;
}

.whyus-shelf-pills__pill-body {
    min-width: 0;
}

/* diamond decor shapes */
.whyus-shelf-pills__diamond {
    position: absolute;
    transform: rotate(45deg);
}

.whyus-shelf-pills__diamond--sm {
    width: 0.5rem;
    height: 0.5rem;
}

.whyus-shelf-pills__diamond--md {
    width: 0.875rem;
    height: 0.875rem;
}

.whyus-shelf-pills__diamond--lg {
    width: 1.25rem;
    height: 1.25rem;
}

/* lightning flash — brief full-bleed opacity spike, no color set here */
.whyus-shelf-pills__flash {
    animation: whyus-shelf-pills-flash 7s ease-in-out infinite;
}

@keyframes whyus-shelf-pills-flash {
    0%, 90%, 100% {
        opacity: 0;
    }
    93% {
        opacity: 0.15;
    }
    96% {
        opacity: 0;
    }
}

/* variable font-weight axis animation on the heading */
.whyus-shelf-pills__heading-weight {
    animation: whyus-shelf-pills-weight 5s ease-in-out infinite alternate;
}

@keyframes whyus-shelf-pills-weight {
    from {
        font-weight: 400;
    }
    to {
        font-weight: 800;
    }
}

/* CTA is the only element with an entrance animation */
.whyus-shelf-pills__cta {
    animation: whyus-shelf-pills-cta-in 0.8s ease-out 0.3s both;
}

@keyframes whyus-shelf-pills-cta-in {
    from {
        opacity: 0;
        transform: translateY(1rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.rally-beacon__section {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.rally-beacon__inner {
    max-width: 56rem;
}

@keyframes rally-beacon-pin-blink-cycle {
    0%, 100% { opacity: 1; }
    50%       { opacity: .5; }
}
.rally-beacon__pin--blink {
    animation: rally-beacon-pin-blink-cycle 2s cubic-bezier(.4,0,.6,1) infinite;
}

.rally-beacon__action--lift:hover { transform: scale(1.05); transition: transform .2s ease; }

@keyframes rally-beacon-action-hop-cycle {
    0%, 100% { transform: translateY(0); animation-timing-function: cubic-bezier(.8,0,1,1); }
    50%       { transform: translateY(-25%); animation-timing-function: cubic-bezier(0,0,.2,1); }
}
.rally-beacon__action--hop {
    animation: rally-beacon-action-hop-cycle 1s infinite;
}

