.hero-v27-block {
    max-width: 48rem;
}

.hero-v27-media {
    max-width: 64rem;
}

.hero-v27-glow {
    top: -1rem;
    left: 4rem;
    right: 4rem;
    height: 6rem;
    filter: blur(48px);
}

/* -- 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);
}
.content-trio-showcase__image {
    display: block;
    width: 100%;
    height: 10rem;
    object-fit: cover;
}

.content-trio-showcase__image--tall {
    height: 14rem;
}

.content-trio-showcase__image--short {
    height: 8rem;
}

.content-trio-showcase__card-lift {
    transition: transform 180ms ease;
}

.content-trio-showcase__card-lift:hover {
    transform: translateY(-0.25rem);
}

.content-trio-showcase__float {
    animation: content-trio-showcase-float 7s ease-in-out infinite;
}

.content-trio-showcase__rail {
    width: 100%;
    height: 0.25rem;
}

.content-trio-showcase__thumb {
    width: 7rem;
    height: 5rem;
}

.content-trio-showcase__badge {
    width: 2.5rem;
    height: 2.5rem;
}

@media (min-width: 768px) {
    .content-trio-showcase__rail {
        width: 0.25rem;
        height: auto;
    }
}

@keyframes content-trio-showcase-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(0.5rem); }
}

.content-trio-showcase__dot {
    width: 0.5rem;
    height: 0.5rem;
}

.content-trio-showcase__float {
    width: 6rem;
    height: 6rem;
}

@media (min-width: 768px) {
    .content-trio-showcase__offset {
        margin-top: 2.5rem;
    }
}

/* gallery v14 — before/after diptych divider */
[data-diptych-stage] {
    --split-pos: 50%;
}

.gallery-diptych__inner {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: ew-resize;
    touch-action: none;
    user-select: none;
}

.gallery-diptych__img {
    object-fit: cover;
    pointer-events: none;
}

.gallery-diptych__img--before {
    clip-path: inset(0 calc(100% - var(--split-pos)) 0 0);
}

.gallery-diptych__divider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--split-pos);
    width: 2px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.gallery-diptych__divider > * {
    pointer-events: auto;
}

/* Grid + gap: @sem may obfuscate grid/gap */
.constellation-principles-grid {
    display: grid;
    width: 100%;
    gap: 1.5rem;
    grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 768px) {
    .constellation-principles-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Бейдж чуть выше, чем -top-6 (без top-0 в bs) */
.philosophy-v7-badge-decor {
    top: -2.25rem;
}

.philosophy-grid__icon {
    width: 4rem;
    height: 4rem;
}

.philosophy-grid__corner {
    width: 3rem;
    height: 3rem;
}

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


.motion-beacon__section {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.motion-beacon__inner {
    max-width: 64rem;
}

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

@keyframes motion-beacon-pin-blink-loop {
    0%, 100% { opacity: 1; }
    50%       { opacity: .5; }
}
.motion-beacon__pin--blink {
    animation: motion-beacon-pin-blink-loop 2s cubic-bezier(.4,0,.6,1) infinite;
}

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

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

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

.motion-beacon__radial-row-bs {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
}

.motion-beacon__radial-row-bs > .motion-beacon__plaque--shift {
    flex: 1 1 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .motion-beacon__radial-row-bs > .motion-beacon__plaque--shift {
        flex: 1 1 calc((100% - (var(--motion-beacon-radial-cols, 3) - 1) * 1.5rem) / var(--motion-beacon-radial-cols, 3));
        max-width: calc((100% - (var(--motion-beacon-radial-cols, 3) - 1) * 1.5rem) / var(--motion-beacon-radial-cols, 3));
    }
}

