/* Декор: pointer-events (не использовать Bootstrap pe-none — это не то) */
.hero-v19-decor-layer {
    pointer-events: none;
}

/* Бейджи иконок в нижней панели: те же размеры, что w-12 / md:w-14 / lg:h-16 + rounded-xl / md:rounded-2xl */
.hero-v19-feature-icon {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    overflow: hidden;
    transition: transform 150ms ease;
}

@media (min-width: 576px) {
    .hero-v19-feature-icon:hover {
        transform: scale(1.05);
    }
}

.hero-v19-feature-icon i {
    line-height: 1;
}

@media (min-width: 768px) {
    .hero-v19-feature-icon {
        width: 3.5rem;
        height: 3.5rem;
        border-radius: 1rem;
    }
}

@media (min-width: 1024px) {
    .hero-v19-feature-icon {
        width: 4rem;
        height: 4rem;
    }
}

.hero-v19-grid-wrap {
    max-width: 80rem;
}

.hero-v19-panel-main {
    min-height: 300px;
}

.hero-v19-stat-card {
    min-height: 140px;
}

.hero-v19-highlight-card {
    min-height: 160px;
}

/* -- 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);
}
/* Grid + gap: @sem may obfuscate Tailwind grid/gap */
.rotating-badge-grid {
    display: grid;
    width: 100%;
    gap: 1.5rem;
    grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 768px) {
    .rotating-badge-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .rotating-badge-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1280px) {
    .rotating-badge-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* Badge: w-12 = 3rem — lift above card (bs had top-0) */
.philosophy-v4-badge-decor {
    top: -2.25rem;
}

.philosophy-rotate-badge {
    width: 3rem;
    height: 3rem;
}

.philosophy-bg__img {
    object-fit: cover;
}

.hive-card {
    clip-path: polygon(18% 0%, 82% 0%, 100% 50%, 82% 100%, 18% 100%, 0% 50%);
    min-height: 22rem;
    padding: 3.75rem 3.25rem 3rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.hive-card-icon {
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hive-card-glow,
.hive-card-accent {
    transition: transform 0.4s ease, opacity 0.3s ease, width 0.4s ease;
}

.hive-card:hover {
    transform: translateY(-0.4rem);
    box-shadow: var(--bs-box-shadow-lg);
    border-color: rgba(var(--bs-primary-rgb), 0.35) !important;
}

.hive-card:hover .hive-card-glow {
    transform: translate(1rem, -1rem) scale(1.12);
}

.hive-card:hover .hive-card-icon {
    transform: rotate(10deg) scale(1.04);
    box-shadow: var(--bs-box-shadow);
}

.hive-card:hover .hive-card-accent {
    width: 70% !important;
}

@media (max-width: 767.98px) {
    .hive-card {
        clip-path: none;
        min-height: 0;
        padding: 1.5rem;
        border-radius: 1.5rem;
    }
}

.feature-card-surface {
    position: relative;
    isolation: isolate;
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
}

.feature-card-surface > * {
    position: relative;
    z-index: 1;
}

.feature-card-surface::before {
    content: "";
    position: absolute;
    inset: calc(var(--bs-gutter-y, 1rem) * 0.5) calc(var(--bs-gutter-x, 1.5rem) * 0.5);
    border-radius: inherit;
    background: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color-translucent);
    box-shadow: var(--bs-box-shadow-sm);
    z-index: 0;
    transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.feature-card-surface:hover:before {
    box-shadow: var(--bs-box-shadow-lg);
    border-color: rgba(var(--bs-primary-rgb), 0.3);
}

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

