/* ═══════════════════════════════════════════════════════════
   Remote Hive — Portfolio Testimonials & Stats
   Dark background, 3 testimonial cards, 3 stat counters,
   decorative SVG arrow paths
   ═══════════════════════════════════════════════════════════ */

/* ── Custom Properties ── */
.rh-ptestimonials {
    --rh-ptestimonials-bg: #0f172a;
    --rh-ptestimonials-heading-clr: #ffffff;
    --rh-ptestimonials-card-bg: #1e293b;
    --rh-ptestimonials-card-footer-bg: #162033;
    --rh-ptestimonials-quote-clr: #e2e8f0;
    --rh-ptestimonials-name-clr: #f8fafc;
    --rh-ptestimonials-role-clr: #94a3b8;
    --rh-ptestimonials-stat-label-clr: #ffffff;
    --rh-ptestimonials-stat-number-clr: #4a90e2;
    --rh-ptestimonials-stat-desc-clr: #94a3b8;
    --rh-ptestimonials-svg-orange: #f97316;
    --rh-ptestimonials-svg-cyan: #06b6d4;
    --rh-ptestimonials-svg-white: rgba(255, 255, 255, 0.08);
}

/* ── Section ── */
.rh-ptestimonials {
    position: relative;
    background: var(--rh-ptestimonials-bg);
    padding: 80px 0 100px;
    overflow: hidden;
}

/* ── Container ── */
.rh-ptestimonials__container {
    position: relative;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
    z-index: 2;
}

/* ── Heading (H2) ── */
.rh-ptestimonials__heading {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--rh-ptestimonials-heading-clr);
    max-width: 600px;
    margin: 0;
}

/* ── Header row ── */
.rh-ptestimonials__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 48px;
}

/* ── Button ── */
.rh-ptestimonials__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    color: var(--rh-ptestimonials-heading-clr);
    text-decoration: none;
    padding: 12px 28px;
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.rh-ptestimonials__btn:hover,
.rh-ptestimonials__btn:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--rh-ptestimonials-heading-clr);
    text-decoration: none;
    transform: translateY(-2px);
}

.rh-ptestimonials__btn:active {
    transform: translateY(0);
}

.rh-ptestimonials__btn-arrow {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}

.rh-ptestimonials__btn:hover .rh-ptestimonials__btn-arrow {
    transform: translateX(3px);
}

/* ═══════════════════════════════════════════════════════════
   TESTIMONIAL CARDS
   ═══════════════════════════════════════════════════════════ */
.rh-ptestimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 80px;
}

.rh-ptestimonials__card {
    display: flex;
    flex-direction: column;
    background: var(--rh-ptestimonials-card-bg);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rh-ptestimonials__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

/* Card Body */
.rh-ptestimonials__card-body {
    flex: 1;
    padding: 24px 28px;
}

.rh-ptestimonials__quote {
    margin: 0;
}

.rh-ptestimonials__quote p {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--rh-ptestimonials-quote-clr);
    font-style: italic;
    margin: 0;
}

/* Card Footer */
.rh-ptestimonials__card-footer {
    background: var(--rh-ptestimonials-card-footer-bg);
    padding: 16px 28px;
}

.rh-ptestimonials__author {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0;
}

.rh-ptestimonials__avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.rh-ptestimonials__author-info {
    display: flex;
    flex-direction: column;
}

.rh-ptestimonials__author-name {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--rh-ptestimonials-name-clr);
    margin: 0;
}

.rh-ptestimonials__author-role {
    font-size: 13px;
    font-weight: 400;
    color: var(--rh-ptestimonials-role-clr);
    margin-top: 2px;
}

/* ═══════════════════════════════════════════════════════════
   STATS
   ═══════════════════════════════════════════════════════════ */
.rh-ptestimonials__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.rh-ptestimonials__stat {
    display: flex;
    flex-direction: column;
}

.rh-ptestimonials__stat-label {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--rh-ptestimonials-stat-label-clr);
    margin: 0 0 12px;
}

.rh-ptestimonials__stat-number {
    font-size: 56px;
    font-weight: 800;
    line-height: 1;
    color: var(--rh-ptestimonials-stat-number-clr);
    letter-spacing: -0.02em;
}

.rh-ptestimonials__stat-desc {
    font-size: 16px;
    font-weight: 400;
    color: var(--rh-ptestimonials-stat-desc-clr);
    margin-top: 8px;
}

/* ═══════════════════════════════════════════════════════════
   DECORATIVE SVG ARROWS
   ═══════════════════════════════════════════════════════════ */
.rh-ptestimonials__decor {
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 1;
    pointer-events: none;
    transform: translateX(80px);
}

.rh-ptestimonials__svg {
    width: 280px;
    height: auto;
}

.rh-ptestimonials__svg-path--orange {
    fill: var(--rh-ptestimonials-svg-orange);
}

.rh-ptestimonials__svg-path--cyan {
    fill: var(--rh-ptestimonials-svg-cyan);
}

.rh-ptestimonials__svg-path--white {
    fill: var(--rh-ptestimonials-svg-white);
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */

/* Laptop: 1024–1279 */
@media (max-width: 1279px) {
    .rh-ptestimonials {
        padding: 72px 0 88px;
    }

    .rh-ptestimonials__heading {
        font-size: 42px;
    }

    .rh-ptestimonials__stat-number {
        font-size: 48px;
    }

    .rh-ptestimonials__quote p {
        font-size: 17px;
    }

    .rh-ptestimonials__svg {
        width: 220px;
    }
}

/* Tablet: 768–1023 */
@media (max-width: 1023px) {
    .rh-ptestimonials {
        padding: 60px 0 72px;
    }

    .rh-ptestimonials__heading {
        font-size: 36px;
        margin-bottom: 0;
    }

    .rh-ptestimonials__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        margin-bottom: 36px;
    }

    .rh-ptestimonials__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-bottom: 64px;
    }

    /* Hide 3rd card on tablet, or show below */
    .rh-ptestimonials__card:nth-child(3) {
        grid-column: 1 / -1;
        max-width: 480px;
    }

    .rh-ptestimonials__stat-number {
        font-size: 42px;
    }

    .rh-ptestimonials__stat-label {
        font-size: 17px;
    }

    .rh-ptestimonials__author-name {
        font-size: 15px;
    }

    .rh-ptestimonials__svg {
        width: 180px;
    }
}

/* Mobile Large: 480–767 */
@media (max-width: 767px) {
    .rh-ptestimonials {
        padding: 48px 0 60px;
    }

    .rh-ptestimonials__heading {
        font-size: 30px;
        margin-bottom: 0;
        max-width: 100%;
    }

    .rh-ptestimonials__header {
        margin-bottom: 28px;
    }

    .rh-ptestimonials__btn {
        font-size: 15px;
        padding: 10px 22px;
    }

    .rh-ptestimonials__grid {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-bottom: 52px;
    }

    .rh-ptestimonials__card:nth-child(3) {
        max-width: 100%;
    }

    .rh-ptestimonials__card-body {
        padding: 20px 22px;
    }

    .rh-ptestimonials__quote p {
        font-size: 16px;
    }

    .rh-ptestimonials__card-footer {
        padding: 14px 22px;
    }

    .rh-ptestimonials__stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px 20px;
    }

    .rh-ptestimonials__stat-number {
        font-size: 36px;
    }

    .rh-ptestimonials__stat-label {
        font-size: 16px;
    }

    .rh-ptestimonials__stat-desc {
        font-size: 15px;
    }

    .rh-ptestimonials__svg {
        width: 140px;
    }
}

/* Mobile Small: below 480 */
@media (max-width: 479px) {
    .rh-ptestimonials {
        padding: 40px 0 48px;
    }

    .rh-ptestimonials__heading {
        font-size: 26px;
        margin-bottom: 0;
    }

    .rh-ptestimonials__header {
        margin-bottom: 24px;
    }

    .rh-ptestimonials__btn {
        font-size: 14px;
        padding: 10px 20px;
        width: 100%;
        justify-content: center;
    }

    .rh-ptestimonials__grid {
        margin-bottom: 40px;
    }

    .rh-ptestimonials__quote p {
        font-size: 15px;
    }

    .rh-ptestimonials__stats {
        grid-template-columns: 1fr 1fr;
        gap: 24px 16px;
    }

    .rh-ptestimonials__stat-number {
        font-size: 30px;
    }

    .rh-ptestimonials__stat-label {
        font-size: 16px;
    }

    .rh-ptestimonials__decor {
        display: none;
    }
}