/* Hero v3 Animation Styles */

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(6deg); }
    50% { transform: translateY(-20px) rotate(6deg); }
}

@keyframes float-reverse {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(15px) scale(1.1); }
}

@keyframes float-delayed {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-15px) scale(0.9); }
}

@keyframes pulse-slow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

@keyframes bounce-slow {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes fade-in-up {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0px); }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-float-reverse {
    animation: float-reverse 4s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float-delayed 5s ease-in-out infinite;
    animation-delay: 1s;
}

.animate-pulse-slow {
    animation: pulse-slow 3s ease-in-out infinite;
}

.animate-bounce-slow {
    animation: bounce-slow 2s ease-in-out infinite;
}

.animate-fade-in-up {
    animation: fade-in-up 1s ease-out;
}

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

.hero-v3-btn-ghost:hover,
.hero-v3-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);
}
/* intro — tape mast: full masthead, metric rail, dual cards, letterbox */
.tape-mast__eyebrow {
    letter-spacing: 0.14em;
}

.tape-mast__title {
    letter-spacing: -0.035em;
    text-wrap: balance;
}

.tape-mast__rule {
    height: 0;
}

.tape-mast__rail-item {
    min-width: 0;
}

@media (min-width: 992px) {
    .tape-mast__rail-item + .tape-mast__rail-item {
        border-left: 1px solid var(--bs-border-color);
        padding-left: 1.25rem;
    }
}

.tape-mast__card {
    padding: 1.25rem;
    min-height: 12rem;
}

.tape-mast__caption {
    font-size: 0.75rem;
    line-height: 1rem;
}

.tape-mast__chart {
    min-height: 6rem;
    overflow: visible;
}

.tape-mast__chart-fill {
    transform-origin: center bottom;
    animation: tape-mast-chart-fill 4.2s ease-in-out infinite;
}

.tape-mast__chart-line {
    stroke-dasharray: 420;
    stroke-dashoffset: 420;
    animation: tape-mast-chart-draw 4.2s ease-in-out infinite;
}

.tape-mast__chart-dot {
    animation: tape-mast-chart-dot 4.2s ease-in-out infinite;
}

.tape-mast__photo {
    min-height: 14rem;
}

.tape-mast__photo-img {
    object-fit: cover;
}

@keyframes tape-mast-chart-fill {
    0%, 12% { opacity: 0; transform: scaleY(0.55); }
    40%, 72% { opacity: 1; transform: scaleY(1); }
    88%, 100% { opacity: 0; transform: scaleY(0.55); }
}

@keyframes tape-mast-chart-draw {
    0% { stroke-dashoffset: 420; opacity: 0.35; }
    38% { stroke-dashoffset: 0; opacity: 1; }
    72% { stroke-dashoffset: 0; opacity: 1; }
    100% { stroke-dashoffset: 420; opacity: 0.35; }
}

@keyframes tape-mast-chart-dot {
    0%, 28% { opacity: 0; transform: translateY(6px) scale(0.6); }
    42%, 72% { opacity: 1; transform: translateY(0) scale(1); }
    88%, 100% { opacity: 0; transform: translateY(6px) scale(0.6); }
}

@media (min-width: 768px) {
    .tape-mast__photo {
        min-height: 18rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tape-mast__chart-fill,
    .tape-mast__chart-line,
    .tape-mast__chart-dot {
        animation: none;
        opacity: 1;
        transform: none;
        stroke-dashoffset: 0;
    }
}

/* short stat captions sit in narrow columns on phones: long words break instead of spilling over */
.tape-mast__caption { min-width: 0; overflow-wrap: anywhere; }

.stats-ladder__title { letter-spacing: -0.02em; }
.stats-ladder__medal { width: 5.5rem; height: 5.5rem; flex-shrink: 0; }
.stats-ladder__rank { opacity: 0; transform: scale(.94); transition: opacity 600ms ease, transform 700ms cubic-bezier(.34, 1.56, .64, 1); }
.stats-ladder.is-visible .stats-ladder__rank { opacity: 1; transform: none; }

.stats-ladder__row { transition: transform 900ms cubic-bezier(.65, 0, .35, 1); will-change: transform; }
.stats-ladder__track { height: .75rem; }
.stats-ladder__fill { width: 0; height: 100%; transition: width 1500ms cubic-bezier(.2, .8, .2, 1); }

@media (prefers-reduced-motion: reduce) {
    .stats-ladder__rank { opacity: 1; transform: none; transition: none; }
    .stats-ladder__row, .stats-ladder__fill { transition: none; }
}

/* wpg-hidden: utility classes are renamed in production builds, so hidden states must not rely on .hidden / .d-none alone */
.stats-ladder[hidden], .stats-ladder [hidden], .stats-ladder .hidden.d-none { display: none !important; }

.perks-media-bullets__thumb {
    width: 3.5rem;
    height: 3.5rem;
}

.perks-media-bullets__card {
    transition: transform 0.2s ease;
}

@media (min-width: 640px) {
    .perks-media-bullets__card:hover {
        transform: scale(1.05);
    }
}

.pulse-stack__eyebrow {
    letter-spacing: 0.12em;
}

.pulse-stack__heading {
    letter-spacing: -0.02em;
}

.pulse-stack__micro {
    font-size: 0.75rem;
    line-height: 1.3;
}

.pulse-stack__double {
    border-top-style: double;
}

.pulse-stack__glow {
    width: 16rem;
    height: 16rem;
    transform: translate(30%, 30%);
    filter: blur(14px);
}

.pulse-stack__frost {
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.pulse-stack__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.pulse-stack__track {
    height: 0.25rem;
}

.pulse-stack__fill {
    width: 0;
    animation: pulse-stack-fill 1.8s ease forwards;
}

.pulse-stack__fill--1 { --pulse-stack-end: 84%; animation-delay: 0.15s; }
.pulse-stack__fill--2 { --pulse-stack-end: 52%; animation-delay: 0.4s; }
.pulse-stack__fill--3 { --pulse-stack-end: 68%; animation-delay: 0.65s; }

@keyframes pulse-stack-fill {
    from { width: 0; }
    to { width: var(--pulse-stack-end); }
}

.pulse-stack__marquee {
    width: max-content;
    animation: pulse-stack-marquee 22s linear infinite;
}

@keyframes pulse-stack-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.pulse-stack__band {
    margin-inline: -1rem;
    padding-inline: 1rem;
}

@media (min-width: 768px) {
    .pulse-stack__band {
        margin-inline: -1.5rem;
        padding-inline: 1.5rem;
    }
}

.pulse-stack__chip {
    width: max-content;
    max-width: 14rem;
}

.pulse-stack__copy {
    max-width: 34rem;
}

.pulse-stack__photo {
    aspect-ratio: 3 / 4;
    width: 100%;
}

.pulse-stack__img {
    object-fit: cover;
}

@media (prefers-reduced-motion: reduce) {
    .pulse-stack__marquee,
    .pulse-stack__fill {
        animation: none;
    }

    .pulse-stack__fill--1 { width: 84%; }
    .pulse-stack__fill--2 { width: 52%; }
    .pulse-stack__fill--3 { width: 68%; }
}

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

/* Bootstrap: 2 колонки + gap как у Tailwind (row + row-cols без колонок — слипание) */
.whyus-split-photo__bs-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    width: 100%;
    align-items: center;
}

@media (min-width: 768px) {
    .whyus-split-photo__bs-split {
        gap: 3rem;
    }
}

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

/* Как mb-8 у Tailwind */
.whyus-split-photo__intro-mb {
    margin-bottom: 2rem;
}

.whyus-split-photo__thumb {
    width: 3rem;
    height: 3rem;
    flex-shrink: 0;
}


.action-boost__section {
    padding-top: 6rem;
    padding-bottom: 6rem;
    min-height: 500px;
}

.action-boost__prompt--glow:hover { transform: scale(1.05); transition: transform .2s ease; }

