:root {
  --primary: #185FA5;
  --primary-dark: #0C447C;
  --primary-light: #E6F1FB;
  --text: #1F2937;
  --text-secondary: #4B5563;
  --text-muted: #6B7280;
  --bg: #ffffff;
  --bg-alt: #F8FAFC;
  --border: #E5E7EB;
  --radius: 12px;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  --max-width: 1100px;
  --font: system-ui, -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
}

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

.container {
  width: 92%;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Header */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.logo {
  display: flex;
  align-items: center;
  color: var(--text);
}

.logo-img {
  display: block;
  max-height: 64px;
  width: auto;
  height: auto;
}

.logo-mark {
  background: var(--primary);
  color: #fff;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 14px;
}

.logo-text { font-size: 16px; }

.main-nav {
  display: flex;
  gap: 22px;
  align-items: center;
}

.main-nav a {
  color: var(--text-secondary);
  font-size: 15px;
}

.main-nav a:hover { color: var(--primary); }

.nav-dropdown {
  position: relative;
}

.nav-parent {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-parent::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  opacity: 0.6;
}

.nav-submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: -12px;
  min-width: 160px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  padding: 8px 0;
  z-index: 200;
}

.nav-submenu a {
  display: block;
  padding: 10px 18px;
  font-size: 14px;
  white-space: nowrap;
  color: var(--text);
}

.nav-submenu a:hover {
  background: var(--primary-light);
  color: var(--primary);
  text-decoration: none;
}

.nav-submenu .sub-highlight {
  color: var(--primary);
  font-weight: 500;
}

.nav-dropdown:hover .nav-submenu,
.nav-dropdown:focus-within .nav-submenu {
  display: block;
}

.nav-cta {
  background: var(--primary);
  color: #fff !important;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 500;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  color: var(--text);
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--primary-light) 0%, #fff 100%);
  padding: 64px 0 72px;
  text-align: center;
}

.hero h1 {
  font-size: 38px;
  margin: 0 0 16px;
  color: var(--primary-dark);
}

.hero-sub {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto 28px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 24px;
  font-weight: 500;
  transition: transform .15s, box-shadow .15s;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover { background: var(--primary-dark); text-decoration: none; }

.btn-secondary {
  background: #fff;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.btn-secondary:hover { background: var(--primary-light); text-decoration: none; }

/* Sections */
.section { padding: 56px 0; }
.section-alt { background: var(--bg-alt); }

.promo-card {
  background: linear-gradient(135deg, #0a453a 0%, #146b5b 100%);
  color: #fff;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 8px 32px rgba(10, 69, 58, 0.18);
}
.promo-card h2 {
  margin: 0 0 12px;
  font-size: 24px;
  color: #fff;
}
.promo-card p {
  margin: 0 0 20px;
  color: rgba(255,255,255,0.92);
  line-height: 1.7;
  max-width: 880px;
}
.promo-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.promo-actions .btn-primary {
  background: #e09a2f;
  color: #1a2e2b;
  font-weight: 600;
}
.promo-actions .btn-primary:hover { background: #c98524; }
.promo-actions .btn-secondary {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}
.promo-actions .btn-secondary:hover { background: rgba(255,255,255,0.22); }

.section-title {
  font-size: 24px;
  margin: 0 0 28px;
  color: var(--text);
}

.page-title {
  font-size: 28px;
  margin: 0 0 28px;
  color: var(--primary-dark);
}

.text-center { text-align: center; margin-top: 28px; }

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
}

.related-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-link { color: inherit; display: block; }
.card-link:hover { text-decoration: none; }

.card-title {
  font-size: 18px;
  margin: 0 0 10px;
  color: var(--text);
}

.card-title:hover { color: var(--primary); }

.card-meta {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0 0 12px;
}

.category {
  background: var(--primary-light);
  color: var(--primary);
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 12px;
}

.card-summary {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-tags { margin-top: 14px; }

/* Tags & Chips */
.tag, .chip {
  display: inline-block;
  font-size: 13px;
  padding: 4px 10px;
  border-radius: 14px;
  background: #F3F4F6;
  color: var(--text-secondary);
  margin: 0 6px 6px 0;
}

.tag:hover, .chip:hover { background: var(--primary-light); color: var(--primary); text-decoration: none; }

.chip-list, .tag-list { display: flex; flex-wrap: wrap; gap: 8px; }

/* Article page */
.article-page { padding: 32px 0 64px; }

.narrow { max-width: 760px; }

.article-promo {
  background: linear-gradient(135deg, #0a453a 0%, #146b5b 100%);
  color: #fff;
  border-radius: 14px;
  padding: 24px;
  margin: 28px 0;
}
.article-promo h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 18px;
}
.article-promo p {
  margin: 0 0 16px;
  color: rgba(255,255,255,0.92);
  font-size: 14px;
  line-height: 1.7;
}
.article-promo .btn-primary {
  background: #e09a2f;
  color: #1a2e2b;
  font-weight: 600;
}

.article-cta {
  background: linear-gradient(135deg, #0e5a4c 0%, #146b5b 100%);
  color: #fff;
  border-radius: 14px;
  padding: 24px;
  margin: 28px 0;
}
.article-cta h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 20px;
}
.article-cta > p {
  margin: 0 0 18px;
  color: rgba(255,255,255,0.92);
  line-height: 1.7;
}
.article-cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.article-cta-actions .btn-primary {
  background: #e09a2f;
  color: #1a2e2b;
  font-weight: 600;
}
.article-cta-actions .btn-primary:hover { background: #c98524; }
.article-cta-actions .btn-secondary {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
}
.article-cta-actions .btn-secondary:hover { background: rgba(255,255,255,0.22); }
.article-cta-contact {
  font-size: 14px;
  color: rgba(255,255,255,0.9);
  margin: 0 0 12px;
}
.article-cta-contact a {
  color: #f0c26e;
  text-decoration: none;
  font-weight: 600;
}
.article-cta-wechat,
.assessment-wechat {
  text-align: center;
}
.article-cta-wechat img,
.assessment-wechat img {
  max-width: 160px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.article-cta-wechat p,
.assessment-wechat p {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  margin: 8px 0 0;
}
.assessment-wechat p {
  color: var(--text-muted);
}

.breadcrumb {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.breadcrumb a { color: var(--text-muted); }
.breadcrumb span { margin: 0 8px; }

.article-header { margin-bottom: 28px; }

.article-title { font-size: 30px; margin: 0 0 12px; line-height: 1.35; }

.article-meta { font-size: 14px; color: var(--text-muted); margin: 0; }

.article-body { font-size: 16px; color: var(--text); }

.article-body h2 {
  font-size: 22px;
  margin-top: 36px;
  margin-bottom: 14px;
  color: var(--primary-dark);
}

.article-body h3 {
  font-size: 18px;
  margin-top: 26px;
  margin-bottom: 10px;
}

.article-body p { margin: 0 0 18px; }

.article-body ul, .article-body ol {
  margin: 0 0 18px 0;
  padding-left: 24px;
}

.article-body li { margin-bottom: 8px; }

.article-body blockquote {
  margin: 22px 0;
  padding: 16px 20px;
  border-left: 4px solid var(--primary);
  background: var(--bg-alt);
  color: var(--text-secondary);
  border-radius: 0 8px 8px 0;
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
}

.article-body th, .article-body td {
  border: 1px solid var(--border);
  padding: 10px 12px;
  text-align: left;
}

.article-body th { background: var(--bg-alt); font-weight: 600; }

.article-tags { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--border); }

.article-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  gap: 16px;
}

.article-nav a {
  flex: 1;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--text);
}

.article-nav a:hover { border-color: var(--primary); color: var(--primary); text-decoration: none; }

.article-nav-next { text-align: right; }

.related-section { margin-top: 48px; }
.related-section h2 { font-size: 22px; margin-bottom: 18px; }

/* Page content */
.page-content { font-size: 16px; color: var(--text); }
.page-content p { margin: 0 0 16px; }

/* Lead form */
.lead-form {
  background: var(--bg-alt);
  padding: 28px;
  border-radius: var(--radius);
  margin-top: 20px;
}

.lead-form label {
  display: block;
  margin-bottom: 16px;
  font-size: 14px;
  color: var(--text-secondary);
}

.lead-form input, .lead-form select, .lead-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-top: 6px;
  font-family: var(--font);
  font-size: 15px;
}

.lead-form textarea { resize: vertical; }

.form-message { margin-top: 12px; font-size: 14px; color: var(--text-secondary); }

/* Search */
.search-form {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.search-form input {
  flex: 1;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
}

.search-status { color: var(--text-muted); font-size: 14px; }

/* CTA & Footer */
.cta-section {
  background: var(--primary);
  color: #fff;
  padding: 44px 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-inner h2 { margin: 0 0 8px; font-size: 24px; }
.cta-inner p { margin: 0; opacity: 0.9; }

.cta-section .btn-primary { background: #fff; color: var(--primary); }
.cta-section .btn-primary:hover { background: var(--primary-light); }

.site-footer {
  background: #111827;
  color: #9CA3AF;
  padding: 44px 0 0;
  font-size: 14px;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  padding-bottom: 32px;
}

.footer-inner strong { color: #F3F4F6; display: block; margin-bottom: 10px; }
.footer-inner p { margin: 0 0 8px; }
.footer-inner ul { list-style: none; padding: 0; margin: 0; }
.footer-inner li { margin-bottom: 8px; }
.footer-inner a { color: #9CA3AF; }
.footer-inner a:hover { color: #fff; }

.copyright {
  border-top: 1px solid #374151;
  padding: 18px 0;
  text-align: center;
}

.copyright p { margin: 0; }
.copyright .icp-line { margin-top: 8px; font-size: 13px; }
.copyright .icp-line a { color: #9CA3AF; text-decoration: none; }
.copyright .icp-line a:hover { color: #fff; text-decoration: underline; }

/* HK Masters */
.page-hero {
  background: linear-gradient(135deg, #1e3a5f 0%, #0f766e 100%);
  color: #fff;
  padding: 56px 0;
}
.page-hero h1 { font-size: 36px; margin-bottom: 12px; }
.page-hero .lead { font-size: 18px; opacity: 0.95; max-width: 720px; }
.page-hero a { color: #a7f3d0; text-decoration: underline; }
.breadcrumb { font-size: 14px; margin-bottom: 16px; opacity: 0.9; }
.breadcrumb a { color: #fff; text-decoration: none; margin-right: 8px; }
.breadcrumb span { margin-right: 8px; }

.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.filter-btn {
  padding: 8px 18px;
  border: 1px solid #d1d5db;
  background: #fff;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
  color: #374151;
}
.filter-btn.active, .filter-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.university-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}
.university-card {
  display: block;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 22px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, transform 0.2s;
}
.university-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}
.university-card h3 { font-size: 18px; margin: 0 0 6px; color: #111827; }
.university-card .short-name {
  display: inline-block;
  background: #f3f4f6;
  color: #4b5563;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  margin-bottom: 10px;
}
.university-card p { font-size: 14px; color: #6b7280; margin: 0 0 12px; }
.university-card .program-count { font-size: 13px; color: var(--primary); font-weight: 500; }
.university-card.focus { border-color: #0f766e; background: #f0fdfa; }
.university-card.focus h3 { color: #0f766e; }

.program-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.program-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.program-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}
.program-card-link {
  display: block;
  padding: 22px;
  text-decoration: none;
  color: inherit;
}
.program-card-header { margin-bottom: 12px; }
.program-university { font-size: 13px; color: var(--primary); font-weight: 500; }
.program-card-title { font-size: 17px; margin: 6px 0 0; color: #111827; }
.program-card-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 12px;
}
.program-card-summary { font-size: 14px; color: #4b5563; margin: 0 0 14px; line-height: 1.6; }
.program-card-tags { display: flex; gap: 6px; flex-wrap: wrap; }

.tag-chinese { background: #fef3c7; color: #92400e; }
.tag-hot { background: #fee2e2; color: #991b1b; }
.tag-mainland { background: #d1fae5; color: #065f46; }

.program-hero { background: linear-gradient(135deg, #0f766e 0%, #1e3a5f 100%); }
.program-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.program-tags .tag { font-size: 13px; }

.program-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
}
.program-main { min-width: 0; }
.program-section { margin-bottom: 32px; }
.program-section h2 { font-size: 22px; color: #111827; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid #e5e7eb; }
.program-section p { line-height: 1.8; color: #374151; }
.program-sidebar { position: sticky; top: 24px; align-self: start; }
.info-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px;
}
.info-card h3 { margin-top: 0; font-size: 18px; }
.info-card ul { list-style: none; padding: 0; margin: 0 0 16px; }
.info-card li { padding: 8px 0; border-bottom: 1px solid #f3f4f6; font-size: 14px; }
.info-card li strong { color: #111827; }
.highlight-item { font-size: 14px; color: #065f46; background: #ecfdf5; padding: 8px 12px; border-radius: 6px; margin-bottom: 8px; }
.btn-secondary {
  display: block;
  text-align: center;
  padding: 12px;
  border: 1px solid var(--primary);
  color: var(--primary);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  margin-bottom: 10px;
}
.btn-secondary:hover { background: var(--primary-light); }

.cta-bottom { text-align: center; padding: 48px 0; }
.cta-bottom h2 { margin-bottom: 10px; }
.cta-bottom p { color: #6b7280; margin-bottom: 20px; }

/* Program detail enhancements */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.info-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 16px;
}
.info-label {
  display: block;
  font-size: 12px;
  color: #64748b;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.info-value {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
}
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.check-list li {
  position: relative;
  padding-left: 28px;
  padding-top: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f1f5f9;
  line-height: 1.7;
  color: #334155;
}
.check-list li:last-child { border-bottom: none; }
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 8px;
  width: 20px;
  height: 20px;
  background: #d1fae5;
  color: #065f46;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cta-box {
  background: linear-gradient(135deg, #0e5a4c 0%, #146b5b 100%);
  color: #fff;
  border-radius: 16px;
  padding: 32px;
  text-align: center;
}
.cta-box h2 { color: #fff; margin-bottom: 12px; }
.cta-box p { color: rgba(255,255,255,0.9); margin-bottom: 20px; }
.cta-box .btn-primary,
.cta-box .btn-secondary { display: inline-block; margin: 6px; }
.cta-box .btn-secondary { background: rgba(255,255,255,0.15); color: #fff; border: 1px solid rgba(255,255,255,0.4); }
.cta-box .btn-secondary:hover { background: rgba(255,255,255,0.25); }
.sidebar-list { list-style: none; padding: 0; margin: 0 0 16px; }
.sidebar-list li { padding: 10px 0; border-bottom: 1px solid #f1f5f9; font-size: 14px; }
.sidebar-list li strong { color: #111827; }
.sidebar-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.info-card.sticky { position: sticky; top: 24px; }
.section-title { font-size: 22px; margin-bottom: 20px; }

@media (max-width: 768px) {
  .program-layout { grid-template-columns: 1fr; }
  .program-sidebar { position: static; }
  .page-hero h1 { font-size: 28px; }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-box { padding: 24px; }
  .info-card.sticky { position: static; }
}

@media (max-width: 480px) {
  .info-grid { grid-template-columns: 1fr; }
}

/* Mobile */
@media (max-width: 768px) {
  .main-nav { display: none; }
  .menu-toggle { display: block; }
  .hero h1 { font-size: 28px; }
  .hero-sub { font-size: 15px; }
  .card-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; text-align: center; }
  .article-title { font-size: 24px; }
  .search-form { flex-direction: column; }
  .header-inner { flex-wrap: wrap; gap: 12px; }
  .logo-img { max-height: 48px; max-width: 72vw; }
}

/* ===== 香港硕士指南（豆包风格） ===== */
.wrap {
  width: 92%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.hk-hero {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #0a453a;
}
.hk-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 100%, rgba(20, 107, 91, 0.55) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 20%, rgba(224, 154, 47, 0.25) 0%, transparent 50%),
    linear-gradient(180deg, #0a453a 0%, #0e5a4c 55%, #08352d 100%);
}
.hk-hero-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 38, 31, 0.35) 0%, rgba(8, 38, 31, 0.15) 45%, rgba(8, 38, 31, 0.82) 100%);
}
.hk-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 40px 0 34px;
}
.hk-hero .container { max-width: var(--max-width); }
.hk-kicker {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: #fbe7c3;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.hk-hero h1 {
  font-size: 32px;
  line-height: 1.25;
  color: #fff;
  font-weight: 700;
  max-width: 640px;
  margin: 0 0 12px;
}
.hk-hero p {
  font-size: 16px;
  color: #e9f2ee;
  margin: 0;
  max-width: 620px;
  line-height: 1.7;
}
.hk-hero-nav {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.hk-hero-nav a {
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  padding: 6px 16px;
  background: rgba(10, 38, 32, 0.25);
  transition: all 0.2s;
}
.hk-hero-nav a:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #fff;
  text-decoration: none;
}

.hk-toolbar {
  background: #fff;
  border: 1px solid #d8e2dd;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(26, 46, 43, 0.06);
  margin: -28px auto 0;
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  padding: 14px 16px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.hk-toolbar label {
  font-size: 14px;
  color: #5c6f68;
  white-space: nowrap;
}
.hk-searchbox {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}
.hk-searchbox input {
  width: 100%;
  font-size: 15px;
  padding: 10px 38px 10px 14px;
  border: 1px solid #d8e2dd;
  border-radius: 8px;
  outline: none;
  background: #f5f7f6;
  color: #1a2e2b;
  font-family: var(--font);
}
.hk-searchbox input:focus { border-color: #0e5a4c; background: #fff; }
.hk-searchbox .hk-clear {
  position: absolute;
  right: 6px;
  width: 30px;
  height: 30px;
  border: none;
  background: transparent;
  color: #5c6f68;
  cursor: pointer;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hk-searchbox .hk-clear:hover { background: #e3ebe7; color: #1a2e2b; }

.hk-main { padding: 44px 0 20px; }
.hk-section { padding: 32px 0 16px; }
.hk-sec-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.hk-sec-head h2 {
  font-size: 24px;
  font-weight: 700;
  color: #0a453a;
  margin: 0;
}
.hk-hint {
  font-size: 14px;
  color: #5c6f68;
}
.hk-sec-intro {
  font-size: 15px;
  color: #5c6f68;
  margin-bottom: 18px;
  line-height: 1.7;
}

.hk-legend {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.hk-legend span {
  font-size: 13px;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid #d8e2dd;
  color: #5c6f68;
  background: #fff;
}
.hk-legend i {
  font-style: normal;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 999px;
  margin-right: 4px;
}

.hk-card {
  background: #fff;
  border: 1px solid #d8e2dd;
  border-radius: 12px;
  padding: 18px 18px 16px;
  box-shadow: 0 1px 3px rgba(26, 46, 43, 0.05);
  transition: box-shadow 0.2s, transform 0.2s;
}
.hk-card:hover {
  box-shadow: 0 6px 20px rgba(26, 46, 43, 0.1);
  transform: translateY(-2px);
}

.hk-schools {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.hk-school-card { padding: 0; overflow: hidden; }
.hk-school-link {
  display: block;
  padding: 18px;
  text-decoration: none;
  color: inherit;
}
.hk-card-top {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.hk-card-top h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1a2e2b;
  margin: 0;
}
.hk-en {
  font-size: 12px;
  color: #5c6f68;
}
.hk-badges {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.hk-badge {
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 600;
}
.b-qs { background: #fff6e3; color: #9a6410; border: 1px solid #f0d9a8; }
.t-rush { background: #fbeae5; color: #b04a2e; border: 1px solid #f2cdbf; }
.t-main { background: #e7f0ec; color: #0e5a4c; border: 1px solid #c4dcce; }
.t-spec { background: #edf0fa; color: #44539c; border: 1px solid #cfd6ee; }
.t-self { background: #f0f1f3; color: #5c6b7a; border: 1px solid #d8dde3; }
.hk-tags {
  font-size: 14px;
  color: #0e5a4c;
  margin-bottom: 8px;
  font-weight: 500;
}
.hk-desc {
  font-size: 14px;
  color: #3c4f49;
  line-height: 1.6;
  margin: 0 0 12px;
}
.hk-count {
  font-size: 13px;
  color: #0e5a4c;
  font-weight: 600;
}

.hk-majors {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.hk-major-card h3 { font-size: 17px; margin-bottom: 6px; }
.hk-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 10px 0 10px;
}
.hk-chips span {
  font-size: 12px;
  background: #e3ebe7;
  color: #0a453a;
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 600;
}
.hk-major-card p {
  font-size: 14px;
  color: #3c4f49;
  margin: 0;
  line-height: 1.6;
}

.hk-apply {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.hk-apply .hk-card {
  border-left: 4px solid #e09a2f;
}
.hk-apply h3 {
  font-size: 17px;
  margin: 0 0 8px;
  color: #1a2e2b;
}
.hk-apply p {
  font-size: 14px;
  color: #3c4f49;
  margin: 0;
  line-height: 1.6;
}

.hk-faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hk-faq details {
  background: #fff;
  border: 1px solid #d8e2dd;
  border-radius: 12px;
  padding: 16px 18px;
}
.hk-faq summary {
  font-weight: 600;
  color: #1a2e2b;
  cursor: pointer;
  font-size: 15px;
}
.hk-faq p {
  margin: 10px 0 0;
  color: #3c4f49;
  font-size: 14px;
  line-height: 1.7;
}

.hk-hidden { display: none !important; }

@media (min-width: 640px) {
  .hk-schools { grid-template-columns: repeat(2, 1fr); }
  .hk-apply { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 980px) {
  .hk-schools { grid-template-columns: repeat(2, 1fr); }
  .hk-majors { grid-template-columns: repeat(2, 1fr); }
  .hk-apply { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .hk-hero { min-height: 300px; }
  .hk-hero h1 { font-size: 26px; }
  .hk-hero p { font-size: 15px; }
  .hk-toolbar { margin-top: -18px; padding: 12px; }
  .hk-schools,
  .hk-majors,
  .hk-apply { grid-template-columns: 1fr; }
  .hk-sec-head h2 { font-size: 21px; }
}

/* ===== 综合站首页改版（P0） ===== */

.hero-comprehensive {
  background: linear-gradient(135deg, #0c3563 0%, #145b8d 50%, #1a7bb8 100%);
  color: #fff;
  padding: 72px 0 84px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-comprehensive::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(255,255,255,0.12) 0%, transparent 45%),
    radial-gradient(ellipse at 80% 100%, rgba(255,255,255,0.08) 0%, transparent 40%);
  pointer-events: none;
}

.hero-comprehensive .container { position: relative; z-index: 1; }

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 14px;
  margin-bottom: 20px;
  backdrop-filter: blur(4px);
}

.hero-comprehensive h1 {
  font-size: 42px;
  margin: 0 0 18px;
  color: #fff;
  line-height: 1.25;
  font-weight: 700;
}

.hero-comprehensive .hero-sub {
  color: rgba(255,255,255,0.88);
  font-size: 18px;
  max-width: 720px;
  margin: 0 auto 28px;
  line-height: 1.7;
}

.hero-trust {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.trust-item strong {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
}

.trust-item span {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
}

.hero-comprehensive .btn-primary {
  background: #fff;
  color: var(--primary-dark);
  font-weight: 600;
}

.hero-comprehensive .btn-primary:hover {
  background: var(--primary-light);
}

.hero-comprehensive .btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}

.hero-comprehensive .btn-secondary:hover {
  background: rgba(255,255,255,0.1);
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  margin: -18px 0 28px;
  line-height: 1.6;
}

.text-center { text-align: center; }

/* Service cards */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 8px;
}

.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  color: var(--text);
  transition: transform .15s, box-shadow .15s, border-color .15s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
  border-color: var(--primary);
  text-decoration: none;
}

.service-icon {
  width: 56px;
  height: 56px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.service-card h3 {
  font-size: 20px;
  margin: 0 0 10px;
  color: var(--text);
}

.service-card p {
  font-size: 15px;
  color: var(--text-secondary);
  margin: 0 0 18px;
  line-height: 1.6;
  flex: 1;
}

.service-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--primary);
}

/* Destination cards */
.destination-header {
  text-align: center;
  margin-bottom: 28px;
}

.destination-header .section-subtitle {
  margin: -8px 0 0;
}

.destination-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.destination-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  color: var(--text);
  transition: transform .15s, box-shadow .15s, border-color .15s;
  position: relative;
}

.destination-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
  border-color: var(--primary);
  text-decoration: none;
}

.destination-featured {
  grid-column: span 2;
  background: linear-gradient(135deg, #0a453a 0%, #146b5b 100%);
  color: #fff;
  border: none;
}

.destination-featured:hover {
  border-color: transparent;
}

.destination-featured h3,
.destination-featured p { color: #fff; }

.destination-card h3 {
  font-size: 18px;
  margin: 0 0 8px;
}

.destination-card p {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0 0 14px;
  line-height: 1.55;
}

.destination-tag {
  display: inline-block;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 12px;
  background: rgba(24,95,165,0.1);
  color: var(--primary);
  margin-bottom: 10px;
  font-weight: 500;
}

.destination-featured .destination-tag {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

.tag-immigration { background: #fef3c7; color: #92400e; }
.tag-visa { background: #dbeafe; color: #1e40af; }

.destination-link {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
}

.destination-immigration .destination-tag,
.destination-visa .destination-tag { color: inherit; }

/* Cases */
.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
}

.case-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.case-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.case-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}

.case-title {
  margin: 0;
  font-size: 16px;
  color: var(--text);
}

.case-meta {
  font-size: 13px;
  color: var(--text-muted);
  margin: 4px 0 0;
}

.case-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0 0 14px;
}

.case-result {
  display: inline-block;
  background: #ecfdf5;
  color: #065f46;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
}

.faq-item summary {
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  font-size: 16px;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::before {
  content: '+';
  display: inline-block;
  width: 22px;
  height: 22px;
  line-height: 22px;
  text-align: center;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50%;
  margin-right: 10px;
  font-size: 15px;
  font-weight: 700;
}

.faq-item[open] summary::before { content: '−'; }

.faq-item p {
  margin: 12px 0 0 32px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .hero-comprehensive h1 { font-size: 28px; }
  .hero-comprehensive .hero-sub { font-size: 15px; }
  .hero-trust { gap: 28px; }
  .trust-item strong { font-size: 26px; }
  .destination-featured { grid-column: span 1; }
  .destination-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .nav-submenu { position: static; display: none; box-shadow: none; border: none; border-left: 3px solid var(--primary); border-radius: 0; padding: 0 0 0 8px; margin: 4px 0 4px 12px; }
  .nav-dropdown.open .nav-submenu { display: block; }
}

/* About page */
.about-intro p {
  margin-bottom: 1em;
  color: var(--text-secondary);
}

.about-section {
  margin-top: 48px;
}

.about-section h2 {
  font-size: 24px;
  margin-bottom: 20px;
  color: var(--text);
}

.honor-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
  padding: 0;
  list-style: none;
}

.honor-list li {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: 15px;
  color: var(--text-secondary);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.team-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.team-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.team-info h3 {
  font-size: 20px;
  margin: 0 0 6px;
  color: var(--text);
}

.team-title {
  font-size: 14px;
  color: var(--primary);
  font-weight: 600;
  margin: 0 0 12px;
}

.team-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0 0 18px;
}

.team-consult-btn {
  display: inline-block;
  text-align: center;
  width: 100%;
  padding: 10px 16px;
  font-size: 15px;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.contact-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
}

.contact-list li:last-child { border-bottom: none; }

.about-cta {
  margin-top: 24px;
}

/* WeChat consult popup */
.wechat-popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.wechat-popup.active {
  opacity: 1;
  visibility: visible;
}

.wechat-popup-inner {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  max-width: 360px;
  width: 90%;
  text-align: center;
  position: relative;
  box-shadow: 0 16px 40px rgba(0,0,0,0.15);
}

.wechat-popup-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--text-muted);
  cursor: pointer;
}

.wechat-popup-title {
  margin: 0 0 8px;
  font-size: 20px;
}

.wechat-popup img {
  max-width: 200px;
  border-radius: 8px;
  margin: 12px 0;
}

.wechat-popup-tip {
  font-size: 12px;
  color: var(--text-muted);
  margin: 12px 0 0;
}

