/* Декор: клики проходят к контенту */
.hero-v13-decor-layer {
    pointer-events: none;
}

/* Точка в верхнем бейдже */
.hero-v13-badge-dot {
    box-sizing: border-box;
    width: 0.5rem;
    height: 0.5rem;
    flex-shrink: 0;
    border-radius: 9999px;
}

/* Иконка в карточке key-features (w-8 h-8 rounded-lg) */
.hero-v13-feature-icon {
    box-sizing: border-box;
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    overflow: hidden;
}

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

/* Плавающие точки — только размеры и позиции */
.hero-v13-dot--1 {
    position: absolute;
    top: 5rem;
    left: 4rem;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 9999px;
}

.hero-v13-dot--2 {
    position: absolute;
    top: 8rem;
    right: 5rem;
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 9999px;
}

.hero-v13-dot--3 {
    position: absolute;
    bottom: 6rem;
    left: 5rem;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 9999px;
}

.hero-v13-dot--4 {
    position: absolute;
    bottom: 8rem;
    right: 4rem;
    width: 1rem;
    height: 1rem;
    border-radius: 9999px;
}

.hero-v13-dot--5 {
    position: absolute;
    top: 50%;
    left: 25%;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 9999px;
}

.hero-v13-dot--6 {
    position: absolute;
    top: 33%;
    right: 33%;
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 9999px;
}

/* Контент: как max-w-5xl / max-w-3xl в Bootstrap */
.hero-v13-area-max {
    max-width: 64rem;
    margin-left: auto;
    margin-right: auto;
}

.hero-v13-desc-max {
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

/* Индикатор скролла внизу — без transform (конфликт с анимациями) */
.hero-v13-scroll-wrap {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    z-index: 10;
    margin-left: -0.75rem;
}

.hero-v13-scroll-track {
    width: 1.5rem;
    height: 2.5rem;
}

.hero-v13-scroll-thumb {
    width: 0.25rem;
    height: 0.75rem;
}

.hero-v13-btn-ghost {
    background-color: transparent;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.hero-v13-btn-ghost:hover,
.hero-v13-btn-ghost:focus {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff !important;
    border-color: #fff !important;
}

/* -- 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);
}
/* features pillars — circular icon tile size + column dividers (layout only, no colors) */
.features-pillars__tile {
    width: 4rem;
    height: 4rem;
}

.features-pillars__col:not(:first-child) {
    border-top-width: 1px;
    border-top-style: solid;
}

@media (min-width: 768px) {
    /* equal-width columns regardless of text length (basis 0 + min-width:0 lets a text-heavy item shrink) */
    .features-pillars__col {
        flex: 1 1 0%;
        min-width: 0;
    }

    .features-pillars__col:not(:first-child) {
        border-top-width: 0;
        border-left-width: 1px;
        border-left-style: solid;
    }
}

/* advantages versus — decorative corner ring (size/position only, no colors) */
.advantages-versus__ring {
    width: 18rem;
    height: 18rem;
    top: -5rem;
    left: -5rem;
}

/* Layout / motion only — colors stay in Blade utilities (CLAUDE.md) */

.perks-fourcol-glow__blob--a {
    position: absolute;
    width: 8rem;
    height: 8rem;
    top: 5rem;
    left: 2.5rem;
    filter: blur(64px);
}

.perks-fourcol-glow__blob--b {
    position: absolute;
    width: 10rem;
    height: 10rem;
    bottom: 5rem;
    right: 2.5rem;
    filter: blur(64px);
}

.perks-fourcol-glow__badge {
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    width: 2rem;
    height: 2rem;
}

.perks-fourcol-glow__thumb {
    width: 5rem;
    height: 5rem;
}

.perks-fourcol-glow__card,
.perks-fourcol-glow__thumb {
    transition: transform 0.3s ease;
}

.perks-fourcol-glow__overlay {
    transition: opacity 0.5s ease;
}

.perks-fourcol-glow__accent {
    transition: opacity 0.5s ease;
}

@media (min-width: 640px) {
    .perks-fourcol-glow__group:hover .perks-fourcol-glow__card {
        transform: scale(1.05);
    }

    .perks-fourcol-glow__group:hover .perks-fourcol-glow__thumb {
        transform: scale(1.1);
    }
}

.perks-fourcol-glow__group:hover .perks-fourcol-glow__overlay {
    opacity: 1;
}

.perks-fourcol-glow__group:hover .perks-fourcol-glow__accent {
    opacity: 1;
}

.polar-frame-quote__portrait {
    width: 7rem;
    height: 7rem;
}

/*
 * Градієнт тільки для BS: наближення до TW from-primary-900/90 → to-primary-800/90
 * (у TW ці класи задані в @sem; спільний клас з color-mix давав інший відтінок, ніж шкала primary-*).
 */
.quote-overlay-gradient {
  opacity: 0.9;
  background: linear-gradient(
    to right,
    color-mix(in srgb, var(--bs-primary) 30%, black),
    color-mix(in srgb, var(--bs-primary) 42%, black)
  );
}

[data-bs-theme="dark"] .quote-overlay-gradient,
.dark .quote-overlay-gradient {
  background: linear-gradient(
    to right,
    color-mix(in srgb, var(--bs-primary) 18%, black),
    color-mix(in srgb, var(--bs-primary) 30%, black)
  );
}

.quote-glass {
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.quote-decor-blur {
  filter: blur(64px);
}

.stats__icon-dim {
  width: 4rem;
  height: 4rem;
}

.stats__decor-corner-ring {
  bottom: 1rem;
  right: 1rem;
  width: 1.5rem;
  height: 1.5rem;
}

.stats__decor-corner-dot {
  bottom: 1rem;
  left: 1rem;
  width: 0.75rem;
  height: 0.75rem;
}

.stats-card-hover {
  transition:
    box-shadow 0.5s ease,
    transform 0.5s 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);
}

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

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

.stats-icon-box-hover {
  transition:
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.stats-card-hover:hover .stats-icon-box-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.1) rotate(3deg);
}

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

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

.stats-decor-ring-hover {
  opacity: 0.2;
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

.stats-card-hover:hover .stats-decor-ring-hover {
  opacity: 0.4;
  transform: scale(1.5);
}

.stats-decor-dot-hover {
  opacity: 0.3;
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

.stats-card-hover:hover .stats-decor-dot-hover {
  opacity: 0.6;
  transform: scale(1.25);
}

.gallery-masonry__card {
    transition: all 0.3s ease;
}

.gallery-masonry__card:hover {
    transform: scale(1.05);
    box-shadow: 0 1rem 3rem rgba(0,0,0,0.175);
}

.gallery-masonry__img {
    transition: transform 0.3s ease;
}

.gallery-masonry__card:hover .gallery-masonry__img {
    transform: scale(1.05);
}

.gallery-masonry__overlay {
    opacity: 0;
    transition: opacity 0.3s ease;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.2), transparent);
}

.gallery-masonry__card:hover .gallery-masonry__overlay {
    opacity: 1;
}

/* Bootstrap Grid Fallbacks */
.gallery-masonry__grid {
    grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
    .gallery-masonry__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.gallery-masonry__card--large {
    grid-row: span 2;
    height: 100%;
}

.gallery-masonry__media--square {
    aspect-ratio: 1 / 1;
}

.gallery-masonry__media--full {
    height: 100%;
    min-height: 100%;
}

/* cta split screen — full-height cover image */
.cta-split-screen__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: 100vh;
}

@media (min-width: 1024px) {
  .cta-split-screen__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1023px) {
  .cta-split-screen__grid {
    min-height: auto;
  }
}

.cta-split-screen__cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

