/* Основные стили для шаблона MODX 3.0.4-pl */

/* Сброс стилей */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Базовые настройки */
html {
    font-size: 16px;
    line-height: 1.6;
}

/* Контейнер */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.header__logo img {
    max-height: 50px;
}

.header__nav .nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.header__nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.header__nav a:hover {
    color: #007bff;
}

.header__contacts .phone {
    text-decoration: none;
    color: #007bff;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Main Content */
.main {
    min-height: 70vh;
    padding: 2rem 0;
}

/* Breadcrumbs */
.breadcrumbs {
    margin-bottom: 2rem;
}

.breadcrumbs__list {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.breadcrumbs__list a {
    color: #666;
    text-decoration: none;
}

.breadcrumbs__list a:hover {
    color: #007bff;
}

.breadcrumbs__list .current {
    color: #333;
    font-weight: bold;
}

/* Page Content */
.page-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.page-content {
    line-height: 1.8;
}

.page-content h2 {
    font-size: 1.8rem;
    margin: 2rem 0 1rem;
    color: #444;
}

.page-content h3 {
    font-size: 1.4rem;
    margin: 1.5rem 0 0.8rem;
    color: #555;
}

.page-content p {
    margin-bottom: 1rem;
}

.page-content ul, .page-content ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.page-content li {
    margin-bottom: 0.5rem;
}

/* Footer */
.footer {
    background-color: #333;
    color: #fff;
    padding: 2rem 0;
    margin-top: 3rem;
}

.footer__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer__info p {
    margin: 0;
}

/* Адаптивность */
@media (max-width: 768px) {
    .header__content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .header__nav .nav-list {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer__content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 15px;
    }
}

/* Утилиты */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
