/* ============================================================================
 * D-Motion Lab - Contact Form
 * ============================================================================ */

.da-contact-wrap {
    max-width: 680px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: 'Segoe UI', sans-serif;
    color: #c8d0e8;
}

/* ── Header ── */
.da-contact-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}
.da-contact-header-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, #7eb8ff55);
}
.da-contact-header-line:last-child {
    background: linear-gradient(90deg, #7eb8ff55, transparent);
}
.da-contact-title {
    font-size: 1.4rem;
    font-weight: bold;
    letter-spacing: 0.3em;
    color: #7eb8ff;
    white-space: nowrap;
    margin: 0;
    text-shadow: 0 0 12px rgba(126, 184, 255, 0.4);
}

.da-contact-desc {
    font-size: 0.9rem;
    color: #8090b0;
    margin-bottom: 36px;
    line-height: 1.8;
    text-align: center;
}

/* ── Form ── */
.da-contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.da-contact-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.da-contact-field label {
    font-size: 0.85rem;
    color: #a0b0d0;
    letter-spacing: 0.05em;
}

.da-contact-required {
    color: #ff6b6b;
    margin-left: 3px;
}

.da-contact-field input,
.da-contact-field textarea {
    background: #0d1020;
    border: 1px solid #2a3050;
    border-radius: 6px;
    color: #e0e8ff;
    font-size: 0.95rem;
    padding: 12px 14px;
    outline: none;
    transition: border-color 0.25s, box-shadow 0.25s;
    resize: vertical;
    font-family: inherit;
}

.da-contact-field input::placeholder,
.da-contact-field textarea::placeholder {
    color: #3a4468;
}

.da-contact-field input:focus,
.da-contact-field textarea:focus {
    border-color: #7eb8ff;
    box-shadow: 0 0 0 2px rgba(126, 184, 255, 0.15);
}

.da-contact-field input.da-field-error,
.da-contact-field textarea.da-field-error {
    border-color: #ff6b6b;
}

.da-contact-error {
    font-size: 0.8rem;
    color: #ff6b6b;
    min-height: 1.2em;
}

/* ── Submit ── */
.da-contact-submit-wrap {
    display: flex;
    justify-content: flex-end;
}

.da-contact-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: 1.5px solid #7eb8ff;
    color: #7eb8ff;
    border-radius: 6px;
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: bold;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: background 0.25s, color 0.25s, box-shadow 0.25s;
}

.da-contact-btn:hover:not(:disabled) {
    background: #7eb8ff;
    color: #0d1020;
    box-shadow: 0 0 16px rgba(126, 184, 255, 0.4);
}

.da-contact-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.da-contact-btn-icon {
    font-size: 1.1rem;
    transition: transform 0.2s;
}
.da-contact-btn:hover .da-contact-btn-icon {
    transform: translateX(4px);
}

/* ── Result ── */
.da-contact-result {
    text-align: center;
    font-size: 0.9rem;
    padding: 12px;
    border-radius: 6px;
    display: none;
}
.da-contact-result.success {
    display: block;
    background: rgba(126, 184, 255, 0.1);
    border: 1px solid #7eb8ff44;
    color: #7eb8ff;
}
.da-contact-result.error {
    display: block;
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid #ff6b6b44;
    color: #ff6b6b;
}

@keyframes da-spin {
    to { transform: rotate(360deg); }
}
.da-contact-btn.sending .da-contact-btn-icon {
    display: inline-block;
    animation: da-spin 0.8s linear infinite;
}
