/* =========================================================
   欧航移民官网 · 前台样式
   品牌色：深海军蓝 #0f3460 / #123a6b + 金色 #ffd24a→#ffb320
   ========================================================= */
:root {
  --navy-950: #081b33;
  --navy-900: #0b2340;
  --navy-800: #0f3460;
  --navy-700: #123a6b;
  --blue-600: #1b5fbf;
  --blue-500: #2f7fe0;
  --gold-400: #ffd24a;
  --gold-500: #ffb320;
  --gold-600: #e89a12;
  --bg: #f5f7fb;
  --card: #ffffff;
  --text: #22314a;
  --muted: #66748c;
  --line: #e6ebf4;
  --radius: 12px;
  --shadow: 0 6px 24px rgba(15, 52, 96, .08);
  --shadow-lg: 0 12px 40px rgba(15, 52, 96, .14);
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: var(--bg); font-size: 15px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--blue-600); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-600); }
ul, ol { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ---------- 按钮 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 26px; border-radius: 8px; font-size: 15px; font-weight: 600; border: none; cursor: pointer; transition: all .2s; line-height: 1.4; }
.btn-gold { background: linear-gradient(135deg, var(--gold-400), var(--gold-500)); color: #5c3300; box-shadow: 0 4px 14px rgba(255, 179, 32, .35); }
.btn-gold:hover { color: #5c3300; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(255, 179, 32, .45); }
.btn-blue { background: var(--navy-800); color: #fff; }
.btn-blue:hover { background: var(--navy-900); color: #fff; }
.btn-outline { background: transparent; color: var(--blue-600); border: 1.5px solid var(--blue-600); }
.btn-outline:hover { background: var(--blue-600); color: #fff; }
.btn-white { background: #fff; color: var(--navy-800); }
.btn-white:hover { background: #f0f4fa; color: var(--navy-800); }
.btn-lg { padding: 14px 40px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------- 顶栏 ---------- */
.topbar { background: var(--navy-950); color: #c7d4ea; font-size: 13px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 38px; }
.topbar a { color: #c7d4ea; }
.topbar a:hover { color: var(--gold-400); }
.topbar .tb-left { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; max-width: 62%; }
.topbar .tb-right { display: flex; gap: 20px; align-items: center; flex-shrink: 0; }
.topbar .tb-right img { width: 13px; height: 13px; vertical-align: -2px; margin-right: 4px; flex-shrink: 0; }

/* ---------- 主头部 / 导航 ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; box-shadow: 0 2px 12px rgba(11, 35, 64, .08); }
.header-main { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 44px; height: 44px; }
.brand-text { line-height: 1.15; }
.brand-text strong { display: block; font-size: 22px; color: var(--navy-800); letter-spacing: 1px; }
.brand-text small { font-size: 11px; color: var(--muted); letter-spacing: 2px; }
#main-nav { display: flex; align-items: center; gap: 4px; }
#main-nav > li { position: relative; }
#main-nav > li > a { display: block; padding: 10px 16px; font-size: 16px; font-weight: 500; color: var(--text); border-radius: 8px; }
#main-nav > li > a:hover, #main-nav > li.active > a { color: var(--blue-600); background: #eef4fd; }
#main-nav li.dropdown > a::after { content: '▾'; font-size: 11px; margin-left: 4px; color: var(--muted); }
.dropdown-menu { position: absolute; top: 100%; left: 0; min-width: 168px; background: #fff; border-radius: 10px; box-shadow: var(--shadow-lg); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .2s; z-index: 50; }
#main-nav li.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a { display: block; padding: 9px 14px; border-radius: 6px; color: var(--text); font-size: 14px; }
.dropdown-menu a:hover { background: #eef4fd; color: var(--blue-600); }
.header-cta { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.header-cta .phone { font-size: 15px; font-weight: 700; color: var(--navy-800); }
.header-cta .phone svg { width: 15px; vertical-align: -2px; }
.nav-toggle { display: none; background: none; border: none; font-size: 26px; color: var(--navy-800); cursor: pointer; }

/* ---------- Hero 轮播 ---------- */
.hero { position: relative; height: 560px; overflow: hidden; background: var(--navy-900); }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity .8s; }
.hero-slide.active { opacity: 1; }
.hero-slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, rgba(8, 27, 51, .82) 0%, rgba(11, 35, 64, .55) 45%, rgba(11, 35, 64, .18) 100%); }
.hero-content { position: absolute; inset: 0; z-index: 5; display: flex; flex-direction: column; justify-content: center; }
.hero-text { color: #fff; max-width: 640px; }
.hero-text h2 { font-size: 44px; line-height: 1.25; letter-spacing: 1px; margin-bottom: 14px; text-shadow: 0 2px 12px rgba(0, 0, 0, .3); }
.hero-text p { font-size: 18px; color: rgba(255, 255, 255, .88); margin-bottom: 26px; max-width: 560px; }
.hero-text .btn { margin-right: 12px; }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 6; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3); color: #fff; font-size: 22px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all .2s; }
.hero-arrow:hover { background: rgba(255, 255, 255, .3); }
.hero-arrow.prev { left: 22px; }
.hero-arrow.next { right: 22px; }
.hero-dots { position: absolute; bottom: 150px; left: 50%; transform: translateX(-50%); z-index: 6; display: flex; gap: 8px; }
.hero-dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .4); cursor: pointer; transition: all .2s; }
.hero-dots span.active { background: var(--gold-400); width: 26px; border-radius: 6px; }
/* 首页搜索栏（悬浮于 hero 底部） */
.hero-search { position: relative; z-index: 8; width: min(860px, 92%); margin: -34px auto 0; background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); padding: 16px 20px; display: flex; gap: 12px; align-items: center; }
.hero-search select { flex: 1; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 8px; font-size: 15px; color: var(--text); background: #fafbfe; outline: none; appearance: none; cursor: pointer; }
.hero-search select:focus { border-color: var(--blue-500); }
.hero-search .btn { flex-shrink: 0; }

/* ---------- 通用区块 ---------- */
.sec { padding: 76px 0 60px; }
.sec.sec-alt { background: #fff; }
.sec-head { text-align: center; margin-bottom: 44px; }
.sec-head .en { display: block; font-size: 13px; letter-spacing: 4px; color: var(--blue-500); text-transform: uppercase; margin-bottom: 8px; }
.sec-head h2 { font-size: 32px; color: var(--navy-900); letter-spacing: 1px; }
.sec-head h2::after { content: ''; display: block; width: 52px; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--gold-400), var(--gold-500)); margin: 14px auto 0; }
.sec-head p { color: var(--muted); margin-top: 14px; max-width: 680px; margin-left: auto; margin-right: auto; }
.sec-more { text-align: center; margin-top: 40px; }

/* ---------- 服务卡片 ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.svc-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); transition: all .25s; display: flex; flex-direction: column; }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.svc-card .svc-img { height: 168px; position: relative; overflow: hidden; }
.svc-card .svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.svc-card:hover .svc-img img { transform: scale(1.06); }
.svc-card .svc-img .tag { position: absolute; top: 12px; left: 12px; background: linear-gradient(135deg, var(--gold-400), var(--gold-500)); color: #5c3300; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 20px; }
.svc-card .svc-img .country { position: absolute; bottom: 10px; right: 12px; background: rgba(8, 27, 51, .65); color: #fff; font-size: 12px; padding: 3px 10px; border-radius: 20px; }
.svc-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.svc-body h3 { font-size: 17px; color: var(--navy-900); margin-bottom: 8px; }
.svc-body p { font-size: 13.5px; color: var(--muted); flex: 1; margin-bottom: 14px; }
.svc-body .svc-meta { display: flex; justify-content: space-between; align-items: center; border-top: 1px dashed var(--line); padding-top: 12px; font-size: 13px; color: var(--muted); }
.svc-body .svc-meta a { font-weight: 600; color: var(--blue-600); }

/* ---------- 数据带 ---------- */
.stats-band { background: linear-gradient(120deg, var(--navy-900), var(--navy-700)); color: #fff; padding: 52px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stats-grid .num { font-size: 46px; font-weight: 800; color: var(--gold-400); line-height: 1.2; }
.stats-grid .label { font-size: 14px; color: rgba(255, 255, 255, .75); margin-top: 6px; }

/* ---------- 优势/为什么选我们 ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 22px; text-align: center; transition: all .25s; }
.why-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.why-card .why-icon { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 18px; background: linear-gradient(135deg, var(--blue-600), var(--navy-800)); display: flex; align-items: center; justify-content: center; }
.why-card .why-icon img { width: 30px; height: 30px; }
.why-card h3 { font-size: 16px; color: var(--navy-900); margin-bottom: 8px; }
.why-card p { font-size: 13.5px; color: var(--muted); }

/* ---------- 流程 ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 16px; text-align: center; position: relative; }
.step::after { content: ''; position: absolute; top: 50%; right: -10px; width: 20px; height: 2px; background: var(--line); }
.step:last-child::after { display: none; }
.step .no { width: 40px; height: 40px; line-height: 40px; margin: 0 auto 12px; border-radius: 50%; background: linear-gradient(135deg, var(--gold-400), var(--gold-500)); color: #5c3300; font-weight: 800; font-size: 17px; }
.step h4 { font-size: 15px; color: var(--navy-900); margin-bottom: 6px; }
.step p { font-size: 12.5px; color: var(--muted); }

/* ---------- 新闻列表 ---------- */
.news-list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.news-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; transition: all .2s; }
.news-item:hover { box-shadow: var(--shadow); border-color: #d4e0f2; }
.news-item .news-top { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.news-item .cat { background: #eef4fd; color: var(--blue-600); font-size: 12px; padding: 2px 10px; border-radius: 20px; }
.news-item .date { font-size: 12.5px; color: var(--muted); }
.news-item h3 { font-size: 16.5px; color: var(--navy-900); margin-bottom: 8px; line-height: 1.45; }
.news-item h3 a { color: inherit; }
.news-item h3 a:hover { color: var(--blue-600); }
.news-item p { font-size: 13.5px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- 案例卡片 ---------- */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.case-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: all .25s; }
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.case-card .case-img { height: 200px; overflow: hidden; position: relative; }
.case-card .case-img img { width: 100%; height: 100%; object-fit: cover; }
.case-card .case-img .c-country { position: absolute; top: 12px; left: 12px; background: rgba(8, 27, 51, .7); color: var(--gold-400); font-size: 12px; padding: 3px 10px; border-radius: 20px; }
.case-body { padding: 18px 20px; }
.case-body h3 { font-size: 16px; color: var(--navy-900); margin-bottom: 8px; line-height: 1.45; }
.case-body p { font-size: 13.5px; color: var(--muted); margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.case-body .case-meta { font-size: 12.5px; color: var(--muted); display: flex; justify-content: space-between; }

/* ---------- CTA 横幅 ---------- */
.cta-band { background: linear-gradient(120deg, var(--navy-900), var(--blue-600)); color: #fff; padding: 56px 0; }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h3 { font-size: 28px; margin-bottom: 8px; }
.cta-band p { color: rgba(255, 255, 255, .82); }

/* ---------- 页面横幅（内页） ---------- */
.page-banner { background: linear-gradient(120deg, var(--navy-900), var(--navy-700)); color: #fff; padding: 64px 0 56px; position: relative; overflow: hidden; }
.page-banner::after { content: ''; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: rgba(255, 255, 255, .06); }
.page-banner h1 { font-size: 34px; letter-spacing: 1px; }
.page-banner p { color: rgba(255, 255, 255, .8); margin-top: 10px; max-width: 720px; }
.breadcrumb { margin-top: 14px; font-size: 13.5px; color: rgba(255, 255, 255, .65); }
.breadcrumb a { color: rgba(255, 255, 255, .8); }
.breadcrumb a:hover { color: var(--gold-400); }

/* ---------- 筛选 tabs ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 36px; }
.tabs button { padding: 9px 24px; border-radius: 24px; border: 1.5px solid var(--line); background: #fff; color: var(--muted); font-size: 14.5px; cursor: pointer; transition: all .2s; }
.tabs button:hover { border-color: var(--blue-500); color: var(--blue-600); }
.tabs button.active { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }

/* ---------- 详情页 ---------- */
.detail-wrap { max-width: 860px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 44px 52px; box-shadow: var(--shadow); }
.detail-head { text-align: center; margin-bottom: 30px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.detail-head h1 { font-size: 28px; color: var(--navy-900); line-height: 1.4; }
.detail-meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 18px; margin-top: 16px; color: var(--muted); font-size: 13.5px; }
.detail-meta svg { width: 14px; vertical-align: -2px; margin-right: 4px; }
.detail-img { border-radius: var(--radius); overflow: hidden; margin-bottom: 28px; max-height: 420px; }
.detail-img img { width: 100%; height: 100%; object-fit: cover; }
.rich { font-size: 15.5px; line-height: 1.95; color: #2c3a55; }
.rich h3 { font-size: 20px; color: var(--navy-800); margin: 30px 0 14px; padding-left: 12px; border-left: 4px solid var(--gold-500); }
.rich p { margin-bottom: 14px; }
.rich ul, .rich ol { margin: 0 0 16px; padding-left: 6px; }
.rich ul li { padding: 5px 0 5px 22px; position: relative; }
.rich ul li::before { content: '◆'; position: absolute; left: 0; color: var(--gold-500); font-size: 11px; top: 9px; }
.rich ol { counter-reset: r; }
.rich ol li { padding: 5px 0 5px 30px; position: relative; counter-increment: r; }
.rich ol li::before { content: counter(r); position: absolute; left: 0; top: 8px; width: 20px; height: 20px; line-height: 20px; text-align: center; border-radius: 50%; background: #eef4fd; color: var(--blue-600); font-size: 12px; font-weight: 700; }
.rich strong { color: var(--navy-900); }
.rich .note { background: #fff8e8; border: 1px solid #f5e3b8; border-radius: 8px; padding: 12px 16px; font-size: 13.5px; color: #8a6a1f; }
.related { max-width: 860px; margin: 40px auto 0; }
.related h3 { font-size: 20px; color: var(--navy-900); margin-bottom: 18px; }

/* ---------- 关于我们 ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.about-grid .img-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-grid .img-wrap img { height: 420px; width: 100%; object-fit: cover; }
.about-text h2 { font-size: 28px; color: var(--navy-900); margin-bottom: 18px; }
.about-text p { margin-bottom: 14px; color: #3a4a66; }
.timeline { border-left: 3px solid var(--gold-500); margin-left: 10px; padding-left: 28px; }
.timeline li { position: relative; margin-bottom: 26px; }
.timeline li::before { content: ''; position: absolute; left: -35px; top: 6px; width: 13px; height: 13px; border-radius: 50%; background: var(--blue-600); border: 3px solid #dce8f8; }
.timeline .t-year { font-weight: 800; color: var(--navy-800); font-size: 17px; }
.timeline p { color: var(--muted); font-size: 14px; margin-top: 4px; }

/* ---------- 联系我们 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 30px; align-items: start; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; display: flex; gap: 16px; align-items: flex-start; margin-bottom: 18px; }
.contact-card .ic { width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px; background: linear-gradient(135deg, var(--blue-600), var(--navy-800)); display: flex; align-items: center; justify-content: center; }
.contact-card .ic img { width: 22px; height: 22px; }
.contact-card h4 { font-size: 15px; color: var(--navy-900); margin-bottom: 4px; }
.contact-card p { font-size: 14px; color: var(--muted); }

/* ---------- 表单 ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 32px; box-shadow: var(--shadow); }
.form-card h3 { font-size: 21px; color: var(--navy-900); margin-bottom: 6px; }
.form-card .sub { color: var(--muted); font-size: 13.5px; margin-bottom: 22px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.form-field label { display: block; font-size: 13.5px; color: var(--text); margin-bottom: 6px; font-weight: 600; }
.form-field label i { color: #e05b4d; font-style: normal; }
.form-field input, .form-field select, .form-field textarea { width: 100%; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 8px; font-size: 14.5px; font-family: inherit; color: var(--text); background: #fafbfe; outline: none; transition: border-color .2s; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--blue-500); background: #fff; }
.form-field textarea { min-height: 110px; resize: vertical; }
.form-tip { font-size: 12.5px; color: var(--muted); margin-top: 14px; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--navy-950); color: #b9c8e0; margin-top: 80px; }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 56px 0 40px; }
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 18px; position: relative; padding-bottom: 10px; }
.footer-col h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 30px; height: 3px; background: var(--gold-500); border-radius: 2px; }
.footer-col p, .footer-col li { font-size: 13.5px; line-height: 2; }
.footer-col a { color: #b9c8e0; }
.footer-col a:hover { color: var(--gold-400); }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand img { width: 40px; height: 40px; }
.footer-brand strong { color: #fff; font-size: 20px; letter-spacing: 1px; }
.footer-contact li { display: flex; gap: 8px; align-items: flex-start; }
.footer-contact img { width: 14px; height: 14px; margin-top: 6px; flex-shrink: 0; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 18px 0; font-size: 12.5px; color: #7d8fb0; }
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* ---------- 悬浮联系 ---------- */
.float-side { position: fixed; right: 18px; bottom: 90px; z-index: 90; display: flex; flex-direction: column; gap: 10px; }
.float-side a { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--blue-600), var(--navy-800)); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow); position: relative; }
.float-side a:hover { transform: translateY(-2px); }
.float-side a img { width: 20px; height: 20px; }
.float-side a .tip { position: absolute; right: 56px; top: 50%; transform: translateY(-50%); background: var(--navy-900); color: #fff; font-size: 12.5px; padding: 6px 12px; border-radius: 6px; white-space: nowrap; opacity: 0; visibility: hidden; transition: all .2s; }
.float-side a:hover .tip { opacity: 1; visibility: visible; }
.to-top { position: fixed; right: 18px; bottom: 26px; z-index: 90; width: 46px; height: 46px; border-radius: 50%; background: #fff; border: 1.5px solid var(--line); color: var(--navy-800); font-size: 18px; display: none; align-items: center; justify-content: center; cursor: pointer; box-shadow: var(--shadow); }
.to-top.show { display: flex; }

/* ---------- Toast ---------- */
#toast-box { position: fixed; top: 24px; left: 50%; transform: translateX(-50%); z-index: 999; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.toast { background: var(--navy-900); color: #fff; padding: 12px 26px; border-radius: 10px; font-size: 14px; box-shadow: var(--shadow-lg); animation: toastIn .3s ease; max-width: 90vw; }
.toast.ok { background: #1e7d46; }
.toast.err { background: #c0392b; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- 分页 / 加载更多 ---------- */
.pager { text-align: center; margin-top: 36px; }
.pager .btn { min-width: 150px; }

/* ---------- 空状态 ---------- */
.empty { text-align: center; color: var(--muted); padding: 60px 0; font-size: 15px; }

/* ---------- 公告条 ---------- */
.notice-bar { background: #fff8e8; border-bottom: 1px solid #f0e2ba; font-size: 13.5px; color: #7a5d15; }
.notice-bar .container { display: flex; align-items: center; gap: 10px; padding-top: 8px; padding-bottom: 8px; }
.notice-bar .n-tag { background: var(--gold-500); color: #5c3300; font-size: 12px; padding: 1px 10px; border-radius: 12px; font-weight: 700; flex-shrink: 0; }
.notice-bar span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .svc-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .step::after { display: none; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .hero { height: 500px; }
  .hero-search { margin-top: -20px; }
  .hero-content { padding-bottom: 40px; }
  .about-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .topbar .tb-left { display: none; }
  .nav-toggle { display: block; }
  .header-main { height: 64px; }
  .header-cta .phone { display: none; }
  #main-nav { position: fixed; inset: 0 0 0 auto; width: 78%; max-width: 320px; background: #fff; flex-direction: column; align-items: stretch; padding: 70px 24px 30px; gap: 2px; box-shadow: -10px 0 40px rgba(0, 0, 0, .15); transform: translateX(100%); transition: transform .3s; overflow-y: auto; }
  #main-nav.open { transform: translateX(0); }
  #main-nav > li > a { padding: 13px 12px; font-size: 16px; }
  .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 0 0 16px; display: none; }
  #main-nav li.dropdown.open .dropdown-menu { display: block; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .news-list { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .hero { height: 420px; }
  .hero-text h2 { font-size: 28px; }
  .hero-text p { font-size: 15px; }
  .hero-arrow { display: none; }
  .hero-search { flex-direction: column; }
  .hero-search select { width: 100%; }
  .hero-search .btn { width: 100%; }
  .contact-grid { grid-template-columns: 1fr; }
  .detail-wrap { padding: 24px 20px; }
  .detail-head h1 { font-size: 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .cta-band .container { justify-content: center; text-align: center; }
  .footer-main { grid-template-columns: 1fr; gap: 28px; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .svc-grid, .why-grid { grid-template-columns: 1fr; }
  .sec { padding: 56px 0 44px; }
  .sec-head h2 { font-size: 25px; }
}
