.hero-v22-media {
    min-height: 18rem;
}

.hero-v22-kicker {
    letter-spacing: 0.2em;
}

/* -- 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 v19 — photo-free index list: soft blurred blobs, fixed icon tiles, scroll reveal */

/* Soft background blobs (fixed size + blur have no BS utility; colour stays a Tailwind/BS class) */
.intro-index__blob {
    width: 24rem;
    height: 24rem;
    filter: blur(64px);
    opacity: 0.5;
}

/* Icon tile fixed size (BS has no w-N/h-N utility) */
.intro-index__icon-tile {
    width: 3rem;
    height: 3rem;
}

/* Scroll reveal — cards hide only once JS arms the section (no-JS content stays visible) */
.intro-index.is-armed .intro-index__card {
    opacity: 0;
    transform: translateY(1.5rem);
    transition: opacity 560ms ease, transform 560ms ease;
}
.intro-index.is-armed .intro-index__card.is-in {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .intro-index.is-armed .intro-index__card {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* advantages mosaic — bento layout + feature image cover + decorative shapes (layout only, no colors) */

/* decor sizes/positions live here so they render in Bootstrap too (BS has no w-N/h-N/inset utilities) */
.advantages-mosaic__ring {
    width: 16rem;
    height: 16rem;
    top: -4rem;
    right: -4rem;
}

.advantages-mosaic__shape {
    width: 12rem;
    height: 12rem;
    bottom: -5rem;
    left: -2.5rem;
    transform: rotate(45deg);
}

.advantages-mosaic {
    grid-template-columns: 1fr;
}

.advantages-mosaic__img {
    object-fit: cover;
}

@media (min-width: 768px) {
    .advantages-mosaic {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: minmax(11rem, 1fr);
        grid-auto-flow: row dense;
    }

    /* tall image feature tile fills the left column across two rows */
    .advantages-mosaic__cell--feature {
        grid-column: span 1;
        grid-row: span 2;
    }
}

.steps-tip-cards__col {
    max-width: 20rem;
}

.steps-tip-cards__badge-circle {
    width: 4rem;
    height: 4rem;
}

/* v28 art deco — double-frame inner border (absolute inset: no BS util) */
.perks-artdeco__outer {
    pointer-events: none;
}

.perks-artdeco__inner {
    pointer-events: none;
    inset: 0.5rem;
}

/* corner ornaments — fixed sizes */
.perks-artdeco__corner {
    pointer-events: none;
}

/* icon circle container (w-12 h-12 has no BS util) */
.perks-artdeco__icon-wrap {
    width: 3rem;
    height: 3rem;
    flex-shrink: 0;
}

/* card hover lift */
.perks-artdeco__frame {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.perks-artdeco__frame:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* Bootstrap: blur-орби (TW — у @sem); без номера варіанту в іменах */
.stats__decor-blur-tl {
  position: absolute;
  top: 25%;
  left: 25%;
  width: 16rem;
  height: 16rem;
  filter: blur(64px);
}

.stats__decor-blur-br {
  position: absolute;
  bottom: 25%;
  right: 25%;
  width: 20rem;
  height: 20rem;
  filter: blur(64px);
}

.stats__rank-badge {
  width: 1.5rem;
  height: 1.5rem;
  min-width: 1.5rem;
  min-height: 1.5rem;
}

/* Висота смуги; TW — градієнт у @sem, BS — bg у @sem */
.stats__bottom-line-bar {
  height: 0.25rem;
}

/* Hover та градієнти — розміри/позиції в @sem */
.stats-card-hover {
  transition:
    border-color 0.5s ease,
    box-shadow 0.5s ease,
    transform 0.5s ease;
}

.stats-card-hover:hover {
  box-shadow:
    0 25px 50px -12px rgb(0 0 0 / 0.25);
  transform: scale(1.05);
}

.stats-gradient-overlay-hover {
  transition: opacity 0.5s ease;
  opacity: 0;
}

.stats-card-hover:hover .stats-gradient-overlay-hover {
  opacity: 1;
}

.stats-media-hover {
  transition: transform 0.3s ease;
}

.stats-card-hover:hover .stats-media-hover {
  transform: scale(1.1);
}

.stats-bottom-bar-hover {
  transition: opacity 0.5s ease;
  opacity: 0;
}

.stats-card-hover:hover .stats-bottom-bar-hover {
  opacity: 1;
}

/* Маркери таймлайну: як TW w-4/h-4 та w-3/h-3 (border-box, сукупний розмір) */
.timeline-success-story__node {
    width: 1rem;
    height: 1rem;
    padding: 0;
    box-sizing: border-box;
}

.timeline-success-story__node--sm {
    width: 0.75rem;
    height: 0.75rem;
    padding: 0;
    box-sizing: border-box;
}

/* whyus editorial-mosaic — repeated-text decorative layer cycles a small hue-rotate amplitude only; no fixed colors are set here */
@keyframes whyus-editorial-mosaic-hue-cycle {
    0% { filter: hue-rotate(0deg); }
    50% { filter: hue-rotate(15deg); }
    100% { filter: hue-rotate(0deg); }
}

.whyus-editorial-mosaic__pattern-layer {
    animation: whyus-editorial-mosaic-hue-cycle 9s ease-in-out infinite;
    pointer-events: none;
}

/* geometric decor panel — grid texture + slow ring drift, colors from Tailwind text-* on nodes */
.whyus-editorial-mosaic__decor-panel {
    isolation: isolate;
}

.whyus-editorial-mosaic__decor-grid {
    background-image:
        linear-gradient(currentColor 1px, transparent 1px),
        linear-gradient(90deg, currentColor 1px, transparent 1px);
    background-size: 1.25rem 1.25rem;
}

.whyus-editorial-mosaic__decor-diamond {
    transform: translate(-50%, -50%) rotate(45deg);
}

.whyus-editorial-mosaic__decor-ring--outer {
    animation: whyus-editorial-mosaic-ring-drift 18s ease-in-out infinite;
}

.whyus-editorial-mosaic__decor-ring--inner {
    animation: whyus-editorial-mosaic-ring-drift 24s ease-in-out infinite reverse;
}

@keyframes whyus-editorial-mosaic-ring-drift {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.04); }
}

@media (prefers-reduced-motion: reduce) {
    .whyus-editorial-mosaic__decor-ring--outer,
    .whyus-editorial-mosaic__decor-ring--inner {
        animation: none;
    }
}

/* tabular-figure fallback — Tailwind's tabular-nums utility is already applied in markup, this is a safety net */
.whyus-editorial-mosaic__numeral {
    font-variant-numeric: tabular-nums;
}

/* scale-up-on-scroll reveal, staggered per tile via a JS-set --delay custom property (see script.js) */
.whyus-editorial-mosaic__tile {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 500ms ease, transform 500ms ease;
    transition-delay: var(--delay, 0ms);
}

.whyus-editorial-mosaic__tile.is-visible {
    opacity: 1;
    transform: scale(1);
}


.drive-signup__section {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.drive-signup__grid {
    min-height: 350px;
}

@keyframes drive-signup-spark-beat-seq {
    0%, 100% { opacity: 1; }
    50%       { opacity: .5; }
}
.drive-signup__spark--beat {
    animation: drive-signup-spark-beat-seq 2s cubic-bezier(.4,0,.6,1) infinite;
}

.drive-signup__prompt--glow:hover { transform: scale(1.05); transition: transform .2s ease; }

