/* ═══════════════════════════════════════════════════════════════════
   FORM OPTIMIZATION: Conversion Rate Improvement (0.76% → 2%+)
   Task #1317014: Landing Page Comprehensive Optimization
   ═══════════════════════════════════════════════════════════════════ */

/* ─── REQUIRED FIELD MARKER ─── */
.required-marker::after {
    content: ' *';
    color: var(--accent);
    font-weight: 700;
}

/* ─── TWO-COLUMN CONTACT METHOD + INPUT (ONE ROW) ─── */
.form-row-combined {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 16px;
    margin-bottom: 20px;
}

.form-group-channel,
.form-group-contact-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group-channel label,
.form-group-contact-info label {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    display: block;
}

.form-group-channel select,
.form-group-contact-info input {
    font-size: 15px;
    padding: 12px 14px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    background: white;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group-channel select:focus,
.form-group-contact-info input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255, 87, 34, 0.1);
}

/* ─── OPTIONAL FIELDS STYLING ─── */
.optional-field {
    margin-bottom: 18px;
    opacity: 0.85;
}

.optional-field label {
    font-size: 13px;
    color: var(--slate);
}

.optional-field input,
.optional-field select {
    opacity: 0.9;
}

/* ─── TRUST BADGE (Above CTA) ─── */
.form-trust-badge {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(255, 87, 34, 0.05));
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 8px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 24px 0 16px 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
}

.trust-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    font-size: 11px;
    flex-shrink: 0;
}

.trust-text {
    line-height: 1.4;
}

/* ─── ENHANCED CTA BUTTON ─── */
.form-submit-primary {
    background: linear-gradient(135deg, var(--accent) 0%, #ff7043 100%);
    color: white;
    font-size: 15px;
    font-weight: 700;
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 16px rgba(255, 87, 34, 0.25);
    width: 100%;
    text-transform: none;
    letter-spacing: 0;
}

.form-submit-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255, 87, 34, 0.35);
}

.form-submit-primary:active {
    transform: translateY(0);
}

/* ─── THREE-CHANNEL CONTACT PANEL ─── */
.form-contact-channels {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 16px 0 20px 0;
}

.contact-channel-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 14px 12px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    background: white;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
}

.contact-channel-btn:hover {
    border-color: var(--accent);
    background: rgba(255, 87, 34, 0.02);
    transform: translateY(-2px);
}

.channel-icon {
    font-size: 24px;
}

.channel-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.channel-label {
    font-weight: 700;
    font-size: 12px;
    color: var(--ink);
}

.channel-info {
    font-size: 11px;
    color: var(--slate);
    font-weight: 500;
}

/* ─── WECHAT CHANNEL SPECIAL STYLING ─── */
.wechat-channel {
    background: linear-gradient(135deg, rgba(9, 168, 109, 0.05), rgba(9, 168, 109, 0.02));
}

.wechat-channel:hover {
    border-color: #09a86d;
}

/* ─── WHATSAPP CHANNEL SPECIAL STYLING ─── */
.whatsapp-channel {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.05), rgba(37, 211, 102, 0.02));
}

.whatsapp-channel:hover {
    border-color: #25d366;
}

/* ─── EMAIL CHANNEL SPECIAL STYLING ─── */
.email-channel {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(59, 130, 246, 0.02));
}

.email-channel:hover {
    border-color: #3b82f6;
}

/* ─── MOBILE OPTIMIZATION ─── */
@media (max-width: 640px) {
    .form-row-combined {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .form-contact-channels {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .form-submit-primary {
        font-size: 14px;
        padding: 13px 24px;
    }

    .contact-channel-btn {
        padding: 12px 10px;
        font-size: 11px;
    }

    .channel-icon {
        font-size: 20px;
    }

    .form-trust-badge {
        font-size: 12px;
        padding: 10px 12px;
    }
}

/* ─── FORM SECTION IMPROVEMENTS ─── */
#inquiry-form-wrap {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.98));
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

@media (max-width: 640px) {
    #inquiry-form-wrap {
        padding: 24px 20px;
        border-radius: 10px;
    }
}

/* ─── FORM NOTE STYLING ─── */
.form-note {
    font-size: 12px;
    color: var(--slate-light);
    text-align: center;
    margin-top: 12px;
    font-weight: 500;
}

/* ─── OR DIVIDER ─── */
.form-or {
    text-align: center;
    font-size: 13px;
    color: var(--slate);
    margin: 16px 0 12px 0;
    font-weight: 500;
}
