.testi-section {
    max-width: 1200px;
    margin: 0 auto;
}

.testi-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(10, 10, 10, 0.96);
    overflow-y: auto;
}

.testi-modal-overlay.open {
    display: block;
}

.testi-modal-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 5rem 2rem 4rem;
}

.testi-seemore-wrap {
    margin-bottom: 1.5rem;
    justify-content: center;
    margin-top: 2.5rem;
}

.testi-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.testi-date {
    font-size: 0.68rem;
    color: rgba(250, 250, 250, 0.3);
    letter-spacing: 0.5px;
    margin-top: 0.6rem;
    text-align: right;
    line-height: 1.5;
}

.testi-modal-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.testi-inputs select {
    background: rgba(250, 250, 250, 0.04);
    border: 1px solid rgba(250, 250, 250, 0.1);
    color: var(--white);
    padding: 0.8rem 1rem;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    outline: none;
    width: 100%;
    cursor: pointer;
    transition: border-color 0.3s;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23C9A84C' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}

#testimoni .testi-section {
    max-width: 1200px;
    margin: 0 auto;
}

#testimoni .section-title,
#testimoni .section-label,
#testimoni .divider {
    text-align: left;
}

.testi-inputs select:focus {
    border-color: rgba(201, 168, 76, 0.5);
}

.testi-inputs select option {
    background: #1A1A1A;
    color: var(--white);
}

.testi-inputs select optgroup {
    color: var(--gold);
    font-size: 0.78rem;
    letter-spacing: 1px;
}

.testi-inputs input[readonly] {
    opacity: 0.6;
    cursor: not-allowed;
    border-style: dashed;
}

.testi-delete-btn {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(192, 57, 43, 0.15);
    border: 1px solid rgba(192, 57, 43, 0.4);
    color: #e05c4b;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.75rem;
    transition: all 0.2s;
    z-index: 2;
}

.testi-delete-btn:hover {
    background: rgba(192, 57, 43, 0.35);
}

.testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.testi-card {
    border: 1px solid rgba(250, 250, 250, 0.07);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s;
}

.testi-card:hover {
    border-color: rgba(201, 168, 76, 0.3);
}

.testi-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, var(--gold), transparent);
}

.testi-quote-mark {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: rgba(201, 168, 76, 0.2);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.testi-pesan {
    font-size: 0.9rem;
    color: rgba(250, 250, 250, 0.55);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.testi-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(201, 168, 76, 0.1);
    border: 1.5px solid rgba(201, 168, 76, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--gold);
    flex-shrink: 0;
}

.testi-author-name {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--white);
}

.testi-author-role {
    font-size: 0.68rem;
    color: var(--gold);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 2px;
}

.testi-new-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 0.6rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    background: rgba(201, 168, 76, 0.12);
    color: var(--gold);
    border: 1px solid rgba(201, 168, 76, 0.3);
    padding: 2px 8px;
}

.testi-form-wrap {
    text-align: center;
}

.testi-toggle-btn {
    background: transparent;
    border: 1px solid rgba(201, 168, 76, 0.4);
    color: var(--gold);
    padding: 0.8rem 2rem;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
}

.testi-toggle-btn:hover {
    background: var(--gold);
    color: var(--dark);
}

.testi-form {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testi-form.open {
    max-height: 500px;
}

.testi-form-inner {
    max-width: 600px;
    margin: 2rem auto 0;
    border: 1px solid rgba(201, 168, 76, 0.15);
    padding: 2.5rem;
    text-align: left;
}

.testi-form-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.testi-inputs {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.testi-inputs input,
.testi-inputs textarea {
    background: rgba(250, 250, 250, 0.04);
    border: 1px solid rgba(250, 250, 250, 0.1);
    color: var(--white);
    padding: 0.8rem 1rem;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    outline: none;
    resize: none;
    transition: border-color 0.3s;
    width: 100%;
}

.testi-inputs input::placeholder,
.testi-inputs textarea::placeholder {
    color: rgba(250, 250, 250, 0.25);
}

.testi-inputs input:focus,
.testi-inputs textarea:focus {
    border-color: rgba(201, 168, 76, 0.5);
}

.testi-char {
    font-size: 0.72rem;
    color: rgba(250, 250, 250, 0.3);
    text-align: right;
    margin-top: -0.5rem;
}

.testi-form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.testi-empty {
    grid-column: 1 / -1;
    text-align: center;
    color: rgba(250, 250, 250, 0.25);
    font-size: 0.9rem;
    padding: 3rem 0;
    border: 1px dashed rgba(250, 250, 250, 0.08);
}

@media (max-width: 900px) {
    .testi-grid {
        grid-template-columns: 1fr 1fr;
    }
}