.hero-v22-media {
    min-height: 18rem;
}

.hero-v22-kicker {
    letter-spacing: 0.2em;
}

/* -- 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);
}
.timeline-emblem {
    width: 5rem;
    height: 5rem;
}

.timeline-spark {
    width: 0.75rem;
    height: 0.75rem;
}

.timeline-cloud-left {
    width: 16rem;
    height: 16rem;
}

.timeline-cloud-right {
    width: 20rem;
    height: 20rem;
    animation-delay: 1s;
}

.timeline-cloud-center {
    width: 24rem;
    height: 24rem;
    animation-delay: 2s;
}

.timeline-outline-square {
    width: 5rem;
    height: 5rem;
    animation-duration: 3s;
}

.timeline-outline-orb {
    width: 4rem;
    height: 4rem;
    animation-duration: 4s;
    animation-delay: 1s;
}

.timeline-halo-start {
    width: 8rem;
    height: 8rem;
    animation-duration: 20s;
}

.timeline-halo-end {
    width: 10rem;
    height: 10rem;
    animation-duration: 25s;
    animation-direction: reverse;
}

.timeline-spark-side {
    animation-delay: 0.5s;
}

.timeline-spark-center {
    animation-delay: 1s;
}

.timeline-cloud-left,
.timeline-cloud-right,
.timeline-cloud-center {
    animation-name: timeline-cloud__pulse;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

.timeline-outline-square,
.timeline-outline-orb {
    animation-name: timeline-outline__bounce;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

.timeline-halo-start,
.timeline-halo-end {
    animation-name: timeline-halo__spin;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.timeline-spark-top,
.timeline-spark-side,
.timeline-spark-center {
    animation-name: timeline-spark__ping;
    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    animation-iteration-count: infinite;
}

@keyframes timeline-cloud__pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes timeline-outline__bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-25%); }
}

@keyframes timeline-halo__spin {
    to { transform: rotate(360deg); }
}

@keyframes timeline-spark__ping {
    0% { transform: scale(1); opacity: 1; }
    75%, 100% { transform: scale(2); opacity: 0; }
}

/* team v19 — masonry with corner dots */
.team-masonry__media {
  height: 16rem;
}

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

.team-masonry__card-accent {
  width: 0.25rem;
  z-index: 1;
}

.team-masonry__decor {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  opacity: 0.08;
  pointer-events: none;
}

.team-masonry__decor--top-left {
  top: -40px;
  left: -40px;
  background-color: currentColor;
}

.team-masonry__decor--bottom-right {
  bottom: -40px;
  right: -40px;
  background-color: currentColor;
}

@media (max-width: 768px) {
  .team-masonry__decor {
    width: 80px;
    height: 80px;
  }
}

/* Bootstrap: явный gap между карточками (row + row-cols часто без горизонтального gutter) */
.values-icon-grid__bs-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
}

.values-icon-grid__subtitle {
    max-width: 42rem;
}

.values-icon-grid__thumb {
    width: 4rem;
    height: 4rem;
}

