/* ============================================
   СТИЛИ ДЛЯ СТРАНИЦ УСЛУГ
   ============================================ */

/* ----- Hero Section ----- */
.services-hero {
    position: relative;
    overflow: hidden;
    padding: 50px 0 40px;
    background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
    border-bottom: 3px solid #0d6efd;
}

.services-hero .hero-icon {
    font-size: 4.5rem;
    opacity: 0.12;
    color: #0d6efd;
}

.services-hero h1 {
    color: #0056b3;
    font-weight: 800;
}

.services-hero .subtitle {
    color: #495057;
    font-size: 1.2rem;
}

.services-hero .deco-icon {
    position: absolute;
    opacity: 0.05;
    pointer-events: none;
    color: #0d6efd;
}

.services-hero .deco-icon-1 {
    font-size: 15rem;
    right: -30px;
    top: -20px;
}

.services-hero .deco-icon-2 {
    font-size: 12rem;
    bottom: -40px;
    left: -40px;
}

.services-hero .deco-icon-3 {
    font-size: 6rem;
    right: 15%;
    bottom: 5%;
}

@media (max-width: 768px) {
    .services-hero {
        padding: 30px 0 25px;
    }
    .services-hero .hero-icon {
        font-size: 3rem;
    }
    .services-hero h1 {
        font-size: 1.8rem;
    }
}

/* ----- Breadcrumb ----- */
.services-breadcrumb {
    margin-bottom: 1.5rem;
}

.services-breadcrumb .breadcrumb-item a {
    text-decoration: none;
    color: #0d6efd;
    font-weight: 500;
}

.services-breadcrumb .breadcrumb-item a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.services-breadcrumb .breadcrumb-item.active {
    color: #6c757d;
}

/* ----- Основная карточка ----- */
.services-card-main {
    border: none;
    border-radius: 1.25rem;
    box-shadow: 0 5px 30px rgba(0,0,0,0.06);
    overflow: hidden;
    background: #ffffff;
}

.services-card-main .card-body {
    padding: 2rem 2.5rem;
}

@media (max-width: 768px) {
    .services-card-main .card-body {
        padding: 1.5rem;
    }
}

/* ----- Информационный блок ----- */
.services-info-alert {
    border: none;
    border-radius: 1rem;
    padding: 1.2rem 1.8rem;
    background: #f8fbff;
    border-left: 4px solid #0d6efd;
}

.services-info-alert .alert-icon {
    font-size: 1.6rem;
    flex-shrink: 0;
    color: #0d6efd;
}

.services-info-alert h5 {
    color: #0056b3;
    font-weight: 700;
    font-size: 1.1rem;
}

.services-info-alert p {
    color: #495057;
}

@media (max-width: 576px) {
    .services-info-alert {
        padding: 1rem;
    }
}

/* ----- Заголовки секций ----- */
.section-title-wrapper {
    text-align: center;
    margin-bottom: 2rem;
}

.section-title-wrapper h2 {
    color: #0056b3;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.section-title-wrapper .title-divider {
    width: 60px;
    height: 3px;
    margin: 0 auto;
    border-radius: 2px;
    background: #0d6efd;
}

/* ----- Карточки услуг ----- */
.service-card-item {
    border: none;
    border-radius: 1rem;
    padding: 1.5rem;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 2px 15px rgba(0,0,0,0.04);
    border: 1px solid #f0f0f0;
}

.service-card-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(13,110,253,0.08);
    border-color: #0d6efd;
}

.service-card-item .icon-box {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.8rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.service-card-item:hover .icon-box {
    transform: scale(1.05);
}

.service-card-item .icon-box i {
    font-size: 1.6rem;
    color: #fff;
}

.service-card-item .card-title {
    font-weight: 700;
    margin-bottom: 0.4rem;
    font-size: 1.1rem;
}

.service-card-item .card-text {
    color: #6c757d;
    margin-bottom: 0.8rem;
    font-size: 0.92rem;
    line-height: 1.5;
}

.service-card-item .card-badge {
    display: inline-block;
    padding: 0.25rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
    background: rgba(13, 110, 253, 0.06);
    color: #0d6efd;
}

.service-card-item:hover .card-badge {
    background: #0d6efd;
    color: #fff;
}

/* Цветовые вариации */
.service-card-item.blue .card-title { color: #0056b3; }
.service-card-item.green .card-title { color: #198754; }
.service-card-item.gold .card-title { color: #b8860b; }
.service-card-item.purple .card-title { color: #6f42c1; }
.service-card-item.red .card-title { color: #dc3545; }

/* Ссылка-карточка */
.service-card-link {
    text-decoration: none;
    display: block;
}

/* ----- CTA Блок ----- */
.services-cta {
    border: none;
    border-radius: 1.25rem;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fbff 0%, #ffffff 100%);
    border: 1px solid #e9ecef;
}

.services-cta .cta-body {
    padding: 2rem 2.5rem;
    text-align: center;
    position: relative;
}

.services-cta .cta-body .cta-icon {
    font-size: 3rem;
    opacity: 0.3;
    color: #0d6efd;
}

.services-cta .cta-body h3 {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #0056b3;
}

.services-cta .cta-body p {
    color: #495057;
    margin-bottom: 1.2rem;
    font-size: 1rem;
}

.services-cta .cta-body .btn-primary {
    padding: 0.7rem 2.2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    background: #0d6efd;
    border: none;
}

.services-cta .cta-body .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(13,110,253,0.25);
    background: #0056b3;
}

.services-cta .cta-body .btn-outline-primary {
    padding: 0.7rem 2.2rem;
    border-radius: 50px;
    font-weight: 600;
    border-color: #0d6efd;
    color: #0d6efd;
}

.services-cta .cta-body .btn-outline-primary:hover {
    background: #0d6efd;
    color: #fff;
    transform: translateY(-2px);
}

.services-cta .cta-footer {
    color: #6c757d;
    font-size: 0.85rem;
}

.services-cta .cta-footer i {
    color: #0d6efd;
}

/* ----- Список с иконками ----- */
.service-list-check {
    list-style: none;
    padding-left: 0;
}

.service-list-check li {
    display: flex;
    align-items: flex-start;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.04);
    color: #495057;
}

.service-list-check li:last-child {
    border-bottom: none;
}

.service-list-check li .list-icon {
    flex-shrink: 0;
    margin-right: 0.75rem;
    margin-top: 0.1rem;
    font-size: 1.1rem;
}

/* ----- Анимации ----- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ----- Общие утилиты ----- */
.rounded-4 { border-radius: 1rem !important; }
.shadow-soft { box-shadow: 0 2px 15px rgba(0,0,0,0.04); }

/* ----- Кнопки ----- */
.btn-light-custom {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    color: #212529;
    transition: all 0.3s ease;
}

.btn-light-custom:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}