.testimonials {
    background: var(--color-tan);
    position: relative;
}

.testimonials-bg {
    position: absolute;
    top: 0;
    left: 0;
    height: 260px;
    width: 100%;
}

.testimonials-bg::before {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    height: 75px;
    width: 100%;
    background: linear-gradient(to bottom,  rgba(247,241,233,0) 0%,rgba(247,241,233,1) 100%); 
}

.testimonials__wrap {
    position: relative;
    z-index: 2;
    padding-top: 160px;
}

.testimonials__text {
    position: relative;
}

.testimonials__text::before {
    content: "\e908";
    font-family: 'icomoon';
    position: absolute;
    top: 4px;
    left: -15px;
    font-size: 8px;
    color: var(--color-black);
}

.testimonials__content h2 {
    margin: 0;
    padding: 0;
    font-size: 40px;
    color: var(--color-white);
    line-height: 1em;
}

.testimonials__column {
    background: var(--color-white);
    box-shadow: 0 3px 15px rgba(0,0,0,0.16);
    padding: 25px 20px 36px 43px;
    margin-top: -6px;
}

.testimonials__column p {
    font-size: 17px;
    line-height: 1.58em;
    padding-bottom: 24px;
}

.testimonials__column p span {
    font-weight: 700;
    font-style: italic;
}

.testimonials__text__bottom {
    border-top: 1px solid #E2D4C3;
    padding-top: 24px;
}

.testimonials__stars {
    padding-bottom: 15px;
}

.testimonials__stars ul {
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.testimonials__stars ul li {
    margin: 0 8px 0 0;
    padding: 0;
    font-size: 19px;
    color: #BEA486;
}

.testimonials__stars ul li::before {
    display: none;
}

.testimonials__author {
    margin: 0;
    padding: 0;
    font-size: 16px;
    color: var(--color-black);
    line-height: 1em;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.testimonials__btn {
    text-align: center;
    margin-top: 26px;
}

@media (min-width: 768px) {
    .testimonials-bg {
        height: 470px;
    }
    
    .testimonials-bg::before {
        height: 281px;
    }
    
    .testimonials__wrap {
        padding-top: 189px;
    }
    
    .testimonials__text::before {
        top: -9px;
        left: -45px;
        font-size: 30px;
    }
    
    .testimonials__content h2 {
        font-size: 60px;
    }
    
    .testimonials__column {
        padding: 55px 58px 60px;
        margin-top: -10px;
        background: rgba(255,255,255,0.9);
    }
    
    .testimonials__column p {
        font-size: 20px;
        line-height: 1.63em;
        padding-bottom: 45px;
    }
    
    .testimonials__text__bottom {
        border-top: 1px solid #E2D4C3;
        padding-top: 24px;
    }

    .testimonials__text__bottom {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        padding-top: 40px;
    }
    
    .testimonials__stars {
        padding-bottom: 0;
    }
    
    .testimonials__stars ul {
        margin: 0;
        padding: 0;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }
    
    .testimonials__btn {
        text-align: right;
        margin: -26px 58px 0 0;
    }
}

@media (min-width: 1200px) {
    .testimonials-bg {
        height: 100%;
    }
    
    .testimonials-bg::before {
        display: none;
    }
    
    .testimonials__wrap {
        padding-top: 80px;
        padding-bottom: 80px;
        min-height: calc(80vh - 105px);
        display: flex;
    }

    .testimonials__wrap .container {
        display: flex;
        justify-content: flex-end;
        align-items: flex-end;
    }

    .testimonials__content {
        max-width: 724px;
        margin-left: auto;
    }
    
    .testimonials__text::before {
        top: -9px;
        left: -45px;
        font-size: 30px;
    }
    
    .testimonials__content h2 {
        font-size: 60px;
        transform: rotate(180deg) translate(-4px);
        writing-mode: vertical-lr;
        position: absolute;
        bottom: 88px;
        margin-left: -54px;
    }
    
    .testimonials__column {
        padding: 70px 94px 80px 108px;
        margin-top: 0;
    }
    
    .testimonials__column p {
        padding-bottom: 42px;
    }
    
    .testimonials__text__bottom {
        padding-top: 40px;
    }

    .testimonials__btn {
        text-align: right;
        margin: -26px 75px 0 0;
    }
}