/* Декор не перехватывает клики */
.hero-v11-decor-layer {
    pointer-events: none;
}

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

/* Иконка в карточке main-feature (w-12 h-12 rounded-lg) */
.hero-v11-icon-main {
    box-sizing: border-box;
    width: 3rem;
    height: 3rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    overflow: hidden;
}

/* Маленькие иконки в benefits-cards (w-8 h-8) */
.hero-v11-icon-card {
    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;
}

/* Нижний ряд bottom-features (w-12 h-12) */
.hero-v11-icon-bottom {
    box-sizing: border-box;
    width: 3rem;
    height: 3rem;
    flex-shrink: 0;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    overflow: hidden;
}

.hero-v11-icon-main i,
.hero-v11-icon-card i,
.hero-v11-icon-bottom i {
    line-height: 1;
}

/* Фоновые блобы */
.hero-v11-blob-ne {
    position: absolute;
    top: 5rem;
    right: 5rem;
    width: 18rem;
    height: 18rem;
    filter: blur(64px);
}

.hero-v11-blob-sw {
    position: absolute;
    bottom: 5rem;
    left: 5rem;
    width: 24rem;
    height: 24rem;
    filter: blur(64px);
}

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

.hero-v11-btn-ghost:hover,
.hero-v11-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);
}
/* 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: 1;
}

.content-vertical-paper__layout {
    display: grid;
    grid-template-columns: minmax(5rem, 8rem) minmax(0, 1fr);
}

.content-vertical-paper__title {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    letter-spacing: -0.025em;
}

@media (max-width: 767.98px) {
    .content-vertical-paper__layout {
        grid-template-columns: 1fr;
    }

    .content-vertical-paper__title {
        writing-mode: horizontal-tb;
        transform: none;
    }
}

.cta-services-split__marquee {
  overflow: hidden;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, black 20%, transparent 95%);
}

.cta-services-split__marquee-inner {
  display: inline-flex;
  align-items: center;
  gap: 3rem;
  white-space: nowrap;
  animation: cta-services-split__marquee 28s linear infinite;
}

@keyframes cta-services-split__marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.cta-services-split__cta {
  transition: filter 0.2s ease, transform 0.15s ease;
}

.cta-services-split__cta:hover,
.cta-services-split__cta:focus-visible {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.cta-services-split__cta:hover .cta-services-split__cta-icon,
.cta-services-split__cta:focus-visible .cta-services-split__cta-icon {
  transform: translate(2px, -2px);
}

.cta-services-split__cta-icon {
  transition: transform 0.2s ease;
}

.cta-services-split__item-hov {
  transition: border-color 0.2s ease, padding-inline-start 0.2s ease;
}

@media (prefers-reduced-motion: reduce) {
  .cta-services-split__marquee-inner {
    animation: none;
  }

  .cta-services-split__cta:hover,
  .cta-services-split__cta:focus-visible {
    transform: none;
  }
}

