﻿/* --- LAYOUT & SPACING UTILITIES --- */
.about-page-wrapper {
    overflow-x: hidden;
}

.section-lg {
    padding: 80px 0;
}

.section-md {
    padding: 64px 0;
}

/* Grids */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* Margins & Alignment */
.mb-12 {
    margin-bottom: 12px;
}

.mb-24 {
    margin-bottom: 24px;
}

.mb-40 {
    margin-bottom: 40px;
}

.mb-64 {
    margin-bottom: 64px;
}

.mt-120 {
    margin-top: 120px;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.text-center {
    text-align: center;
}

/* Text Constraints */
.align-center-max {
    max-width: 800px;
}

.align-center-max-sm {
    max-width: 700px;
}

/* --- TYPOGRAPHY EXTENSIONS --- */
.body1-bold {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    color: var(--b700);
}

.body2 {
    font-size: 14px;
    line-height: 1.6;
    color: var(--b600);
}

/* --- SECTIONS (Интеграция с global.css) --- */
.section-mission {
    background-color: var(--b100);
    border-top: 1px solid var(--b300);
    border-bottom: 1px solid var(--b300);
}

.section-activities {
    background-color: var(--p100);
}

.section-features {
    background-color: var(--b100);
}

/* --- COMPONENTS --- */
.feature-card {
    background-color: var(--b100);
    padding: 24px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--b200);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.icon-wrapper {
    width: 48px;
    height: 48px;
    background-color: var(--p100);
    color: var(--p700);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

    .icon-wrapper svg {
        width: 24px;
        height: 24px;
        fill: none;
        stroke: currentColor;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

/* Partner & Brand Colors */
.partner-logo-box {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid var(--b300);
    border-radius: 8px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 18px;
}

.brand-smirdex {
    color: #c90000; /* Корпоративный цвет стороннего бренда оставляем как исключение */
}

.brand-axis {
    color: var(--p700);
    font-weight: 600;
}

/* --- ANIMATIONS (Scroll Reveal) --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

    .reveal.active {
        opacity: 1;
        transform: translateY(0);
    }

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .grid-2, .grid-4 {
        grid-template-columns: 1fr;
    }

    .section-lg, .section-md {
        padding: 40px 0;
    }

    .mt-120 {
        margin-top: 60px;
    }
}
/* Страховка для устройств с отключенными анимациями */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Оборачиваем стили в <style>, если они находятся прямо в .cshtml файле */