/* 
 * Базовые стили для всей страницы
 */
body {
    font-family: 'Roboto', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    text-align: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* 
 * Стили для героя-изображения (КОМПЬЮТЕРНАЯ ВЕРСИЯ)
 */
.hero-image {
    position: relative;
    width: 100%;
    height: 60vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%;
}

/* 
 * Стили для блока льгот (3 колонки)
 */
.benefits-section {
    margin-bottom: 40px;
}

.benefits-section h2 {
    color: #2c3e50;
    font-size: 2.2em;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.benefits-section h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(to right, #2d5016, #4a7b3b);
    border-radius: 2px;
}

.benefits-columns {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.benefit-card {
    flex: 1;
    min-width: 250px;
    background: linear-gradient(135deg, #ffffff 0%, #f1f8e9 100%);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e0e0e0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.benefit-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.benefit-card li {
    position: relative;
    padding: 12px 0 12px 40px;
    margin: 0;
    color: #34495e;
    line-height: 1.5;
    border-bottom: 1px solid #f0f0f0;
}

.benefit-card li:last-child {
    border-bottom: none;
}

.benefit-card li:before {
    content: '★';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    background-color: #2d5016;
    color: white;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
}

/* 
 * Стили для блока документов (2 колонки)
 */
.documents-section {
    margin-bottom: 40px;
}

.documents-section h2 {
    color: #2c3e50;
    font-size: 2.2em;
    margin-bottom: 30px;
    text-align: center;
}

.documents-columns {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.documents-card {
    flex: 1;
    min-width: 250px;
    background: linear-gradient(135deg, #ffffff 0%, #e8f5e9 100%);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e0e0e0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.documents-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.documents-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.documents-card li {
    position: relative;
    padding: 12px 0 12px 40px;
    margin: 0;
    color: #34495e;
    line-height: 1.5;
    border-bottom: 1px solid #f0f0f0;
}

.documents-card li:last-child {
    border-bottom: none;
}

.documents-card li:before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    background-color: #2d5016;
    color: white;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
}

/* 
 * Стили для двойного блока (требования и помощь)
 */
.double-section {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
    justify-content: center;
    align-items: stretch;
}

.requirements-section, .help-section {
    flex: 1;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.requirements-section h2, .help-section h2 {
    color: #2c3e50;
    font-size: 1.8em;
    margin-bottom: 20px;
    text-align: left;
    min-height: 60px;
}

.requirements-card, .help-card {
    background: linear-gradient(135deg, #ffffff 0%, #e3f2fd 100%);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e0e0e0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.requirements-card ul, .help-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    flex-grow: 1;
}

.requirements-card li, .help-card li {
    position: relative;
    padding: 12px 0 12px 40px;
    margin: 0;
    color: #34495e;
    line-height: 1.5;
}

.requirements-card li:before, .help-card li:before {
    content: '►';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    background-color: #2d5016;
    color: white;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
}

/* 
 * Стили для нового блока контактов
 */
.contact-section {
    background: linear-gradient(135deg, #2d5016 0%, #3a6633 100%);
    border-radius: 15px;
    padding: 30px;
    margin: 40px 0;
    color: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1;
}

.contact-section h2 {
    color: white;
    font-size: 2em;
    margin-bottom: 20px;
    text-align: center;
}

.contact-numbers {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 25px;
}

.contact-number {
    background-color: rgba(255, 255, 255, 0.15);
    padding: 15px 25px;
    border-radius: 10px;
    font-size: 1.3em;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.contact-number:hover {
    background-color: rgba(255, 255, 255, 0.25);
}

/* 
 * Адаптивность для мобильных устройств (ТЕЛЕФОН)
 */
@media (max-width: 768px) {
    /* Исправление обрезания изображения на телефоне */
    .hero-image {
        height: 40vh;
        border-radius: 12px;
        margin: 0 0 40px 0;
        width: 100%;
        max-width: 100%;
    }
    
    .hero-image img {
        object-position: center center;
        width: 100%;
    }
    
    .container {
        padding: 15px;
    }
    
    /* Центрирование заголовков на телефоне */
    .benefits-section h2,
    .documents-section h2,
    .requirements-section h2,
    .help-section h2 {
        font-size: 1.8em;
        text-align: center;
    }
    
    .benefit-card,
    .documents-card,
    .requirements-card,
    .help-card {
        padding: 20px;
        text-align: left; /* Вернули выравнивание по левому краю */
    }
    
    /* Вернули маркеры на левую сторону */
    .benefit-card ul,
    .documents-card ul,
    .requirements-card ul,
    .help-card ul {
        text-align: left;
        display: block;
        width: 100%;
    }
    
    .benefit-card li,
    .documents-card li,
    .requirements-card li,
    .help-card li {
        padding-left: 40px; /* Вернули отступ для маркеров */
        text-align: left;
        display: block;
        width: 100%;
        box-sizing: border-box;
    }
    
    /* Вернули маркеры в левую сторону */
    .benefit-card li:before,
    .documents-card li:before,
    .requirements-card li:before,
    .help-card li:before {
        left: 0;
        transform: translateY(-50%);
        margin-left: 0; /* Убрали смещение */
    }
    
    .contact-section {
        padding: 20px;
        margin: 40px 0;
        width: 100%;
    }
    
    .contact-section h2 {
        font-size: 1.6em;
    }
    
    .contact-number {
        font-size: 1.1em;
        padding: 12px 20px;
    }
    
    .benefits-columns, 
    .documents-columns, 
    .double-section, 
    .contact-numbers {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .benefit-card, 
    .documents-card {
        min-width: auto;
        width: 100%;
        max-width: 400px;
    }
    
    .requirements-section h2, 
    .help-section h2 {
        min-height: auto;
        text-align: center;
    }
    
    /* Центрирование блоков требований и помощи */
    .requirements-section, 
    .help-section {
        align-items: center;
        width: 100%;
    }
    
    .requirements-card, 
    .help-card {
        width: 100%;
        max-width: 400px;
        text-align: left; /* Вернули выравнивание по левому краю */
    }
    
    .requirements-card ul, 
    .help-card ul {
        text-align: left; /* Вернули выравнивание по левому краю */
        display: block;
        width: 100%;
    }
    
    /* Центрирование нижнего контактного блока */
    .contact-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .contact-numbers {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .hero-image {
        height: 35vh;
    }
    
    .benefits-section h2,
    .documents-section h2,
    .requirements-section h2,
    .help-section h2 {
        font-size: 1.5em;
    }
}

/* Дополнительные стили для очень маленьких устройств */
@media (max-width: 360px) {
    .hero-image {
        height: 30vh;
    }
    
    .benefit-card li,
    .documents-card li,
    .requirements-card li,
    .help-card li {
        padding-left: 35px;
        font-size: 0.95em;
    }
    
    .benefit-card li:before,
    .documents-card li:before,
    .requirements-card li:before,
    .help-card li:before {
        width: 24px;
        height: 24px;
        font-size: 14px;
    }
    
    .contact-section {
        padding: 15px;
    }
    
    .contact-number {
        font-size: 1em;
        padding: 10px 15px;
    }
}

