/* === MAIN =================== */
.mw-1400 {
    max-width: 1400px;
}

.mw-900 {
    max-width: 900px;
}

ul {
    list-style-type: none;
    padding-left: 0;
    font-size: 16px;
}


/* === GLOBAL BUTTON =================== */
.btn {
    display: inline-block;
    padding: 20px 28px;
    background: #f2f2f2;
    color: #333;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 16px;
    letter-spacing: .2px;
    font-weight: 500;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color .3s ease, color .3s ease;
}

.btn:hover {
    background: #e1e1e1;
}

.btn-group {
    display: flex;
    flex-wrap: wrap;
    column-gap: 10px;
    row-gap: 10px;
    justify-content: flex-start;
    margin-bottom: 24px;
}

.btn.disabled {
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.6;
}

/* === Адаптивная верстка для мобильных устройств ============== */
@media (max-width: 768px) {
    .mob_no {
        display: none
    }

    .btn {
        display: block;
        width: 100%;
        text-align: center;
    }

}




/* === TITLE ======================= */

#menu,
.global-title,
.prefix {
    font-size: 5.5rem;
    font-weight: 500;
    letter-spacing: -0.82px;
    line-height: 60.5px;
}

.big_title .title {
    padding-bottom: 170px;
}

.title h1,
.title h3,
.sprints h3 {
    font-size: 4.2rem;
    font-variant-numeric: slashed-zero;
    margin: 0;
}

.title .lead {
    font-size: 4.2rem;
    color: #949494;
    letter-spacing: -0.82px;
    line-height: 46.2px;
    margin-top: 0;
    margin-bottom: 3vh;
}

.title .lead-2 {
    font-size: 3.5rem;
    color: #949494;
    letter-spacing: -0.82px;
    line-height: 38px;
    margin-top: 0;
    margin-bottom: 3vh;
}

.small {
    font-size: 12px;
    letter-spacing: -0.2px;
}


/* ===========================
   TOP BLOCK
   =========================== */
.top {
    padding: 198px 0;
    max-width: 1570px;
}

@media (max-width: 768px) {
    .top {
        padding: 50px 0;
    }

    #menu,
    .global-title,
    .prefix {
        font-size: 24px;
        line-height: 28px;
        letter-spacing: -0.38px;
    }
    .title .lead {
        font-size: 20px;
        line-height: 24px;
    }
    .title h3, .sprints h3 {
        font-size: 28px;
        line-height: 32px;
    }

}

.mark {
    background-image: linear-gradient(transparent 60%, var(--ghost-accent-color) 0%);
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.overlay {
    position: absolute;
    top: 40vh;
    left: 1vw;
    margin: 0;
}

/* ===========================
   HERO BLOCK
   =========================== */
.hero {
    position: relative;
    width: 100%;
    height: 300vh;
    z-index: 2;
}

.hero__inner {
    position: sticky;
    top: 0;
    height: 100dvh;
    min-height: 100svh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: #fff;
    z-index: 0;
    --pad: 16px;
    --radius: 10px;
    --insetX: 16px;
    padding-left: var(--pad);
    padding-right: var(--pad);
    border-radius: var(--radius);
    clip-path: inset(0 var(--insetX) 0 var(--insetX) round var(--radius));
}

/* Фоновое видео */
.hero video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    will-change: transform, opacity;
    z-index: 0;
}

.hero__inner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .28);
    z-index: 1;
}


.hero__content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: .25em;
    padding: 0;
    opacity: 1;
    transform: none;
    transition: none;
}

.hero__content.show {
    opacity: 1;
    transform: none;
}

.hero__content.overlay {
    position: static;
    top: auto;
    left: auto;
    margin: 0;
}

.hero__content .prefix,
#menu {
    line-height: 1.05;
}

#bgVideo {
    transition: opacity .28s linear;
}

@media (max-width: 600px) {
    .hero__inner {
        --pad: 20px;
        --insetX: 20px;
    }
}

.hero__inner.fullwidth {
    width: 100%;
    margin: 0;
}

/* ===========================
   MENU (внутри hero__content)
   =========================== */

#menu {
    display: block;
    height: var(--li-h, 1em);
    margin: 0;
    padding: 0;
    list-style: none;
    user-select: none;
}

#menu li {
    transform: translateY(var(--offset, 0px));
    transition: transform .35s, opacity .3s;
    white-space: nowrap;
    opacity: .3;
    line-height: inherit;
    will-change: transform;
}

#menu li a {
    display: block;
    color: inherit;
    text-decoration: none;
    line-height: inherit;
}

#menu li.active {
    opacity: 1;
}

/* если нужно тонко «подсадить» меню вниз/вверх на 1–2px — включи nudge */
:root {
    --menu-nudge: 0px;
}

/* при необходимости поставь 1px или 2px */
#menu {
    transform: translateY(var(--menu-nudge));
}

@media (prefers-reduced-motion: reduce) {
    .hero video {
        display: none;
    }

    .hero__inner {
        background: #000 url(/content/images/2025/08/meditation-stress-poster.webp) center/cover no-repeat;
    }
}

/* === Адаптивная верстка для мобильных устройств ============== */
@media (max-width: 768px) {
    #menu {
        transition: none;
    }

    #menu li {
        transition: none;
    }

    .hero__inner {
        display: block;
        align-items: center;
        justify-content: center;
    }

    .hero__content {
        display: flex;
        flex-direction: column;
        gap: 15vh;
        align-items: flex-start;
        padding: 0vh 5vw;
        height: auto;
        text-align: left;
        justify-content: space-between;
    }

    .hero__content.overlay {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        margin: 0;
    }

    .prefix,
    #menu {
        font-size: clamp(22px, 7vw, 32px);
        line-height: 1.25;
        z-index: 2;
    }

    #menu {
        max-height: 40vh;
    }
}


/* === Кнопка внутри Hero ===================== */
.hero__button {
    position: absolute;
    bottom: 30px;
    left: 30px;
    z-index: 10;
    background-color: rgba(30, 30, 30, 0.2);
    color: #ffffff;
    padding: 18px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 16px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .4s, background-color .3s;
}

.hero__button.show {
    opacity: 1;
    pointer-events: auto;
}

.hero__button:hover {
    background-color: rgba(30, 30, 30, 0.7);
}


/* ===========================
   OFFER BLOCK
   =========================== */
.offer.global-padding {
    padding-top: 170px;
}

.user_wavica {
    margin: 18px 0;
}

.user_w {
    width: 84px;
    height: 84px;
    background: var(--ghost-accent-color);
    text-align: center;
    padding: 29px 0 0 5px;
    color: #fff;
    font-weight: 500;
    font-size: 18px;
    line-height: 15px;
}

.user_w i {
    font-style: normal;
    font-size: 12px;
}

.subscribe-section {
    margin-top: 70px;
}

.subscribe-form-caption {
    position: relative;
    color: #979796;
    opacity: 1;
}

.hero-review-box {
    margin-bottom: 60px;
}

.hero-review-box ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.hero-review-box ul li {
    display: inline-block;
    font-weight: 500;
    margin-right: 10px;
}

.hero-review-box ul li:last-child {
    margin: 0;
}

.hero-review-box ul li img {
    max-width: 20px;
}

.hero-review-box ul li i {
    color: var(--accent-color);
}

/* === Адаптивная верстка для мобильных устройств ============== */
@media (max-width: 768px) {
    .offer.global-padding {
        padding-top: 70px;
    }
}

    
/* ===========================
   PERSONAL ASSISTANT BLOCK
   =========================== */
.personal-assistant.global-padding {
    padding-top: 170px;
    background: #fff;
    overflow: hidden;
}

.personal-assistant__text>* {
    margin: 0 0 3vh 0;
}

.personal-assistant__text>*:last-child {
    margin: 3vh 0 0;
}

.block__footer {
    padding: 0;
}

.personal-assistant__container {
    display: flex;
    max-width: 100%;
}

.personal-assistant__text {
    flex: 1;
    padding-right: 5vw;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.personal-assistant__text p:last-child {
    margin: 0;
}

.personal-assistant__video-container {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.personal-assistant__video {
    flex: 1;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.personal-assistant__video video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.personal-assistant__video::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    z-index: 2;
}

.personal-assistant__overlay,
.sprint-video__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.personal-assistant__overlay img {
    width: 25%;
    z-index: 3;
}

.personal-assistant__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    color: #333;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.personal-assistant__link:hover {
    color: #666;
}

.personal-assistant__link svg {
    transition: transform 0.3s ease;
}

.personal-assistant__link:hover svg {
    transform: translateX(4px);
}

.personal-assistant__actions {
    order: 2;
    align-self: flex-start;
    grid-column: 1;
    grid-row: 2;
    display: flex;
    flex-wrap: wrap;
    column-gap: 10px;
}

.kg-cta-text em {
    font-style: normal;
    color: #666;
    margin-right: 16px;
}

.kg-cta-bg-grey {
    background-color: #f5f5f5;
}

.kg-cta-text p,
.block-content .kg-cta-text ul {
    color: #000;
    font-feature-settings: normal;
    font-variant-numeric: slashed-zero;
    font-variation-settings: normal;
    font-weight: 400;
    letter-spacing: 0.064px;
    line-height: 140%;
    margin-top: 15px;
}

.kg-cta-text li {
    margin-top: 10px;
}

.kg-cta-text strong {
    padding: 20px 0;
    display: block;
}

.kg-cta-text strong:first-of-type {
    margin-top: 0;
}


/* === Адаптивная верстка для Personal Assistant ==================== */

@media (max-width: 768px) {
    .personal-assistant__container {
        display: flex;
        flex-direction: column;
    }

    .personal-assistant.global-padding {
        padding-top: 80px;
    }

    .personal-assistant__video-container {
        order: 2;
    }

    .personal-assistant__actions {
        order: 3;
        padding: 0;
    }
    .personal-assistant__text .title{
        margin: 0 0 20px;
    }

    .block__footer {
        padding: 10px 0;
    }

    .personal-assistant {
        height: auto;
        min-height: 65vh;
    }

    .personal-assistant__container {
        flex-direction: column;
    }

    .personal-assistant__text {
        padding: 0vw;
    }

    .personal-assistant__video {
        flex: none;
        height: 40vh;
        margin: 30px 0;
        width: 100%;
    }

    .kg-cta-text p {
        font-size: 16px;
        padding-top: 10px;
    }
    .personal-assistant__text>*:last-child {
        margin:0;
        width: 100%;
    }
}

@media (max-width: 600px) {
    .kg-cta-sponsor-label-wrapper {
        margin: 0!important;
    }
    .kg-cta-content {
        padding: 0!important;
    }
}


/* ===========================
   GALLERY BLOCK
   =========================== */

.gallery {
    padding-top: 170px;
    background: #fff;
    overflow: hidden;
}

.gallery_block {
    padding: 0;
}

.gallery__row {
    white-space: nowrap;
    margin-bottom: 15px;
}

.gallery__track {
    display: inline-flex;
    will-change: transform;
}

.gallery__track img {
    width: 260px;
    height: auto;
    margin-right: 20px;
    border-radius: 10px;
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery__track img:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.gallery .btn-group {
    margin-top: 50px;
}

/* === Адаптивная верстка для Personal Assistant ==================== */
@media (max-width: 768px) {
    .gallery {
        padding-top: 70px;
    }
}


/* ===========================
   SPRINT CARD BLOCK
   =========================== */
.sprints {
    padding-top: 170px;
    background: #fff;
}

.sprints__container {
    display: flex;
    flex-direction: column;
    gap: 4vh;
    margin: 80px auto 0;
    padding: 120px;
    background: #f8f9fa;
    border-radius: 10px;
}

.sprint-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    border: 1px solid #e0e0e0;
}

.sprint-card--three-columns {
    display: grid;
    grid-template-columns: 1fr 230px 1fr;
    grid-template-rows: auto auto;
}

.sprint-card__content {
    padding: 2vw 4vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sprint-card--bg-image {
    position: relative;
    overflow: hidden;
}

.sprint-card__bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.sprint-card__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4vw;
    color: #fff;
    font-family: Helvetica, Arial, sans-serif;
    z-index: 2;
}

.sprint-card__overlay::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    z-index: -1;
}

.sprint-card_pre {
    font-size: 14px;
    text-transform: uppercase;
    font-variant-numeric: slashed-zero;
    line-height: 24px;
    margin: 0;
}

.sprints.cta h3 {
    font-size: 4.2rem;
    font-variant-numeric: slashed-zero;
    margin: 10px 0;
    line-height: 44px;
}

.sprint-card__overlay h3 {
    color: #fff;
}

.sprint-card__author {
    font-family: Helvetica, Arial, sans-serif;
    font-size: 14px;
    color: #9b9b9b;
    margin: 0 0 16px 0;
    font-weight: 500;
}

.sprint-card__overlay .sprint-card__author {
    color: rgba(255, 255, 255, 0.8);
}

.sprint-card__description {
    color: #666;
    margin: 40px 0;
    font-variant-numeric: slashed-zero;
    flex: 1;
    font-size: 16px;
}

.sprint-card__overlay .sprint-card__description {
    color: rgba(255, 255, 255, 0.9);
}

.sprint-card__button {
    display: inline-block;
    padding: 12px 24px;
    background: #f5f5f5;
    color: #333;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    transition: background-color 0.3s ease;
    align-self: flex-start;
}

.sprint-card__button:hover {
    background: #e8e8e8;
}

.sprint-card__overlay .sprint-card__button {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.sprint-card__overlay .sprint-card__button:hover {
    background: rgba(255, 255, 255, 0.3);
}

.sprint-card__media {
    flex: 1;
    overflow: hidden;
}

.sprint-card__media-item {
    overflow: hidden;
    position: relative;
}

.sprint-card__media img,
.sprint-card__media video,
.sprint-card__media-item img,
.sprint-card__media-item video,
.sprint-card__media-item img,
.sprint-card__media-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sprint-card__content {
    order: 1;
}

.sprint-card__actions {
    order: 2;
    align-self: flex-start;
    grid-column: 1;
    grid-row: 2;
    padding: 0 4vw;
    display: flex;
    flex-wrap: wrap;
    column-gap: 10px;
    row-gap: 0;
    align-items: center;
}

.sprint-card__actions p {
    display: inline-block;
    font-size: 13px;
    color: #898989;
    margin: 0;
}

.sprint-card__media-item.caption {
    order: 3;
    grid-column: 2;
    grid-row: 1/3;
}

.sprint-card__media-item:not(.caption) {
    order: 4;
    grid-column: 3;
    grid-row: 1/3;
}

.sprint-video__text {
    font-size: 6rem;
    font-weight: 900;
    color: #ffffffbf;
    line-height: 40px;
}

.sprint-video__text span {
    display: block;
    font-size: 1.8rem;
    font-weight: 300;
    text-transform: uppercase;
    text-align: right;
}

.sprint-video__text-cta {
    font-size: 8rem;
    color: #ffffffbf;
    line-height: 52px;
    text-transform: uppercase;
}

.sprint-video__text-cta span {
    display: block;
    font-size: 1.8rem;
    font-weight: 300;
    text-align: center;
}

/* === Адаптивная верстка для Sprints ====== */
@media (max-width: 768px) {
    .sprints {
        padding: 70px 0 0;
    }

    .sprints__container {
        margin: 50px auto 0;
        padding: 0px;
        background: none;
        gap: 6vh;
    }

    .sprint-card {
        display: flex;
        border: none;
        border-radius: 0;
        flex-direction: column;
        height: auto;
        min-height: 60vh;
    }

    .sprint-card__description {
        margin: 15px 0;
    }

    .sprint-card--three-columns {
        display: flex !important;
        flex-direction: column;
        grid-template-columns: none !important;
    }

    .sprint-card__content {
        order: 1;
        padding: 0;
    }

    .sprint-card__media-item:not(.caption) {
        order: 2;
        border-radius: 10px;
    }

    .sprint-card__actions {
        order: 3;
        padding: 0;
        column-gap: 10px;
        row-gap: 0;
        margin-top: 20px;
        width: 100%;
    }

    .sprint-card__actions p{
        padding-top: 10px;
    }


    .sprint-card__media {
        height: auto;
    }

    .sprint-card__media-item {
        flex: none;
        height: 40vh;
    }

    .sprint-card__media-item.caption {
        display: none;
    }

    .sprint-card__media-item video {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* убираем дополнительный верхний отступ у видео-блока, когда перед ним скрыт img */
    .sprint-card__media-item:first-of-type+.sprint-card__media-item {
        margin-top: 0;
    }
}

/* ===========================
   LIBRARY BLOCK
   =========================== */

.library {
    padding-top: 170px;
    background: #fff;
    width: 100%;
}

.library__container {
    display: flex;
    height: 100%;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
}

.library__description {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-right: 4vw;
}

.library__description h2 {
    font-family: Helvetica, Arial, sans-serif;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    color: #333;
    margin: 0 0 24px 0;
    line-height: 1.2;
}

.library__description p {
    font-family: Helvetica, Arial, sans-serif;
    font-size: clamp(16px, 1.5vw, 18px);
    line-height: 1.6;
    color: #666;
    margin: 0 0 20px 0;
}

.library__description p:last-child {
    margin-bottom: 0;
}

.library__content {
    flex: 1;
    background: #f8f9fa;
    padding: 4vw 6vw;
    display: flex;
    flex-direction: column;
    max-height: 500px;
    min-height: 200px;
}

.library__content h3 {
    font-size: 3.8rem;
    margin: 0 0 20px 0;
}

.library__scroll-content {
    flex: 1;
    overflow-y: auto;
    padding: 40px;
    min-height: 0;
    background-color: #fff;
    border-radius: 10px;
}

.library__scroll-content::-webkit-scrollbar {
    width: 6px;
}

.library__scroll-content::-webkit-scrollbar-track {
    background: #e0e0e0;
    border-radius: 10px;
}

.library__scroll-content::-webkit-scrollbar-thumb {
    background: #999;
    border-radius: 10px;
}

.library__item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.library__item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.library__item h4 {
    font-size: 16px;
    font-weight: 500;
    margin: 0 0 8px 0;
}

.library__item a{
    text-decoration: underline;
}

.library__item p {
    font-size: 14px;
    line-height: 1.4;
    color: #666;
    margin: 0;
}


.library__description {
    grid-column: 1;
    grid-row: 1;
}

.library__actions {
    display: none !important;
    grid-column: 1;
    grid-row: 2;
    display: flex;
    flex-wrap: wrap;
    column-gap: 10px;
    align-self: flex-start;
}

.library__content {
    grid-column: 2;
    grid-row: 1/3;
    border-radius: 10px;
}


/* === Адаптивная верстка для Library =========== */
@media (max-width: 768px) {
    .library {
        padding-top: 70px;
    }

    .library__container {
        display: flex;
        flex-direction: column;
    }

    .library__description {
        padding: 0;
    }

    .library__content {
        flex: none;
        order: 2;
        padding: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        background: none;
    }
    
    .library__content h3 {
        font-size: 20px;
        padding: 20px 0;
    }

    .library__scroll-content {
        padding: 0px;
    }


    .library__actions {
        display: none !important;
        order: 3;
        padding: 0;
        margin-top: 20px;
    }  
}

/* ===========================
   COMMUNITY BLOCK
   =========================== */

.community {
    padding-top: 170px;
    height: 96vh;
    background: #fff;
    overflow: hidden;
}

.community__container {
    display: flex;
    height: 100%;
    width: 100%;
}

.community__image-left,
.community__image-right {
    flex: 1;
    overflow: hidden;
}

.community__image-left img,
.community__image-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.community__content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5vw;
}

.community__image-mobile {
    display: none;
    width: 100%;
    margin-bottom: 24px;
}

.community__image-mobile img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.community__text {
    max-width: 600px;
}


.community__button {
    display: inline-block;
    padding: 12px 24px;
    background: #fff;
    color: #6b46c1;
    border: 2px solid #6b46c1;
    border-radius: 6px;
    text-decoration: none;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
}

.community__button:hover {
    background: #6b46c1;
    color: #fff;
}

.cta .sprint-card__description {
    margin: 10px 0;
}

/* Community alignment (desktop) */
@media (min-width: 769px) {

    .community__image-left,
    .community__image-right {
        display: flex;
        align-items: center;
    }

    .community__image-left {
        justify-content: flex-end;
    }

    .community__image-right {
        justify-content: flex-start;
    }

    .community__image-left img,
    .community__image-right img {
        width: auto;
        height: 100%;
        object-fit: cover;
    }
}

/* === Адаптивная верстка для Community ============ */
@media (max-width: 768px) {
    .community {
        height: auto;
        padding-top: 70px;
    }

    .community__container {
        flex-direction: column;
    }

    .community__image-left,
    .community__image-right {
        display: none;
    }

    .community__image-mobile {
        display: block;
    }

    .community__content {
        flex-direction: column;
        padding: 4vw;
        align-items: center;
        text-align: center;
    }

    .community__text p {
        font-size: 18px;
    }
    .cta .sprints__container {
        margin: 0 auto;
    }

    .sprints.cta h3 {
        font-size: 28px;
        margin: 0;
        line-height: 32px;
    }
}






/* ===========================
   REVIEWS BLOCK
   =========================== */
.testimonials {
    background: #fff;
    margin: 0;
    height: 98vh;
    overflow: hidden;
    box-sizing: border-box;
}

.testimonial-fade {
    position: relative;
    overflow: hidden;
    height: 100%;
}

.testimonial-columns {
    display: flex;
    gap: 24px;
    height: 100%;
    min-height: 0;
    visibility: visible;
}

.testimonial-column {
    flex: 0 0 auto;
    width: var(--colw);
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    will-change: transform;
}

@media (max-width:900px) {
    .testimonial-columns {
        gap: 16px;
    }
}

#testimonial-source {
    display: none;
}

.testimonial-stack {
    will-change: transform;
}

/* === Карточки =========== */
.tcard {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    padding: 32px 32px 28px;
    margin-bottom: 20px;
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    background: linear-gradient(#fff 0%, #f9f9f9 100%);
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    overflow: hidden;
    transition: transform .35s ease, box-shadow .35s ease;
}

.tcard>* {
    position: relative;
    z-index: 2;
}

.tcard:not(.tcard--photo)::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #f5faff 0%, #e6f4ff 100%);
    opacity: 0;
    transition: opacity .35s ease;
    z-index: 1;
    pointer-events: none;
}

.tcard:not(.tcard--photo):hover::after {
    opacity: 1;
}

.tcard__text {
    font-size: 15px;
    line-height: 1.42;
    color: #333;
    margin: 0 0 26px;
}

.tcard__author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.tcard__author img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.tcard__meta {
    display: flex;
    flex-direction: column;
}

.tcard__name {
    font-size: 15px;
    font-weight: 500;
    color: #333;
}

.tcard__role {
    font-size: 15px;
    color: #9b9b9b;
    margin-top: 2px;
}

/* Фото-карточка */
.tcard--photo {
    border: none;
    padding: 0;
    background: none;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 550px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: 10px;
}

.tcard--photo::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(3, 14, 36, .85) 0%, transparent 60%);
    z-index: 1;
    pointer-events: none;
}

.tcard__caption {
    padding: 28px 32px 32px;
}

.tcard__quote {
    margin: 0 0 12px;
    font-size: 20px;
    font-weight: 600;
}

.tcard__credit {
    margin: 0;
    font-size: 16px;
    opacity: .9;
}

.tcard--photo::after {
    display: none !important;
}

/* === Чёткое разделение режимов =============== */
@media (min-width:769px) {
    .testimonial-columns {
        display: flex !important;
    }

    .t-hrow {
        display: none !important;
    }
}

/* === Мобайл: горизонтальная дорожка =================== */
@media (max-width:768px) {
    .testimonials {
        height: auto;
        padding: 4vh 0;
    }

    .testimonial-columns {
        display: none !important;
    }

    .t-hrow {
        --trow-h: 500px;
        height: var(--trow-h);
        overflow: hidden;
    }

    .t-htrack {
        display: flex;
        gap: 16px;
        align-items: stretch;
        will-change: transform;
    }

    .t-htrack .tcard {
        flex: 0 0 auto;
        width: 82vw;
        max-width: 420px;
        height: var(--trow-h);
    }

    .t-htrack .tcard--photo {
        min-height: 0;
        height: var(--trow-h);
    }

    .testimonials,
    .testimonials * {
        user-select: none;
        -webkit-user-select: none;
        -webkit-tap-highlight-color: transparent;
    }
}