/* ==========================================================================
   صفحات فرود خدمات ضیافیت
   فقط در صفحات فرود بارگذاری می‌شود. همه کلاس‌ها با lp- شروع می‌شوند تا با
   استایل‌های موجود سایت تداخل نکنند.
   ========================================================================== */

.landing-page {
  --lp-shell: #ffffff;
  --lp-line: var(--line, #dbe4dd);
  --lp-ink: var(--ink, #11251d);
  --lp-forest: var(--forest, #062319);
  --lp-lime: var(--lime, #a3e635);
  --lp-orange: var(--orange, #f97316);
  /* نارنجی تیره برای متن روی زمینه روشن: نارنجی اصلی روی پس‌زمینه روشن
     کنتراست کافی ندارد (نسبت ≈ ۲٫۸)، این رنگ از حد استاندارد رد می‌شود. */
  --lp-orange-ink: #a8480c;
  --lp-muted: var(--muted, #68766f);
}

.landing-page section { scroll-margin-top: 96px; }

/* چون متن روی زمینه روشن است، رنگ لایم برای متن کنتراست کافی ندارد.
   در بخش‌های روشن از سبز تیره و نارنجی استفاده می‌کنیم.
   نوار پایانی ثبت‌نام (`lp-start`) هم زمینه‌اش سفید است (`--lp-shell`)، ولی در
   این فهرست جا افتاده بود: لایم روی سفید نسبت ۱٬۵ به ۱ می‌داد، یعنی عملاً
   خوانده نمی‌شد. */
.lp-section .eyebrow,
.lp-heading .eyebrow,
.lp-expert .eyebrow,
.lp-start .eyebrow { color: var(--lime-ink, #4d6b23); }

/* ---------------------------------------------------------------- هیرو --- */
.lp-hero {
  background: var(--lp-forest);
  color: #ffffff;
  overflow: hidden;
}
.lp-hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  min-height: 620px;
  padding: 58px 0 46px;
}
.lp-hero__copy > .eyebrow { color: var(--lp-lime); }
.lp-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  color: #b9cbc1;
  margin-bottom: 22px;
}
/* هدف لمسی: حداقل ۴۴ پیکسل ارتفاع تا روی موبایل راحت خورده شود. */
.lp-crumbs a { color: #d8e5dd; display: inline-flex; align-items: center; min-height: 44px; padding-inline: 8px; }
.lp-crumbs a:hover { color: var(--lp-lime); }
.lp-crumbs strong { color: #ffffff; font-weight: 700; }
.lp-hero h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.9rem);
  line-height: 1.28;
  margin: 0 0 20px;
  font-weight: 800;
}
.lp-hero h1 em { color: var(--lp-lime); font-style: normal; }
.lp-hero__lead {
  font-size: 1.08rem;
  line-height: 2;
  color: #d2e2d9;
  max-width: 46ch;
  margin: 0 0 26px;
}
.lp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-bottom: 30px;
}
.lp-hero__actions .button { min-height: 50px; }
.lp-quiet-link {
  color: #d8e5dd;
  font-size: 0.9rem;
  border-bottom: 1px solid #ffffff4d;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-bottom: 3px;
}
.lp-quiet-link:hover { color: var(--lp-lime); border-color: var(--lp-lime); }
.lp-hero__aside { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 26px; color: #9db0a7; }
.lp-hero__aside .lp-quiet-link { padding: 8px 2px; }

/* ---- فرم سریع لید در هیرو -------------------------------------------------
   کارت روشن روی زمینه تیره، مثل بقیه کارت‌های سایت. فقط نام و شماره موبایل
   می‌گیرد تا قدم اول حتی برای کسی که حوصله پر کردن فرم بلند را ندارد، ممکن باشد. */
.lp-quick-lead {
  max-width: 560px;
  margin: 0 0 16px;
  padding: 18px 20px 14px;
  border-radius: 16px;
  background: #ffffff;
  color: var(--lp-ink);
  box-shadow: 0 22px 48px #0000002e;
}
.lp-quick-lead__title { display: flex; flex-direction: column; gap: 3px; margin: 0 0 12px; }
.lp-quick-lead__title strong { font-size: 1rem; color: var(--lp-forest); }
.lp-quick-lead__title span { font-size: 0.78rem; color: var(--lp-muted); }
.lp-quick-lead__fields { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; align-items: stretch; }
.lp-quick-lead__fields label { display: block; }
.lp-quick-lead__fields input {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid var(--lp-line);
  border-radius: 10px;
  background: #f7faf7;
  color: var(--lp-ink);
  font: inherit;
  font-size: 0.9rem;
}
.lp-quick-lead__fields input::placeholder { color: #93a49b; }
.lp-quick-lead__fields input:focus-visible { outline: 3px solid var(--lp-orange); outline-offset: 2px; border-color: var(--lp-orange); }
.lp-quick-lead__fields .button { min-height: 46px; padding: 12px 20px; white-space: nowrap; }
.lp-quick-lead .form-status { margin: 8px 0 0; min-height: 18px; }
/* رو زمینه سفید، نارنجی و لایم کنتراست کافی ندارند. */
.lp-quick-lead .form-status { color: #a8480c; }
.lp-quick-lead .form-status.success { color: #3f6212; }

/* ---- نوار دعوت چسبان و دکمهٔ شناور -------------------------------------
   استایل هر دو حالت در assets/css/cta-bar.css است: یک کامپوننت مشترک برای همهٔ
   صفحه‌های فرود (includes/cta-bar.php). پیش‌تر همین‌جا یک کپی از نوار بود و
   همان کپی در سه فایل دیگر هم تکرار شده بود؛ نتیجه‌اش این بود که نقطهٔ شکست
   هر صفحه فرق می‌کرد و کاربر تبلت در بخشی از عرض‌ها هیچ دکمه‌ای نمی‌دید.
   مارک‌آپ نوار هم از همان کامپوننت می‌آید، پس دیگر این‌جا چیزی نیست. */

.lp-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 0.9rem;
  color: #cfe0d6;
}
.lp-points li { display: flex; align-items: flex-start; gap: 10px; }
.lp-points li span { color: var(--lp-lime); font-weight: 700; flex-shrink: 0; }
.lp-points--dark li span { color: var(--lp-orange-ink); }

.lp-hero__art { display: flex; justify-content: center; align-items: flex-end; position: relative; }
.lp-hero__art::before {
  content: '';
  position: absolute;
  width: min(430px, 92%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, #a3e6352e 0%, #a3e6350d 46%, transparent 70%);
  bottom: 4%;
}
.lp-hero__art img {
  position: relative;
  width: min(470px, 100%);
  height: auto;
  max-height: 560px;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 22px 30px #00000052);
}

/* -------------------------------------------------------------- بخش‌ها --- */
.lp-section { padding: 92px 0; }
.lp-section:nth-of-type(even) { background: var(--lp-shell); }
.lp-heading { max-width: 640px; margin-bottom: 44px; }
.lp-heading h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  line-height: 1.35;
  margin: 0 0 14px;
  font-weight: 800;
}
.lp-heading h2 em { color: var(--lp-orange-ink); font-style: normal; }
.lp-heading p { color: var(--lp-muted); line-height: 2.1; margin: 0; }

/* ------------------------------------------------- دردسرهای رایج --- */
.lp-pain-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.lp-pain {
  background: var(--lp-shell);
  border: 1px solid var(--lp-line);
  border-radius: 16px;
  padding: 26px 24px;
  transition: border-color 0.25s, transform 0.25s;
}
.lp-pain:hover { border-color: var(--lp-lime); transform: translateY(-4px); }
.lp-pain h3 { font-size: 1.12rem; margin: 0 0 10px; }
.lp-pain p { color: var(--lp-muted); font-size: 0.92rem; line-height: 2; margin: 0; }
.lp-mid-cta { margin: 36px 0 0; }

/* ------------------------------------------- مسیر چهار مرحله‌ای (شاخص) --- */
.lp-steps { background: var(--lp-shell); }
.lp-step-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  counter-reset: none;
  position: relative;
}
.lp-step-list::before {
  content: '';
  position: absolute;
  top: 21px;
  right: 4%;
  left: 4%;
  height: 2px;
  background: linear-gradient(90deg, #a3e63500, #a3e635 16%, #a3e635 84%, #a3e63500);
  z-index: 0;
}
.lp-step { position: relative; z-index: 1; padding-top: 62px; }
.lp-step__number {
  position: absolute;
  top: 0;
  right: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--lp-forest);
  color: var(--lp-lime);
  display: grid;
  place-items: center;
  font: 700 0.82rem Inter, sans-serif;
  box-shadow: 0 0 0 7px rgba(163, 230, 53, 0.16);
}
.lp-step h3 { font-size: 1.08rem; margin: 0 0 9px; }
.lp-step p { color: var(--lp-muted); font-size: 0.9rem; line-height: 2; margin: 0; }

/* -------------------------------------------------- محتوای برنامه --- */
.lp-includes__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}
.lp-check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.lp-check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--lp-shell);
  border: 1px solid var(--lp-line);
  border-radius: 12px;
  padding: 15px 18px;
  font-size: 0.94rem;
  line-height: 1.9;
}
.lp-check-list li span { color: #4d6b23; font-weight: 700; flex-shrink: 0; }

/* --------------------------------------------------------- پکیج‌ها --- */
.lp-packages { background: var(--lp-shell); }
.lp-package-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}
.lp-package {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--lp-line);
  border-radius: 18px;
  padding: 30px 26px 26px;
  background: #fbfdfb;
}
.lp-package h3 { font-size: 1.3rem; margin: 0 0 6px; }
.lp-package__tagline { color: var(--lp-muted); font-size: 0.85rem; line-height: 1.9; margin: 0 0 18px; min-height: 48px; }
.lp-package__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 0 0 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--lp-line);
}
.lp-package__price strong { font: 800 1.7rem Inter, sans-serif; color: var(--lp-forest); }
.lp-package__price small { font-size: 0.75rem; color: var(--lp-muted); }
.lp-package ul {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 0.9rem;
  line-height: 1.9;
  flex-grow: 1;
}
.lp-package ul li { display: flex; gap: 9px; }
.lp-package ul li::before { content: '✓'; color: #4d6b23; font-weight: 700; }
.lp-package .button { width: 100%; min-height: 48px; }
.lp-package.is-featured {
  background: var(--lp-forest);
  border-color: var(--lp-forest);
  color: #ffffff;
  transform: translateY(-12px);
  box-shadow: 0 24px 50px rgba(6, 35, 25, 0.22);
}
.lp-package.is-featured h3,
.lp-package.is-featured .lp-package__price strong { color: #ffffff; }
.lp-package.is-featured .lp-package__tagline,
.lp-package.is-featured .lp-package__price small { color: #bbd0c3; }
.lp-package.is-featured .lp-package__price { border-color: #ffffff26; }
.lp-package.is-featured ul li::before { color: var(--lp-lime); }
.lp-package__badge {
  position: absolute;
  top: 0;
  right: 26px;
  transform: translateY(-50%);
  background: var(--lp-lime);
  color: var(--lp-forest);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 6px 13px;
  border-radius: 20px;
}
.lp-package-note {
  margin: 30px 0 0;
  font-size: 0.88rem;
  color: var(--lp-muted);
}

/* ------------------------------------------------------- معرفی متخصص --- */
.lp-expert__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: center;
}
.lp-expert__photo {
  position: relative;
  isolation: isolate;
  min-height: 470px;
  padding: 0;
  background: radial-gradient(ellipse at 50% 28%, #dff0c7 0%, #edf6e8 46%, #fbfdfb 78%);
  border: 1px solid #dce9dc;
  border-radius: 30px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 24px 60px #06231912;
}
.lp-expert__photo::before {
  content: '';
  position: absolute;
  z-index: 0;
  width: 68%;
  aspect-ratio: 1;
  top: 8%;
  left: 16%;
  border-radius: 50%;
  border: 1px solid #a3e63540;
  box-shadow: 0 0 0 14px #a3e6350a, 0 0 0 32px #a3e63506;
  pointer-events: none;
}
.lp-expert__photo .lp-photo { width: min(100%, 420px); }
.lp-expert__photo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 16px 20px #06231922);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 68%, rgba(0,0,0,.72) 82%, rgba(0,0,0,.28) 93%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 68%, rgba(0,0,0,.72) 82%, rgba(0,0,0,.28) 93%, transparent 100%);
}
.lp-expert__copy h2 { font-size: clamp(1.6rem, 2.6vw, 2.15rem); margin: 6px 0 8px; }
.lp-expert__role { color: var(--lp-orange-ink); font-size: 0.9rem; font-weight: 600; margin: 0 0 18px; line-height: 2; }
.lp-expert__copy p { color: var(--lp-muted); line-height: 2.1; }
.lp-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  border-top: 1px solid var(--lp-line);
  margin: 26px 0 0;
  padding-top: 22px;
}
.lp-credentials div { display: flex; flex-direction: column; }
.lp-credentials dt { font: 800 1.35rem Inter, sans-serif; color: var(--lp-orange-ink); }
.lp-credentials dd { margin: 0; font-size: 0.75rem; color: var(--lp-muted); }

/* ---------------------------------------------------------- نظرات --- */
.lp-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.lp-testimonial {
  margin: 0;
  background: var(--lp-shell);
  border: 1px solid var(--lp-line);
  border-radius: 16px;
  padding: 24px;
}
.lp-testimonial blockquote { margin: 0 0 14px; line-height: 2.1; }
.lp-testimonial figcaption { font-size: 0.82rem; font-weight: 700; }
.lp-testimonial figcaption span { font-weight: 400; color: var(--lp-muted); }

/* --------------------------------------------------- سؤالات متداول --- */
.lp-faq .faq-list { display: grid; gap: 12px; }
.lp-faq details {
  background: var(--lp-shell);
  border: 1px solid var(--lp-line);
  border-radius: 14px;
  padding: 4px 20px;
}
.lp-faq summary {
  cursor: pointer;
  font-weight: 700;
  padding: 16px 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after {
  content: '+';
  color: var(--lp-orange-ink);
  font: 700 1.3rem Inter, sans-serif;
  flex-shrink: 0;
}
.lp-faq details[open] summary::after { content: '−'; }
.lp-faq details[open] { border-color: var(--lp-lime); }
.lp-faq details p { margin: 0 0 18px; color: var(--lp-muted); line-height: 2.1; }

/* ------------------------------------------------------ شروع مسیر --- */
.lp-start { background: var(--lp-shell); }
.lp-start__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}
.lp-start__copy h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.4; margin: 10px 0 16px; }
.lp-start__copy h2 em { color: var(--lp-orange-ink); font-style: normal; }
.lp-start__copy p { color: var(--lp-muted); line-height: 2.1; }
.lp-start__copy .lp-points { margin-top: 22px; color: var(--lp-ink); }
.lp-form {
  background: #fbfdfb;
  border: 1px solid var(--lp-line);
  border-radius: 18px;
  padding: 30px 26px;
}
.lp-form .button { min-height: 50px; }

/* ---------------------------------------------------- بخش‌های مرتبط --- */
.lp-cross { padding-top: 20px; }
.lp-related-services { margin-top: 34px; }

/* -------------------------------------------------------- واکنش‌گرا --- */
@media (max-width: 980px) {
  .lp-hero__grid { grid-template-columns: 1fr; min-height: 0; gap: 30px; padding: 42px 0 34px; }
  .lp-hero__art { order: 2; }
  .lp-hero__art img { max-height: 420px; }
  .lp-hero__art::before { width: min(340px, 88%); }
  .lp-section { padding: 70px 0; }
  .lp-step-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .lp-step-list::before { display: none; }
  .lp-includes__grid,
  .lp-expert__grid,
  .lp-start__grid { grid-template-columns: 1fr; gap: 34px; }
  .lp-package-grid { grid-template-columns: 1fr; }
  .lp-package.is-featured { transform: none; }
  .lp-testimonial-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .lp-hero h1 { font-size: 1.95rem; }
  .lp-hero__lead { font-size: 1rem; }
  .lp-hero__actions { flex-direction: column; align-items: stretch; gap: 14px; }
  .lp-hero__actions .button { width: 100%; }
  .lp-quiet-link { text-align: center; border-bottom: 0; }
  .lp-hero__aside { justify-content: center; }
  .lp-quick-lead { padding: 16px 15px 12px; }
  .lp-quick-lead__fields { grid-template-columns: 1fr; }
  .lp-quick-lead__fields .button { width: 100%; }
  .lp-pain-grid { grid-template-columns: 1fr; }
  .lp-step-list { grid-template-columns: 1fr; }
  .lp-section { padding: 58px 0; }
  .lp-heading { margin-bottom: 30px; }
  .lp-credentials { gap: 20px; justify-content: space-between; }
  .lp-form { padding: 22px 18px; }
  .lp-package { padding: 26px 20px 22px; }
  .lp-package__badge { right: 18px; }
}

/* یادداشت هشدار (مثلاً برای صفحات دارای محدودیت پزشکی) */
.landing-page .lp-disclaimer-wrap { padding-block: 0; }
.landing-page .lp-disclaimer {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin: 0;
  padding: 20px 22px;
  border-radius: 14px;
  border: 1px solid #e2c79a;
  background: #fdf7ea;
  color: #5b4a2a;
  font-size: .88rem;
  line-height: 2;
}
.landing-page .lp-disclaimer strong {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #b8791f;
  color: #fff;
  font: 800 .95rem Inter, sans-serif;
}

/* دسترس‌پذیری: فوکوس دیدنی و احترام به کاهش حرکت */
.landing-page a:focus-visible,
.landing-page button:focus-visible,
.landing-page summary:focus-visible,
.landing-page input:focus-visible,
.landing-page select:focus-visible,
.landing-page textarea:focus-visible {
  outline: 3px solid var(--lp-orange);
  outline-offset: 3px;
  border-radius: 6px;
}

@media (prefers-reduced-motion: reduce) {
  .landing-page .lp-pain,
  .landing-page .button,
  .landing-page .lp-package.is-featured { transition: none; transform: none; }
  .landing-page .lp-pain:hover { transform: none; }
}
