/* ══════════════════════════════════════════════════════════
   PREMIUM TESTIMONIALS — "Client Stories" 2-column redesign
   Brand colors: #0973BA (blue) / #F36F34 (orange)
   Font: 'Neuropolitical' (falls back gracefully if not installed)
   ══════════════════════════════════════════════════════════ */

@font-face {
    font-family: 'Neuropolitical';
    /*src: url('../fonts/Neuropolitical.woff2') format('woff2'), url('../fonts/Neuropolitical.woff') format('woff');*/
    font-weight: 400 700;
    font-display: swap;
}

.tp-section {
    --tp-blue: #0973BA;
    --tp-blue-dark: #075f96;
    --tp-orange: #F36F34;
    --tp-orange-dark: #d6551f;
    --tp-glass-bg: rgba(255, 255, 255, 0.55);
    --tp-glass-border: rgba(255, 255, 255, 0.55);
    --tp-font-brand: 'Neuropolitical', var(--font-display, 'Urbanist'), sans-serif;
    position: relative;
    overflow: hidden;
    padding: 120px 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    isolation: isolate;
}
/* Background image */
.tp-section-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

/* Same gradient that you previously had */
.tp-section-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(8, 20, 38, .72) 0%,
        rgba(8, 20, 38, .55) 55%,
        rgba(8, 20, 38, .78) 100%
    );
    z-index: 1;
}

/* Existing content stays above image + overlay */
.tp-section > .container {
    position: relative;
    z-index: 2;
}
/* single-column centered layout (no left visual panel) */
.tp-grid.tp-grid-single {
    grid-template-columns: 1fr;
    max-width: 760px;
    margin: 0 auto;
}

[data-theme="dark"] .tp-section,
.dark .tp-section {
    --tp-glass-bg: rgba(15, 25, 41, 0.55);
    --tp-glass-border: rgba(255, 255, 255, 0.08);
}

.tp-section .tp-header {
    text-align: center;
    margin-bottom: 68px;
}

.tp-section .tp-label {
    display: inline-block;
    font-family: var(--tp-font-brand);
    font-size: 0.8rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #fff;
    background: #f36f34;
    padding: 8px 20px;
    border-radius: 999px;
    margin-bottom: 18px;
}

.tp-section .tp-title {
    font-family: var(--tp-font-brand);
    font-size: clamp(2rem, 3.4vw, 2.9rem);
    font-weight: 800;
    letter-spacing: -.01em;
    color: #fff;
    margin: 0 0 14px;
}

.tp-section .tp-title span {
    background: linear-gradient(90deg, var(--tp-blue), var(--tp-orange));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.tp-section .tp-subline {
    max-width: 560px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1rem;
    line-height: 1.7;
}

/* ── Grid ─────────────────────────────────────────────── */
.tp-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 64px;
    align-items: center;
}

/* ── LEFT: illustration panel ────────────────────────────── */
.tp-visual {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tp-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: .55;
    z-index: 0;
    animation: tpDrift 12s ease-in-out infinite;
}

.tp-blob.tp-blob-1 {
    width: 340px;
    height: 340px;
    top: -30px;
    left: -40px;
    background: radial-gradient(circle, var(--tp-blue), transparent 70%);
    animation-delay: 0s;
}

.tp-blob.tp-blob-2 {
    width: 300px;
    height: 300px;
    bottom: -50px;
    right: -30px;
    background: radial-gradient(circle, var(--tp-orange), transparent 70%);
    animation-delay: -4s;
}

.tp-blob.tp-blob-3 {
    width: 200px;
    height: 200px;
    top: 45%;
    left: 50%;
    background: radial-gradient(circle, var(--tp-blue-dark), transparent 70%);
    opacity: .3;
    animation-delay: -8s;
}

@keyframes tpDrift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%      { transform: translate(18px, -22px) scale(1.06); }
    66%      { transform: translate(-16px, 14px) scale(0.96); }
}

.tp-illustration-wrap {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    animation: tpFloat 6s ease-in-out infinite;
}

@keyframes tpFloat {
    0%, 100% { transform: translateY(0px); }
    50%      { transform: translateY(-18px); }
}

.tp-illustration-card {
    position: relative;
    background: var(--tp-glass-bg);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border: 1px solid var(--tp-glass-border);
    border-radius: 28px;
    padding: 30px;
    box-shadow: 0 30px 70px rgba(9, 115, 186, 0.18), 0 8px 24px rgba(243, 111, 52, 0.10);
}

.tp-illustration-card svg { display: block; width: 100%; height: auto; }

/* floating badge chips */
.tp-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--tp-glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--tp-glass-border);
    border-radius: 16px;
    padding: 12px 16px;
    box-shadow: 0 16px 40px rgba(9,115,186,.16);
    z-index: 2;
    animation: tpFloat 5s ease-in-out infinite;
}

.tp-badge-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: #fff;
    flex-shrink: 0;
}

.tp-badge.tp-badge-top {
    top: 4%;
    right: -6%;
    animation-delay: -1.5s;
}
.tp-badge.tp-badge-top .tp-badge-icon { background: linear-gradient(135deg, var(--tp-orange), var(--tp-orange-dark)); }

.tp-badge.tp-badge-bottom {
    bottom: 6%;
    left: -8%;
    animation-delay: -3.2s;
}
.tp-badge.tp-badge-bottom .tp-badge-icon { background: linear-gradient(135deg, var(--tp-blue), var(--tp-blue-dark)); }

.tp-badge-text .tp-badge-num {
    font-family: var(--tp-font-brand);
    font-weight: 800;
    font-size: .95rem;
    color: var(--text, #0f172a);
    line-height: 1.2;
}
.tp-badge-text .tp-badge-sub {
    font-size: .7rem;
    color: var(--text3, #64748b);
}

@media (max-width: 991px) {
    .tp-badge.tp-badge-top { right: 2%; }
    .tp-badge.tp-badge-bottom { left: 2%; }
}

/* ── RIGHT: slider ────────────────────────────────────────── */
.tp-slider {
    position: relative;
    z-index: 1;
}

.tp-slider-viewport {
    position: relative;
    min-height: 360px;
}

.tp-slide {
    position: absolute;
    inset: 0;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(60px) scale(.94);
    transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1);
    pointer-events: none;
    z-index: 1;
}

.tp-slide.is-exit {
    opacity: 0;
    transform: translateX(-40px) scale(.96);
    transition: opacity .45s ease, transform .45s ease;
}

.tp-slide.is-active {
    position: relative;
    opacity: 1;
    transform: translateX(0) scale(1);
    pointer-events: auto;
    z-index: 2;
}

.tp-card {
    position: relative;
    background: #fff;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--tp-glass-border);
    border-radius: 26px;
    padding: 48px 52px;
    box-shadow: 0 24px 70px rgba(9, 115, 186, 0.14);
    overflow: hidden;
}

.tp-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--tp-blue), var(--tp-orange));
}

.tp-quote-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--tp-blue), var(--tp-orange));
    color: #fff;
    font-family: Georgia, serif;
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 22px;
    box-shadow: 0 10px 28px rgba(9,115,186,.28);
}

.tp-stars {
    color: var(--tp-orange);
    letter-spacing: 3px;
    font-size: 1rem;
    margin-bottom: 6px;
}

.tp-text {
    font-size: 1.15rem;
    line-height: 1.85;
    color: var(--text2, #334155);
    font-style: italic;
    margin-bottom: 30px;
}

.tp-author {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 22px;
    border-top: 1px solid var(--tp-glass-border);
}

.tp-avatar-wrap {
    position: relative;
    flex-shrink: 0;
}

.tp-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 6px 20px rgba(9,115,186,.25);
}

.tp-author-info .tp-name {
    font-family: var(--tp-font-brand);
    font-weight: 700;
    font-size: 1.02rem;
    color: var(--text, #0f172a);
}

.tp-author-info .tp-location {
    font-size: .82rem;
    color: var(--text3, #64748b);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ── Controls ─────────────────────────────────────────────── */
.tp-controls {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-top: 36px;
    justify-content: space-between;
}

.tp-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--card, #fff);
    border: 1.5px solid var(--border, #e2e8f0);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.15rem;
    color: var(--tp-blue);
    transition: all .3s ease;
    flex-shrink: 0;
}

.tp-arrow:hover {
    background: linear-gradient(135deg, var(--tp-blue), var(--tp-orange));
    border-color: transparent;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(9,115,186,.3);
}

.tp-dots {
    display: flex;
    gap: 9px;
}

.tp-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--border, #e2e8f0);
    cursor: pointer;
    transition: all .35s ease;
    border: none;
    padding: 0;
}

.tp-dot.is-active {
    width: 28px;
    border-radius: 5px;
    background: linear-gradient(90deg, var(--tp-blue), var(--tp-orange));
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 991px) {
    .tp-grid {
        grid-template-columns: 1fr;
        gap: 56px;
    }
    .tp-visual {
        min-height: 380px;
        order: -1;
    }
    .tp-card { padding: 38px 30px; }
}

@media (max-width: 576px) {
    .tp-section { padding: 80px 0; }
    .tp-visual { min-height: 300px; }
    .tp-illustration-wrap { max-width: 280px; }
    .tp-card { padding: 30px 22px; border-radius: 20px; }
    .tp-text { font-size: 1.02rem; }
    .tp-badge { padding: 9px 12px; }
    .tp-badge-icon { width: 30px; height: 30px; font-size: .95rem; }
    .tp-controls { gap: 16px; margin-top: 26px; }
}

@media (prefers-reduced-motion: reduce) {
    .tp-blob, .tp-illustration-wrap, .tp-badge {
        animation: none !important;
    }
    .tp-slide {
        transition: opacity .3s ease !important;
        transform: none !important;
    }
}
