.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;
}


/* Hover — поза @sem */
.services__tile--lift {
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.services__tile--lift:hover {
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

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

.services__cta--lift {
  transition: filter 0.2s ease, transform 0.2s ease;
}

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

.services__cta--lift:hover {
  filter: brightness(0.92);
}

/* v23 polaroid — fixed image height (object-fit: no BS util) */
.perks-polaroid__img {
    object-fit: cover;
    height: 9rem;
    display: block;
}

/* slight rotation for polaroid feel */
.perks-polaroid__card:nth-child(odd) {
    transform: rotate(-0.8deg);
}

.perks-polaroid__card:nth-child(even) {
    transform: rotate(0.6deg);
}

.perks-polaroid__card:hover {
    transform: rotate(0deg) scale(1.02);
    transition: transform 0.25s ease;
}

.perks-polaroid__card {
    transition: transform 0.25s ease;
}

/* blob animation */
.perks-polaroid__blob--a {
    animation: perks-polaroid-bob 8s ease-in-out infinite;
}

.perks-polaroid__blob--b {
    animation: perks-polaroid-bob 10s ease-in-out infinite reverse;
}

@keyframes perks-polaroid-bob {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(1rem, -1.5rem); }
}


.boost-rally__section {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.boost-rally__inner {
    max-width: 64rem;
}

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

.boost-rally__appeal--shift:hover { transform: scale(1.05); transition: transform .2s ease; }

.boost-rally__panel--shift:hover { transform: scale(1.05); transition: transform .2s ease; }

/* Всегда на контейнере двух карточек: явный gap для grid (Tailwind) и дублирует зазор для flex (BS) */
.boost-rally__card-stack-gap {
    gap: 2rem;
}

/* Bootstrap only: класс задаётся в bs:, в Tailwind-режиме не выводится — не конфликтует с grid */
.boost-rally__card-row-bs {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    align-items: stretch;
}

@media (min-width: 768px) {
    .boost-rally__card-row-bs {
        flex-direction: row;
    }

    .boost-rally__card-row-bs > .boost-rally__panel--shift {
        flex: 1 1 0;
        min-width: 0;
    }
}

.boost-rally__card-row-bs > .boost-rally__panel--shift {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.boost-rally__card-row-bs > .boost-rally__panel--shift > a:last-of-type {
    margin-top: auto;
}

