/* ==========================================================================
   لندینگ ثبت‌نام لاتاری — سیستم طراحی
   سرمه‌ای عمیق + سفید گرم + آبی آسمانی، طلایی و قرمز فقط در جزئیات
   ========================================================================== */

@font-face {
  font-family: "Vazirmatn";
  src: url("/landing/assets/fonts/vazirmatn/Vazirmatn-Variable.woff2") format("woff2-variations"), url("/landing/assets/fonts/vazirmatn/Vazirmatn-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #0C1B33;
  --ink-2: #14294D;
  --ink-3: #1D3664;
  --paper: #FBFAF7;
  --paper-2: #F2F0EA;
  --white: #FFFFFF;
  --sky: #2F6BF0;
  --sky-soft: #8FB6FF;
  --gold: #C8A24E;
  --gold-soft: #E6D3A3;
  --signal: #C8323A;
  --slate: #56617A;
  --slate-2: #8A93A6;
  --line: rgba(12, 27, 51, .11);
  --line-strong: rgba(12, 27, 51, .2);
  --ok: #1E7A55;

  --font: "Dana", "Vazirmatn", Tahoma, system-ui, sans-serif;
  --fs-0: .8125rem;
  --fs-1: .9375rem;
  --fs-2: 1.0625rem;
  --fs-3: 1.3125rem;
  --fs-4: clamp(1.5rem, 1.1rem + 1.4vw, 2.125rem);
  --fs-5: clamp(1.9rem, 1.2rem + 2.8vw, 3.25rem);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1200px;
  --shadow-1: 0 1px 2px rgba(12,27,51,.06), 0 8px 24px -12px rgba(12,27,51,.18);
  --shadow-2: 0 2px 4px rgba(12,27,51,.05), 0 24px 48px -20px rgba(12,27,51,.32);

  /* منحنی فنری (Apple-style) — با پشتیبانی linear() و جایگزین cubic-bezier */
  --spring: cubic-bezier(.2, .9, .25, 1.12);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}
@supports (transition-timing-function: linear(0, 1)) {
  :root {
    --spring: linear(0, .009, .035 2.1%, .141 4.4%, .723 12.9%, .938 16.7%, 1.017 19.4%, 1.067, 1.099 24.3%, 1.108 26%, 1.1, 1.077 30.6%, 1.006 38.5%, .983 42.3%, .975 45.6%, .977 48.9%, .994 58.9%, 1.001 66.4%, 1.003 75%, 1);
  }
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
html { overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-2);
  line-height: 1.85;
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--sky); text-underline-offset: .2em; }
h1, h2, h3 { line-height: 1.4; margin: 0; font-weight: 800; letter-spacing: -.005em; }
h2 { font-size: var(--fs-4); }
h3 { font-size: var(--fs-2); font-weight: 700; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--white); border-radius: var(--r-sm); }
.skip:focus { top: 12px; }

/* ── دکمه‌ها ───────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .6em 1.4em;
  border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: var(--fs-1); text-decoration: none; cursor: pointer;
  transition: transform .45s var(--spring), background-color .2s, box-shadow .3s, color .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.96); transition-duration: .12s; }
.btn-sm { min-height: 40px; padding: .4em 1.1em; }
.btn-block { width: 100%; }
.btn-primary { background: var(--ink); color: var(--white); box-shadow: 0 6px 18px -8px rgba(12,27,51,.6); }
.btn-primary:hover { background: var(--ink-3); }
.btn-gold { background: var(--gold); color: var(--ink); box-shadow: 0 8px 26px -10px rgba(200,162,78,.8); }
.btn-gold:hover { background: #D4B062; }
.btn-ghost { color: inherit; border-color: currentColor; background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn[disabled] { opacity: .55; cursor: progress; }

/* ── هدر ───────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(12, 27, 51, .9);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header-row { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-weight: 800; font-size: var(--fs-1); white-space: nowrap; }
.brand-mark { width: 30px; height: 30px; color: var(--sky-soft); }
.nav { display: flex; gap: 4px; margin-inline-start: auto; }
.nav a { color: rgba(255,255,255,.78); text-decoration: none; font-size: var(--fs-0); font-weight: 500; padding: 8px 12px; border-radius: 999px; transition: color .2s, background-color .2s; }
.nav a:hover { color: var(--white); background: rgba(255,255,255,.08); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.header-cta .btn-primary { background: var(--white); color: var(--ink); box-shadow: none; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 12px; position: relative; cursor: pointer; }
.nav-toggle i { position: absolute; inset-inline: 12px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .45s var(--spring); }
.nav-toggle i:first-of-type { top: 17px; } .nav-toggle i:last-of-type { top: 25px; }
.nav-toggle[aria-expanded="true"] i:first-of-type { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] i:last-of-type { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 68px 0 auto 0; flex-direction: column; gap: 0;
    padding: 8px var(--gutter) 20px; background: var(--ink);
    border-bottom: 1px solid rgba(255,255,255,.1);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: transform .5s var(--spring), opacity .2s, visibility 0s .2s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; transition: transform .5s var(--spring), opacity .2s; }
  .nav a { font-size: var(--fs-2); padding: 14px 4px; border-radius: 0; border-bottom: 1px solid rgba(255,255,255,.07); }
}
@media (max-width: 420px) { .header-cta .btn { display: none; } }

/* ── Hero ──────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  color: var(--white);
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(47,107,240,.28), transparent 60%),
    radial-gradient(800px 400px at 0% 110%, rgba(200,162,78,.12), transparent 60%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
  padding: clamp(48px, 8vw, 104px) 0 clamp(56px, 8vw, 96px);
}
.hero::after { /* خطوط ظریف عرض جغرافیایی */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 56px);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}
.hero-globe { position: absolute; z-index: -1; width: min(760px, 110vw); inset-inline-end: -180px; top: 50%; translate: 0 -50%; color: rgba(143,182,255,.16); }
.graticule { animation: drift 60s linear infinite; transform-origin: 300px 300px; transform-box: view-box; }
.route { stroke-dasharray: 420; stroke-dashoffset: 420; animation: draw 2.4s var(--ease-out) .9s forwards; }
.route-end { opacity: 0; animation: pop .6s var(--spring) 3s forwards; transform-origin: 470px 230px; transform-box: view-box; }
@keyframes drift { to { transform: rotate(360deg); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(.2); } to { opacity: 1; transform: scale(1); } }

.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-kicker { color: var(--gold-soft); font-size: var(--fs-1); font-weight: 600; margin-bottom: 16px; }
.hero h1 { font-size: var(--fs-5); line-height: 1.32; font-weight: 800; max-width: 17ch; text-wrap: balance; }
.hero-lead { margin-top: 20px; font-size: var(--fs-2); color: rgba(255,255,255,.8); max-width: 54ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-facts { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: rgba(255,255,255,.72); font-size: var(--fs-0); }
.hero-facts li { display: flex; align-items: center; gap: 8px; }
.hero-facts li::before { content: ""; width: 14px; height: 14px; flex: none; border-radius: 50%; background: var(--sky-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3.5 7.2l2.2 2.2L10.5 4.6' stroke='%230C1B33' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center/100% no-repeat; }

/* ── تابلوی وضعیت (امضای بصری صفحه) ───────────────── */
.board {
  margin: 0;
  background: linear-gradient(180deg, #0A1528, #0E1D38);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-lg);
  padding: 20px;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.06);
}
.board-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; padding: 0 4px 14px; }
.board-title { font-weight: 700; font-size: var(--fs-1); }
.board-time { color: var(--slate-2); font-size: var(--fs-0); }
.board-table { width: 100%; border-collapse: separate; border-spacing: 0 6px; font-size: var(--fs-0); }
.board-table thead th { color: var(--slate-2); font-weight: 500; text-align: start; padding: 0 10px 4px; }
.board-table tbody th, .board-table td { padding: 0; text-align: start; vertical-align: middle; }
.flap {
  display: block; padding: 11px 12px; margin-inline-end: 4px;
  background: linear-gradient(180deg, #18294A 0 49.5%, #13223F 50.5% 100%);
  border-radius: 8px; color: #EAF0FF; font-weight: 600; white-space: nowrap;
  box-shadow: inset 0 -1px 0 rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.05);
  position: relative; transform-origin: 50% 50%; isolation: isolate;
}
.flap::after { content: ""; position: absolute; inset-inline: 0; top: 50%; height: 1px; background: rgba(0,0,0,.45); z-index: -1; }
.board-table tbody th .flap { font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.state { display: flex; align-items: center; gap: 8px; }
.state::before { content: ""; width: 8px; height: 8px; border-radius: 50%; flex: none; }
.state-done::before { background: var(--slate-2); }
.state-off::before { background: var(--signal); }
.state-wait::before { background: var(--gold); box-shadow: 0 0 0 0 rgba(200,162,78,.7); animation: beacon 2.4s ease-out infinite; }
.state-open::before { background: #3BD08A; }
.is-current .flap { background: linear-gradient(180deg, #1F3561 0 49.5%, #1A2E56 50.5% 100%); }
.board-note { margin-top: 12px; padding: 0 4px; color: var(--slate-2); font-size: .75rem; line-height: 1.8; }
@keyframes beacon { 70% { box-shadow: 0 0 0 8px rgba(200,162,78,0); } 100% { box-shadow: 0 0 0 0 rgba(200,162,78,0); } }

/* ورود تابلو: یک لحظه هماهنگ ورقی */
.board .flap { animation: flip .7s var(--spring) both; animation-delay: calc(var(--i, 0) * 70ms + 250ms); }
.board-table tbody tr:nth-child(1) > :nth-child(1) .flap { --i: 0; }
.board-table tbody tr:nth-child(1) > :nth-child(2) .flap { --i: 1; }
.board-table tbody tr:nth-child(1) > :nth-child(3) .flap { --i: 2; }
.board-table tbody tr:nth-child(2) > :nth-child(1) .flap { --i: 3; }
.board-table tbody tr:nth-child(2) > :nth-child(2) .flap { --i: 4; }
.board-table tbody tr:nth-child(2) > :nth-child(3) .flap { --i: 5; }
.board-table tbody tr:nth-child(3) > :nth-child(1) .flap { --i: 6; }
.board-table tbody tr:nth-child(3) > :nth-child(2) .flap { --i: 7; }
.board-table tbody tr:nth-child(3) > :nth-child(3) .flap { --i: 8; }
@keyframes flip { from { transform: perspective(400px) rotateX(-88deg); opacity: 0; } to { transform: none; opacity: 1; } }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: 22ch; }
  .hero-globe { inset-inline-end: -40%; top: 18%; opacity: .7; }
}
@media (max-width: 520px) {
  .board { padding: 14px; border-radius: var(--r-md); }
  .flap { padding: 9px 8px; white-space: normal; }
  .board-table { font-size: .75rem; }
}

/* ── نوار هشدار ─────────────────────────────────────── */
.alert-band { background: var(--paper-2); border-bottom: 1px solid var(--line); padding: 36px 0; }
.alert-title { font-size: var(--fs-3); margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.alert-title::before { content: ""; width: 4px; height: 1.2em; border-radius: 4px; background: var(--signal); }
.know-list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 32px; counter-reset: k; font-size: var(--fs-1); color: #2A3550; }
.know-list li { counter-increment: k; position: relative; padding-inline-start: 34px; }
.know-list li::before { content: counter(k, persian); position: absolute; inset-inline-start: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; font-size: .75rem; font-weight: 700; line-height: 1; }
.know-list strong { color: var(--ink); }
@media (max-width: 860px) { .know-list { grid-template-columns: 1fr; } }

/* ── ساختار عمومی بخش‌ها ───────────────────────────── */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-tint { background: var(--paper-2); }
.section-ink { background: var(--ink); color: var(--white); }
.section-intro { max-width: 62ch; margin-bottom: clamp(32px, 4vw, 48px); }
.section-intro h2 + p { margin-top: 14px; color: var(--slate); }
.section-ink .section-intro p { color: rgba(255,255,255,.7); }

/* ── خدمات ─────────────────────────────────────────── */
.services { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 56px; align-items: start; }
.services .section-intro { grid-column: 1 / -1; }
.service-feature {
  display: grid; grid-template-columns: 180px 1fr; gap: 28px; align-items: center;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px;
  box-shadow: var(--shadow-1);
}
.service-feature h3 { font-size: var(--fs-3); margin-bottom: 10px; }
.service-feature p { color: var(--slate); }
.photo-spec { position: relative; padding: 0 0 22px 22px; }
.ps-frame { position: relative; aspect-ratio: 1; border-radius: 6px; background: linear-gradient(180deg, #F5F7FB, #E9EEF6); border: 1.5px solid var(--ink); overflow: hidden; }
.ps-head { position: absolute; width: 38%; height: 46%; left: 31%; top: 16%; border-radius: 50% 50% 46% 46%; background: #C9D3E4; }
.ps-shoulder { position: absolute; width: 84%; height: 40%; left: 8%; bottom: -14%; border-radius: 50% 50% 0 0; background: #C9D3E4; }
.ps-guide { position: absolute; inset-inline: 0; border-top: 1px dashed var(--sky); }
.ps-top { top: 14%; } .ps-eyes { top: 38%; border-color: var(--gold); }
.ps-dim { position: absolute; font-size: .6875rem; color: var(--slate); font-weight: 600; }
.ps-w { bottom: 0; left: 22px; right: 0; text-align: center; border-top: 1px solid var(--line-strong); padding-top: 2px; }
.ps-h { left: 0; top: 0; bottom: 22px; writing-mode: vertical-rl; transform: rotate(180deg); text-align: center; border-left: 1px solid var(--line-strong); padding-left: 2px; }
.service-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.service-list li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.service-list li:first-child { padding-top: 4px; }
.service-list svg { width: 40px; height: 40px; padding: 8px; border-radius: 12px; background: rgba(47,107,240,.08); stroke: var(--sky); stroke-width: 1.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.service-list p { color: var(--slate); font-size: var(--fs-1); margin-top: 4px; }
@media (max-width: 960px) { .services { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .service-feature { grid-template-columns: 1fr; } .photo-spec { width: 170px; } }

/* ── سه مرحله ───────────────────────────────────────── */
.phases { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); position: relative; }
.phases::before { content: ""; position: absolute; top: 27px; inset-inline: 28px calc(33.33% - 28px); height: 2px; background: linear-gradient(to left, var(--sky), var(--gold)); opacity: .5; }
.phase { position: relative; padding-inline-end: 32px; }
.phase-no { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--white); border: 1.5px solid var(--ink); font-size: 1.375rem; font-weight: 800; margin-bottom: 20px; position: relative; }
.phase h3 { font-size: var(--fs-3); margin-bottom: 8px; }
.phase p { color: var(--slate); font-size: var(--fs-1); }
.phase .phase-meta { margin-top: 14px; color: var(--ink); font-weight: 600; font-size: var(--fs-0); display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); }
.qa-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: clamp(40px, 6vw, 72px); padding-top: 40px; border-top: 1px solid var(--line-strong); }
.qa-grid p { color: var(--slate); font-size: var(--fs-1); margin-top: 8px; }
@media (max-width: 860px) {
  .phases { grid-template-columns: 1fr; gap: 28px; }
  .phases::before { top: 28px; bottom: 28px; inset-inline: 27px auto; width: 2px; height: auto; background: linear-gradient(var(--sky), var(--gold)); }
  .phase { display: grid; grid-template-columns: 56px 1fr; column-gap: 20px; padding: 0; }
  .phase-no { grid-row: span 4; margin: 0; }
  .qa-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ── تایم‌لاین مراحل ────────────────────────────────── */
.steps-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.sticky-intro { position: sticky; top: 108px; }
.sticky-intro .btn { margin-top: 24px; }
.timeline { list-style: none; margin: 0; padding: 0; counter-reset: s; position: relative; --progress: 0; }
.timeline::before, .timeline::after { content: ""; position: absolute; inset-inline-start: 23px; top: 24px; bottom: 24px; width: 2px; border-radius: 2px; }
.timeline::before { background: var(--line-strong); }
.timeline::after { background: var(--sky); transform-origin: top; transform: scaleY(var(--progress)); transition: transform .3s linear; }
.tl-step { counter-increment: s; position: relative; padding-inline-start: 76px; padding-bottom: 44px; }
.tl-step:last-child { padding-bottom: 0; }
.tl-step::before {
  content: counter(s, persian); position: absolute; inset-inline-start: 0; top: 0; z-index: 1;
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: var(--paper); border: 2px solid var(--line-strong); font-weight: 800; font-size: 1.125rem;
  transition: background-color .3s, border-color .3s, color .3s, transform .5s var(--spring);
}
.tl-step.is-passed::before { background: var(--ink); color: var(--white); border-color: var(--ink); transform: scale(1.06); }
.tl-step h3 { font-size: var(--fs-3); padding-top: 6px; }
.tl-step > p { color: var(--slate); margin-top: 8px; }
.tl-step dl { margin: 14px 0 0; padding: 12px 16px; border-radius: var(--r-sm); background: rgba(200,50,58,.05); border-inline-start: 3px solid rgba(200,50,58,.5); font-size: var(--fs-0); display: flex; gap: 8px; flex-wrap: wrap; }
.tl-step dt { font-weight: 700; color: var(--signal); }
.tl-step dd { margin: 0; color: #3A4560; }
@media (max-width: 960px) { .steps-layout { grid-template-columns: 1fr; } .sticky-intro { position: static; } }

/* ── مدارک ─────────────────────────────────────────── */
.docs-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.checklist { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 32px; }
.checklist li { break-inside: avoid; position: relative; padding: 12px 0 12px; padding-inline-start: 34px; border-bottom: 1px solid var(--line); font-size: var(--fs-1); color: var(--slate); }
.checklist li::before { content: ""; position: absolute; inset-inline-start: 0; top: 16px; width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--ink); background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' stroke='%232F6BF0' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center/80% no-repeat; }
.checklist b { color: var(--ink); font-weight: 700; display: block; }
.spec-card { background: var(--ink); color: var(--white); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-2); position: sticky; top: 108px; }
.spec-card h3 { font-size: var(--fs-3); }
.spec-source { color: var(--gold-soft); font-size: var(--fs-0); margin-top: 4px; }
.spec-list { margin: 20px 0; display: grid; gap: 0; }
.spec-list div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: var(--fs-1); }
.spec-list dt { color: rgba(255,255,255,.65); }
.spec-list dd { margin: 0; font-weight: 600; text-align: end; }
.spec-tip { font-size: var(--fs-0); color: rgba(255,255,255,.75); padding: 12px 14px; background: rgba(255,255,255,.06); border-radius: var(--r-sm); }
@media (max-width: 960px) { .docs-layout { grid-template-columns: 1fr; } .spec-card { position: static; } }
@media (max-width: 600px) { .checklist { columns: 1; } }

/* ── اشتباهات ───────────────────────────────────────── */
.mistakes { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--white); }
.m-row { display: grid; grid-template-columns: 1fr 1fr; }
.m-row + .m-row { border-top: 1px solid var(--line); }
.m-row span { padding: 16px 24px; font-size: var(--fs-1); position: relative; }
.m-row span:first-child { color: #59202A; background: rgba(200,50,58,.035); }
.m-row span:first-child::before { content: "✕"; color: var(--signal); font-weight: 700; margin-inline-end: 10px; }
.m-row span:last-child { color: var(--ink); }
.m-row span:last-child::before { content: "✓"; color: var(--ok); font-weight: 700; margin-inline-end: 10px; }
.m-head span { font-weight: 700; font-size: var(--fs-0); color: var(--slate) !important; background: var(--paper) !important; padding-block: 12px; }
.m-head span::before { content: none !important; }
@media (max-width: 680px) {
  .m-row { grid-template-columns: 1fr; }
  .m-head { display: none; }
  .m-row span { padding: 12px 18px; }
}

/* ── چرا ما و هزینه‌ها ─────────────────────────────── */
.why-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.why-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 24px; }
.why-list li { padding-inline-start: 20px; border-inline-start: 2px solid var(--gold); }
.why-list p { color: rgba(255,255,255,.7); font-size: var(--fs-1); margin-top: 4px; }
.fees { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-lg); padding: 28px; }
.fees h3 { font-size: var(--fs-3); margin-bottom: 16px; }
.fee-table { width: 100%; border-collapse: collapse; font-size: var(--fs-1); }
.fee-table th, .fee-table td { text-align: start; padding: 12px 8px; border-bottom: 1px solid rgba(255,255,255,.1); vertical-align: top; }
.fee-table thead th { color: rgba(255,255,255,.55); font-weight: 500; font-size: var(--fs-0); }
.fee-table tbody th { font-weight: 600; }
.fee-table td:last-child { font-weight: 700; color: var(--gold-soft); }
.fee-note { margin-top: 14px; font-size: var(--fs-0); color: rgba(255,255,255,.55); }
@media (max-width: 960px) { .why-layout { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .fee-table thead { display: none; } .fee-table tr { display: grid; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.1); } .fee-table th, .fee-table td { border: 0; padding: 2px 0; } }

/* ── فرم‌ها ─────────────────────────────────────────── */
.contact-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.contact-direct { margin-top: 20px; font-weight: 600; }
.contact-direct a { font-size: var(--fs-3); color: var(--ink); }
.card-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow-1); display: grid; gap: 18px; }
.field { display: grid; gap: 6px; align-content: start; }
.field label, .field .label { font-weight: 600; font-size: var(--fs-1); }
.field .hint { font-size: var(--fs-0); color: var(--slate); line-height: 1.7; }
.opt { color: var(--slate); font-weight: 400; }
input[type="text"], input[type="tel"], input[type="email"], input[type="date"], input[type="number"], input[type="password"], input[type="search"], input[type="datetime-local"], select, textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1px solid var(--line-strong); border-radius: 12px; background: var(--white);
  font-size: 1rem; /* جلوگیری از زوم iOS */
  transition: border-color .2s, box-shadow .25s;
}
textarea { min-height: 96px; resize: vertical; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%2356617A' stroke-width='1.6' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 12px; background-position: left 14px center; padding-left: 36px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 4px rgba(47,107,240,.14); }
input[dir="ltr"], .ltr { text-align: left; direction: ltr; }
input[dir="ltr"]::placeholder { text-align: left; }
[aria-invalid="true"] { border-color: var(--signal) !important; box-shadow: 0 0 0 4px rgba(200,50,58,.1) !important; }
.field-error { color: var(--signal); font-size: var(--fs-0); font-weight: 600; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-0); color: var(--slate); line-height: 1.8; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--ink); }
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.form-status { font-size: var(--fs-1); font-weight: 600; min-height: 1em; }
.form-status.is-ok { color: var(--ok); }
.form-status.is-err { color: var(--signal); }
@media (max-width: 960px) { .contact-layout { grid-template-columns: 1fr; } }

/* ── FAQ ──────────────────────────────────────────── */
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq { border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line-strong); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font-size: var(--fs-2); font-weight: 700; }
.faq-icon { width: 32px; height: 32px; flex: none; border-radius: 50%; border: 1px solid var(--line-strong); position: relative; transition: transform .5s var(--spring), background-color .2s; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; background: var(--ink); translate: -50% -50%; border-radius: 2px; }
.faq-icon::after { rotate: 90deg; transition: rotate .4s var(--spring); }
.faq-item[open] .faq-icon { background: var(--ink); }
.faq-item[open] .faq-icon::before, .faq-item[open] .faq-icon::after { background: var(--white); }
.faq-item[open] .faq-icon::after { rotate: 0deg; }
.faq-body { overflow: hidden; }
.faq-body p { color: var(--slate); padding-bottom: 22px; max-width: 70ch; }
@media (max-width: 960px) { .faq-layout { grid-template-columns: 1fr; } }

/* ── CTA پایانی ─────────────────────────────────────── */
.final-cta { background: radial-gradient(900px 400px at 20% 0%, rgba(47,107,240,.35), transparent 60%), var(--ink-2); color: var(--white); padding: clamp(64px, 9vw, 112px) 0; text-align: center; }
.final-inner { max-width: 760px; }
.final-cta h2 { font-size: var(--fs-4); text-wrap: balance; }
.final-cta p { color: rgba(255,255,255,.75); margin-top: 16px; }
.final-cta .hero-actions { justify-content: center; }

/* ── فوتر ─────────────────────────────────────────── */
.site-footer { background: #08132A; color: rgba(255,255,255,.72); padding: 64px 0 28px; font-size: var(--fs-1); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand { color: var(--white); font-weight: 800; font-size: var(--fs-3); margin-bottom: 8px; }
.footer-disclaimer { margin-top: 16px; font-size: var(--fs-0); line-height: 1.9; color: rgba(255,255,255,.55); max-width: 52ch; }
.footer-title { color: var(--white); font-weight: 700; margin-bottom: 12px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: rgba(255,255,255,.78); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-links[dir="ltr"] { text-align: right; }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: var(--fs-0); color: rgba(255,255,255,.5); }
.credit { color: rgba(255,255,255,.7); }
.credit a { color: var(--gold-soft) !important; }
.credit span { margin-inline: 6px; opacity: .4; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.call-fab { display: none; }
@media (max-width: 720px) {
  .call-fab { display: grid; place-items: center; position: fixed; inset-inline-start: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 30; width: 56px; height: 56px; border-radius: 50%; background: var(--gold); color: var(--ink); box-shadow: var(--shadow-2); }
  .call-fab svg { width: 24px; height: 24px; }
}

/* ── صفحات متنی ساده (حریم خصوصی، شرایط، پیگیری) ── */
.page-head { background: var(--ink); color: var(--white); padding: clamp(40px, 6vw, 72px) 0; }
.page-head h1 { font-size: var(--fs-4); }
.page-head p { color: rgba(255,255,255,.7); margin-top: 10px; max-width: 60ch; }
.prose { max-width: 72ch; padding: clamp(40px, 6vw, 72px) 0; }
.prose h2 { font-size: var(--fs-3); margin: 36px 0 10px; }
.prose p, .prose li { color: #303B55; }
.prose ul { padding-inline-start: 1.2em; }
.prose li + li { margin-top: 6px; }
.narrow { max-width: 560px; }

/* ── کاهش حرکت ──────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .route { stroke-dashoffset: 0; }
  .route-end { opacity: 1; }
}

.btn-ghost-dark { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost-dark:hover { background: var(--paper-2); }
.track-result { gap: 6px; }
.track-result .hint { margin-top: 10px; }
.track-code { font-size: 1.5rem; font-weight: 800; letter-spacing: .06em; text-align: right; }
.track-status { font-size: var(--fs-3); font-weight: 800; color: var(--ink) !important; }
.track-conf { margin: 16px 0; padding: 16px; border-radius: var(--r-md); background: rgba(30,122,85,.06); border: 1px solid rgba(30,122,85,.25); }
.track-result .btn { margin-top: 12px; justify-self: start; }
.nowrap { white-space: nowrap; }
.footer-disclaimer a, .prose a, .check a { text-decoration: underline; }