* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #006dbb;
    --accent-blue: rgb(114, 212, 250);
    --accent-yellow: #f8d02c;
    --light-blue: #E8F2FF;
    --dark-text: #1D1D1F;
    --gray-text: #666666;
    --light-gray: #F5F5F7;
    --white: #FFFFFF;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-colored: 0 8px 32px rgba(115, 212, 250, 0.25);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
    color: var(--dark-text);
    line-height: 1.5;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

/* Page Hero - Enhanced */
.services-page-hero {
    background: linear-gradient(135deg, rgba(115, 212, 250, 0.15) 0%, rgba(248, 208, 44, 0.08) 50%, rgba(115, 212, 250, 0.05) 100%);
    padding: 40px 20px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.services-page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(115, 212, 250, 0.1) 0%, transparent 50%);
    animation: services-rotate 30s linear infinite;
}

@keyframes services-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.services-page-hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.services-page-hero h1 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark-text);
    letter-spacing: -0.5px;
}

.services-page-hero p {
    font-size: 16px;
    color: var(--gray-text);
    margin-bottom: 24px;
}

/* Search Bar */
.services-search-bar {
    max-width: 500px;
    margin: 0 auto;
    position: relative;
}

.services-search-input {
    width: 100%;
    padding: 12px 48px 12px 20px;
    border: 2px solid rgba(115, 212, 250, 0.3);
    border-radius: 50px;
    font-size: 15px;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.services-search-input:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 4px rgba(115, 212, 250, 0.1);
}

.services-search-input::placeholder {
    color: #999;
}

.services-search-icon {
    position: absolute;
    right: 20px;
    top: 33%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    color: var(--gray-text);
    pointer-events: none;
}

/* Filter Navigation - Enhanced */
.services-filter-nav {
    background: var(--white);
    border-bottom: 1px solid var(--light-gray);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.services-filter-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.services-filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.services-filter-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.services-view-toggle {
    display: flex;
    gap: 8px;
    background: var(--light-gray);
    padding: 4px;
    border-radius: 8px;
}

.services-view-btn {
    padding: 6px 12px;
    background: transparent;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--gray-text);
    transition: all 0.2s ease;
}

.services-view-btn.active {
    background: var(--white);
    color: var(--primary-blue);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.services-view-btn svg {
    width: 16px;
    height: 16px;
}

.services-filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.services-filter-tab {
    padding: 10px 20px;
    background: var(--light-gray);
    border: 2px solid transparent;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    color: var(--dark-text);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.services-filter-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.services-filter-tab:hover {
    background: rgba(115, 212, 250, 0.15);
    border-color: rgba(115, 212, 250, 0.3);
    transform: translateY(-1px);
}

.services-category-services a {
	text-decoration: none;
}

.services-filter-tab:hover::before {
    left: 100%;
}

.services-filter-tab.active {
    background: var(--accent-blue);
    color: var(--dark-text);
    font-weight: 600;
    border-color: var(--accent-blue);
    box-shadow: 0 4px 12px rgba(115, 212, 250, 0.3);
}

/* Services Container */
.services-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px 40px;
}

/* Summary Stats - Enhanced */
.services-summary {
    background: linear-gradient(135deg, var(--light-gray) 0%, rgba(245, 245, 247, 0.5) 100%);
    padding: 20px 32px;
    border-radius: 16px;
    margin-bottom: 40px;
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.services-summary::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, var(--accent-blue) 0%, transparent 70%);
    opacity: 0.1;
    transform: translate(30%, -30%);
}

.services-summary-left {
    display: flex;
    gap: 24px;
    align-items: center;
    flex-wrap: wrap;
}

.services-summary-item {
    display: flex;
    align-items: baseline;
    gap: 6px;
    position: relative;
    padding-right: 24px;
}

.services-summary-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 20px;
    background: rgba(0, 0, 0, 0.15);
}

.services-summary-item:last-child {
    padding-right: 0;
}

.services-summary-label {
    font-size: 14px;
    color: var(--gray-text);
    font-weight: 400;
}

.services-summary-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-text);
}

.services-summary-value.services-accent {
    background: linear-gradient(135deg, var(--accent-blue), var(--primary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.services-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--white);
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    z-index: 1;
}

.services-download-btn:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 109, 187, 0.3);
}

.services-download-btn svg {
    width: 18px;
    height: 18px;
}

/* Category Section - Enhanced */
.services-category-section {
    margin-bottom: 60px;
    opacity: 0;
    animation: services-fadeInUp 0.6s ease-out forwards;
    position: relative;
}

.services-category-section:nth-child(2) { animation-delay: 0.1s; }
.services-category-section:nth-child(3) { animation-delay: 0.2s; }
.services-category-section:nth-child(4) { animation-delay: 0.3s; }

@keyframes services-fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.services-category-header {
    margin-bottom: 24px;
    padding-bottom: 20px;
    position: relative;
    text-align: center;
}

.services-category-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-yellow));
    border-radius: 2px;
}

.services-category-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.services-category-subtitle {
    font-size: 14px;
    color: var(--gray-text);
    max-width: 600px;
    margin: 0 auto;
}

/* Services Grid - Compact view */
.services-category-services {
    display: grid;
    gap: 12px;
    transition: all 0.3s ease;
}

.services-category-services.services-grid-view {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.services-category-services.services-list-view {
    grid-template-columns: 1fr;
}

/* Service Card - Enhanced */
.services-service-card {
    background: var(--white);
    border-radius: 10px;
    padding: 16px;
    border: 2px solid rgba(0, 0, 0, 0.12);
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    min-height: 140px;
}

.services-service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-blue);
}

/* Progress indicator on hover */
.services-service-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-yellow));
    transition: width 0.3s ease;
}

.services-service-card:hover::before {
    width: 100%;
}

/* Featured card styling (если понадобится) */
.services-service-card.services-featured {
    background: linear-gradient(135deg, rgba(115, 212, 250, 0.05) 0%, rgba(248, 208, 44, 0.02) 100%);
    border: 2px solid var(--accent-blue);
}

/* New badge */
.services-service-card.services-new::after {
    content: 'NEW';
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--accent-yellow);
    color: var(--dark-text);
    padding: 3px 10px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Popular badge */
.services-service-card.services-popular {
    border: 2px solid var(--accent-blue);
}

.services-service-card.services-popular::after {
    content: 'Популярно';
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--accent-blue);
    color: var(--dark-text);
    padding: 3px 10px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 700;
}

.services-service-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 8px;
}

.services-service-icon {
    font-size: 24px;
    line-height: 1;
    flex-shrink: 0;
}

.services-service-content {
    flex: 1;
}

.services-service-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--dark-text);
    margin-bottom: 6px;
}

.services-service-description {
    font-size: 13px;
    color: var(--gray-text);
    line-height: 1.4;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* List view specific styles */
.services-list-view .services-service-card {
    flex-direction: row;
    align-items: center;
    gap: 20px;
    min-height: 80px;
    padding: 12px 16px;
}

.services-list-view .services-service-header {
    margin-bottom: 0;
}

.services-list-view .services-service-content {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.services-list-view .services-service-info {
    flex: 1;
}

.services-list-view .services-service-description {
    margin-bottom: 0;
    -webkit-line-clamp: 1;
}

.services-list-view .services-service-meta {
    margin-left: auto;
    border-top: none;
    padding-top: 0;
    border-left: 1px solid var(--light-gray);
    padding-left: 16px;
}

/* Service meta enhanced */
.services-service-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--light-gray);
}

.services-service-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    flex: 1;
}

.services-service-tag {
    font-size: 11px;
    color: var(--gray-text);
    background: var(--light-gray);
    padding: 3px 8px;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.services-service-tag:hover {
    background: rgba(115, 212, 250, 0.2);
    color: var(--primary-blue);
}

.services-service-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.2s ease;
    white-space: nowrap;
    padding: 5px 14px;
    border-radius: 18px;
    background: rgba(0, 109, 187, 0.08);
}

.services-service-link:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateX(2px);
}

.services-service-link svg {
    width: 14px;
    height: 14px;
    transition: transform 0.2s ease;
}

.services-service-link:hover svg {
    transform: translateX(3px);
}

/* Quick Contact Widget - Enhanced */
.services-quick-contact {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--primary-blue);
    color: white;
    padding: 16px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 6px 24px rgba(0, 109, 187, 0.4);
    transition: all 0.3s ease;
    z-index: 90;
}

.services-quick-contact::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: var(--primary-blue);
    border-radius: 50px;
    z-index: -1;
    transition: all 0.3s ease;
}

.services-quick-contact:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(0, 109, 187, 0.5);
}

.services-quick-contact:hover::before {
    transform: translate(-50%, -50%) scale(1.1);
}

.services-quick-contact svg {
    width: 20px;
    height: 20px;
}

/* Empty State */
.services-empty-state {
    text-align: center;
    padding: 80px 20px;
    color: var(--gray-text);
}

.services-empty-state svg {
    width: 80px;
    height: 80px;
    margin-bottom: 24px;
    opacity: 0.2;
}

.services-empty-state h3 {
    font-size: 24px;
    color: var(--dark-text);
    margin-bottom: 12px;
}

.services-empty-state p {
    font-size: 16px;
    margin-bottom: 24px;
}

.services-reset-filters-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--light-gray);
    color: var(--dark-text);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.services-reset-filters-btn:hover {
    background: var(--primary-blue);
    color: white;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .services-page-hero {
        padding: 60px 20px 40px;
    }

    .services-filter-nav {
        padding: 16px 0;
    }

    .services-filter-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .services-view-toggle {
        display: none;
    }

    .services-filter-tabs {
        gap: 6px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .services-filter-tabs::-webkit-scrollbar {
        display: none;
    }

    .services-filter-tab {
        padding: 8px 16px;
        font-size: 13px;
    }

    .services-container {
        padding: 30px 15px;
    }

    .services-summary {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
        text-align: center;
    }

    .services-summary-left {
        flex-direction: column;
        gap: 16px;
    }

    .services-summary-item {
        padding-right: 0;
    }

    .services-summary-item::after {
        display: none;
    }

    .services-category-header {
        text-align: left;
    }

    .services-category-title {
        font-size: 24px;
    }

    .services-category-services {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .services-service-card {
        padding: 20px;
    }

    .services-service-title {
        font-size: 16px;
    }

    .services-quick-contact {
        bottom: 16px;
        right: 16px;
        padding: 12px 20px;
        font-size: 14px;
    }

    /* Mobile - icon only for quick contact */
    .services-quick-contact span {
        display: none;
    }

    .services-quick-contact {
        width: 56px;
        height: 56px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }
}

/* Loading state */
.services-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
}

.services-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--light-gray);
    border-top-color: var(--primary-blue);
    border-radius: 50%;
    animation: services-spin 1s linear infinite;
}

@keyframes services-spin {
    to { transform: rotate(360deg); }
}

header {
	margin: 0px;
	padding: 0px;
	position: relative;
	top: 15px;
}

.header-container {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	top: 0px;
	width: 100%;
}

.desktop-menu {
	visibility: hidden;
}

body:has(.fullscreen-menu.active) header {
  z-index: 10000;
}

body:has(.fullscreen-menu.active) .logo {
	visibility: hidden;
}