/* =========================================
   1. ШРИФТЫ (INTER)
   ========================================= */
/*@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-Variable.woff2') format('woff2-variations');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
} */


/* =========================================
   1. ГЛОБАЛЬНЫЕ ПЕРЕМЕННЫЕ И БАЗА
   ========================================= */
:root {
    /* Эталонный системный стек шрифтов для максимального PageSpeed */
    --font-primary: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --text-line-height: 1.4;
    --heading-letter-spacing: -0.02em;
    --color-text: #111111;
    --color-bg: #ffffff;
}

html {
    font-family: var(--font-primary);
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
    font-family: var(--font-primary);
    line-height: var(--text-line-height);
}

p, li, div {
    font-family: var(--font-primary);
    line-height: var(--text-line-height);
}

h1, h2, h3, h4, h5, h6,
.uk-h1, .uk-h2, .uk-h3, .uk-h4, .uk-h5, .uk-h6 {
    font-family: var(--font-primary);
    letter-spacing: var(--heading-letter-spacing);
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 1.5rem;
}

@media (min-width: 960px) {
    .uk-heading-small {
        font-size: 3.5rem;
        line-height: 1.1;
    }
}

/* ФИКС: Убиваем пустую белую дыру от тега main */
main.uk-section {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* =========================================
   3. НАВИГАЦИЯ (HEADER & MENU)
   ========================================= */
/* =========================================
   3. НАВИГАЦИЯ И ВЫПАДАЮЩИЕ МЕНЮ (HEADER)
   ========================================= */
.uk-navbar-container { background: transparent; }

.uk-navbar-nav > li > a {
    color: #111111 !important;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    min-height: 80px;
    transition: color 0.3s ease;
}

.uk-navbar-nav > li:hover > a,
.uk-navbar-nav > li.uk-active > a { color: #FF5C00 !important; }

/* Инженерный Mega-Dropdown для услуг */
.t2s-mega-dropdown {
    width: 980px !important;
    max-width: 95vw !important;
    background: #ffffff !important;
    border: 1px solid #111111;
    border-top: 3px solid #FF5C00;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
    padding: 35px 40px !important;
    border-radius: 0 !important;
    text-align: left !important; /* Ликвидация наследования от uk-navbar-center */
}

/* Компактный Dropdown для раздела R&D */
.t2s-dropdown-standard {
    width: 360px !important;
    background: #ffffff !important;
    border: 1px solid #111111;
    border-top: 3px solid #FF5C00;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 25px 30px !important;
    border-radius: 0 !important;
    text-align: left !important;
}

/* Заголовки кластеров меню */
.t2s-menu-cluster-title {
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    color: #111111;
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(17, 17, 17, 0.1);
    text-align: left !important;
}

.t2s-menu-code {
    display: block;
    font-family: monospace;
    font-size: 0.75rem;
    color: #FF5C00;
    margin-bottom: 2px;
}

/* ФИКС СЕТКИ: жесткое выравнивание элементов подменю по левому краю */
.t2s-nav-sublist {
    text-align: left !important;
}

.t2s-nav-sublist > li {
    text-align: left !important;
}

.t2s-nav-sublist > li > a {
    padding: 8px 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important; /* Принудительно прижимаем к левому краю */
    text-align: left !important;
    text-decoration: none !important;
    transition: transform 0.2s ease, color 0.2s ease;
    width: 100%;
}

.t2s-nav-sublist > li > a strong {
    display: block;
    width: 100%;
    text-align: left !important;
    font-size: 0.95rem;
    font-weight: 700;
    color: #111111;
    transition: color 0.2s ease;
    line-height: 1.3;
}

.t2s-nav-sublist > li > a span {
    display: block;
    width: 100%;
    text-align: left !important; /* Устраняет центрирование коротких строк */
    font-size: 0.75rem;
    color: #777777;
    margin-top: 3px;
    line-height: 1.25;
}

.t2s-nav-sublist > li > a:hover strong {
    color: #FF5C00;
}

.t2s-nav-sublist > li > a:hover {
    transform: translateX(4px);
}

.t2s-icon-external {
    width: 12px;
    height: 12px;
    margin-left: 4px;
    stroke: currentColor;
    vertical-align: middle;
}

/* =========================================
   4. ИНЖЕНЕРНАЯ СИСТЕМА КНОПОК (T2S-BTN)
   ========================================= */
/* Базовый класс для всех кнопок */
.t2s-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.85rem;
    padding: 14px 30px;
    border-radius: 0 !important; /* Строгая геометрия */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1px solid transparent;
    position: relative;
    text-decoration: none !important;
}

/* Главная кнопка (Черная -> Оранжевая) */
.t2s-btn-primary {
    background: #000;
    color: #fff !important;
    border-color: #000;
}

.t2s-btn-primary:hover {
    background-color: #FF5C00 !important;
    border-color: #FF5C00 !important;
    color: #fff !important;
}

/* Вторичная кнопка (Контурная) */
.t2s-btn-outline {
    background: transparent;
    color: #000 !important;
    border-color: #000;
}

.t2s-btn-outline:hover {
    color: #FF5C00 !important;
    border-color: #FF5C00 !important;
}

/* Размер Large */
.t2s-btn-large {
    padding: 18px 45px;
    font-size: 0.95rem;
}

/* Иконки в кнопках */
.t2s-icon-svg {
    width: 18px;
    height: 18px;
    margin-left: 10px;
    stroke: currentColor;
    fill: none;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    vertical-align: middle;
}

/* Эффект Action Arrow */
.t2s-btn:hover .t2s-icon-svg {
    transform: translate(3px, -3px);
}

/* Наследие UIkit (оставлено для совместимости системных блоков) */
.uk-button-primary {
    color: #000 !important;
    background-color: #f5f5f7;
    border: 1px solid #111;
}

.uk-button-primary:hover {
    background-color: #111;
    color: #fff !important;
}

/* =========================================
   5. ИНЖЕНЕРНАЯ ТИПОГРАФИКА И МАРКЕРЫ
   ========================================= */
/* Главный угловой маркер (МЫ ДЕЛАЕМ, О НАС) */
.t2s-heading-corner {
    font-weight: 300 !important;
    text-transform: uppercase;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    color: #111;
}

.t2s-heading-corner__text {
    display: block;
    margin-bottom: 5px;
}

.t2s-heading-corner__svg {
    display: block;
    color: #FF5C00;
    transform-origin: center center;
    transition: transform 2.4s cubic-bezier(0.165, 0.84, 0.44, 10); 
    will-change: transform;
}

.t2s-heading-corner:hover .t2s-heading-corner__svg {
    transform: scaleX(1.4); 
}

@media (max-width: 959px) {
    .t2s-heading-corner__svg {
        width: 100px;
        height: auto;
    }
}

/* Акцентный заголовок с подложкой (Внутренние страницы) */
.t2s-heading-highlight {
    display: inline-block;
    background-color: #FF5C00;
    color: #FFFFFF;
    padding: 10px 25px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1;
    animation: t2s-float-header 4s infinite ease-in-out;
    backface-visibility: hidden;
    -webkit-font-smoothing: subpixel-antialiased;
}

.t2s-heading-highlight--inverse {
    background-color: #FFFFFF;
    color: #000000;
}

/* Терминальный маркер (Альтернативный акцент) */
.t2s-heading-terminal {
    position: relative;
    display: inline-flex;
    align-items: flex-end;
}

.t2s-heading-terminal::after {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    background-color: #FF5C00;
    margin-left: 15px;
    margin-bottom: 8px;
    animation: t2s-blink 1.2s step-end infinite;
}

/* Бейдж (скоро, акция и т.д.) */
.t2s-floating-label {
    display: inline-block;
    background: #FF5C00;
    color: #fff;
    padding: 4px 12px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
    animation: t2s-float-y 3s infinite ease-in-out;
}

/* Глобальные анимации */
@keyframes t2s-float-header {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@keyframes t2s-float-y {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

@keyframes t2s-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* =========================================
   6. UI-КОМПОНЕНТЫ (ВНУТРЕННИЕ СТРАНИЦЫ)
   ========================================= */
.t2s-card {
    border: 1px solid #000;
    padding: 40px;
    height: 100%;
    transition: background-color 0.3s ease;
    background: #fff;
}

.t2s-card:hover {
    background-color: #f9f9f9;
}

.t2s-card__title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: lowercase;
}

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

/* =========================================
   8. БЕГУЩАЯ СТРОКА (MARQUEE)
   ========================================= */
.marquee-section {
    padding: 4rem 0;
    overflow: hidden;
    background-color: #fcfcfc;
}

.marquee-text-outline {
    font-size: clamp(4rem, 8vw, 8rem);
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
    line-height: 1.1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(17, 17, 17, 0.15);
    letter-spacing: 0.02em;
}

.marquee-track-left,
.marquee-track-right {
    display: flex;
    width: max-content;
    will-change: transform;
}

.marquee-track-left { animation: marquee-scroll-left 40s linear infinite; }
.marquee-track-right { animation: marquee-scroll-right 40s linear infinite; }

@keyframes marquee-scroll-left {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}
@keyframes marquee-scroll-right {
    0% { transform: translate3d(-50%, 0, 0); }
    100% { transform: translate3d(0, 0, 0); }
}

.marquee-dot {
    display: inline-block;
    margin: 0 1.5rem;
    color: rgba(17, 17, 17, 0.15);
    -webkit-text-stroke: 0;
}

/* =========================================
   9. КОНТАКТЫ И ФОРМА
   ========================================= */
.strict-input {
    border: none;
    border-bottom: 1px solid rgba(0,0,0,0.2);
    border-radius: 0;
    background: transparent;
    padding-left: 0;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.strict-input:focus {
    border-bottom-color: #111;
    background: transparent;
}

.decor-arrow-pointer {
    position: absolute;
    right: -40px; top: 50px;
    width: 60px; height: 80px;
    stroke: #111; stroke-width: 1.5;
    fill: none;
    stroke-linecap: round; stroke-linejoin: round;
    pointer-events: none;
}

@media (max-width: 959px) {
    .decor-arrow-pointer { display: none; }
}

/* =========================================
   9. КЛИЕНТЫ (ЛОГОТИПЫ)
   ========================================= */
.client-logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    padding: 0 20px;
}

.client-logo-wrapper img {
    max-height: 80px;
    max-width: 100%;
    filter: grayscale(100%) opacity(40%);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.client-logo-wrapper:hover img {
    filter: grayscale(0%) opacity(100%);
    transform: scale(1.05);
}

.uk-slidenav {
    color: #111;
    background: rgba(255,255,255,0.8);
    border-radius: 50%;
    padding: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: background 0.3s ease;
}

.uk-slidenav:hover {
    color: #000;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* =========================================
   ТЕРМИНАЛЬНЫЙ БЕНЧМАРК В ФУТЕРЕ (TIME2SEE CORE)
   ========================================= */
.t2s-footer-terminal {
    background-color: #000000 !important;
    border-top: 1px solid #FF5C00; /* Тонкий оранжевый технологический маркер */
    font-family: 'Courier New', Courier, monospace !important;
    font-size: 0.85rem !important;
    letter-spacing: 0.02em;
    width: 100% !important;
    display: block !important;
    position: relative;
    z-index: 10;
}

.t2s-terminal-log {
    color: #ffffff !important;
}

.t2s-accent {
    color: #FF5C00 !important;
    font-weight: bold;
}

.t2s-muted-text {
    color: rgba(255, 255, 255, 0.4) !important;
    font-size: 0.75rem;
}

.t2s-terminal-spec {
    color: rgba(255, 255, 255, 0.6) !important;
    text-transform: lowercase;
}

/* Пульсирующий маркер консоли */
.t2s-blink {
    animation: t2s-console-blink 1s linear infinite;
    color: #FF5C00;
    font-weight: bold;
}

@keyframes t2s-console-blink {
    50% { opacity: 0; }
}

@keyframes t2s-console-blink {
    50% { opacity: 0; }
}

/* Адаптивность для мобильных устройств */
@media (max-width: 959px) {
    .t2s-footer-terminal {
        text-align: left !important;
        line-height: 1.5;
    }
}

/* =========================================
   ИНЖЕНЕРНОЕ МОДАЛЬНОЕ ОКНО ЗАЯВКИ
   ========================================= */
.t2s-modal-box {
    background-color: #ffffff;
    border: 1px solid #111111;
    border-radius: 0 !important;
    width: 900px;
    max-width: 95vw;
    padding: 0;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    position: relative;
}

.t2s-modal-close {
    top: 15px;
    right: 15px;
    color: #111111 !important;
    z-index: 10;
}

.t2s-modal-media {
    position: relative;
    background-color: #111111;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    overflow: hidden;
}

.t2s-modal-img-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.t2s-modal-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4 / 3;
    filter: grayscale(20%) contrast(1.1);
}

.t2s-modal-img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(17,17,17,0.2) 0%, rgba(17,17,17,0.85) 100%);
}

.t2s-modal-media-badge {
    position: relative;
    z-index: 2;
    font-family: monospace;
    font-size: 2.5rem;
    color: #FF5C00;
    letter-spacing: 0.05em;
    font-weight: 700;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.t2s-modal-media-caption {
    position: relative;
    z-index: 2;
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.4;
}

.t2s-modal-content {
    padding: 40px;
    background-color: #ffffff;
}

.t2s-input-label {
    font-family: monospace;
    font-size: 0.75rem;
    color: #777777;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 4px;
}

.t2s-form-error {
    font-size: 0.75rem;
    color: #ff3333;
    min-height: 16px;
    margin-top: 2px;
}

.t2s-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.75rem;
    color: #666666;
    line-height: 1.3;
    cursor: pointer;
}

.t2s-checkbox-label input[type="checkbox"] {
    margin-top: 2px;
    border-radius: 0;
    border: 1px solid #111111;
}

.t2s-checkbox-label input[type="checkbox"]:checked {
    background-color: #FF5C00;
    border-color: #FF5C00;
}

.t2s-status-msg {
    padding: 10px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.4;
}

.t2s-status-msg--success {
    background-color: #f0fff4;
    border-left: 3px solid #00ff66;
    color: #008033;
}

.t2s-status-msg--error {
    background-color: #fff5f5;
    border-left: 3px solid #ff3333;
    color: #cc0000;
}

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

.t2s-modal-img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 1. Инженерный градиент для читаемости текста */
    background-color: rgba(17, 17, 17, 0.4);
    background-image: 
        /* Тот самый SVG-шум без растровых картинок */
        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.12'/%3E%3C/svg%3E"),
        /* Нижнее затенение под бейджи и текст */
        linear-gradient(180deg, rgba(17, 17, 17, 0.2) 0%, rgba(17, 17, 17, 0.9) 100%);
    pointer-events: none;
    z-index: 1;
}

/* Стабилизация высоты шапки против CLS */
header {
    min-height: 80px;
    contain: layout;
}

.uk-navbar-container {
    min-height: 80px;
}

/* =========================================
   ИНЖЕНЕРНЫЙ MEGA-DROPDOWN
   ========================================= */
/* =========================================
   10. ИНЖЕНЕРНЫЙ ФУТЕР (T2S-FOOTER)
   ========================================= */
.t2s-footer {
    background-color: #0d0d0d;
    color: #ffffff;
    border-top: 3px solid #111111;
    position: relative;
    padding-top: 80px;
}

.t2s-footer-container {
    max-width: 1600px !important;
}

.t2s-brand-text {
    font-size: 1.4rem;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.t2s-footer-tag {
    display: inline-block;
    font-family: monospace;
    font-size: 0.75rem;
    color: #FF5C00;
    margin-bottom: 12px;
}

.t2s-footer-desc {
    color: #888888;
    line-height: 1.6;
    font-size: 0.85rem !important;
}

.t2s-footer-heading {
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    color: #ffffff;
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.t2s-footer-list > li {
    margin-bottom: 10px;
}

.t2s-footer-list > li > a {
    color: #aaaaaa !important;
    font-size: 0.85rem;
    text-decoration: none !important;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.t2s-footer-list > li > a:hover {
    color: #FF5C00 !important;
    transform: translateX(3px);
}

.t2s-accent-link {
    color: #FF5C00 !important;
    font-weight: 700;
}

.t2s-contact-label {
    display: block;
    font-family: monospace;
    font-size: 0.7rem;
    color: #666666;
    text-transform: uppercase;
}

.t2s-phone-link {
    font-size: 1.05rem !important;
    font-weight: 700;
    color: #ffffff !important;
}

.t2s-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: monospace;
    font-size: 0.8rem;
    font-weight: 700;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 14px;
    margin-right: 8px;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.t2s-social-btn:hover {
    border-color: #FF5C00;
    color: #FF5C00;
    background: rgba(255, 92, 0, 0.05);
}

.t2s-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 25px 0 35px 0;
    margin-top: 40px;
}

.t2s-legal-text {
    font-size: 0.75rem;
    color: #666666;
}

.t2s-legal-links a {
    color: #888888 !important;
    font-size: 0.75rem;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.t2s-legal-links a:hover,
.t2s-rkn-notice:hover strong {
    color: #FF5C00 !important;
}

.t2s-rkn-notice strong {
    color: #cccccc;
    font-weight: 600;
}

/* Модальное окно */
.t2s-modal-box {
    border: 1px solid #111111;
    border-top: 4px solid #FF5C00;
    border-radius: 0 !important;
    padding: 40px !important;
}

.t2s-modal-header {
    font-family: monospace;
    font-size: 0.75rem;
    color: #FF5C00;
}

/* Cookie панель */
.t2s-cookie-panel {
    background: #111111;
    border-top: 2px solid #FF5C00;
    padding: 15px 0;
    z-index: 1000;
}

.t2s-cookie-text {
    color: #cccccc;
    font-size: 0.8rem;
}

.t2s-cookie-text a {
    color: #FF5C00;
    text-decoration: underline;
}

/* =========================================
   ИНЖЕНЕРНЫЙ КОНТАКТНЫЙ ТЕРМИНАЛ (STATIC FORM)
   ========================================= */
.t2s-contact-email {
    font-weight: 800 !important;
    color: #111111 !important;
    letter-spacing: -0.02em;
    text-decoration: underline;
    text-decoration-color: #FF5C00;
    text-underline-offset: 6px;
    transition: color 0.2s ease;
}

.t2s-contact-email:hover {
    color: #FF5C00 !important;
}

#t2s-contact-terminal .strict-input {
    border: none;
    border-bottom: 1px solid rgba(17, 17, 17, 0.25);
    border-radius: 0;
    background: transparent;
    padding-left: 0;
    font-size: 0.95rem;
    transition: border-color 0.25s ease;
}

#t2s-contact-terminal .strict-input:focus {
    border-bottom-color: #FF5C00;
    background: transparent;
}

/* =========================================
   АВТОНОМНАЯ COOKIE-ПАНЕЛЬ (TIME2SEE STYLE)
   ========================================= */
.t2s-cookie-panel {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #111111;
    border-top: 2px solid #FF5C00;
    padding: 16px 0;
    z-index: 1000;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.35);
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    box-sizing: border-box;
}

.t2s-cookie-panel.t2s-cookie-panel--visible {
    transform: translateY(0);
    opacity: 1;
}

.t2s-cookie-tag {
    font-family: monospace;
    font-size: 0.7rem;
    font-weight: 700;
    color: #FF5C00;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
}

.t2s-cookie-text {
    color: #cccccc !important;
    font-size: 0.85rem !important;
    line-height: 1.45;
    max-width: 1100px;
}

.t2s-cookie-link {
    color: #ffffff !important;
    text-decoration: underline !important;
    text-underline-offset: 3px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.t2s-cookie-link:hover {
    color: #FF5C00 !important;
}

.t2s-cookie-btn {
    padding: 12px 28px !important;
    font-size: 0.8rem !important;
}

@media (max-width: 959px) {
    .t2s-cookie-panel {
        padding: 14px 0 18px 0;
    }
    .t2s-cookie-btn {
        width: 100%;
        margin-top: 10px;
    }
}

/* Разрешаем перенос строк и flex-перенос для юридических ссылок в футере */
.t2s-legal-links {
    flex-wrap: wrap !important;
}

.t2s-legal-links > li {
    white-space: normal !important;
}

@media (max-width: 959px) {
    .t2s-legal-links {
        margin-top: 15px !important;
        justify-content: flex-start !important;
        gap: 10px 15px;
    }
    
    .t2s-legal-links::before {
        display: none !important; /* Убираем паразитные разделители при переносе */
    }
}