/* ════════════════════════════════════════════════════════════════
   site.css — استایل‌های سایت اصلی (نسخه نهایی)
   هدر تک‌ردیف / منوی دسکتاپ تک‌ردیفی + «بیشتر» / کشوی موبایل راست‌چین
   Hero2 + آمار + کارت‌های صفحه اصلی + عکس تیم
   ════════════════════════════════════════════════════════════════ */

/* ─── اسکلت صفحه ─── */
body{display:flex;flex-direction:column}
.page-wrap{flex:1 0 auto;padding:26px 16px 60px}
.page-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:20px;flex-wrap:wrap}
.page-head h1{font-size:19px}
.esa-ico{width:22px;height:22px;flex:none}

/* ─── هدر (تک‌ردیف: برند + اکشن‌ها) ─── */
.site-header{position:sticky;top:0;z-index:100;background:var(--surface);border-bottom:1px solid var(--border)}
.header-inner{display:flex;align-items:center;gap:12px;height:64px}
.header-start{display:flex;align-items:center;gap:10px}
.brand{display:flex;align-items:center;gap:10px;color:var(--text);font-weight:800;font-size:14px;text-decoration:none!important;white-space:nowrap}
.brand-mark{width:38px;height:38px;border-radius:11px;background:linear-gradient(135deg,#6366f1,#8b5cf6);display:flex;align-items:center;justify-content:center;color:#fff;flex:none;overflow:hidden}
.brand-mark .esa-ico{width:20px;height:20px}
.brand-mark img{width:100%;height:100%;object-fit:contain;display:block}
.header-actions{display:flex;align-items:center;gap:8px;margin-inline-start:auto}
.menu-toggle{display:none;width:40px;height:40px;border-radius:11px;border:1px solid var(--border);background:var(--surface);color:var(--text);cursor:pointer;align-items:center;justify-content:center;flex:none}
.menu-toggle .esa-ico{width:20px;height:20px}

/* ─── نوار منوی اصلی (دسکتاپ: زیر هدر / موبایل: کشوی راست) ─── */
.main-nav{position:sticky;top:64px;z-index:95;background:var(--surface);border-bottom:1px solid var(--border)}
.nav-inner{display:flex;align-items:center;justify-content:center;gap:2px;padding:5px 8px;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;flex-wrap:nowrap}
.nav-inner::-webkit-scrollbar{display:none}
.nav-link{display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border-radius:10px;color:var(--text-muted);font-size:13px;text-decoration:none!important;white-space:nowrap;flex:none}
.nav-link:hover{background:var(--surface-2);color:var(--text)}
.nav-link.active{background:var(--primary-soft);color:var(--primary-strong)}
.nav-link .esa-ico{width:16px;height:16px}

/* دکمه «بیشتر» (فقط دسکتاپ) */
.nav-more-btn{display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border-radius:10px;border:1px dashed var(--border-strong);background:transparent;color:var(--text-muted);font-family:inherit;font-size:13px;cursor:pointer;white-space:nowrap;flex:none;transition:border-color .15s,color .15s}
.nav-more-btn:hover,.nav-more-btn.open{border-color:var(--primary);color:var(--primary-strong)}
.nav-more-btn .esa-ico{width:16px;height:16px}

/* ردیف دوم (بازشونده — فقط دسکتاپ) */
.nav-extra{background:var(--surface-2);border-bottom:1px solid var(--border);animation:nav-extra-in .18s ease}
@keyframes nav-extra-in{from{opacity:0;transform:translateY(-4px)}}

/* آیتم‌های اضافی در دسکتاپ مخفی */
.mobile-only{display:none}

/* سربرگ و دکمه بستن کشو (فقط موبایل) */
.drawer-head{display:none;align-items:center;justify-content:space-between;padding:15px 18px;border-bottom:1px solid var(--border)}
.drawer-head b{font-size:14px}
.drawer-close{width:34px;height:34px;border-radius:10px;border:1px solid var(--border);background:var(--surface);color:var(--text-muted);cursor:pointer;font-size:17px;line-height:1;display:flex;align-items:center;justify-content:center}
.drawer-close:hover{color:var(--danger-t);border-color:var(--danger)}
.nav-overlay{display:none}

/* دکمه آیکونی هدر (تم + زنگ) */
.icon-btn{position:relative;width:40px;height:40px;border-radius:11px;border:1px solid var(--border);background:var(--surface);color:var(--text-muted);display:flex;align-items:center;justify-content:center;cursor:pointer;text-decoration:none!important;flex:none}
.icon-btn:hover{color:var(--text);background:var(--surface-2)}
html:not([data-theme='dark']) .icon-btn .ico-sun{display:none}
html[data-theme='dark'] .icon-btn .ico-moon{display:none}
.badge{position:absolute;top:-5px;left:-5px;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:var(--danger);color:#fff;font-size:10.5px;line-height:18px;text-align:center;display:none}
.badge.show{display:block}

/* آواتار و دراپ‌داون */
.avatar-menu{position:relative}
.avatar-btn{width:40px;height:40px;border-radius:50%;border:2px solid var(--border);background:var(--surface-2);cursor:pointer;overflow:hidden;display:flex;align-items:center;justify-content:center;padding:0;flex:none}
.avatar-btn:hover{border-color:var(--primary)}
.avatar-btn img{width:100%;height:100%;object-fit:cover}
.avatar-fallback{font-size:13px;font-weight:800;color:var(--primary-strong)}
.dropdown{position:absolute;top:calc(100% + 10px);left:0;min-width:225px;background:var(--surface);border:1px solid var(--border);border-radius:14px;box-shadow:var(--shadow);padding:8px;display:none;z-index:120}
.dropdown.open{display:block;animation:dd-in .15s ease}
@keyframes dd-in{from{opacity:0;transform:translateY(-6px)}}
.dropdown-head{padding:10px 12px;border-bottom:1px solid var(--border);margin-bottom:6px}
.dropdown-head b{display:block;font-size:13px}
.dropdown-head span{font-size:11.5px;color:var(--text-muted)}
.dropdown a,.dropdown button[type=submit]{display:flex;align-items:center;gap:10px;width:100%;padding:9px 12px;border-radius:9px;color:var(--text);font-size:13px;text-decoration:none!important;background:none;border:none;cursor:pointer;text-align:right}
.dropdown a:hover,.dropdown button[type=submit]:hover{background:var(--surface-2)}
.dropdown .esa-ico{width:16px;height:16px;color:var(--text-muted)}
.dropdown-logout{color:var(--danger-t)!important}

/* ─── صفحه اصلی: Hero2 ─── */
.hero2{position:relative;overflow:hidden;border-radius:var(--radius-lg);background:linear-gradient(135deg,#312e81 0%,#4f46e5 40%,#7c3aed 75%,#a855f7 100%);color:#fff;padding:48px 40px}
.hero2-decor{position:absolute;border-radius:50%;pointer-events:none}
.hero2-decor.d1{width:300px;height:300px;top:-120px;left:-80px;background:radial-gradient(circle,rgba(255,255,255,.1),transparent 70%)}
.hero2-decor.d2{width:200px;height:200px;bottom:-80px;right:20%;background:radial-gradient(circle,rgba(255,255,255,.08),transparent 70%)}
.hero2-decor.d3{width:120px;height:120px;top:20%;right:-40px;background:radial-gradient(circle,rgba(255,255,255,.12),transparent 70%)}

.hero2-inner{position:relative;display:flex;align-items:center;gap:36px;flex-wrap:wrap;z-index:1}
.hero2-text{flex:1;min-width:260px}
.hero2-badge{display:inline-flex;align-items:center;gap:8px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.25);border-radius:99px;padding:5px 16px;font-size:11.5px;font-weight:800;margin-bottom:12px}
.hero2-badge .esa-ico{width:14px;height:14px}
.hero2-text h1{font-size:26px;margin-bottom:8px;line-height:1.6}
.hero2-sub{font-size:13.5px;line-height:2.1;opacity:.9;margin-bottom:22px;max-width:520px}
.hero2-actions{display:flex;gap:12px;flex-wrap:wrap}
.btn-hero2-primary{background:#fff;color:#4f46e5;font-weight:800}
.btn-hero2-primary:hover{filter:brightness(1.05)}
.btn-hero2-ghost{background:transparent;border:1px solid rgba(255,255,255,.5);color:#fff}
.btn-hero2-ghost:hover{background:rgba(255,255,255,.1)}

/* آمار Hero */
.hero2-stats{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;flex:0 0 280px;max-width:100%}
.hs-item{position:relative;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18);border-radius:14px;padding:14px 16px;backdrop-filter:blur(8px);overflow:hidden}
.hs-item b{display:block;font-size:22px;font-weight:800;line-height:1.4}
.hs-item span{font-size:11px;opacity:.8}
.hs-item .esa-ico{position:absolute;top:10px;left:10px;width:18px;height:18px;opacity:.25}

/* ─── بخش‌های صفحه اصلی ─── */
.section{margin-top:34px}
.section-title{font-size:16px;margin-bottom:16px}
.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.section-head .section-title{margin-bottom:0}

.module-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:14px}
.module-card{display:flex;flex-direction:column;align-items:center;gap:10px;padding:22px 12px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);color:var(--text);text-decoration:none!important;font-size:13.5px;transition:border-color .15s,transform .15s}
.module-card:hover{border-color:var(--primary);transform:translateY(-2px)}
.module-ico{width:52px;height:52px;border-radius:14px;display:flex;align-items:center;justify-content:center}
.module-ico .esa-ico{width:24px;height:24px}
.module-ico.c0{background:rgba(99,102,241,.12);color:#6366f1}
.module-ico.c1{background:rgba(16,185,129,.12);color:#059669}
.module-ico.c2{background:rgba(245,158,11,.14);color:#d97706}
.module-ico.c3{background:rgba(239,68,68,.11);color:#dc2626}
.module-ico.c4{background:rgba(14,165,233,.12);color:#0284c7}
.module-ico.c5{background:rgba(168,85,247,.12);color:#9333ea}
.module-ico.c6{background:rgba(20,184,166,.12);color:#0d9488}
.module-ico.c7{background:rgba(236,72,153,.11);color:#db2777}

/* ─── کارت‌های رویداد صفحه اصلی ─── */
.home-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.home-card{position:relative;display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);overflow:hidden;color:var(--text);text-decoration:none!important;transition:border-color .15s,transform .15s,box-shadow .15s}
.home-card:hover{border-color:var(--primary);transform:translateY(-3px);box-shadow:var(--shadow)}
.home-card.ended .hc-media img{filter:grayscale(1);opacity:.55}
.home-card.ended .hc-body{opacity:.75}
.home-card.ended:hover{transform:none;border-color:var(--border)}

.hc-media{position:relative;aspect-ratio:16/9;background:var(--surface-2)}
.hc-media img{width:100%;height:100%;object-fit:cover;transition:transform .3s}
.home-card:not(.ended):hover .hc-media img{transform:scale(1.04)}
.hc-placeholder{width:100%;height:100%;display:flex;align-items:center;justify-content:center;color:var(--text-faint);background:var(--primary-soft)}
.hc-placeholder .esa-ico{width:44px;height:44px}
.hc-status{position:absolute;top:12px;right:12px;padding:3px 12px;border-radius:99px;font-size:11px;color:#fff;backdrop-filter:blur(4px);box-shadow:0 2px 8px rgba(0,0,0,.25)}
.hc-status.live{box-shadow:0 2px 10px rgba(0,0,0,.3)}

.hc-body{display:flex;flex-direction:column;gap:8px;padding:15px 17px;flex:1}
.hc-cat{display:inline-flex;align-self:flex-start;background:var(--primary-soft);color:var(--primary-strong);border-radius:99px;padding:2px 11px;font-size:11px}
.hc-body h3{font-size:14.5px;line-height:1.7}
.hc-sum{font-size:12.5px;color:var(--text-muted);line-height:1.9;min-height:2.4em}
.hc-meta{display:flex;gap:14px;flex-wrap:wrap}
.hc-meta span{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:var(--text-muted)}
.hc-meta .esa-ico{width:14px;height:14px}
.hc-foot{display:flex;justify-content:space-between;align-items:center;gap:10px;border-top:1px dashed var(--border);padding-top:10px;margin-top:auto}
.hc-cap{font-size:12px;color:var(--text-muted)}
.hc-price{font-size:13px;font-weight:800;color:var(--primary-strong)}
.home-card.ended .hc-price{color:var(--text-muted)}

/* ─── راهنماهای اخیر ─── */
.home-cards.slim{display:flex;flex-direction:column;gap:10px}
.guide-row-card{display:flex;align-items:center;gap:13px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:11px 15px;color:var(--text);text-decoration:none!important;transition:border-color .15s,transform .15s}
.guide-row-card:hover{border-color:var(--primary);transform:translateX(-3px)}
.grc-ico{width:38px;height:38px;border-radius:11px;background:var(--primary-soft);display:flex;align-items:center;justify-content:center;flex:none}
.grc-ico .esa-ico{width:18px;height:18px}
.grc-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}
.grc-body b{font-size:13.5px;line-height:1.7;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.grc-meta{display:flex;gap:12px;align-items:center;flex-wrap:wrap;font-size:11px;color:var(--text-muted)}
.grc-tag{padding:1px 9px;border-radius:99px;color:#fff;font-size:10px}
.grc-arrow{color:var(--text-faint);flex:none}
.grc-arrow .esa-ico{width:16px;height:16px}
.guide-row-card:hover .grc-arrow{color:var(--primary-strong)}

/* ─── عکس دسته‌جمعی ─── */
.team-photo-section{position:relative;margin-top:28px;border-radius:var(--radius-lg);overflow:hidden;border:1px solid var(--border);box-shadow:var(--shadow)}
.team-photo-section img{width:100%;display:block;max-height:420px;object-fit:cover}
.team-photo-caption{position:absolute;bottom:0;right:0;left:0;background:linear-gradient(transparent,rgba(0,0,0,.6));color:#fff;font-size:13px;padding:24px 20px 14px;text-align:center}

/* ─── پیشخوان ─── */
.welcome{display:flex;align-items:center;gap:14px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:16px 20px;margin-bottom:20px}
.welcome .stat-ico{width:46px;height:46px}
.welcome b{font-size:14.5px}
.welcome span{display:block;font-size:12px;color:var(--text-muted)}
.stat-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(205px,1fr));gap:14px;margin-bottom:24px}
.stat-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:16px 18px;display:flex;align-items:center;gap:14px}
.stat-ico{width:44px;height:44px;border-radius:12px;display:flex;align-items:center;justify-content:center;flex:none;background:var(--primary-soft);color:var(--primary-strong)}
.stat-ico .esa-ico{width:21px;height:21px}
.stat-info{min-width:0}
.stat-info b{display:block;font-size:16px;line-height:1.6;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.stat-info span{font-size:11.5px;color:var(--text-muted)}
.two-col{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.panel{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:18px}
.panel>h2{font-size:14.5px;margin-bottom:12px}
.list-row{display:flex;align-items:center;gap:12px;padding:12px 4px;border-bottom:1px dashed var(--border);color:var(--text);text-decoration:none!important}
.list-row:last-child{border-bottom:none}
.list-row:hover b{color:var(--primary-strong)}
.list-row .grow{flex:1;min-width:0}
.list-row b{display:block;font-size:13.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.list-row .meta{font-size:11.5px;color:var(--text-muted)}
.status-chip{display:inline-block;padding:2px 10px;border-radius:99px;font-size:11px;color:#fff;white-space:nowrap;flex:none}

/* ─── پروفایل ─── */
.profile-grid{display:grid;grid-template-columns:320px 1fr;gap:16px;align-items:start}
.profile-card{padding:24px;text-align:center}
.avatar-lg{width:110px;height:110px;border-radius:50%;margin:0 auto 14px;border:3px solid var(--border);overflow:hidden;background:var(--primary-soft);display:flex;align-items:center;justify-content:center}
.avatar-lg img{width:100%;height:100%;object-fit:cover}
.avatar-lg span{font-size:34px;font-weight:800;color:var(--primary-strong)}
.profile-card h2{font-size:15px}
.profile-card .nc{font-size:12px;color:var(--text-muted);margin-top:4px}
.chips{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-top:14px}
.chip{display:inline-flex;align-items:center;gap:6px;padding:4px 12px;border-radius:99px;font-size:11.5px;border:1px solid}
.chip a{color:inherit;text-decoration:underline}
.chip-success{background:var(--success-soft);border-color:var(--success);color:var(--success-t)}
.chip-warning{background:var(--warning-soft);border-color:var(--warning);color:var(--warning-t)}
.chip-muted{background:var(--surface-2);border-color:var(--border-strong);color:var(--text-muted)}
.avatar-form{display:flex;flex-direction:column;gap:8px;align-items:center;margin-top:18px}
.avatar-form .file-label{cursor:pointer}
.profile-card .hint{margin-top:10px}
.side-info{padding:18px;margin-top:16px}
.side-info .row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:9px 0;border-bottom:1px dashed var(--border);font-size:13px}
.side-info .row:last-child{border-bottom:none}
.side-info .row span{color:var(--text-muted);white-space:nowrap}
.side-info .row b{text-align:left}
.form-card{padding:22px;margin-bottom:16px}
.form-card h2{font-size:15px;margin-bottom:16px}
.phone-box{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:8px}
.phone-num{font-size:16px;font-weight:800;letter-spacing:1px}

/* ─── اعلان‌ها ─── */
.notif-list{display:flex;flex-direction:column;gap:8px}
.notif-item{display:flex;align-items:flex-start;gap:12px;padding:14px 16px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);text-decoration:none!important;color:var(--text);transition:border-color .15s}
.notif-item:hover{border-color:var(--border-strong)}
.notif-item.unread{border-inline-start:3px solid var(--primary)}
.notif-item .dot{width:10px;height:10px;border-radius:50%;flex:none;margin-top:8px}
.notif-body{flex:1;min-width:0}
.notif-body b{display:block;font-size:13.5px}
.notif-text{display:block;font-size:12.5px;color:var(--text-muted);margin-top:2px}
.notif-time{display:block;font-size:11px;color:var(--text-faint);margin-top:4px}
.new-chip{background:var(--primary);color:#fff;font-size:10px;padding:2px 9px;border-radius:99px;flex:none;margin-top:3px}

/* ─── حالت خالی ─── */
.empty-state{background:var(--surface);border:1px dashed var(--border-strong);border-radius:var(--radius);padding:42px 20px;text-align:center;color:var(--text-muted)}
.empty-ico{width:56px;height:56px;margin:0 auto 12px;border-radius:16px;background:var(--surface-2);display:flex;align-items:center;justify-content:center;color:var(--text-faint)}
.empty-state b{display:block;color:var(--text);font-size:14px;margin-bottom:4px}
.empty-state p{font-size:12.5px}
.empty-state .btn{margin-top:16px}

/* ─── صفحه‌بندی ─── */
.pagination{display:flex;gap:6px;justify-content:center;margin-top:22px;flex-wrap:wrap}
.page-btn{min-width:36px;height:36px;padding:0 10px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--border);border-radius:9px;background:var(--surface);color:var(--text-muted);font-size:13px;text-decoration:none!important}
.page-btn:hover{border-color:var(--primary);color:var(--text)}
.page-btn.active{background:var(--primary);border-color:var(--primary);color:#fff}
.page-btn.is-disabled{opacity:.4;pointer-events:none}
.dots{align-self:center;color:var(--text-faint)}

/* ─── فوتر ─── */
.site-footer{border-top:1px solid var(--border);background:var(--surface);padding:16px 0;margin-top:auto}
.site-footer .container{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;font-size:12px;color:var(--text-muted)}
.foot-links{display:flex;gap:18px;flex-wrap:wrap}

/* ─── فرم‌های عمومی ─── */
.form-card>.field:last-child{margin-bottom:0}
.form-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-top:2px}
.form-actions .btn{min-width:160px}

/* ─── دکمه‌های آیکونی جدول ─── */
.row-actions .btn-ghost{border-color:transparent}
.row-actions .btn-ghost:hover{border-color:var(--border-strong);background:var(--surface-2)}
.row-actions .btn-danger:hover{filter:brightness(1.05)}

/* ─── عکس دسته‌جمعی: لینک + hover ─── */
a.team-photo-section{text-decoration:none!important;color:inherit;display:block;position:relative}
.team-photo-overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:10px;
     background:rgba(49,46,129,.45);color:#fff;font-size:15px;font-weight:800;
     opacity:0;transition:opacity .25s;pointer-events:none}
.team-photo-overlay .esa-ico{width:22px;height:22px}
a.team-photo-section:hover .team-photo-overlay{opacity:1}
a.team-photo-section:hover img{filter:brightness(1.05)}

/* ════════════════════════════════════════════════════════════════
   واکنش‌گرایی — موبایل (کشوی راست)
   ════════════════════════════════════════════════════════════════ */
@media(max-width:920px){
  .menu-toggle{display:flex}
  .main-nav{position:fixed!important;top:0;right:0;bottom:0;width:min(82vw,300px);transform:translateX(105%);transition:transform .28s cubic-bezier(.4,0,.2,1);overflow-y:auto;border-bottom:none;box-shadow:-16px 0 44px rgba(0,0,0,.28);z-index:150;display:block;padding-bottom:30px}
  body.nav-open .main-nav{transform:translateX(0)}
  body.nav-open{overflow:hidden}
  .nav-overlay{display:none;position:fixed;inset:0;background:rgba(2,6,23,.52);z-index:140}
  body.nav-open .nav-overlay{display:block}
  .drawer-head{display:flex}
  .nav-inner{flex-direction:column;align-items:stretch;justify-content:flex-start;gap:2px;padding:8px 12px;text-align:right;flex-wrap:wrap;overflow:visible}
  .nav-link{display:flex;justify-content:flex-start;padding:13px 14px;font-size:14px;border-radius:11px;width:100%}
  .nav-link .esa-ico{width:19px;height:19px}
  .nav-more-btn{display:none}
  .nav-extra{display:none}
  .mobile-only{display:flex}
  .two-col{grid-template-columns:1fr}
  .profile-grid{grid-template-columns:1fr}
}

/* ════════════════════════════════════════════════════════════════
   واکنش‌گرایی — تبلت/موبایل صفحه اصلی
   ════════════════════════════════════════════════════════════════ */
@media(max-width:760px){
  .hero2{padding:32px 20px}
  .hero2-inner{flex-direction:column;text-align:center;gap:20px}
  .hero2-sub{margin-inline:auto}
  .hero2-actions{justify-content:center}
  .hero2-stats{flex:none;width:100%;grid-template-columns:repeat(4,1fr);gap:8px}
  .hs-item{padding:10px 8px}
  .hs-item b{font-size:18px}
  .hs-item span{font-size:9.5px}
  .hs-item .esa-ico{width:14px;height:14px;top:8px;left:8px}
  .home-cards{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:8px;-webkit-overflow-scrolling:touch;scrollbar-width:none}
  .home-cards::-webkit-scrollbar{display:none}
  .home-card{flex:0 0 calc(100% / 1.5);scroll-snap-align:start}
  .hc-sum{display:none}
  .section{margin-top:24px}
  .module-grid{grid-template-columns:repeat(2,1fr)}
}

@media(max-width:560px){
  .brand-text{display:none}
  .page-head h1{font-size:17px}
  .stat-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}
  .welcome{padding:14px 16px}
  .welcome .stat-ico{width:40px;height:40px}
  .site-footer .container{justify-content:center;text-align:center}
  .hero2-text h1{font-size:21px}
  .hero2-stats{grid-template-columns:repeat(2,1fr)}
}

@media(max-width:430px){
  .nav-register{display:none}
}