/* Services Section Styles */
.services-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.services-header {
    text-align: center;
    margin-bottom: 60px;
}

.services-title {
    font-size: 3rem;
    font-weight: 700;
    color: #056486;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #056486 0%, #0A7FA3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.services-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #056486 0%, #0A7FA3 100%);
    margin: 0 auto 30px;
    border-radius: 2px;
}

.services-subtitle {
    font-size: 1.3rem;
    color: #6c757d;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Filters */
.services-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
}

.filter-btn {
    padding: 12px 24px;
    border: 2px solid #e9ecef;
    background: white;
    color: #6c757d;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.filter-btn:hover {
    border-color: #056486;
    color: #056486;
    transform: translateY(-2px);
}

.filter-btn.active {
    background: linear-gradient(135deg, #056486 0%, #0A7FA3 100%);
    border-color: transparent;
    color: white;
    box-shadow: 0 5px 15px rgba(5, 100, 134, 0.4);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 80px;
}

.service-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.service-card.featured {
    border: 2px solid #056486;
}

.service-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

/* Service Image */
.service-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.7) 100%);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 20px;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover .service-overlay {
    opacity: 1;
}

.service-time, .service-price {
    background: rgba(255,255,255,0.2);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    backdrop-filter: blur(10px);
}

/* Service Content */
.service-content {
    padding: 20px;
}

.service-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #056486;
    margin-bottom: 12px;
}

.service-description {
    color: #6c757d;
    line-height: 1.5;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin-bottom: 15px;
}

.service-features li {
    padding: 8px 0;
    color: #5a6c7d;
    position: relative;
    padding-left: 20px;
    font-size: 0.9rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #056486;
    font-weight: bold;
}

/* Service Footer */
.service-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
}

.service-meta {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.duration {
    color: #6c757d;
    font-size: 0.9rem;
}

.price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #056486;
}

.price.discount {
    color: #056486;
}

.price.discount span {
    font-size: 1rem;
    color: #6c757d;
    text-decoration: line-through;
    margin-left: 8px;
}

.service-btn {
    background: linear-gradient(135deg, #056486 0%, #0A7FA3 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    box-shadow: 0 5px 15px rgba(5, 100, 134, 0.4);
}

.service-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(5, 100, 134, 0.6);
}

.featured-btn {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

.featured-btn:hover {
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.6);
}

/* CTA Section */
.services-cta {
    background: linear-gradient(135deg, #056486 0%, #034A5F 100%);
    border-radius: 20px;
    padding: 50px;
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-text h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: 700;
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.cta-text h3,
.services-cta .cta-text h3 {
    color: #ffffff !important;
}

.cta-text p {
    font-size: 1.1rem;
    color: #ffffff !important;
    opacity: 1 !important;
    margin-bottom: 30px;
    font-weight: 400;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
    line-height: 1.6;
}

.cta-text p,
.services-cta .cta-text p {
    color: #ffffff !important;
}

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

.cta-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.1);
    padding: 15px 25px;
    border-radius: 25px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.cta-phone:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.phone-icon {
    font-size: 1.2rem;
}

.cta-consultation {
    display: inline-block;
    background: white;
    color: #056486;
    border: none;
    padding: 15px 40px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-consultation:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    color: #056486;
}

/* Анимации */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card {
    animation: fadeInUp 0.6s ease-out;
}

.service-card:nth-child(2) { animation-delay: 0.1s; }
.service-card:nth-child(3) { animation-delay: 0.2s; }
.service-card:nth-child(4) { animation-delay: 0.3s; }
.service-card:nth-child(5) { animation-delay: 0.4s; }
.service-card:nth-child(6) { animation-delay: 0.5s; }

/* Адаптивность */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    }
}

@media (max-width: 768px) {
    .services-section {
        padding: 60px 0;
    }
    
    .services-title {
        font-size: 2.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .services-filters {
        gap: 10px;
    }
    
    .filter-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .service-content {
        padding: 20px;
    }
    
    .service-image {
        height: 160px;
    }
    
    .service-name {
        font-size: 1.1rem;
    }
    
    .services-cta {
        padding: 40px 25px;
    }
    
    .cta-actions {
        flex-direction: column;
    }
    
    .cta-phone, .cta-consultation {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .services-container {
        padding: 0 15px;
    }
    
    .services-title {
        font-size: 2rem;
    }
    
    .service-footer {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .service-meta {
        text-align: center;
    }
}

/* No services message */
.no-services {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 2rem;
    color: #6c757d;
    font-size: 1.2rem;
    font-style: italic;
}