/* ==================== СТИЛИ ДЛЯ СТРАНИЦЫ "О НАС" ==================== */
.about-page {
    padding: 40px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.about-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 40px 0;
    background: var(--card-bg);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.about-header h1 {
    font-size: 2.8rem;
    color: var(--text-color);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.about-header h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.about-header p {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 10px;
    line-height: 1.6;
}

/* Секция с информацией о компании */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 40px 0;
}

.about-text {
    padding: 30px;
    background: var(--card-bg);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.about-text h2 {
    color: var(--text-color);
    margin-bottom: 20px;
    font-size: 1.8rem;
    position: relative;
    padding-bottom: 10px;
}

.about-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

.about-text p {
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 20px;
}

.about-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card-bg);
    min-height: 300px;
    position: relative;
}

.about-image::before {
    content: '\f1b3';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 4rem;
    color: var(--accent-color);
    opacity: 0.2;
}

/* Преимущества компании */
.advantages-section {
    margin: 60px 0;
}

.advantages-section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2rem;
    color: var(--text-color);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.advantage-card {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 0;
    background: var(--accent-color);
    transition: height 0.3s ease;
}

.advantage-card:hover::before {
    height: 100%;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.advantage-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    transition: transform 0.3s;
}

.advantage-card:hover .advantage-icon {
    transform: scale(1.2);
}

.advantage-card h3 {
    color: var(--text-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.advantage-card p {
    color: var(--text-color);
    line-height: 1.6;
}

/* Команда */
.team-section {
    margin: 60px 0;
}

.team-section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2rem;
    color: var(--text-color);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-member {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.member-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 20px;
    background: var(--bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--accent-color);
}

.team-member h3 {
    color: var(--text-color);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.member-role {
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 15px;
}

.team-member p {
    color: var(--text-color);
    line-height: 1.6;
}

/* Адаптивные стили */
@media (max-width: 968px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        min-height: 250px;
    }
}

@media (max-width: 768px) {
    .about-header h1 {
        font-size: 2.2rem;
    }
    
    .about-header p {
        font-size: 1.1rem;
    }
    
    .advantages-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .advantage-card,
    .team-member {
        padding: 20px;
    }
}