﻿.navbar {
    height: 70px;
    min-height: 70px;
    z-index: 1030;
    margin: 25px 40px 0 40px;
    border-radius: 15px;
}

    .navbar .container {
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

.navbar-brand {
    height: 40px;
    display: flex;
    align-items: center;
    margin-left: 40px;
    margin-bottom: 10px;
}

    .navbar-brand img {
        height: 45px;
        width: auto;
    }

.navbar-nav .nav-item {
    position: relative;
    display: flex;
    align-items: center;
    font-family: Bahnschrift, sans-serif;
    font-size: 26px;
}

.navbar-nav .nav-link {
    min-height: auto;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    background: none !important;
    border: none !important;
    padding: 8px 16px;
    margin-top: 5px;
    color: #003c96 !important;
    font-weight: 500;
    position: relative;
}

/* Подчёркивание для пунктов меню */
.navbar-nav .nav-item::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 50%;
    width: 0;
    height: 3px;
    background: #FFD700;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-item:hover::after {
    width: calc(100% - 20px);
}

.navbar-nav .nav-link:hover {
    color: #002c6d !important;
    background: none !important;
    transform: none !important;
}

.nav-phone-container {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-phone-link {
    transition: all 0.3s ease;
    background: none !important;
    border: none !important;
    padding: 8px 16px;
    margin-top: 5px;
    text-decoration: none !important;
    color: #003c96 !important;
    font-weight: 600;
    white-space: nowrap;
}

.nav-phone-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: #FFD700;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-phone-container:hover::after {
    width: calc(100% - 20px);
}

.nav-phone-link:hover {
    color: #002c6d !important;
    background: none !important;
}

.navbar-collapse {
    flex-grow: 0;
}

.navbar-nav {
    align-items: center;
    margin: 0;
}

.footer-section {
    padding: 60px 40px 40px 40px;
    background: linear-gradient(135deg, #003c96 0%, #002c6d 100%);
    color: white;
    border-radius: 54px 54px 0 0;
    margin-top: 40px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    justify-content: space-between;
}

.footer-column {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.footer-logo {
    margin-bottom: 20px;
}

    .footer-logo img {
        height: 50px;
        width: auto;
        filter: brightness(0) invert(1);
    }

.footer-company {
    margin-bottom: 25px;
}

.company-name {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #ffba00;
}

.company-info {
    font-size: 1.3rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

    .company-info p {
        margin-bottom: 8px;
    }

.footer-disclaimer {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    line-height: 1.4;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    justify-content: center;
}

.footer-nav-btn {
    background: rgba(255, 255, 255, 0.1);
    /*border: 2px solid #ffba00;*/
    color: white;
    font-weight: 600;
    padding: 14px 30px;
    border-radius: 12px;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    font-size: 1.4rem;
    min-width: 180px;
}

    .footer-nav-btn:hover {
        background: #ffba00;
        color: #000;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(255, 186, 0, 0.3);
    }

.footer-contact {
    text-align: right;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.contact-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffba00;
    margin-bottom: 20px;
}

.footer-phone {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    margin-bottom: 25px;
    transition: all 0.3s ease;
    display: inline-block;
}

    .footer-phone:hover {
        color: #ffba00;
        transform: scale(1.05);
    }

.footer-social {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: auto;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid #ffba00;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

    .social-link:hover {
        background: #ffba00;
        transform: translateY(-2px);
    }

    .social-link img {
        width: 24px;
        height: 24px;
        filter: brightness(0) invert(1);
    }

    .social-link:hover img {
        filter: brightness(0);
    }

@media (max-width: 1199.98px) {
    .navbar {
        margin: 20px 30px 0 30px;
    }

    .navbar-brand {
        margin-left: 30px;
    }

        .navbar-brand img {
            height: 40px;
        }

    .nav-phone-container {
        display: none;
    }

    .navbar-collapse .nav-phone-container {
        display: flex;
        width: 100%;
        justify-content: center;
        margin-top: 20px;
        padding-top: 20px;
        border-top: 2px solid #ffba00;
    }
    .footer-section {
        padding: 50px 35px 35px 35px;
    }

    .footer-container {
        gap: 40px;
    }

    .footer-nav-btn {
        padding: 12px 25px;
        font-size: 1.3rem;
        min-width: 160px;
    }

    .footer-phone {
        font-size: 1.8rem;
    }
}

@media (max-width: 991.98px) {
    .navbar {
        margin: 15px 20px 0 20px;
        height: 60px;
        min-height: 60px;
    }

    .navbar-brand {
        margin-left: 20px;
        margin-bottom: 8px;
    }

        .navbar-brand img {
            height: 35px;
        }
    /* Бургер-меню */
    .navbar-collapse {
        position: fixed;
        top: 85px;
        left: 20px;
        right: 20px;
        background: white;
        padding: 25px;
        border-radius: 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        z-index: 1020;
        border: 2px solid #ffba00;
    }

    .navbar-nav {
        flex-direction: column;
        gap: 15px;
    }

        .navbar-nav .nav-item {
            width: 100%;
            justify-content: center;
        }

        .navbar-nav .nav-link {
            margin-top: 0;
            padding: 15px 25px;
            font-size: 1.4rem;
            background: #f8f9fa !important;
            border-radius: 10px;
            text-align: center;
            width: 100%;
        }

        .navbar-nav .nav-item::after {
            display: none;
        }

        .navbar-nav .nav-link:hover {
            background: #e9ecef !important;
        }
    /* Номер телефона в бургер-меню */
    .nav-phone-container {
        display: flex;
        width: 100%;
        justify-content: center;
        margin-top: 20px;
        padding-top: 20px;
        border-top: 2px solid #ffba00;
    }

    .nav-phone-link {
        margin-top: 0;
        padding: 15px 25px;
        font-size: 1.4rem;
        background: #ffba00 !important;
        color: #000 !important;
        border-radius: 10px;
        text-align: center;
        width: 100%;
        font-weight: 700;
    }

    .nav-phone-container::after {
        display: none;
    }

    .nav-phone-link:hover {
        background: #ffed4a !important;
    }

    .footer-section {
        padding: 40px 30px 30px 30px;
        border-radius: 40px 40px 0 0;
    }

    .footer-container {
        flex-direction: column;
        gap: 40px;
    }

    .footer-column {
        text-align: center;
    }

    .footer-nav {
        order: -1;
    }

    .footer-contact {
        text-align: center;
        order: 1;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-disclaimer {
        text-align: center;
        margin-top: 30px;
    }

    .footer-nav-btn {
        min-width: 200px;
    }
}

@media (max-width: 575.98px) {
    .navbar {
        margin: 10px 15px 0 15px;
        height: 55px;
        min-height: 55px;
        border-radius: 12px;
    }

    .navbar-brand {
        margin-left: 15px;
    }

        .navbar-brand img {
            height: 30px;
        }

    .navbar-toggler {
        padding: 0.25rem 0.5rem;
        font-size: 1.2rem;
    }

    .navbar-collapse {
        top: 75px;
        left: 15px;
        right: 15px;
        padding: 20px;
    }

    .navbar-nav .nav-link {
        padding: 12px 20px;
        font-size: 1.2rem;
    }

    .nav-phone-link {
        padding: 12px 20px;
        font-size: 1.2rem;
    }

    .footer-section {
        padding: 30px 20px 25px 20px;
        border-radius: 30px 30px 0 0;
        margin-top: 30px;
    }

    .footer-logo img {
        height: 40px;
    }

    .company-name {
        font-size: 1.4rem;
    }

    .company-info {
        font-size: 1.1rem;
    }

    .footer-nav-btn {
        padding: 10px 20px;
        font-size: 1.2rem;
        min-width: 180px;
    }

    .contact-title {
        font-size: 1.6rem;
    }

    .footer-phone {
        font-size: 1.6rem;
    }

    .social-link {
        width: 40px;
        height: 40px;
    }

        .social-link img {
            width: 20px;
            height: 20px;
        }

    .footer-disclaimer {
        font-size: 1rem;
        padding-top: 15px;
    }
}