/* ==========================================================================
   Base & Layout
   ========================================================================== */
.service-single-page {
    font-family: inherit;
    color: #ffffff;
    background-color: #050705;
    padding-bottom: 80px;
}

.site-header {
    padding: 0;
}

.service-single-page .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.service-single-page a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* ==========================================================================
   1. Hero Section (Финальная стабильная верстка)
   ========================================================================== */
/* ==========================================================================
   1. Hero Section (Раздельные слои для света и маски)
   ========================================================================== */
/* --- Главный блок Hero --- */
.service-hero {
    position: relative;
    width: 100%;
    min-height: 900px;
    background: #020A03;
    overflow: hidden;
    display: flex;
    align-items: center; /* Центрируем контент по вертикали */
}

/* --- Слои размытых пятен (из Figma) --- */
.service-hero::before {
    content: '';
    position: absolute;
    width: 308.17px;
    height: 404.81px;
    left: -119px;
    top: -89px;
    background: linear-gradient(98.24deg, #39982A 58.33%, #FF922D 100%);
    filter: blur(105px);
    transform: rotate(77.3deg);
    pointer-events: none;
    z-index: 1;
}

.service-hero::after {
    content: '';
    position: absolute;
    width: 417.06px;
    height: 547.85px;
    left: 966px;
    top: 556px;
    background: linear-gradient(98.24deg, #39982A 58.33%, #FF922D 100%);
    filter: blur(105px);
    transform: rotate(-85.92deg);
    pointer-events: none;
    z-index: 1;
}

/* --- SVG-дуги поверх пятен --- */
.service-hero__arc {
    position: absolute;
    pointer-events: none;
    z-index: 2;
    max-width: none; /* Отменяем возможные глобальные ограничения */
}

.service-hero__arc--left {
    width: 928px; /* Ровно по размеру Ellipse 16 из Figma */
    height: auto;
    left: -70px;
    top: 0px; /* От самого верха секции */
}

.service-hero__arc--right {
    width: 928px; /* Ровно по размеру Ellipse 17 из Figma */
    height: auto;
    right: -70px;
    bottom: 0px;
}

/* --- Текстура шума --- */
.service-hero__noise {
    position: absolute;
    inset: 0;
    background: url('папка_с_картинками/noise.png') repeat;
    mix-blend-mode: overlay;
    opacity: 0.22;
    pointer-events: none;
    z-index: 3;
}

/* --- Обертка для контента (текст слева, картинка справа) --- */
.service-hero__wrapper {
    position: relative;
    z-index: 4;
    width: 1440px;
    margin: 0 auto;
    padding: 0 80px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
/* ==========================================================================
   2. Details Section (Breadcrumbs & Content)
   ========================================================================== */
.service-details {
    padding: 30px 0 60px;
    border-top: 1px solid #222222;
}

.breadcrumbs {
    font-size: 14px;
    color: #71717a;
    margin-bottom: 30px;
}

.breadcrumbs a {
    color: #71717a;
}

.breadcrumbs a:hover {
    color: #16a34a;
}

.breadcrumbs span {
    color: #ffffff;
}

.service-details__grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 60px;
}

.service-details__main h2 {
    font-size: 32px;
    margin-bottom: 24px;
}

.entry-content {
    font-size: 16px;
    line-height: 1.7;
    color: #dddddd;
}

.service-sidebar-box {
    background-color: #141414;
    padding: 30px;
    border-radius: 16px;
    border: 1px solid #222222;
}

.service-sidebar-box h3 {
    font-size: 22px;
    margin-bottom: 20px;
}

.service-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.service-features-list li:last-child {
    margin-bottom: 0;
}

.service-features-list strong {
    display: block;
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 4px;
}

.service-features-list p {
    font-size: 14px;
    color: #999999;
    margin: 0;
}

/* ==========================================================================
   3. Workflow Process Section
   ========================================================================== */
.service-process {
    padding: 60px 0;
}

.section-title {
    font-size: 36px;
    margin-bottom: 40px;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.process-step {
    background-color: #141414;
    padding: 30px 20px;
    border-radius: 12px;
    border: 1px solid #222222;
}

.process-step__number {
    font-size: 32px;
    font-weight: 700;
    color: #16a34a;
    margin-bottom: 15px;
}

.process-step__title {
    font-size: 18px;
    margin-bottom: 10px;
}

.process-step__desc {
    font-size: 14px;
    color: #999999;
    line-height: 1.5;
    margin: 0;
}

/* ==========================================================================
   4. Form & CTA Section
   ========================================================================== */
.service-cta {
    padding: 60px 0;
}

.service-cta__wrapper {
    background-color: #141414;
    border-radius: 20px;
    padding: 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    border: 1px solid #222222;
}

.service-cta__info h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.service-cta__info p {
    color: #aaaaaa;
    font-size: 16px;
}

.custom-service-form .form-group {
    margin-bottom: 15px;
}

.custom-service-form input {
    width: 100%;
    padding: 16px;
    background-color: #0b0b0b;
    border: 1px solid #333333;
    border-radius: 8px;
    color: #ffffff;
    font-size: 15px;
}

.custom-service-form input:focus {
    outline: none;
    border-color: #16a34a;
}

.btn-submit {
    width: 100%;
    padding: 16px;
    background-color: #16a34a;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.btn-submit:hover {
    background-color: #15803d;
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */
@media (max-width: 1200px) {
    .service-hero::after {
        left: 55%;
    }
}

@media (max-width: 992px) {
    .service-hero__wrapper,
    .service-details__grid,
    .service-cta__wrapper {
        flex-direction: column;
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-hero__image {
        max-width: 100%;
    }

    .service-hero__glow--bottom-right {
        left: 50%;
        transform: translateX(-50%) rotate(-85.92deg);
    }
}

@media (max-width: 576px) {
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .service-hero__title {
        font-size: 34px;
    }

    .service-hero {
        margin-top: -70px;
        padding-top: 110px;
        padding-bottom: 40px;
    }
}