.hero-v18-line-a {
    width: 200%;
    transform: rotate(12deg);
    transform-origin: left;
}

.hero-v18-line-b {
    width: 200%;
    transform: rotate(-12deg);
    transform-origin: right;
}

.hero-v18-col-left {
    transform-origin: top left;
}

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

.hero-v18-icon-box {
    width: 2rem;
    height: 2rem;
}

.hero-v18-col-right {
    transform-origin: top right;
}

.hero-v18-decor-tr {
    top: -1rem;
    right: -1rem;
    width: 6rem;
    height: 6rem;
}

.hero-v18-decor-bl {
    bottom: -1rem;
    left: -1rem;
    width: 5rem;
    height: 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);
}
.intro-icon-benefits__icon-box {
    width: 4rem;
    height: 4rem;
}

.intro-icon-benefits__decor-top {
    width: 5rem;
    height: 5rem;
    top: 2.5rem;
    left: 2.5rem;
}

.intro-icon-benefits__decor-bottom {
    width: 8rem;
    height: 8rem;
    bottom: 2.5rem;
    right: 2.5rem;
}

.intro-icon-benefits__decor-mid {
    width: 4rem;
    height: 4rem;
    top: 50%;
    left: 25%;
}

/* v21 editorial — vertical sidebar title */
.perks-editorial-aside__sidebar {
    width: 3rem;
    flex-shrink: 0;
}

.perks-editorial-aside__title-wrap {
    position: sticky;
    top: 6rem;
    height: calc(100vh - 8rem);
    max-height: 32rem;
}

.perks-editorial-aside__h2 {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    white-space: nowrap;
}

.perks-editorial-aside__rule {
    min-height: 2rem;
    flex: 1 1 auto;
    width: 1px;
}

/* numbered item — prevent selection */
.perks-editorial-aside__num {
    user-select: none;
    -webkit-user-select: none;
    min-width: 3.5rem;
}

/* mobile: stack layout, show h2 horizontally */
@media (max-width: 767px) {
    .perks-editorial-aside__sidebar {
        width: 100%;
    }

    .perks-editorial-aside__title-wrap {
        position: static;
        height: auto;
        flex-direction: row !important;
        align-items: center;
        justify-content: flex-start;
    }

    .perks-editorial-aside__h2 {
        writing-mode: horizontal-tb;
        transform: none;
        white-space: normal;
    }

    .perks-editorial-aside__rule {
        display: none;
    }
}

/* Вертикальний таймлайн — позиція рейки та вузлів */
.services__rail {
  position: absolute;
  left: 1.3rem;
  top: 0.75rem;
  bottom: 0.75rem;
  width: 2px;
  background-color: var(--bs-border-color, #dee2e6);
  border-radius: 1px;
}

.dark .services__rail {
  background-color: rgba(148, 163, 184, 0.45);
}

.services__node {
  position: relative;
  padding-left: 3.5rem;
  padding-bottom: 1.5rem;
}

.services__node:last-child {
  padding-bottom: 0;
}

@media (max-width: 575.98px) {
  .services__node {
    padding-left: 3.25rem;
  }

  .services__rail {
    left: 1.4rem;
  }
}

.services__badge {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
}

.triplet-plain-quote__track {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    min-width: 0;
    row-gap: 1.5rem;
}

@media (min-width: 768px) {
    .triplet-plain-quote__track {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        column-gap: 1.5rem;
        row-gap: 1.75rem;
    }
}

.triplet-plain-quote__col {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

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

.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);
}

.reasons-grouped-checklist__col {
    min-width: 20rem;
}


.motion-beacon__section {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.motion-beacon__inner {
    max-width: 64rem;
}

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

@keyframes motion-beacon-pin-blink-loop {
    0%, 100% { opacity: 1; }
    50%       { opacity: .5; }
}
.motion-beacon__pin--blink {
    animation: motion-beacon-pin-blink-loop 2s cubic-bezier(.4,0,.6,1) infinite;
}

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

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

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

.motion-beacon__radial-row-bs {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
}

.motion-beacon__radial-row-bs > .motion-beacon__plaque--shift {
    flex: 1 1 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .motion-beacon__radial-row-bs > .motion-beacon__plaque--shift {
        flex: 1 1 calc((100% - (var(--motion-beacon-radial-cols, 3) - 1) * 1.5rem) / var(--motion-beacon-radial-cols, 3));
        max-width: calc((100% - (var(--motion-beacon-radial-cols, 3) - 1) * 1.5rem) / var(--motion-beacon-radial-cols, 3));
    }
}

