/* =========================================
   ГЛОБАЛЬНЫЙ МАСШТАБ СТРАНИЦЫ УСЛУГ
   ========================================= */

/* Расширяем сетку, даем контенту "вздохнуть" */
#service-page-wrapper .uk-container {
    max-width: 1600px !important;
}

/* Опционально: немного увеличиваем базовый шрифт для удобства чтения */
#service-page-wrapper .uk-text-small {
    font-size: 1.1rem !important; /* Было 0.85, текст станет чуть крупнее и читаемее */
    line-height: 1.45;
}

/* =========================================
   БЛОК 1: HERO УСЛУГ
   ========================================= */

/* Заголовок со строгими архитектурными скобками (вместо каракулей) */
.t2s-hero-bracket-title {
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 1.1;
    position: relative;
    display: inline-block;
    padding: 30px 40px; /* Отступы от текста до скобок */
    margin: 0;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

/* Рисуем скобки ┏ и ┛ через псевдоэлементы */
.t2s-hero-bracket-title::before,
.t2s-hero-bracket-title::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    border: 5px solid #111;
}

/* Левая верхняя скобка */
.t2s-hero-bracket-title::before {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
}

/* Правая нижняя скобка */
.t2s-hero-bracket-title::after {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
}

/* Контейнер для картинки справа */
.t2s-hero-image-wrapper {
    height: 500px; /* Фиксируем высоту, чтобы картинка не прыгала */
    width: 100%;
    background-color: #111;
    overflow: hidden;
    position: relative;
}

.t2s-hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85; /* Легкое затемнение для строгости */
    filter: grayscale(20%) contrast(1.1); /* Инженерный цветокор */
}

/* Ссылки с микро-анимацией внутри карточек */
.t2s-card-link {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: inherit;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
}

.t2s-card-link:hover {
    color: #FF5C00;
}

.t2s-card-link svg {
    width: 16px;
    height: 16px;
    margin-left: 8px;
    stroke: #FF5C00;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.t2s-card-link:hover svg {
    transform: translate(3px, -3px);
}

/* ИНВЕРТИРОВАННАЯ КАРТОЧКА (ТЕМНАЯ) */
.t2s-card-inverse {
    background-color: #111 !important;
    border-color: #111 !important;
    color: #fff !important;
}

.t2s-card-inverse .uk-h4 {
    color: #fff !important;
}

.t2s-card-inverse .uk-text-small {
    color: #ccc !important;
}

/* Нахлест карточек на картинку и вылет за пределы секции (Только для ПК) */
@media (min-width: 960px) {
    .t2s-cards-overlap {
        margin-top: -100px !important; /* Наезжаем вверх на занавески */
        margin-bottom: -60px !important; /* Выталкиваем карточки вниз, заставляя их "свисать" наружу */
    }
}

/* =========================================
   БЛОК 2: ПРЕИМУЩЕСТВА УСЛУГИ
   ========================================= */

/* Инженерная пульсирующая стрелочка */
.t2s-animated-pointer {
    width: 90px;
    position: absolute;
    left: -110px; /* Выносим за пределы карточки влево */
    top: 25px;
    z-index: 5;
    /* Анимация плавного прицеливания */
    animation: t2s-wobble-pointer 3s infinite alternate ease-in-out;
    filter: drop-shadow(2px 4px 6px rgba(255, 92, 0, 0.2));
}

@keyframes t2s-wobble-pointer {
    0% { transform: translateX(0) translateY(0) rotate(0deg); }
    100% { transform: translateX(8px) translateY(-5px) rotate(3deg); }
}

/* Строгий номер преимущества (Замена карандашным кружкам) */
.t2s-advantage-item {
    position: relative;
}

.t2s-adv-num-box {
    position: relative;
    display: inline-block;
    background: #111;
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
    padding: 6px 14px;
    z-index: 2;
    margin-bottom: 5px;
}

/* Оранжевая координатная рамка сзади */
.t2s-adv-num-box::after {
    content: '';
    position: absolute;
    top: -5px;
    right: -5px;
    width: 100%;
    height: 100%;
    border: 2px solid #FF5C00;
    z-index: -1;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Эффект смещения рамки при наведении на колонку (Микровзаимодействие) */
.t2s-advantage-item:hover .t2s-adv-num-box::after {
    transform: translate(3px, -3px);
}

.t2s-advantage-item .uk-divider-small {
    border-top-color: #111;
    width: 100%;
}
/* Тонкая кнопка-рамка для сетки преимуществ */
.t2s-adv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between; /* Текст слева, стрелка справа */
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(17, 17, 17, 0.2); /* Тонкая деликатная рамка */
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #111;
    text-decoration: none !important;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.t2s-adv-btn:hover {
    border-color: #FF5C00;
    color: #FF5C00;
}

.t2s-adv-btn svg {
    stroke: currentColor;
    width: 16px;
    height: 16px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.t2s-adv-btn:hover svg {
    transform: translate(3px, -3px);
}

/* =========================================
   БЛОК 3: ПОЧЕМУ МЫ (МЕТРИКИ)
   ========================================= */

.t2s-metric-card {
    background: #ffffff;
    border: 1px solid #111111;
    padding: 45px 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Легкое приподнимание при наведении */
.t2s-metric-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border-color: #FF5C00;
}

.t2s-metric-number {
    font-size: 3.2rem;
    font-weight: 800;
    color: #111;
    line-height: 1;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    letter-spacing: -0.02em;
}

/* Инженерный декор: Точечная сетка (вместо штрихов) */
.t2s-metric-decor {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 50px;
    height: 50px;
    background-image: radial-gradient(rgba(255, 92, 0, 0.3) 1.5px, transparent 0);
    background-size: 8px 8px;
    z-index: 1;
    transition: transform 0.8s ease;
}

.t2s-metric-card:hover .t2s-metric-decor {
    transform: rotate(90deg) scale(1.1);
}

/* Декоративные перекрестия по углам (эффект чертежа) */
.t2s-metric-card::before {
    content: '+';
    position: absolute;
    top: 10px;
    left: 10px;
    font-family: monospace;
    color: #FF5C00;
    font-size: 14px;
    opacity: 0.4;
}

/* Нижний правый технический уголок */
.t2s-metric-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 12px;
    height: 12px;
    border-right: 2px solid #FF5C00;
    border-bottom: 2px solid #FF5C00;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.t2s-metric-card:hover::after {
    opacity: 1;
}

.t2s-metrics-grid p {
    margin: 0;
    line-height: 1.3;
    color: #444;
}

/* =========================================
   БЛОК 4: КЕЙСЫ (СЛАЙДЕР)
   ========================================= */

/* Карточка кейса */
.t2s-case-card {
    background: #fff;
    border: 1px solid #111;
    padding: 60px;
    box-sizing: border-box;
    margin: 10px 5px; /* Небольшой отступ для тени/границ при прокрутке */
}

/* Навигация слайдера */
.t2s-slider-nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border: 1px solid #111;
    color: #111;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.t2s-slider-nav-btn:hover {
    background-color: #111;
    color: #fff;
}

/* Лейблы внутри кейса */
.t2s-case-label {
    display: block;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    color: #FF5C00;
    margin-bottom: 5px;
}

/* Блоки с цифрами (результаты) */
.t2s-case-result-box {
    background: #fcfcfc;
    border: 1px solid #e5e5e5;
    padding: 20px;
    height: 100%;
    transition: border-color 0.3s ease;
}

.t2s-case-card:hover .t2s-case-result-box {
    border-color: rgba(255, 92, 0, 0.3);
}

.t2s-case-result-val {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 10px;
    color: #111;
    letter-spacing: -0.03em;
}

.t2s-case-result-desc {
    font-size: 0.8rem;
    line-height: 1.3;
    color: #666;
    font-weight: 500;
}

/* Картинка кейса */
.t2s-case-image {
    border: 1px solid #111;
    padding: 10px;
    background: #fff;
    line-height: 0;
}

.t2s-case-image img {
    width: 100%;
    height: auto;
    filter: grayscale(10%) contrast(1.05);
}

@media (max-width: 959px) {
    .t2s-case-card { padding: 30px 20px; }
}


/* =========================================
   БЛОК 5: ЦЕННОСТНЫЙ ТЕЗИС
   ========================================= */

.t2s-statement-box {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-left: 6px solid #FF5C00; /* Жирный инженерный акцент */
    padding: 60px;
    position: relative;
    box-shadow: 10px 10px 0px rgba(17, 17, 17, 0.02); /* "Техническая" тень */
}

/* Метка в углу (как в чертежах) */
.t2s-statement-marker {
    position: absolute;
    top: 0;
    right: 20px;
    background: #111;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 4px 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.t2s-statement-title {
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* Блок примечания справа */
.t2s-statement-note {
    border-left: 1px solid #ddd;
    padding-left: 30px;
    position: relative;
}

/* Маленькая стрелочка-указатель (вместо карандашных стрелок) */
.t2s-statement-note::before {
    content: '';
    position: absolute;
    left: -1px;
    top: 20px;
    width: 10px;
    height: 1px;
    background: #FF5C00;
}

.t2s-statement-note p {
    color: #666;
    line-height: 1.5;
}

@media (max-width: 959px) {
    .t2s-statement-box { padding: 40px 20px; }
    .t2s-statement-note { border-left: none; padding-left: 0; margin-top: 30px; border-top: 1px solid #eee; padding-top: 20px; }
}


/* =========================================
   БЛОК 6: БОЛИ (ШАХМАТНАЯ СЕТКА)
   ========================================= */

/* =========================================
   БЛОК 6: БОЛИ (ДИАГНОСТИЧЕСКАЯ ПАНЕЛЬ)
   ========================================= */

.t2s-diag-card {
    border: 1px solid #111;
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.t2s-diag-card:hover {
    transform: translateY(-5px);
    box-shadow: 10px 10px 0px rgba(17, 17, 17, 0.05);
}

/* Верхняя часть: Ошибка / Боль */
.t2s-diag-problem {
    background: #111;
    color: #fff;
    padding: 30px;
    border-bottom: 2px solid #FF5C00; /* Акцентная линия раздела */
}

.t2s-diag-problem .uk-h4 {
    color: #fff;
    line-height: 1.3;
}

/* Нижняя часть: Решение */
.t2s-diag-solution {
    padding: 30px;
    background: #fff;
}

.t2s-diag-solution p {
    color: #444;
    line-height: 1.5;
    font-size: 0.95rem;
}

/* Технические лейблы (ISSUE / RESOLUTION) */
.t2s-diag-label {
    font-family: monospace;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
}

.t2s-label-ok {
    color: #FF5C00;
    font-weight: 700;
}

/* Пульсирующая точка ошибки */
.t2s-status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #ff3333;
    border-radius: 50%;
    margin-right: 10px;
    box-shadow: 0 0 0 0 rgba(255, 51, 51, 0.7);
    animation: t2s-pulse-red 2s infinite;
}

@keyframes t2s-pulse-red {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 51, 51, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(255, 51, 51, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 51, 51, 0); }
}

@media (max-width: 959px) {
    .t2s-diag-problem, .t2s-diag-solution { padding: 25px 20px; }
}

/* =========================================
   БЛОК 7: ШАГИ (SWITCHER)
   ========================================= */

/* Навигация шагов */
.t2s-step-nav {
    display: flex;
    gap: 0; /* Соединяем кнопки в один ряд */
    border: 1px solid #111;
}

.t2s-step-nav li {
    flex: 1;
    padding: 0 !important;
}

.t2s-step-nav li a {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #111 !important;
    border-radius: 0 !important;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    padding: 20px 10px;
    border-right: 1px solid #111;
    transition: all 0.3s ease;
}

.t2s-step-nav li:last-child a { border-right: none; }

/* Состояние активной кнопки (Нажатая клавиша) */
.t2s-step-nav li.uk-active a {
    background-color: #111 !important;
    color: #fff !important;
}

.t2s-step-arrow {
    margin-left: 10px;
    opacity: 0.3;
    font-weight: 300;
}

/* Контентный бокс шага */
.t2s-step-content-box {
    /* Убрали жесткую min-height, чтобы бокс дышал естественно */
	min-height: 200px;
    padding: 60px;
    background-color: #ffffff;
    border: 1px solid #111;
    box-shadow: 8px 8px 0px rgba(17, 17, 17, 0.05);
    position: relative;
    /* Включаем Flexbox для самого контейнера вкладок */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Принудительное центрирование активной вкладки */
.t2s-step-content-box > li.uk-active {
    display: flex;
    align-items: center;
    width: 100%;
}

/* Делаем линию разделителя контрастнее */
.t2s-step-content-box .uk-grid-divider > [class*='uk-width-'] {
    border-color: rgba(17, 17, 17, 0.1);
}

/* Водяной знак с логотипом на фоне */
.t2s-step-content-box::after {
    content: 't2see_engineering_protocol';
    position: absolute;
    bottom: 20px;
    right: 30px;
    font-family: monospace;
    font-size: 2rem;
    color: rgba(17, 17, 17, 0.04);
    pointer-events: none;
    text-transform: uppercase;
}

/* МЕГА-КНОПКА */
.t2s-btn-mega {
    padding: 30px !important;
    font-size: 1.1rem !important;
    letter-spacing: 0.1em;
}

@media (max-width: 959px) {
    .t2s-step-nav { flex-direction: column; border: none; }
    .t2s-step-nav li a { border: 1px solid #111; margin-bottom: 5px; }
    .t2s-step-content-box { padding: 30px 20px; }
}

/* =========================================
   БЛОК 8: СТОИМОСТЬ УСЛУГИ
   ========================================= */

/* --- Темная карточка (CSS Шум) --- */
/* --- Темная карточка (CSS Шум) --- */
.t2s-price-dark-card {
    background-color: #111;
    /* Тот самый инженерный шум без картинок */
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.08'/%3E%3C/svg%3E");
    position: relative;
    padding: 60px 60px 40px 60px; /* Увеличили левый отступ до 60px для выравнивания буллитов */
    box-sizing: border-box;
}

.t2s-price-dark-header {
    position: absolute;
    top: -15px; /* Подняли плашку НА верхнюю границу */
    left: 20px; /* Сдвинули правее, синхронно со светлым блоком */
    background-color: #000;
    color: #fff;
    padding: 10px 20px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 2;
    box-shadow: 4px 4px 0px rgba(17, 17, 17, 0.1); /* Добавили тень для объема на сером фоне секции */
}

/* Обновляем мобильный вид, чтобы на смартфонах отступы не съели весь экран */
@media (max-width: 959px) {
    .t2s-price-dark-card { padding: 50px 20px 30px 20px; }
}

/* Вертикальный водяной знак */
.t2s-price-watermark {
    position: absolute;
    right: 20px;
    bottom: 40px;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    color: rgba(255, 255, 255, 0.4);
    font-family: monospace;
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    border-left: 1px solid rgba(255, 255, 255, 0.1); /* Линия как в макете */
    padding-left: 15px;
}

/* --- Светлая карточка --- */
.t2s-price-light-card {
    background-color: #fff;
    border: 1px solid #111;
    position: relative;
    padding: 60px 40px 40px 40px;
    box-sizing: border-box;
}

.t2s-price-light-header {
    position: absolute;
    top: -15px;
    left: 20px;
    background-color: #FF5C00;
    color: #fff;
    padding: 10px 20px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 4px 4px 0px rgba(17, 17, 17, 0.1);
}

.t2s-price-value {
    font-size: 2rem;
    font-weight: 800;
    color: #111;
}

.t2s-price-value .t2s-accent {
    font-size: 2.5rem;
}

/* --- Списки с геометрическими буллитами --- */
.t2s-price-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.t2s-price-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Строгий оранжевый квадрат вместо штрихов */
.t2s-price-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 8px;
    height: 8px;
    background-color: #FF5C00;
}

/* Цвета текста списков */
.t2s-price-list-dark li { color: #ccc; }
.t2s-price-list-light li { color: #444; }

@media (max-width: 959px) {
    .t2s-price-dark-card { padding: 60px 20px 30px 20px; }
    .t2s-price-watermark { display: none; /* Прячем на мобилках для экономии места */ }
    .t2s-price-light-card { margin-top: 40px; }
}


/* =========================================
   БЛОК 9: СПЛИТ-ЭКРАН (КОМАНДА И ТЕХНОЛОГИИ)
   ========================================= */

/* Базовые контейнеры сплита */
/* =========================================
   БЛОК 9: СПЛИТ-ЭКРАН (КОМАНДА И ТЕХНОЛОГИИ)
   ========================================= */

/* Базовые контейнеры сплита */
.t2s-split-light {
    background-color: #fcfcfc;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}

.t2s-split-dark {
    background-color: #111;
    color: #fff;
}

/* Центрирование контента внутри половин */
.t2s-split-content {
    padding: 80px; 
    max-width: 700px;
    height: 100%;
 /*   display: flex;
    flex-direction: column;
    /* МАГИЯ ЗДЕСЬ: центрируем весь блок по вертикали, чтобы не было пустых дыр сверху или снизу */
    justify-content: flex-start; 
    box-sizing: border-box;
}

/* Прижимаем контент левой части к правому краю её половины, а правой - к левому */
.t2s-split-light .t2s-split-content {
    margin-left: auto;
    margin-right: 0;
}

.t2s-split-dark .t2s-split-content {
    margin-left: 0;
    margin-right: auto;
}

/* --- Стили для списка людей (Светлая часть) --- */
.t2s-team-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px; 
    padding-bottom: 20px; 
    border-bottom: 1px solid rgba(17,17,17,0.1);
}

.t2s-team-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.t2s-team-num {
    background: #FF5C00;
    color: #fff;
    font-weight: 800;
    font-size: 0.95rem;
    padding: 4px 10px;
    margin-right: 20px;
    min-width: 42px;
    text-align: center;
    line-height: 1.2;
}

/* --- Стили для технической базы (Темная часть) --- */

.t2s-tech-grid {
    display: grid !important; /* Железобетонно включаем Grid */
    grid-template-columns: repeat(2, 1fr) !important; /* Строго 2 колонки одинаковой ширины */
    gap: 15px;
    margin-bottom: 30px;
    width: 100%; /* Растягиваем на всю доступную ширину */
}

.t2s-tech-tag {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.8rem;
    color: #FF5C00;
    background: rgba(255, 92, 0, 0.05);
    border: 1px solid rgba(255, 92, 0, 0.2);
    padding: 10px 15px;
    transition: all 0.3s ease;
    display: flex;
    /* Центрируем текст по вертикали внутри прямоугольника */
    align-items: center; 
    /* Принудительно делаем высоту под 2-3 строки, чтобы все кирпичики были ровными */
    min-height: 64px; 
    box-sizing: border-box;
    line-height: 1.3;
}

.t2s-tech-tag:hover {
    background: rgba(255, 92, 0, 0.15);
    border-color: #FF5C00;
    color: #fff;
}

/* Обычный отступ вместо auto, чтобы привязка была к сетке, а не к дну экрана */
.t2s-tech-bottom-wrap {
    margin-top: 10px;
}

/* Декоративная консоль внизу */
.t2s-tech-console-decor {
    font-family: monospace;
    color: rgba(255,255,255,0.3);
    font-size: 0.9rem;
}

.t2s-blink {
    animation: blinker 1s linear infinite;
    color: #FF5C00;
}

@keyframes blinker {
    50% { opacity: 0; }
}

/* Мобильная адаптация */
@media (max-width: 959px) {
    .t2s-split-content { padding: 50px 20px; max-width: 100%; margin: 0 auto !important; }
    .t2s-tech-grid { grid-template-columns: 1fr; } /* В мобилке делаем в 1 колонку */
}


/* =========================================
   БЛОК 10: ОТЗЫВЫ
   ========================================= */

.t2s-review-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 30px;
    border: 1px solid #111;
    box-sizing: border-box;
}

.t2s-review-text {
    flex-grow: 1; /* Выталкивает футер и кнопку вниз */
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 30px;
}

.t2s-review-footer {
    margin-bottom: 20px;
}

.t2s-review-author {
    font-weight: 800;
    font-size: 1rem;
    margin-bottom: 10px;
}

.t2s-review-logo {
    max-height: 40px;
    max-width: 150px;
    display: block;
}

/* Кнопка внизу отзыва */
.t2s-review-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 12px 15px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none !important;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.t2s-review-btn svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    transition: transform 0.3s ease;
}

.t2s-review-btn:hover svg {
    transform: translate(3px, -3px);
}

/* --- ЦВЕТОВЫЕ СХЕМЫ --- */

/* Светлая карточка */
.t2s-review-light {
    background-color: #fff;
    color: #111;
}

.t2s-review-light .t2s-review-text { color: #444; }
.t2s-review-light .t2s-review-logo { filter: grayscale(100%) opacity(0.8); }

.t2s-review-light .t2s-review-btn {
    border: 1px solid rgba(17,17,17,0.2);
    color: #111;
}

.t2s-review-light .t2s-review-btn:hover {
    border-color: #FF5C00;
    color: #FF5C00;
}

/* Темная карточка */
.t2s-review-dark {
    background-color: #111;
    color: #fff;
}

.t2s-review-dark .t2s-review-text { color: #ccc; }
/* Умный фильтр: делает логотип ЧБ и инвертирует цвета (черный логотип станет белым) */
.t2s-review-dark .t2s-review-logo { filter: grayscale(100%) invert(1) brightness(2); opacity: 0.8; }

.t2s-review-dark .t2s-review-btn {
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
}

.t2s-review-dark .t2s-review-btn:hover {
    border-color: #FF5C00;
    color: #FF5C00;
}

@media (max-width: 959px) {
    .t2s-review-card { padding: 25px 20px; }
}

/* =========================================
   БЛОК 11: АПСЕЙЛ (МОДУЛИ РАСШИРЕНИЯ)
   ========================================= */

.t2s-upsell-card {
    background-color: #fff;
    border: 1px solid #111;
    padding: 60px 40px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
}

/* Инженерный 3D-эффект при наведении */
.t2s-upsell-card:hover {
    border-color: #FF5C00;
    transform: translate(-6px, -6px); /* Сдвигаем карточку влево-вверх */
    box-shadow: 12px 12px 0px rgba(255, 92, 0, 0.15); /* Бросаем жесткую тень вправо-вниз */
}

/* Техническая метка над заголовком */
.t2s-upsell-label {
    font-family: monospace;
    font-size: 0.75rem;
    color: #888;
    letter-spacing: 0.1em;
}

.t2s-upsell-price {
    font-size: 1.2rem;
    font-weight: 800;
    color: #111;
}

.t2s-upsell-price .t2s-accent {
    font-size: 2.2rem;
    letter-spacing: -0.02em;
}

@media (max-width: 959px) {
    .t2s-upsell-card { padding: 40px 20px; }
}

/* Сохраняем пропорции и резервируем высоту под логотипы */
.t2s-review-logo {
    height: 40px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    object-position: left center;
    display: block;
}

/* Для белых логотипов на тёмном фоне: отключаем инверсию */
.t2s-review-dark .t2s-review-logo-white {
    filter: none;
    opacity: 0.9;
}