:root {
    --primary-color: #1a237e;
    --accent-color: #ffd700;
    --text-dark: #2c3e50;
    --glass-bg: rgba(255, 255, 255, 0.95);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f4f7f6;
    color: var(--text-dark);
}

/* --- TOP NAVBAR Style --- */
.navbar {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding: 0.8rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.brand-wrapper {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 15px;
}

.brand-text-group {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-type {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #7f8c8d;
    font-weight: 700;
}

.brand-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.nav-link {
    font-weight: 600;
    color: var(--text-dark) !important;
    margin: 0 12px;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
    /* Для позиционирования подчеркивания */
}

/* Анимация подчеркивания */
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 50%;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
    /* Подчеркивание появляется на 80% ширины ссылки */
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Social Icons */
.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #eee;
    margin-left: 8px;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px);
    background: var(--primary-color);
    color: white !important;
}

.icon-tg:hover {
    background: #4c94ff;
    color: black;
}

.icon-wa:hover {
    background: #25d365;
}

.icon-max:hover {
    background: linear-gradient(66deg, #00f, #4cf, #53e, #93d);
}

.navbar-toggler {
    box-shadow: none !important;
    outline: none !important;
}

/* Размер для шрифтов */

.fs-11 {
    font-size: 11px !important;
}

.fs-12 {
    font-size: 12px !important;
}

.fs-13 {
    font-size: 13px !important;
}

.fs-14 {
    font-size: 14px !important;
}

.fs-15 {
    font-size: 15px !important;
}

.fs-16 {
    font-size: 16px !important;
}

.fs-17 {
    font-size: 17px !important;
}

.fs-18 {
    font-size: 18px !important
}

/***************************** FOOTER *************************************/

.footer-second-menu>li>a,
.footer-menu>li>a {
    color: #94a1af;
    text-decoration: none;
    line-height: 1.8;
}

.footer-second-menu>li>a:hover,
.footer-menu>li>a:hover {
    color: #fff;
}

.footer-second-menu>li,
.footer-menu>li {
    list-style-type: none;
    line-height: 1.6;
}






/* Mobile Adjustments */
@media (max-width: 991.98px) {

    .navbar-collapse {
        /*     background: white; */
        /*  margin-top: 1rem;
        padding: 1.5rem; */
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 100;
        border-bottom-left-radius: 20px;
        border-bottom-right-radius: 20px;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    }

    .topMenuWrapper {
        background-color: #fff;
        flex-direction: column;
        justify-content: center;
        margin-bottom: 15px;
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
    }

    .nav-item {
        width: 100%;
        text-align: center;
    }

    .nav-link {
        padding: 12px 0;
        border-bottom: 1px solid #f8f9fa;
    }

    .nav-link::after {
        display: none;
    }

    /* Отключаем линию на мобильных, там есть граница */
    .social-group {
        justify-content: center;
        margin-top: 1.5rem;
    }
}



/* ------------- HERO SECTION ---------- */
/* --- Hero Section без градиента --- */
.hero {
    position: relative;
    padding: 80px 0 80px;
    background-image:
        url("data:image/svg+xml,%3Csvg width='1440' height='490' viewBox='0 0 1440 490' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1440 490V0c-166.75 34.975-131.97 212.53-355.27 212.53-170.302 0-78.76 104.177-311.321 104.177-319.444 0-288.975 148.468-585.984 148.468h-6.234c-135.926 0-181.63-103.519-142.292-205.588C99.793 101.585 29.899 44.949 0 28.78V490h1440z' fill='%230000002f' /%3E%3C/svg%3E");
    background-position: bottom center;
    background-repeat: no-repeat;
    background-size: 100% auto;
    text-align: center;
    color: #ffffff;
}

.hero-blue {
    background-color: #1E293B;
}

.hero-red {
    background-color: #ff2929;
}

.hero-green {
    background-color: #25d365;
}

.hero-inner {
    min-height: 30vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 16px;
}

.btn-custom {
    padding: 12px 35px;
    border-radius: 6px;
    font-weight: 500;
    background-color: #0EA5E9;
    color: #fff;
    border: none;
    transition: all 0.3s ease;
}

.btn-custom:hover, .btn-custom:active, .btn-custom:focus {
     transform: translateY(-1px); 
     box-shadow: 0 4px 12px rgb(0, 0, 0); 
     background-color: #0284C7 !important;
}

.btn:first-child:active  {
     background-color: #0369A1;
}



/* -------------- FOOTER ------------- */

footer {
    background-color: #1a1a2e;
    color: #b0b0c0;
    font-size: 14px;
    line-height: 1.8;
}

.footer-inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 16px 0;
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
}

@media (min-width: 375px) {
    .footer-inner {
        padding: 40px 20px 0;
        padding-left: max(20px, env(safe-area-inset-left));
        padding-right: max(20px, env(safe-area-inset-right));
    }
}

@media (min-width: 768px) {
    .footer-inner {
        padding: 48px 20px 0;
    }

    .cookie-banner {
        flex-direction: column;
        text-align: center;
    }

    .cookie-text {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

.footer-main {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 600px) {
    .footer-main {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
}

.footer-info h4 {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 12px;
}

.footer-info p {
    margin: 0 0 6px;
    color: #fff;
    font-size: 14px;
}

.footer-info a {
    color: #fff;
}

.footer-info a:hover {
    color: #fff;
}

.footer-contacts-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

@media (min-width: 600px) {
    .footer-contacts-block {
        align-items: flex-end;
    }
}

.footer-contacts-block span {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
}

.footer-icons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-icons {
    display: flex;
    align-items: center;
    gap: 5px;
}

.header-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: transparent;
    transition: background-color 0.2s ease-in-out;
}

.footer-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    transition: background-color 0.2s ease-in-out;
}

.footer-icons a:hover {
    background-color: rgba(255, 255, 255, 0.18);
    opacity: 1;
}

.footer-icons svg {
    width: 24px;
    height: 24px;
}

.footer-icons .icon-telegram,
.header-icons .icon-telegram {
    fill: #26A5E4;
}

.footer-icons .icon-whatsapp,
.header-icons .icon-whatsapp {
    fill: #25D366;
}

.footer-icons .icon-max-img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.footer-copy {
    text-align: center;
    padding: 20px 0;
    font-size: 13px;
    color: #fff;
}

/* Политика конфиденциальности */
/* --- Уведомление о куки --- */
.cookie-banner {
    position: fixed;
    bottom: -200px;
    /* left: 50%;
    transform: translateX(-50%) translateY(150%);
    width: calc(100% - 40px);
    max-width: 500px;*/
    left: 0px;
    right: 0px;
    margin: 0 auto;
    padding: 15px 20px;

    background: #ffffff;
    border-radius: 0px;
    /*  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); */

    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #e4e4e4;
}

.cookie-banner.show {
    transform: translateY(-200px) translateX(0);
}

.cookie-text {
    font-size: 14px;
    color: #4b5563;
    margin-right: 20px;
    line-height: 1.4;
    flex-direction: column;
    text-align: center;
}

.cookie-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 24px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
}

.cookie-btn:hover {
    opacity: 0.9;
}