.intro-bouncing-mosaic__area {
    max-width: 48rem;
}

.intro-bouncing-mosaic__decor--p1 {
    top: 0;
    left: 0;
    width: 2rem;
    height: 3rem;
    animation-duration: 2s;
}

.intro-bouncing-mosaic__decor--p2 {
    top: 0;
    left: 25%;
    width: 1.5rem;
    height: 2.5rem;
    animation-duration: 2.5s;
}

.intro-bouncing-mosaic__decor--p3 {
    top: 0;
    left: 50%;
    width: 2.5rem;
    height: 2rem;
    animation-duration: 1.8s;
}

.intro-bouncing-mosaic__decor--p4 {
    top: 0;
    left: 75%;
    width: 1.75rem;
    height: 2.75rem;
    animation-duration: 2.2s;
}

.intro-bouncing-mosaic__decor--p5 {
    top: 0;
    right: 0;
    width: 2.25rem;
    height: 2.25rem;
    animation-duration: 2.8s;
}

.intro-bouncing-mosaic__decor--p6 {
    top: 25%;
    left: 0;
    width: 1.5rem;
    height: 2rem;
    animation-duration: 3s;
}

.intro-bouncing-mosaic__decor--p7 {
    top: 25%;
    left: 25%;
    width: 2rem;
    height: 1.5rem;
    animation-duration: 1.5s;
}

.intro-bouncing-mosaic__decor--p8 {
    top: 25%;
    left: 50%;
    width: 1.25rem;
    height: 2.25rem;
    animation-duration: 2.3s;
}

.intro-bouncing-mosaic__decor--p9 {
    top: 25%;
    left: 75%;
    width: 1.75rem;
    height: 1.75rem;
    animation-duration: 2.7s;
}

.intro-bouncing-mosaic__decor--p10 {
    top: 25%;
    right: 0;
    width: 1.5rem;
    height: 2.5rem;
    animation-duration: 1.9s;
}

.intro-bouncing-mosaic__decor--p11 {
    top: 50%;
    left: 0;
    width: 2.25rem;
    height: 1.5rem;
    animation-duration: 2.1s;
}

.intro-bouncing-mosaic__decor--p12 {
    top: 50%;
    left: 25%;
    width: 1.75rem;
    height: 2rem;
    animation-duration: 2.6s;
}

.intro-bouncing-mosaic__decor--p13 {
    top: 50%;
    left: 50%;
    width: 1.5rem;
    height: 1.75rem;
    animation-duration: 1.7s;
}

.intro-bouncing-mosaic__decor--p14 {
    top: 50%;
    left: 75%;
    width: 2rem;
    height: 1.25rem;
    animation-duration: 2.4s;
}

.intro-bouncing-mosaic__decor--p15 {
    top: 50%;
    right: 0;
    width: 1.25rem;
    height: 2rem;
    animation-duration: 2.9s;
}

.intro-bouncing-mosaic__decor--p16 {
    top: 75%;
    left: 0;
    width: 2rem;
    height: 1.75rem;
    animation-duration: 2.2s;
}

.intro-bouncing-mosaic__decor--p17 {
    top: 75%;
    left: 25%;
    width: 1.5rem;
    height: 2.25rem;
    animation-duration: 1.8s;
}

.intro-bouncing-mosaic__decor--p18 {
    top: 75%;
    left: 50%;
    width: 1.75rem;
    height: 1.5rem;
    animation-duration: 2.5s;
}

.intro-bouncing-mosaic__decor--p19 {
    top: 75%;
    left: 75%;
    width: 1.25rem;
    height: 2rem;
    animation-duration: 2.1s;
}

.intro-bouncing-mosaic__decor--p20 {
    top: 75%;
    right: 0;
    width: 2.25rem;
    height: 1.5rem;
    animation-duration: 2.7s;
}

.intro-bouncing-mosaic__decor--p21 {
    bottom: 0;
    left: 0;
    width: 1.5rem;
    height: 2rem;
    animation-duration: 2.3s;
}

.intro-bouncing-mosaic__decor--p22 {
    bottom: 0;
    left: 25%;
    width: 2rem;
    height: 1.25rem;
    animation-duration: 1.6s;
}

.intro-bouncing-mosaic__decor--p23 {
    bottom: 0;
    left: 50%;
    width: 1.75rem;
    height: 1.75rem;
    animation-duration: 2.8s;
}

.intro-bouncing-mosaic__decor--p24 {
    bottom: 0;
    left: 75%;
    width: 1.25rem;
    height: 2.25rem;
    animation-duration: 2s;
}

.intro-bouncing-mosaic__decor--p25 {
    bottom: 0;
    right: 0;
    width: 2rem;
    height: 1.5rem;
    animation-duration: 2.4s;
}

[class*="intro-bouncing-mosaic__decor--p"] {
    animation-name: intro-bouncing-mosaic__bounce;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

@keyframes intro-bouncing-mosaic__bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-25%); }
}

.services-timeline__serif,
[data-serif] {
    font-family: Georgia, "Times New Roman", Times, serif;
}

.services-timeline__body {
    min-width: 0;
}
.services-timeline__row:last-child .services-timeline__body {
    padding-bottom: 0;
}

.services-timeline__ghost {
    line-height: 1;
}

/* steps v21 - Bauhaus grid geometric shape accents (no color, shape only via TW bg-* on the element) */

.quadrant-lattice__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .quadrant-lattice__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .quadrant-lattice__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.quadrant-lattice__badge {
    width: 3rem;
    height: 3rem;
}

.steps-bauhaus__shape {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 1.5rem;
    height: 1.5rem;
}

.steps-bauhaus__shape--0 {
    border-radius: 9999px;
}

.steps-bauhaus__shape--1 {
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.steps-bauhaus__shape--2 {
    border-radius: 0;
}

.steps-bauhaus__shape--3 {
    border-radius: 9999px;
    transform: translateX(-0.5rem);
}

/* 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);
    }
}

