/* Декор не перехватывает клики */
.hero-v7-decor-layer {
    pointer-events: none;
}

/* Feature icon tile: fixed square (Tailwind w-12 h-12 rounded-lg) — Bootstrap без w/h растягивал блок */
.hero-v7-feature-icon {
    box-sizing: border-box;
    width: 3rem;
    height: 3rem;
    flex-shrink: 0;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    overflow: hidden;
}

.hero-v7-feature-icon i {
    line-height: 1;
}

/* Background blur blobs — позиции как у Tailwind top-12 left-8 / bottom-12 right-8 */
.hero-v7-blob-nw {
    position: absolute;
    top: 3rem;
    left: 2rem;
    width: 18rem;
    height: 18rem;
    filter: blur(64px);
}

.hero-v7-blob-se {
    position: absolute;
    bottom: 3rem;
    right: 2rem;
    width: 24rem;
    height: 24rem;
    filter: blur(64px);
}

/* Bootstrap: как max-w-3xl / max-w-2xl + mx-auto */
.hero-v7-subtitle-max {
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.hero-v7-desc-max {
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

/* CTA pills (как hero v6) */
.hero-v7-cta-pill {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-width: 7rem;
    min-height: 2.75rem;
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    text-align: center;
}

.hero-v7-cta-secondary {
    max-width: min(100%, 28rem);
}

a.hero-v7-cta-pill.btn.btn-sm {
    padding: 0.5rem 1.5rem;
    min-height: 2.75rem;
    min-width: 7rem;
}

/* -- 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);
}
.values-card-strip__item {
    max-width: 24rem;
}

.values-card-strip__thumb {
    width: 5rem;
    height: 5rem;
}

.values-card-strip__panel {
    max-width: 48rem;
}

.roster-skills-reveal__portrait {
    width: 6rem;
    height: 6rem;
}

.roster-skills-reveal__grid-cell:nth-child(2) {
    animation-delay: 0.1s;
}

.roster-skills-reveal__grid-cell:nth-child(3) {
    animation-delay: 0.2s;
}

.roster-skills-reveal__grid-cell:nth-child(4) {
    animation-delay: 0.3s;
}

.roster-skills-reveal__grid-cell:nth-child(5) {
    animation-delay: 0.4s;
}

.roster-skills-reveal__grid-cell:nth-child(6) {
    animation-delay: 0.5s;
}

.roster-skills-reveal__min-shrink {
  min-width: 0;
}

/* whyus editorial-mosaic — repeated-text decorative layer cycles a small hue-rotate amplitude only; no fixed colors are set here */
@keyframes whyus-editorial-mosaic-hue-cycle {
    0% { filter: hue-rotate(0deg); }
    50% { filter: hue-rotate(15deg); }
    100% { filter: hue-rotate(0deg); }
}

.whyus-editorial-mosaic__pattern-layer {
    animation: whyus-editorial-mosaic-hue-cycle 9s ease-in-out infinite;
    pointer-events: none;
}

/* geometric decor panel — grid texture + slow ring drift, colors from Tailwind text-* on nodes */
.whyus-editorial-mosaic__decor-panel {
    isolation: isolate;
}

.whyus-editorial-mosaic__decor-grid {
    background-image:
        linear-gradient(currentColor 1px, transparent 1px),
        linear-gradient(90deg, currentColor 1px, transparent 1px);
    background-size: 1.25rem 1.25rem;
}

.whyus-editorial-mosaic__decor-diamond {
    transform: translate(-50%, -50%) rotate(45deg);
}

.whyus-editorial-mosaic__decor-ring--outer {
    animation: whyus-editorial-mosaic-ring-drift 18s ease-in-out infinite;
}

.whyus-editorial-mosaic__decor-ring--inner {
    animation: whyus-editorial-mosaic-ring-drift 24s ease-in-out infinite reverse;
}

@keyframes whyus-editorial-mosaic-ring-drift {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.04); }
}

@media (prefers-reduced-motion: reduce) {
    .whyus-editorial-mosaic__decor-ring--outer,
    .whyus-editorial-mosaic__decor-ring--inner {
        animation: none;
    }
}

/* tabular-figure fallback — Tailwind's tabular-nums utility is already applied in markup, this is a safety net */
.whyus-editorial-mosaic__numeral {
    font-variant-numeric: tabular-nums;
}

/* scale-up-on-scroll reveal, staggered per tile via a JS-set --delay custom property (see script.js) */
.whyus-editorial-mosaic__tile {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 500ms ease, transform 500ms ease;
    transition-delay: var(--delay, 0ms);
}

.whyus-editorial-mosaic__tile.is-visible {
    opacity: 1;
    transform: scale(1);
}


.spark-boost__section {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.spark-boost__inner {
    min-height: 500px;
    display: flex;
    align-items: center;
}

@media (min-width: 768px) {
    .spark-boost__inner { min-height: 600px; }
}

/* Bootstrap: как у Tailwind p-sm → md:p-lg → lg:p-xl → xl:p-4xl (без фиксированных 6rem на мобиле) */
.spark-boost__vessel-bs {
    box-sizing: border-box;
    padding: 0.5rem;
}

@media (min-width: 768px) {
    .spark-boost__vessel-bs { padding: 1.5rem; }
}

@media (min-width: 992px) {
    .spark-boost__vessel-bs { padding: 2rem; }
}

@media (min-width: 1280px) {
    .spark-boost__vessel-bs { padding: 6rem; }
}

/* Bootstrap: две колонки + стабильный gap (row/g-* часто «съедаются» сбросами) */
.spark-boost__split-grid-bs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    width: 100%;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .spark-boost__split-grid-bs { gap: 1.5rem; }
}

.spark-boost__split-grid-bs > * {
    flex: 1 1 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

@media (min-width: 992px) {
    .spark-boost__split-grid-bs {
        flex-wrap: nowrap;
    }

    .spark-boost__split-grid-bs > * {
        flex: 1 1 0;
        max-width: 50%;
    }
}

.spark-boost__slab--glass { backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }

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

.spark-boost__prompt--glow:hover { transform: scale(1.05); transition: transform .2s ease; }

.spark-boost__control--glow:hover { transform: scale(1.05); transition: transform .2s ease; }

.spark-boost__surface--glow:hover { transform: scale(1.05); transition: transform .2s ease; }


