/* ПРАВИЛЬНЫЙ ХЕДЕР С ABSOLUTE POSITIONING */

.site-header {
    width: 1920px;
    height: 96px;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-960px);
    background: white;
    box-shadow: 0px 2px 15px 2.5px rgba(0, 0, 0, 0.25);
    z-index: 1000;
}

/* Убираем старые стили */
.header-top,
.header-nav {
    all: unset;
    display: block;
}

.header-container {
    all: unset;
    display: block;
}

/* Логотип */
.header-logo {
    width: 216px;
    height: 49.13px;
    left: 252px;
    top: 23px;
    position: absolute;
}

.header-logo img {
    width: 100%;
    height: 100%;
}

/* Контакты - верхняя строка */
.contact-item:nth-child(1) {
    left: 513px;
    top: 17px;
    position: absolute;
    color: #666666;
    font-size: 14px;
    font-family: Montserrat;
    font-weight: 700;
}

.contact-item:nth-child(2) {
    left: 874px;
    top: 17px;
    position: absolute;
    color: #666666;
    font-size: 14px;
    font-family: Montserrat;
    font-weight: 700;
}

.contact-item:nth-child(3) {
    left: 1234px;
    top: 17px;
    position: absolute;
    color: #666666;
    font-size: 14px;
    font-family: Montserrat;
    font-weight: 700;
}

.contact-item:nth-child(4) {
    left: 1475px;
    top: 17px;
    position: absolute;
    color: #666666;
    font-size: 14px;
    font-family: Montserrat;
    font-weight: 700;
}

.contact-item {
    display: block;
}

.contact-icon {
    display: none;
}

/* Линия разделитель */
.header-divider {
    width: 1176px;
    height: 1px;
    left: 492px;
    top: 48px;
    position: absolute;
    background: rgba(102, 102, 102, 0.5);
}

/* Навигация - нижняя строка */
.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: block;
}

.nav-menu > .nav-item:nth-child(1) > .nav-link {
    left: 492px;
    top: 65px;
    position: absolute;
    color: #666666;
    font-size: 14px;
    font-family: Montserrat;
    font-weight: 700;
}

.nav-menu > .nav-item:nth-child(2) > .nav-link {
    left: 622px;
    top: 65px;
    position: absolute;
    color: #666666;
    font-size: 14px;
    font-family: Montserrat;
    font-weight: 700;
}

.nav-menu > .nav-item:nth-child(3) > .nav-link {
    left: 760px;
    top: 65px;
    position: absolute;
    color: #666666;
    font-size: 14px;
    font-family: Montserrat;
    font-weight: 700;
}

.nav-menu > .nav-item:nth-child(4) > .nav-link {
    left: 893px;
    top: 65px;
    position: absolute;
    color: #666666;
    font-size: 14px;
    font-family: Montserrat;
    font-weight: 700;
}

.nav-menu > .nav-item:nth-child(5) > .nav-link {
    left: 974px;
    top: 65px;
    position: absolute;
    color: #666666;
    font-size: 14px;
    font-family: Montserrat;
    font-weight: 700;
}

.nav-menu > .nav-item:nth-child(6) > .nav-link {
    left: 1057px;
    top: 65px;
    position: absolute;
    color: #666666;
    font-size: 14px;
    font-family: Montserrat;
    font-weight: 700;
}

.nav-menu > .nav-item:nth-child(7) > .nav-link {
    left: 1247px;
    top: 65px;
    position: absolute;
    color: #666666;
    font-size: 14px;
    font-family: Montserrat;
    font-weight: 700;
}

.nav-menu > .nav-item:nth-child(8) > .nav-link {
    left: 1342px;
    top: 65px;
    position: absolute;
    color: #666666;
    font-size: 14px;
    font-family: Montserrat;
    font-weight: 700;
}

.nav-menu > .nav-item > .nav-link {
    text-decoration: none;
}

.nav-menu > .nav-item > .nav-arrow {
    display: none;
}

/* Кнопка записи */
.header-cta-button {
    width: 216px;
    height: 30px;
    left: 1452px;
    top: 57px;
    position: absolute;
    background: #5E96CF;
    border-radius: 1px;
    border: none;
    color: white;
    font-size: 14px;
    font-family: Montserrat;
    font-weight: 700;
    cursor: pointer;
}

/* Соцсети */
.header-social {
    display: none;
}

/* Мобильное меню */
.mobile-menu-toggle {
    display: none;
}

/* БЛОК НАПРАВЛЕНИЙ - выравнивание по хедеру */
.directions-section {
    width: 1920px;
    margin: 0 auto;
    position: relative;
    left: 50%;
    transform: translateX(-960px);
}

.directions-section .container {
    width: 1416px !important;
    max-width: 1416px !important;
    margin: 0 !important;
    margin-left: 252px !important;
    padding: 0 !important;
}

.directions-grid {
    width: 1416px !important;
    margin: 0 !important;
    display: grid;
    grid-template-columns: 456px 456px 456px;
    gap: 24px;
}

.direction-card {
    width: 456px !important;
    height: 840px !important;
    min-width: 456px !important;
    max-width: 456px !important;
}

.direction-image {
    width: 456px !important;
    height: 479px !important;
    min-width: 456px !important;
    max-width: 456px !important;
    min-height: 479px !important;
    max-height: 479px !important;
    object-fit: cover !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
}

/* Все карточки одинаковые */
.direction-card:nth-child(1),
.direction-card:nth-child(2),
.direction-card:nth-child(3) {
    width: 456px !important;
}

.direction-card:nth-child(1) .direction-image,
.direction-card:nth-child(2) .direction-image,
.direction-card:nth-child(3) .direction-image {
    width: 456px !important;
    height: 479px !important;
}

/* ИСПРАВЛЕНИЕ: Косметология (2-я карточка) - те же координаты что у остальных */
.direction-card:nth-child(2) .direction-overlay {
    top: 324px !important;
    height: 155px !important;
}

.direction-card:nth-child(2) .direction-title {
    top: 421px !important;
}

.direction-card:nth-child(2) .direction-content {
    top: 479px !important;
    height: 361px !important;
}

/* Все оверлеи на одном уровне */
.direction-overlay {
    top: 324px !important;
    height: 155px !important;
}

.direction-title {
    top: 421px !important;
}

.direction-content {
    top: 479px !important;
    height: 361px !important;
}

/* ВСЕ СЕКЦИИ - выравнивание по хедеру */
.about-section,
.specialists-section,
.achievements-section,
.promotions-new-section,
.clinic-section,
.reviews-new-section,
.video-reviews-section,
.news-section,
.map-section,
.steps-section,
.features-section,
.info-section,
.veins-section,
.complications-section,
.results-section {
    width: 1920px;
    margin: 0 auto;
    position: relative;
    left: 50%;
    transform: translateX(-960px);
}

/* Все контейнеры внутри секций */
.specialists-section .container,
.achievements-section .container,
.clinic-section .container,
.news-section .container,
.steps-section .container,
.features-section .container,
.info-section .container,
.veins-section .container,
.complications-section .container,
.results-section .container,
.promotions-section .container {
    width: 1416px !important;
    max-width: 1416px !important;
    margin: 0 !important;
    margin-left: 252px !important;
    margin-right: 252px !important;
    padding: 0 !important;
}

/* Новые секции с другими контейнерами */
.promotions-new-container,
.reviews-new-header,
.video-reviews-wrapper {
    width: 1416px !important;
    max-width: 1416px !important;
    margin: 0 !important;
    margin-left: 252px !important;
    margin-right: 252px !important;
    padding: 0 !important;
}

/* Карта - на всю ширину экрана */
.map-container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Секция о клинике */
.about-section {
    padding: 40px 0 80px 0 !important;
    max-width: none !important;
    width: 1920px !important;
}

.about-section .container {
    max-width: 1416px !important;
    width: 1416px !important;
    margin-left: 252px !important;
    margin-right: 252px !important;
    padding: 0 !important;
}

/* Внутренние блоки могут быть меньше контейнера */
.about-content {
    max-width: 100% !important;
}

.about-image {
    flex-shrink: 0 !important;
}

.about-text-wrapper {
    flex: 1 !important;
}

.gallery-grid {
    max-width: 100% !important;
}

/* БЛОК НАГРАД - выравнивание по сетке 1416px */
.awards-section {
    width: 1416px !important;
    max-width: 1416px !important;
    margin: 30px auto 20px !important;
    position: relative;
}

.awards-bar {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.awards-medals {
    left: 0 !important;


/* ВЫПАДАЮЩИЕ МЕНЮ - INLINE СТИЛИ + CSS */

/* ТОЛЬКО для элементов с классом nav-item-dropdown */
.nav-menu .nav-item-dropdown {
    position: relative !important;
}

/* Само выпадающее меню */
.nav-menu .nav-item-dropdown > ul.dropdown-menu,
.nav-menu .nav-item-dropdown > .dropdown-menu {
    /* Позиционирование - КРИТИЧНО! */
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: auto !important;
    
    /* Отменяем любые transform из style.css */
    transform: none !important;
    
    /* Размеры */
    min-width: 250px !important;
    width: auto !important;
    max-width: 300px !important;
    
    /* Отступы */
    margin: 0 !important;
    padding: 8px 0 !important;
    
    /* Внешний вид */
    background: white !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 4px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
    
    /* Скрываем по умолчанию */
    display: none !important;
    
    /* z-index */
    z-index: 10000 !important;
    
    /* Список */
    list-style: none !important;
}

/* Показываем меню при hover */
.nav-menu .nav-item-dropdown:hover > ul.dropdown-menu,
.nav-menu .nav-item-dropdown:hover > .dropdown-menu {
    display: block !important;
}

/* Пункты меню */
.nav-menu .nav-item-dropdown > ul.dropdown-menu > li,
.nav-menu .nav-item-dropdown > .dropdown-menu > li {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

/* Ссылки в меню */
.nav-menu .nav-item-dropdown > ul.dropdown-menu > li > a,
.nav-menu .nav-item-dropdown > .dropdown-menu > li > a {
    display: block !important;
    padding: 10px 20px !important;
    color: #666 !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
    transition: all 0.2s ease !important;
}

/* Hover на ссылках */
.nav-menu .nav-item-dropdown > ul.dropdown-menu > li > a:hover,
.nav-menu .nav-item-dropdown > .dropdown-menu > li > a:hover {
    background: #f5f5f5 !important;
    color: #5E96CF !important;
    padding-left: 24px !important;
}

/* Стрелка при hover */
.nav-menu .nav-item-dropdown:hover > .nav-arrow {
    transform: rotate(180deg) !important;
}

/* Цвет ссылки при hover */
.nav-menu .nav-item-dropdown:hover > .nav-link {
    color: #5E96CF !important;
}

}
