/* Декор: 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);
}
/* faq flip-click — 3D card flip on click */
.faq-flip-click__outer {
  perspective: 1000px;
  min-height: 14rem;
}

.faq-flip-click__inner {
  position: relative;
  width: 100%;
  min-height: 14rem;
  transition: transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  cursor: pointer;
}

.faq-flip-click__inner--flipped {
  transform: rotateY(180deg);
}

.faq-flip-click__face {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-flip-click__face--back {
  transform: rotateY(180deg);
}

@media (prefers-reduced-motion: reduce) {
  .faq-flip-click__inner {
    transition: none;
  }
}

/* contact-bento — CSS Grid bento layout (applies to both TW and BS) */
.contact-bento__grid {
    display: grid;
    gap: 1rem;
}

@media (min-width: 768px) {
    .contact-bento__grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: 14rem 10rem;
    }

    .contact-bento__cell--title   { grid-column: 1 / 3; grid-row: 1; }
    .contact-bento__cell--image   { grid-column: 3 / 4; grid-row: 1; }
    .contact-bento__cell--phone   { grid-column: 1 / 2; grid-row: 2; }
    .contact-bento__cell--email   { grid-column: 2 / 3; grid-row: 2; }
    .contact-bento__cell--address { grid-column: 3 / 4; grid-row: 2; }
}

/* contact-bento — icon cell fixed size (TW w-10 h-10 has no BS util) */
.contact-bento__icon {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* contact-bento — image fill (no BS object-fit util) */
.contact-bento__img {
    object-fit: cover;
    min-height: 12rem;
}

