body {
    padding-top: 80px;
}

/* Лого */
.navbar-brand {
    font-weight: bold;
    font-size: 22px;
}

/* HERO */
.hero {
    height: 100vh;
    background: url("../images/stirkakovrov.jpg") center center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
rgba(0,0,0,0.65),
rgba(0,0,0,0.55)
);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(26px, 5vw, 48px);
    font-weight: bold;
}

.hero p {
    font-size: 20px;
    margin-top: 15px;
    margin-bottom: 10px;
}

.btn-custom {
    padding: 12px 30px;
    font-size: 18px;
    margin: 10px;
}

/* ===== NAVBAR ===== */

.custom-navbar {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
    padding: 19px 0;
}

.nav-link {
    margin: 0 15px;
    font-weight: 500;
    transition: 0.3s;
}

.nav-link:hover {
    color: #0d6efd !important;
}

/* При скролле темнее */
.custom-navbar.scrolled {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

/* Instagram цветной */
.instagram-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.instagram-icon i {
    font-size: 24px;
    background: radial-gradient(circle at 30% 107%, 
        #fdf497 0%, 
        #fdf497 5%, 
        #fd5949 45%, 
        #d6249f 60%, 
        #285AEB 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.phones {
    display: flex;
    align-items: center;
}

.phone-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
    transition: 0.3s;
}

.phone-link:hover {
    color: #0d6efd;
}

.contacts-block {
    display: flex;
    align-items: center;
    gap: 20px;
}

@media (max-width: 991px) {

    .navbar-nav {
        text-align: left;
    }

    .contacts-block {
        align-items: flex-start;
        text-align: left;
    }

    .phone-link {
        text-align: left;
    }

}

@media (max-width: 768px) {
    .hero {
        height: 85vh;
        padding: 20px;
    }

    .hero p {
        font-size: 16px;
    }

    .btn-custom {
        width: 100%;
        margin: 8px 0;
    }
}

.offcanvas {
    width: 100% !important;
}

.offcanvas-header {
    display: flex;
    justify-content: flex-end;
}

.offcanvas .nav-link {
    font-size: 22px;
    margin-bottom: 10px;
}

.offcanvas .phone-link {
    font-size: 18px;
}

.hero-geo-badge {
    display: inline-block;
    margin-top: 0;         /* убрали лишнее */
    margin-bottom: 20px;
    padding: 8px 20px;

    font-size: 16px;
    font-weight: 500;

    color: #ffffff;

    border: 1.5px solid rgba(255, 255, 255, 0.6);
    border-radius: 40px;

    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(6px);

    transition: 0.3s ease;
}

.hero-geo-badge:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.9);
}

/* Для мобильного меню - иконка слева */
.mobile-instagram {
    display: inline-block;
    justify-content: flex-start;
    margin-left: 0;
}

.mobile-instagram i {
    font-size: 32px; /* вместо fs-3 */
}

/* ========== DROPDOWN СТИЛИ ========== */

/* База для выпадающего меню */
.dropdown-menu {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 0.5rem 0;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    margin-top: 0;                     /* убираем отступ сверху */
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    display: block;
    pointer-events: none;
}

/* Открытие по hover на десктопе – и при наведении на ссылку, и на само меню */
@media (min-width: 992px) {
    .navbar .dropdown:hover .dropdown-menu,
    .navbar .dropdown-menu:hover {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: all;
    }
}

/* Элементы меню */
.dropdown-menu .dropdown-item {
    color: #fff;
    padding: 0.7rem 1.8rem;
    font-size: 16px;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}

.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus {
    background: rgba(13, 110, 253, 0.9);
    color: #fff;
}

/* Стрелка */
.navbar .dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.255em;
    vertical-align: middle;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
    transition: transform 0.2s;
}

/* Поворот стрелки при открытом меню */
@media (min-width: 992px) {
    .navbar .dropdown:hover .dropdown-toggle::after {
        transform: rotate(180deg);
    }
}

/* Мобильная версия */
@media (max-width: 991px) {
    .dropdown-menu {
        background: transparent;
        backdrop-filter: none;
        border: none;
        box-shadow: none;
        padding-left: 1rem;
        opacity: 1;
        visibility: visible;
        transform: none;
        pointer-events: all;
        margin-top: 0;
    }

    .dropdown-menu .dropdown-item {
        color: rgba(255, 255, 255, 0.8);
        padding: 0.5rem 1rem;
        white-space: normal;
    }

    .dropdown-menu .dropdown-item:hover {
        background: transparent;
        color: #0d6efd;
    }
}