/* Убираем отступы и поля у всех элементов */
html,
body {
    height: 100%;
    margin: 0;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Убираем стили списков */
ul,
ol {
    list-style: none;
}

/* Убираем стили у ссылок */
a {
    text-decoration: none;
    color: inherit;
}

/* Убираем стили у заголовков */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: normal;
}

/* Убираем курсив у тега address и других */
address,
cite,
dfn,
em,
var {
    font-style: normal;
}

/* Уравниваем поведение блоков */
article,
aside,
footer,
header,
nav,
section,
main,
figure,
figcaption {
    display: block;
}

/* Убираем рамки у изображений и устанавливаем адаптивность */
img {
    border: 0;
    max-width: 100%;
    height: auto;
    display: block;
}

/* Сброс инпутов и кнопок */
input,
button,
textarea,
select {
    font: inherit;
    border: none;
    outline: none;
    background: none;
}

/* Убираем выделение при нажатии (можно убрать, если нужно) */
button {
    cursor: pointer;
    background: none;
}

/* Сброс таблиц */
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* Установка базовых стилей body */
body {
    background-color: #fff;
    color: #000;
}
/* ===== language switcher ===== */
.header_lang {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--text);
    text-transform: uppercase;
    position: relative;
    cursor: pointer;
    z-index: 50;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
}

.header_lang-img {
    width: 15px;
    height: 15px;
    object-fit: contain;
    flex-shrink: 0;
}

.header_lang-text {
    color: var(--text);
    font-family: 'Gilroy', sans-serif;
    font-size: 16px;
    line-height: 1;
    text-transform: uppercase;
}

.lang-arrow {
    width: 12px;
    height: 12px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.lang-arrow.active {
    transform: rotate(180deg);
}

.lang-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: auto;
    min-width: 60px;
    padding: 10px 0;
    margin: 0;
    list-style: none;
    background: var(--dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: none;
    border-radius: 0;
    z-index: 100;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(5px);
    transition: 0.3s all ease;
}

.lang-dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.lang-dropdown-menu li {
    margin: 0;
    padding: 0;
}

.lang-dropdown-menu a {
    display: block;
    padding: 8px 15px;
    text-align: center;
    text-decoration: none;
    color: var(--text);
    font-family: 'Gilroy', sans-serif;
    font-size: 14px;
    line-height: 1;
    text-transform: uppercase;
    background: transparent;
    transition:
        background 0.3s ease,
        color 0.3s ease;
}

.lang-dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.05);
}

.lang-dropdown-menu a.active {
    color: var(--text-grey);
}

.gtranslate_hidden_wrapper {
    position: absolute;
    left: -9999px;
    top: 0;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 768px) {
    .header_lang-text {
        font-size: 20px;
        letter-spacing: 0.1em;
    }
}
