/* TESTIMONIALS — homepage slick slider on a #989898 gradient */

.testimonials {
    --t-accent: #be8e59;
    --t-accent-hover: #957149;
    --t-ink: #151515;
    --t-muted: #989898;
    width: 100%;
    padding: 80px 0 50px 0;
    margin: 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(165deg, #d8d8d8 0%, #c4c4c4 48%, #b0b0b0 100%);
}

.testimonials::before,
.testimonials::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(21, 21, 21, 0.12);
    transform: rotate(45deg);
    pointer-events: none;
    z-index: 0;
}

.testimonials::before {
    width: 220px;
    height: 220px;
    top: 48px;
    right: 6%;
}

.testimonials::after {
    width: 140px;
    height: 140px;
    bottom: 56px;
    left: 4%;
}

@media screen and (max-width: 1080px) {
    .testimonials::before {
        width: 160px;
        height: 160px;
        top: 36px;
        right: 3%;
    }

    .testimonials::after {
        width: 110px;
        height: 110px;
        bottom: 40px;
        left: 2%;
    }
}

@media screen and (max-width: 767px) {
    .testimonials::before {
        width: 110px;
        height: 110px;
        top: 24px;
        right: -24px;
    }

    .testimonials::after {
        width: 80px;
        height: 80px;
        bottom: 24px;
        left: -16px;
    }
}

@media screen and (max-width: 1080px) {
    .testimonials {
        padding: 70px 0 40px 0;
    }
}

.testimonials_inner {
    width: min(1240px, calc(100% - 10%));
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

@media screen and (max-width: 1080px) {
    .testimonials_inner {
        width: min(1240px, calc(100% - 80px));
    }
}

@media screen and (max-width: 767px) {
    .testimonials_inner {
        width: calc(100% - 48px);
    }
}

@media screen and (max-width: 560px) {
    .testimonials_inner {
        width: calc(100% - 40px);
    }
}

@media screen and (max-width: 440px) {
    .testimonials_inner {
        width: calc(100% - 32px);
    }
}

.testimonials_intro {
    text-align: center;
    margin: 0 0 44px;
}

@media screen and (max-width: 767px) {
    .testimonials_intro {
        margin: 0 0 32px;
    }
}

.testimonials_label {
    margin: 0 0 12px;
    color: var(--t-ink);
    font-family: "Montserrat", "Lato", sans-serif;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.testimonials_heading {
    margin: 0;
    color: var(--t-ink);
    font-family: "Montserrat", "Lato", sans-serif;
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.15;
}

.testimonials_heading span {
    color: var(--t-accent);
}

@media screen and (max-width: 1080px) {
    .testimonials_heading {
        font-size: 2rem;
    }
}

@media screen and (max-width: 767px) {
    .testimonials_heading {
        font-size: 1.7rem;
    }
}

@media screen and (max-width: 440px) {
    .testimonials_heading {
        font-size: 1.38rem;
    }
}

.testimonials_slider {
    margin: 0 -12px -34px;
}

@media screen and (max-width: 767px) {
    .testimonials_slider {
        margin: 0 0 -34px;
    }
}

.testimonials_slider .slick-list {
    overflow: hidden;
    margin: -14px 0;
    padding: 14px 0;
}

.testimonials_slider .slick-track {
    display: flex !important;
    align-items: stretch;
}

.testimonials_slider .slick-slide {
    height: auto;
    display: flex !important;
    align-items: stretch;
}

.testimonials_slide {
    width: 100%;
    display: flex;
    padding: 0 12px;
    box-sizing: border-box;
}

@media screen and (max-width: 767px) {
    .testimonials_slide {
        padding: 0 4px;
    }
}

.testimonials_card {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 32px 28px 32px;
    background: var(--t-ink);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    position: relative;
    transform: translateY(0);
    transition:
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.3s ease;
}

.testimonials_card:hover {
    transform: translateY(-8px);
    border-color: rgba(190, 142, 89, 0.45);
}

@media screen and (max-width: 1080px) {
    .testimonials_card {
        padding: 28px 24px 28px;
    }
}

@media screen and (max-width: 767px) {
    .testimonials_card {
        padding: 26px 22px 26px;
    }
}

@media screen and (max-width: 440px) {
    .testimonials_card {
        padding: 24px 18px 24px;
    }
}

.testimonials_quote_mark {
    display: block;
    margin: 0 0 8px;
    color: var(--t-accent);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 0.9;
    opacity: 0.85;
}

@media screen and (max-width: 560px) {
    .testimonials_quote_mark {
        font-size: 2.2rem;
    }
}

.testimonials_quote {
    margin: 0 0 22px;
    color: #f3f4f6;
    font-family: "Lato", sans-serif;
    font-size: 0.9rem;
    font-style: italic;
    font-weight: 400;
    line-height: 1.65;
    flex: 1 1 auto;
}

@media screen and (max-width: 440px) {
    .testimonials_quote {
        font-size: 0.86rem;
        margin-bottom: 18px;
    }
}

.testimonials_person {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    margin-top: auto;
    padding-top: 4px;
    text-align: left;
}

.testimonials_avatar {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--t-accent);
    background: #1c1c1c;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--t-accent);
    font-family: "Montserrat", "Lato", sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

@media screen and (max-width: 440px) {
    .testimonials_avatar {
        width: 46px;
        height: 46px;
        flex-basis: 46px;
    }
}

.testimonials_avatar img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.testimonials_meta {
    min-width: 0;
}

.testimonials_name {
    margin: 0 0 3px;
    color: #ffffff;
    font-family: "Montserrat", "Lato", sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
}

.testimonials_extra {
    margin: 0;
    color: var(--t-accent);
    font-family: "Montserrat", "Lato", sans-serif;
    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.4;
}

.testimonials_slider .slick-prev,
.testimonials_slider .slick-next {
    width: 42px;
    height: 42px;
    padding: 0;
    margin: 0;
    background: var(--t-ink);
    border: none;
    border-radius: 0;
    box-shadow: none;
    z-index: 5;
    color: var(--t-accent);
    transition:
        transform 0.3s ease,
        color 0.3s ease,
        background 0.3s ease;
}

.testimonials_slider .slick-prev {
    left: -8px;
}

.testimonials_slider .slick-next {
    right: -8px;
}

.testimonials_slider .slick-prev:before,
.testimonials_slider .slick-next:before {
    content: none !important;
}

.testimonials_slider .slick-prev:hover,
.testimonials_slider .slick-next:hover,
.testimonials_slider .slick-prev:focus,
.testimonials_slider .slick-next:focus {
    background: var(--t-accent);
    color: #ffffff;
    transform: translate(0, -50%) scale(1.08);
    outline: none;
}

.testimonials_arrow_icon {
    width: 22px;
    height: 22px;
    display: block;
    margin: 0 auto;
    color: inherit;
    stroke: currentColor;
}

@media screen and (max-width: 1200px) {
    .testimonials_slider .slick-prev {
        left: -4px;
    }

    .testimonials_slider .slick-next {
        right: -4px;
    }
}

@media screen and (max-width: 1080px) {
    .testimonials_slider .slick-prev,
    .testimonials_slider .slick-next {
        width: 38px;
        height: 38px;
    }
}

@media screen and (max-width: 767px) {
    .testimonials_slider .slick-prev {
        left: -6px;
    }

    .testimonials_slider .slick-next {
        right: -6px;
    }
}

@media screen and (max-width: 560px) {
    .testimonials_slider .slick-prev,
    .testimonials_slider .slick-next {
        width: 32px;
        height: 32px;
    }

    .testimonials_arrow_icon {
        width: 18px;
        height: 18px;
    }
}

.testimonials_slider .slick-dots {
    position: relative;
    bottom: 0;
    margin: 22px 0 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.testimonials_slider .slick-dots li {
    width: auto;
    height: auto;
    margin: 0;
}

.testimonials_slider .slick-dots li button {
    width: 10px;
    height: 10px;
    padding: 0;
    background: rgba(21, 21, 21, 0.28);
    border-radius: 50%;
    font-size: 0;
    line-height: 0;
    overflow: hidden;
    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.testimonials_slider .slick-dots li button:before {
    content: none !important;
}

.testimonials_slider .slick-dots li.slick-active button {
    background: var(--t-accent);
    transform: scale(1.2);
}

@media (prefers-reduced-motion: reduce) {
    .testimonials_card,
    .testimonials_slider .slick-prev,
    .testimonials_slider .slick-next,
    .testimonials_slider .slick-dots li button {
        transition: none !important;
        transform: none !important;
    }
}
