/* ==========================================================================
   Стили для страницы "Обо мне" (page-about.php)
   ========================================================================== */

/* Hero секция */
.about-hero-section {
    padding: 100px 0 80px;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--white) 100%);
}

.about-hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-hero-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    line-height: 1.3;
}

.about-hero-subtitle {
    font-size: 1.25rem;
    color: var(--accent-color);
    margin-bottom: 2rem;
    font-weight: 500;
}

.about-hero-intro {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.about-hero-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* История */
.about-story-section {
    padding: 80px 0;
    background-color: var(--white);
}

.about-story-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-light);
}

.about-story-content p {
    margin-bottom: 1.5rem;
}

.about-quote {
    margin: 3rem 0;
    padding: 2rem;
    background-color: var(--bg-light);
    border-left: 4px solid var(--accent-color);
    border-radius: 0 15px 15px 0;
    font-style: italic;
    font-size: 1.25rem;
    color: var(--primary-color);
    position: relative;
}

.about-quote::before {
    content: '"';
    font-size: 4rem;
    color: var(--accent-color);
    position: absolute;
    top: -10px;
    left: 20px;
    font-family: serif;
    line-height: 1;
}

/* Экспертиза */
.about-expertise-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 3rem;
}

.expertise-item {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.expertise-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.expertise-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-color), var(--pale-dogwood));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.expertise-icon i {
    font-size: 2rem;
    color: var(--white);
}

.expertise-item h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 600;
}

.expertise-item ul {
    list-style: none;
    padding: 0;
}

.expertise-item li {
    padding: 8px 0;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    line-height: 1.6;
}

.expertise-item li i {
    color: var(--accent-color);
    font-size: 0.875rem;
    width: 16px;
    flex-shrink: 0;
}

/* Статистика */
.about-stats-section {
    padding: 80px 0;
    background-color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    padding: 40px 20px;
    background-color: var(--bg-light);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.stat-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--accent-color), var(--pale-dogwood));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    line-height: 1;
}

.stat-label {
    color: var(--text-light);
    font-weight: 500;
    font-size: 1.125rem;
}

/* Отзывы */
.about-testimonials-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.testimonial-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.testimonial-rating {
    margin-bottom: 20px;
}

.testimonial-rating i {
    color: #ffd700;
    font-size: 1.125rem;
    margin-right: 2px;
}

.testimonial-content p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    border-top: 2px solid var(--bg-light);
    padding-top: 15px;
}

.testimonial-author strong {
    display: block;
    color: var(--primary-color);
    font-size: 1.125rem;
    margin-bottom: 5px;
}

.testimonial-author span {
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Контакты */
.about-contact-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
}

.contact-cta {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.contact-cta p {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    color: var(--white);
    opacity: 0.9;
}

.contact-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-buttons .btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    font-size: 1.125rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-buttons .btn i {
    font-size: 1.25rem;
}

.btn-primary {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--bg-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.btn-secondary {
    background-color: #25d366;
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #20b858;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Адаптивность */
@media (max-width: 768px) {
    .about-hero-content,
    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-hero-title {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-buttons .btn {
        width: 280px;
        justify-content: center;
    }
}