* { margin: 0; padding: 0; box-sizing: border-box; }
    body { font-family: Arial, sans-serif; line-height: 1.6; color: #333; }
    .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
    
    /* === ШАПКА === */
    header { background: var(--header-bg); color: var(--header-text); padding: 20px 0; }
    header .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
    header h1 { font-size: 24px; }
    header a { color: var(--header-text); text-decoration: none; }
    header nav a { margin-left: 20px; color: var(--header-text); }
    header nav a:hover { opacity: 0.8; }
    
    /* === HERO === */
    .hero { text-align: center; padding: 80px 20px; background: linear-gradient(135deg, #1a1a2e, #16213e); color: white; }
    .hero h1 { font-size: 48px; margin-bottom: 20px; }
    .hero p { font-size: 20px; color: #aaa; margin-bottom: 30px; }
    
    /* === КНОПКИ И ССЫЛКИ (используем accent) === */
    .btn { 
        display: inline-block; 
        padding: 12px 30px; 
        background: var(--accent); 
        color: white; 
        text-decoration: none; 
        border-radius: 5px; 
        transition: opacity 0.3s;
    }
    .btn:hover { opacity: 0.8; }
    
    a:not(.btn):not(header a):not(footer a) { 
        color: var(--accent); 
        text-decoration: none; 
    }
    a:not(.btn):not(header a):not(footer a):hover { 
        opacity: 0.8; 
        text-decoration: underline; 
    }
    
    /* === УСЛУГИ === */
    .services { padding: 60px 20px; background: #f5f5f5; }
    .services h2 { text-align: center; margin-bottom: 40px; font-size: 36px; }
    .services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
    .service-item { background: white; padding: 30px; border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); text-align: center; }
    
    /* === ТЕКСТОВЫЙ БЛОК === */
    .text-block { padding: 60px 20px; max-width: 800px; margin: 0 auto; }
    .text-block h2 { font-size: 36px; margin-bottom: 20px; }
    .text-block p { font-size: 18px; color: #666; }
    
    /* === FAQ === */
    .faq-block { padding: 60px 20px; max-width: 800px; margin: 0 auto; }
    .faq-block details { 
        margin-bottom: 12px; 
        padding: 15px 20px; 
        background: #f8fafc; 
        border-radius: 8px; 
        border-left: 3px solid var(--primary); 
    }
    .faq-block summary { font-weight: 600; cursor: pointer; color: #1a1a2e; }
    .faq-block details p { margin-top: 10px; color: #444; line-height: 1.6; }
    
    /* === ФОРМА === */
    .contact-form { padding: 60px 20px; background: #f9f9f9; text-align: center; }
    .contact-form h2 { font-size: 36px; margin-bottom: 30px; }
    .contact-form form { max-width: 500px; margin: 0 auto; }
    .contact-form input, 
    .contact-form textarea { 
        width: 100%; 
        padding: 12px; 
        margin: 10px 0; 
        border: 1px solid #ddd; 
        border-radius: 5px; 
        font-size: 16px; 
    }
    .contact-form textarea { height: 100px; resize: vertical; }
    .contact-form button { 
        padding: 12px 40px; 
        background: var(--accent); 
        color: white; 
        border: none; 
        border-radius: 5px; 
        font-size: 18px; 
        cursor: pointer; 
        transition: opacity 0.3s;
    }
    .contact-form button:hover { opacity: 0.8; }
    
    /* === КАРТА === */
    .map-block { padding: 60px 20px; text-align: center; }
    .map-block h2 { font-size: 36px; margin-bottom: 30px; }
    #map { height: 400px; border-radius: 10px; }
    
    /* === ГАЛЕРЕЯ === */
    .gallery-block { padding: 60px 20px; text-align: center; }
    .gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 15px; margin-top: 20px; }
    .gallery-grid img { width: 100%; height: 200px; object-fit: cover; border-radius: 8px; }
    
    /* === ОТЗЫВЫ === */
    .reviews-block { padding: 60px 20px; background: #f5f5f5; }
    .reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 20px; }
    .review-item { 
        background: white; 
        padding: 20px; 
        border-radius: 10px; 
        box-shadow: 0 2px 10px rgba(0,0,0,0.1); 
        text-align: center; 
    }
    .review-item .rating { color: #f59e0b; font-size: 20px; }
    
    /* === ПРЕИМУЩЕСТВА === */
    .advantages-block { padding: 60px 20px; background: #f8fafc; }
    .advantages-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
    .advantage-item { 
        text-align: center; 
        padding: 24px; 
        background: white; 
        border-radius: 12px; 
        box-shadow: 0 2px 10px rgba(0,0,0,0.06); 
    }
    .advantage-item .icon { font-size: 40px; margin-bottom: 12px; }
    
    /* === ПОДВАЛ (ссылки приглушённые) === */
    footer { 
        background: var(--footer-bg); 
        color: var(--footer-text); 
        padding: 40px 0; 
        text-align: center; 
    }
    footer a { 
        color: var(--footer-link); 
        text-decoration: none; 
        transition: color 0.3s ease;
    }
    footer a:hover { 
        color: var(--accent); 
        text-decoration: underline; 
    }
    
    /* === АДАПТИВНОСТЬ === */
    @media (max-width: 768px) {
        .hero h1 { font-size: 32px; }
        header .container { flex-direction: column; gap: 15px; }
        header nav a { margin: 0 10px; }
    }

/* ============================================
   СТИЛИ ДЛЯ ТАБЛИЦ В КОНТЕНТЕ
   ============================================ */

/* Основные стили для таблиц */
.content-table,
.editor-table,
.site-content table,
.article-content table,
.page-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 15px;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

/* Границы ячеек */
.content-table th,
.content-table td,
.editor-table th,
.editor-table td,
.site-content table th,
.site-content table td,
.article-content table th,
.article-content table td,
.page-content table th,
.page-content table td {
    border: 1px solid #cbd5e1;
    padding: 10px 14px;
    text-align: left;
    vertical-align: top;
}

/* Заголовки таблиц */
.content-table th,
.editor-table th,
.site-content table th,
.article-content table th,
.page-content table th {
    background: #f1f5f9;
    font-weight: 600;
    color: #1a1a2e;
    border-bottom: 2px solid #94a3b8;
}

/* Чётные строки */
.content-table tr:nth-child(even),
.editor-table tr:nth-child(even),
.site-content table tr:nth-child(even),
.article-content table tr:nth-child(even),
.page-content table tr:nth-child(even) {
    background: #f8fafc;
}

/* Ховер на строках */
.content-table tr:hover,
.editor-table tr:hover,
.site-content table tr:hover,
.article-content table tr:hover,
.page-content table tr:hover {
    background: #eef2ff;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .content-table,
    .editor-table,
    .site-content table,
    .article-content table,
    .page-content table {
        font-size: 13px;
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .content-table th,
    .content-table td,
    .editor-table th,
    .editor-table td,
    .site-content table th,
    .site-content table td,
    .article-content table th,
    .article-content table td,
    .page-content table th,
    .page-content table td {
        padding: 8px 10px;
        font-size: 13px;
    }
}

/* Стили для таблиц с полосатыми строками (альтернативный вариант) */
.table-striped tbody tr:nth-child(odd) {
    background: #f8fafc;
}
.table-striped tbody tr:nth-child(even) {
    background: #ffffff;
}

/* Стили для таблиц с границами только внешними */
.table-borderless td,
.table-borderless th {
    border: none;
}
.table-borderless tr {
    border-bottom: 1px solid #e2e8f0;
}
.table-borderless tr:last-child {
    border-bottom: none;
}

/* Стили для компактных таблиц */
.table-sm td,
.table-sm th {
    padding: 6px 10px;
    font-size: 13px;
}