/* Декор: pointer-events (Bootstrap pe-none — не то свойство) */
.hero-v20-decor-layer {
    pointer-events: none;
}

.hero-v20-center-orb {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 18rem;
    height: 18rem;
    filter: blur(40px);
}

/* Как Tailwind: top-1/4 left-1/4 w-96 h-96 blur-3xl */
.hero-v20-blob-tl {
    position: absolute;
    width: 24rem;
    height: 24rem;
    top: 25%;
    left: 25%;
    filter: blur(64px);
}

/* bottom-1/4 right-1/4 w-80 h-80 blur-3xl */
.hero-v20-blob-br {
    position: absolute;
    width: 20rem;
    height: 20rem;
    bottom: 25%;
    right: 25%;
    filter: blur(64px);
}

.hero-v20-dot {
    width: 0.5rem;
    height: 0.5rem;
    flex-shrink: 0;
}

.hero-v20-shadow-a {
    position: absolute;
    z-index: -10;
    top: 1rem;
    left: 1rem;
    width: 100%;
    height: 100%;
}

.hero-v20-icon-sm {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 0.5rem;
}

.hero-v20-icon-xs {
    line-height: 1;
}

.hero-v20-shadow-b {
    position: absolute;
    z-index: -10;
    top: 1.5rem;
    right: 1.5rem;
    width: 100%;
    height: 100%;
}

.hero-v20-shadow-c {
    position: absolute;
    z-index: -5;
    top: 0.75rem;
    right: 0.75rem;
    width: 100%;
    height: 100%;
}

/* Hover scale как sm:hover:scale-105 (общий для TW и BS) */
@media (min-width: 576px) {
    .hero-v20-benefit-item:hover,
    .hero-v20-cta-pill:hover,
    .hero-v20-media-card:hover {
        transform: scale(1.05);
    }
}

.hero-v20-benefit-item,
.hero-v20-cta-pill,
.hero-v20-media-card {
    transition: transform 150ms ease;
}

/* -- 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 v19 — photo-free index list: soft blurred blobs, fixed icon tiles, scroll reveal */

/* Soft background blobs (fixed size + blur have no BS utility; colour stays a Tailwind/BS class) */
.intro-index__blob {
    width: 24rem;
    height: 24rem;
    filter: blur(64px);
    opacity: 0.5;
}

/* Icon tile fixed size (BS has no w-N/h-N utility) */
.intro-index__icon-tile {
    width: 3rem;
    height: 3rem;
}

/* Scroll reveal — cards hide only once JS arms the section (no-JS content stays visible) */
.intro-index.is-armed .intro-index__card {
    opacity: 0;
    transform: translateY(1.5rem);
    transition: opacity 560ms ease, transform 560ms ease;
}
.intro-index.is-armed .intro-index__card.is-in {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .intro-index.is-armed .intro-index__card {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* v21 editorial — vertical sidebar title */
.perks-editorial-aside__sidebar {
    width: 3rem;
    flex-shrink: 0;
}

.perks-editorial-aside__title-wrap {
    position: sticky;
    top: 6rem;
    height: calc(100vh - 8rem);
    max-height: 32rem;
}

.perks-editorial-aside__h2 {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    white-space: nowrap;
}

.perks-editorial-aside__rule {
    min-height: 2rem;
    flex: 1 1 auto;
    width: 1px;
}

/* numbered item — prevent selection */
.perks-editorial-aside__num {
    user-select: none;
    -webkit-user-select: none;
    min-width: 3.5rem;
}

/* mobile: stack layout, show h2 horizontally */
@media (max-width: 767px) {
    .perks-editorial-aside__sidebar {
        width: 100%;
    }

    .perks-editorial-aside__title-wrap {
        position: static;
        height: auto;
        flex-direction: row !important;
        align-items: center;
        justify-content: flex-start;
    }

    .perks-editorial-aside__h2 {
        writing-mode: horizontal-tb;
        transform: none;
        white-space: normal;
    }

    .perks-editorial-aside__rule {
        display: none;
    }
}

/* Вертикальний таймлайн — позиція рейки та вузлів */
.services__rail {
  position: absolute;
  left: 1.3rem;
  top: 0.75rem;
  bottom: 0.75rem;
  width: 2px;
  background-color: var(--bs-border-color, #dee2e6);
  border-radius: 1px;
}

.dark .services__rail {
  background-color: rgba(148, 163, 184, 0.45);
}

.services__node {
  position: relative;
  padding-left: 3.5rem;
  padding-bottom: 1.5rem;
}

.services__node:last-child {
  padding-bottom: 0;
}

@media (max-width: 575.98px) {
  .services__node {
    padding-left: 3.25rem;
  }

  .services__rail {
    left: 1.4rem;
  }
}

.services__badge {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
}

/* Лише 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__acc-panel {
    border-left: 3px solid transparent;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.socialproof__acc-panel[open] {
    border-left-color: var(--color-primary-500, #6366f1);
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}

.dark .socialproof__acc-panel[open] {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

.socialproof__acc-summary {
    transition: background-color 0.15s ease;
}

.socialproof__acc-summary::-webkit-details-marker {
    display: none;
}

.socialproof__acc-summary::marker {
    display: none;
}

@media (hover: hover) {
    .socialproof__acc-summary:hover {
        background-color: rgba(99, 102, 241, 0.06);
    }

    .dark .socialproof__acc-summary:hover {
        background-color: rgba(255, 255, 255, 0.04);
    }
}

.socialproof__acc-chevron {
    transition: transform 0.25s ease;
}

.socialproof__acc-panel[open] .socialproof__acc-chevron {
    transform: rotate(180deg);
}

/* Рядок статистики: без накладання (TW + BS) */
.socialproof__acc-stat {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 0.75rem 1rem;
}

.socialproof__acc-stat-num {
    flex: 0 0 auto;
    width: 4.5rem;
    min-width: 4.5rem;
    max-width: 5.5rem;
    text-align: right;
    line-height: 1.25;
}

.socialproof__acc-stat-num .socialproof__stat-value {
    display: inline-block;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.socialproof__acc-stat-copy {
    flex: 1 1 0;
    min-width: 0;
    overflow-wrap: break-word;
    word-break: break-word;
}

@media (max-width: 575.98px) {
    .socialproof__acc-stat {
        flex-wrap: wrap;
    }

    .socialproof__acc-stat-num {
        width: 100%;
        max-width: none;
        text-align: left;
    }
}

.socialproof__acc-stat.socialproof__stat-row {
    transition: background-color 0.15s ease;
}

@media (hover: hover) {
    .socialproof__acc-stat.socialproof__stat-row:hover {
        background-color: rgba(99, 102, 241, 0.04);
    }

    .dark .socialproof__acc-stat.socialproof__stat-row:hover {
        background-color: rgba(255, 255, 255, 0.04);
    }
}

@keyframes socialproof-pulse {
    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

@keyframes socialproof-bounce {
    0%,
    100% {
        transform: translateY(-25%);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }

    50% {
        transform: translateY(0);
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
}

.socialproof__deco-blob--pulse {
    animation: socialproof-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.socialproof__deco-blob--bounce {
    animation: socialproof-bounce 1s infinite;
}

.socialproof__deco-blob--delay-2 {
    animation-delay: 2s;
}

@media (prefers-reduced-motion: reduce) {
    .socialproof__deco-blob--pulse,
    .socialproof__deco-blob--bounce {
        animation: none;
    }
}

.steps-number-icon-grid__number-badge {
    width: 4rem;
    height: 4rem;
}

.steps-number-icon-grid__icon-box {
    width: 5rem;
    height: 5rem;
}

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


.cta-staircase__step-num {
  width: 3rem;
  height: 3rem;
  min-width: 3rem;
  min-height: 3rem;
  flex-shrink: 0;
}

.cta-staircase__stairs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.cta-staircase__step {
  transform: translateX(calc(var(--step, 0) * 20px));
  animation: cta-staircase__fade 600ms ease both;
  animation-delay: calc(var(--step, 0) * 100ms);
}

@keyframes cta-staircase__fade {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(calc(var(--step, 0) * 20px)); }
}

@media (max-width: 768px) {
  .cta-staircase__step {
    transform: translateX(0);
  }
}

