/* ============================================
   СТРАНИЦА "О ФОНДЕ"
   Адаптировано под мобильные устройства
   Сохранен единый стиль сайта
   ============================================ */

/* --- ГЕРОЙ-СЕКЦИЯ --- */
.about-hero {
    padding: 100px 0 80px;
    background: linear-gradient(135deg, #80001C 0%, #A44056 100%);
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.about-hero-content {
    max-width: 800px;
    position: relative;
    z-index: 1;
    padding: 0 20px;
}

.about-hero-content h1 {
    font-size: 56px;
    color: #FFFFFF;
    font-family: 'MontserratBold', sans-serif;
    line-height: 1.2;
    margin-bottom: 24px;
}

.about-hero-content h1 span {
    color: #FFB5B5;
}

.about-hero-text {
    font-size: 20px;
    line-height: 1.6;
    color: rgba(255,255,255,0.9);
    font-family: 'MontserratRegular', sans-serif;
}

/* --- СЕКЦИЯ МИССИЯ --- */
.mission-section {
    padding: 90px 0;
    background: #FFFFFF;
    position: relative;
}

.mission-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #E06878, #CE3859, #E06878, transparent);
    opacity: 0.3;
}

.mission-grid {
    display: flex;
    gap: 60px;
    align-items: center;
}

.mission-content {
    flex: 1;
}

.mission-content h2 {
    font-size: 42px;
    color: #80001C;
    font-family: 'MontserratBold', sans-serif;
    margin-bottom: 24px;
    line-height: 1.2;
}

.mission-content p {
    font-size: 18px;
    line-height: 1.7;
    color: #A44056;
    font-family: 'MontserratRegular', sans-serif;
    margin-bottom: 20px;
}

.mission-image {
    flex: 1;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.mission-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.mission-image:hover img {
    transform: scale(1.02);
}

/* --- СЕКЦИЯ НАПРАВЛЕНИЙ ПОМОЩИ --- */
.directions-about-section {
    padding: 80px 0;
    background: #FFF4F4;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 0 20px;
}

.section-header h2 {
    font-size: 42px;
    color: #80001C;
    font-family: 'MontserratBold', sans-serif;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: #A44056;
    max-width: 700px;
    margin: 0 auto;
    font-family: 'MontserratRegular', sans-serif;
}

.directions-about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 0 20px;
}

.direction-about-card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 32px 28px;
    transition: all 0.3s ease;
    border: 1px solid rgba(224,104,120,0.1);
}

.direction-about-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.08);
    border-color: rgba(224,104,120,0.3);
}

.direction-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #E06878, #CE3859);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.direction-icon svg {
    width: 28px;
    height: 28px;
    color: #FFFFFF;
}

.direction-about-card h3 {
    font-size: 20px;
    color: #80001C;
    font-family: 'MontserratSemiBold', sans-serif;
    margin-bottom: 12px;
}

.direction-about-card p {
    font-size: 15px;
    line-height: 1.6;
    color: #A44056;
    font-family: 'MontserratRegular', sans-serif;
}

/* --- СЕКЦИЯ ЦЕННОСТИ --- */
.values-section {
    padding: 90px 0;
    background: #FFFFFF;
}

.values-grid {
    display: flex;
    gap: 60px;
    align-items: center;
    padding: 0 20px;
}

.values-image {
    flex: 1;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.values-image img {
    width: 100%;
    height: auto;
    display: block;
}

.values-content {
    flex: 1;
}

.values-content h2 {
    font-size: 42px;
    color: #80001C;
    font-family: 'MontserratBold', sans-serif;
    margin-bottom: 40px;
    line-height: 1.2;
}

.values-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.value-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.value-number {
    font-size: 36px;
    font-weight: 700;
    color: #E06878;
    font-family: 'MontserratBold', sans-serif;
    min-width: 60px;
    opacity: 0.5;
}

.value-text h4 {
    font-size: 20px;
    color: #80001C;
    font-family: 'MontserratSemiBold', sans-serif;
    margin-bottom: 8px;
}

.value-text p {
    font-size: 16px;
    line-height: 1.6;
    color: #A44056;
    font-family: 'MontserratRegular', sans-serif;
}

/* --- СЕКЦИЯ ДОКУМЕНТОВ (как в HTML) --- */
.documents-section {
    padding: 80px 0;
    background: #FFFFFF;
}

.documents-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0 20px;
}

.document-card {
    background: #FFF4F4;
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 1px solid rgba(224,104,120,0.1);
}

.document-card:hover {
    transform: translateX(8px);
    background: #FFFFFF;
    border-color: rgba(224,104,120,0.3);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.document-link {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    text-decoration: none;
}

.document-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #E06878, #CE3859);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.document-icon svg {
    width: 24px;
    height: 24px;
    color: #FFFFFF;
}

.document-info {
    flex: 1;
}

.document-title {
    font-size: 18px;
    font-family: 'MontserratSemiBold', sans-serif;
    color: #80001C;
    margin-bottom: 6px;
}

.document-type {
    font-size: 13px;
    font-family: 'MontserratRegular', sans-serif;
    color: #A44056;
}

.document-arrow {
    color: #E06878;
    font-size: 20px;
    opacity: 0;
    transition: all 0.3s ease;
}

.document-card:hover .document-arrow {
    opacity: 1;
    transform: translateX(5px);
}

.no-documents {
    text-align: center;
    padding: 40px;
    color: #A44056;
    font-family: 'MontserratRegular', sans-serif;
    background: #FFF4F4;
    border-radius: 16px;
}

/* --- СЕКЦИЯ ПРИЗЫВ --- */
.call-action-section {
    padding: 80px 0;
    background: #FFFFFF;
}

.call-action-block {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    background: linear-gradient(135deg, #80001C 0%, #A44056 100%);
    border-radius: 32px;
    padding: 60px 40px;
    margin: 0 auto;
}

.call-action-block h2 {
    font-size: 36px;
    color: #FFFFFF;
    font-family: 'MontserratBold', sans-serif;
    margin-bottom: 16px;
}

.call-action-block p {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    font-family: 'MontserratRegular', sans-serif;
    margin-bottom: 32px;
}

.call-action-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-outline {
    background: transparent;
    border: 2px solid #FFFFFF;
    border-radius: 50px;
    padding: 14px 32px;
    font-family: 'MontserratSemiBold', sans-serif;
    font-size: 16px;
    color: #FFFFFF;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-outline:hover {
    background: #FFFFFF;
    color: #80001C;
    transform: translateY(-2px);
}

/* ============================================
   АДАПТАЦИЯ ДЛЯ ПЛАНШЕТОВ (до 992px)
   ============================================ */
@media (max-width: 992px) {
    .about-hero-content h1 {
        font-size: 42px;
    }
    
    .mission-grid,
    .values-grid {
        flex-direction: column;
    }
    
    .mission-content {
        order: 1;
    }
    
    .mission-image {
        order: 2;
        margin-top: 30px;
    }
    
    .values-image {
        order: 1;
    }
    
    .values-content {
        order: 2;
        margin-top: 30px;
    }
    
    .directions-about-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mission-content h2,
    .values-content h2 {
        font-size: 34px;
        text-align: center;
    }
    
    .mission-content p {
        text-align: center;
    }
    
    .value-item {
        justify-content: center;
    }
}

/* ============================================
   АДАПТАЦИЯ ДЛЯ МОБИЛЬНЫХ (до 768px)
   ============================================ */
@media (max-width: 768px) {
    /* Герой-секция */
    .about-hero {
        padding: 60px 0;
    }
    
    .about-hero-content h1 {
        font-size: 32px;
        text-align: center;
    }
    
    .about-hero-text {
        font-size: 18px;
        text-align: center;
    }
    
    /* Миссия */
    .mission-section {
        padding: 60px 0;
    }
    
    .mission-content h2 {
        font-size: 28px;
        text-align: center;
    }
    
    .mission-content p {
        font-size: 16px;
        text-align: left;
    }
    
    .mission-grid {
        gap: 30px;
    }
    
    /* Направления помощи */
    .directions-about-section {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 32px;
    }
    
    .section-header p {
        font-size: 16px;
    }
    
    .directions-about-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .direction-about-card {
        padding: 24px 20px;
        text-align: center;
    }
    
    .direction-icon {
        margin: 0 auto 20px auto;
    }
    
    .direction-about-card h3 {
        font-size: 18px;
    }
    
    .direction-about-card p {
        font-size: 14px;
    }
    
    /* Ценности */
    .values-section {
        padding: 60px 0;
    }
    
    .values-content h2 {
        font-size: 28px;
        text-align: center;
        margin-bottom: 30px;
    }
    
    .values-grid {
        gap: 30px;
    }
    
    .value-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }
    
    .value-number {
        min-width: auto;
        font-size: 28px;
    }
    
    .value-text h4 {
        font-size: 18px;
    }
    
    .value-text p {
        font-size: 14px;
    }
    
    /* Документы */
    .documents-section {
        padding: 60px 0;
    }
    
    .document-link {
        padding: 16px 20px;
        gap: 15px;
    }
    
    .document-icon {
        width: 40px;
        height: 40px;
    }
    
    .document-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .document-title {
        font-size: 15px;
    }
    
    .document-type {
        font-size: 11px;
    }
    
    .documents-grid {
        margin: 0 20px;
    }
    
    /* Призыв */
    .call-action-section {
        padding: 60px 0;
    }
    
    .call-action-block {
        padding: 40px 24px;
        margin: 0 20px;
    }
    
    .call-action-block h2 {
        font-size: 28px;
    }
    
    .call-action-block p {
        font-size: 16px;
        margin-bottom: 24px;
    }
    
    .call-action-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .btn-outline {
        padding: 12px 28px;
        font-size: 14px;
    }
}

/* ============================================
   АДАПТАЦИЯ ДЛЯ МАЛЕНЬКИХ ТЕЛЕФОНОВ (до 480px)
   ============================================ */
@media (max-width: 480px) {
    /* Герой */
    .about-hero-content h1 {
        font-size: 28px;
    }
    
    .about-hero-text {
        font-size: 16px;
    }
    
    /* Заголовки секций */
    .mission-content h2,
    .values-content h2,
    .section-header h2 {
        font-size: 24px;
    }
    
    /* Документы - компактнее */
    .document-link {
        padding: 12px 16px;
        gap: 12px;
    }
    
    .document-icon {
        width: 36px;
        height: 36px;
    }
    
    .document-title {
        font-size: 13px;
    }
    
    .document-type {
        font-size: 10px;
    }
    
    /* Призыв - компактнее */
    .call-action-block {
        padding: 30px 20px;
    }
    
    .call-action-block h2 {
        font-size: 24px;
    }
    
    .call-action-block p {
        font-size: 14px;
    }
    
    .btn-primary,
    .btn-outline {
        width: 100%;
        max-width: 280px;
        padding: 12px 20px;
        font-size: 14px;
        text-align: center;
        box-sizing: border-box;
    }
    
    .call-action-buttons {
        width: 100%;
        align-items: stretch;
    }
}

/* ============================================
   ДОПОЛНИТЕЛЬНЫЕ УЛУЧШЕНИЯ
   ============================================ */

/* Отступы для контейнера на мобильных */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .about-hero-content,
    .mission-section .container,
    .directions-about-section .container,
    .values-section .container,
    .documents-section .container,
    .call-action-section .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Скрываем декоративные элементы на мобильных */
@media (max-width: 768px) {
    .about-hero::before {
        opacity: 0.3;
    }
}

/* Плавные переходы */
.direction-about-card,
.document-card,
.btn-primary,
.btn-outline {
    transition: all 0.3s ease;
}

/* Улучшение читаемости на мобильных */
@media (max-width: 768px) {
    .mission-content p,
    .value-text p,
    .direction-about-card p {
        line-height: 1.6;
    }
    
    .about-hero-text {
        line-height: 1.5;
    }
}

/* Центрирование содержимого там, где это уместно */
@media (max-width: 768px) {
    .value-item {
        text-align: center;
    }
    
    .document-card {
        text-align: left;
    }
}