/* Benefit cards: cap width (matches Tailwind max-w-64) */
.hero-v6-benefit-item {
    box-sizing: border-box;
    max-width: 16rem;
    margin-left: auto;
    margin-right: auto;
    flex-shrink: 0;
}

/* Icon “badge”: fixed circle — Bootstrap had no w/h so the purple area stretched full width */
.hero-v6-benefit-icon {
    box-sizing: border-box;
    width: 4rem;
    height: 4rem;
    flex-shrink: 0;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    overflow: hidden;
}

.hero-v6-benefit-icon i {
    line-height: 1;
}

/* Pill shape + shared dimensions (colors stay in Blade / Tailwind / Bootstrap) */
.hero-v6-cta-pill {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 7rem;
    min-height: 2.75rem;
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    text-align: center;
}

/* Long secondary label: wrap inside the pill, keep max width */
.hero-v6-cta-secondary {
    max-width: min(100%, 28rem);
}

/* Bootstrap .btn/.btn-sm padding would otherwise shrink the pill */
a.hero-v6-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);
}
/* intro v25 — Sagmeister ticket: corner patch, spiral binding, ticket perforation, square thumb */

/* Corner accent patch → triangle */
.intro-tkt__patch {
    width: 10rem;
    height: 10rem;
    clip-path: polygon(0 0, 100% 0, 0 100%);
    opacity: 0.9;
}
.intro-tkt__spiral { height: 1rem; }
.intro-tkt__body { min-width: 0; }
.intro-tkt__close { width: 2rem; height: 2rem; }

/* Torn notebook spiral binding holes (colour from Tailwind text-*, holes via mask) */
.intro-tkt__spiral {
    -webkit-mask: radial-gradient(circle 5px at center, black 98%, transparent 100%) 0 0 / 30px 100%;
    mask: radial-gradient(circle 5px at center, black 98%, transparent 100%) 0 0 / 30px 100%;
    background: currentColor;
    opacity: 0.5;
}

/* Square cropped thumbnail */
.intro-tkt__thumb {
    width: 6rem;
    height: 6rem;
    object-fit: cover;
}

/* Ticket stub perforation (currentColor from the card text) */
.intro-tkt__ticket { transition: box-shadow 240ms ease; }
.intro-tkt__ticket::after {
    content: "";
    position: absolute;
    top: 0.75rem;
    bottom: 0.75rem;
    left: 7.5rem;
    border-left: 2px dashed currentColor;
    opacity: 0.25;
    pointer-events: none;
}
@media (max-width: 575.98px) {
    .intro-tkt__ticket::after { display: none; }
}

/* advantages mosaic — bento layout + feature image cover + decorative shapes (layout only, no colors) */

/* decor sizes/positions live here so they render in Bootstrap too (BS has no w-N/h-N/inset utilities) */
.advantages-mosaic__ring {
    width: 16rem;
    height: 16rem;
    top: -4rem;
    right: -4rem;
}

.advantages-mosaic__shape {
    width: 12rem;
    height: 12rem;
    bottom: -5rem;
    left: -2.5rem;
    transform: rotate(45deg);
}

.advantages-mosaic {
    grid-template-columns: 1fr;
}

.advantages-mosaic__img {
    object-fit: cover;
}

@media (min-width: 768px) {
    .advantages-mosaic {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: minmax(11rem, 1fr);
        grid-auto-flow: row dense;
    }

    /* tall image feature tile fills the left column across two rows */
    .advantages-mosaic__cell--feature {
        grid-column: span 1;
        grid-row: span 2;
    }
}

.features-split-layout__decor--offset-1 {
    top: 5rem;
    left: 4rem;
    transform: rotate(45deg);
    animation: features-split-layout-pulse-kf 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
.features-split-layout__decor--offset-2 {
    top: 8rem;
    right: 5rem;
    transform: rotate(12deg);
    animation: features-split-layout-bounce-kf 2s infinite;
}
.features-split-layout__decor--offset-3 {
    bottom: 6rem;
    left: 5rem;
    transform: rotate(-12deg);
    animation: features-split-layout-ping-kf 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}
.features-split-layout__decor--orb-1 {
    top: 4rem;
    left: 3rem;
    animation: features-split-layout-pulse-kf 2.5s infinite;
}
.features-split-layout__decor--orb-2 {
    top: 8rem;
    right: 4rem;
    animation: features-split-layout-bounce-kf 2.5s infinite;
}
.features-split-layout__line--offset-1 {
    top: 33%;
    left: 0;
    transform: rotate(12deg);
}
.features-split-layout__line--offset-2 {
    bottom: 25%;
    right: 0;
    transform: rotate(-12deg);
}

@keyframes features-split-layout-pulse-kf {
    0%, 100% { opacity: 1; }
    50% { opacity: .5; }
}
@keyframes features-split-layout-bounce-kf {
    0%, 100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(0.8,0,1,1); }
    50% { transform: none; animation-timing-function: cubic-bezier(0,0,0.2,1); }
}
@keyframes features-split-layout-ping-kf {
    75%, 100% { transform: scale(2); opacity: 0; }
}

.features-split-layout__img--hover {
    transition: transform 0.3s ease;
}
.features-split-layout__media-wrap:hover .features-split-layout__img--hover {
    transform: scale(1.05);
}
.features-split-layout__overlay--hover {
    opacity: 0;
    transition: opacity 0.3s ease;
    background-color: rgba(var(--bs-primary-rgb), 0.12) !important;
}
.features-split-layout__media-wrap:hover .features-split-layout__overlay--hover {
    opacity: 1;
}

.features-split-layout__card--hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.features-split-layout__card--hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 1rem 2rem rgba(0,0,0,.12) !important;
    border-color: rgba(var(--bs-primary-rgb), 0.35) !important;
}

.features-split-layout__panel-decor {
    top: 0;
    right: 0;
    transform: translate(0.75rem, -0.75rem);
    transition: transform 0.5s ease;
}
.features-split-layout__card--hover:hover .features-split-layout__panel-decor {
    transform: scale(1.25);
}

.features-split-layout__accent--hover {
    opacity: 0;
    transition: opacity 0.3s ease;
}
.features-split-layout__card--hover:hover .features-split-layout__accent--hover {
    opacity: 0.6;
}

.features-split-layout__icon-wrap {
    transition: transform 0.3s ease;
}
.features-split-layout__card--hover:hover .features-split-layout__icon-wrap {
    transform: rotate(12deg);
}

.features-split-layout__icon--hover {
    transition: transform 0.3s ease;
}
.features-split-layout__card--hover:hover .features-split-layout__icon--hover {
    transform: scale(1.1);
}

.features-split-layout__title--hover {
    transition: color 0.3s ease;
}

.features-split-layout__line--hover {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    transition: all 0.5s ease;
}
.features-split-layout__card--hover:hover .features-split-layout__line--hover {
    width: 75%;
}

.features-split-layout__card-overlay--hover {
    opacity: 0;
    transition: opacity 0.3s ease;
    background-color: rgba(var(--bs-primary-rgb), 0.06) !important;
}
.features-split-layout__card--hover:hover .features-split-layout__card-overlay--hover {
    opacity: 1;
}

/* -- Feature card hover -- */
.feat-card-hover {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feat-card-hover:hover {
    transform: translateY(-3px);
    box-shadow: 0 0.5rem 1.5rem rgba(0,0,0,.12) !important;
}

/* -- Icon box sizing -- */
.feat-icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-width: 2.5rem;
    min-height: 2.5rem;
}
.feat-icon-box--lg {
    width: 4rem;
    height: 4rem;
    border-radius: 0.75rem;
}
.feat-icon-box--xl {
    width: 5rem;
    height: 5rem;
    border-radius: 1rem;
}
.feat-icon-box--circle {
    border-radius: 50%;
}

/* -- Nav/filmstrip button hover -- */
.feat-btn-nav {
    transition: transform 0.15s ease, background-color 0.15s ease;
}
.feat-btn-nav:hover {
    transform: scale(1.1);
}

/* -- Table row hover -- */
.feat-table-row-hover {
    transition: background-color 0.15s ease;
}
.feat-table-row-hover:hover {
    background-color: var(--bs-primary-bg-subtle) !important;
}

/* -- Accordion item hover -- */
.feat-accordion-hover summary:hover {
    background-color: var(--bs-primary-bg-subtle);
    border-radius: 0.75rem;
}

/* -- DL item hover -- */
.feat-dl-item-hover {
    transition: background-color 0.15s ease;
    border-radius: 0.5rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}
.feat-dl-item-hover:hover {
    background-color: var(--bs-primary-bg-subtle);
}

/* -- Deck button hover -- */
.feat-deck-btn {
    transition: filter 0.2s ease, transform 0.15s ease;
}
.feat-deck-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}
/* Лише layout / рух; кольори теми — у Blade */
.socialproof-card-hover {
    transition:
        box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.socialproof__stat-value,
.socialproof__stat-label {
    transition: transform 0.3s ease, color 0.2s ease;
}

@media (hover: hover) {
    .socialproof-card-hover:hover {
        box-shadow: 0 22px 44px -18px rgba(15, 23, 42, 0.2);
    }

    .dark .socialproof-card-hover:hover {
        box-shadow: 0 22px 44px -14px rgba(0, 0, 0, 0.5);
    }

    .socialproof-card-hover:hover .socialproof__stat-value {
        transform: scale(1.08);
    }
}

@media (hover: hover) and (min-width: 640px) {
    .socialproof-card-hover--lift:hover {
        transform: translateY(-4px) scale(1.02);
    }
}

@media (prefers-reduced-motion: reduce) {
    .socialproof-card-hover,
    .socialproof__stat-value,
    .socialproof__stat-label {
        transition: none;
    }

    .socialproof-card-hover:hover,
    .socialproof-card-hover:hover .socialproof__stat-value,
    .socialproof-card-hover--lift:hover {
        transform: none;
    }
}

.socialproof__badge {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.socialproof__badge::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, var(--color-primary-400, #818cf8), transparent, var(--color-primary-600, #4f46e5));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: inherit;
    z-index: -1;
}

.socialproof__badge:hover:before {
    opacity: 1;
}

.socialproof__badge:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 20px 40px rgba(79, 70, 229, 0.2);
}

.socialproof__icon-diamond {
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    transition: transform 0.3s ease;
}

.socialproof__badge:hover .socialproof__icon-diamond {
    transform: rotate(45deg) scale(1.1);
}

.socialproof__award-year {
    font-size: 0.65rem;
}

.socialproof__ornament::before,
.socialproof__ornament::after {
    content: '◆';
    color: var(--color-primary-400, #818cf8);
    margin: 0 0.75rem;
    opacity: 0.6;
}

/* Hover — поза @sem; TW і BS */
.stats-card-hover {
  transition:
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.stats-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: scale(1.05);
}


.contact-icon-rail__shell {
    max-width: 72rem;
}

.contact-icon-rail__mark {
    width: 1.75rem;
    height: 1.75rem;
}

