* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
scroll-behavior: smooth;
}

html, body { 
    overflow-x: hidden; 
    width: 100%; 
    margin: 0 !important; 
    padding: 0 !important; 
    font-family: 'Inter', sans-serif; 
    color: #13315C;
    background-color: #f4f8e9;
    -webkit-font-smoothing: antialiased;
}

:root {
    --navy: #13315C;
    --sage: #A5B394;
    --cream: #f4f8e9;
    --cream-dark: #dee0d7;
    --white: #FFFFFF;
}

/* ШРИФТЫ */
h1, h2, h3, .nav-link-new, button, .phone, .book-btn {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 900;
    text-transform: uppercase;
}

nav {
    background-color: var(--navy) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-link-new { 
    font-size: 11px; 
    color: white !important;
    letter-spacing: 0.15em; 
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-pill-new {
    background-color: #13315C !important;
    color: #FFFFFF !important;
    padding: 6px 16px;
    border-radius: 99px;
    border: 1.5px solid rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    transition: all 0.2s ease;
}

.whatsapp-pill-new:active {
    transform: scale(0.95);
    background-color: #1a417a !important;
}

@media (max-width: 767px) {
    .whatsapp-pill-new span { display: none; }
    .nav-link-new { font-size: 9px; }
}

/* СЛАЙДЕР */
.slider-container { 
    overflow: hidden; 
    position: relative; 
    border-radius: 2rem; 
    width: 100%; 
    height: 300px; 
}
@media (min-width: 768px) { 
    .slider-container { height: 600px; border-radius: 3.5rem; } 
}
.slider-track { display: flex; height: 100%; transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1); }
.slide { min-width: 100%; height: 100%; position: relative; }
.slide img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 480px) {
    .tab-btn-new {
        font-size: 9px;
        padding: 12px 4px;
        letter-spacing: 0;
    }
    .tab-scroll {
        padding: 4px;
    }
}

/* ТАБЫ (ИСПРАВЛЕНИЕ РЯДА) */
.tab-scroll {
    background-color: #f8fafc !important; /* Светлый фон */
    display: flex !important;
    gap: 4px;
}

.tab-btn-new {
    flex: 1; /* Равномерно распределяем место */
    white-space: nowrap;
    padding: 14px 10px;
    border-radius: 20px;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 900;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    color: #94a3b8; /* Серый цвет для неактивных */
    background: transparent;
}

.tab-btn-new.active {
    background-color: #13315C !important; /* Твой фирменный синий */
    color: #FFFFFF !important;
    shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.group.bg-white {
    background-color: #f8fafc !important;
    border-radius: 2rem !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.group.bg-white:hover {
    background-color: var(--cream) !important;
    transform: translateY(-8px);
}

/* ФУТЕР */
.site-footer {
    background-color: var(--navy);
    color: var(--white);
    padding: 60px 20px 30px;
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
    margin-top: 50px;
}

.whatsapp-cta {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 16px 24px;
    border-radius: 24px;
    text-decoration: none;
    color: white;
}

/* Обновленный шрифт логотипа в футере */
.footer-logo h2 {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 900 !important;
    font-style: normal !important; /* Убрали наклон */
}

/* Кнопка админки - чуть ярче футера */
.admin-login-btn {
    background-color: #1a417a; /* Цвет светлее основного #13315C */
    color: rgba(255, 255, 255, 0.6);
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.admin-login-btn:hover {
    background-color: #215299;
    color: white;
}

/* Кнопка WhatsApp в футере */
.whatsapp-cta-new {
    text-decoration: none;
    transition: transform 0.3s ease;
}

.whatsapp-cta-new:hover {
    transform: translateY(-3px);
}

.whatsapp-pill-new svg, .whatsapp-cta-new svg {
    width: 20px;
    height: 20px;
    display: inline-block;
    flex-shrink: 0;
}