/* garantii head */
.garantii-head {
    padding-bottom: 50px;
    max-width: 1217px;
}

.garantii-head .title-h1 {
    margin-bottom: 8px;
}

/* garantii commitments */
.garantii-commitments {
    background: #030612;
    border-bottom: 1px solid #0811310D;
    position: relative;
    overflow: hidden;
}

.garantii-commitments .container::before {
    content: '';
    background-image: url(/wp-content/themes/german/assets/images/garantii/commitments-bg-left.png);
    position: absolute;
    left: -7%;
    top: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    max-width: 790px;
    z-index: -1;
}

.garantii-commitments::after {
    content: url('/wp-content/themes/german/assets/images/garantii/commitments-bg-right.png');
    position: absolute;
    right: 0;
    top: -25px;
    z-index: 0;
}

.garantii-commitments-container {
    display: flex;
    align-items: center;
    gap: 0 87px;
}

.commitments-photo {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 50px 0;
    position: relative;
    max-width: 549px;
    width: 100%;
}

.commitments-photo-left {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.commitments-photo-left img:nth-child(1) {
    border-radius: 20px;
    padding: 4px;
    border: 2px solid #346AFE;
    max-width: 241px;
    width: 100%;
    height: 303px;
    object-fit: cover;
}

.commitments-photo-left img:nth-child(2) {
    border-radius: 20px;
    padding: 4px;
    border: 2px solid #46DEB4;
    max-width: 241px;
    width: 100%;
    height: 190px;
    object-fit: cover;
}

.commitments-photo-right img { 
    border-radius: 20px;
    padding: 4px;
    border: 2px solid #46DEB4;
    max-width: 292px;
    width: 100%;
    height: 386px;
    object-fit: cover;
}

.commitments-content .title-h1 {
    max-width: max-content;
    background: linear-gradient(96.92deg, #FFFFFF 27.04%, rgba(52, 106, 254, 0.8) 76.41%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #346AFECC;
    margin-bottom: 24px;
}

.commitments-content {
    max-width: 709px;
    width: 100%;
    padding: 25px 0;
}

.garantii-text p:not(:last-of-type) {
    margin-bottom: 16px;
}

/* warranty period */
.warranty-period {
    padding: 50px 0 50px 160px;
    max-width: 1050px;
}

.warranty-period .title-h1 {
    margin-bottom: 24px;
}

.garantii-btn {
    margin-top: 32px;
}

.garantii-plate-wrap {
    padding: 50px 0;
}

.garantii-plate {
background: linear-gradient(125.65deg, rgba(70, 222, 180, 0.3) 20.89%, rgba(52, 106, 254, 0.3) 79.11%);
    box-shadow: 0px 4px 42px 0px #0000001A;
    border-radius: 32px;
    padding: 24px 300px 24px 24px;
    position: relative;
}

.garantii-plate::before {
    content: "";
    position: absolute;
    width: 430px;
    height: 380px;
    top: -220px;
    right: -80px;
    background-size: cover;
    background-position: center;
    background-image: url(/wp-content/themes/german/assets/images/garantii/garantii-circle.png);
    z-index: 0;
}

.garantii-plate-title {
    font-family: "Evolventa", sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: normal;
    color: #000000;
    margin-bottom: 24px;
}

.garantii-plate-list {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.garantii-plate li {
    font-family: "Manrope", sans-serif;
    font-size: 18px;
    line-height: normal;
    color: #081131;
    position: relative;
    padding-left: 36px;
}

.garantii-plate li::before {
    position: absolute;
    width: 45px;
    height: 45px;
    content: "";
    left: -16px;
    top: -3px;
    background-position: center;
    background-size: cover;
    background-image: url(/wp-content/themes/german/assets/images/garantii/garantii-repeater-checkbox.png);
}

@media (max-width: 991px) {
    .garantii-commitments-container {
        gap: 0 20px;
    }
    .warranty-period {
        padding: 50px 0;
    }
    .garantii-plate {
        padding-right: 200px;
    }
    .garantii-plate::before {
        width: 280px;
        height: 240px;
        top: -120px;
        right: -50px;
    }
}

@media (max-width: 767px) {
    .garantii-text p:not(:last-of-type) {
        margin-bottom: 8px;
    }
    .garantii-head {
        padding-bottom: 25px;
    }
    .garantii-head .title-h1 {
        margin-bottom: 16px;
    }
    .garantii-commitments-container {
        flex-direction: column-reverse;
    }
    .commitments-content .title-h1 {
        margin-bottom: 16px;
    }
    .commitments-photo {
        padding: 0 0 25px 0;
    }
    .garantii-commitments::after {
        right: -120%;
        top: -7%;
    }
    .garantii-commitments .container::before {
        left: 0;
    }
    .warranty-period,
    .garantii-plate-wrap {
        padding: 25px 0;
    }
    .warranty-period .title-h1 {
        margin-bottom: 16px;
    }
    .garantii-btn {
        margin-top: 16px;
    }
    .garantii-plate {
        padding: 16px;
        margin: 0 -12px;
    }
    .garantii-plate::before {
        content: unset;
    }
    .garantii-plate-title {
        font-size: 16px;
        line-height: 24px;
    }
    .garantii-plate li {
        font-size: 14px;
        line-height: 24px;
    }
}

@media (max-width: 480px) {
    .commitments-photo {
        align-items: unset;
        justify-content: center;
    }
    .commitments-photo,
    .commitments-photo-left {
        gap: 10px;
    }
    .commitments-photo-left img:nth-child(1) {
        max-width: 182px;
        height: 229px;
    }
    .commitments-photo-left img:nth-child(2) {
        max-width: 182px;
        height: 138px;
    }
    .commitments-photo-right img {
        margin-top: 41px;
        max-width: 176px;
        height: 226px;
    }
    .garantii-commitments .container::before {
        opacity: 0.4;
    }
}