.equipment_section {
    padding: 96px 0;
    background: #fff;
}

.equipment_layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
    gap: 72px;
    align-items: start;
}

.equipment_header {
    position: sticky;
    top: 72px;
    padding-top: 34px;
}

.equipment_label {
    margin: 0 0 22px;
    color: var(--service-orange);
    font-family: var(--font-inter);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
}

.equipment_title {
    max-width: 500px;
    margin: 0;
    color: #27272c;
    font-family: var(--font-aeonik);
    font-size: 38px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.2;
    text-wrap: pretty;
}

.equipment_body {
    max-width: 500px;
    margin: 24px 0 0;
    color: #686873;
    font-family: var(--font-aeonik);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 27px;
    text-wrap: pretty;
}

.equipment_body p {
    margin: 0;
}

.equipment_body p:last-child {
    margin-bottom: 0;
}

.equipment_stack {
    --stack-top: 152px;
    --stack-step: 18px;
    --last-card-top-radius: 0px;
    display: grid;
    overflow: clip;
    border-bottom-right-radius: 18px;
    border-bottom-left-radius: 18px;
}

.equipment_card {
    --equipment-card-image: linear-gradient(#27272c, #27272c);
    position: sticky;
    top: calc(var(--stack-top) + (var(--stack-index) * var(--stack-step)));
    display: grid;
    min-height: 168px;
    padding: 32px;
    background-image:
        linear-gradient(90deg, rgba(15, 15, 18, 0.88) 0%, rgba(15, 15, 18, 0.62) 46%, rgba(15, 15, 18, 0.08) 100%),
        var(--equipment-card-image);
    background-position: center;
    background-size: cover;
    overflow: hidden;
}

.equipment_card_overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(15, 15, 18, 0.08);
}

.equipment_card:first-child {
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
}

.equipment_card:last-child {
    border-top-left-radius: var(--last-card-top-radius);
    border-top-right-radius: var(--last-card-top-radius);
    border-bottom-right-radius: 18px;
    border-bottom-left-radius: 18px;
}

.equipment_card + .equipment_card {
    margin-top: -1px;
}

.equipment_card_marker {
    position: relative;
    z-index: 2;
    width: 32px;
    height: 32px;
    color: #fff;
}

.equipment_card_marker svg,
.equipment_card_marker img {
    display: block;
    width: 32px;
    height: 32px;
}

.equipment_card_marker svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.equipment_card_marker svg * {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.equipment_card_title {
    position: relative;
    z-index: 2;
    align-self: end;
    max-width: 460px;
    margin: 42px 0 0;
    color: #fff;
    font-family: var(--font-aeonik);
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.2;
    text-wrap: pretty;
}

@media (max-width: 1100px) {
    .equipment_section {
        padding: 72px 0;
    }

    .equipment_layout {
        display: block;
    }

    .equipment_header {
        position: static;
    }

    .equipment_card {
        position: static;
        top: auto;
    }

    .equipment_card_overlay {
        display: none;
        position: static;
    }

    .equipment_card_marker,
    .equipment_card_title {
        position: static;
        z-index: auto;
    }

    .equipment_header {
        margin-bottom: 40px;
    }

    .equipment_stack {
        display: flex;
        flex-direction: column;
        gap: 12px;
        overflow: visible;
        border-radius: 0;
    }

    .equipment_card,
    .equipment_card:first-child,
    .equipment_card:last-child {
        border-radius: 18px;
    }

    .equipment_card + .equipment_card {
        margin-top: 0;
    }

    .equipment_title {
        font-size: 28px;
    }
}

@media (max-width: 640px) {
    .equipment_section {
        padding: 56px 0;
    }

    .equipment_title {
        font-size: 2rem;
    }

    .equipment_card {
        min-height: 176px;
        padding: 24px;
        background-image:
            linear-gradient(90deg, rgba(15, 15, 18, 0.9) 0%, rgba(15, 15, 18, 0.68) 58%, rgba(15, 15, 18, 0.22) 100%),
            var(--equipment-card-image);
    }

    .equipment_card_title {
        max-width: 100%;
        margin-top: 36px;
        font-size: 1.25rem;
    }
}
