/* ========== СБРОС СТИЛЕЙ И БАЗОВЫЕ НАСТРОЙКИ ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #cfcfcf;
    background-image: 
        linear-gradient(rgba(124, 58, 237, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(124, 58, 237, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: center center;
}
/* ========== ШАПКА ========== */
header {
    background-color: #FFFFFF;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 10;
}

/* ========== РАСШИРЕННЫЙ ТЕКСТ "О НАС" ========== */
.card-about p {
    font-size: 16px;
    color: #000000;
    line-height: 1.7;
    margin-bottom: 15px;
    text-align: center;
}

.card-about p:last-child {
    margin-bottom: 0;
}

/* ========== ПРЕИМУЩЕСТВА СО СТИКЕРАМИ ========== */
.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.benefits-list li {
    font-size: 16px;
    color: #000000;
    padding: 12px 15px;
    border-bottom: 1px solid #E5E5E5;
    line-height: 1.5;
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.sticker {
    font-size: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: #F5F5F5;
    border-radius: 8px;
    flex-shrink: 0;
}

/* ========== СТАТИСТИКА ========== */
.card-stats {
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 10px 0;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    background-color: #F5F5F5;
    border-radius: 8px;
}

.stat-number {
    font-size: 28px;
    font-weight: 800;
    color: #000000;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 13px;
    color: #666666;
    text-align: center;
}

/* Адаптивность для статистики */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    
    .stat-number {
        font-size: 24px;
    }
    
    .stat-label {
        font-size: 12px;
    }
    
    .sticker {
        font-size: 20px;
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-list li {
        font-size: 15px;
        padding: 10px 12px;
    }
    
    .sticker {
        font-size: 18px;
        width: 26px;
        height: 26px;
    }
}

.header {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.text-logo h1 {
    font-size: 28px;
    font-weight: 800;
    color: #000000;
    letter-spacing: -0.5px;
}

.navbar ul {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.text-a {
    text-decoration: none;
    color: #000000;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s;
    padding: 8px 0;
}

.text-a:hover {
    opacity: 0.7;
}

/* Активный пункт меню - просто светлее текст */
.text-a[href="../index.html"] {
    color: #999999; /* Серый цвет вместо чёрного */
    font-weight: 400; /* Обычная насыщенность */
}

.text-a[href="../index.html"]:hover {
    opacity: 1;
    color: #000000;
}

#LK {
    background-color: #000000;
    color: #FFFFFF !important;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s;
}

#LK:hover {
    background-color: #333333;
    opacity: 1 !important;
    transform: translateY(-1px);
}

/* ========== ОСНОВНОЙ КОНТЕНТ ========== */
main {
    flex: 1;
    padding: 40px 20px;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* ========== КАРТОЧКИ ========== */
.card {
    background-color: #FFFFFF;
    border-radius: 12px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
}

.card h2 {
    font-size: 26px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 25px;
    text-align: center; /* Заголовки по центру */
}

.card p {
    font-size: 16px;
    color: #000000;
    line-height: 1.6;
    text-align: center; /* Текст по центру */
}

/* Карточка "О нас" - на всю ширину сверху */
.card-about {
    text-align: center;
    padding: 50px 40px;
}

.card-about p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
    text-align: center; /* Текст по центру */
}

/* Нижние карточки - две в ряд */
.cards-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Две равные колонки */
    gap: 30px;
}

/* Карточка "Почему мы" */
.card-why ul {
    list-style: none;
    padding: 0;
    text-align: center; /* Список по центру */
}

.card-why li {
    font-size: 16px;
    color: #000000;
    padding: 12px 0;
    border-bottom: 1px solid #E5E5E5;
    line-height: 1.5;
    text-align: center; /* Текст по центру */
}

.card-why li:last-child {
    border-bottom: none;
}

/* Карточка "Контакты" */
.contact-info {
    text-align: center; /* Контакты по центру */
}

.contact-info p {
    font-size: 16px;
    color: #000000;
    padding: 10px 0;
    line-height: 1.8;
    text-align: center; /* Текст по центру */
}

/* Логотип как ссылка */
.text-logo a {
    text-decoration: none;
    color: inherit;
}

.logo-link {
    transition: opacity 0.2s;
}

.logo-link:hover {
    opacity: 0.7;
}

.text-logo h1 {
    font-size: 28px;
    font-weight: 800;
    color: #000000;
    letter-spacing: -0.5px;
    margin: 0;
    cursor: pointer;
}

/* Активный пункт меню - серый текст */
.text-a.active {
    color: #999999;
    font-weight: 400;
}

.text-a.active:hover {
    opacity: 1;
    color: #000000;
}

/* ========== АДАПТИВНОСТЬ ========== */
@media (max-width: 768px) {
    .header {
        padding: 0 20px;
    }
    
    .text-logo h1 {
        font-size: 22px;
    }
    
    .navbar ul {
        gap: 20px;
    }
    
    .text-a {
        font-size: 14px;
    }
    
    #LK {
        padding: 8px 16px;
        font-size: 14px;
    }
    
    .card {
        padding: 30px 20px;
    }
    
    .card h2 {
        font-size: 22px;
    }
    
    .card-about p {
        font-size: 16px;
    }
    
    /* На мобильных - карточки друг под другом */
    .cards-bottom {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .header {
        flex-direction: column;
        height: auto;
        padding: 15px 20px;
        gap: 15px;
    }
    
    .navbar ul {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .text-a[href="../index.html"] {
        color: #999999;
    }
}