/* ========================================================
   博爾頓商務顧問有限公司 Bolton Business Consultant Ltd.
   Global Stylesheet
   ======================================================== */

:root {
  /* Palette sampled directly from the company crest (navy / gold / burgundy) */
  --navy: #0c2846;
  --navy-dark: #071b30;
  --navy-light: #1c4573;
  --gold: #c99a3e;
  --gold-bright: #eab848;
  --gold-dark: #96702a;
  --gold-light: #f3e2b8;
  --maroon: #7a0e18;
  --maroon-dark: #4f0810;
  --maroon-light: #f5dee0;
  --bg: #f6f8fb;
  --bg-alt: #eef1f6;
  --white: #ffffff;
  --text: #2b3648;
  --text-light: #64748b;
  --border: #e3e8f0;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(12, 40, 70, 0.08);
  --shadow-sm: 0 4px 14px rgba(12, 40, 70, 0.06);
  --container: 1160px;
  --font: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  margin: 0 0 16px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--navy-dark);
}

p { margin: 0 0 16px; color: var(--text); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 80px 0; }

@media (max-width: 768px) {
  section { padding: 56px 0; }
}

.section-alt { background: var(--bg-alt); }
.section-navy {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #fff;
}
.section-navy h1, .section-navy h2, .section-navy h3 { color: #fff; }
.section-navy p { color: rgba(255,255,255,0.85); }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-head {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-head h2 { font-size: 32px; }
.section-head p { color: var(--text-light); font-size: 17px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold-dark) 100%);
  color: #fff;
  box-shadow: 0 8px 20px rgba(201, 154, 62, 0.35);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(201, 154, 62, 0.45); }
.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.6);
  color: #fff;
}
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-navy-outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-navy-outline:hover { background: var(--navy); color: #fff; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 16px;
}
.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.logo .logo-cn {
  font-size: 21px;
  font-weight: 800;
  color: var(--navy-dark);
  letter-spacing: 1px;
}
.logo .logo-en {
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 1.5px;
  font-weight: 600;
  text-transform: uppercase;
}
.logo-img {
  display: block;
  height: 48px;
  width: auto;
}
@media (max-width: 480px) {
  .logo-img { height: 38px; }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 26px;
  height: 2.5px;
  background: var(--navy-dark);
  border-radius: 2px;
  transition: 0.3s;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: nowrap;
}
.main-nav a {
  display: block;
  padding: 9px 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  border-radius: 8px;
  transition: 0.2s;
  white-space: nowrap;
}
.main-nav a:hover { color: var(--navy); background: var(--bg-alt); }
.main-nav a.active { color: var(--navy); background: var(--gold-light); }
.main-nav .nav-cta {
  background: var(--navy);
  color: #fff !important;
  margin-left: 6px;
}
.main-nav .nav-cta:hover { background: var(--navy-light); }

@media (max-width: 1340px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: 78px;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    padding: 20px 24px 40px;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .main-nav a { padding: 16px; font-size: 16px; border-bottom: 1px solid var(--border); border-radius: 0; }
  .main-nav .nav-cta { margin: 12px 0 0; text-align: center; border-radius: 8px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #fff;
  padding: 90px 0 100px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(234,184,72,0.28) 0%, transparent 70%);
  top: -180px;
  right: -140px;
}
.hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(122,14,24,0.45) 0%, transparent 70%);
  bottom: -220px;
  left: -140px;
}
.hero .container { position: relative; z-index: 1; }
.hero-inner { max-width: 780px; }
.hero h1 {
  color: #fff;
  font-size: 42px;
  margin-bottom: 18px;
}
.hero .lead {
  font-size: 19px;
  color: rgba(255,255,255,0.88);
  margin-bottom: 30px;
  max-width: 620px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.breadcrumb {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}
.breadcrumb a { color: rgba(255,255,255,0.85); }
.breadcrumb a:hover { color: var(--gold-light); }

.hero-sm { padding: 64px 0 74px; }
.hero-sm h1 { font-size: 34px; }

@media (max-width: 640px) {
  .hero h1, .hero-sm h1 { font-size: 28px; }
  .hero .lead { font-size: 16px; }
}

/* ---------- Cards ---------- */
.grid {
  display: grid;
  gap: 26px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: 0.25s ease;
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card .icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--gold-light), #fff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
  color: var(--gold);
}
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card .en-title {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  text-transform: uppercase;
}
.card p:last-child { margin-bottom: 0; }
.card-footer-link {
  display: inline-block;
  margin-top: 14px;
  font-weight: 700;
  font-size: 14px;
  color: var(--navy);
}

.badge {
  display: inline-block;
  background: var(--gold-light);
  color: var(--gold-dark);
  font-size: 12.5px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

/* ---------- Lists ---------- */
.check-list li, .content-block ul li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
}
.check-list li::before, .content-block ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
  font-weight: 800;
}

.content-block h2 { font-size: 27px; margin-top: 4px; }
.content-block h3 { font-size: 20px; margin-top: 28px; }
.content-block { max-width: 860px; }
.content-block.wide { max-width: 100%; }

/* ---------- Steps ---------- */
.steps {
  counter-reset: step;
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  position: relative;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  margin-bottom: 14px;
}
.step p { margin: 0; font-size: 14.5px; color: var(--text-light); }
.step h4 { margin-bottom: 6px; font-size: 16px; }

/* ---------- Table ---------- */
.table-wrap { overflow-x: auto; }
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
th, td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 14.5px;
}
th { background: var(--navy); color: #fff; font-weight: 700; }
tr:last-child td { border-bottom: none; }

/* ---------- Notice / Callout ---------- */
.callout {
  background: var(--maroon-light);
  border: 1px solid #e8bfc4;
  border-left: 4px solid var(--maroon);
  border-radius: 10px;
  padding: 22px 26px;
  margin: 28px 0;
}
.callout h4 { margin-bottom: 8px; font-size: 16px; color: var(--maroon-dark); }
.callout p:last-child { margin-bottom: 0; }
.callout.info {
  background: #eef4ff;
  border-color: #c9dcff;
  border-left-color: var(--navy-light);
}
.callout.info h4 { color: var(--navy); }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: #fff;
  border-radius: 20px;
  padding: 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle 260px at 92% -10%, rgba(234,184,72,0.35), transparent 70%),
    radial-gradient(circle 220px at 3% 115%, rgba(122,14,24,0.35), transparent 70%);
}
.cta-banner * { position: relative; z-index: 1; }
.cta-banner h2 { color: #fff; font-size: 28px; }
.cta-banner p { color: rgba(255,255,255,0.85); max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-banner .hero-actions { justify-content: center; }
.cta-banner .btn-gold,
.hero .btn-gold {
  box-shadow: 0 10px 22px rgba(0,0,0,0.3);
}
.cta-banner .btn-gold:hover,
.hero .btn-gold:hover {
  box-shadow: 0 14px 28px rgba(0,0,0,0.35);
}
@media (max-width: 640px) { .cta-banner { padding: 40px 24px; } }

/* ---------- FAQ accordion ---------- */
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 14px;
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 56px 20px 24px;
  font-weight: 700;
  font-size: 15.5px;
  color: var(--navy-dark);
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--gold);
  font-weight: 400;
  transition: 0.25s;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item .faq-answer {
  padding: 0 24px 22px;
  color: var(--text-light);
  font-size: 14.5px;
}
.faq-item .faq-answer p { margin-bottom: 10px; }
.faq-item .faq-answer p:last-child { margin-bottom: 0; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.info-row {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.info-row:last-child { border-bottom: none; }
.info-row .info-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
}
.info-row h4 { margin: 0 0 4px; font-size: 15px; }
.info-row p { margin: 0; font-size: 14.5px; color: var(--text-light); }

.form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.form-row { margin-bottom: 20px; }
.form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 560px) { .form-row.two { grid-template-columns: 1fr; } }
label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--navy-dark);
}
input, select, textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: var(--font);
  font-size: 14.5px;
  background: var(--bg);
  transition: 0.2s;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--navy);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(13,43,78,0.08);
}
textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 13px; color: var(--text-light); margin-top: 14px; text-align: center; }
.form-success {
  display: none;
  background: #eafaf1;
  border: 1px solid #b7ebc6;
  color: #1e7a3d;
  padding: 16px 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-size: 14.5px;
  font-weight: 600;
}
.form-success.show { display: block; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.75);
  padding-top: 64px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 18px;
}
.footer-grid .logo-cn { color: #fff; }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-logo-img {
  height: 46px;
  width: auto;
  flex-shrink: 0;
}
.site-footer p { color: rgba(255,255,255,0.6); font-size: 14px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.65); font-size: 14px; transition: 0.2s; }
.footer-links a:hover { color: var(--gold-light); }
.footer-bottom {
  padding: 22px 0 30px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}
.footer-disclaimer {
  font-size: 12.5px;
  color: rgba(255,255,255,0.45);
  line-height: 1.9;
  margin-top: 14px;
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
