/* Декор: pointer-events (не использовать Bootstrap pe-none — это не то) */
.hero-v19-decor-layer {
    pointer-events: none;
}

/* Бейджи иконок в нижней панели: те же размеры, что w-12 / md:w-14 / lg:h-16 + rounded-xl / md:rounded-2xl */
.hero-v19-feature-icon {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    overflow: hidden;
    transition: transform 150ms ease;
}

@media (min-width: 576px) {
    .hero-v19-feature-icon:hover {
        transform: scale(1.05);
    }
}

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

@media (min-width: 768px) {
    .hero-v19-feature-icon {
        width: 3.5rem;
        height: 3.5rem;
        border-radius: 1rem;
    }
}

@media (min-width: 1024px) {
    .hero-v19-feature-icon {
        width: 4rem;
        height: 4rem;
    }
}

.hero-v19-grid-wrap {
    max-width: 80rem;
}

.hero-v19-panel-main {
    min-height: 300px;
}

.hero-v19-stat-card {
    min-height: 140px;
}

.hero-v19-highlight-card {
    min-height: 160px;
}

/* -- 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);
}
/* Stack: как grid grid-cols-1 gap-lg (1.5rem в типичной шкале) */
.vertical-manifesto-grid {
    display: grid;
    width: 100%;
    gap: 1.5rem;
    grid-template-columns: minmax(0, 1fr);
}

/* Строка карточки: flex + gap-6 + items-start — то же, что tw flex flex-row items-start gap-6 */
.philosophy-v6-inner {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 1.5rem;
    width: 100%;
}

/* Как absolute -top-6 у бейджа в оригинале */
.philosophy-v6-badge-wrap {
    flex-shrink: 0;
    align-self: flex-start;
    margin-top: -1.5rem;
}

.philosophy-v6-box {
    flex: 1;
    min-width: 0;
}

/* Круг как в Bootstrap + фикс «вытянутой» капсулы во flex */
.philosophy-vertical__badge {
    width: 4rem;
    height: 4rem;
    flex-shrink: 0;
    aspect-ratio: 1;
    box-sizing: border-box;
}

.philosophy-bg__img {
    object-fit: cover;
}

/* process studio — services grid, CTA ring, card drift animations */
.process-studio__cta {
    width: 7.5rem;
    height: 7.5rem;
    line-height: 1.25;
    padding: 1rem;
    transition: transform 220ms ease, border-color 220ms ease, background-color 220ms ease, color 220ms ease;
}

.process-studio__cta:hover {
    transform: scale(1.04);
}

.process-studio__card-icon {
    width: 3.5rem;
    height: 3.5rem;
    flex-shrink: 0;
}

.process-studio__drift {
    animation: process-studio-drift 4.5s ease-in-out infinite;
}

.process-studio__drift--a {
    animation-delay: 0s;
}

.process-studio__drift--b {
    animation-delay: 0.5s;
}

.process-studio__drift--c {
    animation-delay: 1s;
}

.process-studio__card--1 .process-studio__drift {
    animation-duration: 4.5s;
}

.process-studio__card--2 .process-studio__drift {
    animation-duration: 5s;
}

.process-studio__card--3 .process-studio__drift {
    animation-duration: 4s;
}

.process-studio__card--4 .process-studio__drift {
    animation-duration: 5.5s;
}

.process-studio__card--5 .process-studio__drift {
    animation-duration: 4.2s;
}

.process-studio__card--6 .process-studio__drift {
    animation-duration: 4.8s;
}

@keyframes process-studio-drift {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-0.2rem);
    }
}

@media (min-width: 768px) {
    .process-studio__cta {
        width: 8.5rem;
        height: 8.5rem;
    }
}

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

    .process-studio__cta:hover {
        transform: none;
    }
}

/* whyus v28 — mind-map spotlight panel with open branch text blocks */

/* Spotlight panel — clip-path wipe reveal on load (single play, no BS analog) */
@keyframes whyusMindmapWipe {
    from {
        clip-path: inset(0 100% 0 0);
    }
    to {
        clip-path: inset(0 0 0 0);
    }
}

.whyus-mindmap__panel {
    animation: whyusMindmapWipe 900ms ease-out both;
}

/* Corner brackets — four marks pinned to the spotlight frame's corners */
.whyus-mindmap__corner {
    position: absolute;
    line-height: 1;
}

.whyus-mindmap__corner--tl {
    top: -0.5rem;
    left: -0.5rem;
}

.whyus-mindmap__corner--tr {
    top: -0.5rem;
    right: -0.5rem;
}

.whyus-mindmap__corner--bl {
    bottom: -0.5rem;
    left: -0.5rem;
}

.whyus-mindmap__corner--br {
    bottom: -0.5rem;
    right: -0.5rem;
}

.portfolio-flex__min {
    min-width: 0;
}

/* Card hover: scale */
.portfolio-item-hover {
    transition: transform 0.3s ease;
}
.portfolio-item-hover:hover {
    transform: scale(1.05);
}

/* Overlay: hidden by default, fades in when card is hovered */
.portfolio-overlay-hover {
    opacity: 0;
    transition: opacity 0.3s ease;
}
.portfolio-item-hover:hover .portfolio-overlay-hover {
    opacity: 0.9;
}

.glossary-grid__card {
    width: 100%;
}

@media (min-width: 576px) {
    .glossary-grid__card {
        width: calc(50% - 0.75rem); /* For gap-4 (1.5rem) -> half is 0.75rem */
    }
}

@media (min-width: 992px) {
    .glossary-grid__card {
        width: calc(33.33333% - 1rem); /* For gap-4 (1.5rem) -> 2 gaps = 3rem / 3 = 1rem */
    }
}

.glossary-grid__accent {
    height: 4px;
}

.glossary-grid__icon {
    width: 56px;
    height: 56px;
}


.signup-conversion__section {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

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

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

.signup-conversion__cards-bs {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
}

.signup-conversion__cards-bs > .signup-conversion__slate--lift {
    flex: 1 1 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .signup-conversion__cards-bs > .signup-conversion__slate--lift {
        flex: 1 1 calc((100% - 2rem) / 2);
        max-width: calc((100% - 2rem) / 2);
    }
}

@media (min-width: 992px) {
    .signup-conversion__cards-bs > .signup-conversion__slate--lift {
        flex: 1 1 calc((100% - 4rem) / 3);
        max-width: calc((100% - 4rem) / 3);
    }
}

