/* صفحه‌ی «تماس با ما» — عیناً مطابق app/page/contact-us + FormContactus.jsx (Next.js).
   وزن‌ها (نگاشت فونت Vazir در next-home.css): thin=100 · normal=400(Light) · bold=700→500(Bold) · black=600 */
.ct{font-family:Vazir,Vazirmatn,sans-serif;color:#383E43;width:100%;margin:96px auto 0;line-height:normal}
.ct p,.ct h1{margin:0}
@media(min-width:640px){.ct{max-width:640px}}@media(min-width:768px){.ct{max-width:768px}}
@media(min-width:1024px){.ct{max-width:1024px;padding:40px}}@media(min-width:1280px){.ct{max-width:1280px}}@media(min-width:1536px){.ct{max-width:1536px}}
.ct-main{width:100%;display:flex;flex-direction:column;justify-content:space-between;gap:20px;padding:32px}
.ct-form-col{display:flex;flex-direction:column}
.ct-info-col{display:flex;flex-direction:column;align-items:flex-start;gap:40px;order:-1}
.ct-head{display:flex;flex-direction:column;align-items:flex-start;gap:12px}
.ct-tag{color:#D32F2F;border-right:8px solid #D32F2F;padding-right:8px;text-align:right;font-size:15px;font-weight:400}
.ct-h1{color:#383E43;text-align:right;font-size:18px;font-weight:600}
.ct-sub{width:421px;color:#7D7D87;text-align:justify;font-size:14px;font-weight:400}
.ct-form-box{margin-top:80px}
.ct-mb{margin-bottom:80px}
.ct-desk,.ct-desk-flex{display:none}
.ct-mob{display:flex}.ct-mob-flex{display:flex}
.ct-img,.ct-img-m{position:relative}
.ct-img-m{width:334.766px;height:296.099px}
.ct-img{width:384.766px;height:296.099px}
.ct-img img,.ct-img-m img{position:absolute;inset:0;width:100%;height:100%}
.ct-list{margin-top:40px;display:flex;flex-direction:column;align-items:flex-start;gap:20px}
.ct-row{display:flex;align-items:center;gap:20px}
.ct-row svg{display:block}
.ct-line{display:flex;align-items:center;gap:8px;color:#3b3e41;font-size:16px;font-weight:700}
.ct-link{color:#3b3e41;font-size:16px;font-weight:100;text-decoration:none;margin-top:20px}
@media(min-width:768px){.ct-link{margin-top:0}}
.ct .footerBox{position:relative}
.ct .footerBox::after{content:"";position:absolute;right:0;bottom:-4px;border-radius:20px;width:100%;height:1.5px;background:#e4002b;transform:scaleX(0);transform-origin:right;transition:transform .25s}
.ct .footerBox:hover::after{transform:scaleX(1)}

.ct-fields{display:flex;flex-direction:column;align-items:flex-start;justify-content:center}
.ct-field{display:flex;flex-direction:column}
.ct-field label{text-align:right;margin-bottom:8px;font-size:16px;font-weight:700}
.ct-req{color:#E4002B}
.ct-input{margin-top:4px;padding:8px;font-family:inherit;font-size:16px;font-weight:400;margin-bottom:20px;width:335px;outline:none;border:1px solid #e5e7eb;border-radius:4px;background:#fff;color:#383E43;transition:all .15s;box-sizing:border-box}
.ct-input:hover{border-color:#ef4444}
.ct-input:focus{box-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1)}
.ct-input::placeholder{color:#9ca3af}
.ct-area{height:168px;resize:vertical}
.ct-err{padding-bottom:20px;height:24px;margin-bottom:20px;color:#C30000;font-size:14px;box-sizing:border-box}
input[type=number].ct-input{-moz-appearance:textfield}
.ct-submit-row{display:flex;justify-content:flex-end}
.ct-btn{display:flex;align-items:center;justify-content:center;gap:8px;margin-bottom:40px;width:165px;height:40px;box-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);border-radius:20px;background:#E4002B;color:#fff;padding:8px;border:0;cursor:pointer;font-family:inherit;font-size:16px;transition:box-shadow .15s}
.ct-btn p{margin:0}
.ct-btn:hover{box-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1)}
.ct-btn.loading{margin-bottom:40px}
.ct-spin{width:20px;height:20px;border:2px solid rgba(255,255,255,.35);border-top-color:#fff;border-radius:50%;animation:ctsp .7s linear infinite}
@keyframes ctsp{to{transform:rotate(360deg)}}
.ct-flash{padding:12px 16px;border-radius:8px;font-size:14px;margin-bottom:16px;max-width:385px}
.ct-flash.ok{background:#e8f7ee;color:#157347}.ct-flash.err{background:#fde4ea;color:#C30000}
.ct-toast{position:fixed;left:50%;bottom:24px;transform:translate(-50%,20px);opacity:0;pointer-events:none;background:#363636;color:#fff;padding:12px 18px;border-radius:8px;font-size:14px;box-shadow:0 3px 10px rgba(0,0,0,.1),0 3px 3px rgba(0,0,0,.05);z-index:99999;transition:all .25s;max-width:90vw}
.ct-toast.on{opacity:1;transform:translate(-50%,0)}

@media(min-width:768px){
  .ct-input{width:385px}
  .ct-toast{bottom:24px}
}
@media(max-width:767px){.ct-toast{bottom:84px}}
@media(min-width:1024px){
  .ct-main{flex-direction:row}
  .ct-info-col{order:1}
  .ct-desk{display:flex}.ct-desk-flex{display:flex}
  .ct-mob,.ct-mob-flex{display:none}
  .ct-submit-row{margin-left:36px}
}
