.service-test {
    background: #f6f6f4;
}

.service-test__section {
    padding: 42px 0;
}

.service-test__section .h2 {
    margin-bottom: 26px;
}

.news-slider {
    display: none !important;
}

.service-test__hero {
    margin-bottom: 0;
}

.service-test__form {
    background: #fff;
}

.service-test__form .container > .formblock,
.service-test__form .container > form,
.service-test__form .formblock {
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
}

.service-test__actions {
    padding-top: 30px;
    background: #fff;
}

.service-test-actions-slider {
    overflow: hidden;
}

.service-test-action {
    box-shadow: none;
}

.service-test-action__cover {
    padding-top: 100%;
    background-size: contain !important;
    background-repeat: no-repeat;
    background-color: #f5f5f5;
}

.service-test-advantages {
    color: #fff;
    background: linear-gradient(135deg, #28226d 0%, #7136d9 62%, #9e45d8 100%);
    overflow: hidden;
    position: relative;
}

.service-test-advantages:after {
    content: "CITRUS";
    position: absolute;
    right: 24px;
    bottom: -24px;
    color: rgba(255,255,255,.08);
    font-size: 138px;
    line-height: 1;
    font-weight: 800;
    pointer-events: none;
}

.service-test-advantages__media {
    position: relative;
    z-index: 1;
    aspect-ratio: 16 / 6;
    min-height: 280px;
    overflow: hidden;
    border-bottom: 1px solid rgba(255,255,255,.22);
    background: #232323;
}

.service-test-advantages__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-test-advantages__content {
    position: relative;
    z-index: 1;
    padding: 30px;
}

.service-test-advantages__content h2 {
    margin: 0 0 22px;
    color: #fff;
    font-size: 30px;
    font-weight: 800;
}

.service-test-advantages__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.service-test-feature {
    min-height: 150px;
    padding: 20px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2);
}

.service-test-feature h3 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 18px;
    line-height: 1.2;
}

.service-test-feature p {
    margin: 0;
    color: rgba(255,255,255,.86);
    font-size: 14px;
    line-height: 1.45;
}

.service-test-cards,
.service-test-gallery,
.service-test-reviews {
    overflow: hidden;
}

.service-test-card {
    display: flex;
    flex-direction: column;
    min-height: 540px;
    height: 100%;
    padding: 24px;
    color: #fff;
    background:
        linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,0) 42%),
        #070707;
    border: 1px solid #242424;
}

.service-test-card__eyebrow {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    min-height: 26px;
    padding: 0 10px;
    color: #070707;
    background: #ffe121;
    font-size: 11px;
    line-height: 1;
    font-weight: 800;
    text-transform: uppercase;
}

.service-test-card_special .service-test-card__eyebrow {
    color: #070707;
    background: #ffe121;
}

.service-test-card__name {
    color: #bdbdbd;
    font-size: 13px;
    line-height: 1.35;
}

.service-test-card__title {
    margin: 14px 0 14px;
    color: #fff;
    font-size: 24px;
    line-height: 1.12;
    min-height: 82px;
    overflow-wrap: anywhere;
    hyphens: auto;
}

.service-test-card_special .service-test-card__title {
    font-size: 22px;
    line-height: 1.16;
    min-height: 102px;
}

.service-test-card__body {
    flex: 1;
    min-height: 0;
}

.service-test-card__description {
    color: #d8d8d8;
    font-size: 14px;
    line-height: 1.45;
    overflow: hidden;
    position: relative;
}

.service-test-card__features {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.service-test-card__features li {
    position: relative;
    margin-top: 10px;
    padding-left: 18px;
    color: #fff;
    font-size: 13px;
}

.service-test-card__features li:before {
    content: "";
    position: absolute;
    top: 7px;
    left: 0;
    width: 7px;
    height: 7px;
    background: #ffe121;
}

.service-test-card__footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.12);
}

.service-test-card__old-price {
    color: #8d8d8d;
    font-size: 14px;
    text-decoration: line-through;
}

.service-test-card__price {
    color: #ffe121;
    font-size: 26px;
    line-height: 1.05;
    font-weight: 800;
}

.service-test-card__price span {
    margin-right: 5px;
    color: #fff;
    font-size: 15px;
}

.service-test-card__button {
    min-width: 132px;
    white-space: nowrap;
}

.service-test-cards__nav,
.service-test-actions-slider__nav,
.service-test-related__nav,
.service-test-gallery__nav,
.service-test-reviews__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 22px;
}

.service-test-cards__prev,
.service-test-cards__next,
.service-test-actions-slider__prev,
.service-test-actions-slider__next,
.service-test-related__prev,
.service-test-related__next,
.service-test-gallery__prev,
.service-test-gallery__next,
.service-test-reviews__prev,
.service-test-reviews__next {
    width: 42px;
    height: 42px;
    border: 0;
    background: transparent;
    position: relative;
    cursor: pointer;
}

.service-test-cards__prev:before,
.service-test-actions-slider__prev:before,
.service-test-related__prev:before,
.service-test-gallery__prev:before,
.service-test-reviews__prev:before,
.service-test-cards__next:before,
.service-test-actions-slider__next:before,
.service-test-related__next:before,
.service-test-gallery__next:before,
.service-test-reviews__next:before {
    content: "";
    position: absolute;
    inset: 11px;
    border-top: 3px solid #ffe121;
    border-right: 3px solid #ffe121;
}

.service-test-cards__prev:before,
.service-test-actions-slider__prev:before,
.service-test-related__prev:before,
.service-test-gallery__prev:before,
.service-test-reviews__prev:before {
    transform: rotate(-135deg);
}

.service-test-cards__next:before,
.service-test-actions-slider__next:before,
.service-test-related__next:before,
.service-test-gallery__next:before,
.service-test-reviews__next:before {
    transform: rotate(45deg);
}

.service-test-cards__dots,
.service-test-actions-slider__dots,
.service-test-related__dots,
.service-test-gallery__dots,
.service-test-reviews__dots {
    display: flex;
    gap: 8px;
}

.service-test-cards__dots .swiper-pagination-bullet,
.service-test-actions-slider__dots .swiper-pagination-bullet,
.service-test-related__dots .swiper-pagination-bullet,
.service-test-gallery__dots .swiper-pagination-bullet,
.service-test-reviews__dots .swiper-pagination-bullet {
    width: 9px;
    height: 9px;
    opacity: 1;
    background: #d0d0d0;
}

.service-test-cards__dots .swiper-pagination-bullet-active,
.service-test-actions-slider__dots .swiper-pagination-bullet-active,
.service-test-related__dots .swiper-pagination-bullet-active,
.service-test-gallery__dots .swiper-pagination-bullet-active,
.service-test-reviews__dots .swiper-pagination-bullet-active {
    background: #64a36f;
}

.service-test-text {
    color: #555;
    font-size: 18px;
    line-height: 1.65;
}

.service-test-text__content {
    max-height: 178px;
    overflow: hidden;
    position: relative;
}

.service-test-text__content:after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 80px;
    background: linear-gradient(to bottom, rgba(246,246,244,0), #f6f6f4);
}

.service-test-text.is-open .service-test-text__content {
    max-height: none;
}

.service-test-text.is-open .service-test-text__content:after {
    display: none;
}

.service-test-text__more {
    margin-top: 16px;
    border: 1px solid #64a36f;
    background: transparent;
    color: #64a36f;
    height: 46px;
    padding: 0 28px;
    border-radius: 23px;
    font-weight: 700;
    cursor: pointer;
}

.service-test-related {
    overflow: visible;
}

.service-test-related__list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.service-test-related__slide {
    height: auto;
}

.service-test-related__slide.is-hidden-desktop {
    display: none;
}

.service-test__related-section.is-open .service-test-related__slide.is-hidden-desktop {
    display: block;
}

.service-test-related__item {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    color: #3b3b3b;
    background: #fff;
    box-shadow: 0 3px 12px rgba(0,0,0,.12);
}

.service-test-related__nav {
    display: none;
}

.service-test-related__image {
    display: block;
    padding-top: 56%;
    background-position: center;
    background-size: cover;
}

.service-test-related__content {
    display: block;
    padding: 18px;
}

.service-test-related__title {
    display: block;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
}

.service-test-related__text {
    display: block;
    margin-top: 10px;
    color: #777;
    font-size: 13px;
    line-height: 1.4;
}

.service-test-related__more {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 174px;
    height: 46px;
    margin: 26px auto 0;
    padding: 0 28px;
    color: #070707;
    background: #ffe121;
    border: 0;
    border-radius: 23px;
    font-weight: 800;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
}

.service-test-related__more:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(255,225,33,.32);
}

@media (min-width: 768px) {
    .service-test-related.swiper-container {
        overflow: visible !important;
    }

    .service-test-related__list.swiper-wrapper {
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 22px;
        height: auto !important;
        transform: none !important;
        transition: none !important;
    }

    .service-test-related__slide.swiper-slide {
        width: auto !important;
        height: auto !important;
        margin-right: 0 !important;
        flex-shrink: 1 !important;
    }
}

.service-test-gallery__item {
    display: block;
    padding-top: 66%;
    background-position: center;
    background-size: cover;
}

.service-test-faq {
    background: #fff;
    border: 1px solid #ededed;
}

.service-test-faq__item {
    border-bottom: 1px solid #ededed;
}

.service-test-faq__item:last-child {
    border-bottom: 0;
}

.service-test-faq__item summary {
    display: block;
    position: relative;
    padding: 24px 56px 24px 24px;
    font-weight: 700;
    cursor: pointer;
}

.service-test-faq__item summary:after {
    content: "";
    position: absolute;
    top: 27px;
    right: 26px;
    width: 10px;
    height: 10px;
    border-right: 2px solid #64a36f;
    border-bottom: 2px solid #64a36f;
    transform: rotate(45deg);
}

.service-test-faq__item[open] summary:after {
    transform: rotate(-135deg);
}

.service-test-faq__item div {
    padding: 0 24px 24px;
    color: #666;
    line-height: 1.55;
}

.service-test__reviews {
    background:
        linear-gradient(180deg, #fff 0%, #f7f7f2 100%);
    overflow: hidden;
}

.service-test__reviews .h2 {
    position: relative;
}

.service-test__reviews .h2:after {
    content: "мнения клиентов";
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    margin-left: 18px;
    padding: 0 12px;
    color: #365f3d;
    background: #d8f2c8;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    vertical-align: middle;
}

.service-test-reviews .swiper-wrapper {
    align-items: stretch;
}

.service-test-reviews .swiper-slide {
    height: auto;
}

.service-test-review {
    min-height: 286px;
    padding: 28px 28px 24px;
    color: #191919;
    background: #fff;
    border: 1px solid #ecece6;
    border-top: 5px solid #ffe121;
    border-radius: 8px;
    box-shadow: 0 18px 46px rgba(29, 35, 25, .08);
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.service-test-review:before {
    content: "“";
    position: absolute;
    right: 22px;
    top: 10px;
    color: rgba(100, 163, 111, .14);
    font-size: 92px;
    line-height: 1;
    font-family: Georgia, serif;
    pointer-events: none;
}

.service-test-review__head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.service-test-review__avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    color: #070707;
    background: #ffe121;
    border-radius: 50%;
    box-shadow: inset 0 0 0 4px rgba(255,255,255,.55);
    font-weight: 800;
    font-size: 20px;
}

.service-test-review h3 {
    margin: 0 0 5px;
    color: #111;
    font-size: 18px;
    line-height: 1.2;
    text-transform: uppercase;
}

.service-test-review__date {
    color: #6d756b;
    font-size: 13px;
    font-weight: 600;
}

.service-test-review p {
    margin: 0;
    color: #343434;
    font-size: 15px;
    line-height: 1.58;
    position: relative;
    z-index: 1;
}

.service-test-review__footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: auto;
    padding-top: 22px;
    color: #070707;
    font-size: 14px;
    position: relative;
    z-index: 1;
}

.service-test-review__rating {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    min-height: 32px;
    color: #ffe121;
    font-size: 18px;
    line-height: 1;
    font-weight: 800;
}

.service-test-review__rating .is-muted {
    color: #d9d9d2;
}



@media (max-width: 1199px) {
    .service-test-advantages__grid,
    .service-test-related__list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .service-test__section {
        padding: 30px 0;
    }

    .service-test-advantages__grid {
        grid-template-columns: 1fr;
    }

    .service-test-related {
        overflow: hidden;
    }

    .service-test-related__list {
        display: flex;
        gap: 0;
    }

    .service-test-related__slide,
    .service-test-related__slide.is-hidden-desktop {
        display: block;
        height: auto;
    }

    .service-test-related__item {
        height: 100%;
    }

    .service-test-related__nav {
        display: flex;
    }

    .service-test-related__more {
        display: none;
    }

    .service-test-advantages__media {
        aspect-ratio: 4 / 3;
        min-height: 240px;
    }

    .service-test-advantages__content {
        padding: 24px;
    }

    .service-test-card {
        min-height: 520px;
        padding: 22px;
    }

    .service-test-card__footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .service-test__reviews .h2:after {
        display: flex;
        width: max-content;
        margin: 10px 0 0;
    }

    .service-test-review {
        min-height: 260px;
        padding: 24px 22px 22px;
    }
}

@media (max-width: 400px) {
    .service-test-advantages__content h2 {
        font-size: 24px;
    }
    .service-test-feature h3 {
        font-size: 12px;
    }
}
