/* ===== БАЗОВЫЕ СБРОСЫ И ШРИФТЫ ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #ffffff;
    color: #1a1a2e;
    line-height: 1.7;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

.container {
    max-width: 1440px; /* Широкий контейнер для 1920px */
    margin: 0 auto;
    padding: 0 30px;
}

/* ===== ВАША РОДНАЯ СТИЛИСТИКА ШАПКИ ===== */
header {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 16px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #1a1a2e;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo i {
    color: #5b6af0;
    font-size: 2rem;
}

.logo span {
    color: #5b6af0;
}

nav {
    display: flex;
    gap: 28px;
    align-items: center;
    flex-wrap: wrap;
}

nav a {
    font-weight: 500;
    font-size: 1rem;
    color: #4a4a6a;
    position: relative;
    padding: 4px 0;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2.5px;
    background: linear-gradient(90deg, #5b6af0, #8b5cf6); /* Ваш градиент */
    transition: 0.3s;
    border-radius: 4px;
}

nav a:hover {
    color: #1a1a2e;
}

nav a:hover::after {
    width: 100%;
}

nav a.active {
    color: #5b6af0;
}

nav a.active::after {
    width: 100%;
}

/* ===== ВАША КНОПКА ===== */
.btn-primary {
    background: linear-gradient(135deg, #5b6af0, #8b5cf6); /* Ваш градиент */
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    color: #fff !important;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    font-size: 0.95rem;
    display: inline-block;
    box-shadow: 0 4px 16px rgba(91, 106, 240, 0.25); /* Ваша тень */
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(91, 106, 240, 0.35);
    color: #fff !important;
}

.btn-primary::after {
    display: none !important;
}

/* ===== ГАМБУРГЕР ===== */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: #1a1a2e;
    border-radius: 4px;
    transition: 0.3s;
}

/* ===== СТИЛИ СТРАНИЦЫ УСЛУГ (ASPRO) ===== */
.page-content {
    padding: 40px 0 80px;
}

.page-head {
    margin-bottom: 30px;
}
.page-title {
    font-size: 42px;
    font-weight: 400;
    color: #111;
    margin-bottom: 6px;
}
.breadcrumbs {
    font-size: 13px;
    color: #999;
}
.breadcrumbs .sep {
    margin: 0 6px;
    color: #ccc;
}

/* Макет сетки */
.content-wrapper {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px;
}

/* Левое меню Aspro */
.services-menu {
    list-style: none;
    border: 1px solid #eaeaea;
    border-radius: 3px;
    margin-bottom: 35px;
}
.services-menu li {
    border-bottom: 1px solid #eaeaea;
}
.services-menu li:last-child {
    border-bottom: none;
}
.services-menu a {
    display: block;
    padding: 16px 20px;
    font-size: 14px;
    color: #333;
    position: relative;
}
.services-menu a::after {
    content: '·';
    position: absolute;
    right: 20px;
    font-size: 24px;
    color: #ccc;
    top: 50%;
    transform: translateY(-50%);
}
.services-menu a:hover {
    background: #f9f9f9;
}

/* Баннер Aspro */
.sidebar-banner {
    background: #f8faff;
    border: 1px solid #eaeaea;
    border-radius: 3px;
    padding: 30px 20px;
    text-align: center;
}
.banner-tag {
    display: inline-block;
    background: #27449b;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 3px 10px;
    border-radius: 2px;
    margin-bottom: 16px;
}
.sidebar-banner h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.4;
}
.banner-img-placeholder {
    font-size: 50px;
    color: #cedcf7;
}

/* Текст Aspro */
.intro-text {
    margin-bottom: 50px;
}
.intro-text p {
    margin-bottom: 20px;
    color: #555;
    font-size: 15px;
    line-height: 1.8;
}

/* Сетка карточек Aspro */
.services-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* Карточка Aspro */
.service-card-aspro {
    border: 1px solid #eaeaea;
    border-radius: 3px;
    padding: 30px 25px 35px;
    background: #fff;
    transition: 0.2s;
}
.service-card-aspro:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.avatar-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #f0f2f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    font-size: 32px;
}

.card-arrow {
    color: #ccc;
    font-size: 18px;
    margin-top: 5px;
}
.card-arrow:hover {
    color: #333;
}

.card-title {
    font-size: 20px;
    font-weight: 500;
    color: #111;
    margin-bottom: 20px;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
    font-size: 13px;
    color: #b0304b;
    margin-bottom: 20px;
    line-height: 1.6;
}
.card-tags span:not(:last-child)::after {
    content: '—';
    margin-left: 10px;
    color: #ddd;
}

.card-desc {
    color: #666;
    font-size: 14px;
    line-height: 1.7;
}

/* ===== ВАШ РОДНОЙ ПОДВАЛ ===== */
footer {
    background: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    padding: 48px 0 32px;
    text-align: center;
}
footer .logo {
    justify-content: center;
    margin-bottom: 8px;
}
footer p {
    color: #7a7a9a;
    font-size: 0.95rem;
}
footer .socials {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 20px;
}
footer .socials a {
    color: #7a7a9a;
    font-size: 1.4rem;
    transition: 0.3s;
}
footer .socials a:hover {
    color: #5b6af0;
    transform: translateY(-2px);
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 1200px) {
    .services-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    nav {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 16px;
        padding: 20px 0 8px;
        border-top: 1px solid rgba(0, 0, 0, 0.04);
    }
    nav.open {
        display: flex;
    }
    nav a {
        font-size: 1.1rem;
    }

    /* Кнопка в меню на мобильном */
    nav .btn-primary {
        display: block;
        width: 100%;
        text-align: center;
    }
    .header-inner .btn-primary {
        display: none;
    }

    .services-cards-grid {
        grid-template-columns: 1fr;
    }
    .sidebar-banner {
        display: none;
    }
}