/* ==========================================================================
   Victor Trader — فرم تماس (المان المنتور)
   رنگ‌ها از توکن‌های تنظیمات قالب می‌آیند؛ مقدارهای روبه‌رو فقط پشتیبانند.
   ========================================================================== */

.vt-form {
    --vt-surface: #ffffff;
    --vt-green: #00b894;
    --vt-green-dark: #027a62;
    --vt-on-green: #ffffff;
    --vt-mint: #e2f5ee;
    --vt-mint-soft: #eff9f1;
    --vt-ink: #162320;
    --vt-body: #2f3e3a;
    --vt-faint: #6b7b77;
    --vt-line: #dceae3;
    --vt-line-soft: #edf3f0;
    --vt-down: #c2373b;
    --vt-down-bg: #fdf2f2;
    --vt-form-radius: 14px;

    box-sizing: border-box;
    color: var(--vt-body);
}

.vt-form *,
.vt-form *::before,
.vt-form *::after { box-sizing: border-box; }

/* سرصفحه --------------------------------------------------------------- */

.vt-form__head { margin-bottom: 22px; }

.vt-form .vt-form__title {
    margin: 0 0 8px;
    padding: 0;
    border: 0;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.6;
    color: var(--vt-ink);
}
.vt-form .vt-form__desc { margin: 0; font-size: 14.5px; line-height: 1.9; color: var(--vt-faint); }

/* فیلدها ---------------------------------------------------------------- */

.vt-form__form { position: relative; }

.vt-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.vt-form__field {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}
.vt-form__field.is-half { grid-column: span 1; }

.vt-form .vt-form__field label {
    margin: 0;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--vt-faint);
}
.vt-form .vt-form__field label i {
    font-style: normal;
    color: var(--vt-down);
    margin-inline-start: 3px;
}

.vt-form .vt-form__field input,
.vt-form .vt-form__field select,
.vt-form .vt-form__field textarea {
    width: 100%;
    min-height: 52px;
    padding: 13px 15px;
    border: 1px solid var(--vt-line);
    border-radius: var(--vt-form-radius);
    background: var(--vt-surface, #fff);
    font-family: inherit;
    font-size: 14.5px;
    line-height: 1.8;
    color: var(--vt-ink);
    transition: border-color .18s ease, box-shadow .18s ease;
}
.vt-form .vt-form__field textarea { min-height: 132px; resize: vertical; }

.vt-form .vt-form__field input:focus,
.vt-form .vt-form__field select:focus,
.vt-form .vt-form__field textarea:focus {
    outline: 0;
    border-color: var(--vt-green);
    box-shadow: 0 0 0 3px var(--vt-mint);
}
.vt-form .vt-form__field input:invalid:not(:placeholder-shown),
.vt-form .vt-form__field textarea:invalid:not(:placeholder-shown) { border-color: var(--vt-down); }

/* تله‌ی ربات ------------------------------------------------------------ */

/* دور از چشم، ولی بدون ساختن فضای اسکرول اضافه.
   نسخه‌ی قبلی left:-9999px بود که در صفحه‌ی راست‌چین یک ناحیه‌ی خالی
   ۱۰ هزار پیکسلی می‌ساخت و در موبایل صفحه سفید و اسکرول‌شدنی می‌شد. */
.vt-form__hp {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    border: 0;
    overflow: hidden;
    white-space: nowrap;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
}

/* دکمه و پیام ----------------------------------------------------------- */

.vt-form__foot {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.vt-form .vt-form__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    padding: 0 30px;
    border: 0;
    border-radius: var(--vt-form-radius);
    background: var(--vt-green);
    color: var(--vt-on-green);
    font-family: inherit;
    font-size: 15.5px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: background .18s ease, opacity .18s ease;
}
.vt-form .vt-form__btn:hover { background: var(--vt-green-dark); color: var(--vt-on-green); }
.vt-form .vt-form__btn:disabled { opacity: .65; cursor: default; }

.vt-form__note { font-size: 12.5px; color: var(--vt-faint); }

.vt-form .vt-form__msg {
    margin: 16px 0 0;
    padding: 13px 16px;
    border: 1px solid var(--vt-line);
    border-inline-start: 3px solid var(--vt-green);
    border-radius: 12px;
    background: var(--vt-mint-soft);
    font-size: 14px;
    color: var(--vt-body);
}
.vt-form .vt-form__msg.is-bad {
    border-inline-start-color: var(--vt-down);
    background: var(--vt-down-bg);
    color: var(--vt-down);
}

/* موبایل ---------------------------------------------------------------- */

@media (max-width: 767px) {
    .vt-form__grid { grid-template-columns: minmax(0, 1fr); gap: 15px; }
    .vt-form__field.is-half { grid-column: 1 / -1; }
    .vt-form .vt-form__title { font-size: 21px; }
    .vt-form .vt-form__btn { width: 100%; }
}
