/* Бейдж по ширине контента (в BS не было w-fit) */
.hero-v16-badge-wrap {
    width: fit-content;
    max-width: 100%;
}

/* Фото: квадрат 1:1 по схеме orientation: square, без «лески» от h-full во flex */
.hero-v16-media {
    width: 100%;
    max-width: 28rem;
    min-width: min(100%, 17.5rem);
    box-sizing: border-box;
}

/* Карточка вокруг фото — одна ширина в TW и BS (BS .card иначе может сжимать контент) */
.hero-v16-card-box {
    width: 100%;
    box-sizing: border-box;
}

.hero-v16-photo-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 0.5rem;
}

.hero-v16-photo-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-v16-dot {
    width: 0.5rem;
    height: 0.5rem;
}

.hero-v16-offset-tr {
    margin-top: -0.5rem;
    margin-right: -0.5rem;
    width: 4rem;
    height: 4rem;
}

.hero-v16-offset-bl {
    margin-bottom: -0.5rem;
    margin-left: -0.5rem;
    width: 3rem;
    height: 3rem;
}

.hero-v16-orb-lg {
    width: 5rem;
    height: 5rem;
    animation-duration: 2s;
}

.hero-v16-orb-md {
    width: 4rem;
    height: 4rem;
    animation-duration: 8s;
}

.hero-v16-orb-sm {
    width: 3rem;
    height: 3rem;
    animation-duration: 2.5s;
}

.hero-v16-connector {
    width: 5rem;
    height: 0.25rem;
}

.hero-v16-anim-a {
    animation-duration: 1.5s;
    animation-delay: 0.3s;
}

.hero-v16-anim-b {
    animation-duration: 1.5s;
    animation-delay: 0.6s;
}

.hero-v16-float-a {
    animation-duration: 3s;
    left: 25%;
    width: 2rem;
    height: 2rem;
}

.hero-v16-float-b {
    animation-duration: 2s;
    right: 25%;
    width: 1.5rem;
    height: 1.5rem;
}

/* -- 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);
}
/* advantages timeline path — connector line + icon node sizing + scroll reveal + decor orb (layout/motion only, no colors) */

.advantages-path__orb {
    width: 18rem;
    height: 18rem;
    top: -5rem;
    right: -6rem;
}

.advantages-path__node {
    width: 2.5rem;
    height: 2.5rem;
}

/* vertical connector aligned to the node centre (node is 2.5rem → centre at 1.25rem) */
.advantages-path__line {
    left: 1.25rem;
    width: 2px;
}

/* scroll reveal — only armed once JS runs, so the list stays visible without JS */
.advantages-path.is-armed .advantages-path__item {
    opacity: 0;
    transform: translateY(1rem);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.advantages-path.is-armed .advantages-path__item.is-visible {
    opacity: 1;
    transform: none;
}

.services-timeline__serif,
[data-serif] {
    font-family: Georgia, "Times New Roman", Times, serif;
}

.services-timeline__body {
    min-width: 0;
}
.services-timeline__row:last-child .services-timeline__body {
    padding-bottom: 0;
}

.services-timeline__ghost {
    line-height: 1;
}

/* process journal — layout, image crop, hover motion (no colors) */
.process-journal__photo {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}
.process-journal__marker {
    width: 0.75rem;
    height: 0.75rem;
}
.process-journal__arrow {
    width: 2.75rem;
    height: 2.75rem;
    flex-shrink: 0;
    text-decoration: none;
    transition: transform 200ms ease;
}
.process-journal__pill {
    text-decoration: none;
    transition: transform 200ms ease;
}
.process-journal__arrow:hover,
.process-journal__pill:hover {
    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__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;
    }
}

.whyus-numbered-list__grid {
    max-width: 56rem;
}

.whyus-numbered-list__feat {
    width: 2rem;
    height: 2rem;
}

.whyus-numbered-list__thumb {
    width: 2.5rem;
    height: 2.5rem;
}

.cta-services-split__marquee {
  overflow: hidden;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, black 20%, transparent 95%);
}

.cta-services-split__marquee-inner {
  display: inline-flex;
  align-items: center;
  gap: 3rem;
  white-space: nowrap;
  animation: cta-services-split__marquee 28s linear infinite;
}

@keyframes cta-services-split__marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.cta-services-split__cta {
  transition: filter 0.2s ease, transform 0.15s ease;
}

.cta-services-split__cta:hover,
.cta-services-split__cta:focus-visible {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.cta-services-split__cta:hover .cta-services-split__cta-icon,
.cta-services-split__cta:focus-visible .cta-services-split__cta-icon {
  transform: translate(2px, -2px);
}

.cta-services-split__cta-icon {
  transition: transform 0.2s ease;
}

.cta-services-split__item-hov {
  transition: border-color 0.2s ease, padding-inline-start 0.2s ease;
}

@media (prefers-reduced-motion: reduce) {
  .cta-services-split__marquee-inner {
    animation: none;
  }

  .cta-services-split__cta:hover,
  .cta-services-split__cta:focus-visible {
    transform: none;
  }
}

