.container {
    max-width: 1400px; /* Было 1200px, сделали шире */
    margin: 0 auto;
    padding: 0 20px;
}

.vks-section {
    padding: 60px 0;
    background-color: #f4f6f9;
    font-family: inherit;
}
.vks-container {
    max-width: 1400px; /* Было 1200px, сделали шире */
    margin: 0 auto;
    padding: 0 20px;
}
.vks-header {
    text-align: center;
    margin-bottom: 50px;
}
/*.vks-header h2 {
    font-size: 36px;
    color: rgb(67, 67, 67);
    font-weight: 700;
    margin-bottom: 16px;
}*/
.vks-header p {
    font-size: 18px;
    color: #6e7781;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.5;
}
.vks-layout {
    display: flex;
    gap: 40px;
    align-items: stretch; /* Заставляет обе колонки быть строго одной высоты */
}
.vks-sidebar {
    width: 45%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.vks-btn {
    background: #ffffff;
    border: 1px solid transparent; /* Толстая прозрачная рамка по умолчанию */
    border-radius: 12px;
    padding: 24px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    transition: all 0.3s ease;
}
.vks-btn h4 {
    font-size: 18px;
    color: #2c3338;
    margin: 0 0 8px 0;
    font-weight: 700;
}
.vks-btn p {
    font-size: 14px;
    color: #6e7781;
    margin: 0;
    line-height: 1.5;
}
.vks-btn:not(.vks-active):hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}
.vks-btn.vks-active {
    border-color: #f08c1d; /* Фирменный оранжевый */
    background-color: #fff9f2;
}
.vks-content {
    width: 55%;
    background: #ffffff;
    border-radius: 20px;
    padding:18px 30px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Убрали фиксированную высоту, теперь блок тянется */
}

/* Жесткое скрытие неактивных элементов */
.vks-title, .vks-img {
    display: none !important;
    width: 100%;
    text-align: center;
}
.vks-title.vks-active, .vks-img.vks-active {
    display: block !important;
    animation: vksFadeIn 0.4s ease forwards;
}

.vks-title h3 {
    font-size: 24px;
    color: #2c3338;
    margin: 0 0 20px 0;
}
.vks-img img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    margin: 0 auto;
}
.vks-dots {
    display: flex;
    gap: 8px;
    margin-top: auto; /* Жестко прижимает точки к самому низу блока */
    justify-content: center;
}
.vks-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #d1d5db;
    cursor: pointer;
    transition: background 0.3s;
}
.vks-dot.vks-active {
    background-color: #f08c1d;
}

@keyframes vksFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Адаптив для мобильных со свайпом (как договаривались) */
@media (max-width: 991px) {
    .vks-layout {
        flex-direction: column;
    }
    .vks-sidebar {
        width: 100%;
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 10px;
        scrollbar-width: none;
    }
    .vks-sidebar::-webkit-scrollbar {
        display: none;
    }
    .vks-btn {
        flex: 0 0 auto;
        padding: 12px 20px;
        border-width: 2px;
    }
    .vks-btn p { display: none; }
    .vks-btn h4 { margin: 0; font-size: 12px; white-space: nowrap; }
    .vks-content { width: 100%; padding: 20px; }
}
@media (max-width: 767.98px) {
    .vks-header h2 {
        font: 700 24px / 28px "Rubik", arial, sans-serif;
        margin-bottom: 1.5rem;
    }
    .vks-header p {
        font-size: 16px;

    }
}


.schools {
    padding: 2.5rem 0 3rem 0;
    background-color: #f7f7fa;
}

.schools .h3 {
    text-align: center;
}

.school-row {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

@media (max-width: 767.98px) {
    .school-row {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        padding: 1rem 0;
        margin: 0 -1rem;
        padding: 0 1rem;
    }

    .school-row::-webkit-scrollbar {
        display: none;
    }

    .school-item {
        flex: 0 0 auto;
        scroll-snap-align: start;
    }
}

.school-item {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 20px;
    padding: 0.8rem 1.2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: background 0.2s ease;
    gap: 1rem;
    min-width: 240px;
    max-width: 240px;
}

.school-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.school-name {
    font-size: 13px;
    font-weight: 400;
    color: #333;
    text-align: left;
}

/* Стили для меню сервисов */
@media (max-width: 767.98px) {
    .services__links {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        display: flex;
        flex-wrap: nowrap;
        gap: 0.5rem;
        padding: 0 1rem 1rem 1rem;
        margin: 0 -1rem;
    }

    .services__links::-webkit-scrollbar {
        display: none;
    }

    .services__links .tabs__link {
        flex: 0 0 auto;
        white-space: nowrap;
        padding: 0.5rem 1rem;
        scroll-snap-align: start;
        min-width: auto;
    }
}

/* Фиксированная высота блоков сервисов */
.services__card {
    height: 70px !important;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 1rem !important;
}

.services__card-image {
    width: 120px !important;
    height: 50px !important;
    object-fit: contain !important;
    flex-shrink: 0;
}
/*
.services__card-link {
  display: none;
}*/
.main1.h1 {
    margin-bottom: 4rem;
    text-align: center;
}

/* ============================================
   БЛОКИ TEHSPEC — живые, контрастные стили
   ============================================ */

/* --- Блок «Почему техспец понимает ценность» --- */
.ts-value {
    padding: 5rem 0 4.5rem;
    background: linear-gradient(180deg, #1b1b2f 0%, #262644 100%);
}
.ts-value__title {
    text-align: center;
    margin-bottom: 1rem;
    color: #fff !important;
}
.ts-value__subtitle {
    text-align: center;
    font-size: 18px;
    color: rgba(255,255,255,0.65);
    max-width: 680px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}
.ts-value__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}
.ts-value__card {
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 18px;
    padding: 2rem 1.5rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.ts-value__card:hover {
    transform: translateY(-5px);
    border-color: #f08c1d;
    box-shadow: 0 12px 36px rgba(240,140,29,0.15);
}
.ts-value__icon {
    width: 44px;
    height: 44px;
    margin-bottom: 1.25rem;
    filter: drop-shadow(0 2px 8px rgba(240,140,29,0.3));
}
.ts-value__card-title {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.5rem;
    line-height: 1.35;
}
.ts-value__card-text {
    font-size: 15px;
    color: rgba(255,255,255,0.6);
    margin: 0;
    line-height: 1.55;
}
@media (max-width: 991px) {
    .ts-value__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
    .ts-value__grid { grid-template-columns: 1fr; }
    .ts-value__subtitle { font-size: 16px; }
}

/* --- Блок «Какие сценарии можно собрать» --- */
.ts-scenarios {
    padding: 5rem 0 4.5rem;
    background: #fff;
}
.ts-scenarios__title {
    text-align: center;
    margin-bottom: 1rem;
}
.ts-scenarios__subtitle {
    text-align: center;
    font-size: 18px;
    color: #555;
    max-width: 560px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}
.ts-scenarios__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
.ts-scenarios__card {
    background: #fff;
    border: 1px solid #e2e5ea;
    border-radius: 16px;
    padding: 1.75rem 1.5rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
    overflow: hidden;
}
.ts-scenarios__card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #f08c1d, #f5a623);
    opacity: 0;
    transition: opacity 0.25s ease;
}
.ts-scenarios__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
    border-color: #f08c1d;
}
.ts-scenarios__card:hover::before {
    opacity: 1;
}
.ts-scenarios__badges {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}
.ts-scenarios__badge {
    display: inline-block;
    background: linear-gradient(135deg, #f8f9fa, #eef0f3);
    border: 1px solid #c8cdd5;
    border-radius: 6px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 700;
    color: #2c3338;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.ts-scenarios__badge--accent {
    background: linear-gradient(135deg, #fff5eb, #ffe8cc);
    border-color: #f08c1d;
    color: #a05500;
}
.ts-scenarios__arrow {
    font-size: 16px;
    color: #f08c1d;
    font-weight: 700;
}
.ts-scenarios__card-title {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 0.4rem;
    line-height: 1.35;
}
.ts-scenarios__card-text {
    font-size: 14px;
    color: #555;
    margin: 0;
    line-height: 1.55;
}
.ts-scenarios__cta {
    text-align: center;
    margin-top: 2.5rem;
}
@media (max-width: 991px) {
    .ts-scenarios__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
    .ts-scenarios__grid { grid-template-columns: 1fr; }
    .ts-scenarios__subtitle { font-size: 16px; }
}

/* --- Блок «Как собирается сценарий» --- */
.ts-how {
    padding: 5rem 0 4.5rem;
    background: linear-gradient(180deg, #f5f6fa 0%, #eceef5 100%);
}
.ts-how__title {
    text-align: center;
    margin-bottom: 1rem;
}
.ts-how__subtitle {
    text-align: center;
    font-size: 18px;
    color: #555;
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}
.ts-how__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* Шаги */
.ts-how__steps {
    display: flex;
    flex-direction: column;
}
.ts-how__step {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}
.ts-how__step-num {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f08c1d, #e07010);
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(240,140,29,0.35);
}
.ts-how__step-body {
    padding-top: 4px;
}
.ts-how__step-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 4px;
    line-height: 1.35;
}
.ts-how__step-text {
    font-size: 15px;
    color: #555;
    margin: 0;
    line-height: 1.5;
}
.ts-how__connector {
    width: 3px;
    height: 28px;
    background: linear-gradient(180deg, #f08c1d, #e3e5e8);
    margin: 6px 0 6px 22px;
    border-radius: 2px;
}

/* Визуальная схема */
.ts-how__visual {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100%;
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}
.ts-how__schema {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}
.ts-how__schema-row {
    display: flex;
    align-items: center;
    gap: 0;
}
.ts-how__schema-node {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 3px 12px rgba(0,0,0,0.06);
}
.ts-how__schema-node--trigger {
    background: #fff5eb;
    border: 2px solid #f08c1d;
    color: #a05500;
}
.ts-how__schema-node--filter {
    background: #eef4ff;
    border: 2px solid #4a7ff7;
    color: #1e4bb8;
}
.ts-how__schema-node--actions {
    background: #e8faf0;
    border: 2px solid #2eb85c;
    color: #14713a;
}
.ts-how__schema-node--history {
    background: #f0ecff;
    border: 2px solid #7c5cc4;
    color: #4a2d94;
}
.ts-how__schema-line {
    width: 32px;
    height: 3px;
    background: linear-gradient(90deg, #d0d5dd, #f08c1d);
    border-radius: 2px;
}
.ts-how__schema-vline {
    width: 3px;
    height: 28px;
    background: linear-gradient(180deg, #d0d5dd, #f08c1d);
    border-radius: 2px;
}

/* Итоговая фраза */
.ts-how__bottom-line {
    text-align: center;
    font-size: 17px;
    color: #1a1a2e;
    margin: 3rem auto 0;
    max-width: 620px;
    line-height: 1.6;
    font-weight: 600;
    padding: 1.25rem 2rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    border-left: 4px solid #f08c1d;
}

@media (max-width: 991px) {
    .ts-how__layout { grid-template-columns: 1fr; }
    .ts-how__visual { order: -1; margin-bottom: 1rem; }
}
@media (max-width: 575px) {
    .ts-how__subtitle { font-size: 16px; }
    .ts-how__schema-node { padding: 12px 16px; font-size: 13px; }
    .ts-how__schema-line { width: 20px; }
}

/* --- Блок «Что делает рабочим инструментом» --- */
.ts-toolkit {
    padding: 5rem 0 4.5rem;
    background: #fff;
}
.ts-toolkit__title {
    text-align: center;
    margin-bottom: 1rem;
}
.ts-toolkit__subtitle {
    text-align: center;
    font-size: 18px;
    color: #555;
    max-width: 620px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}
.ts-toolkit__layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
.ts-toolkit__card {
    background: #f8f9fb;
    border: 1px solid #e2e5ea;
    border-radius: 18px;
    padding: 2.25rem 1.75rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.ts-toolkit__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.08);
}
.ts-toolkit__card--hero {
    background: linear-gradient(135deg, #fff8f0 0%, #fff 100%);
    border: 2px solid #f08c1d;
    box-shadow: 0 4px 20px rgba(240,140,29,0.12);
    position: relative;
    overflow: hidden;
}
.ts-toolkit__card--hero::after {
    content: "";
    position: absolute;
    top: -30px;
    right: -30px;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(240,140,29,0.12) 0%, transparent 70%);
    border-radius: 50%;
}
.ts-toolkit__card--hero:hover {
    box-shadow: 0 12px 36px rgba(240,140,29,0.2);
}
.ts-toolkit__card-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 1.25rem;
}
.ts-toolkit__card-icon--sm {
    width: 36px;
    height: 36px;
}
.ts-toolkit__card-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 0.5rem;
    line-height: 1.35;
}
.ts-toolkit__card-text {
    font-size: 15px;
    color: #555;
    margin: 0;
    line-height: 1.55;
}
@media (max-width: 991px) {
    .ts-toolkit__layout { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
    .ts-toolkit__layout { grid-template-columns: 1fr; }
    .ts-toolkit__subtitle { font-size: 16px; }
}

/* --- Блок «Что меняется в работе» — таблица сравнения --- */
.ts-compare {
    padding: 5rem 0 4.5rem;
    background: #fff;
}
.ts-compare__title {
    text-align: center;
    margin-bottom: 2.5rem;
}

/* Шапка таблицы */
.ts-compare__table {
    max-width: 960px;
    margin: 0 auto;
}
.ts-compare__head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-bottom: 0;
}
.ts-compare__head-cell {
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.ts-compare__head-cell--before {
    background: #fef2f2;
    color: #b91c1c;
    border-radius: 14px 0 0 0;
    border-bottom: 3px solid #fca5a5;
}
.ts-compare__head-cell--after {
    background: #f0fdf4;
    color: #15803d;
    border-radius: 0 14px 0 0;
    border-bottom: 3px solid #86efac;
}

/* Строки */
.ts-compare__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-bottom: 1px solid #e5e7eb;
}
.ts-compare__row:last-child {
    border-bottom: none;
}
.ts-compare__cell {
    padding: 18px 24px;
    font-size: 15px;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.ts-compare__cell--before {
    background: #fffbfb;
    color: #6b7280;
    border-right: 1px solid #e5e7eb;
}
.ts-compare__cell--after {
    background: #f9fefb;
    color: #1a1a2e;
    font-weight: 500;
}

/* Иконки ✕ и ✓ */
.ts-compare__icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    margin-top: 1px;
}
.ts-compare__icon--x {
    background: #fee2e2;
    color: #dc2626;
}
.ts-compare__icon--ok {
    background: #dcfce7;
    color: #16a34a;
}

/* Финальная фраза */
.ts-compare__punchline {
    text-align: center;
    font-size: 22px;
    font-weight: 800;
    color: #1a1a2e;
    margin: 3rem auto 0;
    line-height: 1.4;
}

@media (max-width: 767px) {
    .ts-compare__head,
    .ts-compare__row {
        grid-template-columns: 1fr;
    }
    .ts-compare__head-cell--before {
        border-radius: 14px 14px 0 0;
    }
    .ts-compare__head-cell--after {
        border-radius: 0;
    }
    .ts-compare__cell--before {
        border-right: none;
        border-bottom: 1px dashed #e5e7eb;
    }
    .ts-compare__row {
        border-bottom: 2px solid #e5e7eb;
    }
    .ts-compare__punchline { font-size: 19px; }
}

/* --- Блок «Работает с привычным стеком» --- */
.ts-stack {
    padding: 5rem 0 4.5rem;
    background: linear-gradient(180deg, #fafbfc 0%, #f0f2f5 100%);
}
.ts-stack__title {
    text-align: center;
    margin-bottom: 1rem;
}
.ts-stack__subtitle {
    text-align: center;
    font-size: 18px;
    color: #555;
    max-width: 660px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

/* Табы */
.ts-stack__tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 2rem;
}
.ts-stack__tab {
    background: #fff;
    border: 1.5px solid #d0d5dd;
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 700;
    color: #555;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.ts-stack__tab:hover {
    border-color: #f08c1d;
    color: #1a1a2e;
    box-shadow: 0 3px 10px rgba(0,0,0,0.06);
}
.ts-stack__tab--active {
    background: linear-gradient(135deg, #f08c1d, #e07010);
    border-color: #f08c1d;
    color: #fff;
    box-shadow: 0 4px 14px rgba(240,140,29,0.3);
}

/* Панели с логотипами */
.ts-stack__panels {
    min-height: 80px;
}
.ts-stack__panel {
    display: none;
}
.ts-stack__panel--active {
    display: block;
    animation: vksFadeIn 0.3s ease;
}
.ts-stack__logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}
.ts-stack__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1.5px solid #e2e5ea;
    border-radius: 14px;
    padding: 12px 20px;
    height: 62px;
    min-width: 110px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}
.ts-stack__logo:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    border-color: #f08c1d;
}
.ts-stack__logo img {
    max-height: 38px;
    max-width: 120px;
    object-fit: contain;
}

/* Мини-карточки связок */
.ts-stack__bundles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 2.5rem;
}
.ts-stack__bundle {
    background: #fff;
    border: 1.5px solid #e2e5ea;
    border-radius: 14px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.ts-stack__bundle:hover {
    border-color: #f08c1d;
    box-shadow: 0 6px 20px rgba(240,140,29,0.1);
}
.ts-stack__bundle-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}
.ts-stack__bundle-text {
    font-size: 14px;
    color: #555;
    margin: 0;
    line-height: 1.5;
}

/* CTA */
.ts-stack__cta {
    text-align: center;
    margin-top: 2.5rem;
}

@media (max-width: 767px) {
    .ts-stack__tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        justify-content: flex-start;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
    }
    .ts-stack__tabs::-webkit-scrollbar { display: none; }
    .ts-stack__tab { flex: 0 0 auto; white-space: nowrap; }
    .ts-stack__bundles { grid-template-columns: 1fr; }
}

/* --- Блок «Кому подойдёт» --- */
.ts-audience {
    padding: 5rem 0 4.5rem;
    background: #fff;
}
.ts-audience__title {
    text-align: center;
    margin-bottom: 3rem;
}
.ts-audience__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}
.ts-audience__card {
    background: linear-gradient(180deg, #fff 0%, #fafbfc 100%);
    border-radius: 20px;
    padding: 2.5rem 1.75rem;
    border: 1.5px solid #e2e5ea;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}
.ts-audience__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 36px rgba(240,140,29,0.12);
    border-color: #f08c1d;
}
.ts-audience__icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 1.25rem;
    display: block;
    padding: 10px;
    background: linear-gradient(135deg, #fff5eb, #ffe8cc);
    border-radius: 14px;
    filter: drop-shadow(0 2px 6px rgba(240,140,29,0.2));
}
.ts-audience__card-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 0.6rem;
}
.ts-audience__card-text {
    font-size: 15px;
    color: #555;
    margin: 0;
    line-height: 1.55;
}
.ts-audience__note {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    max-width: 780px;
    margin: 3rem auto 0;
    background: linear-gradient(135deg, #f8f6ff 0%, #f0ecff 100%);
    border: 1.5px solid #d4c8f5;
    border-radius: 14px;
    padding: 1.5rem 1.75rem;
}
.ts-audience__note-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 1px;
    stroke: #7c5cc4;
}
.ts-audience__note p {
    font-size: 15px;
    color: #444;
    margin: 0;
    line-height: 1.6;
}
@media (max-width: 767px) {
    .ts-audience__grid { grid-template-columns: 1fr; }
}

/* --- Финальный CTA-блок --- */
.ts-final-cta {
    padding: 5rem 0;
}
.ts-final-cta__inner {
    background: linear-gradient(135deg, #1b1b2f 0%, #2d1b5e 40%, #4a2d94 100%);
    border-radius: 28px;
    padding: 4.5rem;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 3rem;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.ts-final-cta__inner::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(240,140,29,0.12) 0%, transparent 70%);
    border-radius: 50%;
}
.ts-final-cta__title {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 1.25rem;
    line-height: 1.25;
}
.ts-final-cta__text {
    font-size: 17px;
    color: rgba(255,255,255,0.75);
    margin: 0 0 2rem;
    line-height: 1.6;
    max-width: 600px;
}
.ts-final-cta__actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.btn--white {
    background: #fff;
    color: #2d1b5e;
    font-weight: 700;
    border: none;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn--white:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.ts-final-cta__link {
    color: rgba(255,255,255,0.85);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    padding-bottom: 2px;
}
.ts-final-cta__link:hover {
    color: #fff;
    border-bottom-color: #fff;
}
.ts-final-cta__micro {
    font-size: 13px;
    color: rgba(255,255,255,0.45);
    margin: 1rem 0 0;
}

/* Мини-схема справа */
.ts-final-cta__visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}
.ts-final-cta__schema {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}
.ts-final-cta__node {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    backdrop-filter: blur(6px);
}
.ts-final-cta__node--trigger {
    background: rgba(240,140,29,0.2);
    color: #ffd29d;
    border: 1.5px solid rgba(240,140,29,0.45);
}
.ts-final-cta__node--filter {
    background: rgba(74,127,247,0.15);
    color: #b8ccff;
    border: 1.5px solid rgba(74,127,247,0.35);
}
.ts-final-cta__node--action {
    background: rgba(46,184,92,0.15);
    color: #a8e6be;
    border: 1.5px solid rgba(46,184,92,0.35);
}
.ts-final-cta__node--done {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: 1.5px solid rgba(255,255,255,0.35);
}
.ts-final-cta__schema-line {
    width: 2px;
    height: 14px;
    background: rgba(255,255,255,0.2);
}

@media (max-width: 991px) {
    .ts-final-cta__inner {
        grid-template-columns: 1fr;
        padding: 3rem 2rem;
    }
    .ts-final-cta__visual { display: none; }
}
@media (max-width: 575px) {
    .ts-final-cta__inner { padding: 2.5rem 1.5rem; }
    .ts-final-cta__title { font-size: 24px; }
    .ts-final-cta__actions {
        flex-direction: column;
        align-items: flex-start;
    }
}
