/* --- Основные настройки --- */
:root {
    --primary-color: #3780FF;
    --text-dark: #191B1D;
    --text-gray: #666;
    --bg-light: #f8f9fa;
    --container-width: 1200px;
    --transition: all 0.3s ease;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* --- Кнопки --- */
.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary:hover {
    background-color: #2665d1;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(55, 128, 255, 0.3);
}

/* --- Шапка (Header) --- */
.header {
    padding: 20px 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

.header__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header__menu ul {
    display: flex;
    gap: 30px;
}

.header__menu a:hover {
    color: var(--primary-color);
}

.header__lang ul {
    display: flex;
    gap: 10px;
    font-weight: 600;
    text-transform: uppercase;
}

.header__lang .current {
    color: var(--primary-color);
}

.btn-menu {
    display: none; /* Скрыто на десктопе */
    cursor: pointer;
}

/* --- Главный блок (Hero Section) --- */
.block-head {
    position: relative;
    padding: 180px 0 100px;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-size: cover !important;
}

.head__content {
    max-width: 700px;
}

.head__pretitle {
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.head__title {
    font-size: 3rem;
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 30px;
}

/* Логотипы партнеров в Hero */
.head__partners {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    margin-top: 50px;
    opacity: 0.8;
}

.head__label {
    margin-top: 40px;
    font-size: 0.9rem;
    color: var(--text-gray);
    max-width: 500px;
}

/* --- Секция Брендов --- */
.block-brands {
    padding: 80px 0;
    background: #fff;
}

.title-primary {
    font-size: 2rem;
    margin-bottom: 40px;
    max-width: 600px;
}

.brands__row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
}

/* Сетка брендов */
.brands__slider {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
}

.brands__item-inner {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: 8px;
    padding: 20px;
    transition: var(--transition);
}

.brands__item-inner:hover {
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.brands__item-inner img {
    max-height: 50px;
    filter: grayscale(1);
    opacity: 0.6;
    transition: var(--transition);
}

.brands__item-inner:hover img {
    filter: grayscale(0);
    opacity: 1;
}

/* --- Слайдер Навигация --- */
.slider-nav {
    display: flex;
    gap: 10px;
}

.slider-prev, .slider-next {
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* --- Мобильное меню (скрыто по умолчанию) --- */
.header-mobile {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100%;
    background: #fff;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 60px 30px;
    transition: 0.4s ease;
}

.header-mobile.active {
    right: 0;
}

.show-mobile { display: none; }

/* --- Адаптивность --- */
@media (max-width: 992px) {
    .header__menu, .header__lang, .header .btn-primary {
        display: none;
    }
    .btn-menu {
        display: block;
    }
    .head__title {
        font-size: 2.2rem;
    }
    .brands__slider {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 576px) {
    .block-head {
        padding: 120px 0 60px;
    }
    .head__title {
        font-size: 1.8rem;
    }
    .brands__slider {
        grid-template-columns: repeat(2, 1fr);
    }
    .show-desktop { display: none; }
    .show-mobile { display: block; }
}