/* دیده‌بان نظم و امنیت دی — استایل بخش‌های افزونه (مطابق سیستم طراحی سایت) */
:root {
  --amn-ink: #0a1a33; --amn-ink-2: #102544; --amn-ink-3: #1b3560;
  --amn-brand: #0d9488; --amn-brand-600: #0f766e; --amn-brand-400: #2dd4bf; --amn-brand-50: #ecfdf9;
  --amn-sky: #e6f0fb; --amn-line: #e3e8ef; --amn-muted: #64748b; --amn-canvas: #f4f7fb; --amn-text: #0f1c33;
  --amn-radius: 16px; --amn-ease: cubic-bezier(.2, .7, .2, 1);
}

.amn-wrap { width: 100%; max-width: 1152px; margin-inline: auto; padding-inline: 16px; box-sizing: border-box; }
.amn-section { padding-block: 64px; }
.amn-section-white { background: #fff; }
.amn-section-dark { background: var(--amn-ink); color: #fff; }
.amn-mt { margin-top: 24px; } .amn-mt-lg { margin-top: 48px; }
.amn-center { text-align: center; }
.amn-muted { color: var(--amn-muted); font-size: 14px; }
.amn-ltr { text-align: start; }
.amn-text-brand { color: var(--amn-brand); }
.amn-light { color: #fff; } .amn-light-muted { color: rgba(255, 255, 255, .72); }

/* تایپوگرافی */
.amn-h2 { font-size: clamp(24px, 3.4vw, 32px); font-weight: 900; line-height: 1.5; color: var(--amn-ink); margin: 8px 0 0; }
.amn-h3 { font-size: 20px; font-weight: 900; color: var(--amn-ink); margin: 32px 0 14px; }
.amn-h4 { font-size: 17px; font-weight: 800; color: var(--amn-ink); margin: 14px 0 0; line-height: 1.7; }
.amn-section-dark .amn-h2, .amn-heading-dark .amn-h2 { color: #fff; }
.amn-p { line-height: 2; color: #475569; margin: 14px 0 0; }
.amn-p-sm { line-height: 1.9; color: #475569; font-size: 14.5px; margin: 8px 0 0; }
.amn-p-xs { line-height: 1.8; color: #475569; font-size: 12.5px; margin: 8px 0 0; }
.amn-kicker { font-size: 14px; font-weight: 700; color: var(--amn-brand); margin: 0; }
.amn-kicker-light { color: var(--amn-brand-400); }
.amn-kicker-sm { font-size: 12px; font-weight: 700; color: var(--amn-brand); margin: 0; }
.amn-sub { margin: 12px 0 0; max-width: 640px; color: #475569; line-height: 1.9; }
.amn-heading { margin-bottom: 32px; }
.amn-heading-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.amn-lead { font-size: 18px; font-weight: 600; line-height: 2.1; color: var(--amn-ink); }
.amn-meta { font-size: 14px; color: var(--amn-muted); }

/* دکمه‌ها */
.amn-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 12px; padding: 13px 22px; font: inherit; font-size: 14px; font-weight: 700;
  text-decoration: none; border: 1px solid transparent; cursor: pointer; position: relative; overflow: hidden; transition: transform .2s var(--amn-ease), box-shadow .2s, background-color .2s, border-color .2s; }
.amn-btn:hover { transform: translateY(-2px); }
.amn-btn:active { transform: scale(.98); }
.amn-btn:focus-visible { outline: 2px solid var(--amn-brand); outline-offset: 2px; }
.amn-btn-primary { background: var(--amn-brand); color: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .1); }
.amn-btn-primary:hover { background: var(--amn-brand-600); box-shadow: 0 10px 24px -8px rgba(13, 148, 136, .6); color: #fff; }
.amn-btn-primary::after { content: ""; position: absolute; inset-block: 0; width: 40%; left: -60%; transform: skewX(-20deg); background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent); }
.amn-btn-primary:hover::after { left: 130%; transition: left .7s ease; }
.amn-btn-ghost { background: #fff; color: var(--amn-ink); border-color: var(--amn-line); }
.amn-btn-ghost:hover { background: var(--amn-sky); color: var(--amn-ink); }
.amn-btn-dark { background: var(--amn-ink); color: #fff; }
.amn-btn-dark:hover { background: var(--amn-ink-3); color: #fff; }
.amn-btn-light { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .25); backdrop-filter: blur(6px); }
.amn-btn-light:hover { background: rgba(255, 255, 255, .2); color: #fff; }
.amn-btn-block { width: 100%; }
.amn-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* کارت */
.amn-card { background: #fff; border: 1px solid var(--amn-line); border-radius: var(--amn-radius); padding: 22px; box-shadow: 0 1px 2px rgba(10, 26, 51, .04); box-sizing: border-box;
  transition: transform .3s var(--amn-ease), box-shadow .3s, border-color .3s; }
.amn-card-link { display: block; text-decoration: none; color: inherit; }
.amn-card-link:hover { transform: translateY(-4px); border-color: rgba(13, 148, 136, .4); box-shadow: 0 14px 30px -14px rgba(10, 26, 51, .25); }
.amn-card-dark { background: var(--amn-ink); color: #fff; border-color: transparent; }
.amn-card-dark h3, .amn-card-dark .amn-h4 { color: #fff; margin-top: 0; }
.amn-card-dark p { color: rgba(255, 255, 255, .72); line-height: 1.9; font-size: 14.5px; }
.amn-more { display: inline-block; margin-top: 14px; font-size: 14px; font-weight: 700; color: var(--amn-brand); text-decoration: none; }
.amn-iconbox { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--amn-brand-50); color: var(--amn-brand); transition: background .3s, color .3s; }
.amn-iconbox-sm { width: 40px; height: 40px; }
.amn-card-link:hover .amn-iconbox { background: var(--amn-brand); color: #fff; }
.amn-icon { width: 20px; height: 20px; flex-shrink: 0; vertical-align: middle; }
.amn-icon-sm { width: 16px; height: 16px; } .amn-icon-lg { width: 24px; height: 24px; }
.amn-chip { display: inline-flex; align-items: center; border-radius: 999px; padding: 4px 12px; font-size: 12px; font-weight: 700; background: var(--amn-sky); color: var(--amn-ink-3); }
.amn-chip-brand { background: var(--amn-brand-50); color: var(--amn-brand-600); }
.amn-chip-new { background: #e0f2fe; color: #075985; } .amn-chip-verifying { background: #fef3c7; color: #92400e; }
.amn-chip-approved { background: #d1fae5; color: #065f46; } .amn-chip-rejected { background: #ffe4e6; color: #9f1239; } .amn-chip-delivered { background: #ede9fe; color: #5b21b6; }
.amn-chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* شبکه‌ها */
.amn-grid { display: grid; gap: 16px; list-style: none; margin: 0; padding: 0; }
.amn-grid-2 { grid-template-columns: repeat(2, 1fr); }
.amn-grid-3 { grid-template-columns: repeat(3, 1fr); }
.amn-grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .amn-grid-3, .amn-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .amn-grid-2, .amn-grid-3, .amn-grid-4 { grid-template-columns: 1fr; } .amn-section { padding-block: 44px; } }
.amn-grid > li { margin: 0; }

/* هیرو */
.amn-hero { position: relative; isolation: isolate; overflow: hidden; color: #fff;
  background: radial-gradient(60rem 30rem at 85% -10%, rgba(45, 212, 191, .28), transparent 60%), radial-gradient(40rem 26rem at 0% 110%, rgba(59, 130, 246, .25), transparent 60%), linear-gradient(160deg, #07142a 0%, #0a1a33 55%, #0d2347 100%); }
.amn-grid-lines { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(to right, rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(to bottom, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 44px 44px; -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); }
.amn-orb { position: absolute; border-radius: 999px; filter: blur(70px); pointer-events: none; z-index: -1; }
.amn-orb-a { width: 420px; height: 420px; top: -120px; right: -80px; background: rgba(45, 212, 191, .28); animation: amn-float-a 14s ease-in-out infinite; }
.amn-orb-b { width: 380px; height: 380px; bottom: -140px; left: -60px; background: rgba(59, 130, 246, .26); animation: amn-float-b 18s ease-in-out infinite; }
@keyframes amn-float-a { 0%, 100% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(-40px, 30px, 0) scale(1.12); } }
@keyframes amn-float-b { 0%, 100% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(50px, -34px, 0) scale(.9); } }
.amn-hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; padding-block: 80px 24px; }
@media (max-width: 900px) { .amn-hero-grid { grid-template-columns: 1fr; padding-block: 48px 16px; } }
.amn-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--amn-brand-400); background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .15); }
.amn-hero-title { font-size: clamp(32px, 5vw, 52px); font-weight: 900; line-height: 1.4; margin: 20px 0 0; color: #fff; }
.amn-shine { background-image: linear-gradient(to left, #2dd4bf, #7dd3fc, #2dd4bf); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: amn-shine 6s linear infinite; }
@keyframes amn-shine { from { background-position: 0% 50%; } to { background-position: -200% 50%; } }
.amn-hero-p { margin-top: 20px; max-width: 540px; line-height: 2.1; color: rgba(255, 255, 255, .78); }
.amn-hero-card { max-width: 380px; width: 100%; margin-inline: auto; }
.amn-hero-card-inner { text-align: center; padding: 32px; border-radius: 24px; border: 1px solid rgba(255, 255, 255, .15); background: rgba(255, 255, 255, .07); backdrop-filter: blur(8px); animation: amn-bob 5s ease-in-out infinite; }
@keyframes amn-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.amn-hero-card-name { font-size: 18px; font-weight: 800; margin: 20px 0 0; color: #fff; }
.amn-hero-card-sub { font-size: 14px; color: rgba(255, 255, 255, .6); margin: 4px 0 0; }
.amn-hero-stats { padding-bottom: 40px; }
.amn-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 0; }
@media (max-width: 700px) { .amn-stats { grid-template-columns: repeat(2, 1fr); } }
.amn-stat { border-radius: 16px; border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .06); padding: 16px; text-align: center; backdrop-filter: blur(6px); }
.amn-stat dd { margin: 0; font-size: 26px; font-weight: 900; color: var(--amn-brand-400); }
.amn-stat dt { margin-top: 4px; font-size: 12px; color: rgba(255, 255, 255, .65); }
.amn-section-dark .amn-stats .amn-stat { background: rgba(255, 255, 255, .06); }

/* لوگو */
.amn-logomark { display: inline-flex; align-items: center; background: #fff; border-radius: 12px; padding: 6px; box-shadow: 0 1px 2px rgba(0, 0, 0, .1); flex-shrink: 0; }
.amn-logomark img { width: auto; display: block; }
.amn-logo-h-32 { height: 32px; } .amn-logo-h-40 { height: 40px; } .amn-logo-h-96 { height: 96px; }

/* درباره */
.amn-about-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 800px) { .amn-about-grid { grid-template-columns: 1fr; } }
.amn-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 0; }
.amn-fact-v { margin: 0; font-size: 20px; font-weight: 800; color: var(--amn-ink); }
.amn-fact-l { margin-top: 4px; font-size: 12px; color: var(--amn-muted); }

/* مسیر رشد */
.amn-step { position: relative; }
.amn-stepno { position: absolute; top: -12px; inset-inline-end: 16px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 999px; background: var(--amn-ink); color: #fff; font-size: 12px; font-weight: 700; }

/* کارفرمایان */
.amn-client { border-radius: 16px; border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .05); padding: 20px 12px; text-align: center; font-size: 14px; font-weight: 700; color: #fff; transition: background .3s, transform .3s var(--amn-ease); }
.amn-client:hover { background: rgba(255, 255, 255, .1); transform: translateY(-3px); }
.amn-clients-light .amn-card { padding-block: 28px; }

/* بنر */
.amn-banner { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; border-radius: 24px; padding: 40px; background: var(--amn-ink); color: #fff; }
.amn-banner-soft { background: linear-gradient(to left, var(--amn-brand-50), var(--amn-sky)); color: var(--amn-text); }
@media (max-width: 760px) { .amn-banner { grid-template-columns: 1fr; padding: 28px; } }
.amn-cta { background: linear-gradient(160deg, #07142a 0%, #0a1a33 55%, #0d2347 100%); color: #fff; }
.amn-cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-block: 56px; }
.amn-cta-title { font-size: clamp(22px, 3vw, 30px); font-weight: 900; margin: 0; color: #fff; }
.amn-cta p { margin: 8px 0 0; color: rgba(255, 255, 255, .72); }

/* اخبار */
.amn-news-card { display: flex; flex-direction: column; }
.amn-news-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.amn-news-thumb { display: block; margin: -22px -22px 16px; border-radius: 16px 16px 0 0; overflow: hidden; }
.amn-news-thumb img { width: 100%; height: 170px; object-fit: cover; display: block; }
.amn-clamp { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.amn-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.amn-pill { border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 700; text-decoration: none; border: 1px solid var(--amn-line); background: #fff; color: #475569; }
.amn-pill:hover { background: var(--amn-sky); }
.amn-pill.is-active { background: var(--amn-ink); color: #fff; border-color: var(--amn-ink); }
.amn-prose { line-height: 2.1; color: #334155; }
.amn-prose p { margin: 0 0 18px; }
.amn-source { margin-top: 32px; padding: 16px; border-radius: 16px; border: 1px solid var(--amn-line); background: #fff; font-size: 14px; color: #475569; }
.amn-source span { display: block; margin-top: 4px; font-size: 12px; color: var(--amn-muted); }
.amn-source a { color: var(--amn-brand); font-weight: 700; }
.amn-news-single { max-width: 800px; padding-block: 48px; }

/* خدمت (جزئیات) */
.amn-service-single { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; padding-block: 56px; align-items: start; }
@media (max-width: 900px) { .amn-service-single { grid-template-columns: 1fr; } }
.amn-checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.amn-checklist li { display: flex; align-items: flex-start; gap: 12px; color: #334155; }
.amn-check { display: grid; place-items: center; width: 20px; height: 20px; margin-top: 4px; border-radius: 999px; background: var(--amn-brand); color: #fff; flex-shrink: 0; }
.amn-service-aside .amn-card { margin-bottom: 16px; }

/* تماس و پیوندها */
.amn-tel { color: var(--amn-brand); font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-variant-numeric: tabular-nums; }
.amn-tel-light { color: var(--amn-brand-400); }
.amn-bullets { margin: 14px 0 0; padding-inline-start: 20px; color: #475569; font-size: 14px; line-height: 2; }

/* گروه‌ها: جدول و هشدار */
.amn-alert { border: 1px solid #fde68a; background: #fffbeb; border-radius: 24px; padding: 24px 28px; }
.amn-alert h2 { margin: 0; color: #78350f; display: flex; align-items: center; gap: 8px; }
.amn-alert ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.amn-alert li { display: flex; gap: 12px; align-items: flex-start; color: #451a03; font-size: 14.5px; line-height: 1.9; }
.amn-alert li .amn-icon { margin-top: 5px; color: #b45309; }
.amn-table-wrap { overflow-x: auto; border: 1px solid var(--amn-line); border-radius: 16px; background: #fff; margin-top: 16px; }
.amn-table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 14px; }
.amn-table th, .amn-table td { padding: 12px 16px; text-align: start; border-bottom: 1px solid var(--amn-line); }
.amn-table thead th { background: #f8fafc; color: var(--amn-muted); font-size: 12px; }
.amn-table tbody tr:last-child td { border-bottom: 0; }

/* فرم‌ها */
.amn-two-col { display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: start; }
@media (max-width: 900px) { .amn-two-col { grid-template-columns: 1fr; } }
.amn-form { margin-top: 20px; }
.amn-form-title { margin: 0 0 18px; font-size: 18px; font-weight: 800; color: var(--amn-ink); }
.amn-fields { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 18px; }
@media (max-width: 640px) { .amn-fields { grid-template-columns: 1fr; } }
.amn-field.amn-wide, .amn-wide { grid-column: 1 / -1; }
.amn-label { display: block; margin-bottom: 6px; font-size: 12.5px; font-weight: 700; color: #475569; }
.amn-req { color: #e11d48; }
.amn-input { width: 100%; box-sizing: border-box; border: 1px solid var(--amn-line); border-radius: 12px; background: #fff; padding: 12px 14px; font: inherit; font-size: 14px; color: var(--amn-ink); transition: border-color .2s, box-shadow .2s; }
.amn-input:focus { outline: none; border-color: var(--amn-brand); box-shadow: 0 0 0 4px rgba(13, 148, 136, .15); }
textarea.amn-input { resize: vertical; line-height: 1.9; }
.amn-file { padding: 9px 12px; }
.amn-hint { display: block; margin-top: 4px; font-size: 12px; color: var(--amn-muted); }
.amn-hp { position: absolute; inset-inline-start: -9999px; height: 0; overflow: hidden; }
.amn-check-row { display: flex; align-items: flex-start; gap: 10px; margin: 6px 0 18px; font-size: 14px; line-height: 1.9; color: #334155; }
.amn-check-row input { margin-top: 8px; accent-color: var(--amn-brand); width: 16px; height: 16px; }
.amn-topics { border: 0; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; }
.amn-radio { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--amn-line); border-radius: 12px; cursor: pointer; background: #fff; transition: border-color .2s, background .2s; }
.amn-radio:hover { background: var(--amn-sky); }
.amn-radio input { margin-top: 6px; accent-color: var(--amn-brand); }
.amn-radio strong { display: block; color: var(--amn-ink); font-size: 14.5px; }
.amn-radio small { color: var(--amn-muted); font-size: 12.5px; }
.amn-items { border: 0; padding: 0; margin: 0 0 18px; }
.amn-check-card { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--amn-line); border-radius: 12px; background: #fff; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--amn-ink); }
.amn-check-card input { accent-color: var(--amn-brand); width: 16px; height: 16px; }
.amn-check-card:has(input:checked) { border-color: var(--amn-brand); background: var(--amn-brand-50); }
.amn-notice { border-radius: 12px; padding: 12px 16px; font-size: 14px; margin: 0 0 16px; }
.amn-notice-error { border: 1px solid #fecdd3; background: #fff1f2; color: #9f1239; }
.amn-success { text-align: center; padding: 36px 24px; border-color: #a7f3d0; background: #ecfdf5; }
.amn-success-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 999px; background: #059669; color: #fff; }
.amn-success .amn-h3 { margin: 14px 0 8px; color: #064e3b; }
.amn-code { font-size: 26px; font-weight: 900; letter-spacing: .08em; color: var(--amn-ink); user-select: all; margin: 6px 0 10px; }
.amn-track { display: flex; gap: 8px; max-width: 520px; margin-top: 12px; }
.amn-steps-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 16px; }
.amn-steps-list li { display: flex; gap: 12px; }

/* ظاهر شدن هنگام اسکرول (با جاوااسکریپت فعال می‌شود؛ بدون آن همه‌چیز دیده می‌شود) */
.amn-js .amn-reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--amn-ease), transform .7s var(--amn-ease), box-shadow .3s, border-color .3s; }
.amn-js .amn-reveal.is-shown { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .amn-orb, .amn-hero-card-inner, .amn-shine { animation: none !important; }
  .amn-js .amn-reveal { opacity: 1; transform: none; transition: none; }
  .amn-btn:hover, .amn-card-link:hover { transform: none; }
}

/* ======================================================================
   صفحه‌ی «ورود به پنل» — همان طرح و اندازه‌های صفحه‌ی ورود نسخه‌ی لوکال
   ====================================================================== */
@font-face {
  font-family: "Vazirmatn";
  src: url("fonts/Vazirmatn-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
.amn-logo-h-56 { height: 56px; }

.amn-login-body { margin: 0; background: var(--amn-canvas); color: var(--amn-text); font-family: "Vazirmatn", system-ui, "Segoe UI", Tahoma, sans-serif; font-size: 16px; line-height: 1.5; -webkit-tap-highlight-color: transparent; }
.amn-lg { display: grid; min-height: 100vh; min-height: 100dvh; direction: rtl; font-family: "Vazirmatn", system-ui, "Segoe UI", Tahoma, sans-serif; }
.amn-lg *, .amn-lg *::before, .amn-lg *::after { box-sizing: border-box; }
@media (min-width: 1024px) { .amn-lg { grid-template-columns: 1fr 1fr; } }

.amn-lg-aside { display: none; position: relative; isolation: isolate; overflow: hidden; padding: 48px; color: #fff;
  background: radial-gradient(60rem 30rem at 85% -10%, rgba(45, 212, 191, .28), transparent 60%), radial-gradient(40rem 26rem at 0% 110%, rgba(59, 130, 246, .25), transparent 60%), linear-gradient(160deg, #07142a 0%, #0a1a33 55%, #0d2347 100%); }
@media (min-width: 1024px) { .amn-lg-aside { display: flex; flex-direction: column; justify-content: space-between; } }
.amn-lg-brand { position: relative; display: block; color: inherit; text-decoration: none; }
.amn-lg-brand-in { display: flex; align-items: center; gap: 12px; }
.amn-lg-brand-text { display: block; line-height: 1.25; }
.amn-lg-brand-name { display: block; white-space: nowrap; font-size: 14px; font-weight: 800; color: var(--amn-ink); }
.amn-lg-brand-tag { display: none; font-size: 11px; color: var(--amn-muted); }
.amn-lg-brand-name.is-light { color: #fff; }
.amn-lg-brand-tag.is-light { color: rgba(255, 255, 255, .6); }
@media (min-width: 640px) { .amn-lg-brand-name { font-size: 15px; } .amn-lg-brand-tag { display: block; } }
.amn-lg-aside-mid { position: relative; }
.amn-lg-aside-title { margin: 24px 0 0; font-size: 30px; font-weight: 900; line-height: 1.375; color: #fff; }
.amn-lg-aside-text { margin: 16px 0 0; max-width: 448px; font-size: 16px; line-height: 2; color: rgba(255, 255, 255, .7); }
.amn-lg-aside-foot { position: relative; margin: 0; font-size: 12px; line-height: 16px; color: rgba(255, 255, 255, .4); }

.amn-lg-main { display: flex; align-items: center; justify-content: center; padding: 20px; }
@media (min-width: 640px) { .amn-lg-main { padding: 40px; } }
.amn-lg-box { width: 100%; max-width: 384px; }
.amn-lg-mobile-brand { display: block; margin-bottom: 32px; color: inherit; text-decoration: none; }
@media (min-width: 1024px) { .amn-lg-mobile-brand { display: none; } }
.amn-lg-title { margin: 0; font-size: 24px; font-weight: 900; line-height: 32px; color: var(--amn-ink); }
.amn-lg-intro { margin: 8px 0 0; font-size: 14px; line-height: 28px; color: var(--amn-muted); }
.amn-lg-form { margin-top: 32px; display: flex; flex-direction: column; gap: 20px; }
.amn-lg-label { display: block; margin-bottom: 6px; font-size: 12px; line-height: 16px; font-weight: 600; color: #475569; }
.amn-lg-input { display: block; width: 100%; border: 1px solid var(--amn-line); border-radius: 12px; background: #fff; padding: 12px 16px; font: inherit; font-size: 14px; line-height: 20px; color: var(--amn-ink); text-align: left; outline: none; transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none; }
.amn-lg-input::placeholder { color: #94a3b8; }
.amn-lg-input:focus { border-color: var(--amn-brand); box-shadow: 0 0 0 4px rgba(13, 148, 136, .15); }
.amn-lg-input::-ms-reveal, .amn-lg-input::-ms-clear { display: none; }
.amn-lg-tnum { font-variant-numeric: tabular-nums; }
.amn-lg-pass { position: relative; }
.amn-lg-input-pass { padding-right: 48px; }
.amn-lg-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: #94a3b8; cursor: pointer; transition: background .15s, color .15s; }
.amn-lg-eye:hover { background: #f1f5f9; color: var(--amn-ink); }
.amn-lg-eye .amn-icon { width: 20px; height: 20px; }
.amn-lg-eye span { display: grid; place-items: center; }
.amn-lg-error { margin: 0; border: 1px solid #fecaca; border-radius: 12px; background: #fef2f2; padding: 12px 16px; font-size: 14px; line-height: 20px; color: #b91c1c; }
.amn-lg .amn-lg-submit { padding: 12px 20px; border: 0; border-radius: 12px; font-size: 14px; line-height: 20px; font-weight: 600; }
.amn-lg .amn-lg-submit:disabled { opacity: .5; cursor: default; transform: none; }
.amn-lg-help { margin: 24px 0 0; text-align: center; font-size: 12px; line-height: 16px; color: var(--amn-muted); }
.amn-lg-back { display: block; margin-top: 24px; text-align: center; font-size: 14px; line-height: 20px; color: var(--amn-brand); text-decoration: none; }
.amn-lg-back:hover { text-decoration: underline; }

/* ======================================================================
   انیمیشن‌ها و جزئیات هیرو — انتقال دقیق از نسخه‌ی لوکال (globals.css)
   ====================================================================== */
@keyframes amn-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.amn-rise { animation: amn-rise .7s var(--amn-ease) both; }
.amn-rise-2 { animation-delay: .12s; } .amn-rise-3 { animation-delay: .24s; } .amn-rise-4 { animation-delay: .36s; }

/* هیرو: ابعاد و ستون‌بندی مثل لوکال (۱۰۲۴ پیکسل به بالا دو ستونه) */
.amn-hero-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; padding-block: 64px; }
@media (min-width: 768px) { .amn-hero-grid { padding-block: 96px; } }
@media (min-width: 1024px) { .amn-hero-grid { grid-template-columns: 1.2fr .8fr; } }
.amn-hero-stats { padding-top: 0; padding-bottom: 40px; }
.amn-hero-text { min-width: 0; }
.amn-badge { padding: 4px 10px; gap: 0; line-height: 16px; }
.amn-badge .amn-icon { width: 14px; height: 14px; margin-inline-end: 6px; }
.amn-hero-title { margin: 20px 0 0; font-size: 36px; line-height: 1.35; }
@media (min-width: 768px) { .amn-hero-title { font-size: 48px; } }
.amn-hero-p { margin: 20px 0 0; max-width: 576px; font-size: 16px; line-height: 2; color: rgba(255, 255, 255, .75); }
.amn-hero .amn-actions { margin-top: 32px; gap: 12px; }
.amn-hero-card { position: relative; max-width: 384px; width: 100%; margin-inline: auto; }
.amn-hero-glow { position: absolute; inset: -16px; z-index: -1; border-radius: 2rem; background: rgba(13, 148, 136, .2); filter: blur(40px); }
.amn-hero-card-inner { position: relative; animation: none; padding: 32px; border-radius: 24px; border: 1px solid rgba(255, 255, 255, .15); background: rgba(255, 255, 255, .07); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); text-align: center; }
.amn-hero-card-name { margin: 20px 0 0; font-size: 18px; line-height: 28px; font-weight: 800; color: #fff; }
.amn-hero-card-sub { margin: 4px 0 0; font-size: 14px; line-height: 20px; color: rgba(255, 255, 255, .6); }
@keyframes amn-ping-soft { 0% { transform: scale(.9); opacity: .55; } 80%, 100% { transform: scale(1.35); opacity: 0; } }
.amn-ring-pulse::before, .amn-ring-pulse::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 1px solid rgba(45, 212, 191, .5); animation: amn-ping-soft 3.6s cubic-bezier(.2, .7, .2, 1) infinite; pointer-events: none; }
.amn-ring-pulse::after { animation-delay: 1.8s; }
.amn-bob { display: flex; justify-content: center; animation: amn-bob 5s ease-in-out infinite; }
.amn-hero-card .amn-logomark { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .05); }
.amn-orb { z-index: -10; }

/* آمار هیرو */
.amn-stats { gap: 12px; }
.amn-stat { transition: translate .3s var(--amn-ease), background-color .3s, opacity .7s var(--amn-ease), transform .7s var(--amn-ease); }
.amn-stat:hover { translate: 0 -4px; background: rgba(255, 255, 255, .1); }
.amn-stat dd { font-size: 24px; line-height: 32px; }
.amn-stat dt { font-size: 12px; line-height: 16px; }

/* ظاهر شدن هنگام اسکرول (Reveal لوکال): up / scale / fade */
.amn-js .amn-reveal { opacity: 0; transform: translateY(26px); will-change: opacity, transform;
  transition: opacity .7s var(--amn-ease), transform .7s var(--amn-ease), translate .3s var(--amn-ease), box-shadow .3s, border-color .3s, background-color .3s; }
.amn-js .amn-reveal[data-variant="fade"] { transform: none; }
.amn-js .amn-reveal[data-variant="scale"] { transform: scale(.94); }
.amn-js .amn-reveal.is-shown { opacity: 1; transform: none; }

/* بالا آمدن کارت‌ها با hover (از خاصیت translate تا با تبدیل ظاهرشدن تداخل نکند) */
.amn-card { transition: translate .3s var(--amn-ease), box-shadow .3s, border-color .3s, transform .7s var(--amn-ease), opacity .7s var(--amn-ease); }
.amn-hv:hover { translate: 0 -4px; }
.amn-hv-lg:hover { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1); }
.amn-card-link { height: 100%; }
.amn-card-link:hover { transform: none; translate: 0 -6px; border-color: rgba(13, 148, 136, .4); box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 8px 10px -6px rgba(0, 0, 0, .1); }
.amn-reveal > .amn-card-link { display: block; }
.amn-news-card { display: flex; flex-direction: column; }
.amn-news-title { margin-top: 12px; line-height: 2; }
.amn-news-card:hover .amn-news-title { color: var(--amn-brand-600); }

/* کارت خدمت: آیکون می‌چرخد و بزرگ می‌شود، «ادامه ←» ظاهر می‌شود */
.amn-svc .amn-iconbox { transition: transform .3s, background-color .3s, color .3s; }
.amn-svc:hover .amn-iconbox { transform: rotate(-6deg) scale(1.1); background: var(--amn-brand); color: #fff; }
.amn-svc-more { display: inline-block; margin-top: 16px; font-size: 12px; line-height: 16px; font-weight: 700; color: var(--amn-brand); opacity: 0; transition: transform .3s, opacity .3s; }
.amn-svc:hover .amn-svc-more { transform: translateX(-4px); opacity: 1; }

/* نوار لغزان کارفرمایان */
@keyframes amn-marquee { from { transform: translateX(0); } to { transform: translateX(50%); } }
.amn-marquee { overflow: hidden; margin-top: 32px; -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); }
.amn-marquee-track { display: flex; width: max-content; gap: .75rem; list-style: none; margin: 0; padding: 0; animation: amn-marquee 40s linear infinite; }
.amn-marquee:hover .amn-marquee-track { animation-play-state: paused; }
.amn-marquee-track li { width: 224px; flex-shrink: 0; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .05); padding: 20px 16px; text-align: center; font-size: 14px; line-height: 20px; font-weight: 600; color: #fff; transition: border-color .15s, background-color .15s; }
.amn-marquee-track li:hover { border-color: rgba(45, 212, 191, .5); background: rgba(255, 255, 255, .1); }
.amn-mt-lg { margin-top: 32px; }

/* بنرها، بخش‌های پایانی و فاصله‌ها مثل لوکال */
.amn-pt-lg { padding-top: 64px; }
.amn-banner { grid-template-columns: 1fr; }
@media (min-width: 768px) { .amn-banner { grid-template-columns: 1fr auto; padding: 48px; } }
.amn-banner-btns { display: flex; flex-direction: column; gap: 8px; }
.amn-banner-soft { background: linear-gradient(to left, var(--amn-brand-50), var(--amn-sky)); }
.amn-branches { padding-top: 0; }
.amn-news-latest { padding-bottom: 0; }
.amn-more-link { font-size: 14px; font-weight: 600; color: var(--amn-brand); text-decoration: none; }
.amn-more-link:hover { text-decoration: underline; }
.amn-cta { position: relative; isolation: isolate; overflow: hidden; }
.amn-cta-inner { padding-block: 56px; }
.amn-shrink-0 { flex-shrink: 0; }

@media (prefers-reduced-motion: reduce) {
  .amn-rise, .amn-ring-pulse::before, .amn-ring-pulse::after, .amn-bob, .amn-marquee-track { animation: none !important; }
  .amn-hv:hover, .amn-card-link:hover, .amn-stat:hover { translate: none; }
}

/* دکمه‌ی «ورود به پنل» شناور (وقتی قالب دیده‌بان فعال نیست) */
.amn-float-login { position: fixed; top: calc(var(--wp-admin--admin-bar--height, 0px) + 14px); left: 16px; z-index: 2147483000; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  border-radius: 12px; padding: 10px 16px; background: var(--amn-brand); color: #fff !important; font-family: "Vazirmatn", system-ui, "Segoe UI", Tahoma, sans-serif; font-size: 14px; line-height: 20px; font-weight: 600;
  text-decoration: none !important; box-shadow: 0 8px 20px -6px rgba(13, 148, 136, .55); transition: background-color .2s, transform .2s, box-shadow .2s; }
.amn-float-login:hover { background: var(--amn-brand-600); color: #fff !important; transform: translateY(-2px); box-shadow: 0 12px 26px -8px rgba(13, 148, 136, .65); }
.amn-float-login .amn-icon { width: 16px; height: 16px; }
.amn-fl-full { display: none; } .amn-fl-short { display: inline; }
@media (min-width: 640px) { .amn-fl-full { display: inline; } .amn-fl-short { display: none; } }
@media print { .amn-float-login { display: none; } }
