/* ==================== SINGLE SERVICE ==================== */

/* HERO */
.service-hero {
    position: relative;
    padding: 160px 0 80px;
    background: #0a0a0a;
    overflow: hidden;
    margin-top: -84px;
}
.service-hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=1920&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
}
.service-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,10,10,0.5) 0%, rgba(10,10,10,0.95) 100%);
}
.service-hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 900px;
}
.service-hero-breadcrumbs {
    font-size: 13px;
    margin-bottom: 32px;
    color: rgba(255,255,255,0.5);
}
.service-hero-breadcrumbs a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.2s;
}
.service-hero-breadcrumbs a:hover { color: #f5c518; }
.service-hero-breadcrumbs .sep {
    margin: 0 10px;
    color: rgba(255,255,255,0.3);
}
.service-hero-breadcrumbs .current { color: #fff; }

.service-hero h1 {
    font-size: clamp(36px, 5.5vw, 64px);
    font-weight: 300;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}
.service-hero-lead {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255,255,255,0.7);
    max-width: 640px;
    margin-bottom: 40px;
    font-weight: 300;
}
.service-hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* MAIN */
.single-service {
    padding: 80px 0;
    background: #fff;
}
.service-main-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 64px;
    align-items: start;
}

/* Content */
.service-content {
    min-width: 0;
}
.service-featured-image {
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}
.service-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.service-body {
    font-size: 16px;
    line-height: 1.9;
    color: #555;
}
.service-body h2 {
    font-size: 28px;
    font-weight: 300;
    letter-spacing: -0.02em;
    color: #000;
    margin: 40px 0 20px;
    line-height: 1.2;
}
.service-body h2:first-child { margin-top: 0; }
.service-body h3 {
    font-size: 20px;
    font-weight: 600;
    color: #000;
    margin: 32px 0 16px;
}
.service-body p { margin-bottom: 18px; }
.service-body strong { color: #000; font-weight: 600; }
.service-body ul,
.service-body ol {
    padding-left: 24px;
    margin-bottom: 20px;
}
.service-body li {
    margin-bottom: 10px;
}
.service-body li::marker {
    color: #f5c518;
    font-weight: 700;
}
.service-body a {
    color: #000;
    border-bottom: 1px solid #f5c518;
    text-decoration: none;
    transition: all 0.2s;
}
.service-body a:hover {
    background: #fff9e6;
    border-bottom-color: #000;
}
.service-body img {
    border-radius: 12px;
    margin: 24px 0;
}

/* Sidebar */
.service-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.sidebar-card {
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 20px;
    padding: 32px 28px;
}
.sidebar-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #000;
    letter-spacing: -0.01em;
}
.sidebar-card p {
    font-size: 14px;
    line-height: 1.7;
    color: #666;
    margin-bottom: 12px;
}
.sidebar-card p:last-child { margin-bottom: 0; }

/* CTA card */
.sidebar-cta {
    background: #0a0a0a;
    border-color: #0a0a0a;
}
.sidebar-cta h3 { color: #fff; }
.sidebar-cta p { color: rgba(255,255,255,0.6); }
.sidebar-cta .btn-primary {
    display: inline-flex;
    width: 100%;
    justify-content: center;
    margin-top: 20px;
    background: #f5c518;
    color: #000;
}
.sidebar-cta .btn-primary:hover {
    background: #e0b015;
}

/* Services list */
.sidebar-services-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sidebar-services-list li {
    border-bottom: 1px solid #eee;
}
.sidebar-services-list li:last-child { border-bottom: none; }
.sidebar-services-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    transition: all 0.2s;
}
.sidebar-services-list a:hover {
    color: #f5c518;
    padding-left: 6px;
}
.sidebar-services-list a span {
    color: #ccc;
    transition: all 0.2s;
}
.sidebar-services-list a:hover span {
    color: #f5c518;
    transform: translateX(4px);
}

/* Contacts card */
.sidebar-contacts a {
    color: #000;
    text-decoration: none;
    border-bottom: 1px solid #f5c518;
    font-weight: 600;
    transition: all 0.2s;
}
.sidebar-contacts a:hover {
    background: #fff9e6;
    border-bottom-color: #000;
}

/* Адаптив */
@media (max-width: 1024px) {
    .service-main-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .service-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .service-hero {
        padding: 120px 0 60px;
        margin-top: -68px;
    }
    .service-hero h1 { font-size: 28px; }
    .service-hero-lead { font-size: 15px; }
    .service-hero-actions { flex-direction: column; }
    .service-hero-actions a { width: 100%; justify-content: center; }

    .single-service { padding: 60px 0; }
    .service-body h2 { font-size: 22px; }
    .service-body h3 { font-size: 17px; }
    .service-body { font-size: 15px; }

    .sidebar-card { padding: 24px 20px; }
}