/* ===== 全局重置与基础样式 ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #2d9b5c;
  --primary-dark: #1a6b3a;
  --secondary: #f7b731;
  --danger: #e74c3c;
  --text: #2c3e50;
  --text-light: #7f8c8d;
  --border: #e8ecef;
  --bg-light: #f8fafb;
  --white: #ffffff;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 30px rgba(0,0,0,0.15);
  --radius: 12px;
  --transition: all 0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg-light);
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.hidden { display: none !important; }

/* ===== 顶部公告栏 ===== */
.top-bar {
  background: #1a6b3a;
  color: #fff;
  font-size: 13px;
  padding: 6px 0;
  overflow: visible;  /* allow lang dropdown to extend below */
  position: relative;
  z-index: 1100;      /* must be above .main-header (z-index:1000) so dropdown shows on top */
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  overflow: visible;
}
.top-bar i { margin-right: 5px; }
.top-bar-right { display: flex; align-items: center; gap: 8px; }
.top-bar-right a { color: #b2dfdb; transition: var(--transition); }
.top-bar-right a:hover { color: #fff; }
.top-bar .divider { opacity: 0.4; }

/* ===== 主导航 ===== */
.main-header {
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.main-header > .container {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 20px;
}

/* Logo */
.logo a {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.logo-icon { font-size: 28px; }
.logo-text {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}
.logo-sub {
  font-size: 11px;
  color: var(--text-light);
  display: block;
  line-height: 1;
  margin-top: 2px;
}

/* 搜索栏 */
.search-bar {
  flex: 1;
  display: flex;
  border: 2px solid var(--primary);
  border-radius: 50px;
  overflow: hidden;
  max-width: 600px;
}
.search-location {
  display: flex;
  align-items: center;
  padding: 0 16px;
  background: #f0faf5;
  border-right: 1px solid #c8e6c9;
  gap: 6px;
  color: var(--primary);
}
.search-location select {
  border: none;
  background: transparent;
  font-size: 14px;
  color: var(--text);
  cursor: pointer;
  outline: none;
}
.search-bar input {
  flex: 1;
  border: none;
  padding: 10px 16px;
  font-size: 14px;
  outline: none;
}
.search-btn {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 0 24px;
  font-size: 15px;
  cursor: pointer;
  transition: var(--transition);
}
.search-btn:hover { background: var(--primary-dark); }

/* 头部操作 */
.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.btn-publish {
  background: var(--secondary);
  color: #1a1a1a;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
}
.btn-publish:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(247,183,49,0.4); }
.btn-login {
  border: 1.5px solid var(--primary);
  color: var(--primary);
  padding: 7px 18px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
}
.btn-login:hover { background: var(--primary); color: #fff; }

/* 二级导航 */
.sub-nav {
  background: var(--primary);
  overflow-x: auto;
  scrollbar-width: none;
}
.sub-nav::-webkit-scrollbar { display: none; }
.sub-nav .container { padding: 0 20px; }
.sub-nav ul {
  display: flex;
  white-space: nowrap;
}
.sub-nav li a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.85);
  padding: 10px 16px;
  font-size: 14px;
  transition: var(--transition);
}
.sub-nav li a:hover,
.sub-nav li.active a {
  color: #fff;
  background: rgba(255,255,255,0.15);
}

/* ===== Hero Banner ===== */
.hero-banner { background: var(--white); }

.slide {
  min-height: 380px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.slide .container { width: 100%; }
.slide-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 0;
}
.slide-text { max-width: 500px; color: #fff; }
.slide-text .tag {
  background: rgba(255,255,255,0.25);
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 13px;
  display: inline-block;
  margin-bottom: 16px;
}
.slide-text h1 {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 14px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.slide-text p {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 24px;
  line-height: 1.7;
}
.slide-btns { display: flex; gap: 14px; }
.btn-primary {
  background: #fff;
  color: var(--primary-dark);
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
.btn-outline {
  border: 2px solid rgba(255,255,255,0.8);
  color: #fff;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition);
}
.btn-outline:hover { background: rgba(255,255,255,0.2); }

/* 城市插画 */
.city-illustration {
  width: 300px;
  height: 200px;
  position: relative;
}
.building {
  position: absolute;
  bottom: 0;
  background: rgba(255,255,255,0.2);
  border-radius: 4px 4px 0 0;
}
.b1 { width: 50px; height: 120px; left: 20px; background: rgba(255,255,255,0.15); }
.b2 { width: 70px; height: 160px; left: 80px; background: rgba(255,255,255,0.18); }
.b3 { width: 55px; height: 100px; right: 30px; background: rgba(255,255,255,0.12); }
.tower-kl {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 190px;
  background: rgba(255,255,255,0.25);
  border-radius: 4px 4px 0 0;
}
.tower-kl::after {
  content: '';
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 40px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
}
.cloud {
  position: absolute;
  background: rgba(255,255,255,0.3);
  border-radius: 50px;
}
.c1 { width: 80px; height: 25px; top: 30px; left: 40px; }
.c2 { width: 60px; height: 20px; top: 20px; right: 40px; }

/* ===== 快速入口 ===== */
.quick-entry {
  background: var(--white);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  border-radius: 16px;
  margin: -40px 20px 0;
  position: relative;
  z-index: 10;
  padding: 20px;
}
.quick-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 8px;
}
.quick-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px 6px;
  border-radius: 10px;
  transition: var(--transition);
  cursor: pointer;
}
.quick-item:hover { background: var(--bg-light); transform: translateY(-2px); }
.quick-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.quick-item span {
  font-size: 12px;
  color: var(--text);
  font-weight: 500;
  text-align: center;
}

/* ===== 国家切换 ===== */
.country-section {
  background: var(--white);
  margin-top: 30px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.country-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}
.country-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
}
.country-tab.active {
  border-color: var(--primary);
  color: var(--primary);
  background: #f0faf5;
}
.country-tab:hover:not(.active) { border-color: var(--primary); color: var(--primary); }

.city-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.city-label { font-size: 13px; color: var(--text-light); }
.city-link {
  font-size: 13px;
  color: var(--text-light);
  padding: 4px 12px;
  border-radius: 50px;
  transition: var(--transition);
}
.city-link:hover, .city-link.active {
  background: var(--primary);
  color: #fff;
}

/* ===== 精选服务模块 ===== */
.featured-services {
  padding: 30px 0;
}
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--bg-light);
}
.card-header h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}
.card-header h2 i { color: var(--primary); margin-right: 8px; }
.view-all { font-size: 13px; color: var(--primary); font-weight: 600; }
.view-all:hover { text-decoration: underline; }

/* 签证列表 */
.visa-types { display: flex; flex-direction: column; gap: 12px; }
.visa-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.visa-item:hover { border-color: var(--primary); box-shadow: 0 2px 8px rgba(45,155,92,0.1); }
.visa-icon {
  width: 42px;
  height: 42px;
  background: #f0faf5;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 18px;
  flex-shrink: 0;
}
.visa-info { flex: 1; }
.visa-info h4 { font-size: 14px; font-weight: 700; margin-bottom: 2px; }
.visa-info p { font-size: 12px; color: var(--text-light); line-height: 1.4; }
.visa-info .price { font-size: 13px; font-weight: 700; color: var(--danger); }
.btn-sm {
  background: var(--primary);
  color: #fff;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  transition: var(--transition);
}
.btn-sm:hover { background: var(--primary-dark); transform: translateY(-1px); }

/* 租房列表 */
.rent-list { display: flex; flex-direction: column; gap: 12px; }
.rent-item {
  display: flex;
  gap: 12px;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.rent-item:hover { border-color: #c8e6c9; box-shadow: var(--shadow); }
.rent-img {
  width: 80px;
  height: 65px;
  border-radius: 8px;
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.rent-tag {
  position: absolute;
  top: 4px;
  left: 4px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
}
.rent-info { flex: 1; }
.rent-info h4 { font-size: 13px; font-weight: 700; margin-bottom: 4px; }
.rent-info p { font-size: 11px; color: var(--text-light); }
.rent-info i { margin-right: 4px; color: var(--primary); }
.rent-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; }
.rent-price { font-size: 13px; font-weight: 700; color: var(--danger); }
.rent-badge {
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 50px;
  background: #f0faf5;
  color: var(--primary);
  border: 1px solid #c8e6c9;
}
.rent-badge.new { background: #fff3e0; color: #f57c00; border-color: #ffe0b2; }

/* ===== 服务大分类 ===== */
.service-categories {
  padding: 50px 0;
  background: var(--bg-light);
}
.section-title {
  text-align: center;
  margin-bottom: 36px;
}
.section-title h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}
.section-title p {
  font-size: 15px;
  color: var(--text-light);
}
.section-title .view-all-link {
  font-size: 14px;
  color: var(--primary);
  font-weight: 600;
  display: inline-block;
  margin-top: 8px;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.cat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: block;
  border: 2px solid transparent;
}
.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--color, var(--primary));
}
.cat-card .cat-bg {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--color, var(--primary));
  opacity: 0.06;
  transition: var(--transition);
}
.cat-card:hover .cat-bg { transform: scale(1.5); opacity: 0.1; }
.cat-card i {
  font-size: 32px;
  color: var(--color, var(--primary));
  margin-bottom: 12px;
  display: block;
}
.cat-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}
.cat-card > p {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 12px;
  line-height: 1.5;
}
.cat-card ul { list-style: none; }
.cat-card ul li {
  font-size: 12px;
  color: var(--text-light);
  padding: 2px 0;
}

/* ===== 防骗横幅 ===== */
.safety-banner {
  background: linear-gradient(135deg, #ff6b6b, #ee0979);
  padding: 28px 0;
}
.safety-content {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #fff;
}
.safety-icon { font-size: 48px; flex-shrink: 0; }
.safety-text h3 { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.safety-text p { font-size: 13px; opacity: 0.9; }
.safety-items {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-left: 20px;
}
.safety-tag {
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.4);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
}
.safety-tag i { margin-right: 4px; }
.btn-safety {
  background: #fff;
  color: #ee0979;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  transition: var(--transition);
  flex-shrink: 0;
}
.btn-safety:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,0.2); }

/* ===== 攻略 ===== */
.guides-section {
  padding: 50px 0;
  background: var(--white);
}
.guides-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}
.guide-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.guide-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.guide-card.featured {
  grid-row: span 2;
}
.guide-img {
  height: 160px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  overflow: hidden;
}
.guide-card.featured .guide-img { height: 220px; }
.guide-img-text {
  width: 100%;
  display: flex;
  justify-content: center;
  color: #fff;
  opacity: 0.5;
}
.guide-cat {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 50px;
  font-weight: 600;
}
.guide-cat.safety { background: #e74c3c; }
.guide-content { padding: 16px; }
.guide-tag {
  display: inline-block;
  font-size: 11px;
  color: var(--primary);
  background: #f0faf5;
  padding: 2px 8px;
  border-radius: 50px;
  margin-bottom: 8px;
}
.guide-content h3 {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 8px;
  color: var(--text);
}
.guide-card.featured .guide-content h3 { font-size: 18px; }
.guide-content p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 10px;
}
.guide-meta { display: flex; gap: 14px; font-size: 12px; color: var(--text-light); }
.guide-meta i { margin-right: 4px; color: var(--primary); }

/* ===== 服务商 ===== */
.providers-section {
  padding: 50px 0;
  background: var(--bg-light);
}
.provider-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  border-bottom: 2px solid var(--border);
  padding-bottom: 0;
}
.prov-tab {
  padding: 10px 20px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-light);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: var(--transition);
}
.prov-tab.active { color: var(--primary); border-bottom-color: var(--primary); }
.prov-tab:hover:not(.active) { color: var(--text); }

.providers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.provider-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  position: relative;
  text-align: center;
  transition: var(--transition);
  border: 2px solid transparent;
}
.provider-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--primary); }
.prov-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 50px;
  font-weight: 600;
}
.prov-badge.certified { background: #e8f5e9; color: #2d9b5c; }
.prov-badge.partner { background: #e3f2fd; color: #1976d2; }
.prov-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  font-weight: 800;
}
.provider-card h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.prov-location { font-size: 12px; color: var(--text-light); margin-bottom: 10px; }
.prov-location i { color: var(--danger); margin-right: 4px; }
.prov-tags { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px; margin-bottom: 12px; }
.prov-tags span {
  font-size: 11px;
  background: var(--bg-light);
  color: var(--text-light);
  padding: 2px 8px;
  border-radius: 50px;
  border: 1px solid var(--border);
}
.prov-stats { display: flex; justify-content: center; gap: 10px; font-size: 12px; color: var(--text-light); margin-bottom: 14px; }
.prov-stats i { color: var(--secondary); margin-right: 3px; }
.btn-contact {
  display: block;
  background: var(--primary);
  color: #fff;
  padding: 9px 0;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  transition: var(--transition);
}
.btn-contact:hover { background: var(--primary-dark); }
.provider-join {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: var(--text-light);
}
.provider-join a { color: var(--primary); font-weight: 700; }

/* ===== 数据统计 ===== */
.stats-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 50px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stat-item { color: #fff; }
.stat-num {
  font-size: 48px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}
.stat-label { font-size: 15px; opacity: 0.85; }

/* ===== APP区 ===== */
.app-section {
  padding: 60px 0;
  background: var(--white);
}
.app-content { display: flex; align-items: center; gap: 60px; }
.app-text { flex: 1; }
.app-text h2 { font-size: 30px; font-weight: 800; margin-bottom: 14px; }
.app-text p { font-size: 16px; color: var(--text-light); line-height: 1.7; margin-bottom: 20px; }
.app-features { display: flex; gap: 20px; margin-bottom: 24px; }
.app-features span { font-size: 14px; color: var(--text); }
.app-features i { color: var(--primary); margin-right: 6px; }
.app-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.app-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  transition: var(--transition);
}
.app-btn.ios { background: #000; color: #fff; }
.app-btn.android { background: #01875f; color: #fff; }
.app-btn.wechat { background: #07c160; color: #fff; }
.app-btn:hover { opacity: 0.85; transform: translateY(-2px); }
.app-btn i { font-size: 18px; }

/* 手机模拟框 */
.phone-frame {
  width: 220px;
  height: 420px;
  background: #1a1a1a;
  border-radius: 40px;
  padding: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25), 0 0 0 2px #333;
  flex-shrink: 0;
}
.phone-screen {
  background: #f8fafb;
  border-radius: 30px;
  height: 100%;
  overflow: hidden;
}
.app-preview { padding: 16px 12px; }
.preview-header {
  font-size: 16px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 16px;
  text-align: center;
}
.preview-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 12px;
  color: var(--text);
  margin-bottom: 6px;
  background: var(--white);
}
.preview-item i { color: var(--primary); }
.preview-item.active { background: var(--primary); color: #fff; }
.preview-item.active i { color: #fff; }

/* ===== 合作伙伴 ===== */
.partners-section {
  padding: 40px 0;
  background: var(--bg-light);
  border-top: 1px solid var(--border);
}
.partners-logos {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}
.partner-logo {
  padding: 12px 24px;
  background: var(--white);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-light);
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.partner-logo:hover { transform: translateY(-2px); color: var(--primary); }

/* ===== 页脚 ===== */
.main-footer {
  background: #1a252f;
  color: #95a5a6;
  padding: 50px 0 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
}
.footer-logo {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}
.brand-col p {
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 16px;
}
.social-links { display: flex; gap: 12px; margin-bottom: 20px; }
.social-links a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #95a5a6;
  transition: var(--transition);
}
.social-links a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.hotline {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hotline i { font-size: 24px; color: var(--primary); }
.hotline small { font-size: 11px; display: block; }
.hotline strong { font-size: 18px; color: #fff; }
.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul a {
  font-size: 13px;
  color: #95a5a6;
  transition: var(--transition);
}
.footer-col ul a:hover { color: #fff; padding-left: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 12px;
  color: #636e72;
}

/* ===== 签证页面样式 ===== */
.page-hero {
  background: linear-gradient(135deg, #1a6b3a, #2d9b5c);
  color: #fff;
  padding: 50px 0;
}
.page-hero h1 { font-size: 32px; font-weight: 800; margin-bottom: 10px; }
.page-hero p { font-size: 16px; opacity: 0.9; }
.breadcrumb {
  font-size: 13px;
  margin-bottom: 16px;
  opacity: 0.8;
}
.breadcrumb a { color: rgba(255,255,255,0.8); }
.breadcrumb span { margin: 0 8px; }

.page-content { padding: 40px 0 60px; }
.content-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  align-items: start;
}

/* 签证类型选择 */
.visa-type-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  border-bottom: 2px solid var(--border);
  padding-bottom: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.visa-type-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-light);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  transition: var(--transition);
}
.visa-type-tab.active { color: var(--primary); border-bottom-color: var(--primary); }
.visa-type-tab i { font-size: 16px; }

/* 签证详情卡片 */
.visa-detail-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}
.visa-detail-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.visa-detail-icon {
  width: 60px;
  height: 60px;
  background: #f0faf5;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--primary);
  flex-shrink: 0;
}
.visa-detail-title h2 { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.visa-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.visa-badge {
  font-size: 12px;
  padding: 3px 12px;
  border-radius: 50px;
  font-weight: 600;
}
.badge-green { background: #e8f5e9; color: #2d9b5c; }
.badge-blue { background: #e3f2fd; color: #1976d2; }
.badge-orange { background: #fff3e0; color: #f57c00; }

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.info-item {
  background: var(--bg-light);
  border-radius: 10px;
  padding: 16px;
  text-align: center;
}
.info-item .label { font-size: 12px; color: var(--text-light); margin-bottom: 6px; }
.info-item .value { font-size: 16px; font-weight: 700; color: var(--text); }
.info-item .value.highlight { color: var(--primary); }

.requirements-section h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text);
}
.req-list { list-style: none; }
.req-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
}
.req-list li:last-child { border-bottom: none; }
.req-list i { color: var(--primary); margin-top: 2px; flex-shrink: 0; }

/* 申请步骤 */
.steps-section {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}
.steps-section h3 { font-size: 18px; font-weight: 700; margin-bottom: 20px; }
.steps-flow {
  display: flex;
  align-items: flex-start;
  gap: 0;
  overflow-x: auto;
}
.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  min-width: 100px;
  position: relative;
}
.step-num {
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}
.step-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 22px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: #c8e6c9;
  z-index: 0;
}
.step-title { font-size: 13px; font-weight: 700; margin-bottom: 4px; }
.step-desc { font-size: 11px; color: var(--text-light); line-height: 1.4; }

/* 侧边栏 */
.sidebar { position: sticky; top: 100px; }
.sidebar-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  margin-bottom: 16px;
}
.sidebar-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--bg-light);
}
.price-breakdown { list-style: none; }
.price-breakdown li {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 6px 0;
  border-bottom: 1px dashed var(--border);
}
.price-breakdown li:last-child { border-bottom: none; font-weight: 700; color: var(--danger); }
.btn-apply {
  display: block;
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 14px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  margin-top: 16px;
  transition: var(--transition);
}
.btn-apply:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(45,155,92,0.3); }
.btn-consult {
  display: block;
  border: 2px solid var(--primary);
  color: var(--primary);
  text-align: center;
  padding: 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  margin-top: 10px;
  transition: var(--transition);
}
.btn-consult:hover { background: var(--primary); color: #fff; }

/* ===== 通用组件 ===== */
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 50px;
  background: #f0faf5;
  color: var(--primary);
  border: 1px solid #c8e6c9;
}

/* 警告提示框 */
.alert-box {
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.alert-box i { font-size: 18px; flex-shrink: 0; margin-top: 2px; }
.alert-box.info { background: #e3f2fd; color: #1976d2; border-left: 4px solid #1976d2; }
.alert-box.warning { background: #fff3e0; color: #f57c00; border-left: 4px solid #f57c00; }
.alert-box.danger { background: #ffebee; color: #c62828; border-left: 4px solid #c62828; }
.alert-box.success { background: #e8f5e9; color: #2d9b5c; border-left: 4px solid #2d9b5c; }

/* ===== 工作签证页面扩展 ===== */
.job-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
  margin-bottom: 14px;
}
.job-card:hover { border-color: var(--primary); box-shadow: 0 4px 20px rgba(45,155,92,0.1); }
.job-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; }
.job-title { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.job-company { font-size: 13px; color: var(--text-light); }
.job-salary { font-size: 16px; font-weight: 700; color: var(--danger); }
.job-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.job-tag {
  font-size: 12px;
  background: var(--bg-light);
  color: var(--text-light);
  padding: 3px 10px;
  border-radius: 50px;
  border: 1px solid var(--border);
}
.job-footer { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--text-light); }

/* ===== 学校卡片 ===== */
.school-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 16px;
  margin-bottom: 14px;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.school-card:hover { border-color: var(--primary); transform: translateX(4px); }
.school-rank {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  text-align: center;
  flex-shrink: 0;
  line-height: 1.3;
}
.school-info { flex: 1; }
.school-info h4 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.school-info p { font-size: 12px; color: var(--text-light); margin-bottom: 8px; }
.school-info .school-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.school-tag {
  font-size: 11px;
  background: #f0faf5;
  color: var(--primary);
  padding: 2px 8px;
  border-radius: 50px;
  border: 1px solid #c8e6c9;
}
.school-meta { text-align: right; }
.school-meta .tuition { font-size: 14px; font-weight: 700; color: var(--danger); }
.school-meta .duration { font-size: 11px; color: var(--text-light); }

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .providers-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .quick-grid { grid-template-columns: repeat(5, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .slide-image { display: none; }
  .slide-text h1 { font-size: 26px; }
  .guides-grid { grid-template-columns: 1fr; }
  .guide-card.featured { grid-row: auto; }
  .main-header > .container { flex-wrap: wrap; }
  .search-bar { order: 3; flex: 0 0 100%; }
  .content-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .app-content { flex-direction: column; text-align: center; }
  .safety-content { flex-wrap: wrap; justify-content: center; text-align: center; }
  .info-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .quick-grid { grid-template-columns: repeat(5, 1fr); }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-num { font-size: 32px; }
}

/* ===== 动画 ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeInUp 0.5s ease forwards; }

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
.pulse { animation: pulse 2s infinite; }

/* 滚动条美化 */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-light); }
::-webkit-scrollbar-thumb { background: #c8e6c9; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }
