.elementor-2365 .elementor-element.elementor-element-29ccca3{--display:flex;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--margin-top:-40px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-2365 .elementor-element.elementor-element-f6de41b.elementor-element{--align-self:center;}/* Start custom CSS for wd_contact_form_7, class: .elementor-element-d38542f *//* ===== کلی فرم و کارت ===== */
.lp-form-wrapper {
  display: flex;
  justify-content: center;
  padding: 24px 10px;
  background: #f5f7fb;
}

.lp-form-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 18px 18px;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

/* ===== عنوان ===== */
.lp-form-title {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
}

.lp-form-subtitle {
  margin: 0 0 10px;
  font-size: 12px;
  color: #64748b;
  line-height: 1.5;
}

/* ===== حذف هر نوع فاصله اضافی از قالب/CF7 ===== */
.lp-form-card p,
.lp-form-card br {
  margin: 0 !important;
  padding: 0 !important;
}

.lp-form-card .wpcf7-form-control-wrap {
  margin: 0 !important;
  padding: 0 !important;
  display: block;
}

/* ===== فاصله بین فیلدها (کاملاً کم) ===== */
.lp-contact-form {
  display: flex;
  flex-direction: column;
  gap: 2px !important;      /* فاصله بین بلاک‌ها */
}

.lp-form-group {
  display: flex;
  flex-direction: column;
  gap: 1px !important;      /* فاصله بین لیبل و فیلد */
  margin: 0 0 4px !important;
  padding: 0 !important;
}

/* آخرین فیلد کمی فاصله بیشتر برای دکمه */
.lp-form-group:last-of-type {
  margin-bottom: 6px !important;
}

/* ===== لیبل‌ها ===== */
.lp-form-group label {
  margin: 0 !important;
  font-size: 11px;
  font-weight: 600;
  color: #0f172a;
}

/* ===== اینپوت‌ها و تکست‌اریا ===== */
.lp-form-card input,
.lp-form-card textarea {
  margin: 0 !important;                   /* حذف margin قالب */
  font-family: inherit;
  font-size: 13px;
  padding: 6px 9px;                       /* ارتفاع کم و حرفه‌ای */
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.9);
  background: #f9fafb;
  outline: none;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

.lp-form-card textarea {
  resize: vertical;
  min-height: 90px;                       /* جمع‌وجور */
}

.lp-form-card input::placeholder,
.lp-form-card textarea::placeholder {
  color: #9ca3af;
  text-align: left;
}

/* فوکوس عمومی */
.lp-form-card input:focus,
.lp-form-card textarea:focus {
  background: #ffffff;
  border-color: #4f46e5;
  box-shadow: 0 0 0 1px rgba(79, 70, 229, 0.12);
}

/* ===== تکست‌اریا خاص (گرادیانت شیک ولی کامپکت) ===== */
.lp-form-group-textarea textarea {
  border-radius: 12px;
  background: radial-gradient(circle at 0 0, #fefce8 0, #f9fafb 45%, #eef2ff 100%);
  caret-color: #ff5500;
}

/* ارورها و پیام CF7 */
.wpcf7-not-valid-tip {
  font-size: 11px;
  color: #dc2626;
  margin-top: 2px;
}

.wpcf7 form .wpcf7-response-output {
  margin-top: 10px;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 12px;
}

/* ===== دکمه ارسال ===== */
.lp-submit-btn {
  margin-top: 4px;
  width: 100%;
  border: none;
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  background: #ff5500;
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(255, 85, 0, 0.35);
  transition: transform 0.12s, box-shadow 0.12s, filter 0.12s;
}

.lp-submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(255, 85, 0, 0.45);
  filter: brightness(1.05);
}

.lp-submit-btn:active {
  transform: translateY(0);
  box-shadow: 0 6px 14px rgba(255, 85, 0, 0.35);
}

/* ===== ریسپانسیو موبایل ===== */
@media (max-width: 480px) {
  .lp-form-wrapper {
    padding: 16px 6px;
  }

  .lp-form-card {
    padding: 14px 12px;
    border-radius: 14px;
  }

  .lp-form-title {
    font-size: 18px;
  }

  .lp-form-subtitle {
    font-size: 11px;
    margin-bottom: 8px;
  }

  .lp-contact-form {
    gap: 2px !important;
  }

  .lp-form-group {
    margin-bottom: 3px !important;
  }

  .lp-form-card input,
  .lp-form-card textarea {
    padding: 6px 8px;
    font-size: 12px;
  }

  .lp-form-card textarea {
    min-height: 80px;
  }
}


/* ظرف پیام بالای فرم */
.lp-form-response {
  margin: 0 0 8px;
}

/* استایل پایه برای پیام CF7 */
.lp-form-response .wpcf7-response-output {
  margin: 0 !important;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 12px;
  line-height: 1.5;
  border-width: 1px;
  border-style: solid;
  animation: lp-response-slide 0.25s ease-out;
}

/* ✅ حالت موفق (ایمیل ارسال شد) */
.wpcf7 form.sent .lp-form-response .wpcf7-response-output {
  background: #ecfdf3;
  border-color: #22c55e;
  color: #166534;
}

/* ❌ حالت خطا / ولیدیشن */
.wpcf7 form.invalid .lp-form-response .wpcf7-response-output,
.wpcf7 form.failed .lp-form-response .wpcf7-response-output {
  background: #fef2f2;
  border-color: #ef4444;
  color: #b91c1c;
}

/* انیمیشن نرمی که از بالا اسلاید می‌شود */
@keyframes lp-response-slide {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* کمی هایلایت شدن کارت وقتی فرم موفق ارسال شده */
.wpcf7 form.sent .lp-form-card {
  box-shadow: 0 14px 34px rgba(34, 197, 94, 0.25);
  border-color: rgba(34, 197, 94, 0.6);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-f6de41b *//* =========================
   Layout & Card
   ========================= */
.lp-form-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  background: linear-gradient(135deg, #f5f7fb, #eef3ff);
}

.lp-form-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 32px 30px;
  max-width: 520px;
  width: 100%;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.16);
  border: 1px solid rgba(148, 163, 184, 0.25);
}

/* =========================
   Title & Subtitle
   ========================= */
.lp-form-title {
  margin: 0 0 8px;
  font-size: 26px;
  font-weight: 700;
  color: #0f172a;
}

.lp-form-subtitle {
  margin: 0 0 24px;
  font-size: 14px;
  color: #64748b;
  line-height: 1.7;
}

/* =========================
   Form Spacing (Reduced)
   ========================= */
.lp-contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px !important; /* reduced */
}

.lp-form-group {
  display: flex;
  flex-direction: column;
  gap: 4px !important; /* reduced */
}

.lp-form-group label {
  font-size: 13px;
  font-weight: 600;
  color: #0f172a;
}

/* =========================
   Inputs & Textarea
   ========================= */
.lp-form-group input,
.lp-form-group textarea {
  font-family: inherit;
  font-size: 14px;
  padding: 10px 12px !important; /* reduced padding */
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.9);
  background: #f9fafb;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, transform 0.12s ease;
  width: 100%;
  box-sizing: border-box;
}

.lp-form-group textarea {
  resize: vertical;
  min-height: 140px !important; /* reduced size */
}

.lp-form-group input::placeholder,
.lp-form-group textarea::placeholder {
  color: #9ca3af;
  text-align: left;
}

.lp-form-group input:focus,
.lp-form-group textarea:focus {
  background: #ffffff;
  border-color: #4f46e5;
  box-shadow: 0 0 0 1px rgba(79, 70, 229, 0.15);
}

/* =========================
   Enhanced Textarea
   ========================= */
.lp-form-group-textarea textarea {
  padding: 12px 14px 26px !important;
  border-radius: 16px;
  background: radial-gradient(circle at 0 0, #fefce8 0, #f9fafb 48%, #eef2ff 100%);
  caret-color: #ff5500;
  line-height: 1.7;
}

.lp-form-group-textarea textarea:focus {
  border-color: #ff5500;
  box-shadow:
    0 0 0 1px rgba(255, 85, 0, 0.3),
    0 18px 40px rgba(15, 23, 42, 0.18);
  background: #ffffff;
  transform: translateY(-1px);
}

.lp-textarea-hint {
  font-size: 10.5px !important;
  color: #9ca3af;
  margin-top: 2px !important;
}

/* =========================
   CF7 Errors & Response
   ========================= */
.wpcf7-not-valid-tip {
  font-size: 12px;
  color: #dc2626;
  margin-top: 3px;
}

.wpcf7 form .wpcf7-response-output {
  margin-top: 16px;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 13px;
}

/* =========================
   Submit Button
   ========================= */
.lp-submit-btn {
  margin-top: 10px;
  width: 100%;
  border: none;
  border-radius: 999px;
  padding: 13px 20px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  background: #ff5500;
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(255, 85, 0, 0.38);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.lp-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(255, 85, 0, 0.48);
  filter: brightness(1.05);
}

.lp-submit-btn:active {
  transform: translateY(0);
  box-shadow: 0 8px 18px rgba(255, 85, 0, 0.35);
}

/* =========================
   Tablet Responsive
   ========================= */
@media (max-width: 768px) {
  .lp-form-wrapper {
    padding: 28px 14px;
  }

  .lp-form-card {
    padding: 24px 20px;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.14);
  }

  .lp-form-title {
    font-size: 22px;
  }

  .lp-contact-form {
    gap: 10px !important;
  }

  .lp-form-group input,
 .lp-form-group textarea {
    font-size: 13px;
  }
}

/* =========================
   Mobile Responsive
   ========================= */
@media (max-width: 480px) {
  .lp-form-wrapper {
    padding: 22px 10px;
    background: #f5f7fb;
  }

  .lp-form-card {
    padding: 20px 16px;
    border-radius: 16px;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.12);
  }

  .lp-form-title {
    font-size: 20px;
  }

  .lp-form-subtitle {
    font-size: 13px;
    margin-bottom: 18px;
  }

  .lp-contact-form {
    gap: 10px !important;
  }

  .lp-form-group {
    gap: 3px !important;
  }

  .lp-form-group-textarea textarea {
    min-height: 120px !important;
    padding: 10px 12px 22px !important;
  }

  .lp-submit-btn {
    padding: 11px 16px;
    font-size: 14px;
  }
}/* End custom CSS */