﻿/* --- BRAND HERO --- */
.brand-hero {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 24px;
    margin-bottom: 56px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--b200);
}

.brand-logo-box {
    width: 280px;
    height: 120px;
    background-color: #ffffff;
    border: none;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    flex-shrink: 0;
}

    .brand-logo-box img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

/* Современный паттерн sr-only для SEO-заголовков */
.brand-title {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.brand-subtitle {
    font-size: 20px;
    font-weight: 500;
    color: var(--b700);
    max-width: 700px;
    margin: 0;
    line-height: 1.5;
}

/* --- CONTENT GRID --- */
.brand-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 80px;
}

.brand-about h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--b700);
    margin-bottom: 24px;
}

/* Стили для списков, т.к. используется Html.Raw */
.brand-desc-wrapper p,
.brand-desc-wrapper ul,
.brand-desc-wrapper ol {
    font-size: 16px;
    color: var(--b600);
    line-height: 1.6;
    margin-bottom: 16px;
}

.brand-desc-wrapper ul,
.brand-desc-wrapper ol {
    padding-left: 24px;
}

/* Кнопки */
.brand-actions {
    display: flex;
    gap: 16px;
    margin-top: 40px;
    flex-wrap: wrap;
}

/* ИСПРАВЛЕНО: Вернули все структурные стили для прозрачной кнопки, чтобы она не ломалась */
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: var(--radius-btn, 8px); /* Добавил fallback на 8px на всякий случай */
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    color: var(--b700);
    border: 1px solid var(--b700); /* 1px, чтобы высота была ровно как у черной кнопки */
    text-decoration: none;
    transition: all 0.2s ease;
}

@media (hover: hover) {
    .btn-outline:hover {
        border-color: var(--b700);
        background-color: var(--b700);
        color: #fff;
    }
}

/* Фото */
.brand-image-wrapper {
    width: 100%;
    aspect-ratio: 4 / 3;
    background-color: var(--b200);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--b500);
    text-align: center;
    padding: 24px;
}

    .brand-image-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

/* --- FAST FACTS / FEATURES --- */
.brand-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 80px;
    background-color: var(--b200);
    padding: 48px;
    border-radius: 16px;
    text-align: center;
}

.feature-item h3 {
    font-size: 40px;
    font-weight: 800;
    color: var(--b700);
    margin-bottom: 8px;
    line-height: 1;
}

.feature-item p {
    color: var(--b600);
    font-size: 16px;
    margin: 0;
    font-weight: 500;
}

/* --- МОБИЛЬНАЯ ВЕРСИЯ --- */
@media (max-width: 992px) {
    .brand-hero {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 24px;
        padding-bottom: 32px;
    }

    .brand-logo-box {
        width: 100%;
        max-width: 280px;
        height: 100px;
        padding: 16px;
    }

    .brand-subtitle {
        font-size: 16px;
    }

    .brand-content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 60px;
    }

    .brand-about {
        order: 1;
    }

    .brand-image-wrapper {
        order: 2;
    }

    .brand-features {
        grid-template-columns: 1fr;
        padding: 32px 24px;
        gap: 32px;
    }

    .feature-item h3 {
        font-size: 32px;
    }

    .brand-actions {
        flex-direction: column;
    }

        .brand-actions .btn,
        .brand-actions .btn-outline {
            width: 100%;
            text-align: center;
        }
}
