/* --- Стили для страницы "Обо мне" --- */

.about-hero {
    padding: 140px 20px 60px; /* Большой отступ сверху для ПК */
    text-align: center;
}

.about-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    color: var(--text-heading);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.about-hero__subtitle {
    font-size: 1.35rem;
    color: var(--accent);
    font-weight: 500;
    line-height: 1.4;
}

.about-section {
    padding: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.about-card {
    background: var(--bg-secondary);
    border-radius: var(--radius);
    padding: 50px;
    margin-bottom: 40px;
    border: 1px solid rgba(100, 255, 218, 0.1);
}

.about-card h2 {
    font-size: 2.2rem;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--accent);
    display: inline-block;
    color: var(--text-heading);
}

.about-content,
.work-info,
.professional-info {
    display: grid;
    gap: 25px;
}

.about-item,
.work-item,
.prof-item {
    display: flex;
    gap: 25px;
    align-items: flex-start;
    padding: 30px;
    background: var(--bg-primary);
    border-radius: var(--radius);
    transition: var(--transition);
    border: 1px solid transparent;
}

.about-item:hover,
.work-item:hover,
.prof-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(100, 255, 218, 0.08);
    border-color: rgba(100, 255, 218, 0.2);
}

.about-item__icon,
.work-item__icon,
.prof-item__icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(100, 255, 218, 0.1);
    border-radius: 12px;
}

.about-item__icon svg,
.work-item__icon svg,
.prof-item__icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--accent);
}

.about-item__text h3,
.work-item__text h3,
.prof-item__text h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--text-heading);
    font-weight: 600;
}

.about-item__text p,
.work-item__text p,
.prof-item__text p {
    color: var(--text-main);
    margin-bottom: 10px;
    line-height: 1.7;
    font-size: 1.05rem;
}

.about-item__highlight {
    font-weight: 600;
    color: var(--accent);
}

.about-item__text ul,
.work-item__text ul,
.prof-item__text ul {
    list-style: none;
    padding-left: 0;
    margin-top: 10px;
}

.about-item__text li,
.work-item__text li,
.prof-item__text li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 8px;
    color: var(--text-main);
    line-height: 1.6;
}

.about-item__text li::before,
.work-item__text li::before,
.prof-item__text li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
}

.about-card--highlight {
    border: 2px solid var(--accent);
    background: linear-gradient(135deg, var(--bg-secondary) 0%, rgba(100, 255, 218, 0.03) 100%);
}

.cta-box {
    text-align: center;
    padding: 70px 50px;
    background: var(--bg-secondary);
    border-radius: var(--radius);
    border: 2px dashed var(--accent);
}

.cta-box h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--text-heading);
}

.cta-box p {
    font-size: 1.15rem;
    margin-bottom: 35px;
    color: var(--text-muted);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* --- АДАПТИВНОСТЬ (ИСПРАВЛЕНИЕ ПЕРЕКРЫТИЯ) --- */

@media (max-width: 968px) {
    .about-hero {
        padding-top: 120px; /* Чуть меньше для планшетов */
    }
    
    .about-hero h1 {
        font-size: 2.8rem;
    }
    
    .about-card {
        padding: 35px;
    }
}

@media (max-width: 768px) {
    .about-hero {
        padding: 110px 20px 40px; /* ВАЖНО: 110px отступа, чтобы не перекрывало меню */
    }
    
    .about-hero h1 {
        font-size: 2.2rem;
    }
    
    .about-hero__subtitle {
        font-size: 1.1rem;
    }
    
    .about-section {
        padding: 15px;
    }
    
    .about-card {
        padding: 25px;
        margin-bottom: 25px;
    }
    
    .about-card h2 {
        font-size: 1.6rem;
        margin-bottom: 25px;
    }
    
    .about-item,
    .work-item,
    .prof-item {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }
    
    .about-item__icon,
    .work-item__icon,
    .prof-item__icon {
        width: 45px;
        height: 45px;
    }
    
    .cta-box {
        padding: 40px 25px;
    }
    
    .cta-box h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .about-hero {
        padding-top: 100px; /* Для самых маленьких экранов */
    }
    
    .about-hero h1 {
        font-size: 1.8rem;
    }
    
    .about-card {
        padding: 20px;
    }
    
    .about-card h2 {
        font-size: 1.4rem;
    }
}