.hero-v27-block {
    max-width: 48rem;
}

.hero-v27-media {
    max-width: 64rem;
}

.hero-v27-glow {
    top: -1rem;
    left: 4rem;
    right: 4rem;
    height: 6rem;
    filter: blur(48px);
}

/* -- 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);
}
/* v29 step funnel — badge fixed size (w-16 h-16 has no BS util) */
.perks-funnel__badge {
    width: 4rem;
    height: 4rem;
    flex-shrink: 0;
}

/* connecting horizontal line — full-width (absolute, no BS util) */
.perks-funnel__line {
    pointer-events: none;
}

/* stagger reveal animation (IntersectionObserver adds .is-visible) */
.perks-funnel__step {
    opacity: 0;
    transform: translateY(1.5rem);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.perks-funnel__step.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* stagger delays (max 4 steps) */
.perks-funnel__step:nth-child(1) { transition-delay: 0s; }
.perks-funnel__step:nth-child(2) { transition-delay: 0.1s; }
.perks-funnel__step:nth-child(3) { transition-delay: 0.2s; }
.perks-funnel__step:nth-child(4) { transition-delay: 0.3s; }


.process__hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process__hover-lift:hover {
    transform: scale(1.04);
}

.process__step-group:hover .process__badge-rise,
.process__step-group:hover .process__icon-rise {
    transform: scale(1.08);
}

/* Менш «важка» анімація (soft / fluid варіанти) */
.process--hover-soft .process__hover-lift:hover,
.process--hover-fluid .process__hover-lift:hover {
    transform: translateY(-3px);
}

.process--hover-soft .process__step-group:hover .process__badge-rise,
.process--hover-soft .process__step-group:hover .process__icon-rise,
.process--hover-fluid .process__step-group:hover .process__badge-rise {
    transform: scale(1.025);
}

.process--hover-fluid .process__hover-lift {
    transition:
        transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.process--hover-fluid .process__badge-rise,
.process--hover-fluid .process__deco-rise {
    transition:
        transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.35s ease;
}

.process.process--timeline-compact .process__hover-lift:hover {
    transform: translateY(-2px);
}

/* process--timeline-compact: один відступ від осі лінії (TW/BS); картка на всю ширину ряду */
.process.process--timeline-compact .process__step {
    padding-left: 5rem;
}

@media (min-width: 768px) {
    .process.process--timeline-compact .process__step {
        padding-left: 5.5rem;
    }
}

.process.process--timeline-compact .process__card {
    max-width: none;
    width: 100%;
    box-sizing: border-box;
}


/* Лише тінь на картці, без scale (soft) */
.process--hover-soft .process__card.process__hover-lift:hover {
    transform: none;
}

/* Контраст цифр на світлому / градієнті */
.process__num-pop {
    box-shadow:
        0 0 0 3px var(--bs-body-bg, #fff),
        0 4px 14px rgba(0, 0, 0, 0.18);
}

.process__meta-on-primary {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

/* Вертикальна лінія: видима ширина (BS) + центр під колом w-12 (3rem) */
.process__vline--through-12 {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 1.5rem;
    width: 0.25rem;
    margin-left: -0.125rem;
    border-radius: 9999px;
    pointer-events: none;
    z-index: 0;
}

/* Центр під колом w-16 (4rem) — v2 таймлайн */
.process__vline--through-16 {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 2rem;
    width: 0.25rem;
    margin-left: -0.125rem;
    border-radius: 9999px;
    pointer-events: none;
    z-index: 0;
}

/* Вузол w-8, left 1.25rem → центр 2.25rem */
.process__vline--through-node-sm {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 2.25rem;
    width: 0.25rem;
    margin-left: -0.125rem;
    border-radius: 9999px;
    pointer-events: none;
    z-index: 0;
}

/* Горизонтальна лінія таймлайну (v19) */
.process__hline--bar {
    position: absolute;
    left: 0;
    right: 0;
    height: 0.25rem;
    top: 1.5rem;
    margin-top: -0.125rem;
    border-radius: 9999px;
    pointer-events: none;
    z-index: 0;
}

/* v3: номер над карточкою (BS/TW) */
.process__float-num-fix {
    top: -1.5rem;
}

.process__float--lifted {
    top: -1.35rem;
    left: 0.75rem;
}

/* Легкий блюр + темний шар (білий заголовок на світлому фото) */
.process__overlay-blur {
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    background-color: rgba(15, 23, 42, 0.62);
}

.process__head-glass {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

/* Відступ під «літаючий» номер (BS часто потребує більше) */
.process__card--float-gap {
    padding-top: 6.75rem;
}

/* v6: центральна вісь на всю висоту */
.process__vline--center-md {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 0.25rem;
    margin-left: -0.125rem;
    border-radius: 9999px;
    pointer-events: none;
    z-index: 0;
}

@media (min-width: 768px) {
    .process__step-row > .process__dot--center-line {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}

.process__badge-rise,
.process__icon-rise {
    transition: transform 0.3s ease;
}

.process__decor-dot {
    opacity: 0.45;
    transition: opacity 0.3s ease;
}

.process__step-group:hover .process__decor-dot {
    opacity: 1;
}

.process__decor-dot--subtle {
    opacity: 0.28;
}

.process__step-group:hover .process__decor-dot--subtle {
    opacity: 0.7;
}

.process__step-group:hover .process__deco-rise {
    opacity: 0.45;
}

.process__deco-rise {
    transition: opacity 0.3s ease;
}

/* Кола з цифрами — синхрон з Tailwind w-* h-* */
.process__num-fixed--8 {
    width: 2rem;
    height: 2rem;
    min-width: 2rem;
    min-height: 2rem;
    box-sizing: border-box;
    flex-shrink: 0;
}

.process__num-fixed--10 {
    width: 2.5rem;
    height: 2.5rem;
    min-width: 2.5rem;
    min-height: 2.5rem;
    box-sizing: border-box;
    flex-shrink: 0;
}

.process__num-fixed--12 {
    width: 3rem;
    height: 3rem;
    min-width: 3rem;
    min-height: 3rem;
    box-sizing: border-box;
    flex-shrink: 0;
}

.process__num-fixed--16 {
    width: 4rem;
    height: 4rem;
    min-width: 4rem;
    min-height: 4rem;
    box-sizing: border-box;
    flex-shrink: 0;
}

.process__num-fixed--20 {
    width: 5rem;
    height: 5rem;
    min-width: 5rem;
    min-height: 5rem;
    box-sizing: border-box;
    flex-shrink: 0;
}

.process__num-fixed--24 {
    width: 6rem;
    height: 6rem;
    min-width: 6rem;
    min-height: 6rem;
    box-sizing: border-box;
    flex-shrink: 0;
}

.process__num-fixed--32 {
    width: 8rem;
    height: 8rem;
    min-width: 8rem;
    min-height: 8rem;
    box-sizing: border-box;
    flex-shrink: 0;
}

/* v2 аватар: квадратне поле + cover → рівне коло з rounded-circle */
.process__avatar-img {
    width: 6rem;
    height: 6rem;
    min-width: 6rem;
    min-height: 6rem;
    object-fit: cover;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* v1 @ifRandom декор: якір + розмір (щоб не «літав» у BS) */
.process__decor-blob-fix {
    position: absolute;
    width: 10rem;
    height: 10rem;
    top: -2.5rem;
    right: 1rem;
    z-index: -1;
    pointer-events: none;
}

/* v5 декор тло */
.process__decor-faint-fix {
    position: absolute;
    width: 6rem;
    height: 6rem;
    top: 25%;
    left: 0;
    z-index: -1;
    pointer-events: none;
}

/* v14 glow */
.process__glow-fix {
    position: absolute;
    width: 16rem;
    height: 16rem;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
    .process__hover-lift,
    .process__badge-rise,
    .process__icon-rise,
    .process__decor-dot,
    .process__decor-dot--subtle,
    .process__deco-rise {
        transition: none;
    }

    .process__hover-lift:hover,
    .process--hover-soft .process__hover-lift:hover,
    .process--hover-fluid .process__hover-lift:hover,
    .process.process--timeline-compact .process__hover-lift:hover {
        transform: none;
    }

    .process__step-group:hover .process__badge-rise,
    .process__step-group:hover .process__icon-rise {
        transform: none;
    }

    .process__step-group:hover .process__decor-dot,
    .process__step-group:hover .process__decor-dot--subtle,
    .process__step-group:hover .process__deco-rise {
        opacity: unset;
    }
}

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

.services-tabs__btn {
    background-color: transparent;
}
.services-tabs__btn:hover {
    background-color: color-mix(in srgb, var(--bs-secondary-color) 6%, transparent);
}
.services-tabs__btn.is-active {
    border-color: var(--bs-primary) !important;
    background-color: color-mix(in srgb, var(--bs-primary) 8%, transparent) !important;
}

.quad-reviews-quote__track {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    min-width: 0;
    row-gap: 2rem;
}

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

@media (min-width: 1024px) {
    .quad-reviews-quote__track {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        row-gap: 2.5rem;
    }
}

.quad-reviews-quote__col {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

@media (min-width: 768px) {
    .quad-reviews-quote__col {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
}

.quad-reviews-quote__surface {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 0;
    flex: 1 1 auto;
}

@media (min-width: 768px) {
    .quad-reviews-quote__surface {
        gap: 1.25rem;
    }
}

/* Card hover: scale */
.portfolio-item-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.portfolio-item-hover:hover {
    transform: scale(1.05);
}

/* Image: zoom on card hover */
.portfolio-item-hover .portfolio-img-hover {
    transition: transform 0.3s ease;
}
.portfolio-item-hover:hover .portfolio-img-hover {
    transform: scale(1.05);
}

/* Overlay: fade in on card hover */
.portfolio-overlay-hover {
    opacity: 0;
    transition: opacity 0.3s ease;
}
.portfolio-item-hover:hover .portfolio-overlay-hover {
    opacity: 0.3;
}

/* team v20 — vertical timeline + animated background decor */
.team-timeline__scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.team-timeline__line {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, var(--tw-primary-500), transparent);
  transform: translateX(-50%);
  z-index: 1;
}

.team-timeline__blob {
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation: team-timeline-blob-morph 9s ease-in-out infinite;
  transform-origin: center;
}

.team-timeline__blob--tl {
  top: -4rem;
  left: -5rem;
  width: 20rem;
  height: 20rem;
}

.team-timeline__blob--br {
  bottom: -5rem;
  right: -4rem;
  width: 24rem;
  height: 24rem;
  animation-duration: 11s;
  animation-delay: 2s;
}

.team-timeline__glow--center {
  top: 50%;
  left: 50%;
  width: 24rem;
  height: 24rem;
  animation: team-timeline-glow-pulse 7s ease-in-out infinite;
  transform-origin: center;
}

.team-timeline__ring--1 {
  top: 6rem;
  right: 1.5rem;
  animation: team-timeline-spin 28s linear infinite;
  transform-origin: center;
}

.team-timeline__ring--2 {
  bottom: 8rem;
  left: 1rem;
  animation: team-timeline-pulse-ring 5.5s ease-in-out infinite;
  transform-origin: center;
}

.team-timeline__ring--3 {
  top: 33%;
  left: 2rem;
  animation: team-timeline-spin-reverse 22s linear infinite;
  transform-origin: center;
}

.team-timeline__spark {
  animation: team-timeline-spark-float 4.5s ease-in-out infinite;
}

.team-timeline__spark--1 {
  animation-delay: 0s;
}

.team-timeline__spark--2 {
  animation-delay: 0.7s;
}

.team-timeline__spark--3 {
  animation-delay: 1.4s;
}

.team-timeline__spark--4 {
  animation-delay: 2.1s;
}

.team-timeline__spark--1 {
  top: 18%;
  left: 46%;
  width: 0.5rem;
  height: 0.5rem;
}

.team-timeline__spark--2 {
  top: 42%;
  left: 52%;
  width: 0.75rem;
  height: 0.75rem;
}

.team-timeline__spark--3 {
  top: 68%;
  left: 48%;
  width: 0.5rem;
  height: 0.5rem;
}

.team-timeline__spark--4 {
  bottom: 22%;
  right: 18%;
  width: 0.5rem;
  height: 0.5rem;
}

.team-timeline__diamond--1 {
  top: 4rem;
  left: 12%;
  width: 2.5rem;
  height: 2.5rem;
  animation: team-timeline-diamond-turn-1 16s linear infinite;
  transform-origin: center;
}

.team-timeline__diamond--2 {
  bottom: 5rem;
  right: 10%;
  width: 3.5rem;
  height: 3.5rem;
  animation: team-timeline-diamond-turn-2 20s linear infinite reverse;
  transform-origin: center;
}

.team-timeline__ring--1 {
  width: 9rem;
  height: 9rem;
}

.team-timeline__ring--2 {
  width: 7rem;
  height: 7rem;
}

.team-timeline__ring--3 {
  width: 5rem;
  height: 5rem;
}

@media (min-width: 768px) {
  .team-timeline__ring--1 {
    width: 12rem;
    height: 12rem;
    right: 3rem;
  }

  .team-timeline__ring--2 {
    left: 2.5rem;
  }

  .team-timeline__ring--3 {
    left: 2rem;
  }
}

.team-timeline__item {
  position: relative;
  z-index: 2;
}

.team-timeline__dot {
  width: 1.25rem;
  height: 1.25rem;
}

.team-timeline__avatar {
  width: 8rem;
  height: 8rem;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 50%;
}

.team-timeline__avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-timeline__item [class*='col-md-6'] {
  min-width: 0;
}

.team-timeline__item:hover .team-timeline__dot {
  width: 1.5rem;
  height: 1.5rem;
  box-shadow: 0 0 0 0.5rem rgba(59, 130, 246, 0.12);
}

@keyframes team-timeline-blob-morph {
  0%,
  100% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    transform: scale(1);
  }
  33% {
    border-radius: 58% 42% 38% 62% / 52% 48% 52% 48%;
    transform: scale(1.06);
  }
  66% {
    border-radius: 42% 58% 62% 38% / 48% 62% 38% 52%;
    transform: scale(0.97);
  }
}

@keyframes team-timeline-glow-pulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.55;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.12);
    opacity: 1;
  }
}

@keyframes team-timeline-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes team-timeline-spin-reverse {
  from {
    transform: rotate(360deg);
  }
  to {
    transform: rotate(0deg);
  }
}

@keyframes team-timeline-pulse-ring {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.45;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.85;
  }
}

@keyframes team-timeline-spark-float {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.35;
  }
  50% {
    transform: translateY(-0.65rem);
    opacity: 1;
  }
}

@keyframes team-timeline-diamond-turn-1 {
  from {
    transform: rotate(45deg);
  }
  to {
    transform: rotate(405deg);
  }
}

@keyframes team-timeline-diamond-turn-2 {
  from {
    transform: rotate(12deg);
  }
  to {
    transform: rotate(372deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .team-timeline__blob,
  .team-timeline__glow--center,
  .team-timeline__ring--1,
  .team-timeline__ring--2,
  .team-timeline__ring--3,
  .team-timeline__spark,
  .team-timeline__diamond {
    animation: none;
  }
}


.pulse-boost__section {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.pulse-boost__inner {
    max-width: 72rem;
    width: 100%;
    box-sizing: border-box;
}

/* Bootstrap: col-* внутри d-flex без .row даёт неверную ширину и обрезание справа */
.pulse-boost__split-row-bs {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

@media (min-width: 1024px) {
    .pulse-boost__split-row-bs {
        flex-direction: row;
        align-items: center;
    }

    .pulse-boost__split-row-bs > * {
        flex: 1 1 0;
        min-width: 0;
        max-width: 50%;
        box-sizing: border-box;
    }
}

.pulse-boost__vessel--rise:hover { transform: scale(1.05); transition: transform .2s ease; }

@keyframes pulse-boost-highlight-throb-track {
    0%, 100% { opacity: 1; }
    50%       { opacity: .5; }
}
.pulse-boost__highlight--throb {
    animation: pulse-boost-highlight-throb-track 2s cubic-bezier(.4,0,.6,1) infinite;
}

.pulse-boost__jump--rise:hover { transform: scale(1.05); transition: transform .2s ease; }

.pulse-boost__control--rise:hover { transform: scale(1.05); transition: transform .2s ease; }

