.heevan-testimonials {
    position: relative;
    overflow: hidden;
    padding: 66px 0 58px;
    background: #fbf6ee;
    font-family: var(--body-font), Helvetica, Arial, sans-serif;
}

.heevan-testimonials::before,
.heevan-testimonials::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.heevan-testimonials::before {
    width: 1180px;
    height: 520px;
    left: -140px;
    top: 50px;
    border: 1px solid rgba(192, 127, 52, 0.16);
    border-radius: 50%;
    transform: rotate(-17deg);
}

.heevan-testimonials::after {
    width: 150px;
    height: 150px;
    right: 7%;
    top: 174px;
    opacity: 0.36;
    background-image: radial-gradient(rgba(31, 32, 30, 0.14) 2px, transparent 2px);
    background-size: 18px 18px;
}

.heevan-testimonials .container {
    position: relative;
    z-index: 1;
}

.heevan-testimonials__shell {
    max-width: 1180px;
    margin: 0 auto;
}

.heevan-testimonials__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 34px;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.heevan-testimonials.is-visible .heevan-testimonials__header {
    opacity: 1;
    transform: translateY(0);
}

.heevan-testimonials__copy h2,
.heevan-testimonials h2 {
    margin: 0;
    color: #18313b;
    font-family: var(--title-font), Georgia, "Times New Roman", serif;
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 400;
    line-height: 1.12;
    letter-spacing: 0;
}

.heevan-testimonials__copy p {
    max-width: 560px;
    margin: 10px 0 0;
    color: rgba(24, 49, 59, 0.68);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.65;
}

.heevan-testimonials__actions {
    display: flex;
    justify-content: flex-end;
    padding-top: 14px;
}

.heevan-testimonials__google:hover,
.heevan-testimonials__google:focus-visible {
    border-color: rgba(var(--primary-color-rgb, 163, 59, 39), 0.55);
    background: #fff;
    color: var(--primary-color, #a33b27);
    transform: translateY(-1px);
}

.heevan-testimonials__google {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 18px;
    border: 1px solid rgba(24, 49, 59, 0.18);
    border-radius: 5px;
    background: var(--primary-color, #a33b27);
    color: #fff;
    font-family: var(--body-font), Helvetica, Arial, sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    transition: border-color 0.22s ease, color 0.22s ease, transform 0.22s ease, background-color 0.22s ease;
}

.heevan-testimonials__google i {
    font-size: 12px;
}

.heevan-testimonials__stage {
    position: relative;
    min-width: 0;
    padding: 0 46px;
}

.heevan-testimonials__side-arrow {
    width: 34px;
    height: 34px;
    position: absolute;
    top: 50%;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(24, 49, 59, 0.22);
    border-radius: 5px;
    background: #fffdf9;
    color: var(--primary-color, #a33b27);
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(24, 49, 59, 0.08);
    transform: translateY(-50%);
    transition: border-color 0.22s ease, color 0.22s ease, transform 0.22s ease, background-color 0.22s ease;
}

.heevan-testimonials__side-arrow--prev {
    left: 0;
}

.heevan-testimonials__side-arrow--next {
    right: 0;
}

.heevan-testimonials__side-arrow:hover,
.heevan-testimonials__side-arrow:focus-visible {
    border-color: rgba(var(--primary-color-rgb, 163, 59, 39), 0.55);
    background: #fff;
    color: #a4dd35;
    transform: translateY(-50%) scale(1.04);
}

.heevan-testimonials__side-arrow i {
    font-size: 12px;
}

.heevan-testimonials__viewport {
    overflow: hidden;
    padding: 0 2px 2px;
}

.heevan-testimonials__track {
    --testimonial-gap: 28px;
    display: flex;
    gap: var(--testimonial-gap);
    will-change: transform;
    transition: transform 0.62s cubic-bezier(0.22, 0.7, 0.2, 1);
}

.heevan-testimonials__card {
    position: relative;
    overflow: hidden;
    flex: 0 0 calc((100% - 56px) / 3);
    height: 216px;
    min-height: 216px;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    align-content: start;
    gap: 14px;
    padding: 24px 26px;
    border: 1px solid rgba(164, 64, 43, 0.12);
    border-top: 3px solid rgba(164, 64, 43, 0.72);
    border-radius: 5px;
    background: linear-gradient(180deg, #fff 0%, #fffbf6 100%);
    color: #18313b;
    box-shadow: 0 10px 24px rgba(24, 49, 59, 0.07);
    transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease, background-color 0.26s ease;
}

.heevan-testimonials__card::before {
    content: "\201C";
    position: absolute;
    right: 22px;
    bottom: -32px;
    color: rgba(164, 64, 43, 0.06);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 136px;
    font-weight: 700;
    line-height: 1;
}

.heevan-testimonials__card.is-active,
.heevan-testimonials__card:hover,
.heevan-testimonials__card:focus-within {
    transform: translateY(-5px);
    border-color: rgba(var(--primary-color-rgb, 163, 59, 39), 0.28);
    box-shadow: 0 18px 34px rgba(24, 49, 59, 0.11);
}

.heevan-testimonials__card-footer {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 4px;
}

.heevan-testimonials__card-footer strong {
    display: block;
    color: #2a4650;
    font-family: var(--title-font), Georgia, "Times New Roman", serif;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.1;
}

.heevan-testimonials__stars {
    display: inline-flex;
    flex: 0 0 auto;
    gap: 3px;
    color: #c8841f;
    font-size: 13px;
    line-height: 1;
    padding-top: 3px;
}

.heevan-testimonials__source {
    position: relative;
    z-index: 1;
    color: rgba(42, 70, 80, 0.56);
    font-size: 10px;
    font-style: normal;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.3;
    text-decoration: none;
    text-transform: uppercase;
}

a.heevan-testimonials__source:hover,
a.heevan-testimonials__source:focus-visible {
    color: var(--primary-color, #a33b27);
}

.heevan-testimonials__card-actions {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    align-self: end;
}

.heevan-testimonials__read-more {
    flex: 0 0 auto;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--primary-color, #a33b27);
    cursor: pointer;
    font-family: var(--body-font), Helvetica, Arial, sans-serif;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    text-transform: uppercase;
}

.heevan-testimonials__read-more[hidden] {
    display: none !important;
}

.heevan-testimonials__read-more:hover,
.heevan-testimonials__read-more:focus-visible {
    color: #18313b;
}

.heevan-testimonials__card p {
    position: relative;
    z-index: 1;
    max-width: 96%;
    margin: 0;
    color: rgba(42, 70, 80, 0.72);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.heevan-testimonials__modal {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
}

.heevan-testimonials__modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.heevan-testimonials__modal[hidden] {
    display: none !important;
}

.heevan-testimonials__modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(20, 28, 32, 0.58);
    backdrop-filter: blur(4px);
}

.heevan-testimonials__modal-dialog {
    position: relative;
    z-index: 1;
    width: min(640px, 100%);
    max-height: min(78vh, 620px);
    overflow: auto;
    padding: 34px 36px 32px;
    border: 1px solid rgba(164, 64, 43, 0.18);
    border-top: 4px solid rgba(164, 64, 43, 0.82);
    border-radius: 5px;
    background: linear-gradient(180deg, #fff 0%, #fffbf6 100%);
    box-shadow: 0 28px 70px rgba(10, 18, 24, 0.28);
    color: #18313b;
    transform: translateY(10px) scale(0.98);
    transition: transform 0.22s ease;
}

.heevan-testimonials__modal.is-open .heevan-testimonials__modal-dialog {
    transform: translateY(0) scale(1);
}

.heevan-testimonials__modal-close {
    width: 34px;
    height: 34px;
    position: absolute;
    top: 18px;
    right: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(24, 49, 59, 0.18);
    border-radius: 5px;
    background: #fff;
    color: var(--primary-color, #a33b27);
    cursor: pointer;
}

.heevan-testimonials__modal-close:hover,
.heevan-testimonials__modal-close:focus-visible {
    border-color: rgba(var(--primary-color-rgb, 163, 59, 39), 0.45);
    color: #18313b;
}

.heevan-testimonials__modal-kicker,
.heevan-testimonials__modal-source {
    display: inline-flex;
    color: rgba(42, 70, 80, 0.56);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.3;
    text-decoration: none;
    text-transform: uppercase;
}

.heevan-testimonials__modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-top: 12px;
}

.heevan-testimonials__modal h3 {
    max-width: calc(100% - 132px);
    margin: 0;
    color: #2a4650;
    font-family: var(--title-font), Georgia, "Times New Roman", serif;
    font-size: 30px;
    font-weight: 400;
    line-height: 1.16;
}

.heevan-testimonials__modal p {
    margin: 22px 0 18px;
    color: rgba(42, 70, 80, 0.78);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.8;
    letter-spacing: 0;
}

.heevan-testimonials__modal-source:hover,
.heevan-testimonials__modal-source:focus-visible {
    color: var(--primary-color, #a33b27);
}

.heevan-testimonials__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 14px;
}

.heevan-testimonials__dots {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.heevan-testimonials__dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(164, 221, 53, 0.28);
    cursor: pointer;
    transition: background-color 0.22s ease, transform 0.22s ease;
}

.heevan-testimonials__dot.is-active {
    background: #a4dd35;
    transform: scale(1.12);
}

.heevan-testimonials__dot[hidden] {
    display: none;
}

@media (max-width: 991px) {
    .heevan-testimonials {
        padding: 54px 0;
    }

    .heevan-testimonials__header {
        align-items: flex-start;
        margin-bottom: 28px;
    }

    .heevan-testimonials__track {
        --testimonial-gap: 18px;
    }

    .heevan-testimonials__card {
        flex-basis: calc((100% - 18px) / 2);
    }
}

@media (max-width: 767px) {
    .heevan-testimonials {
        padding: 42px 0;
    }

    .heevan-testimonials::before {
        width: 720px;
        height: 340px;
        left: -220px;
        top: 90px;
    }

    .heevan-testimonials::after {
        display: none;
    }

    .heevan-testimonials__header {
        display: grid;
        gap: 18px;
    }

    .heevan-testimonials__copy h2,
    .heevan-testimonials h2 {
        font-size: 27px;
    }

    .heevan-testimonials__copy p {
        font-size: 14px;
    }

    .heevan-testimonials__actions {
        padding-top: 0;
        justify-content: flex-start;
    }

    .heevan-testimonials__stage {
        padding: 0 34px;
    }

    .heevan-testimonials__side-arrow {
        width: 28px;
        height: 28px;
    }

    .heevan-testimonials__card {
        flex-basis: 100%;
        height: 210px;
        min-height: 210px;
        padding: 22px;
    }

    .heevan-testimonials__card-actions {
        gap: 10px;
    }

    .heevan-testimonials__read-more {
        font-size: 10px;
    }

    .heevan-testimonials__modal {
        padding: 18px;
    }

    .heevan-testimonials__modal-dialog {
        max-height: 82vh;
        padding: 30px 24px 26px;
    }

    .heevan-testimonials__modal-header {
        display: grid;
        gap: 12px;
    }

    .heevan-testimonials__modal h3 {
        max-width: 100%;
        font-size: 26px;
    }

    .heevan-testimonials__modal p {
        font-size: 14px;
        line-height: 1.75;
    }
}

@media (prefers-reduced-motion: reduce) {
    .heevan-testimonials__header,
    .heevan-testimonials__track,
    .heevan-testimonials__card,
    .heevan-testimonials__side-arrow,
    .heevan-testimonials__dot,
    .heevan-testimonials__modal,
    .heevan-testimonials__modal-dialog {
        transition: none !important;
    }
}
