/* service-pages.css - Стили для страниц отдельных услуг */

/* Основные стили страниц услуг */
.service-page-content {
    padding: 60px 20px;
    background: #f5f9fc;
}

.service-header {
    text-align: center;
    margin-bottom: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.service-title {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.service-title:after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: #3498db;
    margin: 15px auto;
}

.service-subtitle {
    font-size: 1.2rem;
    color: #7f8c8d;
    max-width: 800px;
    margin: 0 auto 30px;
}

.service-badges {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.service-badge {
    background: #3498db;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.service-badge i {
    font-size: 1rem;
}

.service-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 992px) {
    .service-content-grid {
        grid-template-columns: 1fr;
    }
}

.problem-card, .solution-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.problem-card h3 {
    color: #e74c3c;
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.solution-card h3 {
    color: #27ae60;
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-steps {
    max-width: 1200px;
    margin: 60px auto;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.step-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.step-icon {
    font-size: 2.5rem;
    color: #3498db;
    margin-bottom: 20px;
}

.step-number {
    background: #3498db;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: 0 auto 15px;
}

.pricing-section {
    max-width: 1200px;
    margin: 60px auto;
    text-align: center;
}

.price-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.price-card {
    background: white;
    padding: 35px 25px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.price-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.price-card.featured {
    border-color: #ff9800;
    transform: scale(1.05);
}

.price-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.price-tag {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #ff9800;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.price-amount {
    font-size: 2.8rem;
    color: #27ae60;
    font-weight: 700;
    margin: 20px 0;
}

.price-note {
    font-size: 0.9rem;
    color: #7f8c8d;
    font-style: italic;
    margin-top: 30px;
}

.blog-reference {
    background: #f0f7ff;
    padding: 30px;
    border-radius: 10px;
    margin: 40px 0;
    border-left: 5px solid #3498db;
}

.blog-reference h3 {
    color: #2c3e50;
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.blog-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    margin-top: 15px;
    padding: 10px 20px;
    background: white;
    border-radius: 5px;
    transition: all 0.3s;
}

.blog-link:hover {
    background: #3498db;
    color: white;
}

.service-cta {
    text-align: center;
    margin: 60px auto;
    max-width: 800px;
}

.service-cta h2 {
    color: #2c3e50;
    margin-bottom: 20px;
}

.service-cta p {
    color: #7f8c8d;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

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

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.cta-button.primary {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.cta-button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.4);
}

.cta-button.secondary {
    background: white;
    color: #3498db;
    border: 2px solid #3498db;
}

.cta-button.secondary:hover {
    background: #3498db;
    color: white;
}

.comparison-table {
    overflow-x: auto;
    margin: 30px 0;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.comparison-table th {
    background: #2c3e50;
    color: white;
    padding: 15px;
    text-align: center;
}

.comparison-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
    text-align: center;
}

.comparison-table tr:nth-child(even) {
    background: #f8f9fa;
}

.comparison-table .better {
    color: #27ae60;
    font-weight: 600;
}

.comparison-table .worse {
    color: #e74c3c;
    font-weight: 600;
}

/* Адаптивность */
@media (max-width: 768px) {
    .service-title {
        font-size: 2rem;
    }
    
    .price-cards {
        grid-template-columns: 1fr;
    }
    
    .price-card.featured {
        transform: none;
    }
    
    .price-card.featured:hover {
        transform: translateY(-10px);
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .service-title {
        font-size: 1.8rem;
    }
    
    .service-badges {
        flex-direction: column;
        align-items: center;
    }
    
    .service-badge {
        width: 100%;
        justify-content: center;
    }
}