/* Стили для страницы услуг (единый стиль сайта) */

.content-section {
    padding: 80px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.bg-light {
    background-color: #f9f9f9;
}

.section-title {
    text-align: center;
    color: rgb(153, 128, 0);
    margin-bottom: 50px;
    font-size: 2.5rem;
    font-weight: 300;
    padding-bottom: 15px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: rgb(139, 107, 0);
}

/* Блок истории */
.history-block {
    background: white;
    border-radius: 10px;
    padding: 40px;
    margin-bottom: 60px;
    display: flex;
    align-items: center;
    gap: 50px;
    border: 2px solid rgb(153, 128, 0);
}

.history-image {
    flex: 0 0 300px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid rgb(153, 128, 0);
}

.history-image img {
    width: 100%;
    height: auto;
    display: block;
}

.history-content {
    flex: 1;
}

.year-badge {
    display: inline-block;
    background: rgb(153, 128, 0);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

.history-content h3 {
    font-size: 1.8rem;
    color: rgb(153, 128, 0);
    margin-bottom: 20px;
}

.history-text {
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

/* Миссия */
.mission-block {
    background: rgb(153, 128, 0);
    border-radius: 10px;
    padding: 40px;
    color: white;
    text-align: center;
    margin: 60px 0;
    border: 2px solid rgb(139, 107, 0);
}

.mission-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: rgb(253, 212, 76);
}

.mission-text {
    font-size: 1.3rem;
    font-style: italic;
    line-height: 1.8;
}

/* Основные услуги */
.cooperation-grid {
    display: flex;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
    flex-direction: column;
}

.cooperation-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-top: 4px solid rgb(153, 128, 0);
    border: 2px solid #eee;
    height: 100%;
}

.cooperation-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: rgb(153, 128, 0);
}

.card-icon {
    font-size: 2rem;
    color: rgb(153, 128, 0);
    margin-bottom: 20px;
}

.card-title {
    font-size: 1.5rem;
    color: rgb(153, 128, 0);
    margin-bottom: 15px;
    font-weight: 600;
}

.card-text {
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.service-list li {
    padding: 8px 0;
    color: #555;
    display: flex;
    align-items: center;
}

.service-list li i {
    color: rgb(153, 128, 0);
    margin-right: 10px;
    font-size: 0.9rem;
}

/* Специализированные услуги */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.advantage-item {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 20px;
    border: 2px solid #eee;
}

.advantage-item:hover {
    border-color: rgb(153, 128, 0);
}

.advantage-number {
    background: rgb(153, 128, 0);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.advantage-content h4 {
    color: rgb(153, 128, 0);
    margin-bottom: 10px;
    font-size: 1.2rem;
    font-weight: 600;
}

.advantage-content p {
    color: #555;
    line-height: 1.6;
}

/* Процесс работы */
.process-steps {
    max-width: 800px;
    margin: 50px auto 0;
}

.process-step {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    background: white;
    padding: 20px;
    border-radius: 10px;
    border: 2px solid #eee;
}

.process-step:hover {
    border-color: rgb(153, 128, 0);
}

.step-number {
    background: rgb(153, 128, 0);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin-right: 20px;
    flex-shrink: 0;
}

.step-content h4 {
    color: rgb(153, 128, 0);
    margin-bottom: 8px;
    font-size: 1.2rem;
    font-weight: 600;
}

.step-content p {
    color: #555;
    line-height: 1.6;
}

/* CTA секция */
.cta-section {
    background: rgb(153, 128, 0);
    color: white;
    padding: 60px 0;
    text-align: center;
    margin-top: 80px;
    margin-bottom: 80px;
    border-top: 2px solid rgb(139, 107, 0);
    border-bottom: 2px solid rgb(139, 107, 0);
}

.cta-title {
    font-size: 2.2rem;
    margin-bottom: 20px;
    font-weight: 300;
}

.cta-text {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    background: white;
    color: rgb(153, 128, 0);
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border: 2px solid white;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: transparent;
    color: white;
}

.cta-button i {
    margin-right: 10px;
}

.phone-button {
    background: rgb(139, 107, 0);
    color: white;
    border-color: rgb(139, 107, 0);
}

.phone-button:hover {
    background: transparent;
    color: white;
}

/* Адаптивность */
@media (max-width: 992px) {
    .history-block {
        flex-direction: column;
        text-align: center;
    }
    
    .history-image {
        flex: none;
        width: 100%;
        max-width: 400px;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .content-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .history-block,
    .mission-block,
    .cooperation-card {
        padding: 25px;
    }
    
    .cooperation-grid {
        grid-template-columns: 1fr;
    }
    
    .mission-text {
        font-size: 1.1rem;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 80%;
        max-width: 300px;
        text-align: center;
    }
    
    .process-step {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .step-number {
        margin-right: 0;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.6rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .cooperation-card,
    .advantage-item {
        padding: 20px;
    }
}

/* Медиа-запросы для страницы услуг */
/* Планшеты и небольшие ноутбуки (768px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
    .cooperation-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 25px;
    }
    
    .advantages-grid {
        grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
    }
    
    .history-block {
        gap: 35px;
        padding: 35px;
    }
    
    .history-image {
        flex: 0 0 250px;
    }
}

/* Ноутбуки (1025px - 1366px) */
@media (max-width: 1366px) and (min-width: 1025px) {
    .cooperation-grid {
        grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    }
    
    .container {
        max-width: 1100px;
    }
    
    .history-block {
        padding: 35px;
    }
}

/* Мониторы 4:3 (до 1600px) */
@media (max-width: 1600px) and (min-aspect-ratio: 4/3) {
    .cooperation-grid {
        gap: 25px;
    }
    
    .advantage-item {
        padding: 22px;
    }
    
    .cta-section {
        padding: 50px 0;
        margin: 60px 0;
    }
}

/* Старые ноутбуки (до 1280px) */
@media (max-width: 1280px) {
    .container {
        padding: 0 25px;
    }
    
    .history-image {
        flex: 0 0 220px;
    }
    
    .cooperation-grid {
        gap: 20px;
    }
}

/* Небольшие планшеты (до 920px) */
@media (max-width: 920px) and (min-width: 769px) {
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .history-block {
        flex-direction: column;
        text-align: center;
    }
    
    .history-image {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }
}