.cp-testimonials {
    --cp-testimonials-blue: #0758b8;
    --cp-testimonials-blue-dark: #083b78;
    --cp-testimonials-blue-deep: #052d62;
    --cp-testimonials-gold: #c69a3b;
    --cp-testimonials-gold-light: #f0d28e;
    position: relative;
    left: 50%;
    width: 100vw;
    max-width: none;
    overflow: hidden;
    margin: 0 0 0 -50vw;
    padding: clamp(68px, 8vw, 108px) clamp(16px, 5vw, 72px);
    background:
        radial-gradient(circle at 12% 18%, rgba(198,154,59,.13), transparent 28%),
        radial-gradient(circle at 90% 84%, rgba(7,88,184,.11), transparent 32%),
        linear-gradient(180deg, #f8fbff 0%, #fff 58%, #f7f1e4 100%);
    color: #17344f;
    box-sizing: border-box;
}
.cp-testimonials *,
.cp-testimonials *::before,
.cp-testimonials *::after { box-sizing: border-box; }
.cp-testimonials::before {
    position: absolute;
    top: 42px;
    right: clamp(20px, 7vw, 110px);
    color: rgba(7,88,184,.055);
    content: "“";
    font-family: Georgia, serif;
    font-size: clamp(180px, 26vw, 350px);
    font-weight: 900;
    line-height: .7;
    pointer-events: none;
}
.cp-testimonials__inner {
    position: relative;
    width: min(1180px, 100%);
    margin-inline: auto;
}
.cp-testimonials__heading {
    max-width: 780px;
    margin: 0 auto clamp(38px, 5vw, 60px);
    text-align: center;
}
.cp-testimonials__heading p,
.cp-testimonials__heading h2,
.cp-testimonials__heading span { margin: 0; }
.cp-testimonials__heading p {
    color: #a47722;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .18em;
    text-transform: uppercase;
}
.cp-testimonials__heading h2 {
    margin-top: 11px;
    color: var(--cp-testimonials-blue-dark);
    font-size: clamp(31px, 5vw, 52px);
    letter-spacing: -.035em;
    line-height: 1.08;
}
.cp-testimonials__heading span {
    display: block;
    max-width: 650px;
    margin: 17px auto 0;
    color: #607287;
    font-size: 17px;
    line-height: 1.65;
}
.cp-testimonials__card {
    position: relative;
    display: flex;
    min-width: 0;
    overflow: hidden;
    flex-direction: column;
    margin: 0;
    border: 1px solid #d9e5f2;
    border-top: 4px solid var(--cp-testimonials-gold);
    border-radius: 21px;
    background: #fff;
    box-shadow: 0 20px 52px rgba(8,59,120,.12);
    transition: transform .22s ease, box-shadow .22s ease;
}
.cp-testimonials__card:hover {
    box-shadow: 0 27px 62px rgba(8,59,120,.17);
    transform: translateY(-5px);
}
.cp-testimonials__media {
    position: relative;
    display: grid;
    min-height: 218px;
    overflow: hidden;
    place-items: center;
    background: linear-gradient(145deg, var(--cp-testimonials-blue-deep), var(--cp-testimonials-blue));
}
.cp-testimonials__media > img {
    display: block;
    width: 100%;
    height: 238px;
    object-fit: cover;
    object-position: center top;
}
.cp-testimonials__media--video {
    min-height: 0;
    aspect-ratio: 16 / 10;
    background: #061d3c;
}
.cp-testimonials__media--video > .wp-video,
.cp-testimonials__media--video > .wp-video .mejs-container,
.cp-testimonials__media--video > iframe,
.cp-testimonials__media--video > video {
    width: 100% !important;
    height: 100% !important;
}
.cp-testimonials__media--video > iframe,
.cp-testimonials__media--video > video { border: 0; object-fit: cover; }
.cp-testimonials__result {
    position: absolute;
    right: 14px;
    bottom: 13px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 11px;
    border: 1px solid rgba(255,255,255,.48);
    border-radius: 999px;
    background: rgba(5,45,98,.9);
    box-shadow: 0 6px 18px rgba(0,0,0,.2);
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.cp-testimonials__ribbon {
    position: absolute;
    top: 28px;
    left: -67px;
    z-index: 5;
    display: block;
    width: 245px;
    overflow: hidden;
    padding: 9px 44px;
    border-top: 1px solid rgba(255,255,255,.72);
    border-bottom: 1px solid rgba(116,83,19,.35);
    background: linear-gradient(90deg, #b98220, #f1d483 48%, #c89631);
    box-shadow: 0 6px 18px rgba(0,0,0,.28);
    color: #17375f;
    font-size: 10px;
    font-weight: 950;
    letter-spacing: .025em;
    line-height: 1.2;
    text-align: center;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
    transform: rotate(-37deg);
}
.cp-testimonials__placeholder {
    display: grid;
    width: 104px;
    height: 104px;
    place-items: center;
    border: 2px solid var(--cp-testimonials-gold-light);
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    color: #fff;
    font-family: Georgia, serif;
    font-size: 56px;
    font-weight: 800;
}
.cp-testimonials__video-link {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    padding: 10px 18px;
    border: 1px solid var(--cp-testimonials-gold-light);
    border-radius: 999px;
    color: #fff !important;
    font-weight: 800;
    text-decoration: none !important;
}
.cp-testimonials__body {
    position: relative;
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 31px 27px 25px;
}
.cp-testimonials__quote-mark {
    position: absolute;
    top: 14px;
    right: 22px;
    color: rgba(198,154,59,.2);
    font-family: Georgia, serif;
    font-size: 76px;
    font-weight: 900;
    line-height: 1;
}
.cp-testimonials__body blockquote {
    position: relative;
    z-index: 1;
    flex: 1;
    margin: 0 0 26px;
    padding: 0;
    border: 0;
    color: #50647a;
    font-size: 15px;
    font-style: normal;
    line-height: 1.72;
}
.cp-testimonials__body blockquote p { margin: 0 0 12px; }
.cp-testimonials__body blockquote p:last-child { margin-bottom: 0; }
.cp-testimonials__highlight {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 11px;
    margin: -4px 0 22px;
    padding: 11px 13px;
    border: 1px solid #ead497;
    border-left: 4px solid var(--cp-testimonials-gold);
    border-radius: 11px;
    background: linear-gradient(105deg, #fff9e9, #f7fbff);
    color: var(--cp-testimonials-blue-dark);
}
.cp-testimonials__highlight > span {
    display: grid;
    flex: 0 0 31px;
    width: 31px;
    height: 31px;
    place-items: center;
    border-radius: 50%;
    background: var(--cp-testimonials-blue-dark);
    color: #f2d17c;
    font-size: 15px;
}
.cp-testimonials__highlight > div { min-width: 0; }
.cp-testimonials__highlight small,
.cp-testimonials__highlight strong { display: block; }
.cp-testimonials__highlight small {
    color: #9a7020;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .08em;
    line-height: 1.2;
    text-transform: uppercase;
}
.cp-testimonials__highlight strong {
    margin-top: 3px;
    color: var(--cp-testimonials-blue-dark);
    font-size: 13px;
    line-height: 1.35;
}
.cp-testimonials__body footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    padding-top: 18px;
    border-top: 1px solid #e1e9f2;
}
.cp-testimonials__body footer > div { min-width: 0; }
.cp-testimonials__body footer strong,
.cp-testimonials__body footer > div > span { display: block; }
.cp-testimonials__body footer strong {
    color: var(--cp-testimonials-blue-dark);
    font-size: 17px;
    line-height: 1.25;
}
.cp-testimonials__body footer > div > span {
    margin-top: 5px;
    color: #718298;
    font-size: 12px;
    line-height: 1.4;
}
.cp-testimonials__score {
    display: grid;
    min-width: 76px;
    padding: 7px 10px;
    place-items: center;
    border: 1px solid #ddc27e;
    border-radius: 12px;
    background: #fff8e8;
    color: #745313;
}
.cp-testimonials__score small {
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .04em;
    line-height: 1.2;
    text-transform: uppercase;
}
.cp-testimonials__score b { margin-top: 2px; font-size: 20px; line-height: 1; }

.cp-testimonials__body blockquote.is-collapsed {
    position: relative;
    max-height: 8.6em;
    overflow: hidden;
}
.cp-testimonials__body blockquote.is-collapsed::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2.8em;
    background: linear-gradient(180deg, rgba(255,255,255,0), #fff 88%);
    content: "";
    pointer-events: none;
}
.cp-testimonials__read-more {
    align-self: flex-start;
    min-height: 38px;
    margin: -17px 0 22px;
    padding: 7px 10px;
    border: 0;
    border-radius: 9px;
    color: var(--cp-testimonials-blue-dark);
    background: #eef5fd;
    font: inherit;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
}
.cp-testimonials__read-more:hover {
    color: #fff;
    background: var(--cp-testimonials-blue);
}
.cp-testimonials__read-more:focus-visible,
.cp-testimonials__slider-controls button:focus-visible {
    outline: 3px solid rgba(198,154,59,.42);
    outline-offset: 3px;
}
.cp-testimonials__slider {
    min-width: 0;
}
.cp-testimonials__viewport {
    overflow: hidden;
    padding: 5px 2px 22px;
}
.cp-testimonials__track {
    display: flex;
    gap: 18px;
    align-items: stretch;
    transform: translate3d(0,0,0);
    transition: transform .46s cubic-bezier(.22,.75,.25,1);
    will-change: transform;
}
.cp-testimonials__slider-controls {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    flex: 0 0 auto;
}
.cp-testimonials__slider-controls[hidden] {
    display: none;
}
.cp-testimonials__slider-controls button {
    display: grid;
    width: 42px;
    height: 42px;
    min-height: 42px;
    padding: 0;
    place-items: center;
    border: 1px solid #bed0e5;
    border-radius: 50%;
    color: var(--cp-testimonials-blue-dark);
    background: #fff;
    font: inherit;
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
}
.cp-testimonials__slider-controls button:hover {
    border-color: var(--cp-testimonials-blue);
    color: #fff;
    background: var(--cp-testimonials-blue);
}
.cp-testimonials__slider-controls > span {
    min-width: 58px;
    color: #677a90;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
}

/* v0.37.3 · Carrusel único de opiniones medianas */
.cp-testimonials__carousel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}
.cp-testimonials__carousel-heading > span {
    color: #6b7d92;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .025em;
}
.cp-testimonials__card--slide {
    flex: 0 0 calc((100% - 36px) / 3);
    border-top-width: 3px;
    border-radius: 18px;
    box-shadow: 0 16px 38px rgba(8,59,120,.1);
}
.cp-testimonials__card--slide .cp-testimonials__media {
    min-height: 178px;
}
.cp-testimonials__card--slide .cp-testimonials__media > img {
    height: 196px;
}
.cp-testimonials__card--slide .cp-testimonials__body {
    padding: 25px 21px 21px;
}
.cp-testimonials__card--slide .cp-testimonials__body blockquote {
    margin-bottom: 21px;
    font-size: 14px;
    line-height: 1.65;
}
.cp-testimonials__card--slide .cp-testimonials__body blockquote.is-collapsed {
    max-height: 8.25em;
}
.cp-testimonials__card--slide .cp-testimonials__body footer {
    align-items: center;
}
.cp-testimonials__card--slide .cp-testimonials__body footer strong {
    font-size: 15px;
}
.cp-testimonials__card--slide .cp-testimonials__score {
    min-width: 69px;
}
@media (max-width: 960px) {
    .cp-testimonials__card--slide {
        flex-basis: calc((100% - 18px) / 2);
    }
}
@media (max-width: 680px) {
    .cp-testimonials { padding: 62px 14px 68px; }
    .cp-testimonials::before { top: 30px; right: -18px; font-size: 190px; }
    .cp-testimonials__heading { margin-bottom: 34px; }
    .cp-testimonials__heading h2 { font-size: clamp(29px, 8.5vw, 38px); }
    .cp-testimonials__heading span { margin-top: 14px; font-size: 15px; line-height: 1.55; }
    .cp-testimonials__card { width: 100%; border-radius: 18px; }
    .cp-testimonials__card:hover { transform: none; }
    .cp-testimonials__media > img { height: min(76vw, 310px); }
    .cp-testimonials__body { padding: 27px 21px 22px; }
    .cp-testimonials__body footer { align-items: center; }
    .cp-testimonials__card--slide {
        flex-basis: 100%;
    }
    .cp-testimonials__card--slide .cp-testimonials__media > img {
        height: min(68vw, 285px);
    }
    .cp-testimonials__carousel-heading {
        align-items: flex-start;
        flex-direction: column;
    }
    .cp-testimonials__slider-controls {
        align-self: flex-end;
    }
}
@media (prefers-reduced-motion: reduce) {
    .cp-testimonials__card,
    .cp-testimonials__track { transition: none; }
}
