/* Сетка карточек + gap (grid/gap в @sem могут обфусцироваться) */
.alternating-story-grid {
    display: grid;
    width: 100%;
    gap: 1.5rem;
    grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 768px) {
    .alternating-story-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Иначе фото с большим intrinsic width раздувает ячейку шире текстовых карточек */
.alternating-story-grid > * {
    min-width: 0;
}

/* max-width + центрирование блока вне @sem (tw/bs одинаково, без обфускации mx-auto/max-w) */
.philosophy-v10-subtitle {
    width: 100%;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.philosophy-v10-wrap {
    position: relative;
    z-index: 10;
}

.philosophy-v10-thumb {
    width: 100%;
    max-width: 100%;
}

.philosophy-v10-thumb img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

.philosophy-alternating__blob-xl {
    width: 24rem;
    height: 24rem;
}

.philosophy-alternating__blob-lg {
    width: 20rem;
    height: 20rem;
}

.philosophy-alternating__blob-md {
    width: 16rem;
    height: 16rem;
}

.philosophy-alternating__dot-xl {
    width: 5rem;
    height: 5rem;
}

.philosophy-alternating__dot-lg {
    width: 4rem;
    height: 4rem;
}

.philosophy-alternating__dot-md {
    width: 3.5rem;
    height: 3.5rem;
}

.philosophy-alternating__dot-sm {
    width: 3rem;
    height: 3rem;
}

.philosophy-alternating__line {
    height: 1px;
}

.philosophy-alternating__line-xl {
    width: 24rem;
    height: 1px;
}

.philosophy-alternating__line-lg {
    width: 20rem;
    height: 1px;
}

.philosophy-alternating__line-md {
    width: 16rem;
    height: 1px;
}

.philosophy-alternating__line-sm {
    width: 14rem;
    height: 1px;
}

.philosophy-alternating__anim-delay-1 {
    animation-delay: 1s;
}

.philosophy-alternating__anim-delay-half {
    animation-delay: 0.5s;
}

.philosophy-alternating__anim-delay-1half {
    animation-delay: 1.5s;
}

.philosophy-alternating__anim-bounce-1 {
    animation-delay: 0s;
    animation-duration: 3s;
}

.philosophy-alternating__anim-bounce-2 {
    animation-delay: 1s;
    animation-duration: 4s;
}

.philosophy-alternating__anim-bounce-3 {
    animation-delay: 0.5s;
    animation-duration: 3.5s;
}

.philosophy-alternating__anim-bounce-4 {
    animation-delay: 1.5s;
    animation-duration: 4.5s;
}

.philosophy-alternating__anim-spin-slow {
    animation-duration: 20s;
}

.philosophy-alternating__anim-spin-reverse {
    animation-duration: 25s;
    animation-direction: reverse;
}

/* process spread — dotted column grid, editorial headline, fluted image band */
.process-spread__root {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.process-spread__dots {
    background-image: radial-gradient(circle, currentColor 0.75px, transparent 0.75px);
    background-size: 4.5rem 100%;
    opacity: 0.12;
}

.process-spread__headline {
    letter-spacing: -0.03em;
}

.process-spread__hero {
    position: relative;
    min-height: 18rem;
    padding: 1.5rem;
}

.process-spread__orb {
    position: absolute;
    left: 0;
    top: 50%;
    z-index: 0;
    transform: translate(-50%, -50%);
}

.process-spread__orb-scene {
    position: relative;
    width: 20rem;
    height: 20rem;
}

.process-spread__orb-ring {
    position: absolute;
    border-style: solid;
    border-color: currentColor;
}

.process-spread__orb-ring--outer {
    inset: 0;
    border-width: 1px;
    opacity: 0.35;
    animation: process-spread-spin 14s linear infinite;
}

.process-spread__orb-ring--inner {
    top: 17.5%;
    left: 17.5%;
    width: 65%;
    height: 65%;
    border-width: 2px;
    opacity: 0.55;
    animation: process-spread-spin 9s linear infinite reverse;
}

.process-spread__orb-core {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    width: 20%;
    height: 20%;
    margin-top: -10%;
    margin-left: -10%;
    animation: process-spread-pulse 2.8s ease-in-out infinite;
}

@keyframes process-spread-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes process-spread-pulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.85;
    }

    50% {
        transform: scale(1.18);
        opacity: 1;
    }
}

@media (min-width: 768px) {
    .process-spread__root {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }

    .process-spread__hero {
        min-height: 22rem;
        padding: 2rem;
    }

    .process-spread__orb-scene {
        width: 26rem;
        height: 26rem;
    }
}

@media (min-width: 992px) {
    .process-spread__root {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }

    .process-spread__hero {
        min-height: 28rem;
        padding: 2.5rem;
    }

    .process-spread__orb-scene {
        width: 33rem;
        height: 33rem;
    }
}

.process-spread__step-num {
    min-width: 1.75rem;
    font-variant-numeric: tabular-nums;
}

.process-spread__media {
    width: 100%;
    margin-inline-start: 0;
    aspect-ratio: 4 / 3;
    min-height: 18rem;
}

@media (min-width: 992px) {
    .process-spread__media {
        aspect-ratio: auto;
        min-height: 100%;
        height: 100%;
    }
}

.process-spread__social-link {
    width: 2.25rem;
    height: 2.25rem;
    flex-shrink: 0;
    transition: transform 0.3s ease, color 0.3s ease, background-color 0.3s ease;
}

.process-spread__social-link:hover {
    transform: scale(1.05);
}

.process-spread__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.process-spread__flute {
    width: 46%;
    pointer-events: none;
    opacity: 0.55;
    mix-blend-mode: overlay;
    background-image: repeating-linear-gradient(
        90deg,
        currentColor 0,
        currentColor 1px,
        transparent 1px,
        transparent 13px
    );
    backdrop-filter: blur(1px) saturate(1.15);
    -webkit-backdrop-filter: blur(1px) saturate(1.15);
    mask-image: linear-gradient(90deg, black 0%, black 72%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, black 0%, black 72%, transparent 100%);
}

@media (max-width: 991px) {
    .process-spread__media {
        aspect-ratio: 16 / 10;
    }

    .process-spread__flute {
        width: 42%;
    }
}

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

.integrations__cta-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    background-color: var(--bs-primary, rgb(var(--tw-primary-600, var(--bs-primary-scale-600, 79 70 229)) / 1));
    color: #fff !important;
    border: 1px solid rgba(0, 0, 0, 0.12);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12);
    text-decoration: none;
}

.integrations__cta-primary:hover {
    filter: brightness(1.06);
    color: #fff !important;
}

/* App panel min height */
.integrations__app-panel {
    min-height: 400px;
}

/* v29 custom sizes (width/height only, no colors) */
.integrations-app-panel__icon-tile--sm {
    width: 2.25rem;
    height: 2.25rem;
}

.integrations-app-panel__icon-tile--lg {
    width: 4rem;
    height: 4rem;
}

@media (min-width: 768px) {
    .integrations-app-panel__sidebar {
        width: 18rem;
    }
}

/* Sidebar button: reset user-agent button defaults so only our border/bg apply */
.integrations__sidebar-item {
    appearance: none;
    -webkit-appearance: none;
    font: inherit;
    cursor: pointer;
    outline-offset: -2px;
}

/* Enable text-truncate inside flex (BS has no min-w-0 utility) */
.integrations-app-panel__item-body {
    min-width: 0;
}

/* Sidebar list: remove default list indentation */
.integrations-app-panel__sidebar ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

