/* --- Стили для страницы "О нас" --- */
.about-hero-section {
    background: linear-gradient(135deg, var(--bg-color) 0%, var(--card-bg-color) 100%);
    padding: 80px 0;
    margin-bottom: 60px;
    border-bottom: 1px solid var(--border-color);
}

.about-hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-hero-title {
    font-family: var(--header-font);
    font-size: 3rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 30px;
    line-height: 1.2;
}

.about-hero-description {
    font-size: 1.3rem;
    color: var(--subtle-text-color);
    line-height: 1.6;
    margin: 0;
}

.about-section {
    margin-bottom: 80px;
    text-align: justify;
}

.about-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content-grid.reverse {
    direction: rtl;
}

.about-content-grid.reverse > * {
    direction: ltr;
}

.about-content-single {
    max-width: 900px;
    margin: 0 auto;
}

.about-content-single h2 {
    margin-bottom: 20px;

}

.about-text h2 {
    font-family: var(--header-font);
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 25px;
    line-height: 1.3;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: justify;
}

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

.about-list li {
    font-size: 1.1rem;
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.about-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.about-image {
    display: flex;
    height: 100% !important;
    width: 100% !important;
    overflow: visible;
    align-items: center;
    justify-content: center;
}

.about-placeholder {
    width: 300px;
    height: 300px;
    background-color: var(--bg-color);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--border-color);
    font-size: 4rem;
}

.section-title {
    font-family: var(--header-font);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-color);
    text-align: center;
    margin-bottom: 50px;
    line-height: 1.3;
}

/* Ценности */
.about-values-section {
    margin-bottom: 80px;
    padding: 60px 0;
    background-color: var(--card-bg-color);
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding: 0 40px;
}

.value-card {
    text-align: center;
    padding: 30px 20px;
    background-color: var(--bg-color);
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md-hover);
}

.value-icon {
    width: 80px;
    height: 80px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
}

.value-card h3 {
    font-family: var(--header-font);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 15px;
}

.value-card p {
    font-size: 1rem;
    color: var(--subtle-text-color);
    line-height: 1.6;
}

/* История - Timeline */
.history-timeline {
    position: relative;
    padding-left: 38px;
}

.history-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--border-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 60px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -28px;
    top: 8px;
    width: 16px;
    height: 16px;
    background-color: var(--accent-color);
    border-radius: 50%;
    border: 3px solid var(--card-bg-color);
}

.timeline-year {
    position: absolute;
    left: -100px;
    top: 0px;
    font-family: var(--header-font);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent-color);
    width: 60px;
    text-align: right;
}

.timeline-content h4 {
    font-family: var(--header-font);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 10px;
}

.timeline-content p {
    font-size: 1rem;
    color: var(--subtle-text-color);
    line-height: 1.6;
    text-align: justify;
}

/* Статистика */
.about-stats-section {
    margin-bottom: 80px;
    padding: 60px 40px;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--subtle-text-color) 100%);
    border-radius: var(--border-radius-md);
    color: white;
}

.about-stats-section .section-title {
    color: white;
    margin-bottom: 50px;
}

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

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--header-font);
    font-size: 3rem;
    font-weight: 600;
    color: white;
    margin-bottom: 10px;
    line-height: 1;
}

.stat-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* Контакты */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.contact-card {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md-hover);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background-color: var(--bg-color);
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--accent-color);
    font-size: 1.5rem;
}

.contact-card h4 {
    font-family: var(--header-font);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 15px;
}

.contact-card p {
    font-size: 1rem;
    color: var(--subtle-text-color);
    line-height: 1.6;
}

/* Адаптивность */
@media (max-width: 992px) {
    .about-hero-title {
        font-size: 2.5rem;
    }
    
    .about-hero-description {
        font-size: 1.2rem;
    }
    
    .about-content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-content-grid.reverse {
        direction: ltr;
    }
    
    .about-text h2 {
        font-size: 2rem;
    }
    
    .about-placeholder {
        width: 250px;
        height: 250px;
        font-size: 3rem;
    }
    
    .values-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 30px;
        padding: 0 20px;
    }
    
    .timeline-year {
        position: static;
        margin-bottom: 5px;
        text-align: left;
        width: auto;
    }
    
    .timeline-item {
        padding-left: 40px;
    }
    
    .history-timeline {
        padding-left: 20px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 30px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .about-hero-section {
        padding: 60px 0;
    }
    
    .about-hero-title {
        font-size: 2.2rem;
    }
    
    .about-hero-description {
        font-size: 1.1rem;
    }
    
    .about-section {
        margin-bottom: 60px;
    }
    
    .about-text h2 {
        font-size: 1.8rem;
    }
    
    .about-text p, .about-list li {
        font-size: 1rem;
    }
    
    .about-placeholder {
        width: 200px;
        height: 200px;
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .about-values-section,
    .about-stats-section {
        padding: 40px 20px;
        margin-bottom: 60px;
    }
    
    .values-grid {
        gap: 25px;
        padding: 0;
    }
    
    .value-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    
    .value-card {
        padding: 25px 15px;
    }
    
    .value-card h3 {
        font-size: 1.2rem;
    }
    
    .history-timeline::before {
        left: 10px;
    }
    
    .timeline-item::before {
        left: -10px;
    }
    
    .timeline-item {
        padding-left: 30px;
    }
    
    .history-timeline {
        padding-left: 10px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
    
    .contact-cards {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .contact-card {
        padding: 25px 20px;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .about-hero-section {
        padding: 40px 0;
    }
    
    .about-hero-title {
        font-size: 1.8rem;
    }
    
    .about-hero-description {
        font-size: 1rem;
    }
    
    .about-section {
        margin-bottom: 50px;
    }
    
    .about-text h2 {
        font-size: 1.6rem;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    .about-placeholder {
        width: 150px;
        height: 150px;
        font-size: 2rem;
    }
    
    .about-values-section,
    .about-stats-section {
        padding: 30px 15px;
        margin-bottom: 50px;
    }
    
    .value-card {
        padding: 20px 15px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .contact-card {
        padding: 20px 15px;
    }
    
    .contact-card h4 {
        font-size: 1.2rem;
    }
    
    .contact-card p {
        font-size: 0.95rem;
    }
}