.hero-v17-blob-center {
    width: 600px;
    height: 600px;
    animation-duration: 4s;
}

.hero-v17-blob-a {
    animation-duration: 5s;
    animation-delay: 1s;
}

.hero-v17-blob-b {
    animation-duration: 6s;
    animation-delay: 2s;
}

.hero-v17-particle-a {
    animation-duration: 3s;
}

.hero-v17-particle-b {
    animation-duration: 4s;
    animation-delay: 0.5s;
}

.hero-v17-particle-c {
    animation-duration: 3.5s;
    animation-delay: 1s;
}

.hero-v17-particle-d {
    animation-duration: 4.5s;
    animation-delay: 1.5s;
}

.hero-v17-particle-e {
    animation-duration: 3.8s;
    animation-delay: 2s;
}

.hero-v17-particle-f {
    animation-duration: 4.2s;
    animation-delay: 2.5s;
}

.hero-v17-shape-spin {
    animation-duration: 20s;
}

.hero-v17-shape-ping {
    animation-duration: 3s;
    animation-delay: 1s;
}

.hero-v17-shape-reverse {
    animation-duration: 15s;
    animation-direction: reverse;
}

.hero-v17-line-left {
    animation-duration: 2s;
    height: 8rem;
    left: 25%;
}

.hero-v17-line-right {
    animation-duration: 2.5s;
    animation-delay: 0.5s;
    height: 8rem;
    right: 25%;
}

.hero-v17-dot {
    width: 0.5rem;
    height: 0.5rem;
}

.hero-v17-block-md {
    max-width: 56rem;
}

.hero-v17-media-wrap {
    max-width: 42rem;
}

.hero-v17-decor-tr {
    top: -0.75rem;
    right: -0.75rem;
    width: 5rem;
    height: 5rem;
}

.hero-v17-decor-bl {
    bottom: -0.75rem;
    left: -0.75rem;
    width: 4rem;
    height: 4rem;
}

.hero-v17-features-area {
    max-width: 64rem;
}

.hero-v17-icon-box {
    min-width: 1.5rem;
    min-height: 1.5rem;
}

/* -- 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);
}
.gallery-cards__card {
    transition: transform 0.3s ease;
}
.gallery-cards__card:hover {
    transform: scale(1.05);
}
.gallery-cards__img {
    height: 16rem;
}

/* min-width: 0 — довгий текст/флекс у колонці не роздуває рядок */
.content-col-grow {
    min-width: 0;
}

.content-stack-col--text {
    overflow-wrap: anywhere;
}

.content-stack-col--text > :first-child {
    width: 100%;
    max-width: 65ch;
    margin-inline: auto;
}

/* gap лише для Tailwind (grid). У Bootstrap — відступи через g-* у component (row-cols + g-3), без CSS gap на .row */
.content-grid-gap:not(.row) {
    gap: 1rem;
}

.content-full-frame {
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.content-section-pad {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

/* Третина рядка: стабільна висота прев’ю, без height:100% від сусіднього тексту */
.content-img-fullheight {
    display: block;
    width: 100%;
    max-width: min(100%, 28rem);
    margin-inline: auto;
    min-width: 0;
    aspect-ratio: 3 / 4;
    max-height: 28rem;
    height: auto;
    flex-shrink: 1;
    object-fit: cover;
    object-position: center;
}

.cta-staircase__step-num {
  width: 3rem;
  height: 3rem;
  min-width: 3rem;
  min-height: 3rem;
  flex-shrink: 0;
}

.cta-staircase__stairs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.cta-staircase__step {
  transform: translateX(calc(var(--step, 0) * 20px));
  animation: cta-staircase__fade 600ms ease both;
  animation-delay: calc(var(--step, 0) * 100ms);
}

@keyframes cta-staircase__fade {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(calc(var(--step, 0) * 20px)); }
}

@media (max-width: 768px) {
  .cta-staircase__step {
    transform: translateX(0);
  }
}

