﻿/* ========================================
   TESTIMONIAL PAGE — _testimonial.css
   Self-contained. Links with landing.css only.
   Same pattern as _subscription.css and
   _pricing.css.
   ======================================== */


/* ── Section wrapper ───────────────────── */
.tmn-section {
    min-height: 100vh;
    padding: 7rem 0 5rem;
    background: linear-gradient(160deg, var(--white) 0%, var(--pearl) 50%, var(--champagne) 100%);
    position: relative;
    overflow: hidden;
}

.tmn-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><polygon points="12,2 22,12 12,22 2,12" fill="none" stroke="%23D4AF37" stroke-width="0.3" opacity="0.16"/></svg>');
    background-size: 60px 60px;
    pointer-events: none;
    opacity: 0.5;
}

.tmn-bg-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.tmn-bg-orb--tl {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(107, 44, 62, 0.05) 0%, transparent 70%);
    top: -150px;
    left: -150px;
}

.tmn-bg-orb--br {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.07) 0%, transparent 70%);
    bottom: -100px;
    right: -100px;
}


/* ════════════════════════════════════════
   SECTION HEADER
   ════════════════════════════════════════ */

.tmn-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.tmn-header__label {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--gold);
    background: linear-gradient(135deg, rgba(107, 44, 62, 0.08), rgba(212, 175, 55, 0.06));
    border: 1px solid rgba(212, 175, 55, 0.25);
    padding: 0.45rem 1.1rem;
    border-radius: 50px;
    margin-bottom: 1.2rem;
}

    .tmn-header__label i {
        font-size: 0.7rem;
        color: var(--gold);
    }

.tmn-header__heading {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--dark-burgundy);
    line-height: 1.2;
    margin-bottom: 0.9rem;
}

.tmn-header__sub {
    font-size: 1rem;
    color: var(--luxury-gray);
    line-height: 1.7;
}


/* ════════════════════════════════════════
   FORM CARD
   ════════════════════════════════════════ */

.tmn-card {
    max-width: 720px;
    margin: 0 auto;
    background: var(--white);
    border: 1px solid rgba(107, 44, 62, 0.1);
    border-radius: 28px;
    box-shadow: 0 12px 50px rgba(107, 44, 62, 0.09);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.tmn-card__accent {
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--burgundy) 20%, var(--gold) 50%, var(--burgundy) 80%, transparent);
}

.tmn-card__body {
    padding: 2.5rem 2.5rem 2.2rem;
}


/* ════════════════════════════════════════
   FORM ELEMENTS
   ════════════════════════════════════════ */

.tmn-form {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}

.tmn-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.4rem;
}

.tmn-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tmn-label {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--dark-burgundy);
}

.tmn-required {
    color: var(--burgundy);
    margin-left: 0.15rem;
}

/* Input with icon */
.tmn-input-wrap {
    position: relative;
}

.tmn-input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--luxury-gray);
    font-size: 0.85rem;
    pointer-events: none;
    transition: color 0.2s ease;
}

.tmn-input {
    width: 100%;
    padding: 0.85rem 1rem 0.85rem 2.6rem;
    background: var(--white);
    border: 1.5px solid rgba(107, 44, 62, 0.15);
    border-radius: 12px;
    font-size: 0.92rem;
    color: var(--dark-gray);
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

    .tmn-input::placeholder {
        color: var(--luxury-gray);
        opacity: 0.7;
    }

    .tmn-input:focus {
        border-color: var(--burgundy);
        box-shadow: 0 0 0 3px rgba(107, 44, 62, 0.08);
    }

.tmn-input-wrap:focus-within .tmn-input-icon {
    color: var(--burgundy);
}

.tmn-textarea {
    padding-left: 1rem;
    resize: vertical;
    min-height: 130px;
    line-height: 1.7;
}


/* ── Star rating ────────────────────────── */
.tmn-stars {
    display: flex;
    gap: 0.4rem;
}

.tmn-star {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.2rem;
    color: var(--platinum);
    font-size: 1.7rem;
    line-height: 1;
    transition: color 0.15s ease, transform 0.15s ease;
}

    .tmn-star:hover,
    .tmn-star--active {
        color: var(--gold);
        transform: scale(1.15);
    }


/* ── File upload ────────────────────────── */
.tmn-file-label {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    cursor: pointer;
}

.tmn-file-input {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
    pointer-events: none;
}

.tmn-file-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.2rem;
    background: linear-gradient(135deg, var(--burgundy), var(--wine));
    color: var(--white);
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(107, 44, 62, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tmn-file-label:hover .tmn-file-btn {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(107, 44, 62, 0.28);
}

.tmn-file-name {
    font-size: 0.82rem;
    color: var(--luxury-gray);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 160px;
}


/* ── Validation error ───────────────────── */
.tmn-error {
    font-size: 0.78rem;
    color: #c0392b;
    font-weight: 500;
    display: block;
    min-height: 1rem;
}


/* ── Alert banners ──────────────────────── */
.tmn-alert {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.4rem;
    border-radius: 12px;
    font-size: 0.92rem;
    font-weight: 600;
    margin-bottom: 1.6rem;
}

    .tmn-alert i {
        font-size: 1rem;
        flex-shrink: 0;
    }

.tmn-alert--success {
    background: rgba(45,122,79,0.08);
    border: 1px solid rgba(45,122,79,0.25);
    color: #2d7a4f;
}

.tmn-alert--error {
    background: rgba(192,57,43,0.07);
    border: 1px solid rgba(192,57,43,0.25);
    color: #c0392b;
}


/* ── Submit ─────────────────────────────── */
.tmn-submit {
    display: flex;
    justify-content: center;
    padding-top: 0.5rem;
}


/* ── Responsive ─────────────────────────── */
@media (max-width: 968px) {
    .tmn-section {
        padding: 6rem 0 4rem;
    }

    .tmn-header__heading {
        font-size: 2.3rem;
    }
}

@media (max-width: 768px) {
    .tmn-header__heading {
        font-size: 2rem;
    }

    .tmn-row {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .tmn-card__body {
        padding: 2rem 1.8rem;
    }

    .tmn-file-name {
        max-width: 120px;
    }
}

@media (max-width: 480px) {
    .tmn-section {
        padding: 5rem 0 3rem;
    }

    .tmn-header__heading {
        font-size: 1.75rem;
    }

    .tmn-card__body {
        padding: 1.6rem 1.4rem;
    }

    .tmn-star {
        font-size: 1.5rem;
    }

    .tmn-file-label {
        flex-wrap: wrap;
    }

    .tmn-file-name {
        max-width: 100%;
    }
}
