/* Декор: клики проходят к контенту */
.hero-v13-decor-layer {
    pointer-events: none;
}

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

/* Иконка в карточке key-features (w-8 h-8 rounded-lg) */
.hero-v13-feature-icon {
    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;
}

.hero-v13-feature-icon i {
    line-height: 1;
}

/* Плавающие точки — только размеры и позиции */
.hero-v13-dot--1 {
    position: absolute;
    top: 5rem;
    left: 4rem;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 9999px;
}

.hero-v13-dot--2 {
    position: absolute;
    top: 8rem;
    right: 5rem;
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 9999px;
}

.hero-v13-dot--3 {
    position: absolute;
    bottom: 6rem;
    left: 5rem;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 9999px;
}

.hero-v13-dot--4 {
    position: absolute;
    bottom: 8rem;
    right: 4rem;
    width: 1rem;
    height: 1rem;
    border-radius: 9999px;
}

.hero-v13-dot--5 {
    position: absolute;
    top: 50%;
    left: 25%;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 9999px;
}

.hero-v13-dot--6 {
    position: absolute;
    top: 33%;
    right: 33%;
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 9999px;
}

/* Контент: как max-w-5xl / max-w-3xl в Bootstrap */
.hero-v13-area-max {
    max-width: 64rem;
    margin-left: auto;
    margin-right: auto;
}

.hero-v13-desc-max {
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

/* Индикатор скролла внизу — без transform (конфликт с анимациями) */
.hero-v13-scroll-wrap {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    z-index: 10;
    margin-left: -0.75rem;
}

.hero-v13-scroll-track {
    width: 1.5rem;
    height: 2.5rem;
}

.hero-v13-scroll-thumb {
    width: 0.25rem;
    height: 0.75rem;
}

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

.hero-v13-btn-ghost:hover,
.hero-v13-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);
}
/* advantages zigzag — 50/50 split, alternating direction, image cover + hover zoom (layout only, no colors) */

.advantages-zigzag__media {
    aspect-ratio: 4 / 3;
}

.advantages-zigzag__img {
    object-fit: cover;
    transition: transform 0.4s ease;
}

.advantages-zigzag__media:hover .advantages-zigzag__img {
    transform: scale(1.05);
}

@media (min-width: 768px) {
    /* equal halves regardless of framework (BS has no responsive w-50 utility) */
    .advantages-zigzag__row > * {
        flex: 1 1 0%;
        min-width: 0;
    }

    /* first row image-left/text-right; every even row mirrors */
    .advantages-zigzag__row:nth-child(even) {
        flex-direction: row-reverse;
    }
}

.features-wave-cards__decor--offset-1 {
    top: 4rem;
    left: 3rem;
    transform: rotate(12deg);
}
.features-wave-cards__decor--offset-2 {
    top: 8rem;
    right: 4rem;
    transform: rotate(-6deg);
}
.features-wave-cards__decor--offset-3 {
    bottom: 6rem;
    left: 5rem;
    transform: rotate(6deg);
}
.features-wave-cards__decor--offset-4 {
    bottom: 8rem;
    right: 3rem;
    transform: rotate(-12deg);
}
.features-wave-cards__decor--pulse {
    animation: features-wave-cards-pulse-kf 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
.features-wave-cards__decor--bounce {
    animation: features-wave-cards-bounce-kf 2s infinite;
}
.features-wave-cards__decor--ping {
    animation: features-wave-cards-ping-kf 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}
@keyframes features-wave-cards-pulse-kf {
    0%, 100% { opacity: 1; }
    50% { opacity: .5; }
}
@keyframes features-wave-cards-bounce-kf {
    0%, 100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(0.8,0,1,1); }
    50% { transform: none; animation-timing-function: cubic-bezier(0,0,0.2,1); }
}
@keyframes features-wave-cards-ping-kf {
    75%, 100% { transform: scale(2); opacity: 0; }
}

.features-wave-cards__line--offset-1 {
    top: 33%;
    left: 0;
    clip-path: polygon(0% 50%, 25% 0%, 50% 50%, 75% 100%, 100% 50%);
}
.features-wave-cards__line--offset-2 {
    bottom: 25%;
    right: 0;
    clip-path: polygon(0% 50%, 25% 100%, 50% 50%, 75% 0%, 100% 50%);
}

.features-wave-cards__decor--drop-1 {
    top: 25%;
    left: 25%;
}
.features-wave-cards__decor--drop-2 {
    bottom: 33%;
    right: 33%;
}

.features-wave-cards__card--hover {
    transition: transform 0.3s ease;
}
.features-wave-cards__card--hover:hover {
    transform: scale(1.05);
}

.features-wave-cards__overlay-decor {
    top: 0;
    right: 0;
    transform: translate(2rem, -2rem);
}
.features-wave-cards__icon-wrap {
    clip-path: polygon(0% 20%, 100% 0%, 100% 80%, 0% 100%);
}

/* -- Feature card hover -- */
.feat-card-hover {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feat-card-hover:hover {
    transform: translateY(-3px);
    box-shadow: 0 0.5rem 1.5rem rgba(0,0,0,.12) !important;
}

/* -- Icon box sizing -- */
.feat-icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-width: 2.5rem;
    min-height: 2.5rem;
}
.feat-icon-box--lg {
    width: 4rem;
    height: 4rem;
    border-radius: 0.75rem;
}
.feat-icon-box--xl {
    width: 5rem;
    height: 5rem;
    border-radius: 1rem;
}
.feat-icon-box--circle {
    border-radius: 50%;
}

/* -- Nav/filmstrip button hover -- */
.feat-btn-nav {
    transition: transform 0.15s ease, background-color 0.15s ease;
}
.feat-btn-nav:hover {
    transform: scale(1.1);
}

/* -- Table row hover -- */
.feat-table-row-hover {
    transition: background-color 0.15s ease;
}
.feat-table-row-hover:hover {
    background-color: var(--bs-primary-bg-subtle) !important;
}

/* -- Accordion item hover -- */
.feat-accordion-hover summary:hover {
    background-color: var(--bs-primary-bg-subtle);
    border-radius: 0.75rem;
}

/* -- DL item hover -- */
.feat-dl-item-hover {
    transition: background-color 0.15s ease;
    border-radius: 0.5rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}
.feat-dl-item-hover:hover {
    background-color: var(--bs-primary-bg-subtle);
}

/* -- Deck button hover -- */
.feat-deck-btn {
    transition: filter 0.2s ease, transform 0.15s ease;
}
.feat-deck-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}
.staircase-cascade-quote__portrait {
    width: 5rem;
    height: 5rem;
}

.staircase-cascade-quote__step:nth-child(1) .staircase-cascade-quote__shadow {
    transform: translate(0, 0);
}

.staircase-cascade-quote__step:nth-child(2) .staircase-cascade-quote__shadow {
    transform: translate(16px, 16px);
}

.staircase-cascade-quote__step:nth-child(3) .staircase-cascade-quote__shadow {
    transform: translate(32px, 32px);
}

.staircase-cascade-quote__step:nth-child(4) .staircase-cascade-quote__shadow {
    transform: translate(48px, 48px);
}

.staircase-cascade-quote__step:nth-child(5) .staircase-cascade-quote__shadow {
    transform: translate(64px, 64px);
}

.staircase-cascade-quote__step:nth-child(6) .staircase-cascade-quote__shadow {
    transform: translate(80px, 80px);
}

.staircase-cascade-quote__step:nth-child(n + 7) .staircase-cascade-quote__shadow {
    transform: translate(96px, 96px);
}

.gallery-zoom-cards__card {
    transition: all 0.5s ease;
}
.gallery-zoom-cards__card:hover {
    transform: scale(1.05);
}
.gallery-zoom-cards__img {
    transition: transform 0.7s ease;
}
.gallery-zoom-cards__card:hover .gallery-zoom-cards__img {
    transform: scale(1.10);
}
.gallery-zoom-cards__overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.2), transparent);
    opacity: 0;
    transition: all 0.5s ease;
}
.gallery-zoom-cards__card:hover .gallery-zoom-cards__overlay {
    opacity: 1;
}
.gallery-zoom-cards__badge {
    top: 0.5rem;
    right: 0.5rem;
}
.gallery-zoom-cards__content {
    transform: translateY(0.5rem);
    transition: transform 0.5s ease;
}
.gallery-zoom-cards__card:hover .gallery-zoom-cards__content {
    transform: translateY(0);
}
.gallery-zoom-cards__desc {
    opacity: 0;
    transition: opacity 0.5s ease 0.2s;
}
.gallery-zoom-cards__card:hover .gallery-zoom-cards__desc {
    opacity: 1;
}
.gallery-zoom-cards__accent {
    transition: all 0.5s ease;
}
.gallery-zoom-cards__card:hover .gallery-zoom-cards__accent {
    border-color: rgba(var(--bs-primary-rgb), 0.5) !important;
}

/* v26 — morse-code ornament: fixed dot/dash sizing outside the Tailwind spacing scale */
.whyus-morse__mark {
    display: inline-block;
    flex-shrink: 0;
}

.whyus-morse__mark--dot {
    width: 0.375rem;
    height: 0.375rem;
}

.whyus-morse__mark--dash {
    width: 1.5rem;
    height: 0.3125rem;
}

/* v26 — Art Nouveau corner flourish: subtle organic rotation */
.whyus-flourish {
    transform: rotate(-6deg);
}

/* v26 — letterpress heading: tightened, print-like leading (color/weight handled by Tailwind classes) */
.whyus-letterpress__heading {
    line-height: 1.15;
    letter-spacing: 0.01em;
}

/* v26 — spring/bounce entrance, plays once on load */
@keyframes whyus-spring-in {
    0% {
        opacity: 0;
        transform: translateY(28px) scale(0.96);
    }
    60% {
        opacity: 1;
        transform: translateY(-6px) scale(1.015);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.whyus-spring-in {
    animation: whyus-spring-in 900ms cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.whyus-spring-in--delay {
    animation-delay: 160ms;
}

.whyus-highlight-card {
    animation: whyus-spring-in 700ms cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.whyus-highlight-card:nth-child(1) { animation-delay: 0.1s; }
.whyus-highlight-card:nth-child(2) { animation-delay: 0.2s; }
.whyus-highlight-card:nth-child(3) { animation-delay: 0.3s; }

/* v26 — ripple-from-cursor effect on comparison cells (color applied via Tailwind class in script.js) */
.whyus-ripple {
    position: absolute;
    left: 0;
    top: 0;
    width: 14px;
    height: 14px;
    border-radius: 9999px;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0);
    animation: whyus-ripple 600ms ease-out forwards;
}

@keyframes whyus-ripple {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0.6;
    }
    100% {
        transform: translate(-50%, -50%) scale(9);
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .whyus-spring-in,
    .whyus-ripple,
    .whyus-highlight-card {
        animation: none;
    }
}


.conversion-boost__section {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

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

.conversion-boost__jump--rise:hover { transform: scale(1.05); transition: transform .2s ease; }

