/* ===== Minimal White Theme - 签证移民留学站群 ===== */
*{margin:0;padding:0;box-sizing:border-box}
:root{--primary:#2563eb;--primary-dark:#1d4ed8;--text:#1f2937;--text-light:#6b7280;--text-lighter:#9ca3af;--border:#e5e7eb;--bg:#ffffff;--bg-gray:#f9fafb;--bg-light:#f3f4f6;--radius:8px;--shadow:0 1px 3px rgba(0,0,0,.08);--shadow-md:0 4px 12px rgba(0,0,0,.1);--max-width:1200px}
html{scroll-behavior:smooth}
body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;font-size:15px;line-height:1.7;color:var(--text);background:var(--bg);-webkit-font-smoothing:antialiased}
a{color:var(--primary);text-decoration:none;transition:color .2s}
a:hover{color:var(--primary-dark)}
img{max-width:100%;height:auto;display:block}
ul,ol{list-style:none}
h1,h2,h3,h4,h5,h6{font-weight:600;line-height:1.3;color:var(--text)}
.container{max-width:var(--max-width);margin:0 auto;padding:0 20px}

/* ===== Top Bar ===== */
.top-bar{background:var(--bg-gray);border-bottom:1px solid var(--border);font-size:13px;color:var(--text-light)}
.top-bar .container{display:flex;justify-content:space-between;align-items:center;height:36px}
.top-bar a{color:var(--text-light)}
.top-bar a:hover{color:var(--primary)}

/* ===== Header ===== */
.header{background:#fff;border-bottom:1px solid var(--border);position:sticky;top:0;z-index:100;box-shadow:0 1px 4px rgba(0,0,0,.04)}
.header .container{display:flex;align-items:center;justify-content:space-between;height:70px}
.logo{display:flex;align-items:center;gap:10px;font-size:20px;font-weight:700;color:var(--text)}
.logo .flag{font-size:28px}
.logo .sub{font-size:12px;color:var(--text-light);font-weight:400;display:block}
.nav{display:flex;align-items:center;gap:4px}
.nav a{padding:8px 16px;color:var(--text);font-size:15px;font-weight:500;border-radius:6px;transition:all .2s}
.nav a:hover,.nav a.active{color:var(--primary);background:var(--bg-light)}
.header-right{display:flex;align-items:center;gap:16px}
.header-phone{display:flex;align-items:center;gap:6px;font-size:16px;font-weight:700;color:var(--primary)}
.header-phone small{display:block;font-size:11px;color:var(--text-light);font-weight:400}
.btn{display:inline-flex;align-items:center;justify-content:center;padding:10px 24px;border-radius:var(--radius);font-size:15px;font-weight:600;cursor:pointer;transition:all .2s;border:none;text-decoration:none}
.btn-primary{background:var(--primary);color:#fff}
.btn-primary:hover{background:var(--primary-dark);color:#fff;transform:translateY(-1px);box-shadow:var(--shadow-md)}
.btn-outline{background:#fff;color:var(--primary);border:1.5px solid var(--primary)}
.btn-outline:hover{background:var(--primary);color:#fff}
.btn-lg{padding:14px 36px;font-size:17px}
.btn-sm{padding:6px 14px;font-size:13px}

/* ===== Hero Banner ===== */
.hero{background:linear-gradient(135deg,#eff6ff 0%,#dbeafe 100%);padding:80px 0;position:relative;overflow:hidden}
.hero::before{content:'';position:absolute;top:-50%;right:-10%;width:600px;height:600px;background:radial-gradient(circle,rgba(37,99,235,.08) 0%,transparent 70%);border-radius:50%}
.hero .container{display:flex;align-items:center;gap:60px;position:relative;z-index:1}
.hero-content{flex:1}
.hero h1{font-size:42px;font-weight:700;margin-bottom:16px;line-height:1.2}
.hero h1 span{color:var(--primary)}
.hero p{font-size:18px;color:var(--text-light);margin-bottom:32px;max-width:560px}
.hero-buttons{display:flex;gap:16px}
.hero-visual{flex:0 0 400px;text-align:center}
.hero-visual .big-flag{font-size:160px;line-height:1;filter:drop-shadow(0 8px 24px rgba(0,0,0,.15))}

/* ===== Section ===== */
.section{padding:70px 0}
.section-gray{background:var(--bg-gray)}
.section-header{text-align:center;margin-bottom:50px}
.section-header h2{font-size:32px;font-weight:700;margin-bottom:12px}
.section-header p{font-size:16px;color:var(--text-light);max-width:600px;margin:0 auto}

/* ===== Service Cards (4 grid) ===== */
.service-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.service-card{background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:32px 24px;text-align:center;transition:all .3s;cursor:pointer}
.service-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-md);border-color:var(--primary)}
.service-card .icon{font-size:48px;margin-bottom:16px}
.service-card h3{font-size:20px;margin-bottom:8px}
.service-card p{font-size:14px;color:var(--text-light);margin-bottom:16px}
.service-card .more{font-size:14px;color:var(--primary);font-weight:600}

/* ===== Hot Services ===== */
.hot-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.hot-card{background:#fff;border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;transition:all .3s}
.hot-card:hover{box-shadow:var(--shadow-md);transform:translateY(-2px)}
.hot-card-body{padding:20px}
.hot-card .tag{display:inline-block;background:#fef3c7;color:#d97706;font-size:11px;padding:2px 8px;border-radius:4px;margin-bottom:8px;font-weight:600}
.hot-card h4{font-size:16px;margin-bottom:8px;line-height:1.4}
.hot-card .price{font-size:22px;font-weight:700;color:#e11d48;margin-bottom:4px}
.hot-card .price small{font-size:13px;color:var(--text-light);font-weight:400}
.hot-card .meta{font-size:13px;color:var(--text-light)}

/* ===== Process Steps ===== */
.process-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:0;position:relative}
.process-step{text-align:center;padding:0 20px;position:relative}
.process-step .num{width:56px;height:56px;border-radius:50%;background:var(--primary);color:#fff;font-size:22px;font-weight:700;display:flex;align-items:center;justify-content:center;margin:0 auto 16px;position:relative;z-index:1}
.process-step h4{font-size:17px;margin-bottom:6px}
.process-step p{font-size:14px;color:var(--text-light)}
.process-step:not(:last-child)::after{content:'';position:absolute;top:28px;right:-50%;width:100%;height:2px;background:var(--border);z-index:0}

/* ===== Advantages ===== */
.adv-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.adv-item{text-align:center;padding:24px}
.adv-item .icon{font-size:40px;margin-bottom:12px}
.adv-item h4{font-size:17px;margin-bottom:6px}
.adv-item p{font-size:14px;color:var(--text-light)}

/* ===== Article Cards ===== */
.article-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.article-card{background:#fff;border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;transition:all .3s;display:flex;flex-direction:column}
.article-card:hover{box-shadow:var(--shadow-md);transform:translateY(-2px)}
.article-card .cover{height:180px;background:linear-gradient(135deg,#eff6ff,#dbeafe);display:flex;align-items:center;justify-content:center;font-size:48px}
.article-card-body{padding:20px;flex:1;display:flex;flex-direction:column}
.article-card .meta{font-size:12px;color:var(--text-lighter);margin-bottom:8px}
.article-card h4{font-size:16px;margin-bottom:8px;line-height:1.4;flex:1}
.article-card .summary{font-size:13px;color:var(--text-light);margin-bottom:12px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

/* ===== FAQ ===== */
.faq-list{max-width:800px;margin:0 auto}
.faq-item{border:1px solid var(--border);border-radius:var(--radius);margin-bottom:12px;overflow:hidden;background:#fff}
.faq-q{padding:18px 24px;font-weight:600;cursor:pointer;display:flex;justify-content:space-between;align-items:center;font-size:16px}
.faq-q::after{content:'+';font-size:22px;color:var(--primary);transition:transform .2s}
.faq-item.open .faq-q::after{transform:rotate(45deg)}
.faq-a{padding:0 24px;max-height:0;overflow:hidden;transition:all .3s;color:var(--text-light);font-size:15px}
.faq-item.open .faq-a{padding:0 24px 20px;max-height:500px}

/* ===== CTA Section ===== */
.cta-section{background:linear-gradient(135deg,var(--primary) 0%,var(--primary-dark) 100%);padding:60px 0;text-align:center;color:#fff}
.cta-section h2{font-size:30px;margin-bottom:12px;color:#fff}
.cta-section p{font-size:16px;opacity:.9;margin-bottom:28px}
.cta-buttons{display:flex;gap:16px;justify-content:center}
.cta-section .btn-primary{background:#fff;color:var(--primary)}
.cta-section .btn-primary:hover{background:var(--bg-light)}
.cta-section .btn-outline{border-color:#fff;color:#fff;background:transparent}
.cta-section .btn-outline:hover{background:#fff;color:var(--primary)}

/* ===== Footer ===== */
.footer{background:#1f2937;color:#9ca3af;padding:50px 0 0}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:40px;margin-bottom:40px}
.footer h4{color:#fff;font-size:16px;margin-bottom:16px}
.footer p{font-size:14px;line-height:1.8;margin-bottom:8px}
.footer a{color:#9ca3af;font-size:14px;display:block;padding:4px 0}
.footer a:hover{color:#fff}
.footer .contact-item{display:flex;align-items:center;gap:8px;margin-bottom:10px;font-size:14px}
.footer-bottom{border-top:1px solid #374151;padding:20px 0;text-align:center;font-size:13px}
.footer-bottom a{display:inline;color:#9ca3af}

/* ===== Floating CTA ===== */
.float-cta{position:fixed;right:20px;bottom:80px;z-index:99;display:flex;flex-direction:column;gap:10px}
.float-btn{width:52px;height:52px;border-radius:50%;background:#fff;box-shadow:var(--shadow-md);display:flex;align-items:center;justify-content:center;font-size:22px;cursor:pointer;transition:all .2s;border:1px solid var(--border)}
.float-btn:hover{transform:scale(1.1);box-shadow:0 6px 20px rgba(0,0,0,.15)}
.float-btn.phone{background:var(--primary);color:#fff;border-color:var(--primary)}
.float-btn.top{font-size:18px}

/* ===== Bottom Fixed CTA (mobile) ===== */
.bottom-cta{display:none;position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid var(--border);padding:10px 16px;z-index:98;box-shadow:0 -2px 10px rgba(0,0,0,.08)}
.bottom-cta .container{display:flex;gap:10px;padding:0}
.bottom-cta .btn{flex:1;padding:12px}

/* ===== Modal ===== */
.modal-overlay{display:none;position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.5);z-index:1000;align-items:center;justify-content:center}
.modal-overlay.show{display:flex}
.modal{background:#fff;border-radius:12px;padding:32px;max-width:400px;width:90%;text-align:center;position:relative}
.modal .close{position:absolute;top:12px;right:16px;font-size:24px;cursor:pointer;color:var(--text-light);background:none;border:none}
.modal .qr-code{width:200px;height:200px;margin:0 auto 16px;background:var(--bg-light);border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:60px}
.modal h3{font-size:20px;margin-bottom:8px}
.modal p{color:var(--text-light);margin-bottom:16px}
.modal .wechat-id{font-size:18px;font-weight:700;color:var(--primary);margin-bottom:16px}

/* ===== Breadcrumb ===== */
.breadcrumb{padding:16px 0;font-size:14px;color:var(--text-light);border-bottom:1px solid var(--border)}
.breadcrumb a{color:var(--text-light)}
.breadcrumb a:hover{color:var(--primary)}
.breadcrumb span{margin:0 6px}

/* ===== Page Header ===== */
.page-header{background:linear-gradient(135deg,#eff6ff,#dbeafe);padding:50px 0;text-align:center}
.page-header h1{font-size:32px;margin-bottom:8px}
.page-header p{color:var(--text-light);font-size:16px}

/* ===== Sidebar Layout ===== */
.sidebar-layout{display:flex;gap:30px;padding:40px 0}
.sidebar-main{flex:1;min-width:0}
.sidebar-side{width:300px;flex-shrink:0}
.sidebar-widget{background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:20px;margin-bottom:20px}
.sidebar-widget h4{font-size:16px;margin-bottom:14px;padding-bottom:10px;border-bottom:1px solid var(--border)}
.sidebar-widget ul li{padding:8px 0;border-bottom:1px solid var(--bg-light);font-size:14px}
.sidebar-widget ul li:last-child{border-bottom:none}
.sidebar-widget ul li a{color:var(--text)}
.sidebar-widget ul li a:hover{color:var(--primary)}

/* ===== Service Detail ===== */
.service-detail-header{background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:30px;margin-bottom:24px}
.service-detail-header h1{font-size:28px;margin-bottom:12px}
.service-meta{display:flex;gap:24px;flex-wrap:wrap;margin-bottom:16px}
.service-meta-item{font-size:14px;color:var(--text-light)}
.service-meta-item strong{color:var(--text);display:block;font-size:16px;margin-top:2px}
.service-price{font-size:32px;font-weight:700;color:#e11d48}
.service-price small{font-size:14px;color:var(--text-light);font-weight:400}
.service-content{background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:30px;margin-bottom:24px}
.service-content h2{font-size:22px;margin:24px 0 12px;padding-bottom:8px;border-bottom:2px solid var(--primary);display:inline-block}
.service-content h2:first-child{margin-top:0}
.service-content ul{padding-left:20px;margin-bottom:16px}
.service-content ul li{padding:6px 0;list-style:disc;color:var(--text)}
.service-content p{margin-bottom:12px}
.material-list{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
.material-item{display:flex;align-items:center;gap:8px;padding:10px 14px;background:var(--bg-gray);border-radius:6px;font-size:14px}
.material-item::before{content:'✓';color:#22c55e;font-weight:700}
.process-list{counter-reset:step}
.process-item{display:flex;gap:16px;padding:16px 0;border-bottom:1px solid var(--bg-light)}
.process-item:last-child{border-bottom:none}
.process-item .step-num{width:36px;height:36px;border-radius:50%;background:var(--primary);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;flex-shrink:0}
.process-item .step-content h4{font-size:16px;margin-bottom:4px}
.process-item .step-content p{font-size:14px;color:var(--text-light)}

/* ===== Article Detail ===== */
.article-detail{background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:40px;margin-bottom:24px}
.article-detail h1{font-size:30px;margin-bottom:16px;line-height:1.3}
.article-detail .article-meta{font-size:14px;color:var(--text-light);margin-bottom:24px;padding-bottom:16px;border-bottom:1px solid var(--border)}
.article-detail .article-meta span{margin-right:16px}
.article-detail .article-body{font-size:16px;line-height:1.9}
.article-detail .article-body h2{font-size:24px;margin:32px 0 16px}
.article-detail .article-body h3{font-size:20px;margin:24px 0 12px}
.article-detail .article-body p{margin-bottom:16px}
.article-detail .article-body img{margin:16px auto;border-radius:8px}
.article-detail .article-body blockquote{border-left:4px solid var(--primary);padding:12px 20px;background:var(--bg-gray);margin:16px 0;border-radius:0 8px 8px 0;color:var(--text-light)}
.article-tags{margin-top:24px;padding-top:16px;border-top:1px solid var(--border)}
.article-tags a{display:inline-block;padding:4px 12px;background:var(--bg-light);border-radius:20px;font-size:13px;color:var(--text-light);margin-right:8px}
.article-nav{display:flex;justify-content:space-between;gap:16px;margin-top:24px;padding-top:16px;border-top:1px solid var(--border)}
.article-nav a{flex:1;padding:14px 18px;background:var(--bg-gray);border-radius:var(--radius);font-size:14px}
.article-nav a:hover{background:var(--bg-light)}
.article-nav .nav-label{font-size:12px;color:var(--text-lighter);display:block;margin-bottom:2px}

/* ===== Pagination ===== */
.pagination{display:flex;justify-content:center;gap:6px;margin-top:30px}
.pagination a,.pagination span{display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:38px;padding:0 12px;border:1px solid var(--border);border-radius:6px;font-size:14px;color:var(--text);background:#fff;transition:all .2s}
.pagination a:hover{border-color:var(--primary);color:var(--primary)}
.pagination .current{background:var(--primary);border-color:var(--primary);color:#fff}

/* ===== Search ===== */
.search-box{max-width:600px;margin:0 auto 40px}
.search-box form{display:flex;gap:0}
.search-box input{flex:1;padding:14px 20px;border:2px solid var(--border);border-right:none;border-radius:var(--radius) 0 0 var(--radius);font-size:16px;outline:none}
.search-box input:focus{border-color:var(--primary)}
.search-box button{padding:14px 28px;background:var(--primary);color:#fff;border:none;border-radius:0 var(--radius) var(--radius) 0;font-size:16px;cursor:pointer;font-weight:600}
.search-result-item{padding:20px 0;border-bottom:1px solid var(--border)}
.search-result-item h3{font-size:18px;margin-bottom:6px}
.search-result-item p{font-size:14px;color:var(--text-light)}

/* ===== 404 ===== */
.error-page{text-align:center;padding:100px 0}
.error-page .code{font-size:120px;font-weight:800;color:var(--primary);line-height:1}
.error-page h2{font-size:28px;margin:20px 0 12px}
.error-page p{color:var(--text-light);margin-bottom:30px;font-size:16px}

/* ===== Lead Form ===== */
.lead-form{background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:30px}
.lead-form h3{font-size:20px;margin-bottom:20px;text-align:center}
.lead-form .form-row{margin-bottom:16px}
.lead-form label{display:block;font-size:14px;color:var(--text-light);margin-bottom:6px}
.lead-form input,.lead-form textarea,.lead-form select{width:100%;padding:10px 14px;border:1px solid var(--border);border-radius:6px;font-size:14px;outline:none;transition:border-color .2s}
.lead-form input:focus,.lead-form textarea:focus{border-color:var(--primary)}
.lead-form .btn{width:100%;margin-top:8px}

/* ===== Responsive ===== */
@media(max-width:1024px){
  .service-grid,.hot-grid{grid-template-columns:repeat(2,1fr)}
  .adv-grid{grid-template-columns:repeat(2,1fr)}
  .article-grid{grid-template-columns:repeat(2,1fr)}
  .process-steps{grid-template-columns:repeat(2,1fr);gap:30px}
  .process-step:not(:last-child)::after{display:none}
  .footer-grid{grid-template-columns:repeat(2,1fr)}
  .sidebar-layout{flex-direction:column}
  .sidebar-side{width:100%}
  .hero .container{flex-direction:column;text-align:center}
  .hero p{margin:0 auto 32px}
  .hero-buttons{justify-content:center}
  .hero-visual{display:none}
}
@media(max-width:640px){
  .container{padding:0 16px}
  .nav{display:none}
  .header-phone{display:none}
  .service-grid,.hot-grid,.adv-grid,.article-grid{grid-template-columns:1fr}
  .process-steps{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr}
  .hero h1{font-size:28px}
  .hero p{font-size:16px}
  .section{padding:40px 0}
  .section-header h2{font-size:24px}
  .float-cta{display:none}
  .bottom-cta{display:block}
  .material-list{grid-template-columns:1fr}
  .article-detail{padding:20px}
  .article-detail h1{font-size:22px}
  .top-bar{display:none}
}
