/* intro v29 — Rolls-Royce thread: circle-expand reveal, half-ring, chat alignment, dual-layer parallax */

.intro-thread { min-height: 88vh; }

/* Clip-path circle expand from centre on load */
.intro-thread__reveal {
    animation: intro-thread-expand 900ms ease forwards;
}
@keyframes intro-thread-expand {
    from { clip-path: circle(0% at 50% 50%); }
    to   { clip-path: circle(150% at 50% 50%); }
}

/* Half-ring at the boundary (fixed size — no BS w-N/h-N utility) */
.intro-thread__half {
    width: 16rem;
    height: 8rem;
    opacity: 0.7;
    filter: blur(2px);
}
.intro-thread__sun { width: 6rem; height: 6rem; }
.intro-thread [data-msg] { max-width: 28rem; }

/* Dual-layer parallax offset (set by JS via custom props) */
.intro-thread__island [data-layer] {
    transition: transform 200ms ease-out;
    transform: translate(var(--px, 0), var(--py, 0));
}

/* Chat thread alternate alignment + retro corner tails */
.intro-thread [data-msg] { border-bottom-left-radius: 0.25rem; }
.intro-thread [data-msg]:nth-child(even) {
    margin-left: auto;
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 0.25rem;
}

@media (prefers-reduced-motion: reduce) {
    .intro-thread__reveal { animation: none; }
    .intro-thread__island [data-layer] { transition: none; }
}

.intro-cta-hover {
    transition: transform 0.3s ease;
}

.intro-cta-hover:hover {
    transform: scale(1.05);
}

.intro-star-offset {
    top: -0.5rem;
    right: -0.5rem;
}

.intro-bulb-offset {
    bottom: -0.5rem;
    left: -0.5rem;
}

.intro-sq-8  { width: 2rem;    height: 2rem;    flex-shrink: 0; }
.intro-sq-10 { width: 2.5rem;  height: 2.5rem;  flex-shrink: 0; }
.intro-sq-12 { width: 3rem;    height: 3rem;    flex-shrink: 0; }
.intro-sq-20 { width: 5rem;    height: 5rem;    flex-shrink: 0; }

/* 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 v28 — neon mosaic tiles + diagonal brand marquees */
.team-mosaic__diag-scene {
  overflow: hidden;
}

.team-mosaic__diag-strip {
  position: absolute;
  left: -25%;
  width: 150%;
  overflow: hidden;
  pointer-events: none;
}

.team-mosaic__diag-strip--a {
  top: 12%;
  transform: rotate(-14deg);
}

.team-mosaic__diag-strip--b {
  top: 36%;
  transform: rotate(10deg);
}

.team-mosaic__diag-strip--c {
  top: 58%;
  transform: rotate(-8deg);
}

.team-mosaic__diag-strip--d {
  top: 78%;
  transform: rotate(16deg);
}

.team-mosaic__diag-rail {
  display: inline-flex;
  will-change: transform;
}

.team-mosaic__diag-strip--a .team-mosaic__diag-rail {
  animation: team-mosaic-diag-run 38s linear infinite;
}

.team-mosaic__diag-strip--b .team-mosaic__diag-rail {
  animation: team-mosaic-diag-run-rev 32s linear infinite;
}

.team-mosaic__diag-strip--c .team-mosaic__diag-rail {
  animation: team-mosaic-diag-run 44s linear infinite;
  animation-delay: 4s;
}

.team-mosaic__diag-strip--d .team-mosaic__diag-rail {
  animation: team-mosaic-diag-run-rev 36s linear infinite;
  animation-delay: 2s;
}

.team-mosaic__diag-chunk {
  font-size: clamp(1.75rem, 5vw, 3.25rem);
  line-height: 1;
  flex-shrink: 0;
}

@keyframes team-mosaic-diag-run {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes team-mosaic-diag-run-rev {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}

.team-mosaic__item {
  position: relative;
  aspect-ratio: 1;
  min-width: 0;
}

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

.team-mosaic__shade {
  pointer-events: none;
}

.team-mosaic__glow {
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(45deg, var(--bs-primary), transparent, var(--bs-primary));
  opacity: 0;
  z-index: 0;
  transition: opacity 300ms ease;
  pointer-events: none;
}

.team-mosaic__item:hover .team-mosaic__glow {
  opacity: 0.35;
  filter: blur(8px);
}

@media (prefers-reduced-motion: reduce) {
  .team-mosaic__diag-rail {
    animation: none;
  }
}

.quote-card-shadow {
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

.quote-item-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.quote-item-hover:hover {
  transform: scale(1.05);
}

