/* ============================================================
   Testimonials page styles (testimonials.html)
   ============================================================ */

/* ---- Product label chip — on individual testimonial sections ---- */
.t-product-tag {
    display: inline-block;
    font-family: var(--sans);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--navy);
    background: var(--navy-tint);
    border-radius: var(--r);
    padding: 4px 10px;
    margin-bottom: 10px;
}

/* ---- Product group banner (.series) — shorter, smaller product photo ---- */
.t-product-banner {
    min-height: auto;
    padding: 64px 0;
}

.t-product-banner .series-img img {
    max-width: 60%;
    max-height: 220px;
}

@media (max-width: 980px) {
    .t-product-banner {
        padding: 56px 0;
    }

    .t-product-banner .series-img img {
        max-width: 70%;
    }
}

/* ---- Disclaimer ---- */
.t-disclaimer {
    font-family: var(--sans);
    font-size: 0.9rem;
    color: var(--ink-mute);
    font-style: italic;
    text-align: center;
    max-width: 64ch;
    margin: 0 auto;
    line-height: 1.7;
}

/* ---- Testimonial item (image-based, 2-column) ---- */
.t-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.t-item--reverse .t-item-content {
    order: 2;
}
.t-item--reverse .t-item-visual {
    order: 1;
}

.t-item-content .eyebrow {
    display: block;
    margin-bottom: 12px;
}

.t-item-content h2 {
    font-family: var(--serif);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 500;
    color: var(--navy-ink);
    margin: 0 0 24px;
    line-height: 1.15;
    text-wrap: balance;
}

.t-item-content p {
    font-family: var(--sans);
    color: var(--ink-mute);
    font-size: 1.02rem;
    line-height: 1.7;
    margin-bottom: 16px;
    text-wrap: pretty;
}

.t-item-content p:last-child {
    margin-bottom: 0;
}

/* ---- Before / after comparison ---- */
.before-after {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.before-after-col {
    text-align: center;
}

.before-after-label {
    font-family: var(--sans);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-mute);
    margin-bottom: 10px;
}

.before-after-col img {
    width: 100%;
    max-height: 260px;
    object-fit: contain;
    background: var(--paper);
    border-radius: var(--r);
    border: 1px solid var(--rule);
    display: block;
    transition:
        box-shadow 0.25s,
        transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
        border-color 0.25s;
}

.before-after-col img:hover {
    box-shadow: var(--shadow-deep);
    transform: translateY(-3px);
    border-color: var(--navy-soft);
}

/* ---- Sensitive content overlay ---- */
.gore-wrap {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    border-radius: var(--r);
}

.gore-wrap img {
    filter: blur(14px);
    transform: scale(1.06);
    transition:
        filter 0.35s ease,
        transform 0.35s ease;
}

.gore-wrap.revealed img {
    filter: none;
    transform: none;
}

.gore-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(15, 35, 71, 0.52);
    cursor: pointer;
    z-index: 2;
    padding: 12px;
    gap: 5px;
    color: #fff;
    transition: opacity 0.25s ease;
    user-select: none;
}

.gore-wrap.revealed .gore-overlay {
    opacity: 0;
    pointer-events: none;
}

.gore-overlay-warning {
    font-family: var(--sans);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.4;
}

.gore-overlay-hint {
    font-family: var(--sans);
    font-size: 0.68rem;
    opacity: 0.78;
    text-align: center;
    margin-top: 2px;
}

/* ---- Quote testimonial ---- */
.t-quote {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.t-quote-mark {
    display: block;
    font-family: var(--serif);
    font-size: 5rem;
    line-height: 0.7;
    color: var(--gold);
    margin-bottom: 20px;
}

.t-quote .eyebrow {
    display: block;
    margin-bottom: 16px;
}

.t-quote h2 {
    font-family: var(--serif);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 500;
    color: var(--navy-ink);
    margin: 0 0 28px;
    line-height: 1.15;
    text-wrap: balance;
}

.t-quote p {
    font-family: var(--sans);
    font-size: 1.02rem;
    color: var(--ink-mute);
    line-height: 1.7;
    max-width: 58ch;
    margin: 0 auto 16px;
    text-wrap: pretty;
}

.t-quote p:last-of-type {
    margin-bottom: 0;
}

.t-quote a {
    color: var(--navy);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.t-quote a:hover {
    color: var(--gold-deep);
    text-decoration: underline;
}

.t-divider {
    width: 40px;
    height: 2px;
    background: var(--gold);
    margin: 32px auto 0;
}

/* ---- Closing ---- */
.t-closing {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.t-closing .eyebrow {
    display: block;
    margin-bottom: 12px;
}

.t-closing h2 {
    font-family: var(--serif);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 500;
    color: var(--navy-ink);
    margin: 0 0 24px;
    line-height: 1.15;
    text-wrap: balance;
}

.t-closing .lede {
    margin: 0 auto;
}

/* ---- Mobile — tablet ≤980px ---- */
@media (max-width: 980px) {
    .t-item {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .t-item--reverse .t-item-content {
        order: 1;
    }

    .t-item--reverse .t-item-visual {
        order: 2;
    }
}

/* ---- Mobile — phone ≤600px ---- */
@media (max-width: 600px) {
    .before-after {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .t-quote {
        text-align: left;
    }

    .t-quote p {
        margin-left: 0;
        margin-right: 0;
    }

    .t-divider {
        margin-left: 0;
    }

    .t-closing {
        text-align: left;
    }

    .t-closing .lede {
        max-width: 100%;
    }

    .before-after {
        gap: 12px;
    }
}
