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

/* Точка у верхнего бейджа (w-2 h-2) — в Bootstrap без размеров растягивалась */
.hero-v9-badge-dot {
    box-sizing: border-box;
    width: 0.5rem;
    height: 0.5rem;
    flex-shrink: 0;
    border-radius: 9999px;
}

/* Круг с галочкой в списке features (w-5 h-5) */
.hero-v9-feature-check {
    box-sizing: border-box;
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    overflow: hidden;
}

.hero-v9-feature-check i {
    line-height: 1;
}

/* Плитка иконки в key-benefits (w-12 h-12 rounded-lg) */
.hero-v9-benefit-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-v9-benefit-icon i {
    line-height: 1;
}

/* Высота картинки как Tailwind h-96 (24rem) */
.hero-v9-hero-img {
    height: 24rem;
    max-height: 70vh;
    object-fit: cover;
}

/* Фоновые блобы — позиции как в Tailwind */
.hero-v9-blob-ne {
    position: absolute;
    top: 5rem;
    right: 5rem;
    width: 18rem;
    height: 18rem;
    filter: blur(64px);
}

.hero-v9-blob-sw {
    position: absolute;
    bottom: 5rem;
    left: 5rem;
    width: 24rem;
    height: 24rem;
    filter: blur(64px);
}

/* -- 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);
}
.content-river__arc {
    width: 18rem;
    height: 18rem;
}

.content-river__node {
    width: 0.75rem;
    height: 0.75rem;
    transform: translate(-50%, -50%);
}

@media (min-width: 768px) {
    .content-river__copy--right {
        grid-column-start: 2;
    }

    .content-river__copy--left {
        grid-column-start: 1;
        grid-row-start: 1;
    }

    .content-river__spacer--left {
        order: 2;
    }
}

.services__tile--lift {
  transition: transform 0.3s ease;
}

.services__tile--lift:hover {
  transform: scale(1.05);
}

.services__cta--lift {
  transition: transform 0.3s ease;
}

.services__cta--lift:hover {
  transform: scale(1.05);
}

.services__marker--offset {
  top: 0.5rem;
  inset-inline-end: 0.5rem;
}

.services__marker--reveal {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.services__tile:hover .services__marker--reveal {
  opacity: 1;
}

/* Card hover: scale */
.portfolio-item-hover {
    transition: transform 0.3s ease;
}
.portfolio-item-hover:hover {
    transform: scale(1.05);
}

/* faq spotlight — layout + motion (no colors) */
.faq-spotlight__root {
  min-height: 100vh;
  min-height: 100dvh;
}

.faq-spotlight__cover {
  min-height: 0;
}

@media (min-width: 992px) {
  .faq-spotlight__cover {
    min-height: 100vh;
    min-height: 100dvh;
  }
}

.faq-spotlight__media {
  pointer-events: none;
}

.faq-spotlight__media-col {
  min-height: 14rem;
}

.faq-spotlight__media-img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (min-width: 992px) {
  .faq-spotlight__media-col {
    min-height: 100vh;
    min-height: 100dvh;
  }
}

.faq-spotlight__thumb {
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  cursor: pointer;
}

.faq-spotlight__thumb-face {
  width: 100%;
  aspect-ratio: 1 / 1;
}

.faq-spotlight__thumb-label {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.faq-spotlight__panel--active {
  display: block;
}

.faq-spotlight__reveal-block {
  opacity: 0;
  transform: translate3d(0, 1.5rem, 0);
  transition:
    opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-spotlight__reveal-block--visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.faq-spotlight__reveal-item {
  opacity: 0;
  transform: translate3d(0, 1rem, 0) scale(0.98);
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-spotlight__reveal-item--visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.faq-spotlight__grid .faq-spotlight__reveal-item:nth-child(1) {
  transition-delay: 0.05s;
}

.faq-spotlight__grid .faq-spotlight__reveal-item:nth-child(2) {
  transition-delay: 0.1s;
}

.faq-spotlight__grid .faq-spotlight__reveal-item:nth-child(3) {
  transition-delay: 0.15s;
}

.faq-spotlight__grid .faq-spotlight__reveal-item:nth-child(4) {
  transition-delay: 0.2s;
}

.faq-spotlight__grid .faq-spotlight__reveal-item:nth-child(5) {
  transition-delay: 0.25s;
}

.faq-spotlight__grid .faq-spotlight__reveal-item:nth-child(6) {
  transition-delay: 0.3s;
}

.faq-spotlight__grid .faq-spotlight__reveal-item:nth-child(7) {
  transition-delay: 0.35s;
}

.faq-spotlight__grid .faq-spotlight__reveal-item:nth-child(8) {
  transition-delay: 0.4s;
}

.faq-spotlight__panel--enter .faq-spotlight__panel-inner {
  animation: faq-spotlight-panel-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes faq-spotlight-panel-in {
  from {
    opacity: 0;
    transform: translate3d(0, 1rem, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq-spotlight__reveal-block,
  .faq-spotlight__reveal-item {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .faq-spotlight__grid .faq-spotlight__reveal-item:nth-child(n) {
    transition-delay: 0s;
  }

  .faq-spotlight__panel--enter .faq-spotlight__panel-inner {
    animation: none;
  }
}

