/* ==========================================================================
   Espart — Agency landing (اخذ نمایندگی) (requires main.css)
   Figma: ۰۷ › نماینده ۱–۶ · لندینگ همکاری و اخذ نمایندگی — دسکتاپ (1440)
   Mobile has no Figma frame: stacked with the system's mobile patterns.
   ========================================================================== */
.lhero { background: #002f62; color: var(--white); }
.lhero__inner { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding-top: 32px; padding-bottom: 32px; }
.lhero__badge { padding: 4px 12px; border-radius: 999px; background: var(--accent); color: var(--gray-900); font-weight: 700; font-size: 12px; line-height: 20px; }
.lhero__title { font-weight: 900; font-size: 24px; line-height: 36px; }
.lhero__desc { max-width: 720px; font-weight: 400; font-size: 14px; line-height: 24px; color: var(--primary-100); }
.lhero__cta { display: flex; flex-direction: column; gap: 12px; align-self: stretch; }
.lsec { display: flex; flex-direction: column; gap: 16px; padding-top: 32px; padding-bottom: 8px; }
.lsec__title { font-weight: 700; font-size: 18px; line-height: 28px; color: var(--gray-900); }

/* Benefits */
.benefits { display: grid; grid-template-columns: 1fr; gap: 12px; }
.benefit { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 20px; border: 1px solid var(--gray-300); border-radius: 12px; background: var(--white); box-shadow: var(--shadow-xs); }
.benefit__icon { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; background: var(--primary-50); color: var(--primary); }
.benefit__icon .ic { width: 24px; height: 24px; }
.benefit b { font-weight: 700; font-size: 16px; line-height: 26px; color: var(--gray-900); }
.benefit p { font-weight: 400; font-size: 13px; line-height: 22px; color: var(--gray-700); }

/* 7-step process: vertical (mobile) / horizontal (desktop) */
.proc { display: flex; flex-direction: column; gap: 0; padding: 16px; border: 1px solid var(--gray-300); border-radius: 16px; background: var(--white); }
.proc__step { position: relative; display: flex; align-items: center; gap: 12px; padding-bottom: 16px; }
.proc__step:last-child { padding-bottom: 0; }
.proc__step::after { content: ""; position: absolute; right: 19px; top: 40px; bottom: 0; width: 2px; background: #b2cdf0; }
.proc__step:last-child::after { display: none; }
.proc__dot { display: flex; align-items: center; justify-content: center; flex: none; width: 40px; height: 40px; border: 2px solid var(--primary); border-radius: 999px; background: var(--primary-50); color: var(--primary); font-weight: 700; font-size: 14px; line-height: 24px; }
.proc__text { display: flex; flex-direction: column; }
.proc__text b { font-weight: 700; font-size: 13px; line-height: 22px; color: var(--gray-900); white-space: nowrap; }
.proc__text span { font-weight: 400; font-size: 12px; line-height: 20px; color: var(--gray-600); }

/* Form + aside */
.lform-row { display: flex; flex-direction: column; gap: 16px; padding-bottom: 24px; }
.lform { display: flex; flex-direction: column; gap: 16px; padding: 16px; border: 1px solid var(--gray-300); border-radius: 16px; background: var(--white); box-shadow: 0 2px 8px rgba(33, 37, 41, .1); }
.lform__title { font-weight: 700; font-size: 20px; line-height: 32px; color: var(--gray-900); }
.lform__grid { display: grid; grid-template-columns: 1fr; gap: 12px 16px; }
.lform .inp__box { text-align: right; }
.lform .inp__box[type="tel"] { direction: ltr; text-align: left; }


.lform__radios { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; }
.lform__radios legend { float: none; padding: 0; margin-bottom: 6px; font-weight: 500; font-size: 13px; line-height: 22px; color: var(--gray-700); }
.lupload { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 16px; border: 1px dashed var(--gray-500); border-radius: 12px; }
.lupload > .ic { flex: none; width: 24px; height: 24px; color: var(--primary); }
.lupload__text { display: flex; flex-direction: column; flex: 1 1 200px; min-width: 0; }
.lupload__text b { font-weight: 700; font-size: 13px; line-height: 22px; color: var(--gray-900); }
.lupload__text span { font-weight: 400; font-size: 12px; line-height: 20px; color: var(--gray-600); }
.lupload .btn { cursor: pointer; }
.lform__foot { display: flex; flex-direction: column; gap: 12px; }
.lform__foot p { font-weight: 400; font-size: 12px; line-height: 20px; color: var(--gray-600); }
.laside { display: flex; flex-direction: column; gap: 16px; }
.cond { display: flex; flex-direction: column; gap: 10px; padding: 20px; border: 1px dashed var(--accent); border-radius: 12px; background: var(--accent-50); }
.cond__title { font-weight: 700; font-size: 16px; line-height: 26px; color: var(--gray-900); }
.cond li { display: flex; align-items: center; gap: 8px; font-weight: 400; font-size: 13px; line-height: 22px; color: var(--gray-900); }
.cond li .ic { flex: none; width: 16px; height: 16px; color: var(--success-900); stroke-width: 2.5; }
.ltrack { gap: 10px; padding: 20px; }

@media (min-width: 600px) {
  .lhero__cta { flex-direction: row; align-self: flex-start; }
  .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lform__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lform__radios .opts-inline { flex-wrap: wrap; }
  .lform__foot { flex-direction: row; align-items: center; justify-content: space-between; }
}

@media (min-width: 1200px) {
  .lhero__inner { gap: 20px; padding-top: 64px; padding-bottom: 64px; }
  .lhero__title { font-size: 32px; line-height: 48px; }
  .lhero__desc { font-size: 16px; line-height: 28px; }
  .lsec { gap: 24px; padding-top: 16px; padding-bottom: 40px; }
  .lsec--first { padding-top: 56px; }
  .lsec__title { font-size: 20px; line-height: 32px; }
  .benefits { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
  .proc { flex-direction: row; padding: 24px; }
  .proc__step { flex: 1 1 0; flex-direction: column; gap: 8px; padding: 0; text-align: center; }
  .proc__step::after { display: none; }
  .proc__line { display: flex; align-items: center; align-self: stretch; }
  .proc__line::before, .proc__line::after { content: ""; flex: 1 1 0; height: 2px; background: #b2cdf0; }
  .proc__step:first-child .proc__line::before, .proc__step:last-child .proc__line::after { visibility: hidden; }
  .proc__text { align-items: center; gap: 8px; }
  .lform-row { flex-direction: row; align-items: flex-start; gap: 32px; padding-top: 16px; padding-bottom: 64px; }
  .lform { flex: 1 1 auto; padding: 24px; }
  .lform__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .laside { flex: 0 0 380px; }
}
