/* ===================================================================
   سایت عمومی — جهت بصری: کاشی فیروزه‌ای و طلای زعفران

   منطق طراحی:
   • هیرو تیره است، نه سفید — برخلاف تقریباً همه رقبا. اولین چیزی که
     می‌بینی «دفتر سفارش» است: پیام‌های درهم دایرکت که مرتب می‌شوند.
   • طلایی فقط برای اقدام. اگر همه‌جا طلایی باشد، هیچ‌جا مهم نیست.
   • فاصله‌های بزرگ و تیترهای درشت؛ شلوغی دشمن این صفحه است.
   =================================================================== */

.site { background: var(--surface); }

.wrap { max-width: 1140px; margin-inline: auto; padding-inline: 22px; }
.wrap--narrow { max-width: 740px; }

.sec { padding-block: 96px; }
.sec--tight { padding-block: 64px; }

@media (max-width: 720px) {
  .sec { padding-block: 60px; }
  .sec--tight { padding-block: 44px; }
}

/* --- عنوان بخش --- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 800; letter-spacing: .04em;
  color: var(--brand); margin: 0 0 14px;
}
.eyebrow::before {
  content: ''; width: 22px; height: 2px; background: var(--gold); border-radius: 2px;
}

.h-sec {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.4; letter-spacing: -.02em;
  margin: 0 0 14px; color: var(--ink);
}
.p-sec {
  color: var(--ink-soft); font-size: 15.5px; line-height: 2;
  max-width: 58ch; margin: 0 0 44px;
}
.center { text-align: center; }
.center .p-sec { margin-inline: auto; }

/* -------------------------------------------------------------------
   سربرگ
   ------------------------------------------------------------------- */
.mast {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.93);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.mast__inner {
  max-width: 1140px; margin-inline: auto; padding: 14px 22px;
  display: flex; align-items: center; gap: 24px;
}
.mast__brand {
  display: flex; align-items: center; gap: 11px;
  font-family: var(--font-display); font-weight: 700;
  font-size: 17px; color: var(--ink); flex: none;
}
.mast__brand:hover { text-decoration: none; }
.mast__mark {
  width: 65px; height: 65px; border-radius: 11px; flex: none;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(140deg, var(--brand), #14988A);
  box-shadow: 0 4px 12px rgba(14,111,99,.28);
}

.mast__nav { display: flex; gap: 2px; flex: 1; }
.mast__nav a {
  padding: 9px 14px; border-radius: var(--r-sm);
  color: var(--ink-soft); font-size: 14px; font-weight: 600;
}
.mast__nav a:hover { background: var(--canvas); color: var(--ink); text-decoration: none; }
.mast__nav a.is-active { color: var(--brand); font-weight: 800; }

.mast__cta { display: flex; align-items: center; gap: 14px; flex: none; }
.mast__login { font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.mast__login:hover { color: var(--brand); }

.mast__burger {
  display: none; width: 42px; height: 42px; flex: none;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: #fff; cursor: pointer; color: var(--ink);
  align-items: center; justify-content: center;
}
.mast__mobile { display: none; border-top: 1px solid var(--line); padding: 8px; }
.mast__mobile a {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 14px; border-radius: var(--r-sm);
  color: var(--ink); font-size: 14.5px; font-weight: 600;
}
.mast__mobile a:hover { background: var(--canvas); text-decoration: none; }
.mast__mobile-cta { color: var(--brand) !important; font-weight: 800 !important; }

@media (max-width: 900px) {
  .mast__nav, .mast__cta { display: none; }
  .mast__burger { display: flex; margin-inline-start: auto; }
  .mast__mobile { display: block; }
  .mast__mobile[hidden] { display: none; }
}

/* -------------------------------------------------------------------
   هیرو — پنل تیره با «دفتر سفارش»
   ------------------------------------------------------------------- */
.hero {
  background:
    radial-gradient(760px 420px at 88% 0%, rgba(217,151,26,.16), transparent 62%),
    radial-gradient(620px 400px at 10% 100%, rgba(20,152,138,.2), transparent 60%),
    linear-gradient(165deg, #103833, #0A211E 70%);
  color: #EAF3F0;
  position: relative; overflow: hidden;
}

/* بافت کاشی — بسیار کم‌رنگ، فقط برای اینکه پس‌زمینه صاف و بی‌جان نباشد */
.hero::before {
  content: ''; position: absolute; inset: 0; opacity: .05; pointer-events: none;
  background-image:
    linear-gradient(45deg, transparent 47%, #fff 47%, #fff 53%, transparent 53%),
    linear-gradient(-45deg, transparent 47%, #fff 47%, #fff 53%, transparent 53%);
  background-size: 34px 34px;
}

.hero__inner {
  max-width: 1140px; margin-inline: auto; padding: 76px 22px 88px;
  display: grid; gap: 52px; position: relative;
}
@media (min-width: 980px) {
  .hero__inner { grid-template-columns: 1fr 1.02fr; align-items: center; padding-block: 104px 112px; }
}

.hero__tag {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(217,151,26,.15); color: #F0C56A;
  border: 1px solid rgba(217,151,26,.28);
  padding: 7px 15px; border-radius: 30px;
  font-size: 12.5px; font-weight: 700; margin: 0 0 22px;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(31px, 5.2vw, 52px);
  line-height: 1.32; letter-spacing: -.035em;
  margin: 0 0 20px; color: #fff; font-weight: 700;
}
.hero__title em {
  font-style: normal; color: var(--gold);
  position: relative; white-space: nowrap;
}
/* زیرخط زیر کلمه کلیدی */
.hero__title em::after {
  content: ''; position: absolute; inset-inline: -2px; bottom: .04em; height: .12em;
  background: rgba(217,151,26,.3); border-radius: 3px;
}

.hero__lead {
  font-size: 16px; line-height: 2.05; color: #B9D2CD;
  max-width: 46ch; margin: 0 0 32px;
}

.hero__actions { display: flex; gap: 13px; flex-wrap: wrap; margin-bottom: 26px; }

.hero__trust { display: flex; flex-wrap: wrap; gap: 18px; }
.hero__trust span {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; color: #8FB3AD;
}
.hero__trust .ico { color: var(--gold); }

@media (max-width: 620px) {
  .hero__actions .btn { width: 100%; }
}

/* --- دفتر سفارش: عنصر امضای صفحه --- */
.ledger {
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 20px; padding: 20px;
  backdrop-filter: blur(6px);
  box-shadow: 0 26px 60px rgba(0,0,0,.3);
}
.ledger__head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding-bottom: 14px; margin-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.ledger__title {
  display: flex; align-items: center; gap: 9px;
  font-size: 13.5px; font-weight: 800; color: #fff;
}
.ledger__title .ico { color: var(--gold); }
.ledger__count {
  font-size: 11.5px; color: #8FB3AD;
  background: rgba(255,255,255,.08); padding: 4px 11px; border-radius: 20px;
}

/* ستون پیام‌های خام */
.ledger__raw { display: grid; gap: 7px; margin-bottom: 16px; }
.dm {
  display: flex; align-items: flex-start; gap: 9px;
  background: rgba(255,255,255,.05);
  border: 1px dashed rgba(255,255,255,.14);
  border-radius: 12px; padding: 9px 12px;
  font-size: 12.5px; color: #A9C7C1; line-height: 1.75;
  animation: dmIn .5s ease backwards;
}
.dm .ico { color: #6E948E; margin-top: 2px; }
.dm:nth-child(1) { animation-delay: .1s; }
.dm:nth-child(2) { animation-delay: .25s; }
.dm:nth-child(3) { animation-delay: .4s; }

@keyframes dmIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}

.ledger__arrow {
  display: grid; place-items: center; margin-bottom: 14px;
  color: rgba(255,255,255,.28);
}

/* ردیف‌های مرتب‌شده */
.ledger__rows { display: grid; gap: 8px; }
.lrow {
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: 12px;
  background: rgba(255,255,255,.075);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px; padding: 11px 13px;
  animation: rowIn .55s cubic-bezier(.2,.7,.3,1) backwards;
}
.lrow:nth-child(1) { animation-delay: .6s; }
.lrow:nth-child(2) { animation-delay: .74s; }
.lrow:nth-child(3) { animation-delay: .88s; }

@keyframes rowIn {
  from { opacity: 0; transform: translateX(14px); }
  to   { opacity: 1; transform: none; }
}

.lrow__code {
  font-size: 11.5px; font-weight: 800; color: var(--gold);
  background: rgba(217,151,26,.13); padding: 4px 9px; border-radius: 8px;
  white-space: nowrap;
}
.lrow__body { min-width: 0; }
.lrow__name { font-size: 13px; font-weight: 700; color: #fff; display: block; }
.lrow__meta { font-size: 11.5px; color: #8FB3AD; }
.lrow__state {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 700; white-space: nowrap;
  padding: 4px 10px; border-radius: 20px;
}
.lrow__state--new  { background: rgba(217,151,26,.15); color: #F0C56A; }
.lrow__state--sent { background: rgba(20,152,138,.2);  color: #6FD3C1; }
.lrow__state--paid { background: rgba(255,255,255,.1); color: #B9D2CD; }

@media (prefers-reduced-motion: reduce) {
  .dm, .lrow { animation: none; }
}

/* -------------------------------------------------------------------
   هزینه بی‌نظمی
   ------------------------------------------------------------------- */
.costs { display: grid; gap: 1px; background: var(--line); border-radius: var(--r-md); overflow: hidden; }
@media (min-width: 760px) { .costs { grid-template-columns: repeat(2, 1fr); } }

.cost { background: var(--surface); padding: 30px 26px; }
.cost__icon {
  width: 42px; height: 42px; border-radius: 12px; margin-bottom: 16px;
  display: grid; place-items: center;
  background: var(--bad-tint); color: var(--bad);
}
.cost h3 { font-size: 17px; margin: 0 0 9px; letter-spacing: -.01em; }
.cost p  { font-size: 14px; color: var(--ink-soft); margin: 0; line-height: 2; }

/* -------------------------------------------------------------------
   سه قدم
   ------------------------------------------------------------------- */
.flow { display: grid; gap: 34px; counter-reset: step; }
@media (min-width: 860px) { .flow { grid-template-columns: repeat(3, 1fr); gap: 26px; } }

.step {
  position: relative; padding-top: 28px;
  border-top: 3px solid var(--line);
  counter-increment: step;
}
.step::before {
  content: counter(step, persian);
  position: absolute; top: -17px; inset-inline-start: 0;
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--brand); color: #fff;
  font-size: 14px; font-weight: 800;
}
.step:first-child { border-top-color: var(--gold); }
.step:first-child::before { background: var(--gold); color: #22160A; }
.step h3 { font-size: 18px; margin: 0 0 10px; letter-spacing: -.01em; }
.step p  { font-size: 14px; color: var(--ink-soft); margin: 0; line-height: 2; }

/* -------------------------------------------------------------------
   امکانات
   ------------------------------------------------------------------- */
.feats { display: grid; gap: 30px 40px; }
@media (min-width: 720px)  { .feats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .feats { grid-template-columns: repeat(3, 1fr); } }

.feat { display: flex; gap: 14px; align-items: flex-start; }
.feat__icon {
  width: 40px; height: 40px; flex: none; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--brand-tint); color: var(--brand);
}
.feat h3 { font-size: 15.5px; margin: 0 0 6px; letter-spacing: -.01em; }
.feat p  { font-size: 13.5px; color: var(--ink-soft); margin: 0; line-height: 1.95; }

/* -------------------------------------------------------------------
   تعرفه
   ------------------------------------------------------------------- */
.plans { display: grid; gap: 20px; align-items: start; }
@media (min-width: 700px)  { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .plans { grid-template-columns: repeat(4, 1fr); } }

.plan {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 28px 24px;
  display: flex; flex-direction: column; position: relative;
  transition: border-color .18s ease, transform .16s ease, box-shadow .18s ease;
}
.plan:hover { border-color: var(--brand); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.plan.is-featured {
  border-color: var(--gold); border-width: 2px; padding: 27px 23px;
  box-shadow: 0 14px 44px rgba(217,151,26,.16);
}
.plan__badge {
  position: absolute; top: -13px; inset-inline-start: 24px;
  background: var(--gold); color: #22160A; padding: 5px 15px;
  border-radius: 20px; font-size: 11.5px; font-weight: 800;
}
.plan__name { font-family: var(--font-display); font-size: 20px; margin: 0 0 5px; }
.plan__tag  { font-size: 12.5px; color: var(--ink-faint); margin: 0 0 18px; min-height: 2.6em; line-height: 1.75; }
.plan__price { margin: 0 0 22px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.plan__price strong { font-size: 29px; letter-spacing: -.03em; font-family: var(--font-display); }
.plan__price span   { font-size: 12.5px; color: var(--ink-faint); }
.plan__list {
  list-style: none; padding: 0; margin: 0 0 24px;
  display: grid; gap: 11px; flex: 1; font-size: 13.5px; color: var(--ink-soft);
}
.plan__list li { display: flex; gap: 9px; align-items: flex-start; line-height: 1.8; }
.plan__list .ico { color: var(--ok); margin-top: 3px; }

/* --- جدول مقایسه --- */
.cmp { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.cmp th, .cmp td { padding: 14px 15px; border-bottom: 1px solid var(--line); text-align: center; }
.cmp th:first-child, .cmp td:first-child { text-align: start; }
.cmp thead th { background: var(--canvas); font-weight: 800; font-size: 13px; }
.cmp tbody tr:hover { background: #FBFCFB; }
.cmp__yes { color: var(--ok); }
.cmp__no  { color: var(--ink-faint); }
.cmp__group td {
  background: var(--brand-tint); font-weight: 800; font-size: 12.5px;
  color: var(--brand); text-align: start !important;
}

/* -------------------------------------------------------------------
   سوالات متداول
   ------------------------------------------------------------------- */
.faq { display: grid; gap: 11px; }
.faq__item {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 18px 22px;
  transition: border-color .16s ease;
}
.faq__item[open] { border-color: var(--brand); }
.faq__item summary {
  cursor: pointer; list-style: none; display: flex; align-items: center; gap: 12px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ''; margin-inline-start: auto; flex: none;
  width: 10px; height: 10px; border-inline-end: 2px solid var(--brand);
  border-block-end: 2px solid var(--brand); transform: rotate(45deg) translateY(-3px);
  transition: transform .2s ease;
}
.faq__item[open] summary::after { transform: rotate(-135deg) translateY(1px); }
.faq__item h3 { font-size: 15.5px; margin: 0; font-weight: 700; letter-spacing: -.01em; }
.faq__item p  { font-size: 14px; color: var(--ink-soft); margin: 14px 0 0; line-height: 2.1; }

/* -------------------------------------------------------------------
   مقالات
   ------------------------------------------------------------------- */
.postgrid { display: grid; gap: 20px; }
@media (min-width: 760px) { .postgrid { grid-template-columns: repeat(3, 1fr); } }

.postcard {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 24px; display: block;
  transition: border-color .16s ease, box-shadow .16s ease, transform .14s ease;
}
.postcard:hover {
  border-color: var(--brand); box-shadow: var(--shadow-md);
  transform: translateY(-3px); text-decoration: none;
}
.postcard h3 { font-size: 16.5px; margin: 0 0 9px; color: var(--ink); line-height: 1.65; letter-spacing: -.01em; }
.postcard p  { font-size: 13.5px; color: var(--ink-soft); margin: 0 0 14px; line-height: 1.95; }
.postcard__meta { font-size: 11.5px; color: var(--ink-faint); display: flex; align-items: center; gap: 7px; }

/* --- مقاله تکی --- */
.article { max-width: 730px; margin-inline: auto; padding: 44px 22px 80px; }
.article h1 {
  font-family: var(--font-display);
  font-size: clamp(25px, 4vw, 34px); line-height: 1.45;
  margin: 0 0 16px; letter-spacing: -.025em;
}
.article__meta {
  font-size: 12.5px; color: var(--ink-faint); margin-bottom: 34px;
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.article__body { font-size: 16px; line-height: 2.2; color: #1C332F; }
.article__body p  { margin: 0 0 22px; }
.article__body h2 { font-family: var(--font-display); font-size: 22px; margin: 38px 0 14px; }
.article__body h3 { font-size: 18px; margin: 28px 0 10px; }
.article__body ul, .article__body ol { padding-inline-start: 22px; margin: 0 0 22px; }
.article__body li { margin-bottom: 9px; }
.article__body img { max-width: 100%; height: auto; border-radius: var(--r-md); }

/* -------------------------------------------------------------------
   مسیر راهنما
   ------------------------------------------------------------------- */
.crumb { font-size: 12.5px; color: var(--ink-faint); margin-bottom: 22px; }
.crumb ol { list-style: none; padding: 0; margin: 0; display: flex; gap: 9px; flex-wrap: wrap; }
.crumb li + li::before { content: '/'; margin-inline-end: 9px; color: var(--line); }

/* -------------------------------------------------------------------
   فراخوان پایانی
   ------------------------------------------------------------------- */
.cta {
  background:
    radial-gradient(600px 300px at 80% 0%, rgba(217,151,26,.2), transparent 65%),
    linear-gradient(160deg, #10403A, #0A211E);
  padding-block: 84px; text-align: center; position: relative; overflow: hidden;
}
.cta h2 {
  font-family: var(--font-display); color: #fff;
  font-size: clamp(24px, 3.6vw, 33px); margin: 0 0 14px; letter-spacing: -.025em;
}
.cta p { color: #A9C7C1; font-size: 15.5px; margin: 0 0 30px; }
.cta__note { color: #7FA49E; font-size: 12.5px; margin-top: 18px; }

/* -------------------------------------------------------------------
   محتوای ثابت
   ------------------------------------------------------------------- */
.doc { max-width: 760px; margin-inline: auto; padding: 44px 22px 80px; }
.doc h1 { font-family: var(--font-display); font-size: 30px; margin: 0 0 8px; letter-spacing: -.025em; }
.doc__updated { font-size: 12.5px; color: var(--ink-faint); margin-bottom: 36px; }
.doc h2 { font-family: var(--font-display); font-size: 20px; margin: 36px 0 14px; }
.doc p, .doc li { font-size: 15px; color: var(--ink-soft); line-height: 2.15; }
.doc ul, .doc ol { padding-inline-start: 22px; }
.doc li { margin-bottom: 10px; }

/* -------------------------------------------------------------------
   فرم تماس
   ------------------------------------------------------------------- */
.contact { display: grid; gap: 36px; }
@media (min-width: 840px) { .contact { grid-template-columns: 1.15fr .85fr; align-items: start; } }
.contact__info { display: grid; gap: 14px; align-content: start; }
.contact__item {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 20px;
  display: flex; gap: 14px; align-items: flex-start;
}
.contact__item .ico { color: var(--brand); margin-top: 2px; }
.contact__item h3 { font-size: 14.5px; margin: 0 0 5px; }
.contact__item p  { font-size: 13.5px; color: var(--ink-soft); margin: 0; line-height: 1.9; }

/* -------------------------------------------------------------------
   پاورقی
   ------------------------------------------------------------------- */
.foot { background: var(--canvas); border-top: 1px solid var(--line); }
.foot__inner {
  max-width: 1140px; margin-inline: auto; padding: 60px 22px 40px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 38px;
}
.foot__col { display: grid; gap: 11px; align-content: start; }
.foot__col h2 { font-size: 13.5px; margin: 0 0 4px; color: var(--ink); }
.foot__col a  { font-size: 13.5px; color: var(--ink-soft); display: flex; align-items: center; gap: 7px; }
.foot__col a:hover { color: var(--brand); }
.foot__col--brand { gap: 16px; }
.foot__about { font-size: 13px; color: var(--ink-faint); margin: 0; line-height: 1.95; max-width: 30ch; }
.foot__hours { font-size: 12.5px; color: var(--ink-faint); }
.foot__badges { display: flex; gap: 10px; flex-wrap: wrap; }
.foot__badges img { max-width: 84px; height: auto; }
.foot__bar {
  border-top: 1px solid var(--line); padding: 20px 22px;
  text-align: center; font-size: 12.5px; color: var(--ink-faint);
}

/* -------------------------------------------------------------------
   حالت خالی عمومی
   ------------------------------------------------------------------- */
.pempty {
  text-align: center; padding: 60px 24px;
  border: 1px dashed var(--line); border-radius: var(--r-lg);
  background: var(--canvas);
}
.pempty__icon {
  width: 58px; height: 58px; margin: 0 auto 18px; border-radius: 50%;
  background: var(--brand-tint); color: var(--brand);
  display: grid; place-items: center;
}
.pempty h2 { font-size: 19px; margin: 0 0 8px; }
.pempty p  { color: var(--ink-faint); font-size: 14px; margin: 0 auto; max-width: 44ch; line-height: 1.95; }

/* --- دکمه‌ها --- */
.btn--lg { padding: 15px 28px; font-size: 15.5px; }
.btn--onDark {
  background: rgba(255,255,255,.1); color: #fff;
  border-color: rgba(255,255,255,.2);
}
.btn--onDark:hover:not(:disabled) { background: rgba(255,255,255,.17); }
