/* China Travel Made Simple — shared styles */
:root {
  --ink: #14202b;
  --ink-soft: #33414d;
  --paper: #faf7f0;
  --paper-2: #f2ebdd;
  --sand: #e5d9c6;
  --red: #b23a2f;
  --red-dark: #8f2b22;
  --teal: #2f6f68;
  --teal-soft: #e3efec;
  --line: rgba(20, 32, 43, 0.14);
  --white: #fffefb;
  --shadow: 0 24px 60px -28px rgba(20, 32, 43, 0.35);
  --radius: 18px;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, "Songti SC", serif;
  --sans: "Inter", "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --max: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
::selection { background: var(--red); color: #fff; }

.wrap { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 240, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-weight: 700; font-size: 20px; letter-spacing: -0.01em; text-decoration: none; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--red); color: #fff; font-family: var(--serif); font-size: 17px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.25);
}
.brand small { display: block; font-family: var(--sans); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 14px; font-weight: 600; text-decoration: none; color: var(--ink-soft); }
.nav-links a:hover { color: var(--red); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 999px; padding: 9px 14px; font-size: 13px; font-weight: 700; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 22px; border-radius: 999px;
  border: 1px solid transparent; text-decoration: none;
  font-size: 14px; font-weight: 700; letter-spacing: .01em;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 12px 24px -14px rgba(178, 58, 47, .8); }
.btn-primary:hover { background: var(--red-dark); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #0b141c; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn-sm { min-height: 42px; padding: 0 16px; font-size: 13px; }
.btn-block { width: 100%; }

/* Hero */
.hero { padding: 74px 0 62px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto -10%; height: 520px;
  background: radial-gradient(60% 60% at 30% 30%, rgba(178,58,47,.09), transparent 70%),
              radial-gradient(50% 50% at 80% 20%, rgba(47,111,104,.10), transparent 70%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.08; letter-spacing: -0.025em; margin: 0; }
h1 { font-size: clamp(42px, 5.4vw, 72px); margin: 18px 0 20px; }
h1 em { color: var(--red); font-style: italic; }
.hero-lead { font-size: 19px; color: var(--ink-soft); max-width: 540px; margin: 0 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-note { margin-top: 18px; font-size: 13px; color: var(--ink-soft); display: flex; gap: 8px; align-items: center; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); display: inline-block; }

.hero-visual { position: relative; }
.hero-photo {
  border-radius: 26px 26px 90px 26px; overflow: hidden; box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,.5); aspect-ratio: 4/4.6;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-card {
  position: absolute; left: -26px; bottom: 28px; width: min(300px, 80%);
  background: var(--white); border: 1px solid var(--line); border-radius: 16px;
  padding: 18px 20px; box-shadow: 0 18px 40px -24px rgba(20,32,43,.45);
}
.hero-card strong { display: block; font-family: var(--serif); font-size: 19px; line-height: 1.2; margin-bottom: 6px; }
.hero-card span { font-size: 12px; color: var(--ink-soft); }
.hero-card .mini-progress { height: 6px; border-radius: 999px; background: var(--paper-2); margin-top: 14px; overflow: hidden; }
.hero-card .mini-progress i { display: block; height: 100%; width: 62%; background: var(--teal); border-radius: inherit; }

/* Trust bar */
.trust-bar { border-block: 1px solid var(--line); background: rgba(255,254,251,.55); }
.trust-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.trust-item { padding: 18px 22px; border-left: 1px solid var(--line); }
.trust-item:first-child { border-left: 0; padding-left: 0; }
.trust-item b { display: block; font-family: var(--serif); font-size: 16px; }
.trust-item span { font-size: 12px; color: var(--ink-soft); }

/* Sections */
section { padding: 76px 0; }
.section-tight { padding: 54px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(30px, 3.4vw, 46px); max-width: 620px; }
.section-head p { max-width: 420px; color: var(--ink-soft); margin: 0; font-size: 15px; }
.kicker { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 800; color: var(--teal); margin-bottom: 12px; }

/* Cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; position: relative; transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 22px 50px -34px rgba(20,32,43,.4); }
.card .num { font-family: var(--serif); font-size: 13px; color: var(--red); letter-spacing: .08em; }
.card h3 { font-size: 23px; margin: 10px 0 10px; }
.card p { margin: 0; color: var(--ink-soft); font-size: 14px; }
.card .arrow { display: inline-flex; margin-top: 18px; font-size: 13px; font-weight: 700; color: var(--red); text-decoration: none; }
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--teal); background: var(--teal-soft); border-radius: 999px; padding: 5px 10px; }
.tag.red { color: var(--red); background: rgba(178,58,47,.08); }

/* Problem cards */
.problem-card { border-top: 3px solid var(--red); }
.problem-card:nth-child(2) { border-top-color: var(--teal); }
.problem-card:nth-child(3) { border-top-color: #b8873b; }
.problem-card:nth-child(4) { border-top-color: var(--ink); }

/* Route */
.route-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.route-stop { padding: 24px; border-left: 1px solid var(--line); position: relative; }
.route-stop:first-child { border-left: 0; }
.route-stop .day { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; color: var(--red); }
.route-stop h4 { font-family: var(--serif); font-size: 24px; margin: 8px 0 4px; }
.route-stop p { margin: 0; font-size: 13px; color: var(--ink-soft); }
.route-stop::after { content: "→"; position: absolute; right: -12px; top: 50%; transform: translateY(-50%); z-index: 2; background: var(--paper); width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); font-size: 12px; }
.route-stop:last-child::after { display: none; }

/* Product */
.product-band { background: var(--ink); color: #fff; border-radius: 28px; padding: 44px; display: grid; grid-template-columns: .85fr 1.15fr; gap: 42px; align-items: center; position: relative; overflow: hidden; }
.product-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 300px; height: 300px; border-radius: 50%; background: rgba(178,58,47,.25); filter: blur(20px); }
.product-cover { border-radius: 14px; overflow: hidden; box-shadow: 0 30px 60px -24px rgba(0,0,0,.55); transform: rotate(-2deg); border: 6px solid rgba(255,255,255,.08); }
.product-band h2 { font-size: clamp(30px, 3.4vw, 44px); margin-bottom: 12px; }
.product-band p { color: rgba(255,255,255,.76); font-size: 15px; }
.product-price { display: flex; align-items: baseline; gap: 10px; margin: 18px 0 22px; }
.product-price b { font-family: var(--serif); font-size: 42px; }
.product-price span { color: rgba(255,255,255,.6); font-size: 13px; }
.product-band .btn-primary { background: #fff; color: var(--ink); }
.product-band .btn-primary:hover { background: var(--paper-2); }
.product-includes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; margin: 20px 0 26px; padding: 0; list-style: none; }
.product-includes li { font-size: 13px; color: rgba(255,255,255,.86); padding-left: 20px; position: relative; }
.product-includes li::before { content: "✓"; position: absolute; left: 0; color: #9ed0c8; font-weight: 700; }

/* Checklist */
.checklist-shell { display: grid; grid-template-columns: 1.35fr .65fr; gap: 34px; align-items: start; }
.progress-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: sticky; top: 96px; }
.progress-track { height: 10px; border-radius: 999px; background: var(--paper-2); overflow: hidden; margin: 14px 0 8px; }
.progress-track i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--teal), #4b948b); border-radius: inherit; transition: width .25s ease; }
.progress-meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-soft); }
.check-group { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 16px; }
.check-group h3 { font-size: 22px; margin-bottom: 4px; }
.check-group > p { margin: 0 0 12px; color: var(--ink-soft); font-size: 13px; }
.check-item { display: flex; gap: 12px; align-items: flex-start; padding: 11px 0; border-top: 1px dashed var(--line); cursor: pointer; }
.check-item:first-of-type { border-top: 0; }
.check-item input { width: 20px; height: 20px; accent-color: var(--teal); margin-top: 3px; flex: 0 0 auto; }
.check-item span { font-size: 14px; }
.check-item small { display: block; color: var(--ink-soft); font-size: 12px; margin-top: 2px; }
.check-item input:checked + span { color: var(--ink-soft); text-decoration: line-through; text-decoration-color: rgba(20,32,43,.3); }

/* Step list */
.steps { counter-reset: step; display: grid; gap: 18px; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px 24px 76px; position: relative; }
.step::before { counter-increment: step; content: counter(step); position: absolute; left: 24px; top: 24px; width: 34px; height: 34px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-family: var(--serif); font-size: 16px; }
.step h3 { font-size: 21px; margin-bottom: 6px; }
.step p { margin: 0 0 8px; color: var(--ink-soft); font-size: 14px; }
.step ul { margin: 8px 0 0; padding-left: 18px; color: var(--ink-soft); font-size: 14px; }
.step li { margin: 4px 0; }

/* Callouts */
.callout { border: 1px solid var(--line); border-left: 4px solid var(--teal); background: var(--teal-soft); border-radius: 12px; padding: 16px 18px; font-size: 14px; color: var(--ink-soft); margin: 18px 0; }
.callout strong { color: var(--ink); }
.callout.warn { border-left-color: #b8873b; background: #f8efdf; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); background: var(--paper); }
tr:last-child td { border-bottom: 0; }
td strong { font-weight: 700; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; font-weight: 700; font-size: 15px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--red); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 10px 0 0; color: var(--ink-soft); font-size: 14px; max-width: 760px; }

/* Forms */
.email-band { background: var(--paper-2); border-block: 1px solid var(--line); }
.email-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.email-grid h2 { font-size: clamp(28px, 3.2vw, 42px); }
.email-form { display: flex; gap: 10px; flex-wrap: wrap; }
.email-form input[type=email] { flex: 1 1 240px; min-height: 50px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); padding: 0 18px; font-size: 14px; }
.form-note { font-size: 12px; color: var(--ink-soft); margin-top: 10px; }
.form-success { display: none; background: var(--teal-soft); border: 1px solid rgba(47,111,104,.3); color: var(--ink); border-radius: 12px; padding: 14px 16px; font-size: 14px; margin-top: 12px; }
.form-success.show { display: block; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255,255,255,.72); padding: 54px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, .7fr); gap: 36px; }
.footer-brand { color: #fff; font-family: var(--serif); font-size: 22px; margin-bottom: 10px; }
.footer-brand span { color: #e7a79f; }
.site-footer p { font-size: 13px; max-width: 340px; }
.footer-col h4 { color: #fff; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 12px; }
.footer-col a { display: block; color: rgba(255,255,255,.68); text-decoration: none; font-size: 13px; margin: 8px 0; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 34px; padding-top: 18px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 12px; }
.disclaimer { font-size: 11px; color: rgba(255,255,255,.5); margin-top: 14px; max-width: 760px; }

/* Page hero (inner) */
.page-hero { padding: 58px 0 28px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(36px, 4.6vw, 58px); margin: 10px 0 10px; }
.page-hero p { max-width: 680px; color: var(--ink-soft); font-size: 17px; margin: 0; }
.breadcrumb { font-size: 12px; color: var(--ink-soft); margin-bottom: 8px; }
.breadcrumb a { text-decoration: none; }
.prose { max-width: 780px; }
.prose h2 { font-size: 30px; margin: 40px 0 12px; }
.prose h3 { font-size: 21px; margin: 26px 0 8px; }
.prose p, .prose li { color: var(--ink-soft); font-size: 15px; }
.prose ul { padding-left: 20px; }
.prose a { color: var(--red); font-weight: 600; }
.meta { font-size: 12px; color: var(--ink-soft); margin-bottom: 26px; }

/* Itinerary */
.day-card { display: grid; grid-template-columns: 110px 1fr; gap: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 14px; }
.day-num { font-family: var(--serif); font-size: 34px; color: var(--red); line-height: 1; }
.day-num small { display: block; font-family: var(--sans); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); margin-top: 6px; }
.day-card h3 { font-size: 23px; margin-bottom: 4px; }
.day-card p { margin: 0; color: var(--ink-soft); font-size: 14px; }
.day-card ul { margin: 10px 0 0; padding-left: 18px; color: var(--ink-soft); font-size: 14px; }
.day-meta { font-size: 12px; color: var(--teal); font-weight: 700; margin-top: 8px; }

/* Pricing */
.price-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: start; }
.price-card { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 32px; }
.price-card.featured { border: 2px solid var(--red); box-shadow: var(--shadow); }
.price-card h2 { font-size: 30px; margin: 8px 0 4px; }
.price-card .price { font-family: var(--serif); font-size: 54px; line-height: 1; margin: 16px 0 2px; }
.price-card .price small { font-family: var(--sans); font-size: 12px; color: var(--ink-soft); letter-spacing: .04em; }
.price-card ul { list-style: none; padding: 0; margin: 18px 0 22px; }
.price-card li { font-size: 14px; color: var(--ink-soft); padding: 6px 0 6px 22px; position: relative; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 700; }
.service-list { display: grid; gap: 14px; }
.service { display: flex; justify-content: space-between; gap: 20px; align-items: start; border-bottom: 1px solid var(--line); padding: 16px 0; }
.service:last-child { border-bottom: 0; }
.service h4 { font-family: var(--serif); font-size: 20px; margin: 0 0 4px; }
.service p { margin: 0; font-size: 13px; color: var(--ink-soft); max-width: 480px; }
.service .amount { font-family: var(--serif); font-size: 24px; white-space: nowrap; }

/* Mobile */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-photo { aspect-ratio: 4/3.4; max-height: 520px; }
  .hero-card { left: 16px; bottom: 16px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .route-strip { grid-template-columns: 1fr 1fr; }
  .route-stop:nth-child(3) { border-left: 0; }
  .route-stop::after { display: none; }
  .product-band { grid-template-columns: 1fr; padding: 30px; }
  .checklist-shell { grid-template-columns: 1fr; }
  .progress-box { position: static; }
  .email-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .trust-inner { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(3) { border-left: 0; }
  .section-head { flex-direction: column; align-items: start; gap: 12px; }
}

@media (max-width: 700px) {
  body { font-size: 16px; }
  .wrap { width: min(var(--max), calc(100% - 28px)); }
  .nav { height: 68px; }
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 14px 20px; flex-direction: column; align-items: stretch; gap: 4px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 4px; border-bottom: 1px solid var(--line); }
  .nav-cta .btn { display: none; }
  .menu-btn { display: inline-flex; }
  .hero { padding: 44px 0 38px; }
  h1 { font-size: 44px; }
  .hero-lead { font-size: 17px; }
  .hero-actions .btn { width: 100%; }
  .hero-card { width: calc(100% - 32px); left: 16px; }
  .grid-4 { grid-template-columns: 1fr; }
  .route-strip { grid-template-columns: 1fr; }
  .route-stop { border-left: 0; border-top: 1px solid var(--line); }
  .route-stop:first-child { border-top: 0; }
  .product-includes { grid-template-columns: 1fr; }
  .day-card { grid-template-columns: 1fr; gap: 10px; }
  .day-num { font-size: 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
  .footer-bottom { flex-direction: column; }
  .service { flex-direction: column; gap: 6px; }
  section { padding: 56px 0; }
  .section-tight { padding: 40px 0; }
  .page-hero { padding-top: 40px; }
  .btn { min-height: 48px; }
}

@media print {
  .site-header, .site-footer, .email-band, .progress-box, .btn, .menu-btn { display: none !important; }
  body { background: #fff; font-size: 12px; }
  .check-group { break-inside: avoid; border: 0; border-bottom: 1px solid #ddd; border-radius: 0; padding: 10px 0; }
  .check-item { padding: 6px 0; }
}
