/* Декор: 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);
}
/* intro v26 — Dieter Rams node: hex grid, bottom band, blurred ghost image, serif, typewriter */

/* Hexagon-ish grid (minimal, colour from Tailwind text-*, lines via currentColor) */
.intro-node__hex {
    background-image:
        repeating-linear-gradient(60deg, currentColor 0 1px, transparent 1px 26px),
        repeating-linear-gradient(-60deg, currentColor 0 1px, transparent 1px 26px);
    opacity: 0.1;
}

.intro-node__band { height: 10rem; opacity: 0.7; }

/* Blurred background photo behind the spotlight node */
.intro-node__ghost { height: 14rem; }
.intro-node__img {
    object-fit: cover;
    filter: blur(10px);
    opacity: 0.35;
    transform: scale(1.08);
}

/* Serif heading */
.intro-node__serif {
    font-family: ui-serif, Georgia, "Times New Roman", serif;
}

/* Org-chart stem connector */
.intro-node__stem {
    width: 1px;
    height: 2rem;
}

/* Typewriter caret */
.intro-node__type .is-typing {
    border-right: 2px solid currentColor;
    animation: intro-node-caret 800ms step-end infinite;
}
@keyframes intro-node-caret {
    50% { border-color: transparent; }
}

@media (prefers-reduced-motion: reduce) {
    .intro-node__type .is-typing { animation: none; }
}

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

.services-minimal__body {
    min-width: 0;
}

/* v22 tabs — button transition (active colors via TW/BS classes in blade + JS) */
.perks-tab-filter__btn {
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

/* whyus v16 — ransom-note table layout: pulse rings, scrim, giant row numbers, scroll-snap track */
/* No colors below: only white/black shade-as-opacity for the scrim (per project exception), everything else is layout/size/animation/transform. */

/* Geometry shared by both CSS frameworks (Bootstrap has no utilities for it) */
.whyus-ransom__section--py {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.mxw-3xl {
    max-width: 48rem !important;
}

.mxw-md {
    max-width: 28rem !important;
}

.whyus-ransom__head,
.whyus-ransom__media {
    margin-bottom: 4rem;
}

.whyus-ransom__note {
    margin-top: 4rem;
}

.whyus-ransom__foot {
    margin-top: 4rem;
}

.whyus-ransom__title {
    font-size: 1.875rem;
    letter-spacing: 0.025em;
}

.whyus-ransom__subtitle {
    font-size: 1rem;
}

.whyus-ransom__caption {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
}

.whyus-ransom__icon {
    font-size: 1.875rem;
}

.whyus-ransom__item-title {
    font-size: 1.125rem;
    transition: letter-spacing 300ms ease;
}

.whyus-ransom__item-title:hover {
    letter-spacing: 0.025em;
}

.whyus-ransom__cta {
    padding: 1rem 2.5rem;
    letter-spacing: 0.025em;
    transition: transform 300ms ease;
}

.whyus-ransom__cta--hover:hover {
    transform: scale(1.05);
}

.whyus-ransom__decor {
    contain: layout style;
}

.whyus-ransom__pulse-ring {
    top: 50%;
    left: 50%;
    width: 12rem;
    height: 12rem;
    transform: translate(-50%, -50%) scale(0.6);
    opacity: 0;
    --bs-border-opacity: 0.2;
    animation: whyus-ransom-pulse 4s ease-out infinite;
}

/* content-first: rings start after the heading's fade-in has already begun */
.whyus-ransom__pulse-ring--1 {
    --bs-border-opacity: 0.3;
    animation-delay: 0.8s;
}

.whyus-ransom__pulse-ring--2 {
    width: 20rem;
    height: 20rem;
    animation-delay: 1.6s;
}

.whyus-ransom__pulse-ring--3 {
    width: 28rem;
    height: 28rem;
    animation-delay: 2.4s;
}

@keyframes whyus-ransom-pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.6);
        opacity: 0.6;
    }
    70% {
        opacity: 0;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.4);
        opacity: 0;
    }
}

.whyus-ransom__fade-in {
    animation: whyus-ransom-fade-in 0.5s ease-out both;
}

@keyframes whyus-ransom-fade-in {
    from {
        opacity: 0;
        transform: translateY(0.75rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* radial vignette over the hero illustration only — pure lightness/opacity fade, not a hue */
.whyus-ransom__scrim {
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0) 70%);
}

@media (prefers-color-scheme: dark) {
    .whyus-ransom__scrim {
        background: radial-gradient(circle at center, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0) 70%);
    }
}

.whyus-ransom__accent {
    display: block;
    font-size: 2.25rem;
    font-weight: 900;
    letter-spacing: -0.025em;
    transform: rotate(-1deg);
}

.whyus-ransom__row-group {
    overflow: hidden;
}

.whyus-ransom__row-number {
    top: -1.5rem;
    right: 0;
    font-size: 6rem;
    font-weight: 900;
    line-height: 1;
    z-index: 0;
    --bs-text-opacity: 0.05;
}

.whyus-ransom__row-track {
    flex-direction: column;
    gap: 2rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.whyus-ransom__row-item {
    padding-inline-start: 1.5rem;
    scroll-snap-align: start;
}

.whyus-ransom__row-item:first-child {
    border-inline-start-width: 0;
}

.whyus-ransom__snippet pre {
    white-space: pre-wrap;
}

@media (min-width: 768px) {
    .whyus-ransom__section--py {
        padding-top: 8rem;
        padding-bottom: 8rem;
    }

    .whyus-ransom__head,
    .whyus-ransom__media {
        margin-bottom: 6rem;
    }

    .whyus-ransom__note {
        margin-top: 6rem;
    }

    .whyus-ransom__foot {
        margin-top: 5rem;
    }

    .whyus-ransom__title {
        font-size: 3rem;
    }

    .whyus-ransom__accent {
        display: inline;
        font-size: 3.75rem;
    }

    .whyus-ransom__subtitle {
        font-size: 1.125rem;
    }

    .whyus-ransom__row-number {
        font-size: 8rem;
    }

    .whyus-ransom__row-track {
        flex-direction: row;
        gap: 1.5rem;
    }

    .whyus-ransom__row-item {
        flex: 1 1 0%;
        padding-inline-start: 2rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .whyus-ransom__cta--hover:hover {
        transform: none;
    }
}

/* Hover — поза @sem; TW і BS */
.stats-card-hover {
  transition:
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.stats-card-hover:hover {
  box-shadow:
    0 20px 25px -5px rgb(0 0 0 / 0.1),
    0 8px 10px -6px rgb(0 0 0 / 0.1);
  transform: scale(1.05);
}


.masonry-offset-cards-quote__track {
    display: grid;
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
    min-width: 0;
    gap: 2rem;
}

@media (min-width: 768px) {
    .masonry-offset-cards-quote__track {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2.25rem 1.5rem;
    }
}

@media (min-width: 1024px) {
    .masonry-offset-cards-quote__track {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 2.5rem 1.5rem;
    }
}

.masonry-offset-cards-quote__col {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.masonry-offset-cards-quote__surface {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 0;
    flex: 1 1 auto;
}

@media (min-width: 768px) {
    .masonry-offset-cards-quote__surface {
        gap: 1.25rem;
    }
}

.diagonal-zigzag-split__portrait {
    width: 8rem;
    height: 8rem;
}

.diagonal-zigzag-split__portrait--tilt-left {
    transform: rotate(-5deg);
}

.diagonal-zigzag-split__portrait--tilt-right {
    transform: rotate(5deg);
}

.diagonal-zigzag-split__portrait:hover {
    transform: rotate(0);
}

.diagonal-zigzag-split__beacon {
    width: 2rem;
    height: 2rem;
    bottom: -0.25rem;
    right: -0.25rem;
}

.diagonal-zigzag-split__beacon-dot {
    width: 0.75rem;
    height: 0.75rem;
}

.diagonal-zigzag-split__frame {
    width: 4rem;
    height: 4rem;
}

.diagonal-zigzag-split__frame--tl {
    top: 0;
    left: 0;
}

.diagonal-zigzag-split__frame--br {
    bottom: 0;
    right: 0;
}

.diagonal-zigzag-split__frame--rotate-45 {
    transform: rotate(45deg);
}

.diagonal-zigzag-split__frame--rotate-minus-45 {
    transform: rotate(-45deg);
}

.diagonal-zigzag-split__wash {
    width: 8rem;
}

.diagonal-zigzag-split__corner {
    width: 5rem;
    height: 5rem;
}

.diagonal-zigzag-split__min-shrink {
    min-width: 0;
}

@media (min-width: 768px) {
    .diagonal-zigzag-split__band--reverse {
        flex-direction: row-reverse;
    }

    .diagonal-zigzag-split__portrait {
        width: 10rem;
        height: 10rem;
    }
}

/* FAQ v10 — accordion panel height */
.faq-answer {
    max-height: 0;
    transition: max-height 0.3s ease-in-out;
}

.faq-icon-circle { width: 1.5rem; height: 1.5rem; }


.appeal-signup__appeal--shift:hover { transform: scale(1.05); transition: transform .2s ease; }

.appeal-signup__shell--py-4xl {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

