.about-overview-v4__media {
    min-width: 0;
    overflow: hidden;
}

.overview-image-hover {
    width: 100%;
    max-width: 100%;
    height: auto;
    vertical-align: middle;
    transition: transform 0.3s ease;
}

.overview-image-hover:hover {
    transform: scale(1.05);
}

/* 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 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: 11rem;
  height: 11rem;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 50%;
}

@media (min-width: 768px) {
  .team-timeline__avatar {
    width: 14rem;
    height: 14rem;
  }
}

.team-timeline__panel--end {
  text-align: center;
}

@media (min-width: 768px) {
  .team-timeline__photo--end {
    justify-content: flex-end;
  }

  .team-timeline__photo--start {
    justify-content: flex-start;
  }

  .team-timeline__panel--end {
    text-align: right;
  }

  .team-timeline__panel--end .team-timeline__pill {
    margin-left: auto;
  }

  .team-timeline__panel--end .team-timeline__tags-row {
    justify-content: flex-end;
  }
}

.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;
}

@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;
  }
}

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

/* whyus v18 — overlap-duo cardless benefits table, mountain motif, art-deco ornament */

/* ---------- overlap-duo illustration block ---------- */
.whyus-summit__media {
    aspect-ratio: 4 / 5;
    min-height: 20rem;
}

@media (min-width: 1024px) {
    .whyus-summit__media {
        aspect-ratio: 3 / 4;
    }
}

/* flat mountain-range silhouette clipped into the top edge of the illustration */
.whyus-summit__mountain {
    clip-path: polygon(
        0% 18%, 12% 9%, 22% 16%, 34% 4%, 46% 14%, 58% 6%,
        70% 15%, 82% 8%, 100% 17%, 100% 100%, 0% 100%
    );
}

.whyus-summit__caption {
    max-width: 80%;
}

/* ---------- bordered text/table panel ---------- */
.whyus-summit__border-frame {
    overflow: hidden;
    backdrop-filter: blur(12px);
}

/* animated shimmering border overlay — color comes from the Tailwind gradient
   classes in the template; this rule only animates position/opacity */
.whyus-summit__shimmer {
    background-size: 220% 100%;
    background-position: 0% 0%;
    animation: whyus-summit-shimmer 7s linear infinite;
    animation-delay: 0.6s;
}

@keyframes whyus-summit-shimmer {
    0% {
        background-position: 0% 0%;
        opacity: 0.2;
    }
    50% {
        background-position: 100% 0%;
        opacity: 0.4;
    }
    100% {
        background-position: 220% 0%;
        opacity: 0.2;
    }
}

/* content-first reveal: heading/subtitle/table animate immediately,
   decorative elements (fireflies, chevrons, sunburst) animate slightly after */
.whyus-summit__anim-content {
    animation: whyus-summit-fade-up 0.7s ease-out both;
}

@keyframes whyus-summit-fade-up {
    from {
        opacity: 0;
        transform: translateY(1rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- art-deco geometric ornament ---------- */
.whyus-summit__sunburst {
    top: -4rem;
    right: -4rem;
    width: 22rem;
    height: 22rem;
    animation: whyus-summit-fade-up 1s ease-out both;
    animation-delay: 0.5s;
}

.whyus-summit__chevron {
    width: 3.5rem;
    height: 1.25rem;
    clip-path: polygon(0% 0%, 50% 100%, 100% 0%, 100% 40%, 50% 100%, 0% 40%);
    animation: whyus-summit-fade-up 1s ease-out both;
    animation-delay: 0.55s;
}

.whyus-summit__chevron--top {
    top: 1.5rem;
    left: 2rem;
}

.whyus-summit__chevron--bottom {
    bottom: 1.5rem;
    right: 2rem;
    transform: rotate(180deg);
}

/* ---------- fireflies: soft blinking, drifting dots ---------- */
.whyus-summit__fireflies {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.whyus-summit__firefly {
    width: 0.5rem;
    height: 0.5rem;
    animation-name: whyus-summit-firefly;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-delay: 0.8s;
}

.whyus-summit__firefly--1 { top: 12%; left: 8%; width: 0.375rem; height: 0.375rem; animation-duration: 5.5s; animation-delay: 0.8s; }
.whyus-summit__firefly--2 { top: 28%; left: 42%; width: 0.5rem; height: 0.5rem; animation-duration: 6.5s; animation-delay: 1.4s; }
.whyus-summit__firefly--3 { top: 62%; left: 18%; width: 0.3125rem; height: 0.3125rem; animation-duration: 7s; animation-delay: 1s; }
.whyus-summit__firefly--4 { top: 74%; left: 55%; width: 0.5rem; height: 0.5rem; animation-duration: 5.8s; animation-delay: 1.8s; }
.whyus-summit__firefly--5 { top: 20%; left: 82%; width: 0.375rem; height: 0.375rem; animation-duration: 6.2s; animation-delay: 1.2s; }
.whyus-summit__firefly--6 { top: 85%; left: 88%; width: 0.4375rem; height: 0.4375rem; animation-duration: 6.8s; animation-delay: 2s; }

@keyframes whyus-summit-firefly {
    0%, 100% {
        opacity: 0.15;
        transform: translate(0, 0);
    }
    35% {
        opacity: 0.85;
        transform: translate(0.4rem, -0.6rem);
    }
    65% {
        opacity: 0.4;
        transform: translate(-0.3rem, 0.3rem);
    }
}

/* ---------- checkbox-hack view toggle (CSS-only, no script.js) ---------- */
.whyus-summit__toggle-btn {
    opacity: 0.55;
    transition: opacity 200ms ease;
}

.whyus-summit__toggle-btn--list {
    opacity: 1;
}

.whyus-summit__toggle-input:checked ~ .whyus-summit__toggle .whyus-summit__toggle-btn--list {
    opacity: 0.55;
}

.whyus-summit__toggle-input:checked ~ .whyus-summit__toggle .whyus-summit__toggle-btn--grid {
    opacity: 1;
}

/* default (unchecked) = list-like single-column flow: the table renders as normal rows */

/* checked = grid-like compact 2-column arrangement */
.whyus-summit__toggle-input:checked ~ .whyus-summit__table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.whyus-summit__toggle-input:checked ~ .whyus-summit__table tbody {
    display: block;
    column-count: 2;
    column-gap: 2rem;
}

.whyus-summit__toggle-input:checked ~ .whyus-summit__table tr.whyus-summit__row {
    display: block;
    break-inside: avoid;
    margin-bottom: 1.5rem;
}

.whyus-summit__toggle-input:checked ~ .whyus-summit__table tr.whyus-summit__row td {
    display: block;
    width: 100%;
    padding-right: 0;
}

.whyus-summit__toggle-input:checked ~ .whyus-summit__table tfoot {
    column-span: all;
}

@media (max-width: 639px) {
    .whyus-summit__toggle-input:checked ~ .whyus-summit__table tbody {
        column-count: 1;
    }
}


.prompt-beacon__section {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.prompt-beacon__appeal--shift:hover { transform: scale(1.05); transition: transform .2s ease; }

.prompt-beacon__sheet--haze { backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }

