.intro-split-gradient__col-left {
    flex: 1 1 60%;
}

.intro-split-gradient__skew-decor {
    width: 8rem;
}

.intro-split-gradient__content-area {
    max-width: 42rem;
}

.intro-split-gradient__text-box {
    max-width: 36rem;
}

.intro-split-gradient__col-right {
    flex: 1 1 40%;
    display: flex;
    flex-direction: column;
    min-height: 0;
    align-self: stretch;
}

.intro-split-gradient__media-frame {
    flex: 1 1 auto;
    position: relative;
    overflow: hidden;
    /* Завжди є «коробка» для absolute img (BS Reboot: img height:auto ламає h-100 у порожнього батька) */
    min-height: 16rem;
    aspect-ratio: 4 / 3;
}

/* Перебиваємо Bootstrap reboot для img */
.intro-split-gradient__media-frame > img.intro-split-gradient__media-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    z-index: 0;
}

@media (min-width: 992px) {
    /* Права смуга на всю висоту в’юпорту — тоді flex-grow має від чого рахувати */
    .intro-split-gradient__col-right {
        min-height: 100vh;
        min-height: 100dvh;
    }

    .intro-split-gradient__media-frame {
        flex: 1 1 0;
        width: 100%;
        min-height: min(50vh, 24rem);
        max-height: none;
        aspect-ratio: auto;
    }

    .intro-split-gradient__media-frame > img.intro-split-gradient__media-img {
        height: 100%;
    }
}

.intro-split-gradient__media-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.intro-cta-hover {
    transition: transform 0.3s ease;
}

.intro-cta-hover:hover {
    transform: scale(1.05);
}

.intro-star-offset {
    top: -0.5rem;
    right: -0.5rem;
}

.intro-bulb-offset {
    bottom: -0.5rem;
    left: -0.5rem;
}

.intro-sq-8  { width: 2rem;    height: 2rem;    flex-shrink: 0; }
.intro-sq-10 { width: 2.5rem;  height: 2.5rem;  flex-shrink: 0; }
.intro-sq-12 { width: 3rem;    height: 3rem;    flex-shrink: 0; }
.intro-sq-20 { width: 5rem;    height: 5rem;    flex-shrink: 0; }

/* process film — card image fit */
.process-film__img-wrap {
    aspect-ratio: 4 / 5;
    overflow: hidden;
}

.process-film__img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/* process film — full-section animated primary blur */
.process-film__blur {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
}

.process-film__blur--a {
    width: 75%;
    height: 85%;
    top: -25%;
    left: -20%;
    animation: process-film-blur-drift-a 10s ease-in-out infinite;
}

.process-film__blur--b {
    width: 70%;
    height: 80%;
    top: 0;
    right: -25%;
    animation: process-film-blur-drift-b 12s ease-in-out infinite;
}

.process-film__blur--c {
    width: 80%;
    height: 90%;
    bottom: -30%;
    left: 5%;
    animation: process-film-blur-drift-c 14s ease-in-out infinite;
}

.process-film__blur--d {
    width: 65%;
    height: 75%;
    top: 25%;
    left: 25%;
    animation: process-film-blur-drift-d 11s ease-in-out infinite;
}

.process-film__blur--delay {
    animation-delay: 2.5s;
}

@keyframes process-film-blur-drift-a {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.75;
    }

    50% {
        transform: translate(8%, 6%) scale(1.08);
        opacity: 1;
    }
}

@keyframes process-film-blur-drift-b {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.7;
    }

    50% {
        transform: translate(-6%, 8%) scale(1.06);
        opacity: 0.95;
    }
}

@keyframes process-film-blur-drift-c {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.65;
    }

    50% {
        transform: translate(5%, -6%) scale(1.1);
        opacity: 0.9;
    }
}

@keyframes process-film-blur-drift-d {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }

    50% {
        transform: translate(-4%, 5%) scale(1.07);
        opacity: 0.85;
    }
}

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

/* Block: advantages-tabs-image-panel */
.advantages-tabs-image-panel__tab--hover:hover {
    transform: scale(1.05);
}

.advantages-tabs-image-panel__tab {
    /* BS: без border-0 (він дає border:0 !important і гасить border-bottom). Бокові рамки прибираємо тут. */
    border-style: solid;
    border-width: 0;
    border-bottom-width: 2px;
    border-bottom-color: transparent;
    box-shadow: none;
    background-clip: padding-box;
    transition: border-color 0.25s ease, transform 0.25s ease, opacity 0.25s ease;
}

.advantages-tabs-image-panel__tab:hover {
    /* Повна нижня лінія — надійніше за лише color, якщо десь перебито width */
    border-bottom: 2px solid var(--bs-emphasis-color, var(--bs-body-color, currentColor));
}

.advantages-tabs-image-panel__tab:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

.advantages-tabs-image-panel__tab:not(.advantages-tabs-image-panel__tab--active) {
    opacity: 0.65;
}

/* Не покладатися на Tailwind .hidden — у Bootstrap її немає */
.advantages-tabs-image-panel__panel--hidden {
    display: none !important;
}

.advantages-tabs-image-panel__panel {
    animation: advantages-tabs-image-panel-panel-fade-kf 0.3s ease;
}

.advantages-tabs-image-panel__panel.advantages-tabs-image-panel__panel--visible {
    animation: advantages-tabs-image-panel-panel-fade-kf 0.3s ease;
}

@keyframes advantages-tabs-image-panel-panel-fade-kf {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* integrations — unified hover (layout; shadow + lift; respect reduced motion) */
.integrations-card-hover {
    transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.integrations-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(-2px) scale(1.03);
}

.integrations-card-hover--shadow-only {
    transition: box-shadow 0.35s ease;
}

.integrations-card-hover--shadow-only:hover {
    transform: none;
    box-shadow:
        0 20px 25px -5px rgb(0 0 0 / 0.1),
        0 8px 10px -6px rgb(0 0 0 / 0.1);
}

@media (prefers-reduced-motion: reduce) {
    .integrations-card-hover:hover {
        transform: none;
    }
}

/* Primary tile: wpg-preview --tw-primary-* | --bs-primary-scale-*; inherited --bs-primary hex */
.integrations__icon-tile {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    --_ie-from: rgb(var(--tw-primary-500, var(--bs-primary-scale-500, 99 102 241)) / 1);
    --_ie-to: rgb(var(--tw-primary-600, var(--bs-primary-scale-600, 79 70 229)) / 1);
    background-color: var(--bs-primary, rgb(var(--tw-primary-600, var(--bs-primary-scale-600, 79 70 229)) / 1));
    background-image: linear-gradient(to bottom right, var(--_ie-from), var(--_ie-to));
}
.integrations__icon-tile i {
    color: inherit;
}
.integrations__icon-tile svg,
.integrations__icon-tile :is(path, circle, rect, polygon) {
    fill: currentColor;
}

/* Softer card hover shadow (avoids muddy stack with shadow-lg / BS cards) */
.integrations-card-hover:hover {
    box-shadow: 0 0.375rem 1rem rgba(15, 23, 42, 0.07);
}
.integrations-card-hover--shadow-only:hover {
    box-shadow: 0 0.375rem 1rem rgba(15, 23, 42, 0.07);
}

/* Diagonal stripes background */
.integrations__diagonal-stripes {
    background-image: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 40px,
        rgba(148, 163, 184, 0.05) 40px,
        rgba(148, 163, 184, 0.05) 41px
    );
}

/* Polaroid card */
.integrations__polaroid-frame {
    width: 180px;
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.15), 0 1px 3px rgba(0, 0, 0, 0.1);
}

.integrations__polaroid-photo {
    height: 140px;
}

/* Icon tile size (w-16 h-16 equivalent for BS-branch parity) */
.integrations__polaroid-tile {
    width: 4rem;
    height: 4rem;
}

/* Card hover: frame scale (moved out of the sem directive; framework-independent) */
.integrations__polaroid-card {
    cursor: pointer;
}
.integrations__polaroid-frame {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.integrations__polaroid-card:hover > .integrations__polaroid-frame {
    transform: scale(1.1) rotate(0deg);
}
@media (prefers-reduced-motion: reduce) {
    .integrations__polaroid-card:hover > .integrations__polaroid-frame {
        transform: none;
    }
}

.integrations__polaroid-caption {
    font-family: cursive, sans-serif;
}

.integrations__polaroid-note {
    font-size: 0.7rem;
    font-family: cursive, sans-serif;
}

.horizontal-snap-timeline__dot-grid {
    background-image: radial-gradient(circle, currentColor 1px, transparent 1px);
    background-size: 24px 24px;
}

.horizontal-snap-timeline__no-scrollbar::-webkit-scrollbar {
    display: none;
}

.horizontal-snap-timeline__no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.horizontal-snap-timeline__dot--active {
    width: 24px;
    height: 0.5rem;
    filter: brightness(1.05);
}

.horizontal-snap-timeline__dot--idle {
    width: 8px;
    height: 0.5rem;
    filter: brightness(0.55);
}

.horizontal-snap-timeline__nav {
    width: 2.5rem;
    height: 2.5rem;
    top: 50%;
    left: 0;
    transform: translateY(-50%) translateX(-1rem);
}

.horizontal-snap-timeline__nav--next {
    left: auto;
    right: 0;
    transform: translateY(-50%) translateX(1rem);
}

.horizontal-snap-timeline__icon {
    width: 2.5rem;
    height: 2.5rem;
}

.horizontal-snap-timeline__track {
    list-style: none;
    padding-left: 0;
    padding-top: 1rem;
    padding-bottom: 1rem;
    overflow-x: auto;
    overflow-y: visible;
}

.horizontal-snap-timeline__slide {
    width: 18rem;
    overflow: visible;
    padding-top: 0.25rem;
}

.horizontal-snap-timeline__card {
    transition: transform 200ms ease, box-shadow 200ms ease;
}

.horizontal-snap-timeline__card:hover {
    transform: translateY(-0.25rem);
}

@media (min-width: 768px) {
    .horizontal-snap-timeline__slide {
        width: 20rem;
    }
}

.horizontal-snap-timeline__bar {
    height: 2px;
}

.horizontal-snap-timeline__progress {
    height: 2px;
    width: var(--horizontal-snap-timeline__progress, 0%);
}

