/* =========================================================================
   BAU co. — Общий CSS
   top-bar, меню, футер, кнопки, адаптив
   ========================================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0c0c0c;
    color: #E8DFD1;
    line-height: 1.5;
}

/* =========================================================================
   ФОН СТРАНИЦЫ
   ========================================================================= */

.page-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a0a0a;
    z-index: -2;
}

/* =========================================================================
   TOP BAR (логотип, переключатель языка, бургер)
   ========================================================================= */

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 28px 28px 0 28px;
    margin-bottom: 20px;
    position: relative;
    z-index: 30;
}

.logo {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: -0.3px;
    color: #E8DFD1;
    text-decoration: none;
}

.right-group {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* =========================================================================
   ПЕРЕКЛЮЧАТЕЛЬ ЯЗЫКА
   ========================================================================= */

.lang-custom {
    position: relative;
}

.lang-current {
    font-size: 0.9rem;
    font-weight: 500;
    color: #E8DFD1;
    cursor: pointer;
    background: transparent;
    padding: 4px 8px;
    border-radius: 6px;
    transition: 0.2s;
}

.lang-current:hover {
    background: rgba(232, 223, 209, 0.15);
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(30, 33, 36, 0.95);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    padding: 8px 0;
    margin-top: 6px;
    min-width: 70px;
    display: none;
    flex-direction: column;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    border: 1px solid rgba(232, 223, 209, 0.3);
    z-index: 50;
}

.lang-dropdown a {
    color: #E8DFD1;
    text-decoration: none;
    padding: 8px 16px;
    font-size: 0.85rem;
    transition: 0.2s;
    display: block;
}

.lang-dropdown a:hover {
    background: rgba(232, 223, 209, 0.15);
}

.lang-custom.open .lang-dropdown {
    display: flex;
}

/* =========================================================================
   БУРГЕР-МЕНЮ
   ========================================================================= */

.burger {
    display: flex;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: transparent;
    padding: 6px 0;
}

.burger span {
    width: 26px;
    height: 2px;
    background: #E8DFD1;
    border-radius: 2px;
    transition: 0.3s;
}

/* =========================================================================
   МОБИЛЬНОЕ МЕНЮ (OVERLAY + SLIDE-IN)
   ========================================================================= */

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 33, 36, 0.92);
    backdrop-filter: blur(5px);
    z-index: 95;
    opacity: 0;
    visibility: hidden;
    transition: 0.25s;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 280px;
    height: 100vh;
    background: rgba(20, 22, 25, 0.98);
    backdrop-filter: blur(14px);
    z-index: 100;
    transition: right 0.3s ease;
    padding: 100px 32px 40px;
    display: flex;
    flex-direction: column;
    gap: 28px;
    border-left: 1px solid rgba(232, 223, 209, 0.2);
}

.mobile-menu.open {
    right: 0;
}

.mobile-menu a {
    color: #E8DFD1;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 400;
    transition: 0.2s;
    letter-spacing: -0.2px;
}

.mobile-menu a:hover {
    opacity: 0.8;
    transform: translateX(5px);
}

/* =========================================================================
   СОЦИАЛЬНЫЕ ССЫЛКИ (ФУТЕР)
   ========================================================================= */

.footer-social {
    max-width: 1280px;
    margin: 20px auto 0;
    padding: 20px 28px 40px;
    border-top: 1px solid rgba(232, 223, 209, 0.2);
    text-align: left;
}

.social-links-left {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: flex-start;
    background: transparent;
}

.social-links-left a {
    color: #E8DFD1;
    font-size: 1.3rem;
    transition: 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.social-links-left a:hover {
    color: #f5d5aa;
    transform: translateY(-2px);
}

.social-divider {
    color: #E8DFD1;
    opacity: 0.5;
    font-size: 1rem;
    margin: 0 2px;
}

/* =========================================================================
   SCROLL-TOP КНОПКА
   ========================================================================= */

.scroll-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    background: rgba(232, 223, 209, 0.2);
    backdrop-filter: blur(4px);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    transition: 0.2s;
    border: 1px solid rgba(232, 223, 209, 0.4);
}

.scroll-top:hover {
    background: rgba(232, 223, 209, 0.4);
    transform: translateY(-2px);
}

.scroll-top i {
    color: #E8DFD1;
    font-size: 1.2rem;
}

/* =========================================================================
   WHATSAPP КНОПКА
   ========================================================================= */

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(37, 211, 102, 0.2);
    border: 1px solid rgba(37, 211, 102, 0.6);
    padding: 10px 24px;
    border-radius: 40px;
    text-decoration: none;
    color: #25D366;
    font-size: 0.85rem;
    font-weight: 500;
    transition: 0.2s;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
}

.whatsapp-btn:hover {
    background: rgba(37, 211, 102, 0.4);
    transform: translateY(-2px);
    color: #ffffff;
}

.whatsapp-btn i {
    font-size: 1rem;
}

/* =========================================================================
   АДАПТИВ (760px)
   ========================================================================= */

@media (max-width: 760px) {
    .top-bar {
        padding: 20px 20px 0 20px;
    }

    .logo {
        font-size: 1.3rem;
    }

    .footer-social {
        padding: 20px 20px 30px;
    }

    .social-links-left a {
        font-size: 1.2rem;
    }

    .scroll-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }

    .whatsapp-btn {
        padding: 8px 18px;
        font-size: 0.8rem;
    }
}