.memo-number-hover,
.memo-box-hover,
.memo-cta-shadow,
.memo-cta-hover {
    transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.memo-title-rule {
    border-bottom: 4px solid var(--bs-primary);
}

.memo-principle-rule {
    border-top: 2px solid rgba(var(--bs-emphasis-color-rgb), 0.2);
}

.memo-principle-group:hover .memo-number-hover {
    color: var(--bs-primary) !important;
}

.memo-principle-group:hover .memo-box-hover {
    border-top-color: rgba(var(--bs-primary-rgb), 0.4) !important;
}

.memo-cta-shadow {
    transform: translate(0.375rem, 0.375rem);
}

.memo-cta-group:hover .memo-cta-shadow {
    transform: translate(0, 0);
}

.memo-cta-hover:hover {
    background-color: var(--bs-primary, rgb(var(--tw-primary-600, 37 99 235) / 1)) !important;
    color: #fff !important;
    border-color: var(--bs-primary, rgb(var(--tw-primary-700, 29 78 216) / 1)) !important;
}

/* Bootstrap: сетка + зазор; пропорции как md:w-1/2 и lg: 2/3 + 1/3 */
.values-bento-split__bs-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
    width: 100%;
}

@media (min-width: 768px) {
    .values-bento-split__bs-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .values-bento-split__bs-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .values-bento-split__bs-grid .values-bento-split__bs-item--0 {
        grid-column: span 2;
    }

    .values-bento-split__bs-grid .values-bento-split__bs-item--1 {
        grid-column: span 1;
    }

    .values-bento-split__bs-grid .values-bento-split__bs-item--2 {
        grid-column: span 1;
    }

    .values-bento-split__bs-grid .values-bento-split__bs-item--3 {
        grid-column: span 2;
    }
}

.values-bento-split__subtitle-max {
    max-width: 48rem;
}

/* Текст под абсолютным кругом: отступы сильнее, чем были в bs (избегаем перекрытия) */
.values-bento-split__body {
    min-width: 0;
    margin-top: 6rem;
    margin-left: 0;
}

@media (min-width: 768px) {
    .values-bento-split__body {
        margin-top: 2rem;
        margin-left: 6rem;
    }
}

.values-bento-split__thumb {
    width: 4rem;
    height: 4rem;
}

@media (min-width: 768px) {
    .values-bento-split__thumb {
        width: 5rem;
        height: 5rem;
    }
}

/* 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;
  }
}

.neon-circuit-timeline__circuit-bg {
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 39px, currentColor 39px, currentColor 40px),
        repeating-linear-gradient(90deg, transparent, transparent 39px, currentColor 39px, currentColor 40px);
}

@keyframes neon-circuit-timeline__glow-pulse {
    0%, 100% { box-shadow: 0 0 4px 2px currentColor, 0 0 12px 4px currentColor; opacity: 1; }
    50% { box-shadow: 0 0 8px 4px currentColor, 0 0 24px 8px currentColor; opacity: 0.7; }
}

.neon-circuit-timeline__node-glow {
    animation: neon-circuit-timeline__glow-pulse 2.5s ease-in-out infinite;
}

@keyframes neon-circuit-timeline__ring-expand {
    0%, 100% { transform: scale(1); opacity: 0.4; }
    50% { transform: scale(1.4); opacity: 0; }
}

.neon-circuit-timeline__ring {
    animation: neon-circuit-timeline__ring-expand 2.5s ease-in-out infinite;
}

.neon-circuit-timeline__decor-left {
    top: 50%;
    left: 25%;
    transform: translateY(-50%);
    width: 16rem;
    height: 16rem;
}

.neon-circuit-timeline__decor-right {
    top: 50%;
    right: 25%;
    transform: translateY(-50%);
    width: 16rem;
    height: 16rem;
}

.neon-circuit-timeline__accent-line {
    height: 5rem;
    width: 1px;
}

.neon-circuit-timeline__node-wrap {
    z-index: 10;
}

.neon-circuit-timeline__node {
    width: 1rem;
    height: 1rem;
}

.neon-circuit-timeline__ring-size {
    width: 2rem;
    height: 2rem;
}

.neon-circuit-timeline__card-width {
    max-width: 11rem;
}

