/* Декор: pointer-events (Bootstrap pe-none — не то свойство) */
.hero-v20-decor-layer {
    pointer-events: none;
}

.hero-v20-center-orb {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 18rem;
    height: 18rem;
    filter: blur(40px);
}

/* Как Tailwind: top-1/4 left-1/4 w-96 h-96 blur-3xl */
.hero-v20-blob-tl {
    position: absolute;
    width: 24rem;
    height: 24rem;
    top: 25%;
    left: 25%;
    filter: blur(64px);
}

/* bottom-1/4 right-1/4 w-80 h-80 blur-3xl */
.hero-v20-blob-br {
    position: absolute;
    width: 20rem;
    height: 20rem;
    bottom: 25%;
    right: 25%;
    filter: blur(64px);
}

.hero-v20-dot {
    width: 0.5rem;
    height: 0.5rem;
    flex-shrink: 0;
}

.hero-v20-shadow-a {
    position: absolute;
    z-index: -10;
    top: 1rem;
    left: 1rem;
    width: 100%;
    height: 100%;
}

.hero-v20-icon-sm {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 0.5rem;
}

.hero-v20-icon-xs {
    line-height: 1;
}

.hero-v20-shadow-b {
    position: absolute;
    z-index: -10;
    top: 1.5rem;
    right: 1.5rem;
    width: 100%;
    height: 100%;
}

.hero-v20-shadow-c {
    position: absolute;
    z-index: -5;
    top: 0.75rem;
    right: 0.75rem;
    width: 100%;
    height: 100%;
}

/* Hover scale как sm:hover:scale-105 (общий для TW и BS) */
@media (min-width: 576px) {
    .hero-v20-benefit-item:hover,
    .hero-v20-cta-pill:hover,
    .hero-v20-media-card:hover {
        transform: scale(1.05);
    }
}

.hero-v20-benefit-item,
.hero-v20-cta-pill,
.hero-v20-media-card {
    transition: transform 150ms ease;
}

/* -- 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);
}
/* Grid + gap: @sem may obfuscate Tailwind grid/gap */
.rotating-badge-grid {
    display: grid;
    width: 100%;
    gap: 1.5rem;
    grid-template-columns: minmax(0, 1fr);
}

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

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

@media (min-width: 1280px) {
    .rotating-badge-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* Badge: w-12 = 3rem — lift above card (bs had top-0) */
.philosophy-v4-badge-decor {
    top: -2.25rem;
}

.philosophy-rotate-badge {
    width: 3rem;
    height: 3rem;
}

.philosophy-bg__img {
    object-fit: cover;
}

/* Bootstrap: сетка как Tailwind grid md:2 lg:4 + gap-lg */
.values-number-card__bs-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
}

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

@media (min-width: 1024px) {
    .values-number-card__bs-row {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.values-number-card__subtitle-max {
    max-width: 42rem;
}

.values-number-card__thumb {
    width: 4rem;
    height: 4rem;
}

.values-number-card__badge {
    top: -0.5rem;
    right: -0.5rem;
    width: 1.5rem;
    height: 1.5rem;
}

/* team v27 — alternating rows + morphing decor shapes */
.team-zigzag__scene {
  overflow: hidden;
}

.team-zigzag__morph {
  border-radius: 40% 60% 55% 45% / 50% 40% 60% 50%;
  transform-origin: center center;
  animation: team-zigzag-morph 11s ease-in-out infinite;
}

.team-zigzag__morph--a {
  animation-duration: 9s;
}

.team-zigzag__morph--b {
  animation-duration: 12s;
  animation-delay: 1.5s;
}

.team-zigzag__morph--c {
  animation-duration: 10s;
  animation-delay: 3s;
}

.team-zigzag__morph--d {
  animation-duration: 13s;
  animation-delay: 0.5s;
}

.team-zigzag__morph--e {
  animation-duration: 14s;
  animation-delay: 2s;
}

@keyframes team-zigzag-morph {
  0%,
  100% {
    border-radius: 40% 60% 55% 45% / 50% 40% 60% 50%;
    transform: scale(1) rotate(0deg);
  }
  33% {
    border-radius: 65% 35% 45% 55% / 42% 58% 38% 62%;
    transform: scale(1.06) rotate(4deg);
  }
  66% {
    border-radius: 52% 48% 62% 38% / 58% 42% 55% 45%;
    transform: scale(0.94) rotate(-3deg);
  }
}

/* Ambient layer — spin, float, pulse (distinct from morph blobs) */
.team-zigzag__ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.team-zigzag__orbit {
  transform-origin: center center;
  animation: team-zigzag-orbit-spin 22s linear infinite;
}

.team-zigzag__orbit--rev {
  animation-direction: reverse;
  animation-duration: 30s;
}

.team-zigzag__orbit--lg {
  width: 11rem;
  height: 11rem;
  animation-duration: 26s;
}

.team-zigzag__orbit--sm {
  width: 7rem;
  height: 7rem;
}

.team-zigzag__spark {
  animation: team-zigzag-spark-float 5.5s ease-in-out infinite;
}

.team-zigzag__spark--b {
  animation-delay: 0.8s;
  animation-duration: 4.5s;
}

.team-zigzag__spark--c {
  animation-delay: 1.6s;
  animation-duration: 6s;
}

.team-zigzag__prism {
  width: 2.5rem;
  height: 2.5rem;
  transform-origin: center center;
  animation: team-zigzag-prism-pulse 7s ease-in-out infinite;
}

.team-zigzag__sweep {
  transform-origin: center center;
  width: 8rem;
  height: 2px;
  animation: team-zigzag-sweep-drift 9s ease-in-out infinite;
}

.team-zigzag__sweep--alt {
  width: 6rem;
  animation-delay: 2s;
  animation-duration: 11s;
}

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

@keyframes team-zigzag-spark-float {
  0%,
  100% {
    transform: translateY(0) scale(1);
    opacity: 0.45;
  }
  50% {
    transform: translateY(-0.75rem) scale(1.35);
    opacity: 1;
  }
}

@keyframes team-zigzag-prism-pulse {
  0%,
  100% {
    transform: rotate(45deg) scale(1);
    opacity: 0.4;
  }
  50% {
    transform: rotate(52deg) scale(1.2);
    opacity: 0.85;
  }
}

@keyframes team-zigzag-sweep-drift {
  0%,
  100% {
    transform: rotate(-14deg) translateX(-0.5rem) scaleX(0.8);
    opacity: 0.2;
  }
  50% {
    transform: rotate(6deg) translateX(0.75rem) scaleX(1.15);
    opacity: 0.65;
  }
}

@media (prefers-reduced-motion: reduce) {
  .team-zigzag__morph,
  .team-zigzag__orbit,
  .team-zigzag__spark,
  .team-zigzag__prism,
  .team-zigzag__sweep {
    animation: none;
  }
}

.team-zigzag__portrait {
  width: 5.5rem;
  height: 5.5rem;
}

.team-zigzag__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.team-zigzag__min-shrink {
  min-width: 0;
}

.cta-smoke-hero__cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cta-smoke-hero__lines {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cta-smoke-hero__line-track {
  letter-spacing: 0.08em;
  line-height: 1;
}

.cta-smoke-hero__line--center {
  align-self: center;
  text-align: center;
}

.cta-smoke-hero__line--end {
  align-self: flex-end;
  text-align: end;
  margin-inline-end: 4%;
}

.cta-smoke-hero__line--start {
  align-self: flex-start;
  text-align: start;
  margin-inline-start: 4%;
}

.cta-smoke-hero__rule {
  height: 0;
}

.cta-smoke-hero__cta {
  transition: filter 0.2s ease, transform 0.15s ease;
}

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

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

.cta-smoke-hero__cta-icon {
  transition: transform 0.2s ease;
}

@media (min-width: 768px) {
  .cta-smoke-hero__lines {
    gap: 0.75rem;
  }

  .cta-smoke-hero__line--end {
    margin-inline-end: 10%;
  }

  .cta-smoke-hero__line--start {
    margin-inline-start: 10%;
  }
}

@media (max-width: 767px) {
  .cta-smoke-hero__line--end,
  .cta-smoke-hero__line--start {
    margin-inline: 0;
    align-self: center;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta-smoke-hero__cta:hover,
  .cta-smoke-hero__cta:focus-visible {
    transform: none;
  }

  .cta-smoke-hero__cta:hover .cta-smoke-hero__cta-icon,
  .cta-smoke-hero__cta:focus-visible .cta-smoke-hero__cta-icon {
    transform: none;
  }
}

