.detail-page-services .banner-title span {
    color: var(--accent-1);
}
@media (max-width: 991px) {
    .banner-text {
        text-align: justify;
        width: 90%;
    }
}

.catalog-detail {
    display: flex;
    flex-direction: column;
}
.detail-title {
    line-height: 1.1;
    color: var(--accent-1);
    width: 80%;
    margin: 0 auto 40px;
}
.detail-title b {
    color: var(--accent-2);
}
.detail-subtitle {
    font-size: 20px;
    line-height: 1.3;
    color: var(--font-lighter);
    width: 58%;
    margin: 0 auto 40px;
    text-align: center;
}
.detail-block {
    display: grid;
    grid-template-columns: 1fr;
    color: #555;
}
.detail-item, .detail-item__header, .detail-item__prices {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.detail-item {
    background: rgba(229, 229, 229, 0.3);
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    align-self: start;
    margin-bottom: 40px;
    width: calc(50% - 20px);
}
.detail-item__header, .detail-item__subsection {
    font-size: 20px;
    line-height: 26px;
    font-weight: 600;
}
.detail-item__subsection {
    color: var(--accent-1);
}
.detail-item__header img {
    max-width: 130px;
    margin: auto;
    width: 100%;
}
.detail-item__header span {
    display: flex;
    gap: 1em;
    justify-content: space-between;
    align-items: baseline;
    transition: .6s;
}
.detail-item__header span::after {
    content: '';
    min-width: 8px;
    min-height: 8px;
    border-bottom: 2px solid #555;
    border-right: 2px solid #555;
    rotate: 45deg;
    transform: translateX(-50%);
    z-index: 1;
    transition: .3s;
}
.detail-item.detail-item--open .detail-item__header span::after {
    rotate: 225deg;
    transform: translateX(50%);
}
.detail-item__prices {
    --row-height: 40px;
    font-size: 18px;
    line-height: 22px;
    max-height: var(--row-height);
    overflow: hidden;
    transition: .6s;
}
.detail-item.detail-item--open .detail-item__prices {
    max-height: fit-content;
}
.detail-item__row {
    position: relative;
    min-height: var(--row-height);
    display: flex;
    gap: 1em;
    justify-content: space-between;
    padding-bottom: 6px;
}
.detail-item__row::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
    width: 95%;
}
.detail-item__row span:nth-child(2) {
    font-size: 16px;
    align-self: end;
}
.detail-button {
    margin: auto;
    padding-inline: 37px;
}

.detail-item:active .detail-item__header span::after,
.detail-item:focus-visible .detail-item__header span::after {
    rotate: 135deg;
    transform: translateY(50%);
}
@media (hover: hover) {
    .detail-item:hover .detail-item__header span::after  {
        rotate: 135deg;
        transform: translateY(50%);
    }
}

@media (max-width: 991px) {
    .detail-title {
        font-size: 24px;
        line-height: 1.3;
        width: 88%;
        margin-bottom: 20px;
    }
    .detail-subtitle {
        font-size: 14px;
        width: 88%;
    }
    .detail-item {
        width: 100%;
        margin-bottom: 20px;
    }
    .detail-item__header {
        font-size: 16px;
        line-height: 23px;
    }
    .detail-item__prices {
        --row-height: 53px;
        font-size: 14px;
        line-height: 21px;
        gap: 10px;
    }
    .detail-item.detail-item--open .detail-item__prices {
        max-height: 40em;
    }
    .detail-item__row {
        flex-direction: column;
        gap: 5px;
    }
    .detail-item__subsection {
        font-size: inherit;
        line-height: inherit;
    }
    .detail-item__row span:nth-child(2) {
        font-size: inherit;
        align-self: auto;
    }
    .detail-button {
        padding-inline: 20px;
        font-size: 12px;
        margin-top: 20px;
    }
}

.services-form .form-list.form--SIDE_IMG {
    background: none;
}
.services-form .form-group label {
    display: none;
}
.services-form .form.form--inline .form-group {
    margin-bottom: 20px;
}
.services-form .form--inline .form-footer {
    padding: 0;
}
.services-form .form .licence_block {
    padding: 0;
    margin-bottom: 20px;
}
.services-form .form-inner {
    padding-top: 0;
}
.services-form .form-checkbox__label {
    font-size: 12px !important;
    color: var(--main-white) !important;
}
.services-form .form-checkbox__label span {
    color: inherit !important;
}
.services-form .form-footer label span a {
    text-decoration: underline;
    transition: .3s;
    color: inherit !important;
}
.services-form form button {
    padding: 20px 59px;
    background-color: var(--main-white) !important;
    border-radius: 12px !important;
    color: var(--main-black) !important;
    font-size: 14px !important;
    font-weight: 600;
    width: fit-content;
    border: 1px solid var(--main-white) !important;
    cursor: pointer;
    transition: .3s;
    font-family: inherit;
}
.services-form .form-footer__btn {
    text-align: left !important;
}
.services-form .form-group .input input {
    padding-left: 30px;
}
.personal-form.services-form .form-footer label span {
    color: #B3B3B3 !important;
}

.services-form .form-footer label span a:active,
.services-form .form-footer label span a:focus-visible {
    color: var(--accent-1) !important;
}
@media (hover: hover) {
    .services-form .form-footer label span a:hover {
        color: var(--accent-1) !important;
    }
}

@media (max-width: 991px) {
    .services-form form button {
        padding: 14px;
    }
}

.reviews {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}
.reviews-block {
    max-width: 560px;
    width: 100%;
    height: 800px;
    overflow: hidden;
    position: relative;
}
.reviews-block iframe {
    width: 100%;
    height: 100%;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    box-sizing: border-box;
}
.reviews-block a {
    box-sizing: border-box;
    text-decoration: none;
    color: #b3b3b3;
    font-size: 10px;
    font-family: YS Text, sans-serif;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
    left: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    white-space: nowrap;
    padding: 0 16px;
}

.seo ul, .seo ol {
    list-style: none;
    padding-left: 56px;
    position: relative;
    overflow: visible;
    margin: 20px 0;
}
.seo ul::before, .seo ol::before {
    content: '';
    position: absolute;
    left: 23px;
    top: 28px;
    bottom: 28px;
    width: 2px;
    background: linear-gradient(to bottom, #f97316, #fdba74);
    border-radius: 2px;
}
.seo ul > li, .seo ol > li {
    position: relative;
    display: block;
    padding: 18px 24px;
    background: rgba(255, 255, 255, 0.002);
    border-radius: 12px;
    margin-bottom: 8px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #262626;
    box-shadow: 0 1px 4px rgba(249, 115, 22, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f5f5f5;
    border-left: 1px solid #f5f5f5;
}
.seo ol > li {
    background: var(--main-white);
    padding-bottom: 40px;
}
.seo ol > li {
    counter-increment: item;
}
.seo ul > li::before, .seo ol > li::before {
    content: "" !important;
    position: absolute;
    left: -56px;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #f97316, #ea580c);
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.35);
}
.seo ul > li::after {
    content: '';
    position: absolute;
    left: -39px;
    top: 50%;
    width: 10px;
    height: 16px;
    border-right: 3px solid #fff;
    border-bottom: 3px solid #fff;
    transform: translateY(-60%) rotate(45deg);
}
.seo ol > li::after {
    content: counter(item);
    position: absolute;
    left: -39px;
    top: 50%;
    font-size: 20px;
    color: #fff;
    transform: translateY(-50%);
}

.seo ul > li:active, .seo ul > li:focus-visible,
.seo ol > li:active, .seo ol > li:focus-visible {
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.15);
    transform: translateX(4px);
    border-color: #ffedd5;
    background: #fff7ed;
}
@media (hover: hover) {
    .seo ul > li:hover, .seo ol > li:hover {
        box-shadow: 0 8px 24px rgba(249, 115, 22, 0.15);
        transform: translateX(4px);
        border-color: #ffedd5;
        background: #fff7ed;
    }
}