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

.hero-v30-quote-mark {
    position: absolute;
    z-index: 0;
    font-size: clamp(12rem, 25vw, 22rem);
    line-height: 0.75;
    opacity: 0.7;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.hero-v30-block {
    position: relative;
    z-index: 1;
    max-width: 48rem;
}

.hero-v30-divider {
    max-width: 20rem;
}

/* Размер звёзд (иконки не растягиваются в flex) */
.hero-v30-star {
    font-size: 0.875rem;
    line-height: 1;
    flex-shrink: 0;
}

@media (min-width: 576px) {
    .hero-v30-cta:hover {
        transform: scale(1.05);
    }
}

.hero-v30-cta {
    transition: transform 150ms ease;
}

.hero-v30-cta-icon {
    line-height: 1;
}

/* -- 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);
}
/* ethos-mosaic — layout, sizes and motion only (colours live in the template) */

.ethos-mosaic__eyebrow {
    letter-spacing: 0.2em;
}

.ethos-mosaic__statement,
.ethos-mosaic__figure {
    letter-spacing: -0.03em;
}

.ethos-mosaic__micro {
    font-size: 0.75rem;
    line-height: 1rem;
}

.ethos-mosaic__photo {
    aspect-ratio: 16 / 9;
}

.ethos-mosaic__img {
    position: absolute;
    inset: 0;
    object-fit: cover;
}

.ethos-mosaic__card {
    min-height: 13rem;
}

.ethos-mosaic__dot {
    width: 0.375rem;
    height: 0.375rem;
}

.ethos-mosaic__rule {
    border-top-style: dashed;
}

/* abstract looping donut — decorative only */
.ethos-mosaic__ring {
    max-width: 9rem;
    overflow: visible;
}

.ethos-mosaic__arc {
    transform: rotate(-90deg);
    transform-box: fill-box;
    transform-origin: center;
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: ethos-mosaic-sweep 5s ease-in-out infinite;
}

.ethos-mosaic__orbit {
    transform-box: fill-box;
    transform-origin: center;
    animation: ethos-mosaic-spin 14s linear infinite;
}

.ethos-mosaic__core {
    transform-box: fill-box;
    transform-origin: center;
    animation: ethos-mosaic-beat 5s ease-in-out infinite;
}

@keyframes ethos-mosaic-sweep {
    0% { stroke-dashoffset: 100; opacity: 1; }
    60% { stroke-dashoffset: 22; opacity: 1; }
    82% { stroke-dashoffset: 22; opacity: 1; }
    95% { stroke-dashoffset: 22; opacity: 0; }
    100% { stroke-dashoffset: 100; opacity: 0; }
}

@keyframes ethos-mosaic-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes ethos-mosaic-beat {
    0%, 55% { transform: scale(1); }
    65% { transform: scale(1.6); }
    80%, 100% { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
    .ethos-mosaic__arc,
    .ethos-mosaic__orbit,
    .ethos-mosaic__core {
        animation: none;
    }

    .ethos-mosaic__arc { stroke-dashoffset: 22; }
}

@media (min-width: 768px) {
    .ethos-mosaic__card {
        min-height: 17rem;
    }

    .ethos-mosaic__ring {
        max-width: 11rem;
    }
}

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

.ethos-chat__dots {
    background-image: radial-gradient(currentColor 1.5px, transparent 1.5px);
    background-size: 22px 22px;
}

.ethos-chat__blob {
    width: 18rem;
    height: 18rem;
    filter: blur(48px);
}

.ethos-chat__group {
    max-width: 42rem;
}

.ethos-chat__avatar {
    width: 3rem;
    height: 3rem;
}

.ethos-chat__row:nth-child(even) {
    flex-direction: row-reverse;
}

.ethos-chat__row:nth-child(even) .ethos-chat__bubble {
    text-align: right;
}

/* team v23 — bento tiles */
.team-bento__item {
  position: relative;
  min-height: 15.625rem;
  height: 100%;
}

.team-bento__item--large {
  min-height: 21.875rem;
}

.team-bento__img {
  object-fit: cover;
  object-position: center;
}

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

.team-bento__blob {
  position: absolute;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
}

.team-bento__blob--1 {
  width: 18rem;
  height: 18rem;
  top: -4rem;
  left: -4rem;
  background: var(--bs-primary);
  animation: team-bento-blob-morph 8s infinite;
}

.team-bento__blob--2 {
  width: 14rem;
  height: 14rem;
  bottom: -3rem;
  right: -3rem;
  background: var(--bs-primary);
  animation: team-bento-blob-morph 10s infinite 2s;
}

@keyframes team-bento-blob-morph {
  0%, 100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
  50% { border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; }
}

@media (min-width: 992px) {
  .team-bento__item--large {
    min-height: 21.875rem;
  }
}


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

