/* China Visa US — solid colors, no gradients */
:root {
  --ink: #1b2433;
  --ink-soft: #3c4657;
  --muted: #5d6779;
  --red: #b3271e;
  --red-dark: #8e1e17;
  --paper: #faf8f3;
  --card: #ffffff;
  --line: #e4ddd0;
  --gold: #9a6b1f;
  --radius: 10px;
  --shadow: 0 2px 10px rgba(27, 36, 51, 0.08);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 16px;
}
section { scroll-margin-top: 84px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 820px; }
h1, h2, h3, h4 { line-height: 1.3; margin: 0 0 0.6em; color: var(--ink); }
h1 { font-size: 2.4rem; letter-spacing: -0.01em; }
h2 { font-size: 1.9rem; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
a { color: var(--red); }
img { max-width: 100%; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: 10px 16px; z-index: 200;
}
.skip-link:focus { left: 8px; top: 8px; color: #fff; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--ink);
  border-bottom: 3px solid var(--red);
}
.header-inner {
  display: flex; align-items: center; gap: 20px;
  padding-top: 12px; padding-bottom: 12px;
}
.brand {
  color: #fff; font-weight: 800; font-size: 1.25rem;
  text-decoration: none; white-space: nowrap; letter-spacing: 0.01em;
}
.main-nav { display: flex; gap: 4px; margin-left: 8px; }
.main-nav a {
  color: #d7dce5; text-decoration: none; font-size: 0.95rem;
  padding: 8px 12px; border-radius: 6px; white-space: nowrap;
}
.main-nav a:hover { background: rgba(255,255,255,0.1); color: #fff; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.lang-switch { display: flex; border: 1px solid rgba(255,255,255,0.35); border-radius: 6px; overflow: hidden; }
.lang-switch button {
  background: transparent; border: 0; color: #d7dce5;
  padding: 7px 12px; font-size: 0.85rem; cursor: pointer; font-family: var(--font);
}
.lang-switch button[aria-pressed="true"] { background: var(--red); color: #fff; font-weight: 700; }
.menu-toggle {
  display: none; background: transparent; border: 1px solid rgba(255,255,255,0.35);
  color: #fff; font-size: 1.2rem; border-radius: 6px; padding: 4px 10px; cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-block; text-decoration: none; cursor: pointer;
  font-family: var(--font); font-weight: 700; font-size: 1rem;
  padding: 13px 26px; border-radius: 8px; border: 2px solid transparent;
  transition: background 0.15s ease, color 0.15s ease;
  text-align: center;
}
.btn-primary { background: var(--red); color: #fff; border-color: var(--red); }
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-sm { padding: 9px 18px; font-size: 0.9rem; white-space: nowrap; }
.btn-text { background: none; border: 0; color: var(--red); padding: 13px 8px; font-weight: 700; }
.btn-text:hover { text-decoration: underline; }

/* Hero */
.hero { background: var(--ink); color: #f2f0ea; padding: 72px 0 64px; }
.hero h1 { color: #fff; max-width: 16em; }
.hero .lede { font-size: 1.15rem; color: #cfd5df; max-width: 44em; }
.hero-cta { display: flex; gap: 14px; margin: 26px 0 34px; flex-wrap: wrap; }
.hero .btn-outline { color: #fff; border-color: rgba(255,255,255,0.6); }
.hero .btn-outline:hover { background: #fff; color: var(--ink); border-color: #fff; }
.trust-highlights {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 12px; flex-wrap: wrap;
}
.trust-highlights li {
  border: 1px solid rgba(255,255,255,0.25); border-radius: 999px;
  padding: 8px 18px; font-size: 0.9rem; color: #e8ebf1;
}

/* Sections */
.section { padding: 64px 0; }
.section-alt { background: #f1ece1; }
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.8rem;
  color: var(--red); font-weight: 800; margin: 0 0 8px;
}
.section-intro { color: var(--muted); max-width: 46em; font-size: 1.05rem; }
.sub-h { margin-top: 2.2em; font-size: 1.15rem; }

/* How it works */
.steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.steps li {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 20px; box-shadow: var(--shadow); position: relative;
}
.steps li::before {
  counter-increment: step; content: counter(step);
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--red); color: #fff; font-weight: 800; margin-bottom: 12px;
}
.steps h3 { font-size: 1.05rem; margin-bottom: 0.4em; }
.steps p { font-size: 0.93rem; color: var(--muted); margin: 0; }
.steps a { font-weight: 700; }

/* Estimator */
.estimator {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 28px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: 12px; padding: 32px; box-shadow: var(--shadow);
}
.field-label { display: block; font-weight: 700; margin: 0 0 8px; }
.select {
  width: 100%; padding: 12px 14px; font-size: 1rem; font-family: var(--font);
  border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink);
  margin-bottom: 22px;
}
.radios { display: grid; gap: 10px; }
.radios label {
  display: flex; gap: 10px; align-items: flex-start;
  border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px;
  cursor: pointer; font-size: 0.95rem;
}
.radios label:has(input:checked) { border-color: var(--red); background: #fdf3f2; }
.radios input { margin-top: 4px; accent-color: var(--red); }
.est-result h3 { margin-top: 0; }
.est-lines { margin: 0 0 16px; }
.est-line {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 0.95rem;
}
.est-line dt { font-weight: 700; }
.est-line dd { margin: 0; text-align: right; color: var(--muted); max-width: 62%; }
.est-line dd strong { color: var(--ink); font-size: 1.1rem; margin-left: 8px; }
.est-total { border-bottom: 0; }
.est-total dt small { display: block; font-weight: 400; color: var(--muted); font-size: 0.8rem; }
.est-total dd strong { font-size: 1.5rem; color: var(--red); }
.est-note { font-size: 0.9rem; color: var(--muted); }
.est-note a { font-weight: 700; }

/* Check lists */
.check-list { list-style: none; margin: 0 0 1.2em; padding: 0; }
.check-list li { padding-left: 28px; position: relative; margin-bottom: 8px; font-size: 0.96rem; }
.check-list li::before {
  content: "✓"; position: absolute; left: 2px; top: 0;
  color: var(--red); font-weight: 800;
}

/* Visa grid */
.visa-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 24px;
}
.visa-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 20px; box-shadow: var(--shadow);
}
.visa-card h3 { font-size: 1.05rem; margin: 10px 0 6px; }
.visa-code {
  display: inline-block; background: var(--ink); color: #fff;
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.06em;
  padding: 3px 10px; border-radius: 4px;
}
.visa-card .visa-desc { font-size: 0.9rem; color: var(--muted); margin-bottom: 10px; }
.visa-card ul { margin: 0; padding: 0; list-style: none; font-size: 0.9rem; }
.visa-card ul li { padding-left: 20px; position: relative; margin-bottom: 6px; }
.visa-card ul li::before { content: "–"; position: absolute; left: 4px; color: var(--red); font-weight: 700; }
.special-cases, .invite-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.special-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow);
}
.special-card h3, .special-card h4 { margin-top: 0; }
.special-card h4 { font-size: 1.05rem; }
.source-note { margin-top: 28px; font-size: 0.92rem; color: var(--muted); }

/* Pricing */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; align-items: stretch; }
.tier {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 30px 26px; box-shadow: var(--shadow); position: relative;
  display: flex; flex-direction: column;
}
.tier.popular { border: 2px solid var(--red); }
.tier .badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--red); color: #fff; font-size: 0.75rem; font-weight: 800;
  letter-spacing: 0.08em; padding: 4px 14px; border-radius: 999px; white-space: nowrap;
}
.tier h3 { margin-bottom: 2px; }
.tier .time { color: var(--muted); font-size: 0.9rem; margin-bottom: 12px; }
.tier .price { font-size: 2.4rem; font-weight: 800; color: var(--ink); }
.tier .per { color: var(--muted); font-size: 0.88rem; margin-bottom: 18px; }
.tier ul { list-style: none; margin: 0 0 24px; padding: 0; font-size: 0.93rem; flex: 1; }
.tier ul li { padding-left: 26px; position: relative; margin-bottom: 9px; }
.tier ul li::before { content: "✓"; position: absolute; left: 2px; color: var(--red); font-weight: 800; }
.ship-note { margin-top: 30px; font-size: 1.02rem; }
.fee-note { color: var(--muted); }
.no-hidden { font-weight: 800; color: var(--red); font-size: 1.05rem; }

/* Cards */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 28px; }
.info-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 22px; box-shadow: var(--shadow);
}
.info-card .tag {
  display: inline-block; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em;
  color: var(--red); border: 1px solid var(--red); border-radius: 4px;
  padding: 2px 8px; margin-bottom: 10px; text-transform: uppercase;
}
.info-card h3 { font-size: 1.08rem; }
.info-card p { font-size: 0.93rem; color: var(--muted); margin-bottom: 0.6em; }
.info-card p:last-child { margin-bottom: 0; }
.bundle {
  margin-top: 24px; background: var(--ink); color: #eef0f4;
  border-radius: 12px; padding: 28px 30px;
}
.bundle h3 { color: #fff; margin-bottom: 6px; }
.bundle p { margin: 0; color: #c9cfd9; }

/* FAQ */
.accordion { margin-top: 24px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; background: none; border: 0; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 4px; font-family: var(--font); font-size: 1.02rem; font-weight: 700;
  color: var(--ink); text-align: left;
}
.faq-q .icon { font-size: 1.4rem; color: var(--red); font-weight: 400; flex-shrink: 0; }
.faq-a { display: none; padding: 0 4px 22px; color: var(--ink-soft); font-size: 0.96rem; }
.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-q .icon { transform: rotate(45deg); }
.faq-a ol, .faq-a ul { margin: 0.6em 0; padding-left: 1.4em; }
.faq-a li { margin-bottom: 0.5em; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.contact-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 30px; box-shadow: var(--shadow);
}
.contact-label {
  text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.75rem;
  color: var(--muted); font-weight: 800; margin: 18px 0 4px;
}
.contact-big { font-size: 1.5rem; font-weight: 800; color: var(--ink); text-decoration: none; }
.contact-big:hover { color: var(--red); }
.lang-note { color: var(--muted); font-size: 0.92rem; margin-top: 14px; }
.mailing-addr { font-style: normal; font-size: 1.1rem; line-height: 1.7; margin: 0 0 12px; }
.mailing-addr strong { font-size: 1.2rem; }
.tracked-note { font-size: 0.92rem; color: var(--muted); }
.contact-btns { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 14px; }
.copied-msg { color: var(--red); font-weight: 700; margin-top: 10px; }

/* Footer */
.site-footer { background: var(--ink); color: #c9cfd9; padding: 48px 0 32px; }
.footer-top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: 28px; }
.footer-brand strong { color: #fff; font-size: 1.15rem; }
.footer-brand p { margin: 6px 0; font-size: 0.92rem; }
.footer-brand a { color: #e8ebf1; }
.footer-nav { display: flex; gap: 4px 18px; flex-wrap: wrap; align-content: flex-start; }
.footer-nav a { color: #c9cfd9; text-decoration: none; font-size: 0.92rem; }
.footer-nav a:hover { color: #fff; text-decoration: underline; }
.disclaimers { border-top: 1px solid rgba(255,255,255,0.15); padding-top: 20px; }
.disclaimers p { font-size: 0.82rem; color: #9aa3b2; margin-bottom: 8px; }
.copyright { font-size: 0.85rem; color: #9aa3b2; margin: 16px 0 0; }

/* Responsive */
@media (max-width: 960px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .visa-grid { grid-template-columns: repeat(2, 1fr); }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .tiers { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
  .cards-3 { grid-template-columns: 1fr; }
  .estimator { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .special-cases, .invite-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.55rem; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--ink); flex-direction: column; padding: 8px 16px 16px;
    border-bottom: 3px solid var(--red); margin: 0;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 8px; border-top: 1px solid rgba(255,255,255,0.1); }
  .menu-toggle { display: block; }
  .site-header { position: sticky; }
  .header-inner { position: relative; }
  .btn-sm { display: none; }
  .visa-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .cards-4 { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
  .hero { padding: 52px 0 44px; }
}
