/* Декор не перехватывает клики */
.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);
}
/* steps v24 - tab switcher scroll container tweak, no color rules */

.steps-tab-switcher__tab {
    -webkit-appearance: none;
    appearance: none;
    border: none;
    background: transparent;
    cursor: pointer;
    font: inherit;
}

/* sidebar rail: horizontal scroll on mobile, fixed-width column on desktop
   (no Bootstrap equivalent for a responsive fixed width + overflow switch) */
.docket-switcher__rail {
    overflow-x: auto;
}

@media (min-width: 768px) {
    .docket-switcher__rail {
        overflow-x: visible;
        width: 18rem;
    }
}

/* detail panel needs min-width: 0 as a flex child so long text wraps instead of overflowing */
.docket-switcher__panel {
    min-width: 0;
}

/* fixed-size number badge in the sidebar list item (no Bootstrap size utility) */
.docket-switcher__badge-chip {
    width: 2rem;
    height: 2rem;
    font-size: 0.875rem;
}

/* fixed-size icon badge in the detail panel (no Bootstrap size utility) */
.docket-switcher__badge {
    width: 4rem;
    height: 4rem;
}

/* Active tab state — must win over Bootstrap's own !important bg/text utilities,
   and must not rely on raw Tailwind literal classes (invisible under the bs framework). */
.steps-tab-switcher__tab.is-active {
    background-color: var(--bs-primary, rgb(var(--tw-primary-600, 37 99 235) / 1)) !important;
    color: #fff !important;
}

.dark .steps-tab-switcher__tab.is-active {
    background-color: var(--bs-primary, rgb(var(--tw-primary-400, 96 165 250) / 1)) !important;
    color: rgb(15 23 42) !important;
}

/* process storybook — gallery height, image crop, active nav, BS row overflow fix (no colors) */
.process-cdpr__root {
    max-width: 100%;
}
.process-cdpr__gallery-wrap {
    max-width: 100%;
    overflow: hidden;
}
.process-cdpr__gallery {
    height: 16rem;
    max-width: 100%;
}
.process-cdpr__gallery.row {
    margin-left: 0;
    margin-right: 0;
}
.process-cdpr__gallery > * {
    min-width: 0;
}
.process-cdpr__img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    max-width: 100%;
}
.process-cdpr__nav-btn {
    transition: border-color 200ms ease, color 200ms ease;
}
.process-cdpr__nav-btn.is-active {
    border-color: var(--bs-primary);
    color: var(--bs-primary);
}

/* faq v22 — three-column bento */
.faq-bento__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: start;
}

@media (min-width: 768px) {
  .faq-bento__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

.faq-bento__col {
  min-width: 0;
}

.faq-bento__cell {
  width: 100%;
}

.faq-bento__cell--tall {
  min-height: 16rem;
}

.faq-bento__cell--medium {
  min-height: 11rem;
}

.faq-bento__cell--short {
  min-height: 7rem;
}

/* Cards — shadow lift on hover (no colors) */
.faq-bento__card {
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
}

.faq-bento__card:hover {
  transform: translateY(-0.35rem);
}

/* Animated background mesh */
.faq-bento__mesh--a {
  width: 20rem;
  height: 20rem;
  filter: blur(52px);
}

.faq-bento__mesh--b {
  width: 24rem;
  height: 24rem;
  filter: blur(64px);
}

.faq-bento__mesh--c {
  width: 14rem;
  height: 14rem;
  filter: blur(44px);
  transform: translateX(-50%);
}

.faq-bento__mesh--pulse {
  animation: faq-bento-mesh-pulse-seq 6s ease-in-out infinite;
}

@keyframes faq-bento-mesh-pulse-seq {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

@keyframes faq-bento-mesh-drift-a-seq {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(2rem, 1.5rem) scale(1.05);
  }
}

.faq-bento__mesh--a {
  animation: faq-bento-mesh-drift-a-seq 22s ease-in-out infinite;
}

@keyframes faq-bento-mesh-drift-b-seq {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-2rem, -1.25rem) scale(1.07);
  }
}

.faq-bento__mesh--b {
  animation: faq-bento-mesh-drift-b-seq 26s ease-in-out infinite;
}

@keyframes faq-bento-mesh-drift-c-seq {
  0%,
  100% {
    transform: translate(-50%, 0) rotate(0deg);
  }
  50% {
    transform: translate(-50%, 1rem) rotate(8deg);
  }
}

.faq-bento__mesh--c {
  animation: faq-bento-mesh-drift-c-seq 18s ease-in-out infinite;
}

.faq-bento__mesh--delay-2 {
  animation-delay: 2s;
}

.faq-bento__mesh--delay-3 {
  animation-delay: 0.9s;
}

.faq-bento__mesh--delay-5 {
  animation-delay: 1.5s;
}

.faq-bento__dot--a {
  top: 4rem;
  left: 2.5rem;
  width: 0.75rem;
  height: 0.75rem;
}

.faq-bento__dot--b {
  top: 7rem;
  right: 4rem;
  width: 0.5rem;
  height: 0.5rem;
}

.faq-bento__dot--c {
  bottom: 6rem;
  left: 30%;
  width: 0.625rem;
  height: 0.625rem;
}

@keyframes faq-bento-flare-throb-seq {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

.faq-bento__flare--throb {
  animation: faq-bento-flare-throb-seq 2.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes faq-bento-flare-rebound-seq {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-28%);
  }
}

.faq-bento__flare--rebound {
  animation: faq-bento-flare-rebound-seq 1.3s ease-in-out infinite;
}

@keyframes faq-bento-flare-ping-seq {
  75%,
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

.faq-bento__flare--ping {
  animation: faq-bento-flare-ping-seq 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@media (max-width: 767px) {
  .faq-bento__grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .faq-bento__col {
    display: contents;
  }

  .faq-bento__cell--tall,
  .faq-bento__cell--medium,
  .faq-bento__cell--short {
    min-height: 0;
  }

  .faq-bento__cell--order-0 { order: 0; }
  .faq-bento__cell--order-1 { order: 1; }
  .faq-bento__cell--order-2 { order: 2; }
  .faq-bento__cell--order-3 { order: 3; }
  .faq-bento__cell--order-4 { order: 4; }
  .faq-bento__cell--order-5 { order: 5; }
  .faq-bento__cell--order-6 { order: 6; }
  .faq-bento__cell--order-7 { order: 7; }
}

