/* File: wp-content/themes/log-core/assets/css/log-testimonials.css */
/* Hooks: wp_enqueue_style */
/* Dependencies: design-tokens.css */

/* ── SHARED ── */
.log-test-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--plum-700);
    margin-bottom: 16px;
}

.log-test-eyebrow::before {
    content: '';
    width: 22px;
    height: 2px;
    background: var(--sage-600);
    display: inline-block;
}

.log-test-eyebrow.log-test-center {
    display: flex;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
}

.log-test-eyebrow.log-test-center::before {
    display: none;
}

.log-test-eyebrow.log-test-on-deep {
    color: var(--sage-400);
}

.log-test-eyebrow.log-test-on-deep::before {
    background: var(--sage-400);
}

h2.log-test-headline {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(28px, 3.6vw, 44px);
    line-height: 1.14;
    color: var(--ink-900);
}

h2.log-test-headline em {
    font-style: italic;
    font-weight: 600;
    color: var(--plum-700);
}

h2.log-test-headline.log-test-on-deep {
    color: #fff;
}

h2.log-test-headline.log-test-on-deep em {
    color: var(--sage-400);
}

.log-test-sub {
    color: var(--gray-600);
    font-size: 15px;
    margin-top: 12px;
    max-width: 580px;
    line-height: 1.72;
}

.log-test-sub.log-test-on-deep {
    color: rgba(255, 255, 255, .6);
}

.log-test-reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .65s var(--ease), transform .65s var(--ease);
}

.log-test-reveal.log-test-in {
    opacity: 1;
    transform: translateY(0);
}

.log-test-btn-sage {
    background: var(--sage-500);
    color: var(--plum-950);
    font-weight: 700;
    font-size: 13px;
    padding: 13px 26px;
    border-radius: var(--r-pill);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all .25s var(--ease);
    border: none;
    cursor: pointer;
}

.log-test-btn-sage:hover {
    background: var(--sage-400);
    box-shadow: 0 12px 28px rgba(29, 219, 149, .3);
    transform: translateY(-1px);
}

.log-test-btn-outline-plum {
    border: 1.5px solid var(--plum-700);
    color: var(--plum-700);
    font-weight: 700;
    font-size: 13px;
    padding: 13px 26px;
    border-radius: var(--r-pill);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all .25s var(--ease);
}

.log-test-btn-outline-plum:hover {
    background: var(--plum-700);
    color: #fff;
}

.log-test-btn-outline-white {
    border: 1.4px solid rgba(255, 255, 255, .5);
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    padding: 13px 26px;
    border-radius: var(--r-pill);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all .25s;
}

.log-test-btn-outline-white:hover {
    background: rgba(255, 255, 255, .1);
}

/* ── HERO ── */
.log-test-hero-section {
    background: linear-gradient(155deg, var(--plum-950) 0%, var(--plum-800) 60%, var(--plum-700) 100%);
    position: relative;
    overflow: hidden;
    padding: 72px 88px 48px;
}

.log-test-hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at var(--mx, 75%) var(--my, 40%), rgba(94, 238, 192, .12) 0%, transparent 50%), radial-gradient(ellipse at 15% 80%, rgba(94, 238, 192, .06) 0%, transparent 45%);
    pointer-events: none;
}

.log-test-hero-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(94, 238, 192, .07);
    pointer-events: none;
    animation: logTestRPulse 6s ease-in-out infinite;
}

@keyframes logTestRPulse {

    0%,
    100% {
        opacity: .3;
    }

    50% {
        opacity: .7;
    }
}

.log-test-hero-inner {
    max-width: 1220px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 56px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.log-test-hero-text {
    padding-bottom: 48px;
    padding-top: 12px;
}

.log-test-hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(94, 238, 192, .13);
    border: 1px solid rgba(94, 238, 192, .35);
    color: var(--sage-400);
    padding: 7px 18px;
    border-radius: var(--r-pill);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.log-test-hero-text h1 {
    font-family: var(--display);
    font-size: clamp(36px, 5vw, 68px);
    font-weight: 700;
    line-height: 1.04;
    color: #fff;
    margin-bottom: 20px;
}

.log-test-hero-text h1 em {
    font-style: italic;
    color: var(--sage-400);
}

.log-test-hero-text p {
    font-size: 15px;
    color: rgba(255, 255, 255, .65);
    line-height: 1.72;
    max-width: 500px;
    margin-bottom: 36px;
}

.log-test-hero-trust-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.log-test-hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .13);
    color: rgba(255, 255, 255, .85);
    padding: 8px 15px;
    border-radius: var(--r-pill);
    font-size: 12px;
    font-weight: 600;
    transition: all .25s;
}

.log-test-hero-chip:hover {
    background: rgba(94, 238, 192, .13);
    border-color: rgba(94, 238, 192, .35);
}

.log-test-hero-stat-panel {
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(94, 238, 192, .22);
    border-radius: 24px;
    padding: 36px 32px;
    backdrop-filter: blur(12px);
    margin-bottom: 36px;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.log-test-hero-stat-panel:hover {
    transform: translateY(-4px);
    box-shadow: 0 32px 60px rgba(0, 0, 0, .3);
}

.log-test-hsp-score {
    font-family: var(--display);
    font-size: 88px;
    font-weight: 700;
    color: var(--sage-400);
    line-height: 1;
}

.log-test-hsp-stars {
    display: flex;
    gap: 5px;
    margin: 4px 0 10px;
}

.log-test-hsp-stars span {
    font-size: 22px;
    color: var(--sage-400);
}

.log-test-hsp-lbl {
    font-size: 12.5px;
    color: rgba(255, 255, 255, .6);
    font-weight: 600;
    margin-bottom: 22px;
}

.log-test-hsp-divider {
    height: 1px;
    background: rgba(255, 255, 255, .1);
    margin-bottom: 20px;
}

.log-test-hsp-rows {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.log-test-hsp-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12.5px;
    color: rgba(255, 255, 255, .6);
    border-radius: 8px;
    padding: 4px 8px;
    margin: 0 -8px;
    transition: background .2s;
}

.log-test-hsp-row strong {
    font-family: var(--display);
    font-size: 20px;
    color: var(--sage-400);
}

.log-test-hsp-row:hover {
    background: rgba(94, 238, 192, .08);
}

/* ── STATS BAR ── */
.log-test-stats-bar-wrap {
    background: linear-gradient(120deg, var(--plum-700), var(--plum-800));
    padding: 0 88px;
}

.log-test-stats-bar-inner {
    max-width: 1220px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.log-test-sbi {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px 0;
    border-right: 1px solid rgba(255, 255, 255, .1);
    padding-right: 20px;
    padding-left: 8px;
    transition: background .3s;
    position: relative;
}

.log-test-sbi:first-child {
    padding-left: 0;
}

.log-test-sbi:last-child {
    border-right: none;
}

.log-test-sbi:hover {
    background: rgba(255, 255, 255, .04);
}

.log-test-sbi-icon {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    background: rgba(94, 238, 192, .12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    transition: transform .3s;
}

.log-test-sbi:hover .log-test-sbi-icon {
    transform: scale(1.08) rotate(-5deg);
}

.log-test-sbi-num {
    font-family: var(--display);
    font-size: clamp(24px, 2.4vw, 36px);
    font-weight: 700;
    color: var(--sage-400);
    line-height: 1;
}

.log-test-sbi-lbl {
    font-size: 11.5px;
    color: rgba(255, 255, 255, .58);
    font-weight: 600;
    margin-top: 3px;
}

.log-test-sbi-tooltip {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--plum-950);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 8px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity .2s;
    z-index: 10;
}

.log-test-sbi-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: var(--plum-950);
}

.log-test-sbi:hover .log-test-sbi-tooltip {
    opacity: 1;
}

/* ── FEATURED CARD ── */
.log-test-featured-wrap {
    padding: 80px 88px 0;
}

.log-test-featured-inner {
    max-width: 1220px;
    margin: 0 auto;
}

.log-test-featured-card {
    display: grid;
    grid-template-columns: 1fr 240px;
    gap: 52px;
    align-items: center;
    background: linear-gradient(155deg, var(--plum-950), var(--plum-900));
    border-radius: 20px;
    padding: 60px 64px;
    border: 1px solid rgba(94, 238, 192, .15);
    color: #fff;
    margin-top: 44px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.log-test-featured-card::before {
    content: '"';
    position: absolute;
    top: -30px;
    left: 36px;
    font-family: var(--display);
    font-size: 260px;
    line-height: 1;
    color: rgba(94, 238, 192, .04);
    font-weight: 700;
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

.log-test-featured-card::after {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(94, 238, 192, .07), transparent 65%);
    pointer-events: none;
    z-index: 0;
}

.log-test-featured-card>* {
    position: relative;
    z-index: 1;
}

.log-test-fc-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--sage-400);
    margin-bottom: 18px;
}

.log-test-fc-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 18px;
}

.log-test-fc-stars span {
    font-size: 17px;
    color: var(--sage-400);
}

.log-test-fc-quote {
    font-family: var(--display);
    font-size: clamp(19px, 2.2vw, 27px);
    font-style: italic;
    font-weight: 400;
    line-height: 1.52;
    margin-bottom: 30px;
    color: #fff;
}

.log-test-fc-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.log-test-fc-av {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--sage-500);
    color: var(--plum-950);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    flex-shrink: 0;
}

.log-test-fc-name {
    font-size: 13.5px;
    font-weight: 700;
    color: #fff;
}

.log-test-fc-meta {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, .55);
    margin-top: 2px;
}

.log-test-fc-right {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.log-test-fc-badge-card {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(94, 238, 192, .15);
    border-radius: 16px;
    padding: 22px 20px;
    text-align: center;
    transition: all .3s;
}

.log-test-fc-badge-card:hover {
    background: rgba(255, 255, 255, .09);
    border-color: var(--sage-400);
}

.log-test-fbc-ico {
    font-size: 32px;
    margin-bottom: 10px;
}

.log-test-fc-badge-card h5 {
    font-size: 15px;
    font-weight: 700;
    color: var(--sage-400);
    margin-bottom: 4px;
}

.log-test-fc-badge-card p {
    font-size: 12.5px;
    color: rgba(255, 255, 255, .6);
    line-height: 1.6;
}

/* ── RATING SECTION ── */
.log-test-rating-section {
    padding: 80px 88px;
    background: var(--blush-100);
}

.log-test-rating-wrap {
    max-width: 1220px;
    margin: 0 auto;
}

.log-test-rating-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 64px;
    align-items: start;
    margin-top: 52px;
}

.log-test-big-score {
    text-align: center;
}

.log-test-bs-number {
    font-family: var(--display);
    font-size: 104px;
    font-weight: 700;
    color: var(--plum-700);
    line-height: 1;
}

.log-test-bs-stars {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin: 6px 0;
}

.log-test-bs-stars span {
    font-size: 24px;
    color: var(--sage-500);
}

.log-test-bs-count {
    font-size: 13px;
    color: var(--gray-600);
    font-weight: 600;
    margin-bottom: 28px;
}

.log-test-donut {
    position: relative;
    width: 170px;
    margin: 0 auto;
}

.log-test-donut svg {
    width: 100%;
    height: auto;
}

.log-test-donut-text {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.log-test-donut-pct {
    font-family: var(--display);
    font-size: 32px;
    font-weight: 700;
    color: var(--plum-700);
    line-height: 1;
}

.log-test-donut-sub {
    font-size: 11px;
    font-weight: 700;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-top: 2px;
}

.log-test-rb-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.log-test-rb-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ink-700);
}

.log-test-rb-star {
    width: 34px;
    flex-shrink: 0;
}

.log-test-rb-track {
    flex: 1;
    height: 8px;
    background: var(--line);
    border-radius: var(--r-pill);
    overflow: hidden;
}

.log-test-rb-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--sage-500), var(--plum-600));
    border-radius: var(--r-pill);
    width: 0;
    transition: width .8s var(--ease);
}

.log-test-rb-pct {
    width: 38px;
    text-align: right;
    flex-shrink: 0;
    font-weight: 800;
    color: var(--plum-700);
}

.log-test-rb-cnt {
    width: 100px;
    text-align: right;
    color: var(--gray-600);
    flex-shrink: 0;
}

.log-test-cat-scores {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 24px;
}

.log-test-cs-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    transition: all .25s var(--ease);
}

.log-test-cs-card:hover {
    border-color: var(--plum-700);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.log-test-cs-ico {
    font-size: 24px;
    margin-bottom: 6px;
}

.log-test-cs-val {
    font-family: var(--display);
    font-size: 28px;
    font-weight: 700;
    color: var(--plum-700);
    line-height: 1;
    margin-bottom: 2px;
}

.log-test-cs-lbl {
    font-size: 11px;
    font-weight: 600;
    color: var(--gray-600);
}

/* ── BENTO ROW 2 ── */
.log-test-bento-row2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.log-test-bc-white {
    background: var(--white);
    border: 1.5px solid var(--line);
}

.log-test-bc-white:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--sage-500);
}

.log-test-bc-white .log-test-bento-note {
    color: var(--gray-600);
}

/* ── CONTACT BAND ── */
.log-test-contact-band {
    background: linear-gradient(160deg, var(--plum-900) 0%, var(--plum-700) 100%);
    padding: 72px 88px;
    color: #fff;
}

.log-test-contact-band-grid {
    max-width: 1220px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.log-test-contact-l h3 {
    font-family: var(--display);
    font-size: clamp(28px, 3.2vw, 42px);
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    margin-top: 10px;
}

.log-test-contact-l h3 em {
    font-style: italic;
    color: var(--sage-400);
}

.log-test-contact-l p {
    font-size: 14px;
    color: rgba(255, 255, 255, .6);
    max-width: 380px;
    line-height: 1.7;
    margin-top: 12px;
}

.log-test-contact-r {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.log-test-contact-chip {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--r-md);
    padding: 16px 20px;
    transition: all .25s;
}

.log-test-contact-chip:hover {
    background: rgba(255, 255, 255, .11);
    transform: translateX(5px);
}

.log-test-contact-chip>span:first-child {
    width: 42px;
    height: 42px;
    background: var(--sage-500);
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.log-test-cc-lbl {
    font-size: 10.5px;
    color: rgba(255, 255, 255, .5);
    text-transform: uppercase;
    letter-spacing: .06em;
    font-weight: 700;
}

.log-test-cc-val {
    font-size: 13.5px;
    font-weight: 700;
    color: #fff;
}

.log-test-contact-cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.log-test-contact-cta .log-test-btn-sage,
.log-test-contact-cta .log-test-btn-outline-white {
    padding: 15px 28px;
    font-size: 13.5px;
}