/* =========================================
   СТРАНИЦА «О КОМПАНИИ» (ABOUT.CSS)
   ========================================= */

.t2s-about-page {
    background-color: #fcfcfc;
    min-height: 80vh;
}

.t2s-about-page .uk-container-large {
    max-width: 1600px !important;
}

.t2s-about-hero-title {
    letter-spacing: -0.03em;
    margin-top: 12px;
    margin-bottom: 16px;
}

.t2s-about-hero-lead {
    max-width: 880px;
    font-size: 1.25rem;
    line-height: 1.45;
}

.t2s-hero-manifest-quote {
    background: #ffffff;
    border-left: 4px solid #FF5C00;
    padding: 18px 24px;
    font-weight: 600;
    font-size: 1.05rem;
    color: #111111;
    max-width: 880px;
    box-shadow: 6px 6px 0px rgba(17, 17, 17, 0.03);
}

/* Трио карточек */
.t2s-trio-grid {
    margin-top: 40px;
}

.t2s-trio-card {
    padding: 35px 30px;
    display: flex;
    flex-direction: column;
}

.t2s-trio-tag {
    font-family: monospace;
    font-size: 0.75rem;
    font-weight: 700;
    color: #888888;
    margin-bottom: 12px;
    letter-spacing: 0.05em;
}

.t2s-trio-card--accent {
    background-color: #111111 !important;
    color: #ffffff;
    border-color: #111111;
}

.t2s-trio-card--accent .uk-h4 {
    color: #ffffff;
}

.t2s-trio-card--accent .t2s-trio-tag {
    color: #FF5C00;
}

/* Манифест и диагностика */
.t2s-diag-quote {
    background-color: #f7f7f9;
    border-left: 2px solid #111111;
    padding: 12px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #222222;
}

.t2s-manifest-decision-box {
    background-color: #ffffff;
    padding: 40px;
}

.t2s-manifest-points {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.t2s-manifest-point {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    font-size: 0.95rem;
    line-height: 1.45;
}

.t2s-point-num {
    background: #111111;
    color: #ffffff;
    font-weight: 800;
    font-size: 0.8rem;
    padding: 4px 8px;
    font-family: monospace;
    flex-shrink: 0;
}

/* Спецификация Semantic Twin */
.t2s-spec-wrapper {
    background: #ffffff;
    border: 1px solid #111111;
    padding: 60px;
    position: relative;
}

.t2s-capex-note {
    border-top: 1px solid rgba(17, 17, 17, 0.1);
    padding-top: 20px;
}

.t2s-capex-tag {
    font-family: monospace;
    font-size: 0.75rem;
    font-weight: 700;
    color: #FF5C00;
    margin-bottom: 6px;
}

.t2s-tech-console-box {
    background-color: #111111;
    border: 1px solid #111111;
    color: #ffffff;
}

.t2s-console-head {
    background-color: #1a1a1a;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.t2s-console-dots {
    display: flex;
    gap: 6px;
}

.t2s-console-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.t2s-console-title {
    font-family: monospace;
    font-size: 0.75rem;
    color: #FF5C00;
    letter-spacing: 0.05em;
}

.t2s-console-body {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.t2s-arch-step__title {
    font-family: monospace;
    font-weight: 700;
    font-size: 0.9rem;
    color: #ffffff;
    margin-bottom: 6px;
}

.t2s-arch-step__text {
    font-size: 0.85rem;
    color: #cccccc;
    line-height: 1.45;
}

/* R&D Карточки */
.t2s-rnd-badge {
    font-family: monospace;
    font-size: 0.7rem;
    font-weight: 700;
    color: #FF5C00;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.t2s-rnd-badge--dark {
    color: #111111;
}

.t2s-card-morda {
    background-color: #f7f7f9;
}

/* Принципы (4 колонки) */
.t2s-principle-row {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 30px;
    background: #ffffff;
    border: 1px solid #111111;
    height: 100%;
    box-sizing: border-box;
}

.t2s-principle-num {
    background: #FF5C00;
    color: #ffffff;
    font-family: monospace;
    font-weight: 800;
    font-size: 1rem;
    padding: 6px 12px;
    flex-shrink: 0;
}

/* Карточки экспертов */
.t2s-expert-card {
    padding: 35px 30px;
}

.t2s-expert-header {
    margin-bottom: 15px;
}

.t2s-expert-role-badge {
    font-family: monospace;
    font-size: 0.7rem;
    font-weight: 700;
    color: #888888;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 6px;
}

.t2s-expert-role-badge--accent {
    color: #FF5C00;
}

.t2s-expert-post {
    font-size: 0.85rem;
    font-weight: 600;
    color: #666666;
    margin-top: 4px;
}

/* Плейсхолдер фотоколлажа */
.t2s-photo-collage-placeholder {
    background-color: #111111;
    border: 1px dashed rgba(255, 92, 0, 0.4);
    padding: 80px 40px;
    text-align: center;
    color: #ffffff;
    overflow: hidden;
}

.t2s-placeholder-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
}

.t2s-placeholder-inner {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

/* Интерактивный таймлайн */
.t2s-timeline-wrapper {
    display: flex;
    flex-direction: column;
    border-left: 2px solid #111111;
    margin-left: 20px;
}

.t2s-timeline-item {
    position: relative;
    padding-left: 40px;
    padding-bottom: 40px;
}

.t2s-timeline-item:last-child {
    padding-bottom: 0;
}

.t2s-timeline-item::before {
    content: '';
    position: absolute;
    left: -7px;
    top: 4px;
    width: 12px;
    height: 12px;
    background: #ffffff;
    border: 2px solid #111111;
}

.t2s-timeline-item--current::before {
    background: #FF5C00;
    border-color: #FF5C00;
}

.t2s-timeline-year {
    font-family: monospace;
    font-weight: 800;
    font-size: 1.2rem;
    color: #FF5C00;
    margin-bottom: 8px;
}

/* CTA Карточка */
.t2s-about-cta-card {
    background-color: #ffffff;
    padding: 50px;
}

@media (max-width: 959px) {
    .t2s-spec-wrapper {
        padding: 30px 20px;
    }
    .t2s-about-cta-card {
        padding: 30px 20px;
    }
    .t2s-timeline-wrapper {
        margin-left: 10px;
    }
    .t2s-timeline-item {
        padding-left: 25px;
    }
}

/* =========================================
   ИНЖЕНЕРНЫЙ ФОТОКОЛЛАЖ (MOSAIC PANEL)
   ========================================= */

.t2s-team-mosaic-panel {
    background-color: #111111;
    border: 1px solid #111111;
    margin-top: 40px;
    position: relative;
    overflow: hidden;
}

/* Верхняя консольная плашка */
.t2s-mosaic-header {
    background-color: #1a1a1a;
    padding: 12px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #FF5C00;
}

.t2s-mosaic-status {
    display: flex;
    align-items: center;
    gap: 10px;
}

.t2s-mosaic-terminal-title {
    font-family: monospace;
    font-size: 0.75rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.05em;
}

.t2s-mosaic-counter {
    font-family: monospace;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
}

/* Монолитная CSS Grid сетка */
.t2s-mosaic-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 4px;
    background-color: #1a1a1a;
    padding: 4px;
}

/* Ячейка кадра */
.t2s-mosaic-cell {
    position: relative;
    background-color: #0c0c0c;
    overflow: hidden;
    height: 220px;
}

/* Распределение колонок: Ряд 1 (5 картинок = 2+3+2+3+2 = 12) */
.t2s-mosaic-cell:nth-child(1) { grid-column: span 2; }
.t2s-mosaic-cell:nth-child(2) { grid-column: span 3; }
.t2s-mosaic-cell:nth-child(3) { grid-column: span 2; }
.t2s-mosaic-cell:nth-child(4) { grid-column: span 3; }
.t2s-mosaic-cell:nth-child(5) { grid-column: span 2; }

/* Распределение колонок: Ряд 2 (4 картинки = 3+3+3+3 = 12) */
.t2s-mosaic-cell:nth-child(6) { grid-column: span 3; height: 260px; }
.t2s-mosaic-cell:nth-child(7) { grid-column: span 3; height: 260px; }
.t2s-mosaic-cell:nth-child(8) { grid-column: span 3; height: 260px; }
.t2s-mosaic-cell:nth-child(9) { grid-column: span 3; height: 260px; }

/* Картинки и аппаратное кадрирование */
.t2s-mosaic-cell img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: grayscale(35%) contrast(1.1);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
    display: block;
}

/* Технический штамп локации */
.t2s-mosaic-tag {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 2;
    background-color: rgba(17, 17, 17, 0.85);
    color: #FF5C00;
    font-family: monospace;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 6px;
    letter-spacing: 0.05em;
    pointer-events: none;
    backdrop-filter: blur(2px);
}

/* Наведение: возврат цвета и лёгкий зум */
.t2s-mosaic-cell:hover img {
    filter: grayscale(0%) contrast(1.05);
    transform: scale(1.04);
}

/* Мобильная адаптивность */
@media (max-width: 959px) {
    .t2s-mosaic-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 4px;
    }

    .t2s-mosaic-cell,
    .t2s-mosaic-cell:nth-child(n) {
        grid-column: span 1 !important;
        height: 180px !important;
    }

    /* 9-й кадр растягиваем на всю ширину снизу */
    .t2s-mosaic-cell:nth-child(9) {
        grid-column: span 2 !important;
    }
}