/* ===== Testimonials ===== */
.ta-testimonials {
    --tt-bg: #0a141c;
    --tt-card: #0b1219;
    --tt-green: #3ecf6e;
    --tt-green-bright: #4ade80;
    --tt-text: #ffffff;
    --tt-muted: #b8c2c9;
    --tt-border: rgba(160, 175, 185, 0.22);
    --tt-font: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    position: relative;
    background: var(--tt-bg);
    font-family: var(--tt-font);
    -webkit-font-smoothing: antialiased;
    padding: 4.25rem 0 4.75rem;
    overflow: hidden;
}

.ta-testimonials-inner {
    position: relative;
    z-index: 1;
    max-width: 980px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.ta-testimonials-header {
    text-align: center;
    margin: 0 auto 2.25rem;
    max-width: 720px;
}

.ta-testimonials-title {
    margin: 0;
    color: var(--tt-text);
    font-size: clamp(1.15rem, 2.2vw, 1.45rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.45;
    text-transform: uppercase;
}

.ta-testimonials-title .ta-tt-underline {
    position: relative;
    display: inline-block;
}

.ta-testimonials-title .ta-tt-underline::after {
    content: '';
    position: absolute;
    left: 8%;
    right: 8%;
    bottom: -0.45rem;
    height: 2px;
    background: var(--tt-green);
    box-shadow: 0 0 10px rgba(62, 207, 110, 0.45);
}

.ta-testimonials-title .ta-tt-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-left: 0.2rem;
    background: var(--tt-green);
    vertical-align: middle;
    transform: translateY(-1px);
}

.ta-tt-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.ta-tt-card {
    position: relative;
    border: 1px solid var(--tt-border);
    border-radius: 12px;
    background: var(--tt-card);
    overflow: hidden;
    padding: 2rem 2.15rem 1.65rem;
}

.ta-tt-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(11, 18, 25, 0.97) 0%, rgba(11, 18, 25, 0.88) 42%, rgba(11, 18, 25, 0.55) 70%, rgba(11, 18, 25, 0.4) 100%),
        url('../images/testimonials/bg-building.jpg') right center / cover no-repeat;
    pointer-events: none;
    z-index: 0;
}

.ta-tt-card > * {
    position: relative;
    z-index: 1;
}

.ta-tt-quote-mark {
    display: block;
    margin: 0 0 0.85rem;
    color: var(--tt-green);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 0.7;
    letter-spacing: -0.04em;
}

.ta-tt-quote {
    margin: 0;
    max-width: 36rem;
    color: #e8eef2;
    font-size: clamp(1.02rem, 1.55vw, 1.2rem);
    font-weight: 400;
    line-height: 1.65;
    letter-spacing: -0.01em;
}

.ta-tt-divider {
    display: block;
    width: 56px;
    height: 2px;
    margin: 1.5rem 0 1.35rem;
    background: var(--tt-green);
    box-shadow: 0 0 8px rgba(62, 207, 110, 0.4);
}

.ta-tt-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.ta-tt-person {
    display: flex;
    align-items: center;
    gap: 0.95rem;
    min-width: 0;
    flex: 1 1 260px;
}

.ta-tt-avatar-wrap {
    flex-shrink: 0;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    border: 2px solid var(--tt-green);
    overflow: hidden;
    background: #0a141c;
    box-shadow: 0 0 0 3px rgba(62, 207, 110, 0.12), 0 0 14px rgba(62, 207, 110, 0.25);
}

.ta-tt-avatar {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 0;
    object-fit: cover;
    object-position: 48% 35%;
    transform: scale(1.12);
    transform-origin: 48% 35%;
}

.ta-tt-avatar-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--tt-green-bright);
    font-size: 1.35rem;
    font-weight: 700;
    background: rgba(62, 207, 110, 0.08);
}

.ta-tt-company-logo {
    display: block;
    max-height: 48px;
    max-width: 160px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.ta-tt-company-text {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.2;
}

.ta-tt-meta {
    min-width: 0;
}

.ta-tt-name {
    margin: 0 0 0.2rem;
    color: var(--tt-green-bright);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.25;
}

.ta-tt-role {
    margin: 0;
    color: #d7dee3;
    font-size: 0.92rem;
    font-weight: 400;
    line-height: 1.4;
}

.ta-tt-brand {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 0 1 auto;
    padding-left: 1.75rem;
    margin-left: 0.25rem;
    border-left: 1px solid rgba(160, 175, 185, 0.28);
    min-height: 64px;
}

.ta-tt-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    text-decoration: none;
}

.ta-tt-logo-top {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.ta-tt-logo-ar {
    color: #d4af37;
    font-size: 0.82rem;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.ta-tt-logo-seal {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.ta-tt-logo-en {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.1;
    text-transform: lowercase;
    white-space: nowrap;
}

@media (max-width: 720px) {
    .ta-tt-card {
        padding: 1.5rem 1.25rem 1.35rem;
    }

    .ta-tt-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .ta-tt-brand {
        width: 100%;
        padding-left: 0;
        margin-left: 0;
        padding-top: 1rem;
        border-left: none;
        border-top: 1px solid rgba(160, 175, 185, 0.28);
        justify-content: flex-start;
    }
}
