/* =========================================
   TESTIMONIALS PAGE — editorial, no tiles
   ========================================= */

.tm-section {
    position: relative;
    background:
        radial-gradient(700px 500px at 15% 10%, rgba(253, 183, 26, 0.06), transparent 55%),
        radial-gradient(700px 600px at 85% 70%, rgba(253, 183, 26, 0.05), transparent 55%),
        #160830;
    padding: 90px 32px 110px;
    overflow: hidden;
}

.tm-flow {
    max-width: 800px;
    margin: 0 auto;
}

.tm-intro {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 30px;
}

.tm-intro-eyebrow {
    display: block;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #FDB71A;
    opacity: 0.85;
    margin-bottom: 14px;
}

.tm-intro p {
    font-size: 17px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-weight: 300;
}

.tm-intro-note {
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: rgba(255, 255, 255, 0.4) !important;
    margin-top: 10px !important;
}

/* ---- Individual testimonial ---- */
.tm-item {
    position: relative;
    text-align: center;
    padding: 62px 0 58px;
}

.tm-item + .tm-item {
    border-top: 1px solid rgba(253, 183, 26, 0.12);
}

/* Giant decorative quote mark */
.tm-item::before {
    content: '\201C';
    position: absolute;
    top: 4px;
    left: 50%;
    transform: translateX(-50%);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 120px;
    line-height: 1;
    color: rgba(253, 183, 26, 0.14);
    pointer-events: none;
}

.tm-stars {
    position: relative;
    margin-bottom: 22px;
    letter-spacing: 4px;
    color: #FDB71A;
    font-size: 16px;
}

.tm-quote {
    position: relative;
    font-family: var(--font-body);
    font-size: clamp(1.25rem, 2.4vw, 1.7rem);
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: -0.4px;
    color: #ffffff;
    margin: 0 auto 28px;
    max-width: 720px;
}

.tm-quote .hl { color: #FDB71A; }

/* Feature (longer, emotional) variant gets a softer weight */
.tm-item--feature .tm-quote {
    font-weight: 400;
    color: rgba(255, 255, 255, 0.92);
}

.tm-by {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.tm-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 15px;
    color: #1A0A3C;
    background: linear-gradient(145deg, #FFD460, #FDB71A);
    box-shadow: 0 8px 20px -6px rgba(253, 183, 26, 0.5);
    overflow: hidden;
}

.tm-avatar img { width: 100%; height: 100%; object-fit: cover; }

.tm-by-text { text-align: left; }

.tm-name {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

.tm-role {
    font-size: 13px;
    color: rgba(253, 183, 26, 0.8);
    margin-top: 2px;
}

/* ---- Reveal ---- */
.tm-reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.tm-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---- Closing CTA ---- */
.tm-cta {
    text-align: center;
    max-width: 640px;
    margin: 70px auto 0;
    padding-top: 56px;
    border-top: 1px solid rgba(253, 183, 26, 0.15);
}

.tm-cta h2 {
    font-family: var(--font-body);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.6px;
    margin: 0 0 14px;
}

.tm-cta p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.65;
    margin: 0 0 28px;
}

.tm-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 34px;
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    color: #1A0A3C;
    background: linear-gradient(145deg, #FFD460, #FDB71A);
    box-shadow: 0 14px 30px -10px rgba(253, 183, 26, 0.6);
    transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.3s ease;
}

.tm-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 44px -12px rgba(253, 183, 26, 0.75);
}

@media (max-width: 767px) {
    .tm-section { padding: 56px 22px 72px; }
    .tm-item { padding: 46px 0 42px; }
    .tm-item::before { font-size: 90px; }
}
