/* =========================================
   SERVICES.CSS
   Стили для страницы услуг
   ========================================= */

/* Основные стили страницы */
.services-page {
    padding-bottom: 5rem;
    background-color: #0a0a0a;
    min-height: 100vh;
}

.services-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .services-container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .services-container {
        padding: 0 2rem;
    }
}

/* Герой секция */
.services-hero {
    position: relative;
    padding-top: 8rem;
    padding-bottom: 3rem;
    overflow: hidden;
    text-align: center;
}

.services-hero-title {
    font-size: 2.25rem;
    font-weight: bold;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.services-hero-description {
    font-size: 1.25rem;
    color: #9ca3af;
    max-width: 42rem;
    margin: 0 auto;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .services-hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .services-hero {
        padding-top: 6rem;
        padding-bottom: 2rem;
    }
    
    .services-hero-title {
        font-size: 1.75rem;
    }
    
    .services-hero-description {
        font-size: 1rem;
    }
}

/* Сетка услуг */
.services-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 3rem;
}

/* Карточка услуги */
.service-card-full {
    background-color: rgba(17, 24, 39, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.service-card-full:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 20px 40px -10px rgba(59, 130, 246, 0.15);
}

/* Особое предложение */
.service-card-full.special-offer {
    border-color: rgba(34, 197, 94, 0.3);
}

.service-card-full.special-offer:hover {
    border-color: rgba(34, 197, 94, 0.5);
    box-shadow: 0 20px 40px -10px rgba(34, 197, 94, 0.15);
}

/* Заголовок услуги */
.service-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    margin-bottom: 1rem;
    border-bottom: 2px solid rgba(59, 130, 246, 0.3);
    padding-bottom: 0.75rem;
}

.special-offer .service-title {
    border-color: rgba(34, 197, 94, 0.3);
}

/* Контент услуги */
.service-content {
    color: #d1d5db;
    line-height: 1.7;
    font-size: 1.05rem;
}

.service-content p {
    margin-bottom: 1.25rem;
}

.service-content strong {
    color: #60a5fa;
    font-weight: 600;
}

.special-offer .service-content strong {
    color: #22c55e;
}

/* Выделенный блок */
.highlight-box {
    background: rgba(59, 130, 246, 0.1);
    border-left: 4px solid #3b82f6;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 0.5rem 0.5rem 0;
}

.highlight-box.special {
    background: rgba(34, 197, 94, 0.1);
    border-left-color: #22c55e;
}

.highlight-box strong {
    color: #93c5fd;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.5rem;
}

.highlight-box.special strong {
    color: #22c55e;
}

/* Списки услуг */
.service-list {
    list-style-type: none;
    padding-left: 0;
    margin: 1rem 0 0 0;
}

.service-list li {
    padding: 0.5rem 0;
    color: #d1d5db;
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.95rem;
}

.service-list li:before {
    content: "✓";
    color: #3b82f6;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.highlight-box.special .service-list li:before {
    color: #22c55e;
}

/* Кнопки действий */
.service-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.btn-service {
    padding: 0.875rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-service-primary {
    background: linear-gradient(90deg, #2563eb, #3b82f6);
    color: white;
}

.btn-service-primary:hover {
    box-shadow: 0 0 25px rgba(37, 99, 235, 0.7);
    transform: scale(1.05);
}

.btn-service-secondary {
    background: rgba(59, 130, 246, 0.1);
    color: #93c5fd;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.btn-service-secondary:hover {
    background: rgba(59, 130, 246, 0.2);
    color: white;
}

/* Специальная кнопка */
.btn-special {
    background: linear-gradient(90deg, #16a34a, #22c55e) !important;
}

.btn-special:hover {
    box-shadow: 0 0 25px rgba(34, 197, 94, 0.7) !important;
}

/* Контактная информация */
.contact-info {
    background: rgba(17, 24, 39, 0.7);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 1.5rem;
    padding: 2rem;
    margin-top: 3rem;
    text-align: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.contact-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    margin-bottom: 1rem;
}

.contact-phone {
    font-size: 1.25rem;
    color: #60a5fa;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-detail {
    color: #9ca3af;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

/* Адаптивность */
@media (max-width: 768px) {
    .service-card-full {
        padding: 1.5rem;
    }
    
    .service-title {
        font-size: 1.25rem;
    }
    
    .service-content {
        font-size: 1rem;
    }
    
    .service-actions {
        flex-direction: column;
    }
    
    .btn-service {
        width: 86%;
        text-align: center;
    }
    
    .highlight-box {
        padding: 1rem;
    }
    
    .contact-info {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .service-card-full {
        padding: 1.25rem;
    }
    
    .services-grid {
        gap: 1.5rem;
    }
    
    .services-page {
        padding-top: 4rem;
        padding-bottom: 3rem;
    }
    
    .service-list li {
        font-size: 0.9rem;
        padding-left: 1.25rem;
    }
}

/* Анимации */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card-full {
    animation: fadeInUp 0.6s ease-out both;
}

.service-card-full:nth-child(1) { animation-delay: 0.1s; }
.service-card-full:nth-child(2) { animation-delay: 0.2s; }
.service-card-full:nth-child(3) { animation-delay: 0.3s; }
.service-card-full:nth-child(4) { animation-delay: 0.4s; }
.service-card-full:nth-child(5) { animation-delay: 0.5s; }
.service-card-full:nth-child(6) { animation-delay: 0.6s; }
.service-card-full:nth-child(7) { animation-delay: 0.7s; }
.service-card-full:nth-child(8) { animation-delay: 0.8s; }

/* Градиентный текст */
.text-highlight-gradient {
    background: linear-gradient(to right, #38bdf8, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Интерактивные карточки */
.interactive-card {
    transition: all 0.3s ease;
}

.interactive-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px -10px rgba(56, 189, 248, 0.2);
}