/* RESET */
body.st-site-body { margin: 0 !important; font-family: 'Montserrat', sans-serif !important; background: #fff !important; }

/* HEADER */
header.st-header { background: #fff !important; position: sticky !important; top: 0; z-index: 999999 !important; border-bottom: 1px solid #eee; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.st-header-inner { display: flex !important; align-items: center; justify-content: space-between; height: 90px; }

/* ЛОГО */
.st-logo { flex: 0 0 auto !important; }
.st-logo img { height: 50px !important; width: auto !important; display: block !important; }

/* ПК МЕНЮ */
.st-nav-main { flex: 1 !important; display: flex !important; justify-content: center !important; }
.st-nav-main ul { display: flex !important; list-style: none !important; margin: 0 !important; padding: 0 !important; gap: 10px !important; }
.st-nav-main ul li { position: relative !important; background: none !important; padding: 0 !important; }
.st-nav-main ul li:before { display: none !important; }
.st-nav-main ul li a { font-size: 13px !important; font-weight: 700 !important; text-transform: uppercase; color: #1a1a1a !important; text-decoration: none !important; padding: 35px 10px !important; display: block !important; }
.st-nav-main ul li a:hover { color: #C86A4B !important; }

/* 2-Й УРОВЕНЬ (Выпадает вниз) */
.st-nav-main ul li ul {
    position: absolute !important; top: 100% !important; left: 0 !important;
    background: #fff !important; min-width: 220px !important;
    display: none !important; flex-direction: column !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
    border-top: 3px solid #C86A4B !important; padding: 10px 0 !important;
}

/* 3-Й УРОВЕНЬ (Вылетает вправо) */
.st-nav-main ul li ul li ul {
    position: absolute !important; top: 0 !important; left: 100% !important;
    margin-top: -10px !important; margin-left: 0 !important;
}

/* ЛОГИКА ПОКАЗА */
.st-nav-main ul li:hover > ul { display: flex !important; }
.st-nav-main ul li ul li:hover > ul { display: flex !important; }

.st-nav-main ul li ul li a { padding: 10px 20px !important; font-size: 11px !important; text-align: left !important; border-bottom: 1px solid #f9f9f9 !important; }
.st-nav-main ul li ul li a:hover { background: #fcfaf7 !important; padding-left: 25px !important; }

/* КОНТАКТЫ - ИСПРАВЛЕННЫЙ БЛОК (2 СТРОКИ) */
.st-header-right { 
    display: flex !important; 
    align-items: center !important; 
    gap: 20px !important; 
    flex: 0 0 auto !important; 
}

.st-contact-info { 
    text-align: right !important; 
    line-height: 1 !important; /* Убираем лишние межстрочные интервалы */
}

.st-phone { 
    font-size: 19px !important; 
    font-weight: 800 !important; 
    color: #1a1a1a !important; 
    text-decoration: none !important;
    display: block !important;
    margin-bottom: 3px !important;
}

.st-sub { 
    display: block !important; 
    font-size: 9px !important; 
    text-transform: uppercase !important; 
    color: #999 !important; 
    letter-spacing: 1px !important;
    font-weight: 600 !important;
}

.st-social-links { 
    display: flex !important; 
    gap: 8px !important; 
}

.st-s-ico { 
    width: 34px !important; 
    height: 34px !important; 
    border-radius: 50% !important; 
    display: flex !important; 
    align-items: center !important; 
    justify-content: center !important; 
    background: #0088cc !important; 
    color: #fff !important; 
    font-size: 15px !important; 
}

.st-s-ico.st-wa { background: #25d366 !important; }

/* МОБИЛЬНЫЙ БУРГЕР */
.st-burger-btn { display: none !important; background: #C86A4B !important; color: #fff !important; border: none !important; width: 44px !important; height: 44px !important; border-radius: 4px !important; z-index: 1000 !important; }

/* МОБИЛЬНАЯ ПАНЕЛЬ */
.st-mobile-menu { 
    display: none; position: absolute !important; top: 100% !important; left: 0 !important; 
    width: 100% !important; background: #fff !important; z-index: 999999 !important; 
    border-bottom: 5px solid #C86A4B !important; box-shadow: 0 15px 30px rgba(0,0,0,0.2) !important;
}
.st-mobile-menu ul { list-style: none !important; padding: 0 !important; margin: 0 !important; }
.st-mobile-menu li a { display: block !important; padding: 15px 25px !important; border-bottom: 1px solid #eee !important; color: #1a1a1a !important; text-transform: uppercase !important; font-size: 14px !important; font-weight: 700 !important; text-decoration: none !important; }
.st-mobile-menu ul ul { padding-left: 20px !important; background: #f9f9f9 !important; }
.st-mobile-menu ul ul ul { display: block !important; } /* На мобильном все уровни сразу видны в глубину */

/* АДАПТАЦИЯ */
@media (max-width: 991px) {
    .st-nav-main { display: none !important; }
    .st-burger-btn { display: flex !important; align-items: center; justify-content: center; }
    .st-header-inner { height: 70px !important; }
    .st-logo img { height: 35px !important; }
}
/* Цвет для кнопки ВКонтакте */
.st-s-ico.st-vk { 
    background: #4c75a3 !important; 
}
/* --- LIGHT SLIDER STYLES --- */
.st-slider-wrapper {
    position: relative;
    width: 100%;
    height: 70vh; /* Оптимальная высота */
    min-height: 500px;
    background: #000;
    overflow: hidden;
}

.st-slides-container {
    width: 100%;
    height: 100%;
}

.st-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease-in-out; /* Плавное затухание */
    display: flex;
    align-items: center;
    z-index: 1;
}

.st-slide.active {
    opacity: 1;
    z-index: 2;
}

/* Затемнение фона для читаемости текста */
.st-slide:before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 100%);
}

.st-slide-content {
    position: relative;
    z-index: 5;
    color: #fff;
    max-width: 750px;
    animation: slideUp 0.8s ease backwards;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.st-slide-label {
    color: #C86A4B;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 3px;
    font-size: 11px;
    margin-bottom: 20px;
    display: block;
}

.st-slide-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 52px;
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 700;
}

.st-slide-content h2 strong { color: #C86A4B; }

.st-slide-content p {
    font-size: 18px;
    opacity: 0.8;
    margin-bottom: 40px;
    font-weight: 300;
}

/* Кнопки в слайдах */
.st-slide-btns { display: flex; gap: 15px; }
.st-btn-fill { background: #C86A4B; color: #fff !important; padding: 15px 35px; border-radius: 2px; font-weight: 700; text-transform: uppercase; font-size: 12px; letter-spacing: 1px; }
.st-btn-line { border: 2px solid #fff; color: #fff !important; padding: 13px 35px; border-radius: 2px; font-weight: 700; text-transform: uppercase; font-size: 12px; letter-spacing: 1px; }
.st-btn-fill:hover { background: #A74B32; transform: translateY(-2px); }

/* Точки */
.st-slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 12px;
}

.st-slider-dots .dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    border: 2px solid #fff;
    cursor: pointer;
    transition: 0.3s;
}

.st-slider-dots .dot.active { background: #C86A4B; border-color: #C86A4B; transform: scale(1.2); }

/* Мобильная адаптация слайдера */
@media (max-width: 768px) {
    .st-slider-wrapper { height: 80vh; }
    .st-slide-content h2 { font-size: 32px; }
    .st-slide-btns { flex-direction: column; }
    .st-btn-fill, .st-btn-line { width: 100%; text-align: center; }
}