/* Основные стили страницы услуг */
.services-page {
    background: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero секция */
.services-hero {
    background: linear-gradient(135deg, #3498db 0%, #2c3e50 100%);
    color: white;
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.services-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
    font-weight: 300;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #f39c12;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.8;
}

/* Секции услуг */
.service-detail-section {
    padding: 60px 0;
    background: white;
}

.service-detail-section.alt-bg {
    background: #f8f9fa;
}

.service-detail-content {
    max-width: 1000px;
    margin: 0 auto;
}

.service-detail-text {
    text-align: center;
}

.service-icon-large {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3498db, #2c3e50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.service-detail-text h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 700;
}

.service-intro {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Особенности услуг */
.service-features {
    text-align: left;
    margin-bottom: 40px;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.service-features h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 600;
    text-align: center;
}

.service-features ul {
    list-style: none;
    padding: 0;
}

.service-features li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    font-size: 1rem;
    line-height: 1.5;
    color: #555;
}

.service-features li:last-child {
    border-bottom: none;
}

.service-features strong {
    color: #2c3e50;
    font-weight: 600;
}

/* Процесс работы */
.service-process {
    margin-bottom: 40px;
}

.service-process h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 25px;
    font-weight: 600;
    text-align: center;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.step {
    text-align: center;
    padding: 25px 15px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.step:hover {
    transform: translateY(-3px);
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3498db, #2c3e50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
}

.step-content h4 {
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 8px;
    font-weight: 600;
}

.step-content p {
    color: #666;
    line-height: 1.5;
    font-size: 0.9rem;
}

/* Преимущества */
.service-benefits {
    margin-bottom: 40px;
}

.service-benefits h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 25px;
    font-weight: 600;
    text-align: center;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.benefit-item {
    text-align: center;
    padding: 25px 15px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-3px);
}

.benefit-item i {
    font-size: 2rem;
    color: #3498db;
    margin-bottom: 15px;
}

.benefit-item h4 {
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 8px;
    font-weight: 600;
}

.benefit-item p {
    color: #666;
    line-height: 1.5;
    font-size: 0.9rem;
}

/* CTA кнопки */
.service-cta {
    text-align: center;
    margin-top: 30px;
}

.service-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #3498db, #2c3e50);
    color: white;
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.service-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    color: white;
    text-decoration: none;
}

/* Финальная CTA секция */
.services-cta-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.cta-btn.primary {
    background: #f39c12;
    color: white;
}

.cta-btn.primary:hover {
    background: #e67e22;
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

.cta-btn.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-btn.secondary:hover {
    background: white;
    color: #2c3e50;
    transform: translateY(-2px);
    text-decoration: none;
}

/* Europe Redirect Styles */
.europe-redirect-section {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
    padding: 40px;
    margin-top: 30px;
    border: 1px solid #dee2e6;
}

.redirect-info h3 {
    color: #2c3e50;
    font-size: 1.4rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.redirect-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.redirect-info li {
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
    color: #495057;
    font-size: 0.95rem;
}

.redirect-info li:last-child {
    border-bottom: none;
}

.redirect-info strong {
    color: #2c3e50;
    font-weight: 600;
}

.redirect-cta {
    text-align: center;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #dee2e6;
}

.europe-redirect-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.3);
}

.europe-redirect-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
    color: white;
    text-decoration: none;
}

.europe-redirect-btn i {
    font-size: 16px;
}

.redirect-note {
    margin-top: 15px;
    color: #6c757d;
    font-size: 0.9rem;
    font-style: italic;
}

/* Дисклеймер */
.services-disclaimer {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 50px 0;
    border-top: 1px solid #dee2e6;
}

.disclaimer-content {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.disclaimer-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.disclaimer-text {
    flex: 1;
}

.disclaimer-text h3 {
    color: #2c3e50;
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.disclaimer-text p {
    color: #495057;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.disclaimer-contacts {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.disclaimer-contact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(52, 152, 219, 0.2);
}

.disclaimer-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    color: white;
    text-decoration: none;
}

.disclaimer-contact i {
    font-size: 14px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .service-detail-text h2 {
        font-size: 2rem;
    }
    
    .service-intro {
        font-size: 1.1rem;
    }
    
    .service-icon-large {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }
    
    .service-features {
        padding: 30px 20px;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .service-detail-section {
        padding: 60px 0;
    }
    
    .disclaimer-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 25px;
    }
    
    .disclaimer-contacts {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .service-detail-text h2 {
        font-size: 1.8rem;
    }
    
    .service-icon-large {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .service-features {
        padding: 20px 15px;
    }
    
    .service-features li {
        font-size: 1rem;
    }
    
    .step {
        padding: 20px 15px;
    }
    
    .benefit-item {
        padding: 20px 15px;
    }
    
    .disclaimer-content {
        padding: 20px 15px;
    }
    
    .disclaimer-text h3 {
        font-size: 1.2rem;
    }
    
    .disclaimer-text p {
        font-size: 0.9rem;
    }
    
    .disclaimer-contacts {
        flex-direction: column;
        gap: 10px;
    }
    
    .disclaimer-contact {
        justify-content: center;
    }
}

/* Попап для контактов */
.contact-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.contact-popup.active {
    display: flex;
}

.contact-popup-content {
    background: white;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    max-width: 450px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: popupSlideIn 0.3s ease-out;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.contact-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px 20px;
    border-bottom: 1px solid #e9ecef;
}

.contact-popup-header h3 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
}

.contact-popup-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #6c757d;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-popup-close:hover {
    background: #f8f9fa;
    color: #dc3545;
    transform: rotate(90deg);
}

.contact-popup-body {
    padding: 30px;
}

.service-info {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 25px;
    border-left: 4px solid #3498db;
}

.service-info p {
    margin: 0;
    font-size: 1rem;
    color: #495057;
}

.service-info span {
    font-weight: 600;
    color: #2c3e50;
}

.contact-options {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-option-btn {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    color: white;
}

.copy-btn {
    background: linear-gradient(135deg, #6c757d, #495057);
}

.copy-btn:hover {
    background: linear-gradient(135deg, #5a6268, #343a40);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 117, 125, 0.4);
}

.call-btn {
    background: linear-gradient(135deg, #28a745, #20c997);
}

.call-btn:hover {
    background: linear-gradient(135deg, #218838, #1ea085);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.4);
}

.contact-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.contact-info > div {
    margin-bottom: 15px;
}

.contact-info > div:last-child {
    margin-bottom: 0;
}

.contact-info strong {
    display: block;
    margin-bottom: 5px;
    color: #495057;
    font-size: 0.9rem;
}

.contact-info span {
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 500;
}

/* Адаптивность для попапа */
@media (max-width: 768px) {
    .contact-popup-content {
        width: 95%;
        margin: 20px;
    }
    
    .contact-popup-header {
        padding: 20px 25px 15px;
    }
    
    .contact-popup-body {
        padding: 25px;
    }
    
    .contact-options {
        flex-direction: column;
        gap: 12px;
    }
    
    .contact-option-btn {
        padding: 12px 16px;
        font-size: 0.95rem;
    }
}
