/* Современные CSS стили для юридического сайта с ИИ-оптимизацией */

/* Верхние кнопки навигации (ВНЕ основного меню) */
.top-navigation {
    background: linear-gradient(135deg, #1a252f 0%, #2c3e50 100%);
    padding: 1rem 0;
    border-bottom: 3px solid #3498db;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.top-nav-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding: 0 1rem;
}

.top-nav-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    min-width: 140px;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.top-nav-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.top-nav-btn:hover::before {
    left: 100%;
}

.top-nav-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    border-color: rgba(255, 255, 255, 0.3);
}

.top-nav-btn.active {
    background: linear-gradient(135deg, #3498db, #2980b9);
    border-color: #3498db;
    box-shadow: 0 0 25px rgba(52, 152, 219, 0.6);
    transform: translateY(-2px);
}

.top-nav-btn .btn-icon {
    font-size: 1.3rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.top-nav-btn .btn-text {
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

/* Улучшенные стили для верхнего меню */
.header {
    background: linear-gradient(135deg, #1a252f 0%, #2c3e50 100%);
    padding: 1.5rem 0;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 3px solid #3498db;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo h1 {
    color: white;
    font-size: 1.6rem;
    margin-bottom: 0.3rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.logo p {
    color: #bdc3c7;
    font-size: 0.85rem;
    margin: 0;
    font-weight: 400;
    line-height: 1.2;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1rem;
    margin: 0;
    padding: 0;
    align-items: center;
    flex-wrap: wrap;
}

.nav-menu li a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid transparent;
    font-size: 0.9rem;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    background: rgba(52, 152, 219, 0.2);
    border-color: #3498db;
    color: #3498db;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
}

.nav-menu li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), rgba(52, 152, 219, 0.05));
    border-radius: 30px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-menu li a:hover::before,
.nav-menu li a.active::before {
    opacity: 1;
}

/* Улучшенные стили для бокового меню */
.mobile-menu-toggle {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(52, 152, 219, 0.4);
    transition: all 0.3s ease;
    font-size: 1.5rem;
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.mobile-menu-toggle:hover {
    background: linear-gradient(135deg, #2980b9, #1f5f8b);
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 12px 40px rgba(52, 152, 219, 0.6);
    border-color: rgba(255, 255, 255, 0.4);
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    backdrop-filter: blur(8px);
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.side-menu {
    position: fixed;
    top: 0;
    right: -450px;
    width: 450px;
    height: 100%;
    background: linear-gradient(135deg, #0f1419 0%, #1a252f 50%, #2c3e50 100%);
    z-index: 999;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    box-shadow: -10px 0 40px rgba(0,0,0,0.5);
    border-left: 3px solid #3498db;
}

.side-menu.active {
    right: 0;
}

.close-menu {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    border: none;
    padding: 0.5rem;
    border-radius: 50%;
    cursor: pointer;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(231, 76, 60, 0.4);
}

.close-menu:hover {
    background: linear-gradient(135deg, #c0392b, #a93226);
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 6px 25px rgba(231, 76, 60, 0.6);
}

.side-menu-header {
    padding: 4rem 2.5rem 2.5rem;
    text-align: center;
    border-bottom: 2px solid rgba(52, 152, 219, 0.3);
    background: rgba(52, 152, 219, 0.05);
}

.side-menu-header h3 {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.side-menu-header p {
    color: #bdc3c7;
    margin: 0;
    font-size: 1rem;
    font-weight: 400;
}

.side-menu-nav {
    padding: 2.5rem 2.5rem 8rem 2.5rem;
}

.side-menu-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.side-menu-nav li {
    margin-bottom: 0.75rem;
}

.side-menu-nav a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 1.2rem 2rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    font-weight: 600;
    border: 2px solid transparent;
    background: rgba(255, 255, 255, 0.03);
    font-size: 1.05rem;
    position: relative;
    overflow: hidden;
}

.side-menu-nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(52, 152, 219, 0.2), transparent);
    transition: left 0.5s ease;
}

.side-menu-nav a:hover::before {
    left: 100%;
}

.side-menu-nav a:hover {
    background: rgba(52, 152, 219, 0.15);
    border-color: rgba(52, 152, 219, 0.5);
    transform: translateX(15px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
}

.emergency-button {
    position: sticky;
    bottom: 2.5rem;
    left: 2.5rem;
    right: 2.5rem;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    border: none;
    padding: 2rem;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(231, 76, 60, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    border: 3px solid rgba(255, 255, 255, 0.1);
    margin: 2rem 2.5rem;
    width: calc(100% - 5rem);
}

.emergency-button:hover {
    background: linear-gradient(135deg, #c0392b, #a93226);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(231, 76, 60, 0.7);
    border-color: rgba(255, 255, 255, 0.3);
}

.emergency-phone {
    font-size: 1.4rem;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.emergency-text {
    font-size: 1rem;
    opacity: 0.95;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Адаптивность для бокового меню */
@media (max-width: 768px) {
    .side-menu {
        width: 100%;
        right: -100%;
    }
    
    .mobile-menu-toggle {
        top: 1rem;
        right: 1rem;
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .nav-container {
        justify-content: center;
    }
    
    .logo h1 {
        font-size: 1.6rem;
    }
    
    .logo p {
        font-size: 0.9rem;
    }
    
    .top-nav-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .top-nav-btn {
        min-width: 200px;
        padding: 1.2rem 2rem;
    }
    
    /* Адаптивность для новых страниц на планшетах */
    .services-grid,
    .about-content,
    .contact-content,
    .documents-grid,
    .news-grid,
    .reviews-grid,
    .consultation-types {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    .service-card,
    .about-card,
    .contact-card,
    .document-card,
    .news-card,
    .review-card,
    .consultation-type {
        padding: 2rem;
    }
    
    .search-container {
        max-width: 500px;
    }
    
    .categories-grid {
        gap: 0.75rem;
    }
    
    .category-btn {
        padding: 0.7rem 1.3rem;
    }
    
    .pricing-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .category-tabs {
        gap: 0.75rem;
    }
    
    .tab-btn {
        padding: 0.8rem 1.5rem;
    }
    
    .services-pricing {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .payment-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    /* Адаптивность для страниц статей и контактов на планшетах */
    .articles-categories {
        gap: 0.75rem;
    }
    
    .articles-category-btn {
        padding: 0.8rem 1.5rem;
    }
    
    .articles-category {
        padding: 1.5rem;
    }
    
    .page-header h1 {
        font-size: 2.8rem;
    }
    
    .working-hours-content {
        padding: 2rem;
        margin: 2rem;
    }
}

@media (max-width: 480px) {
    .side-menu-header {
        padding: 2rem 1rem 1.5rem;
    }
    
    .side-menu-nav {
        padding: 1.5rem 1rem 6rem 1rem;
    }
    
    .emergency-button {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        padding: 1.5rem;
        margin: 1rem;
        width: calc(100% - 2rem);
    }
    
    .mobile-menu-toggle {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .logo h1 {
        font-size: 1.4rem;
    }
    
    .header {
        padding: 1rem 0;
    }
    
    .top-nav-btn {
        min-width: 180px;
        padding: 1rem 1.5rem;
    }
    
    .top-navigation {
        padding: 0.75rem 0;
    }
    
    /* Адаптивность для новых страниц */
    .services-grid,
    .about-content,
    .contact-content,
    .documents-grid,
    .news-grid,
    .reviews-grid,
    .consultation-types {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card,
    .about-card,
    .contact-card,
    .document-card,
    .news-card,
    .review-card,
    .consultation-type {
        padding: 2rem;
    }
    
    .search-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .search-input,
    .search-btn {
        width: 100%;
    }
    
    .categories-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .category-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .category-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .services-pricing {
        grid-template-columns: 1fr;
    }
    
    .payment-grid {
        grid-template-columns: 1fr;
    }
    
    /* Адаптивность для страниц статей и контактов */
    .articles-categories {
        flex-direction: column;
        align-items: center;
    }
    
    .articles-category-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .articles-category {
        padding: 1.5rem;
    }
    
    .article-group {
        padding: 1.5rem;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .page-header p {
        font-size: 1.1rem;
    }
    
    .working-hours-content {
        padding: 2rem;
        margin: 2rem 1rem;
    }
    
    .working-hours-grid {
        grid-template-columns: 1fr;
    }
}

/* Сброс стилей и базовые настройки */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    overflow-x: hidden;
}

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

/* Типографика для лучшей читаемости */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: #2c3e50;
}

h1 {
    font-size: 2.5rem;
    color: #1a252f;
}

h2 {
    font-size: 2rem;
    color: #2c3e50;
    border-bottom: 3px solid #3498db;
    padding-bottom: 0.5rem;
}

h3 {
    font-size: 1.5rem;
    color: #34495e;
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Основной контент */
.main-content {
    min-height: calc(100vh - 200px);
    padding: 2rem 0;
}

/* Герой-секция */
.hero-section {
    background: linear-gradient(135deg, #1a252f 0%, #2c3e50 100%);
    color: white;
    padding: 6rem 2rem;
    text-align: center;
    border-radius: 20px;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-text {
    max-width: 800px;
    margin: 0 auto;
}

.lawyer-title {
    margin-bottom: 3rem;
}

.hero-title {
    color: white;
    margin-bottom: 1rem;
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.lawyer-name {
    color: #3498db;
    margin-bottom: 0.5rem;
    font-size: 2.5rem;
    font-weight: 600;
}

.lawyer-title-description {
    color: #bdc3c7;
    font-size: 1.2rem;
    font-weight: 500;
}

.lawyer-description {
    margin-bottom: 3rem;
    text-align: left;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    line-height: 1.8;
    opacity: 0.95;
}

.lawyer-credentials {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.9;
}

.lawyer-credentials strong {
    color: #3498db;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    min-width: 150px;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: #3498db;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 500;
}

/* Кнопки */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    text-align: center;
    min-width: 120px;
}

.btn-primary {
    background: #3498db;
    color: white;
    border: 2px solid #3498db;
}

.btn-primary:hover {
    background: #2980b9;
    border-color: #2980b9;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(52, 152, 219, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #2c3e50;
    transform: translateY(-3px);
}

.btn-emergency {
    background: #e74c3c;
    color: white;
    border: 2px solid #e74c3c;
}

.btn-emergency:hover {
    background: #c0392b;
    border-color: #c0392b;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(231, 76, 60, 0.4);
}

.btn-outline {
    background: transparent;
    color: #3498db;
    border: 2px solid #3498db;
}

.btn-outline:hover {
    background: #3498db;
    color: white;
    transform: translateY(-3px);
}

/* Секции */
.services-section,
.articles-section,
.advantages-section,
.about-section,
.team-section,
.principles-section,
.certificates-section,
.contact-section {
    padding: 3rem 0;
}

.services-section h2,
.articles-section h2,
.advantages-section h2,
.team-section h2,
.principles-section h2,
.certificates-section h2,
.contact-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
}

/* Hero-секция */
.hero-section {
    background: linear-gradient(135deg, #1a252f 0%, #2c3e50 100%);
    color: white;
    padding: 6rem 0;
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.02)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 300;
    letter-spacing: -0.02em;
}

.lawyer-title {
    margin-bottom: 2rem;
}

.lawyer-name {
    font-size: clamp(1.8rem, 4vw, 2.2rem);
    margin-bottom: 0.5rem;
    color: #3498db;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.lawyer-title-description {
    font-size: 1.1rem;
    color: #bdc3c7;
    font-style: italic;
    margin-bottom: 0;
    opacity: 0.9;
}

.lawyer-description {
    margin-bottom: 2.5rem;
}

.lawyer-credentials {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #3498db;
    margin-top: 1.5rem;
    backdrop-filter: blur(10px);
}

.lawyer-credentials strong {
    color: #3498db;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #3498db;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.lawyer-photo-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lawyer-photo-placeholder {
    width: 400px;
    height: 500px;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.05) 0%, rgba(52, 73, 94, 0.05) 100%);
    border: 2px solid rgba(52, 152, 219, 0.3);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.lawyer-photo-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(52, 152, 219, 0.1) 50%, transparent 70%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.photo-placeholder-content {
    color: #3498db;
    position: relative;
    z-index: 2;
}

.photo-size {
    font-size: 0.8rem;
    color: #7f8c8d;
    margin-top: 0.5rem;
    opacity: 0.8;
}

.lawyer-photo-info {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.photo-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(52, 152, 219, 0.1);
    padding: 0.8rem 1.2rem;
    border-radius: 25px;
    border: 1px solid rgba(52, 152, 219, 0.3);
    backdrop-filter: blur(10px);
}

.badge-icon {
    font-size: 1.2rem;
}

.badge-text {
    font-size: 0.9rem;
    color: #3498db;
    font-weight: 500;
}

/* Специализация адвоката */
.specialization-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.specialization-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #3498db 50%, transparent 100%);
}

.specialization-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.specialization-text h3 {
    color: #2c3e50;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    border-bottom: 3px solid #3498db;
    padding-bottom: 0.5rem;
}

.specialization-text h4 {
    color: #34495e;
    font-size: 1.3rem;
    margin: 2rem 0 1rem 0;
}

.specialization-list {
    list-style: none;
    padding: 0;
}

.specialization-list li {
    padding: 1rem 0;
    border-bottom: 1px solid #ecf0f1;
    position: relative;
    padding-left: 2rem;
}

.specialization-list li::before {
    content: '⚖️';
    position: absolute;
    left: 0;
    top: 1rem;
    font-size: 1.2rem;
}

.specialization-list li:last-child {
    border-bottom: none;
}

.specialization-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    border-color: #3498db;
    box-shadow: 0 15px 35px rgba(52, 152, 219, 0.2);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-item h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.feature-item p {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin: 0;
}

/* Почему выбирают этого адвоката */
.why-choose-section {
    padding: 6rem 0;
    background: white;
    position: relative;
}

.why-choose-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #ecf0f1 50%, transparent 100%);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.advantage-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    border: 2px solid transparent;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #2980b9);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.advantage-card:hover::before {
    transform: scaleX(1);
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(52, 152, 219, 0.15);
    border-color: #3498db;
}

.advantage-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.advantage-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.advantage-card p {
    color: #7f8c8d;
    line-height: 1.7;
    margin: 0;
}

/* Последние успешные дела */
.cases-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.cases-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #3498db 50%, transparent 100%);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.case-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.case-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #27ae60, #2ecc71);
}

.case-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
    border-color: #27ae60;
}

.case-category {
    display: inline-block;
    background: #27ae60;
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.case-card h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    line-height: 1.4;
}

.case-description {
    color: #7f8c8d;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.case-result {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #27ae60;
}

.result-label {
    font-weight: 600;
    color: #2c3e50;
}

.result-value.success {
    color: #27ae60;
    font-weight: 700;
    font-size: 1.1rem;
}

.cases-cta {
    text-align: center;
}

/* Отзывы клиентов */
.testimonials-section {
    padding: 6rem 0;
    background: white;
    position: relative;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #ecf0f1 50%, transparent 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.testimonial-card {
    background: #f8f9fa;
    padding: 2.5rem;
    border-radius: 20px;
    border-left: 5px solid #3498db;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    right: 2rem;
    font-size: 4rem;
    color: rgba(52, 152, 219, 0.1);
    font-family: serif;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    background: white;
}

.testimonial-content {
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.testimonial-content p {
    font-style: italic;
    color: #2c3e50;
    line-height: 1.8;
    font-size: 1.1rem;
    margin: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #ecf0f1;
}

.author-avatar {
    font-size: 2.5rem;
    background: #3498db;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-info {
    flex: 1;
}

.author-name {
    font-weight: 600;
    color: #2c3e50;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.author-case {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-bottom: 0.2rem;
}

.author-date {
    font-size: 0.8rem;
    color: #bdc3c7;
    font-style: italic;
}

.testimonials-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Призыв к действию */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1a252f 0%, #2c3e50 100%);
    color: white;
    text-align: center;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #3498db 50%, transparent 100%);
}

.cta-content h2 {
    color: white;
    margin-bottom: 1.5rem;
    border-bottom: none;
    font-size: 2.5rem;
    font-weight: 300;
}

.cta-content p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.cta-info {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-info p {
    margin: 0;
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Сетки */
.services-grid,
.articles-grid,
.advantages-grid,
.team-grid,
.principles-grid,
.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Карточки услуг */
.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-link {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    margin-top: 1rem;
    display: inline-block;
}

/* Карточки статей */
.article-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.article-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.article-card p {
    margin-bottom: 1.5rem;
    color: #666;
}

.section-description {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-cta {
    text-align: center;
    margin-top: 3rem;
}

.article-navigation {
    margin: 2rem 0;
    padding: 1rem 0;
    border-top: 1px solid #e9ecef;
}

.article-navigation .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Преимущества */
.advantage-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.advantage-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* О нас */
.page-header {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
    border-radius: 15px;
    margin: 2rem 0;
}

.page-header h1 {
    color: white;
    margin-bottom: 1rem;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.stat-item {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #3498db;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #666;
    font-size: 0.9rem;
}

/* Команда */
.team-member {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.member-photo {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.member-position {
    color: #3498db;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Принципы */
.principle-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.principle-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.principle-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Сертификаты */
.certificates-content {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.certificates-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.certificate-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #3498db;
}

/* Контакты */
.contact-section {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    text-align: center;
    border-radius: 15px;
    margin: 2rem 0;
}

.contact-section h2 {
    color: white;
    border-bottom-color: #3498db;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-item {
    background: rgba(255,255,255,0.1);
    padding: 1.5rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.contact-item h3 {
    color: #3498db;
    margin-bottom: 0.5rem;
}

.contact-item p {
    font-size: 1.1rem;
    margin-bottom: 0;
}

/* Статьи */
.article {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    overflow: hidden;
    margin: 2rem 0;
}

.article-header {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
}

.article-header h1 {
    color: white;
    margin-bottom: 1rem;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    opacity: 0.9;
    font-size: 0.95rem;
}

.article-summary {
    padding: 2rem;
    background: linear-gradient(135deg, #ecf0f1 0%, #bdc3c7 100%);
    border-left: 5px solid #3498db;
}

.article-content {
    padding: 2rem;
}

.article-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}

.article-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #2980b9;
}

.article-content ul, .article-content ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.article-content li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

/* Специальные блоки для статей */
.article-cases,
.excess-defense,
.drug-sizes,
.fraud-methods {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-left: 4px solid #3498db;
}

.case-item {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 3px solid #3498db;
}

.case-item:last-child {
    margin-bottom: 0;
}

.punishment-info {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-left: 4px solid #e74c3c;
}

.recommendations {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-left: 4px solid #27ae60;
}

/* FAQ секция */
.faq-section {
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.faq-item {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-left: 4px solid #3498db;
}

.faq-item h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

/* Стили для футера */
.footer {
    background: linear-gradient(135deg, #1a252f 0%, #2c3e50 100%);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #3498db;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.footer-section p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-section ul li a:hover {
    opacity: 1;
    color: #3498db;
}

.contact-info p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    opacity: 0.8;
    font-size: 0.9rem;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

/* Стили для главной страницы */
.specialization-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #3498db;
    border-radius: 2px;
}

.specialization-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.specialization-text h3 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.specialization-text p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.specialization-text h4 {
    color: #34495e;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.specialization-list {
    list-style: none;
    padding: 0;
}

.specialization-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #e9ecef;
    color: #666;
    line-height: 1.6;
}

.specialization-list li:last-child {
    border-bottom: none;
}

.specialization-list strong {
    color: #2c3e50;
}

.specialization-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-item h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.feature-item p {
    color: #666;
    font-size: 0.9rem;
}

.why-choose-section {
    padding: 6rem 0;
    background: white;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.advantage-card {
    padding: 2.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid #e9ecef;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.advantage-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.advantage-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.advantage-card p {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

.cases-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.case-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border: 1px solid #e9ecef;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.case-category {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #3498db;
    color: white;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.case-category.criminal {
    background: #e74c3c;
}

.case-category.civil {
    background: #27ae60;
}

.case-category.administrative {
    background: #f39c12;
}

.case-title {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.case-description {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.case-result {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 10px;
    border-left: 4px solid #27ae60;
}

.case-result strong {
    color: #27ae60;
}

.testimonials-section {
    padding: 6rem 0;
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2.5rem;
    border-radius: 20px;
    transition: transform 0.3s ease;
    border: 1px solid #e9ecef;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.testimonial-content p {
    font-style: italic;
    color: #2c3e50;
    margin-bottom: 2rem;
    line-height: 1.7;
    font-size: 1.1rem;
}

.testimonial-author {
    border-top: 1px solid #e9ecef;
    padding-top: 1.5rem;
}

.testimonial-author strong {
    display: block;
    color: #3498db;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.testimonial-author span {
    color: #666;
    font-size: 0.9rem;
}

.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1a252f 0%, #2c3e50 100%);
    color: white;
    text-align: center;
}

.cta-section h3 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.cta-actions .btn {
    min-width: 200px;
}

.cta-info {
    opacity: 0.8;
    font-size: 1rem;
}

.cta-info strong {
    color: #3498db;
}

/* Адаптивность для главной страницы */
@media (max-width: 768px) {
    .specialization-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .specialization-features {
        grid-template-columns: 1fr;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-actions .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .specialization-text h3 {
        font-size: 1.5rem;
    }
    
    .advantage-card h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .specialization-text h3 {
        font-size: 1.3rem;
    }
    
    .advantage-card {
        padding: 2rem;
    }
    
    .feature-item {
        padding: 1.5rem;
    }
    
    .case-card {
        padding: 1.5rem;
    }
    
    .testimonial-card {
        padding: 2rem;
    }
}

/* Адаптивность для страницы практики */
@media (max-width: 768px) {
    .practice-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .cases-categories {
        flex-direction: column;
        align-items: center;
    }
    
    .category-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .practice-hero-content h1 {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-section .stat-number {
        font-size: 2.5rem;
    }
    
    .case-card {
        padding: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Анимация счетчиков */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stats-section .stat-item {
    animation: countUp 0.6s ease forwards;
}

.stats-section .stat-item:nth-child(1) { animation-delay: 0.1s; }
.stats-section .stat-item:nth-child(2) { animation-delay: 0.2s; }
.stats-section .stat-item:nth-child(3) { animation-delay: 0.3s; }
.stats-section .stat-item:nth-child(4) { animation-delay: 0.4s; }

/* Стили для отзывов и CTA на странице практики */
.testimonials-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-content p {
    font-style: italic;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 1.1rem;
}

.testimonial-author {
    border-top: 1px solid #e9ecef;
    padding-top: 1rem;
}

.testimonial-author strong {
    display: block;
    color: #3498db;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.testimonial-author span {
    color: #666;
    font-size: 0.9rem;
}

.cta-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #1a252f 0%, #2c3e50 100%);
    color: white;
    text-align: center;
}

.cta-section h3 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    min-width: 200px;
}

/* Стили для страницы практики */
.practice-hero-section {
    background: linear-gradient(135deg, #1a252f 0%, #2c3e50 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.practice-hero-content h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.practice-hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.stats-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stats-section .stat-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.stats-section .stat-item:hover {
    transform: translateY(-5px);
}

.stats-section .stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #3498db;
    margin-bottom: 0.5rem;
}

.stats-section .stat-label {
    font-size: 1.1rem;
    color: #2c3e50;
    font-weight: 500;
}

.cases-section {
    padding: 4rem 0;
    background: white;
}

.cases-categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.category-btn {
    padding: 0.75rem 1.5rem;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    color: #2c3e50;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.category-btn:hover,
.category-btn.active {
    background: #3498db;
    color: white;
    border-color: #3498db;
    transform: translateY(-2px);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.case-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border: 1px solid #e9ecef;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.case-category {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #3498db;
    color: white;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.case-category.criminal {
    background: #e74c3c;
}

.case-category.civil {
    background: #27ae60;
}

.case-category.administrative {
    background: #f39c12;
}

.case-title {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.case-description {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.case-result {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 10px;
    border-left: 4px solid #27ae60;
}

.case-result strong {
    color: #27ae60;
}

.testimonials-section {
    padding: 6rem 0;
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2.5rem;
    border-radius: 20px;
    transition: transform 0.3s ease;
    border: 1px solid #e9ecef;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.testimonial-content p {
    font-style: italic;
    color: #2c3e50;
    margin-bottom: 2rem;
    line-height: 1.7;
    font-size: 1.1rem;
}

.testimonial-author {
    border-top: 1px solid #e9ecef;
    padding-top: 1.5rem;
}

.testimonial-author strong {
    display: block;
    color: #3498db;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.testimonial-author span {
    color: #666;
    font-size: 0.9rem;
}

.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1a252f 0%, #2c3e50 100%);
    color: white;
    text-align: center;
}

.cta-section h3 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.cta-actions .btn {
    min-width: 200px;
}

.cta-info {
    opacity: 0.8;
    font-size: 1rem;
}

.cta-info strong {
    color: #3498db;
}

/* Адаптивность для главной страницы */
@media (max-width: 768px) {
    .specialization-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .specialization-features {
        grid-template-columns: 1fr;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-actions .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .specialization-text h3 {
        font-size: 1.5rem;
    }
    
    .advantage-card h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .specialization-text h3 {
        font-size: 1.3rem;
    }
    
    .advantage-card {
        padding: 2rem;
    }
    
    .feature-item {
        padding: 1.5rem;
    }
    
    .case-card {
        padding: 1.5rem;
    }
    
    .testimonial-card {
        padding: 2rem;
    }
}

/* Адаптивность для страницы практики */
@media (max-width: 768px) {
    .practice-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .cases-categories {
        flex-direction: column;
        align-items: center;
    }
    
    .category-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .practice-hero-content h1 {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-section .stat-number {
        font-size: 2.5rem;
    }
    
    .case-card {
        padding: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Стили для страниц услуг, о нас, контактов и FAQ */
.services-section,
.about-section,
.contact-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.services-section h2,
.about-section h2,
.contact-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-size: 2.5rem;
    position: relative;
}

.services-section h2::after,
.about-section h2::after,
.contact-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #3498db;
    border-radius: 2px;
}

.services-grid,
.about-content,
.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card,
.about-card,
.contact-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border: 1px solid #e9ecef;
    text-align: center;
}

.service-card:hover,
.about-card:hover,
.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.service-icon,
.about-icon,
.contact-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
}

.service-card h3,
.about-card h3,
.contact-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.service-card p,
.about-card p,
.contact-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    padding: 0;
    text-align: left;
}

.service-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
    color: #666;
    position: relative;
    padding-left: 2rem;
}

.service-features li:last-child {
    border-bottom: none;
}

.service-features li::before {
    content: "✓";
    color: #27ae60;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

/* Стили для FAQ */
.faq-section {
    padding: 4rem 0;
    background: white;
}

.faq-search {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    margin-bottom: 3rem;
    text-align: center;
}

.search-container {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    gap: 1rem;
}

.search-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.search-btn {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: linear-gradient(135deg, #2980b9, #1f5f8b);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
}

.faq-categories {
    margin: 2rem 0;
    text-align: center;
}

.categories-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.category-btn {
    padding: 0.8rem 1.5rem;
    background: white;
    border: 2px solid #3498db;
    color: #3498db;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.category-btn:hover,
.category-btn.active {
    background: #3498db;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
}

.faq-item {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    border-left: 5px solid #3498db;
    transition: all 0.3s ease;
    cursor: pointer;
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    margin-bottom: 1rem;
}

.faq-question h3 {
    color: #2c3e50;
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.faq-toggle {
    background: #3498db;
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: bold;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-toggle:hover {
    background: #2980b9;
    transform: scale(1.1);
}

.faq-answer {
    color: #666;
    line-height: 1.7;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0;
}

.faq-answer.active {
    max-height: 200px;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

/* Стили для контактной формы */
.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    margin-top: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2c3e50;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
    background: white;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.9rem;
    color: #666;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-right: 0.5rem;
}

.form-submit {
    text-align: center;
    margin-top: 2rem;
}

.form-submit .btn {
    padding: 1rem 3rem;
    font-size: 1.1rem;
    min-width: 200px;
}

/* Стили для контактной информации */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-method {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.contact-method:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.method-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #3498db;
}

.contact-value {
    font-size: 1.3rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.contact-description {
    color: #666;
    margin-bottom: 1.5rem;
}

/* Стили для главной страницы */

/* Стили для страницы документов */
.documents-search,
.documents-categories,
.documents-grid-section {
    padding: 4rem 0;
}

.documents-search {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.documents-categories {
    background: white;
}

.documents-grid-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.documents-search h2,
.documents-categories h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-size: 2.5rem;
    position: relative;
}

.documents-search h2::after,
.documents-categories h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #3498db;
    border-radius: 2px;
}

/* Поиск документов */
.search-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.search-form {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.search-form input {
    flex: 1;
    min-width: 300px;
    padding: 1rem 1.5rem;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.search-form input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.search-form button {
    padding: 1rem 2rem;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-form button:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.search-tags {
    margin-top: 2rem;
}

.tag-label {
    display: block;
    margin-bottom: 1rem;
    color: #666;
    font-weight: 600;
}

.search-tag {
    display: inline-block;
    margin: 0.5rem;
    padding: 0.5rem 1rem;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 20px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-tag:hover {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

/* Категории документов */
.category-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.category-tab {
    padding: 1rem 2rem;
    background: white;
    border: 2px solid #3498db;
    color: #3498db;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.category-tab:hover,
.category-tab.active {
    background: #3498db;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
}

/* Сетка документов */
.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.document-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border: 1px solid #e9ecef;
    text-align: center;
    position: relative;
}

.document-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.document-card.featured {
    border: 3px solid #3498db;
}

.document-card.featured::before {
    content: 'Популярно';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #3498db;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.document-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: #3498db;
}

.document-category {
    display: inline-block;
    background: #e9ecef;
    color: #666;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.document-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.4;
}

.document-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.document-meta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.document-meta span {
    background: #f8f9fa;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 0.9rem;
    color: #666;
}

.document-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.document-actions .btn {
    min-width: 140px;
}

/* Стили для страницы новостей */
.news-section {
    padding: 4rem 0;
    background: white;
}

.news-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-size: 2.5rem;
    position: relative;
}

.news-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #3498db;
    border-radius: 2px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.news-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border: 1px solid #e9ecef;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.news-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 3rem;
}

.news-content {
    padding: 2rem;
}

.news-date {
    color: #3498db;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.news-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.news-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.news-read-more {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.news-read-more:hover {
    color: #2980b9;
}

/* Стили для страницы отзывов */
.reviews-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.reviews-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-size: 2.5rem;
    position: relative;
}

.reviews-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #3498db;
    border-radius: 2px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.review-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border: 1px solid #e9ecef;
    position: relative;
}

.review-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 2rem;
    font-size: 4rem;
    color: #3498db;
    opacity: 0.3;
    font-family: serif;
}

.review-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.review-content {
    margin-bottom: 2rem;
    font-style: italic;
    color: #2c3e50;
    line-height: 1.7;
    font-size: 1.1rem;
}

.review-author {
    text-align: right;
    border-top: 1px solid #e9ecef;
    padding-top: 1.5rem;
}

.review-author strong {
    display: block;
    color: #3498db;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.review-author span {
    color: #666;
    font-size: 0.9rem;
}

/* Стили для страницы консультаций */
.consultations-section {
    padding: 4rem 0;
    background: white;
}

.consultations-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-size: 2.5rem;
    position: relative;
}

.consultations-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #3498db;
    border-radius: 2px;
}

.consultation-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.consultation-type {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid #e9ecef;
}

.consultation-type:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.consultation-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: #3498db;
}

.consultation-type h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.consultation-type p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.consultation-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #27ae60;
    margin-bottom: 1.5rem;
}

/* Стили для главной страницы */

/* Стили для страницы цен */
.pricing-section,
.detailed-pricing,
.payment-section,
.pricing-cta {
    padding: 4rem 0;
}

.pricing-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.detailed-pricing {
    background: white;
}

.payment-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.pricing-cta {
    background: linear-gradient(135deg, #1a252f 0%, #2c3e50 100%);
    color: white;
    text-align: center;
}

.pricing-section h2,
.detailed-pricing h2,
.payment-section h2,
.pricing-cta h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-size: 2.5rem;
    position: relative;
}

.pricing-cta h2 {
    color: white;
}

.pricing-section h2::after,
.detailed-pricing h2::after,
.payment-section h2::after,
.pricing-cta h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #3498db;
    border-radius: 2px;
}

.pricing-cta h2::after {
    background: white;
}

/* Основные тарифы */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border: 1px solid #e9ecef;
    text-align: center;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.pricing-card.featured {
    border: 3px solid #3498db;
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #3498db;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.pricing-header h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.price {
    margin-bottom: 1rem;
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-right: 0.5rem;
}

.price-currency {
    font-size: 1.5rem;
    color: #666;
    font-weight: 400;
}

.price-description {
    color: #666;
    font-size: 1rem;
    margin-bottom: 2rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    text-align: left;
}

.pricing-features li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #e9ecef;
    color: #666;
    position: relative;
    padding-left: 2rem;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li::before {
    content: "✓";
    color: #27ae60;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

/* Детальные тарифы */
.pricing-categories {
    margin-top: 3rem;
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 1rem 2rem;
    background: white;
    border: 2px solid #3498db;
    color: #3498db;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.tab-btn:hover,
.tab-btn.active {
    background: #3498db;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.services-pricing {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-price-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-left: 4px solid #3498db;
    transition: transform 0.3s ease;
}

.service-price-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.service-price-item h4 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.price-range {
    font-size: 1.5rem;
    font-weight: 700;
    color: #3498db;
    margin-bottom: 1rem;
}

.service-price-item p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.learn-more {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.learn-more:hover {
    color: #2980b9;
}

/* Способы оплаты */
.payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.payment-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.payment-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.payment-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #3498db;
}

.payment-item h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.payment-item p {
    color: #666;
    line-height: 1.6;
}

/* CTA секция */
.pricing-cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    min-width: 200px;
}

/* Стили для главной страницы */

/* Стили для страницы статей */
.articles-section {
    padding: 4rem 0;
    background: white;
}

.articles-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-size: 2.5rem;
    position: relative;
}

.articles-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #3498db;
    border-radius: 2px;
}

.articles-search {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    margin-bottom: 3rem;
    text-align: center;
}

.articles-categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.articles-category-btn {
    padding: 1rem 2rem;
    background: white;
    border: 2px solid #3498db;
    color: #3498db;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.articles-category-btn:hover,
.articles-category-btn.active {
    background: #3498db;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
}

.articles-category {
    margin-bottom: 4rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.articles-category h2 {
    color: #2c3e50;
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: left;
}

.articles-category h2::after {
    display: none;
}

.category-description {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.articles-list {
    display: grid;
    gap: 2rem;
}

.article-group {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-left: 4px solid #3498db;
}

.article-group h3 {
    color: #2c3e50;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.articles-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.articles-links li {
    margin-bottom: 1rem;
    padding: 0.8rem 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.articles-links li:hover {
    background: #e9ecef;
    transform: translateX(10px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.articles-links a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    display: block;
    transition: color 0.3s ease;
}

.articles-links a:hover {
    color: #3498db;
}

/* Стили для страницы контактов */
.page-header {
    background: linear-gradient(135deg, #1a252f 0%, #2c3e50 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    margin-bottom: 3rem;
}

.page-header h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.contact-info-section,
.working-hours-section,
.contact-form-section {
    padding: 4rem 0;
}

.contact-info-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.working-hours-section {
    background: white;
}

.contact-form-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.contact-info-section h2,
.working-hours-section h2,
.contact-form-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-size: 2.5rem;
    position: relative;
}

.contact-info-section h2::after,
.working-hours-section h2::after,
.contact-form-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #3498db;
    border-radius: 2px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.working-hours-content {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    margin-top: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.working-hours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.working-day {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #3498db;
}

.working-day-name {
    font-weight: 600;
    color: #2c3e50;
}

.working-day-hours {
    color: #3498db;
    font-weight: 600;
}

.emergency-info {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    margin-top: 2rem;
}

.emergency-info h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.emergency-btn {
    background: white;
    color: #e74c3c;
    border: 2px solid white;
    padding: 1rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.emergency-btn:hover {
    background: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255,255,255,0.3);
}

/* Стили для главной страницы */

/* Стили для страницы документов */
.documents-search,
.documents-categories,
.documents-grid-section {
    padding: 4rem 0;
}

.documents-search {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.documents-categories {
    background: white;
}

.documents-grid-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.documents-search h2,
.documents-categories h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-size: 2.5rem;
    position: relative;
}

.documents-search h2::after,
.documents-categories h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #3498db;
    border-radius: 2px;
}

/* Поиск документов */
.search-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.search-form {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.search-form input {
    flex: 1;
    min-width: 300px;
    padding: 1rem 1.5rem;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.search-form input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.search-form button {
    padding: 1rem 2rem;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-form button:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.search-tags {
    margin-top: 2rem;
}

.tag-label {
    display: block;
    margin-bottom: 1rem;
    color: #666;
    font-weight: 600;
}

.search-tag {
    display: inline-block;
    margin: 0.5rem;
    padding: 0.5rem 1rem;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 20px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-tag:hover {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

/* Категории документов */
.category-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.category-tab {
    padding: 1rem 2rem;
    background: white;
    border: 2px solid #3498db;
    color: #3498db;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.category-tab:hover,
.category-tab.active {
    background: #3498db;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
}

/* Сетка документов */
.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.document-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border: 1px solid #e9ecef;
    text-align: center;
    position: relative;
}

.document-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.document-card.featured {
    border: 3px solid #3498db;
}

.document-card.featured::before {
    content: 'Популярно';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #3498db;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.document-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: #3498db;
}

.document-category {
    display: inline-block;
    background: #e9ecef;
    color: #666;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.document-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.4;
}

.document-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.document-meta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.document-meta span {
    background: #f8f9fa;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 0.9rem;
    color: #666;
}

.document-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.document-actions .btn {
    min-width: 140px;
}

/* Стили для страницы новостей */
.news-section {
    padding: 4rem 0;
    background: white;
}

.news-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-size: 2.5rem;
    position: relative;
}

.news-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #3498db;
    border-radius: 2px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.news-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border: 1px solid #e9ecef;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.news-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 3rem;
}

.news-content {
    padding: 2rem;
}

.news-date {
    color: #3498db;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.news-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.news-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.news-read-more {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.news-read-more:hover {
    color: #2980b9;
}

/* Стили для страницы отзывов */
.reviews-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.reviews-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-size: 2.5rem;
    position: relative;
}

.reviews-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #3498db;
    border-radius: 2px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.review-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border: 1px solid #e9ecef;
    position: relative;
}

.review-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 2rem;
    font-size: 4rem;
    color: #3498db;
    opacity: 0.3;
    font-family: serif;
}

.review-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.review-content {
    margin-bottom: 2rem;
    font-style: italic;
    color: #2c3e50;
    line-height: 1.7;
    font-size: 1.1rem;
}

.review-author {
    text-align: right;
    border-top: 1px solid #e9ecef;
    padding-top: 1.5rem;
}

.review-author strong {
    display: block;
    color: #3498db;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.review-author span {
    color: #666;
    font-size: 0.9rem;
}

/* Стили для страницы консультаций */
.consultations-section {
    padding: 4rem 0;
    background: white;
}

.consultations-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-size: 2.5rem;
    position: relative;
}

.consultations-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #3498db;
    border-radius: 2px;
}

.consultation-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.consultation-type {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid #e9ecef;
}

.consultation-type:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.consultation-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: #3498db;
}

.consultation-type h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.consultation-type p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.consultation-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #27ae60;
    margin-bottom: 1.5rem;
}

/* Стили для главной страницы */

/* Стили для страницы цен */
.pricing-section,
.detailed-pricing,
.payment-section,
.pricing-cta {
    padding: 4rem 0;
}

.pricing-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.detailed-pricing {
    background: white;
}

.payment-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.pricing-cta {
    background: linear-gradient(135deg, #1a252f 0%, #2c3e50 100%);
    color: white;
    text-align: center;
}

.pricing-section h2,
.detailed-pricing h2,
.payment-section h2,
.pricing-cta h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-size: 2.5rem;
    position: relative;
}

.pricing-cta h2 {
    color: white;
}

.pricing-section h2::after,
.detailed-pricing h2::after,
.payment-section h2::after,
.pricing-cta h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #3498db;
    border-radius: 2px;
}

.pricing-cta h2::after {
    background: white;
}

/* Основные тарифы */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border: 1px solid #e9ecef;
    text-align: center;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.pricing-card.featured {
    border: 3px solid #3498db;
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #3498db;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.pricing-header h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.price {
    margin-bottom: 1rem;
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-right: 0.5rem;
}

.price-currency {
    font-size: 1.5rem;
    color: #666;
    font-weight: 400;
}

.price-description {
    color: #666;
    font-size: 1rem;
    margin-bottom: 2rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    text-align: left;
}

.pricing-features li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #e9ecef;
    color: #666;
    position: relative;
    padding-left: 2rem;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li::before {
    content: "✓";
    color: #27ae60;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

/* Детальные тарифы */
.pricing-categories {
    margin-top: 3rem;
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 1rem 2rem;
    background: white;
    border: 2px solid #3498db;
    color: #3498db;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.tab-btn:hover,
.tab-btn.active {
    background: #3498db;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.services-pricing {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-price-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-left: 4px solid #3498db;
    transition: transform 0.3s ease;
}

.service-price-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.service-price-item h4 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.price-range {
    font-size: 1.5rem;
    font-weight: 700;
    color: #3498db;
    margin-bottom: 1rem;
}

.service-price-item p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.learn-more {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.learn-more:hover {
    color: #2980b9;
}

/* Способы оплаты */
.payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.payment-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.payment-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.payment-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #3498db;
}

.payment-item h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.payment-item p {
    color: #666;
    line-height: 1.6;
}

/* CTA секция */
.pricing-cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    min-width: 200px;
}

/* Стили для главной страницы */

/* Стили для страницы статей */
.articles-section {
    padding: 4rem 0;
    background: white;
}

.articles-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-size: 2.5rem;
    position: relative;
}

.articles-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #3498db;
    border-radius: 2px;
}

.articles-search {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    margin-bottom: 3rem;
    text-align: center;
}

.articles-categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.articles-category-btn {
    padding: 1rem 2rem;
    background: white;
    border: 2px solid #3498db;
    color: #3498db;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.articles-category-btn:hover,
.articles-category-btn.active {
    background: #3498db;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
}

.articles-category {
    margin-bottom: 4rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.articles-category h2 {
    color: #2c3e50;
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: left;
}

.articles-category h2::after {
    display: none;
}

.category-description {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.articles-list {
    display: grid;
    gap: 2rem;
}

.article-group {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-left: 4px solid #3498db;
}

.article-group h3 {
    color: #2c3e50;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.articles-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.articles-links li {
    margin-bottom: 1rem;
    padding: 0.8rem 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.articles-links li:hover {
    background: #e9ecef;
    transform: translateX(10px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.articles-links a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    display: block;
    transition: color 0.3s ease;
}

.articles-links a:hover {
    color: #3498db;
}

/* Стили для страницы контактов */
.page-header {
    background: linear-gradient(135deg, #1a252f 0%, #2c3e50 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    margin-bottom: 3rem;
}

.page-header h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.contact-info-section,
.working-hours-section,
.contact-form-section {
    padding: 4rem 0;
}

.contact-info-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.working-hours-section {
    background: white;
}

.contact-form-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.contact-info-section h2,
.working-hours-section h2,
.contact-form-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-size: 2.5rem;
    position: relative;
}

.contact-info-section h2::after,
.working-hours-section h2::after,
.contact-form-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #3498db;
    border-radius: 2px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.working-hours-content {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    margin-top: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.working-hours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.working-day {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #3498db;
}

.working-day-name {
    font-weight: 600;
    color: #2c3e50;
}

.working-day-hours {
    color: #3498db;
    font-weight: 600;
}

.emergency-info {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    margin-top: 2rem;
}

.emergency-info h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.emergency-btn {
    background: white;
    color: #e74c3c;
    border: 2px solid white;
    padding: 1rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.emergency-btn:hover {
    background: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255,255,255,0.3);
}

/* Стили для главной страницы */

/* Стили для страницы документов */
.documents-search,
.documents-categories,
.documents-grid-section {
    padding: 4rem 0;
}

.documents-search {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.documents-categories {
    background: white;
}

.documents-grid-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.documents-search h2,
.documents-categories h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-size: 2.5rem;
    position: relative;
}

.documents-search h2::after,
.documents-categories h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #3498db;
    border-radius: 2px;
}

/* Поиск документов */
.search-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.search-form {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.search-form input {
    flex: 1;
    min-width: 300px;
    padding: 1rem 1.5rem;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.search-form input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.search-form button {
    padding: 1rem 2rem;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-form button:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.search-tags {
    margin-top: 2rem;
}

.tag-label {
    display: block;
    margin-bottom: 1rem;
    color: #666;
    font-weight: 600;
}

.search-tag {
    display: inline-block;
    margin: 0.5rem;
    padding: 0.5rem 1rem;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 20px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-tag:hover {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

/* Категории документов */
.category-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.category-tab {
    padding: 1rem 2rem;
    background: white;
    border: 2px solid #3498db;
    color: #3498db;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.category-tab:hover,
.category-tab.active {
    background: #3498db;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
}

/* Сетка документов */
.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.document-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border: 1px solid #e9ecef;
    text-align: center;
    position: relative;
}

.document-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.document-card.featured {
    border: 3px solid #3498db;
}

.document-card.featured::before {
    content: 'Популярно';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #3498db;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.document-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: #3498db;
}

.document-category {
    display: inline-block;
    background: #e9ecef;
    color: #666;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.document-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.4;
}

.document-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.document-meta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.document-meta span {
    background: #f8f9fa;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 0.9rem;
    color: #666;
}

.document-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.document-actions .btn {
    min-width: 140px;
}

/* Стили для страницы новостей */
.news-section {
    padding: 4rem 0;
    background: white;
}

.news-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-size: 2.5rem;
    position: relative;
}

.news-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #3498db;
    border-radius: 2px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.news-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border: 1px solid #e9ecef;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.news-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 3rem;
}

.news-content {
    padding: 2rem;
}

.news-date {
    color: #3498db;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.news-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.news-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.news-read-more {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.news-read-more:hover {
    color: #2980b9;
}

/* Стили для страницы отзывов */
.reviews-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.reviews-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-size: 2.5rem;
    position: relative;
}

.reviews-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #3498db;
    border-radius: 2px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.review-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border: 1px solid #e9ecef;
    position: relative;
}

.review-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 2rem;
    font-size: 4rem;
    color: #3498db;
    opacity: 0.3;
    font-family: serif;
}

.review-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.review-content {
    margin-bottom: 2rem;
    font-style: italic;
    color: #2c3e50;
    line-height: 1.7;
    font-size: 1.1rem;
}

.review-author {
    text-align: right;
    border-top: 1px solid #e9ecef;
    padding-top: 1.5rem;
}

.review-author strong {
    display: block;
    color: #3498db;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.review-author span {
    color: #666;
    font-size: 0.9rem;
}

/* Стили для страницы консультаций */
.consultations-section {
    padding: 4rem 0;
    background: white;
}

.consultations-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-size: 2.5rem;
    position: relative;
}

.consultations-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #3498db;
    border-radius: 2px;
}

.consultation-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.consultation-type {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid #e9ecef;
}

.consultation-type:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.consultation-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: #3498db;
}

.consultation-type h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.consultation-type p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.consultation-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #27ae60;
    margin-bottom: 1.5rem;
}

/* Стили для главной страницы */

/* Стили для страницы цен */
.pricing-section,
.detailed-pricing,
.payment-section,
.pricing-cta {
    padding: 4rem 0;
}

.pricing-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.detailed-pricing {
    background: white;
}

.payment-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.pricing-cta {
    background: linear-gradient(135deg, #1a252f 0%, #2c3e50 100%);
    color: white;
    text-align: center;
}

.pricing-section h2,
.detailed-pricing h2,
.payment-section h2,
.pricing-cta h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-size: 2.5rem;
    position: relative;
}

.pricing-cta h2 {
    color: white;
}

.pricing-section h2::after,
.detailed-pricing h2::after,
.payment-section h2::after,
.pricing-cta h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #3498db;
    border-radius: 2px;
}

.pricing-cta h2::after {
    background: white;
}

/* Основные тарифы */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border: 1px solid #e9ecef;
    text-align: center;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.pricing-card.featured {
    border: 3px solid #3498db;
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #3498db;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.pricing-header h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.price {
    margin-bottom: 1rem;
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-right: 0.5rem;
}

.price-currency {
    font-size: 1.5rem;
    color: #666;
    font-weight: 400;
}

.price-description {
    color: #666;
    font-size: 1rem;
    margin-bottom: 2rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    text-align: left;
}

.pricing-features li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #e9ecef;
    color: #666;
    position: relative;
    padding-left: 2rem;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li::before {
    content: "✓";
    color: #27ae60;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

/* Детальные тарифы */
.pricing-categories {
    margin-top: 3rem;
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 1rem 2rem;
    background: white;
    border: 2px solid #3498db;
    color: #3498db;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.tab-btn:hover,
.tab-btn.active {
    background: #3498db;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.services-pricing {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-price-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-left: 4px solid #3498db;
    transition: transform 0.3s ease;
}

.service-price-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.service-price-item h4 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.price-range {
    font-size: 1.5rem;
    font-weight: 700;
    color: #3498db;
    margin-bottom: 1rem;
}

.service-price-item p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.learn-more {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.learn-more:hover {
    color: #2980b9;
}

/* Способы оплаты */
.payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.payment-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.payment-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.payment-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #3498db;
}

.payment-item h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.payment-item p {
    color: #666;
    line-height: 1.6;
}

/* CTA секция */
.pricing-cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    min-width: 200px;
}

/* Стили для главной страницы */

/* Стили для страницы статей */
.articles-section {
    padding: 4rem 0;
    background: white;
}

.articles-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-size: 2.5rem;
    position: relative;
}

.articles-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #3498db;
    border-radius: 2px;
}

.articles-search {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    margin-bottom: 3rem;
    text-align: center;
}

.articles-categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.articles-category-btn {
    padding: 1rem 2rem;
    background: white;
    border: 2px solid #3498db;
    color: #3498db;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.articles-category-btn:hover,
.articles-category-btn.active {
    background: #3498db;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
}

.articles-category {
    margin-bottom: 4rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.articles-category h2 {
    color: #2c3e50;
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: left;
}

.articles-category h2::after {
    display: none;
}

.category-description {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.articles-list {
    display: grid;
    gap: 2rem;
}

.article-group {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-left: 4px solid #3498db;
}

.article-group h3 {
    color: #2c3e50;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.articles-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.articles-links li {
    margin-bottom: 1rem;
    padding: 0.8rem 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.articles-links li:hover {
    background: #e9ecef;
    transform: translateX(10px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.articles-links a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    display: block;
    transition: color 0.3s ease;
}

.articles-links a:hover {
    color: #3498db;
}

/* Стили для страницы контактов */
.page-header {
    background: linear-gradient(135deg, #1a252f 0%, #2c3e50 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    margin-bottom: 3rem;
}

.page-header h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.contact-info-section,
.working-hours-section,
.contact-form-section {
    padding: 4rem 0;
}

.contact-info-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.working-hours-section {
    background: white;
}

.contact-form-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.contact-info-section h2,
.working-hours-section h2,
.contact-form-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-size: 2.5rem;
    position: relative;
}

.contact-info-section h2::after,
.working-hours-section h2::after,
.contact-form-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #3498db;
    border-radius: 2px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.working-hours-content {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    margin-top: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.working-hours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.working-day {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #3498db;
}

.working-day-name {
    font-weight: 600;
    color: #2c3e50;
}

.working-day-hours {
    color: #3498db;
    font-weight: 600;
}

.emergency-info {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    margin-top: 2rem;
}

.emergency-info h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.emergency-btn {
    background: white;
    color: #e74c3c;
    border: 2px solid white;
    padding: 1rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.emergency-btn:hover {
    background: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255,255,255,0.3);
}

/* Стили для главной страницы */

/* Стили для страницы документов */
.documents-search,
.documents-categories,
.documents-grid-section {
    padding: 4rem 0;
}

.documents-search {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.documents-categories {
    background: white;
}

.documents-grid-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.documents-search h2,
.documents-categories h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-size: 2.5rem;
    position: relative;
}

.documents-search h2::after,
.documents-categories h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #3498db;
    border-radius: 2px;
}

/* Поиск документов */
.search-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.search-form {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.search-form input {
    flex: 1;
    min-width: 300px;
    padding: 1rem 1.5rem;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.search-form input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.search-form button {
    padding: 1rem 2rem;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-form button:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.search-tags {
    margin-top: 2rem;
}

.tag-label {
    display: block;
    margin-bottom: 1rem;
    color: #666;
    font-weight: 600;
}

.search-tag {
    display: inline-block;
    margin: 0.5rem;
    padding: 0.5rem 1rem;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 20px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-tag:hover {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

/* Категории документов */
.category-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.category-tab {
    padding: 1rem 2rem;
    background: white;
    border: 2px solid #3498db;
    color: #3498db;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.category-tab:hover,
.category-tab.active {
    background: #3498db;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
}

/* Сетка документов */
.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.document-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border: 1px solid #e9ecef;
    text-align: center;
    position: relative;
}

.document-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.document-card.featured {
    border: 3px solid #3498db;
}

.document-card.featured::before {
    content: 'Популярно';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #3498db;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.document-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: #3498db;
}

.document-category {
    display: inline-block;
    background: #e9ecef;
    color: #666;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.document-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.4;
}

.document-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.document-meta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.document-meta span {
    background: #f8f9fa;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 0.9rem;
    color: #666;
}

.document-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.document-actions .btn {
    min-width: 140px;
}

/* Стили для страницы новостей */
.news-section {
    padding: 4rem 0;
    background: white;
}

.news-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-size: 2.5rem;
    position: relative;
}

.news-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #3498db;
    border-radius: 2px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.news-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border: 1px solid #e9ecef;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.news-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 3rem;
}

.news-content {
    padding: 2rem;
}

.news-date {
    color: #3498db;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.news-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.news-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.news-read-more {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.news-read-more:hover {
    color: #2980b9;
}

/* Стили для страницы отзывов */
.reviews-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.reviews-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-size: 2.5rem;
    position: relative;
}

.reviews-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #3498db;
    border-radius: 2px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.review-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border: 1px solid #e9ecef;
    position: relative;
}

.review-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 2rem;
    font-size: 4rem;
    color: #3498db;
    opacity: 0.3;
    font-family: serif;
}

.review-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.review-content {
    margin-bottom: 2rem;
    font-style: italic;
    color: #2c3e50;
    line-height: 1.7;
    font-size: 1.1rem;
}

.review-author {
    text-align: right;
    border-top: 1px solid #e9ecef;
    padding-top: 1.5rem;
}

.review-author strong {
    display: block;
    color: #3498db;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.review-author span {
    color: #666;
    font-size: 0.9rem;
}

/* Стили для страницы консультаций */
.consultations-section {
    padding: 4rem 0;
    background: white;
}

.consultations-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-size: 2.5rem;
    position: relative;
}

.consultations-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #3498db;
    border-radius: 2px;
}

.consultation-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.consultation-type {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid #e9ecef;
}

.consultation-type:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.consultation-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: #3498db;
}

.consultation-type h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.consultation-type p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.consultation-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #27ae60;
    margin-bottom: 1.5rem;
}

/* Стили для главной страницы */

/* Стили для страницы цен */
.pricing-section,
.detailed-pricing,
.payment-section,
.pricing-cta {
    padding: 4rem 0;
}

.pricing-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.detailed-pricing {
    background: white;
}

.payment-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.pricing-cta {
    background: linear-gradient(135deg, #1a252f 0%, #2c3e50 100%);
    color: white;
    text-align: center;
}

.pricing-section h2,
.detailed-pricing h2,
.payment-section h2,
.pricing-cta h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-size: 2.5rem;
    position: relative;
}

.pricing-cta h2 {
    color: white;
}

.pricing-section h2::after,
.detailed-pricing h2::after,
.payment-section h2::after,
.pricing-cta h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #3498db;
    border-radius: 2px;
}

.pricing-cta h2::after {
    background: white;
}

/* Основные тарифы */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border: 1px solid #e9ecef;
    text-align: center;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.pricing-card.featured {
    border: 3px solid #3498db;
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #3498db;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.pricing-header h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.price {
    margin-bottom: 1rem;
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-right: 0.5rem;
}

.price-currency {
    font-size: 1.5rem;
    color: #666;
    font-weight: 400;
}

.price-description {
    color: #666;
    font-size: 1rem;
    margin-bottom: 2rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    text-align: left;
}

.pricing-features li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #e9ecef;
    color: #666;
    position: relative;
    padding-left: 2rem;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li::before {
    content: "✓";
    color: #27ae60;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

/* Детальные тарифы */
.pricing-categories {
    margin-top: 3rem;
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 1rem 2rem;
    background: white;
    border: 2px solid #3498db;
    color: #3498db;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.tab-btn:hover,
.tab-btn.active {
    background: #3498db;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.services-pricing {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-price-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-left: 4px solid #3498db;
    transition: transform 0.3s ease;
}

.service-price-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.service-price-item h4 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.price-range {
    font-size: 1.5rem;
    font-weight: 700;
    color: #3498db;
    margin-bottom: 1rem;
}

.service-price-item p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.learn-more {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.learn-more:hover {
    color: #2980b9;
}

/* Способы оплаты */
.payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.payment-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.payment-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.payment-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #3498db;
}

.payment-item h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.payment-item p {
    color: #666;
    line-height: 1.6;
}

/* CTA секция */
.pricing-cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    min-width: 200px;
}

/* Стили для главной страницы */

/* Стили для страницы статей */
.articles-section {
    padding: 4rem 0;
    background: white;
}

.articles-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-size: 2.5rem;
    position: relative;
}

.articles-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #3498db;
    border-radius: 2px;
}

.articles-search {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    margin-bottom: 3rem;
    text-align: center;
}

.articles-categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.articles-category-btn {
    padding: 1rem 2rem;
    background: white;
    border: 2px solid #3498db;
    color: #3498db;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.articles-category-btn:hover,
.articles-category-btn.active {
    background: #3498db;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
}

.articles-category {
    margin-bottom: 4rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.articles-category h2 {
    color: #2c3e50;
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: left;
}

.articles-category h2::after {
    display: none;
}

.category-description {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.articles-list {
    display: grid;
    gap: 2rem;
}

.article-group {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-left: 4px solid #3498db;
}

.article-group h3 {
    color: #2c3e50;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.articles-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.articles-links li {
    margin-bottom: 1rem;
    padding: 0.8rem 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.articles-links li:hover {
    background: #e9ecef;
    transform: translateX(10px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.articles-links a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    display: block;
    transition: color 0.3s ease;
}

.articles-links a:hover {
    color: #3498db;
}

/* Стили для страницы контактов */
.page-header {
    background: linear-gradient(135deg, #1a252f 0%, #2c3e50 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    margin-bottom: 3rem;
}

.page-header h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.contact-info-section,
.working-hours-section,
.contact-form-section {
    padding: 4rem 0;
}

.contact-info-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.working-hours-section {
    background: white;
}

.contact-form-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.contact-info-section h2,
.working-hours-section h2,
.contact-form-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-size: 2.5rem;
    position: relative;
}

.contact-info-section h2::after,
.working-hours-section h2::after,
.contact-form-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #3498db;
    border-radius: 2px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.working-hours-content {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    margin-top: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.working-hours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.working-day {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #3498db;
}

.working-day-name {
    font-weight: 600;
    color: #2c3e50;
}

.working-day-hours {
    color: #3498db;
    font-weight: 600;
}

.emergency-info {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    margin-top: 2rem;
}

.emergency-info h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.emergency-btn {
    background: white;
    color: #e74c3c;
    border: 2px solid white;
    padding: 1rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.emergency-btn:hover {
    background: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255,255,255,0.3);
}

/* Стили для главной страницы */

/* Стили для страницы документов */
.documents-search,
.documents-categories,
.documents-grid-section {
    padding: 4rem 0;
}

.documents-search {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.documents-categories {
    background: white;
}

.documents-grid-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.documents-search h2,
.documents-categories h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-size: 2.5rem;
    position: relative;
}

.documents-search h2::after,
.documents-categories h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #3498db;
    border-radius: 2px;
}

/* Поиск документов */
.search-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.search-form {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.search-form input {
    flex: 1;
    min-width: 300px;
    padding: 1rem 1.5rem;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.search-form input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.search-form button {
    padding: 1rem 2rem;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-form button:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.search-tags {
    margin-top: 2rem;
}

.tag-label {
    display: block;
    margin-bottom: 1rem;
    color: #666;
    font-weight: 600;
}

.search-tag {
    display: inline-block;
    margin: 0.5rem;
    padding: 0.5rem 1rem;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 20px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-tag:hover {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

/* Категории документов */
.category-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.category-tab {
    padding: 1rem 2rem;
    background: white;
    border: 2px solid #3498db;
    color: #3498db;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.category-tab:hover,
.category-tab.active {
    background: #3498db;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
}

/* Сетка документов */
.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.document-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border: 1px solid #e9ecef;
    text-align: center;
    position: relative;
}

.document-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.document-card.featured {
    border: 3px solid #3498db;
}

.document-card.featured::before {
    content: 'Популярно';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #3498db;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.document-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: #3498db;
}

.document-category {
    display: inline-block;
    background: #e9ecef;
    color: #666;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.document-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.4;
}

.document-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.document-meta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.document-meta span {
    background: #f8f9fa;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 0.9rem;
    color: #666;
}

.document-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.document-actions .btn {
    min-width: 140px;
}

/* Стили для страницы новостей */
.news-section {
    padding: 4rem 0;
    background: white;
}

.news-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-size: 2.5rem;
    position: relative;
}

.news-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #3498db;
    border-radius: 2px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.news-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border: 1px solid #e9ecef;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.news-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 3rem;
}

.news-content {
    padding: 2rem;
}

.news-date {
    color: #3498db;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.news-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.news-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.news-read-more {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.news-read-more:hover {
    color: #2980b9;
}

/* Стили для страницы отзывов */
.reviews-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.reviews-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-size: 2.5rem;
    position: relative;
}

.reviews-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #3498db;
    border-radius: 2px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.review-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border: 1px solid #e9ecef;
    position: relative;
}

.review-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 2rem;
    font-size: 4rem;
    color: #3498db;
    opacity: 0.3;
    font-family: serif;
}

.review-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.review-content {
    margin-bottom: 2rem;
    font-style: italic;
    color: #2c3e50;
    line-height: 1.7;
    font-size: 1.1rem;
}

.review-author {
    text-align: right;
    border-top: 1px solid #e9ecef;
    padding-top: 1.5rem;
}

.review-author strong {
    display: block;
    color: #3498db;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.review-author span {
    color: #666;
    font-size: 0.9rem;
}

/* Стили для страницы консультаций */
.consultations-section {
    padding: 4rem 0;
    background: white;
}

.consultations-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-size: 2.5rem;
    position: relative;
}

.consultations-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #3498db;
    border-radius: 2px;
}

.consultation-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.consultation-type {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid #e9ecef;
}

.consultation-type:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.consultation-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: #3498db;
}

.consultation-type h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.consultation-type p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.consultation-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #27ae60;
    margin-bottom: 1.5rem;
}

/* Стили для главной страницы */

/* Стили для страницы цен */
.pricing-section,
.detailed-pricing,
.payment-section,
.pricing-cta {
    padding: 4rem 0;
}

.pricing-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.detailed-pricing {
    background: white;
}

.payment-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.pricing-cta {
    background: linear-gradient(135deg, #1a252f 0%, #2c3e50 100%);
    color: white;
    text-align: center;
}

.pricing-section h2,
.detailed-pricing h2,
.payment-section h2,
.pricing-cta h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-size: 2.5rem;
    position: relative;
}

.pricing-cta h2 {
    color: white;
}

.pricing-section h2::after,
.detailed-pricing h2::after,
.payment-section h2::after,
.pricing-cta h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #3498db;
    border-radius: 2px;
}

.pricing-cta h2::after {
    background: white;
}

/* Основные тарифы */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border: 1px solid #e9ecef;
    text-align: center;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.pricing-card.featured {
    border: 3px solid #3498db;
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #3498db;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.pricing-header h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.price {
    margin-bottom: 1rem;
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-right: 0.5rem;
}

.price-currency {
    font-size: 1.5rem;
    color: #666;
    font-weight: 400;
}

.price-description {
    color: #666;
    font-size: 1rem;
    margin-bottom: 2rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    text-align: left;
}

.pricing-features li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #e9ecef;
    color: #666;
    position: relative;
    padding-left: 2rem;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li::before {
    content: "✓";
    color: #27ae60;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

/* Детальные тарифы */
.pricing-categories {
    margin-top: 3rem;
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 1rem 2rem;
    background: white;
    border: 2px solid #3498db;
    color: #3498db;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.tab-btn:hover,
.tab-btn.active {
    background: #3498db;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.services-pricing {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-price-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-left: 4px solid #3498db;
    transition: transform 0.3s ease;
}

.service-price-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.service-price-item h4 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.price-range {
    font-size: 1.5rem;
    font-weight: 700;
    color: #3498db;
    margin-bottom: 1rem;
}

.service-price-item p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.learn-more {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.learn-more:hover {
    color: #2980b9;
}

/* Способы оплаты */
.payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.payment-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.payment-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.payment-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #3498db;
}

.payment-item h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.payment-item p {
    color: #666;
    line-height: 1.6;
}

/* CTA секция */
.pricing-cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    min-width: 200px;
}

/* Стили для главной страницы */

/* Стили для страницы статей */
.articles-section {
    padding: 4rem 0;
    background: white;
}

.articles-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-size: 2.5rem;
    position: relative;
}

.articles-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #3498db;
    border-radius: 2px;
}

.articles-search {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    margin-bottom: 3rem;
    text-align: center;
}

.articles-categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.articles-category-btn {
    padding: 1rem 2rem;
    background: white;
    border: 2px solid #3498db;
    color: #3498db;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.articles-category-btn:hover,
.articles-category-btn.active {
    background: #3498db;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
}

.articles-category {
    margin-bottom: 4rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.articles-category h2 {
    color: #2c3e50;
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: left;
}

.articles-category h2::after {
    display: none;
}

.category-description {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.articles-list {
    display: grid;
    gap: 2rem;
}

.article-group {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-left: 4px solid #3498db;
}

.article-group h3 {
    color: #2c3e50;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.articles-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.articles-links li {
    margin-bottom: 1rem;
    padding: 0.8rem 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.articles-links li:hover {
    background: #e9ecef;
    transform: translateX(10px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.articles-links a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    display: block;
    transition: color 0.3s ease;
}

.articles-links a:hover {
    color: #3498db;
}

/* Стили для страницы контактов */
.page-header {
    background: linear-gradient(135deg, #1a252f 0%, #2c3e50 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    margin-bottom: 3rem;
}

.page-header h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.contact-info-section,
.working-hours-section,
.contact-form-section {
    padding: 4rem 0;
}

.contact-info-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.working-hours-section {
    background: white;
}

.contact-form-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.contact-info-section h2,
.working-hours-section h2,
.contact-form-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-size: 2.5rem;
    position: relative;
}

.contact-info-section h2::after,
.working-hours-section h2::after,
.contact-form-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #3498db;
    border-radius: 2px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.working-hours-content {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    margin-top: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.working-hours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.working-day {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #3498db;
}

.working-day-name {
    font-weight: 600;
    color: #2c3e50;
}

.working-day-hours {
    color: #3498db;
    font-weight: 600;
}

.emergency-info {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    margin-top: 2rem;
}

.emergency-info h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.emergency-btn {
    background: white;
    color: #e74c3c;
    border: 2px solid white;
    padding: 1rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.emergency-btn:hover {
    background: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255,255,255,0.3);
}

/* Стили для главной страницы */

/* Стили для страницы документов */
.documents-search,
.documents-categories,
.documents-grid-section {
    padding: 4rem 0;
}

.documents-search {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.documents-categories {
    background: white;
}

.documents-grid-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.documents-search h2,
.documents-categories h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-size: 2.5rem;
    position: relative;
}

.documents-search h2::after,
.documents-categories h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #3498db;
    border-radius: 2px;
}

/* Поиск документов */
.search-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.search-form {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.search-form input {
    flex: 1;
    min-width: 300px;
    padding: 1rem 1.5rem;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.search-form input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.search-form button {
    padding: 1rem 2rem;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-form button:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.search-tags {
    margin-top: 2rem;
}

.tag-label {
    display: block;
    margin-bottom: 1rem;
    color: #666;
    font-weight: 600;
}

.search-tag {
    display: inline-block;
    margin: 0.5rem;
    padding: 0.5rem 1rem;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 20px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-tag:hover {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

/* Категории документов */
.category-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.category-tab {
    padding: 1rem 2rem;
    background: white;
    border: 2px solid #3498db;
    color: #3498db;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.category-tab:hover,
.category-tab.active {
    background: #3498db;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
}

/* Сетка документов */
.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.document-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border: 1px solid #e9ecef;
    text-align: center;
    position: relative;
}

.document-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.document-card.featured {
    border: 3px solid #3498db;
}

.document-card.featured::before {
    content: 'Популярно';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #3498db;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.document-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: #3498db;
}

.document-category {
    display: inline-block;
    background: #e9ecef;
    color: #666;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.document-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.4;
}

.document-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.document-meta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.document-meta span {
    background: #f8f9fa;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 0.9rem;
    color: #666;
}

.document-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.document-actions .btn {
    min-width: 140px;
}

/* Стили для страницы новостей */
.news-section {
    padding: 4rem 0;
    background: white;
}

.news-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-size: 2.5rem;
    position: relative;
}

.news-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #3498db;
    border-radius: 2px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.news-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border: 1px solid #e9ecef;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.news-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 3rem;
}

.news-content {
    padding: 2rem;
}

.news-date {
    color: #3498db;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.news-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.news-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.news-read-more {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.news-read-more:hover {
    color: #2980b9;
}

/* Стили для страницы отзывов */
.reviews-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.reviews-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-size: 2.5rem;
    position: relative;
}

.reviews-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #3498db;
    border-radius: 2px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.review-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border: 1px solid #e9ecef;
    position: relative;
}

.review-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 2rem;
    font-size: 4rem;
    color: #3498db;
    opacity: 0.3;
    font-family: serif;
}

.review-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.review-content {
    margin-bottom: 2rem;
    font-style: italic;
    color: #2c3e50;
    line-height: 1.7;
    font-size: 1.1rem;
}

.review-author {
    text-align: right;
    border-top: 1px solid #e9ecef;
    padding-top: 1.5rem;
}

.review-author strong {
    display: block;
    color: #3498db;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.review-author span {
    color: #666;
    font-size: 0.9rem;
}

/* Стили для страницы консультаций */
.consultations-section {
    padding: 4rem 0;
    background: white;
}

.consultations-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-size: 2.5rem;
    position: relative;
}

.consultations-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #3498db;
    border-radius: 2px;
}

.consultation-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.consultation-type {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid #e9ecef;
}

.consultation-type:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.consultation-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: #3498db;
}

.consultation-type h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.consultation-type p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.consultation-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #27ae60;
    margin-bottom: 1.5rem;
}

/* Стили для главной страницы */

/* Стили для страницы цен */
.pricing-section,
.detailed-pricing,
.payment-section,
.pricing-cta {
    padding: 4rem 0;
}

.pricing-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.detailed-pricing {
    background: white;
}

.payment-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.pricing-cta {
    background: linear-gradient(135deg, #1a252f 0%, #2c3e50 100%);
    color: white;
    text-align: center;
}

.pricing-section h2,
.detailed-pricing h2,
.payment-section h2,
.pricing-cta h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-size: 2.5rem;
    position: relative;
}

.pricing-cta h2 {
    color: white;
}

.pricing-section h2::after,
.detailed-pricing h2::after,
.payment-section h2::after,
.pricing-cta h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #3498db;
    border-radius: 2px;
}

.pricing-cta h2::after {
    background: white;
}

/* Основные тарифы */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border: 1px solid #e9ecef;
    text-align: center;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.pricing-card.featured {
    border: 3px solid #3498db;
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #3498db;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.pricing-header h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.price {
    margin-bottom: 1rem;
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-right: 0.5rem;
}

.price-currency {
    font-size: 1.5rem;
    color: #666;
    font-weight: 400;
}

.price-description {
    color: #666;
    font-size: 1rem;
    margin-bottom: 2rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    text-align: left;
}

.pricing-features li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #e9ecef;
    color: #666;
    position: relative;
    padding-left: 2rem;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li::before {
    content: "✓";
    color: #27ae60;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

/* Детальные тарифы */
.pricing-categories {
    margin-top: 3rem;
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 1rem 2rem;
    background: white;
    border: 2px solid #3498db;
    color: #3498db;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.tab-btn:hover,
.tab-btn.active {
    background: #3498db;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.services-pricing {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-price-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-left: 4px solid #3498db;
    transition: transform 0.3s ease;
}

.service-price-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.service-price-item h4 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.price-range {
    font-size: 1.5rem;
    font-weight: 700;
    color: #3498db;
    margin-bottom: 1rem;
}

.service-price-item p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.learn-more {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.learn-more:hover {
    color: #2980b9;
}

/* Способы оплаты */
.payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.payment-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.payment-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.payment-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #3498db;
}

.payment-item h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.payment-item p {
    color: #666;
    line-height: 1.6;
}

/* CTA секция */
.pricing-cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    min-width: 200px;
}

/* Стили для главной страницы */

/* Стили для страницы статей */
.articles-section {
    padding: 4rem 0;
    background: white;
}

.articles-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-size: 2.5rem;
    position: relative;
}

.articles-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #3498db;
    border-radius: 2px;
}

.articles-search {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    margin-bottom: 3rem;
    text-align: center;
}

.articles-categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.articles-category-btn {
    padding: 1rem 2rem;
    background: white;
    border: 2px solid #3498db;
    color: #3498db;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.articles-category-btn:hover,
.articles-category-btn.active {
    background: #3498db;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
}

.articles-category {
    margin-bottom: 4rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.articles-category h2 {
    color: #2c3e50;
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: left;
}

.articles-category h2::after {
    display: none;
}

.category-description {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.articles-list {
    display: grid;
    gap: 2rem;
}

.article-group {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-left: 4px solid #3498db;
}

.article-group h3 {
    color: #2c3e50;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.articles-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.articles-links li {
    margin-bottom: 1rem;
    padding: 0.8rem 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.articles-links li:hover {
    background: #e9ecef;
    transform: translateX(10px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.articles-links a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    display: block;
    transition: color 0.3s ease;
}

.articles-links a:hover {
    color: #3498db;
}

/* Стили для страницы контактов */
.page-header {
    background: linear-gradient(135deg, #1a252f 0%, #2c3e50 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    margin-bottom: 3rem;
}

.page-header h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.contact-info-section,
.working-hours-section,
.contact-form-section {
    padding: 4rem 0;
}

.contact-info-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.working-hours-section {
    background: white;
}

.contact-form-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.contact-info-section h2,
.working-hours-section h2,
.contact-form-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-size: 2.5rem;
    position: relative;
}

.contact-info-section h2::after,
.working-hours-section h2::after,
.contact-form-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #3498db;
    border-radius: 2px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.working-hours-content {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    margin-top: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.working-hours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.working-day {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #3498db;
}

.working-day-name {
    font-weight: 600;
    color: #2c3e50;
}

.working-day-hours {
    color: #3498db;
    font-weight: 600;
}

.emergency-info {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    margin-top: 2rem;
}

.emergency-info h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.emergency-btn {
    background: white;
    color: #e74c3c;
    border: 2px solid white;
    padding: 1rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.emergency-btn:hover {
    background: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255,255,255,0.3);
}

/* Стили для главной страницы */

/* Стили для страницы документов */
.documents-search,
.documents-categories,
.documents-grid-section {
    padding: 4rem 0;
}

.documents-search {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.documents-categories {
    background: white;
}

.documents-grid-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.documents-search h2,
.documents-categories h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-size: 2.5rem;
    position: relative;
}

.documents-search h2::after,
.documents-categories h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #3498db;
    border-radius: 2px;
}

/* Поиск документов */
.search-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.search-form {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.search-form input {
    flex: 1;
    min-width: 300px;
    padding: 1rem 1.5rem;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.search-form input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.search-form button {
    padding: 1rem 2rem;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-form button:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.search-tags {
    margin-top: 2rem;
}

.tag-label {
    display: block;
    margin-bottom: 1rem;
    color: #666;
    font-weight: 600;
}

.search-tag {
    display: inline-block;
    margin: 0.5rem;
    padding: 0.5rem 1rem;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 20px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-tag:hover {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

/* Категории документов */
.category-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.category-tab {
    padding: 1rem 2rem;
    background: white;
    border: 2px solid #3498db;
    color: #3498db;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.category-tab:hover,
.category-tab.active {
    background: #3498db;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
}

/* Сетка документов */
.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.document-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border: 1px solid #e9ecef;
    text-align: center;
    position: relative;
}

.document-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.document-card.featured {
    border: 3px solid #3498db;
}

.document-card.featured::before {
    content: 'Популярно';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #3498db;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.document-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: #3498db;
}

.document-category {
    display: inline-block;
    background: #e9ecef;
    color: #666;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.document-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.4;
}

.document-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.document-meta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.document-meta span {
    background: #f8f9fa;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 0.9rem;
    color: #666;
}

.document-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.document-actions .btn {
    min-width: 140px;
}

/* Стили для страницы новостей */
.news-section {
    padding: 4rem 0;
    background: white;
}

.news-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-size: 2.5rem;
    position: relative;
}

.news-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #3498db;
    border-radius: 2px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.news-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border: 1px solid #e9ecef;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.news-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 3rem;
}

.news-content {
    padding: 2rem;
}

.news-date {
    color: #3498db;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.news-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.news-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.news-read-more {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.news-read-more:hover {
    color: #2980b9;
}

/* Стили для страницы отзывов */
.reviews-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.reviews-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-size: 2.5rem;
    position: relative;
}

.reviews-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #3498db;
    border-radius: 2px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.review-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border: 1px solid #e9ecef;
    position: relative;
}

.review-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 2rem;
    font-size: 4rem;
    color: #3498db;
    opacity: 0.3;
    font-family: serif;
}

.review-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.review-content {
    margin-bottom: 2rem;
    font-style: italic;
    color: #2c3e50;
    line-height: 1.7;
    font-size: 1.1rem;
}

.review-author {
    text-align: right;
    border-top: 1px solid #e9ecef;
    padding-top: 1.5rem;
}

.review-author strong {
    display: block;
    color: #3498db;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.review-author span {
    color: #666;
    font-size: 0.9rem;
}

/* Стили для страницы консультаций */
.consultations-section {
    padding: 4rem 0;
    background: white;
}

.consultations-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-size: 2.5rem;
    position: relative;
}

.consultations-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #3498db;
    border-radius: 2px;
}

.consultation-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.consultation-type {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid #e9ecef;
}

.consultation-type:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.consultation-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: #3498db;
}

.consultation-type h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.consultation-type p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.consultation-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #27ae60;
    margin-bottom: 1.5rem;
}

/* Стили для главной страницы */

/* Стили для страницы цен */
.pricing-section,
.detailed-pricing,
.payment-section,
.pricing-cta {
    padding: 4rem 0;
}

.pricing-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.detailed-pricing {
    background: white;
}

.payment-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.pricing-cta {
    background: linear-gradient(135deg, #1a252f 0%, #2c3e50 100%);
    color: white;
    text-align: center;
}

.pricing-section h2,
.detailed-pricing h2,
.payment-section h2,
.pricing-cta h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-size: 2.5rem;
    position: relative;
}

.pricing-cta h2 {
    color: white;
}

.pricing-section h2::after,
.detailed-pricing h2::after,
.payment-section h2::after,
.pricing-cta h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #3498db;
    border-radius: 2px;
}

.pricing-cta h2::after {
    background: white;
}

/* Основные тарифы */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border: 1px solid #e9ecef;
    text-align: center;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.pricing-card.featured {
    border: 3px solid #3498db;
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #3498db;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.pricing-header h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.price {
    margin-bottom: 1rem;
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-right: 0.5rem;
}

.price-currency {
    font-size: 1.5rem;
    color: #666;
    font-weight: 400;
}

.price-description {
    color: #666;
    font-size: 1rem;
    margin-bottom: 2rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    text-align: left;
}

.pricing-features li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #e9ecef;
    color: #666;
    position: relative;
    padding-left: 2rem;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li::before {
    content: "✓";
    color: #27ae60;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

/* Детальные тарифы */
.pricing-categories {
    margin-top: 3rem;
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 1rem 2rem;
    background: white;
    border: 2px solid #3498db;
    color: #3498db;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.tab-btn:hover,
.tab-btn.active {
    background: #3498db;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.services-pricing {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-price-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-left: 4px solid #3498db;
    transition: transform 0.3s ease;
}

.service-price-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.service-price-item h4 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.price-range {
    font-size: 1.5rem;
    font-weight: 700;
    color: #3498db;
    margin-bottom: 1rem;
}

.service-price-item p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.learn-more {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.learn-more:hover {
    color: #2980b9;
}

/* Способы оплаты */
.payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.payment-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.payment-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.payment-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #3498db;
}

.payment-item h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.payment-item p {
    color: #666;
    line-height: 1.6;
}

/* CTA секция */
.pricing-cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    min-width: 200px;
}

/* Стили для главной страницы */

/* Стили для страницы статей */
.articles-section {
    padding: 4rem 0;
    background: white;
}

.articles-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-size: 2.5rem;
    position: relative;
}

.articles-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #3498db;
    border-radius: 2px;
}

.articles-search {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    margin-bottom: 3rem;
    text-align: center;
}

.articles-categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.articles-category-btn {
    padding: 1rem 2rem;
    background: white;
    border: 2px solid #3498db;
    color: #3498db;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.articles-category-btn:hover,
.articles-category-btn.active {
    background: #3498db;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
}

.articles-category {
    margin-bottom: 4rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.articles-category h2 {
    color: #2c3e50;
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: left;
}

.articles-category h2::after {
    display: none;
}

.category-description {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.articles-list {
    display: grid;
    gap: 2rem;
}

.article-group {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-left: 4px solid #3498db;
}

.article-group h3 {
    color: #2c3e50;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.articles-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.articles-links li {
    margin-bottom: 1rem;
    padding: 0.8rem 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.articles-links li:hover {
    background: #e9ecef;
    transform: translateX(10px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.articles-links a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    display: block;
    transition: color 0.3s ease;
}

.articles-links a:hover {
    color: #3498db;
}

/* Стили для страницы контактов */
.page-header {
    background: linear-gradient(135deg, #1a252f 0%, #2c3e50 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    margin-bottom: 3rem;
}

.page-header h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.contact-info-section,
.working-hours-section,
.contact-form-section {
    padding: 4rem 0;
}

.contact-info-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.working-hours-section {
    background: white;
}

.contact-form-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.contact-info-section h2,
.working-hours-section h2,
.contact-form-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-size: 2.5rem;
    position: relative;
}

.contact-info-section h2::after,
.working-hours-section h2::after,
.contact-form-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #3498db;
    border-radius: 2px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.working-hours-content {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    margin-top: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.working-hours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.working-day {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #3498db;
}

.working-day-name {
    font-weight: 600;
    color: #2c3e50;
}

.working-day-hours {
    color: #3498db;
    font-weight: 600;
}

.emergency-info {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    margin-top: 2rem;
}

.emergency-info h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.emergency-btn {
    background: white;
    color: #e74c3c;
    border: 2px solid white;
    padding: 1rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.emergency-btn:hover {
    background: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255,255,255,0.3);
}

/* Стили для главной страницы */

/* Стили для страницы документов */
.documents-search,
.documents-categories,
.documents-grid-section {
    padding: 4rem 0;
}

.documents-search {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.documents-categories {
    background: white;
}

.documents-grid-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.documents-search h2,
.documents-categories h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-size: 2.5rem;
    position: relative;
}

.documents-search h2::after,
.documents-categories h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #3498db;
    border-radius: 2px;
}

/* Поиск документов */
.search-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.search-form {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.search-form input {
    flex: 1;
    min-width: 300px;
    padding: 1rem 1.5rem;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.search-form input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.search-form button {
    padding: 1rem 2rem;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-form button:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.search-tags {
    margin-top: 2rem;
}

.tag-label {
    display: block;
    margin-bottom: 1rem;
    color: #666;
    font-weight: 600;
}

.search-tag {
    display: inline-block;
    margin: 0.5rem;
    padding: 0.5rem 1rem;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 20px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-tag:hover {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

/* Категории документов */
.category-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.category-tab {
    padding: 1rem 2rem;
    background: white;
    border: 2px solid #3498db;
    color: #3498db;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.category-tab:hover,
.category-tab.active {
    background: #3498db;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
}

/* Сетка документов */
.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.document-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border: 1px solid #e9ecef;
    text-align: center;
    position: relative;
}

.document-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.document-card.featured {
    border: 3px solid #3498db;
}

.document-card.featured::before {
    content: 'Популярно';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #3498db;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.document-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: #3498db;
}

.document-category {
    display: inline-block;
    background: #e9ecef;
    color: #666;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.document-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.4;
}

.document-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.document-meta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.document-meta span {
    background: #f8f9fa;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 0.9rem;
    color: #666;
}

.document-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.document-actions .btn {
    min-width: 140px;
}

/* Стили для страницы новостей */
.news-section {
    padding: 4rem 0;
    background: white;
}

.news-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-size: 2.5rem;
    position: relative;
}

.news-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #3498db;
    border-radius: 2px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.news-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border: 1px solid #e9ecef;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.news-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 3rem;
}

.news-content {
    padding: 2rem;
}

.news-date {
    color: #3498db;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.news-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.news-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.news-read-more {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.news-read-more:hover {
    color: #2980b9;
}

/* Стили для страницы отзывов */
.reviews-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.reviews-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-size: 2.5rem;
    position: relative;
}

.reviews-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #3498db;
    border-radius: 2px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.review-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border: 1px solid #e9ecef;
    position: relative;
}

.review-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 2rem;
    font-size: 4rem;
    color: #3498db;
    opacity: 0.3;
    font-family: serif;
}

.review-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.review-content {
    margin-bottom: 2rem;
    font-style: italic;
    color: #2c3e50;
    line-height: 1.7;
    font-size: 1.1rem;
}

.review-author {
    text-align: right;
    border-top: 1px solid #e9ecef;
    padding-top: 1.5rem;
}

.review-author strong {
    display: block;
    color: #3498db;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.review-author span {
    color: #666;
    font-size: 0.9rem;
}

/* Стили для страницы консультаций */
.consultations-section {
    padding: 4rem 0;
    background: white;
}

.consultations-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-size: 2.5rem;
    position: relative;
}

.consultations-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #3498db;
    border-radius: 2px;
}

.consultation-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.consultation-type {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid #e9ecef;
}

.consultation-type:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.consultation-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: #3498db;
}

.consultation-type h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.consultation-type p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.consultation-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #27ae60;
    margin-bottom: 1.5rem;
}

/* Стили для главной страницы */

/* Стили для страницы цен */
.pricing-section,
.detailed-pricing,
.payment-section,
.pricing-cta {
    padding: 4rem 0;
}

.pricing-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.detailed-pricing {
    background: white;
}

.payment-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.pricing-cta {
    background: linear-gradient(135deg, #1a252f 0%, #2c3e50 100%);
    color: white;
    text-align: center;
}

.pricing-section h2,
.detailed-pricing h2,
.payment-section h2,
.pricing-cta h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-size: 2.5rem;
    position: relative;
}

.pricing-cta h2 {
    color: white;
}

.pricing-section h2::after,
.detailed-pricing h2::after,
.payment-section h2::after,
.pricing-cta h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #3498db;
    border-radius: 2px;
}

.pricing-cta h2::after {
    background: white;
}

/* Основные тарифы */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border: 1px solid #e9ecef;
    text-align: center;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.pricing-card.featured {
    border: 3px solid #3498db;
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #3498db;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.pricing-header h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.price {
    margin-bottom: 1rem;
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-right: 0.5rem;
}

.price-currency {
    font-size: 1.5rem;
    color: #666;
    font-weight: 400;
}

.price-description {
    color: #666;
    font-size: 1rem;
    margin-bottom: 2rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    text-align: left;
}

.pricing-features li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #e9ecef;
    color: #666;
    position: relative;
    padding-left: 2rem;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li::before {
    content: "✓";
    color: #27ae60;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

/* Детальные тарифы */
.pricing-categories {
    margin-top: 3rem;
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 1rem 2rem;
    background: white;
    border: 2px solid #3498db;
    color: #3498db;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.tab-btn:hover,
.tab-btn.active {
    background: #3498db;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.services-pricing {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-price-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-left: 4px solid #3498db;
    transition: transform 0.3s ease;
}

.service-price-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.service-price-item h4 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.price-range {
    font-size: 1.5rem;
    font-weight: 700;
    color: #3498db;
    margin-bottom: 1rem;
}

.service-price-item p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.learn-more {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.learn-more:hover {
    color: #2980b9;
}

/* Способы оплаты */
.payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.payment-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.payment-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.payment-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #3498db;
}

.payment-item h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.payment-item p {
    color: #666;
    line-height: 1.6;
}

/* CTA секция */
.pricing-cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    min-width: 200px;
}

/* Стили для главной страницы */

/* Стили для страницы статей */
.articles-section {
    padding: 4rem 0;
    background: white;
}

.articles-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-size: 2.5rem;
    position: relative;
}

.articles-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #3498db;
    border-radius: 2px;
}

.articles-search {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    margin-bottom: 3rem;
    text-align: center;
}

.articles-categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.articles-category-btn {
    padding: 1rem 2rem;
    background: white;
    border: 2px solid #3498db;
    color: #3498db;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.articles-category-btn:hover,
.articles-category-btn.active {
    background: #3498db;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
}

.articles-category {
    margin-bottom: 4rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.articles-category h2 {
    color: #2c3e50;
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: left;
}

.articles-category h2::after {
    display: none;
}

.category-description {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.articles-list {
    display: grid;
    gap: 2rem;
}

.article-group {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-left: 4px solid #3498db;
}

.article-group h3 {
    color: #2c3e50;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.articles-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.articles-links li {
    margin-bottom: 1rem;
    padding: 0.8rem 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.articles-links li:hover {
    background: #e9ecef;
    transform: translateX(10px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.articles-links a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    display: block;
    transition: color 0.3s ease;
}

.articles-links a:hover {
    color: #3498db;
}

/* Стили для страницы контактов */
.page-header {
    background: linear-gradient(135deg, #1a252f 0%, #2c3e50 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    margin-bottom: 3rem;
}

.page-header h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.contact-info-section,
.working-hours-section,
.contact-form-section {
    padding: 4rem 0;
}

.contact-info-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.working-hours-section {
    background: white;
}

.contact-form-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.contact-info-section h2,
.working-hours-section h2,
.contact-form-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-size: 2.5rem;
    position: relative;
}

.contact-info-section h2::after,
.working-hours-section h2::after,
.contact-form-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #3498db;
    border-radius: 2px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.working-hours-content {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    margin-top: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.working-hours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.working-day {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #3498db;
}

.working-day-name {
    font-weight: 600;
    color: #2c3e50;
}

.working-day-hours {
    color: #3498db;
    font-weight: 600;
}

.emergency-info {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    margin-top: 2rem;
}

.emergency-info h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.emergency-btn {
    background: white;
    color: #e74c3c;
    border: 2px solid white;
    padding: 1rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.emergency-btn:hover {
    background: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255,255,255,0.3);
}

/* Стили для главной страницы */

/* Стили для страницы документов */
.documents-search,
.documents-categories,
.documents-grid-section {
    padding: 4rem 0;
}

.documents-search {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.documents-categories {
    background: white;
}

.documents-grid-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.documents-search h2,
.documents-categories h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-size: 2.5rem;
    position: relative;
}

.documents-search h2::after,
.documents-categories h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #3498db;
    border-radius: 2px;
}

/* Поиск документов */
.search-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.search-form {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.search-form input {
    flex: 1;
    min-width: 300px;
    padding: 1rem 1.5rem;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.search-form input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.search-form button {
    padding: 1rem 2rem;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-form button:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.search-tags {
    margin-top: 2rem;
}

.tag-label {
    display: block;
    margin-bottom: 1rem;
    color: #666;
    font-weight: 600;
}

.search-tag {
    display: inline-block;
    margin: 0.5rem;
    padding: 0.5rem 1rem;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 20px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-tag:hover {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

/* Категории документов */
.category-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.category-tab {
    padding: 1rem 2rem;
    background: white;
    border: 2px solid #3498db;
    color: #3498db;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.category-tab:hover,
.category-tab.active {
    background: #3498db;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
}

/* Сетка документов */
.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.document-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border: 1px solid #e9ecef;
    text-align: center;
    position: relative;
}

.document-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.document-card.featured {
    border: 3px solid #3498db;
}

.document-card.featured::before {
    content: 'Популярно';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #3498db;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.document-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: #3498db;
}

.document-category {
    display: inline-block;
    background: #e9ecef;
    color: #666;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.document-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.4;
}

.document-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.document-meta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.document-meta span {
    background: #f8f9fa;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 0.9rem;
    color: #666;
}

.document-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.document-actions .btn {
    min-width: 140px;
}

/* Стили для страницы новостей */
.news-section {
    padding: 4rem 0;
    background: white;
}

.news-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-size: 2.5rem;
    position: relative;
}

.news-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #3498db;
    border-radius: 2px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.news-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border: 1px solid #e9ecef;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.news-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 3rem;
}

.news-content {
    padding: 2rem;
}

.news-date {
    color: #3498db;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.news-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.news-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.news-read-more {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.news-read-more:hover {
    color: #2980b9;
}

/* Стили для страницы отзывов */
.reviews-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.reviews-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-size: 2.5rem;
    position: relative;
}

.reviews-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #3498db;
    border-radius: 2px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.review-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border: 1px solid #e9ecef;
    position: relative;
}

.review-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 2rem;
    font-size: 4rem;
    color: #3498db;
    opacity: 0.3;
    font-family: serif;
}

.review-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.review-content {
    margin-bottom: 2rem;
    font-style: italic;
    color: #2c3e50;
    line-height: 1.7;
    font-size: 1.1rem;
}

.review-author {
    text-align: right;
    border-top: 1px solid #e9ecef;
    padding-top: 1.5rem;
}

.review-author strong {
    display: block;
    color: #3498db;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.review-author span {
    color: #666;
    font-size: 0.9rem;
}

/* Стили для страницы консультаций */
.consultations-section {
    padding: 4rem 0;
    background: white;
}

.consultations-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-size: 2.5rem;
    position: relative;
}

.consultations-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #3498db;
    border-radius: 2px;
}

.consultation-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.consultation-type {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid #e9ecef;
}

.consultation-type:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.consultation-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: #3498db;
}

.consultation-type h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.consultation-type p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.consultation-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #27ae60;
    margin-bottom: 1.5rem;
}

/* Стили для главной страницы */

/* Стили для страницы цен */
.pricing-section,
.detailed-pricing,
.payment-section,
.pricing-cta {
    padding: 4rem 0;
}

.pricing-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.detailed-pricing {
    background: white;
}

.payment-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.pricing-cta {
    background: linear-gradient(135deg, #1a252f 0%, #2c3e50 100%);
    color: white;
    text-align: center;
}

.pricing-section h2,
.detailed-pricing h2,
.payment-section h2,
.pricing-cta h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-size: 2.5rem;
    position: relative;
}

.pricing-cta h2 {
    color: white;
}

.pricing-section h2::after,
.detailed-pricing h2::after,
.payment-section h2::after,
.pricing-cta h2::after {
    content: '';
    position: absolute;
    bottom: -10px;