.embroidery-page .emb-services,
.embroidery-page .emb-services * {
    box-sizing: border-box;
}

.embroidery-page .emb-services {
    position: relative;
    margin-bottom: 60px;
    padding: 60px 0;
    background: #ecfaff;
    font-family: Roboto, Arial, sans-serif;
}

.embroidery-page .emb-services__inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
}

.embroidery-page .emb-services__equipment,
.embroidery-page .emb-services__other {
    min-width: 0;
    height: 428px;
    overflow: hidden;
    border-radius: 4px;
}

.embroidery-page .emb-services__equipment {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 28px;
    background: linear-gradient(to top, #306, #08010f);
    color: #fff;
}

.embroidery-page .emb-services__equipment-main {
    display: flex;
    flex: 1 1 0;
    gap: 40px;
    min-height: 0;
}

.embroidery-page .emb-services__equipment-copy {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
}

.embroidery-page .emb-services__equipment h2,
.embroidery-page .emb-services__other h2 {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    line-height: 32px;
}

.embroidery-page .emb-services__equipment h2 {
    color: #fff;
}

.embroidery-page .emb-services__equipment h2 span,
.embroidery-page .emb-services__other h2 span {
    display: block;
}

.embroidery-page .emb-services__equipment h2 span {
    width: max-content;
    max-width: 100%;
    background: linear-gradient(90deg, #ff5307, #49389a);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.embroidery-page .emb-services__equipment-copy p {
    margin: 16px 0 0;
    color: #f3f3f3;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

.embroidery-page .emb-services__equipment-copy button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 44px;
    padding: 0 20px;
    border: 0;
    border-radius: 3px;
    background: linear-gradient(to bottom, #f60, #a23c50);
    color: #fff;
    font: 700 14px/1 Arial, sans-serif;
    text-align: center;
    cursor: pointer;
    transition: filter .2s ease;
}

.embroidery-page .emb-services__equipment-copy button:hover,
.embroidery-page .emb-services__equipment-copy button:focus-visible {
    filter: brightness(1.1);
}

.embroidery-page .emb-services__machine {
    display: block;
    flex: 0 0 217px;
    width: 217px;
    min-height: 0;
    overflow: hidden;
    border-radius: 4px;
}

.embroidery-page .emb-services__machine img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 39% center;
}

.embroidery-page .emb-services__equipment-line {
    display: block;
    flex: 0 0 1px;
    width: 100%;
    height: 1px;
    object-fit: fill;
}

.embroidery-page .emb-services__benefits {
    display: flex;
    flex: 0 0 36px;
    gap: 16px;
    height: 36px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.embroidery-page .emb-services__benefits li {
    display: flex;
    flex: 1 1 0;
    align-items: center;
    gap: 11px;
    min-width: 0;
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    line-height: 14px;
}

.embroidery-page .emb-services__benefit-icon {
    display: flex;
    flex: 0 0 36px;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: .8px solid #f895ff;
    border-radius: 4px;
}

.embroidery-page .emb-services__benefit-icon img {
    display: block;
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.embroidery-page .emb-services__other {
    display: flex;
    gap: 24px;
    padding: 28px;
    background: #fff;
    box-shadow: 0 16px 32px rgba(13, 12, 26, .05);
}

.embroidery-page .emb-services__other-content {
    display: flex;
    flex: 0 0 296px;
    flex-direction: column;
    min-width: 0;
}

.embroidery-page .emb-services__other h2 {
    color: #306;
}

.embroidery-page .emb-services__other h2 span {
    color: #49389a;
}

.embroidery-page .emb-services__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.embroidery-page .emb-services__list li {
    position: relative;
    height: 36px;
}

.embroidery-page .emb-services__list li:not(:last-child)::after {
    position: absolute;
    right: 0;
    bottom: -4px;
    left: 0;
    height: 1px;
    background: url('../img/catalog/embroidery-services/line-list.svg') center / 100% 1px no-repeat;
    content: '';
}

.embroidery-page .emb-services__list a {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) 36px;
    align-items: center;
    column-gap: 12px;
    width: 100%;
    height: 36px;
    color: #49389a;
    font-size: 16px;
    font-weight: 700;
    line-height: 16px;
    text-decoration: none;
}

.embroidery-page .emb-services__list a:hover,
.embroidery-page .emb-services__list a:focus-visible {
    color: #ff5307;
}

.embroidery-page .emb-services__service-icon,
.embroidery-page .emb-services__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 4px;
}

.embroidery-page .emb-services__service-icon--patterns { background: #d9d9e3; }
.embroidery-page .emb-services__service-icon--printing { background: #ffd9df; }
.embroidery-page .emb-services__service-icon--embroidery { background: #e6f6ff; }
.embroidery-page .emb-services__service-icon--silkscreen { background: #fff3ad; }

.embroidery-page .emb-services__service-icon img {
    display: block;
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.embroidery-page .emb-services__arrow {
    background: #fff;
    box-shadow: 0 4px 4px rgba(0, 0, 0, .05);
}

.embroidery-page .emb-services__arrow img {
    display: block;
    width: 14px;
    height: 14px;
}

.embroidery-page .emb-services__more {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 50px;
    margin-top: auto;
    padding: 0 20px;
    border-radius: 3px;
    background: linear-gradient(to bottom, #49389a, #4f2791);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 50px;
    text-align: center;
    text-decoration: none;
    transition: filter .2s ease;
}

.embroidery-page .emb-services__more:hover,
.embroidery-page .emb-services__more:focus-visible {
    color: #fff;
    filter: brightness(1.1);
}

.embroidery-page .emb-services__workshop {
    display: block;
    flex: 1 1 0;
    min-width: 0;
    height: 100%;
    overflow: hidden;
    border-radius: 4px;
}

.embroidery-page .emb-services__workshop img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 1250px) and (min-width: 769px) {
    .embroidery-page .emb-services__equipment-main { gap: 20px; }
    .embroidery-page .emb-services__machine { flex-basis: 38%; width: 38%; }
    .embroidery-page .emb-services__other-content { flex: 0 0 56%; }
    .embroidery-page .emb-services__equipment h2,
    .embroidery-page .emb-services__other h2 { font-size: clamp(22px, 2.2vw, 28px); }
    .embroidery-page .emb-services__list a { font-size: 14px; }
}

@media (max-width: 768px) {
    .embroidery-page .emb-services {
        margin-bottom: 40px;
        padding: 40px 0;
    }
    .embroidery-page .emb-services__inner {
        display: flex;
        flex-direction: column;
        gap: 20px;
        width: calc(100% - 30px);
    }
    .embroidery-page .emb-services__equipment,
    .embroidery-page .emb-services__other {
        height: auto;
        padding: 24px;
    }
    .embroidery-page .emb-services__equipment { gap: 16px; }
    .embroidery-page .emb-services__equipment-main {
        display: flex;
        flex: none;
        flex-direction: column;
        gap: 32px;
    }
    .embroidery-page .emb-services__equipment-copy { flex: none; }
    .embroidery-page .emb-services__equipment-copy p { margin-top: 12px; }
    .embroidery-page .emb-services__equipment-copy button { margin-top: 20px; }
    .embroidery-page .emb-services__machine {
        flex: none;
        width: 100%;
        aspect-ratio: 282 / 385;
    }
    .embroidery-page .emb-services__benefits {
        flex: none;
        flex-direction: column;
        gap: 16px;
        height: auto;
    }
    .embroidery-page .emb-services__benefits li { flex: none; height: 36px; }
    .embroidery-page .emb-services__other { display: block; }
    .embroidery-page .emb-services__other-content { width: 100%; }
    .embroidery-page .emb-services__list { margin-top: 24px; }
    .embroidery-page .emb-services__more { margin-top: 24px; }
    .embroidery-page .emb-services__workshop { display: none; }
}
