/*
 * @package BusinessSaleTheme
 * Extracted from: sections-testimonials.css
 */
/* ── Section ── */
.tm-section {
    position: relative;
    padding: 5rem 1.5rem;
    background: #050505;
    overflow: hidden;
    font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
}

/* Ambient glows */
.tm-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    z-index: 0;
}
.tm-glow-1 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(250,204,21,0.04), transparent 70%);
    top: -80px;
    right: -100px;
}
.tm-glow-2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(129,140,248,0.04), transparent 70%);
    bottom: -60px;
    left: -80px;
}

.tm-container {
    max-width: 64rem;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* ── Header ── */
.tm-header {
    text-align: center;
    margin-bottom: 2.5rem;
}
.tm-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.6875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #facc15;
    margin-bottom: 0.75rem;
}
.tm-title {
    margin: 0 0 0.5rem;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 600;
    color: #ffffff;
    letter-spacing: -0.025em;
    line-height: 1.15;
}
.tm-desc {
    margin: 0;
    font-size: 1rem;
    color: #a1a1aa;
    line-height: 1.6;
}
.tm-rating-inline {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    vertical-align: middle;
}
.tm-inline-star {
    display: block;
    flex-shrink: 0;
}
.tm-rating-inline strong {
    color: #d4d4d8;
    font-weight: 600;
    margin-left: 0.25rem;
    margin-right: 0.125rem;
}
.tm-desc strong {
    color: #a1a1aa;
    font-weight: 600;
}

/* ── Grid ── */
.tm-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

/* ── Card ── */
.tm-card {
    position: relative;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    opacity: 0;
    transform: translateY(20px);
}
.tm-card.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1) var(--delay),
                transform 0.6s cubic-bezier(0.22, 1, 0.36, 1) var(--delay),
                background 0.3s ease,
                border-color 0.3s ease,
                box-shadow 0.35s ease;
}
.tm-card:hover {
    background: rgba(255,255,255,0.035);
    border-color: rgba(255,255,255,0.1);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
    transform: translateY(-3px);
}
.tm-card.visible:hover {
    transition-delay: 0s;
}

/* Decorative quote mark */
.tm-quote-mark {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    color: var(--accent);
    opacity: 0.07;
    transition: opacity 0.3s;
    line-height: 1;
}
.tm-card:hover .tm-quote-mark {
    opacity: 0.14;
}

/* Stars */
.tm-stars {
    display: flex;
    align-items: center;
    gap: 2px;
}
.tm-star {
    display: block;
    flex-shrink: 0;
}

/* Quote */
.tm-quote {
    margin: 0;
    font-size: 0.9375rem;
    color: #a1a1aa;
    line-height: 1.65;
    font-style: normal;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Author */
.tm-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-top: 0.875rem;
    border-top: 1px solid rgba(255,255,255,0.04);
    margin-top: auto;
}

/* Avatar */
.tm-avatar {
    position: relative;
    width: 2.5rem;
    height: 2.5rem;
    min-width: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.tm-avatar-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(from 180deg, var(--accent), transparent 70%);
    opacity: 0.5;
    transition: opacity 0.3s;
}
.tm-card:hover .tm-avatar-ring {
    opacity: 0.8;
}
.tm-avatar-text {
    position: relative;
    width: 2.125rem;
    height: 2.125rem;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.04em;
}

/* Author info */
.tm-author-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.0625rem;
}
.tm-author-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: #e4e4e7;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.tm-author-title {
    font-size: 0.75rem;
    color: #52525b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Verified badge */
.tm-verified {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.625rem;
    height: 1.625rem;
    min-width: 1.625rem;
    border-radius: 50%;
    background: rgba(52,211,153,0.06);
    border: 1px solid rgba(52,211,153,0.1);
    color: #34d399;
    flex-shrink: 0;
    transition: all 0.2s;
}
.tm-card:hover .tm-verified {
    background: rgba(52,211,153,0.1);
    border-color: rgba(52,211,153,0.18);
}

/* ── Bottom ── */
.tm-bottom {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}
.tm-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 10px;
    background: rgba(255,255,255,0.02);
    color: #a1a1aa;
    font-size: 0.8125rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.25s;
}
.tm-read-more:hover {
    border-color: rgba(250,204,21,0.2);
    color: #fde047;
    background: rgba(250,204,21,0.04);
}
.tm-read-more svg {
    transition: transform 0.2s;
}
.tm-read-more:hover svg {
    transform: translateX(2px);
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .tm-section {
        padding: 3.5rem 1rem;
    }
    .tm-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .tm-card {
        padding: 1.25rem;
    }
    .tm-quote {
        -webkit-line-clamp: 3;
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .tm-desc {
        font-size: 0.875rem;
    }
    .tm-rating-inline {
        display: none;
    }
    .tm-card {
        padding: 1.125rem;
        border-radius: 14px;
    }
    .tm-avatar {
        width: 2.25rem;
        height: 2.25rem;
        min-width: 2.25rem;
    }
    .tm-avatar-text {
        width: 1.875rem;
        height: 1.875rem;
        font-size: 0.625rem;
    }
}

