/* ============================================================
   铁翼军辉钣金加工服务平台 - 全局样式
   B2B 外协加工平台 · 工业商务蓝设计系统
   主色 深藏青 #0F172A / 强调 商务蓝 #0369A1
   ============================================================ */
:root {
  --primary: #0F172A;        /* 深藏青（品牌主色） */
  --primary-dark: #0b1120;
  --accent: #0369A1;         /* 商务蓝（CTA/强调） */
  --accent-light: #2f8bc4;
  --accent-bg: #e8f2fa;      /* 商务蓝浅底 */
  --bg: #F8FAFC;
  --card: #ffffff;
  --text: #0F172A;
  --text-light: #64748B;
  --border: #E2E8F0;
  --success: #16a34a;
  --danger: #dc2626;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.12);
  --nav-bg: #0F172A;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--accent); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* ---------- 顶部导航 ---------- */
.navbar {
  background: linear-gradient(90deg, var(--primary-dark), var(--primary));
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 14px rgba(0,0,0,.25);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 800;
  color: #fff !important;
  letter-spacing: .5px;
  white-space: nowrap;
  flex-shrink: 0;
}
.brand .logo-icon {
  width: 42px; height: 42px;
  background: #fff;
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 10px rgba(3,105,161,.35);
  overflow: hidden;
  flex-shrink: 0;
}
.nav-links { display: flex; align-items: center; gap: 2px; flex-wrap: nowrap; }
.nav-links a {
  color: #d7dee8;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  transition: .2s;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: #fff; background: rgba(255,255,255,.14); }
.nav-user { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.nav-user .btn {
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 13px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}
.btn-login { background: transparent; color: #d7dee8; border: 1px solid rgba(255,255,255,.35) !important; }
.btn-login:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-register { background: var(--accent); color: #fff; box-shadow: 0 4px 10px rgba(3,105,161,.3); }
.btn-register:hover { background: #025a86; }
.nav-user .avatar {
  width: 32px; height: 32px; border-radius: 50%;
  object-fit: cover;
  background: var(--accent);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}
.nav-user .uname { color: #fff; font-size: 14px; }
.nav-user .logout { color: #9fb0c4; font-size: 13px; }
.nav-user .logout:hover { color: #fff; }

/* 移动端菜单 */
.menu-toggle { display: none; background: none; border: none; color: #fff; font-size: 24px; cursor: pointer; }

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-block;
  padding: 9px 20px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all .2s;
  text-align: center;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(26,58,92,.25); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: #025a86; color: #fff; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(3,105,161,.3); }
.btn-outline { background: transparent; border: 1px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #b93a3a; }
.btn-sm { padding: 5px 12px; font-size: 13px; }
.btn-block { width: 100%; }

/* ---------- 分页 ---------- */
.pager { display: flex; gap: 8px; align-items: center; justify-content: center; margin: 24px 0 8px; flex-wrap: wrap; }
.pager .btn { min-width: 40px; }
.pager .btn[disabled] { opacity: .45; cursor: not-allowed; }
.pager-wrap { margin-top: 8px; }

/* ---------- 卡片 ---------- */
.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  border: 1px solid var(--border);
  transition: box-shadow .25s;
}
.card:hover { box-shadow: var(--shadow-lg); }

/* ---------- 页面标题 ---------- */
.page-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  padding: 44px 0;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
}
.page-header::after {
  content: "⚙"; position: absolute; right: 20px; bottom: -30px;
  font-size: 140px; opacity: .07; transform: rotate(15deg);
}
.page-header .container { position: relative; z-index: 2; }
.page-header h1 { font-size: 30px; margin-bottom: 8px; font-weight: 800; }
.page-header p { color: #b8c6d8; font-size: 15px; }

/* ---------- 表单 ---------- */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 500; font-size: 14px; }
.form-group .req { color: var(--danger); }
.form-control {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.form-control:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(3,105,161,.14); }
textarea.form-control { min-height: 90px; resize: vertical; }
.form-row { display: flex; gap: 12px; }
.form-row .form-group { flex: 1; }

/* ---------- 提示 ---------- */
.alert {
  padding: 12px 16px;
  border-radius: 6px;
  margin-bottom: 16px;
  font-size: 14px;
}
.alert-success { background: #e6f7ef; color: var(--success); border: 1px solid #b3e6d0; }
.alert-error { background: #fdecea; color: var(--danger); border: 1px solid #f5c6c0; }
.alert-info { background: #eef4fb; color: var(--primary); border: 1px solid #c9d9ef; }

/* ---------- 网格 ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- 标签 ---------- */
.tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 12px;
  background: #eef3f9;
  color: var(--primary);
  margin: 2px;
}
.tag-accent { background: #e8f2fa; color: var(--accent); }
.tag-green { background: #e6f7ef; color: var(--success); }

/* ---------- 徽章 ---------- */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}
.badge-verified { background: #e6f7ef; color: var(--success); }
.badge-pending { background: #e8f2fa; color: var(--accent); }
.badge-rejected { background: #fdecea; color: var(--danger); }
.badge-blue { background: #eef4fb; color: var(--primary); }

/* ---------- 状态进度条（工单） ---------- */
.order-status-steps { display: flex; align-items: center; margin: 20px 0; flex-wrap: wrap; }
.status-step {
  display: flex; align-items: center;
  font-size: 13px; color: var(--text-light);
}
.status-step .dot {
  width: 22px; height: 22px; border-radius: 50%;
  background: #e3e7ee; color: #334155;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
  margin-right: 6px;
}
.status-step.active .dot { background: var(--accent); color: #fff; }
.status-step.active { color: var(--primary); font-weight: 600; }
.status-step.done .dot { background: var(--success); color: #fff; }
.status-line { width: 28px; height: 3px; background: #e3e7ee; margin: 0 6px; }
.status-line.done { background: var(--success); }

/* ---------- 广告横幅 ---------- */
.ad-banner {
  background: linear-gradient(135deg, #2f8bc4, #0369A1);
  border-radius: var(--radius);
  padding: 16px 24px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}
.ad-banner .ad-label {
  background: rgba(255,255,255,.25);
  padding: 2px 10px;
  border-radius: 4px;
  font-size: 12px;
  margin-right: 12px;
}
.ad-banner img { max-height: 60px; border-radius: 6px; margin-left: 12px; }
.ad-banner .ad-title { font-weight: 700; font-size: 16px; }
.ad-banner .ad-content { font-size: 14px; opacity: .92; }

/* ---------- 首页 Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  padding: 60px 0;
  text-align: center;
}
.hero h1 { font-size: 36px; margin-bottom: 12px; }
.hero p { font-size: 17px; color: #b8c6d8; margin-bottom: 28px; }
.hero .quick-search { max-width: 560px; margin: 0 auto; display: flex; gap: 8px; }
.hero .quick-search input {
  flex: 1; padding: 13px 16px; border-radius: 8px; border: none; font-size: 15px;
}
.hero .quick-search .btn { padding: 13px 24px; font-size: 15px; }

.feature-grid { margin-top: -30px; }
.feature-card {
  background: var(--card); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 24px; text-align: center;
  border: 1px solid var(--border); transition: .25s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(15,39,64,.14); }
.feature-card .icon {
  width: 56px; height: 56px; margin: 0 auto 14px;
  border-radius: 14px; font-size: 26px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #eef4fb, #e6f7ef);
}
.feature-card h3 { font-size: 17px; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--text-light); }

.section-title {
  font-size: 24px; margin: 44px 0 20px;
  position: relative; padding-left: 14px;
}
.section-title::before {
  content: ""; position: absolute; left: 0; top: 4px; bottom: 4px;
  width: 5px; border-radius: 3px; background: var(--accent);
}
.section-title .more { font-size: 14px; color: var(--text-light); float: right; line-height: 2; }

/* ---------- 产品案例卡片 ---------- */
.case-card {
  background: var(--card); border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--border);
  box-shadow: var(--shadow); transition: .25s;
}
.case-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(15,39,64,.14); }
.case-card .cover { width: 100%; height: 180px; object-fit: cover; background: #eef1f5; }
.case-card .body { padding: 16px; }
.case-card h3 { font-size: 16px; margin-bottom: 8px; }
.case-card .meta { font-size: 13px; color: var(--text-light); margin-bottom: 8px; }
.case-card .free-badge {
  position: absolute; top: 10px; right: 10px;
  background: var(--accent); color: #fff;
  padding: 3px 10px; border-radius: 4px; font-size: 12px; font-weight: 600;
}

/* ---------- 招聘卡片 ---------- */
.job-card {
  background: var(--card); border-radius: var(--radius);
  padding: 18px; border: 1px solid var(--border);
  box-shadow: var(--shadow); transition: .25s;
  display: block; color: var(--text);
}
.job-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(15,39,64,.14); color: var(--text); }
.job-card .job-title { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.job-card .company { font-size: 14px; color: var(--text-light); margin-bottom: 8px; }
.job-card .salary { color: var(--accent); font-weight: 700; font-size: 16px; }
.job-card .meta { font-size: 13px; color: var(--text-light); margin-top: 8px; }

/* ---------- 商家卡片 ---------- */
.merchant-card {
  background: var(--card); border-radius: var(--radius);
  padding: 20px; border: 1px solid var(--border);
  box-shadow: var(--shadow); text-align: center;
}
.merchant-card .m-logo {
  width: 72px; height: 72px; border-radius: 50%;
  margin: 0 auto 12px; object-fit: cover;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 24px; font-weight: 700;
}
.merchant-card h3 { font-size: 16px; margin-bottom: 6px; }
.merchant-card .m-loc { font-size: 13px; color: var(--text-light); margin-bottom: 8px; }
.merchant-card .m-scope-tag {
  font-size: 12px; color: var(--accent); background: var(--accent-bg);
  border-radius: 6px; padding: 5px 10px; margin-top: 4px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  line-height: 1.5; min-height: 36px;
}
.merchant-card .m-scope { font-size: 13px; color: var(--text); }

/* ---------- 页脚 ---------- */
.footer {
  background: linear-gradient(180deg, var(--primary-dark), #0a1c30);
  color: #9fb0c4;
  padding: 36px 0;
  margin-top: 60px;
  text-align: center;
  font-size: 14px;
}
.footer a { color: #d7dee8; transition: .2s; }
.footer a:hover { color: var(--accent); }
.footer .footer-links { margin-bottom: 14px; }
.footer .footer-links a { margin: 0 12px; }
.footer .wechat { color: #7dd3fc; font-weight: 600; }
.footer .wechat:hover { color: var(--accent); }

/* ---------- App 顶部栏 ---------- */
.app-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(90deg, var(--primary-dark), var(--primary));
  box-shadow: 0 2px 14px rgba(0,0,0,.25);
  color: #fff;
}
.app-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  height: 60px;
}
.app-brand { display: flex; align-items: center; gap: 8px; color: #fff !important; flex-shrink: 0; }
.app-logo {
  width: 38px; height: 38px; background: #fff; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; box-shadow: 0 4px 10px rgba(3,105,161,.35); flex-shrink: 0;
}
.app-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.app-brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.app-brand-name { font-size: 16px; font-weight: 800; letter-spacing: .5px; white-space: nowrap; color: #fff; }
.app-brand-sub { font-size: 11px; color: #d7e8f5; white-space: nowrap; }
.app-search {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 18px;
  padding: 7px 12px;
  min-width: 0;
}
.app-search-icon { font-size: 14px; opacity: .9; flex-shrink: 0; }
.app-search input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 14px;
  min-width: 0;
}
.app-search input::placeholder { color: #b8c6d8; }
.app-user { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.app-avatar-link .avatar {
  width: 32px; height: 32px; border-radius: 50%;
  object-fit: cover; background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px;
}
.app-login-btn {
  padding: 6px 14px; border-radius: 16px;
  background: var(--accent); color: #fff; font-size: 13px; font-weight: 600;
  white-space: nowrap;
}
.app-admin-btn {
  padding: 5px 12px; border-radius: 14px;
  border: 1px solid rgba(255,255,255,.4); color: #fff; font-size: 12px;
  white-space: nowrap;
}
.app-vip-btn {
  padding: 5px 12px; border-radius: 14px;
  background: #eab308;
  color: #0F172A !important; font-size: 12px; font-weight: 700;
  white-space: nowrap;
}

/* ---------- 分类导航栏（B2B 外协风格） ---------- */
.app-nav {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 60px;
  z-index: 90;
  box-shadow: 0 1px 3px rgba(15,23,42,.05);
}
.app-nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center;
  gap: 2px; padding: 0 12px;
  overflow-x: auto; scrollbar-width: none;
}
.app-nav-inner::-webkit-scrollbar { display: none; }
.app-nav .nav-item {
  padding: 12px 16px; font-size: 14px; font-weight: 500;
  color: var(--text-light); white-space: nowrap;
  position: relative; transition: color .2s;
}
.app-nav .nav-item:hover { color: var(--accent); }
.app-nav .nav-item.active { color: var(--accent); font-weight: 700; }
.app-nav .nav-item.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 0;
  height: 3px; border-radius: 3px 3px 0 0; background: var(--accent);
}
.vip-badge-mini {
  display: inline-block; font-size: 12px; vertical-align: 1px;
  filter: saturate(1.1);
}

/* ---------- App 底部 Tab ---------- */
.app-tabbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 100;
  background: #fff;
  border-top: 1px solid var(--border);
  display: flex;
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.tabbar-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 8px 0 6px;
  color: var(--text-light);
  font-size: 11px;
  transition: .2s;
}
.tabbar-item .tabbar-icon {
  width: 22px; height: 22px;
  display: block; margin: 0 auto;
}
.tabbar-item .tabbar-icon {
  stroke-width: 2;
}
.tabbar-item.active { color: var(--accent); font-weight: 700; }
.tabbar-item.active .tabbar-icon { transform: translateY(-1px); }

/* 中间发布采购加号按钮 */
.tabbar-center .tabbar-plus {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; display: flex; align-items: center; justify-content: center;
  margin: -14px auto 0; box-shadow: 0 6px 16px rgba(3,105,161,.35);
}
.tabbar-center .tabbar-plus svg { width: 24px; height: 24px; }

/* 内容区底部留白，避免被 Tab 遮挡 */
.app-body { padding-bottom: 62px; }

/* ---------- App 横向服务菜单 ---------- */
.service-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 4px 2px 8px;
  scrollbar-width: none;
}
.service-scroll::-webkit-scrollbar { display: none; }
.service-item {
  flex-shrink: 0;
  min-width: 72px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 8px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: .2s;
  color: var(--text);
}
.service-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.service-item .sv-icon { font-size: 22px; display: block; margin-bottom: 6px; }
.service-item .sv-name { font-size: 13px; font-weight: 600; }
.service-item .sv-desc { font-size: 11px; color: var(--text-light); display: block; margin-top: 2px; }

/* ---------- 首页广告 3 格 ---------- */
.home-ads { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 16px 0; }
.home-ad {
  background: linear-gradient(135deg, #2f8bc4, #0369A1);
  border-radius: var(--radius);
  color: #fff;
  padding: 16px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  min-height: 92px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.home-ad h3 { font-size: 15px; margin-bottom: 4px; }
.home-ad p { font-size: 12px; opacity: .92; }
.home-ad img { max-height: 60px; border-radius: 6px; object-fit: contain; }
.home-ad .ad-tag {
  position: absolute; top: 8px; right: 8px;
  background: rgba(255,255,255,.25); padding: 2px 8px; border-radius: 12px;
  font-size: 11px; font-weight: 600;
}

/* ---------- 竖向滚动招聘 ---------- */
.job-marquee {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin: 16px 0;
}
.job-marquee .jm-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; border-bottom: 1px solid var(--border);
}
.job-marquee .jm-title { font-weight: 700; font-size: 15px; color: var(--primary); }
.job-marquee .jm-more { font-size: 13px; color: var(--text-light); }
.job-marquee .jm-viewport { height: 168px; overflow: hidden; position: relative; }
.job-marquee .jm-track { position: absolute; left: 0; right: 0; top: 0; }
.job-marquee .jm-item {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; padding: 12px 16px;
  border-bottom: 1px dashed var(--border);
  color: var(--text);
}
.job-marquee .jm-item:hover { background: #f7f9fc; }
.job-marquee .jm-item .jm-left { min-width: 0; flex: 1; }
.job-marquee .jm-item .jm-title { font-weight: 600; font-size: 14px; }
.job-marquee .jm-item .jm-meta { font-size: 12px; color: var(--text-light); margin-top: 2px; }
.job-marquee .jm-item .jm-salary { color: var(--accent); font-weight: 700; font-size: 14px; white-space: nowrap; }

/* ---------- 黑公司卡片 ---------- */
.black-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
  border-left: 4px solid var(--danger);
}
.black-card h3 { font-size: 16px; margin-bottom: 6px; }
.black-card .bl-type { font-size: 12px; color: var(--danger); font-weight: 600; }
.black-card .bl-desc { font-size: 14px; color: var(--text-light); margin-top: 8px; }

/* ---------- 通用小组件 ---------- */
.empty-tip {
  text-align: center; padding: 40px 16px; color: var(--text-light); font-size: 14px;
}
.tabbar-fixed-space { height: 62px; }

/* ---------- 原有响应式保留 ---------- */
@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .menu-toggle { display: block; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute; top: 62px; left: 0; right: 0;
    background: var(--primary-dark);
    padding: 10px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px; }
  .hero h1 { font-size: 28px; }
}
@media (max-width: 560px) {
  .grid-4, .grid-3 { grid-template-columns: 1fr; }
  .form-row { flex-direction: column; }
  .nav-user .uname { display: none; }
  .home-ads { grid-template-columns: 1fr; }
  .app-brand-sub { display: none; }
}
