/* Service Accent Section (Level 3) - Simple accent block with decorative circles */

.service-accent {
    position: relative;
    padding: 100px 50px;
    background: linear-gradient(90deg, #8c0014 17.79%, #cc2229 100%);
    margin: 60px 0;
    color: var(--white, #ffffff);
    font-family: var(--font-family);
    overflow: hidden;
}

/* Декоративный фон с кружками */
.service-accent__bg-decoration {
    position: absolute;
    z-index: 0;
    pointer-events: none;
}

/* Кружки слева-сверху */
.service-accent__bg-decoration--top-left {
    top: 0;
    left: 0;
    width: 555px;
    height: 95px;
    background-color: transparent;
    background-image:
        /* Первый ряд */
            radial-gradient(circle 4.5px at 4.5px 4.5px, #d9d9d9 100%, transparent 100%),
                /* Второй ряд */
            radial-gradient(circle 4.5px at 4.5px 43.5px, #d9d9d9 100%, transparent 100%),
                /* Третий ряд */
            radial-gradient(circle 4.5px at 4.5px 82.5px, #d9d9d9 100%, transparent 100%);
    background-size: 39px 39px, 39px 39px, 39px 39px;
    background-repeat: repeat;
    background-position: 0 0;
    mix-blend-mode: multiply;
}

/* Кружки справа-снизу */
.service-accent__bg-decoration--bottom-right {
    bottom: 0;
    right: 0;
    position: absolute;
    width: 300px;  /* или 555px, если нужно как в левом верхнем */
    height: 90px;  /* или 9px, если только один ряд */
    background-color: transparent;
    background-image:
            radial-gradient(circle 4.5px at 4.5px 4.5px, #d9d9d9 100%, transparent 100%),
            radial-gradient(circle 4.5px at 4.5px 43.5px, #d9d9d9 100%, transparent 100%),
            radial-gradient(circle 4.5px at 4.5px 82.5px, #d9d9d9 100%, transparent 100%);
    background-size: 39px 39px, 39px 39px, 39px 39px;
    background-repeat: repeat;
    background-position: 0 0;
    mix-blend-mode: multiply;
}

.service-accent__wrapper {
    position: relative;
    z-index: 1;
    text-align: center;
}

.service-accent__title {
    color: var(--white, #ffffff);
    text-align: center;
    font-family: var(--font-family);
    font-size: 44px;
    font-weight: 600;
    line-height: 120%;
    letter-spacing: -0.5px;
    margin: 0 0 24px 0;
}

.service-accent__subtitle {
    color: var(--grayc5, #c5c5c5);
    text-align: center;
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 400;
    line-height: 150%;
    max-width: 600px;
    margin: 0 auto 40px auto;
}

.service-accent__actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.service-accent__actions .btn--primary {
    border: 1px solid #fff;
    padding: 20px 40px;
    font-weight: 400;
    font-size: 16px;
    line-height: 88%;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-align: center;
    color: #fff;
    background: none;
}

.service-accent__actions .btn--primary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

/* Tablet (640px - 1023px) */
@media (min-width: 640px) and (max-width: 1023px) {
    .service-accent {
        padding: 80px 40px;
        margin: 50px 0;
    }

    .service-accent__title {
        font-size: 36px;
        margin-bottom: 20px;
    }

    .service-accent__subtitle {
        font-size: 17px;
        margin-bottom: 36px;
    }
}

/* Mobile (390px - 639px) */
@media (max-width: 639px) {
    .service-accent {
        padding: 60px 20px;
        margin: 40px 0;
    }

    .service-accent__bg-decoration {
        opacity: 0.5;
    }

    .service-accent__title {
        font-size: 24px;
        margin-bottom: 16px;
    }

    .service-accent__subtitle {
        font-size: 14px;
        margin-bottom: 28px;
    }

    .service-accent__actions {
        flex-direction: column;
        width: 100%;
    }

    .service-accent__actions .btn {
        width: 100%;
    }

    .service-accent__actions .btn--primary {
        padding: 20px;
    }
}

/* Desktop (1024px+) */
@media (min-width: 1024px) {
    .service-accent {
        padding: 120px 50px;
        margin: 60px 50px;
    }

    /* Две колонки: текст слева, кнопка справа */
    .service-accent__wrapper {
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: left;
        gap: 60px;
    }

    .service-accent__text-group {
        flex: 1;
        max-width: 700px;
    }

    .service-accent__title {
        text-align: left;
        font-size: 48px;
        margin-bottom: 20px;
    }

    .service-accent__subtitle {
        text-align: left;
        font-size: 18px;
        margin: 0;
    }

    .service-accent__actions {
        justify-content: flex-end;
        flex-shrink: 0;
    }
}
