:root {
  --ink: #17212b;
  --muted: #596672;
  --paper: #f6f7f4;
  --white: #ffffff;
  --line: #dfe3df;
  --coral: #df5d43;
  --coral-dark: #b93f2c;
  --teal: #176f6a;
  --blue: #315f8a;
  --yellow: #f2bd58;
  --night: #12202b;
  --success: #19704b;
  --shadow: 0 16px 38px rgba(18, 32, 43, .11);
  --radius: 8px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, p { overflow-wrap: anywhere; }
:focus-visible { outline: 3px solid rgba(49, 95, 138, .36); outline-offset: 3px; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; padding: 10px 14px; }
.skip-link:focus { left: 8px; }
.wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(760px, 100%); }
.muted { color: var(--muted); }
.note { color: var(--muted); font-size: 13px; }
.small { font-size: 13px; }
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(223, 227, 223, .95); background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); }
.nav { display: flex; min-height: 72px; align-items: center; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 23px; font-weight: 850; white-space: nowrap; }
.mark { position: relative; width: 31px; height: 31px; border-radius: 50%; background: var(--night); }
.mark::after { content: ""; position: absolute; right: 4px; bottom: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--yellow); }
.navlinks { display: flex; align-items: center; gap: 19px; margin-left: auto; font-size: 14px; font-weight: 650; }
.navlinks a:hover, .navlinks a[aria-current="page"] { color: var(--coral-dark); }
.mobile-toggle { display: none; margin-left: auto; }
.btn { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; border: 1px solid #cfd5d2; border-radius: 6px; background: #fff; color: var(--ink); font-weight: 760; cursor: pointer; }
.btn:hover { border-color: #9aa5a0; transform: translateY(-1px); }
.btn.primary { border-color: var(--night); background: var(--night); color: #fff; }
.btn.warm { border-color: var(--coral); background: var(--coral); color: #fff; }
.btn.teal { border-color: var(--teal); background: var(--teal); color: #fff; }
.btn.ghost-dark { border-color: rgba(255, 255, 255, .7); background: rgba(18, 32, 43, .28); color: #fff; }
.btn.small-btn { min-height: 38px; padding: 7px 12px; font-size: 13px; }
.text-link { color: var(--coral-dark); font-weight: 760; text-decoration: underline; text-underline-offset: 3px; }
.hero { position: relative; display: flex; min-height: min(760px, calc(100vh - 96px)); align-items: flex-end; overflow: hidden; background-color: #182630; background-image: url('/assets/img/travel/shanghai-arrival.jpg'); background-position: center; background-size: cover; color: #fff; }
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(9, 18, 24, .58); }
.hero-inner { position: relative; z-index: 1; width: 100%; padding: 84px 0 72px; }
.hero-copy { max-width: 820px; }
.eyebrow, .kicker { font-size: 12px; font-weight: 850; letter-spacing: 0; text-transform: uppercase; }
.eyebrow { color: #fff; opacity: .85; }
.kicker { color: var(--coral-dark); }
.hero h1 { max-width: 780px; margin: 13px 0 18px; font-size: 72px; line-height: 1.02; letter-spacing: 0; }
.hero p { max-width: 760px; margin: 0; color: #f0f4f5; font-size: 20px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 34px; color: #fff; font-size: 14px; font-weight: 650; }
.hero-proof span::before { content: "\2713"; margin-right: 7px; color: var(--yellow); font-weight: 900; }
.service-band { border-bottom: 1px solid var(--line); background: #fff; }
.service-band-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.service-band a { min-height: 92px; padding: 20px 18px; border-right: 1px solid var(--line); }
.service-band a:first-child { border-left: 1px solid var(--line); }
.service-band strong { display: block; font-size: 15px; }
.service-band span { color: var(--muted); font-size: 12px; }
.section { padding: 76px 0; }
.section.compact { padding: 52px 0; }
.section.alt { background: #eef2ef; }
.section.white { background: #fff; }
.section.dark { background: var(--night); color: #fff; }
.section h2 { max-width: 850px; margin: 8px 0 14px; font-size: 48px; line-height: 1.08; letter-spacing: 0; }
.section-lead { max-width: 760px; margin: 0; color: var(--muted); font-size: 18px; }
.section.dark .section-lead { color: #cbd6dd; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 30px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
.card { min-width: 0; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 7px 22px rgba(18, 32, 43, .045); }
.card h3 { margin: 5px 0 8px; font-size: 21px; line-height: 1.25; letter-spacing: 0; }
.card p { margin: 0; color: var(--muted); }
.card .btn { margin-top: 18px; }
.card-accent { border-top: 4px solid var(--coral); }
.card-teal { border-top: 4px solid var(--teal); }
.card-blue { border-top: 4px solid var(--blue); }
.card-yellow { border-top: 4px solid var(--yellow); }
.card-photo { padding: 0; overflow: hidden; }
.card-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card-photo .card-body { padding: 22px; }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.split-media { min-height: 440px; border-radius: var(--radius); background-position: center; background-size: cover; box-shadow: var(--shadow); }
.feature-list { display: grid; gap: 0; margin-top: 22px; border-top: 1px solid var(--line); }
.feature-row { display: grid; grid-template-columns: 130px 1fr; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.feature-row strong { font-size: 14px; }
.feature-row span { color: var(--muted); }
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 30px; border: 1px solid var(--line); background: #fff; }
.step { min-height: 160px; padding: 22px; border-right: 1px solid var(--line); }
.step:last-child { border-right: 0; }
.step em { display: block; color: var(--coral-dark); font-size: 12px; font-style: normal; font-weight: 900; }
.step strong { display: block; margin: 18px 0 4px; font-size: 18px; }
.step span { color: var(--muted); font-size: 14px; }
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 30px; }
.price-card { position: relative; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.price-card.featured { border: 2px solid var(--coral); }
.price { display: flex; align-items: baseline; gap: 5px; margin: 10px 0 18px; }
.price strong { font-size: 43px; line-height: 1; }
.price span { color: var(--muted); }
.price-card ul, .check-list { margin: 0; padding: 0; list-style: none; }
.price-card li, .check-list li { position: relative; padding: 8px 0 8px 24px; border-bottom: 1px solid #edf0ed; }
.price-card li::before, .check-list li::before { content: "\2713"; position: absolute; left: 0; color: var(--success); font-weight: 900; }
.price-card li:last-child, .check-list li:last-child { border-bottom: 0; }
.status { display: inline-flex; align-items: center; gap: 7px; padding: 6px 9px; border: 1px solid currentColor; border-radius: 999px; color: var(--teal); font-size: 12px; font-weight: 800; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status.guide { color: var(--blue); }
.badge { display: inline-flex; padding: 6px 9px; border-radius: 999px; background: #e7f2ef; color: var(--teal); font-size: 12px; font-weight: 800; }
.chips, .route-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.pill, .route-pills span { padding: 7px 10px; border-radius: 999px; background: #edf0ed; color: #40505b; font-size: 13px; font-weight: 700; }
.photo-grid { display: grid; grid-template-columns: 1.4fr .8fr; grid-template-rows: 230px 230px; gap: 10px; margin-top: 28px; }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; }
.photo-grid img:first-child { grid-row: 1 / 3; }
.photo-grid img, .visual-card { border-radius: var(--radius); }
.visual-card { position: relative; display: flex; min-height: 310px; align-items: flex-end; overflow: hidden; padding: 22px; background-position: center; background-size: cover; color: #fff; }
.visual-card::before { content: ""; position: absolute; inset: 0; background: rgba(9, 18, 24, .46); }
.visual-card > * { position: relative; z-index: 1; }
.visual-card h3 { margin: 5px 0; font-size: 28px; }
.visual-card p { margin: 0; color: #eef3f4; }
.page-hero { padding: 56px 0 46px; background: #fff; border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 900px; margin: 10px 0 12px; font-size: 60px; line-height: 1.04; letter-spacing: 0; }
.page-hero p { max-width: 780px; margin: 0; color: var(--muted); font-size: 19px; }
.breadcrumb { padding-top: 20px; color: var(--muted); font-size: 13px; }
.info-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr); gap: 26px; }
.facts, .list { display: grid; gap: 12px; }
.list { margin-top: 20px; }
.fact, .list-item { padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.list-item h3 { margin: 0 0 5px; }
.callout { padding: 24px; border: 1px solid #efc998; border-radius: var(--radius); background: #fff4e5; }
.dark-callout { border-color: var(--night); background: var(--night); color: #fff; }
.planner { margin-top: 30px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.field label { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 800; }
.field input, .field select, .field textarea { width: 100%; min-height: 46px; padding: 11px 12px; border: 1px solid #cbd2ce; border-radius: 5px; background: #fff; color: var(--ink); }
.field textarea { min-height: 106px; resize: vertical; }
.field.span2 { grid-column: span 2; }
.field.span4 { grid-column: 1 / -1; }
.check-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.check-grid label { min-height: 44px; padding: 10px; border: 1px solid var(--line); border-radius: 5px; background: #f8f9f7; cursor: pointer; }
.form-status { display: inline-block; margin-left: 10px; }
.form-status.success { color: var(--success); }
.form-status.error { color: #a9342b; }
.planner-result { display: none; margin-top: 24px; padding: 26px; border-radius: var(--radius); background: var(--night); color: #fff; }
.planner-result.show { display: block; }
.planner-result h3 { margin: 0 0 8px; font-size: 30px; }
.planner-result .route-pills span { background: rgba(255, 255, 255, .12); color: #fff; }
.trip-day { margin: 18px 0; padding-left: 18px; border-left: 3px solid var(--yellow); }
.trip-day h4 { margin: 0 0 5px; }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.verify-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 28px; border: 1px solid var(--line); background: #fff; }
.verify-item { min-height: 150px; padding: 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.verify-item:nth-child(3n) { border-right: 0; }
.verify-item:nth-last-child(-n+3) { border-bottom: 0; }
.verify-item strong { display: block; margin-bottom: 7px; }
.verify-item span { color: var(--muted); font-size: 14px; }
.arrival-builder { display: grid; grid-template-columns: minmax(320px, .8fr) minmax(0, 1.2fr); gap: 26px; margin-top: 30px; }
.arrival-card-preview { min-width: 0; padding: 34px; border-radius: var(--radius); background: var(--night); color: #fff; box-shadow: var(--shadow); }
.arrival-card-preview .brand { margin-bottom: 34px; }
.arrival-card-preview h2 { margin: 8px 0; color: #fff; font-size: 38px; }
.arrival-card-preview .address-cn { margin: 22px 0; color: #fff; font-family: "Microsoft YaHei", "PingFang SC", sans-serif; font-size: 28px; font-weight: 800; line-height: 1.35; }
.arrival-card-preview dl { display: grid; grid-template-columns: 110px 1fr; gap: 9px 14px; margin: 24px 0 0; }
.arrival-card-preview dt { color: #aebcc6; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.arrival-card-preview dd { margin: 0; }
.arrival-canvas { width: 100%; height: auto; margin-top: 18px; border: 1px solid var(--line); background: #fff; }
.support-strip { display: grid; grid-template-columns: 1.3fr .7fr; gap: 24px; align-items: center; padding: 30px; border-radius: var(--radius); background: var(--night); color: #fff; }
.support-strip h3 { margin: 0 0 5px; font-size: 30px; }
.support-strip p { margin: 0; color: #c9d3da; }
.support-strip .hero-actions { justify-content: flex-end; margin: 0; }
.searchbar { display: flex; gap: 10px; margin-top: 20px; }
.searchbar input { flex: 1; min-width: 0; padding: 13px 15px; border: 1px solid var(--line); border-radius: 5px; }
.site-search-results { position: absolute; top: 68px; right: 22px; z-index: 80; display: none; width: min(520px, calc(100vw - 44px)); max-height: 70vh; overflow: auto; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.site-search-results.show { display: block; }
.search-item { display: block; padding: 11px; border-radius: 5px; }
.search-item:hover { background: #eef2ef; }
.footer-cta { display: flex; align-items: center; justify-content: space-between; gap: 26px; padding: 32px; border-left: 6px solid var(--coral); background: #fff; }
.footer-cta h3 { margin: 0; font-size: 31px; }
.footer { margin-top: 0; padding: 56px 0 24px; background: #101b24; color: #d8e0e5; }
.footer-grid { display: grid; grid-template-columns: 1.7fr repeat(3, 1fr); gap: 30px; }
.footer h4 { margin: 0 0 13px; color: #fff; }
.footer a { display: block; margin: 7px 0; color: #b9c5cd; font-size: 14px; }
.footer a:hover { color: #fff; }
.footer .small { margin-top: 34px; padding-top: 19px; border-top: 1px solid #2d3a43; color: #96a5af; }
.footer-meta { display: flex; flex-wrap: wrap; gap: 9px 22px; margin-top: 18px; color: #b9c5cd; font-size: 13px; }
.mobile-actions { display: none; }
@media (max-width: 1040px) {
  .navlinks { gap: 13px; }
  .navlinks a:nth-child(3), .navlinks a:nth-child(6) { display: none; }
  .hero h1 { font-size: 60px; }
  .service-band-grid { grid-template-columns: repeat(3, 1fr); }
  .service-band a:nth-child(n+4) { border-top: 1px solid var(--line); }
  .check-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px) {
  .wrap { width: min(100% - 28px, 720px); }
  .nav { min-height: 66px; }
  .mobile-toggle { display: inline-flex; }
  .navlinks { position: absolute; top: 66px; left: 14px; right: 14px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
  .navlinks.open { display: flex; }
  .navlinks a, .navlinks button { display: flex !important; width: 100%; min-height: 44px; align-items: center; padding: 9px 10px; border: 0; background: transparent; }
  .navlinks .primary { justify-content: center; margin-top: 7px; background: var(--night); color: #fff; }
  .hero { min-height: 650px; }
  .hero-inner { padding: 70px 0 60px; }
  .hero h1 { font-size: 50px; }
  .hero p { font-size: 18px; }
  .section { padding: 60px 0; }
  .section h2 { font-size: 39px; }
  .page-hero h1 { font-size: 48px; }
  .grid-3, .grid-4, .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .info-grid, .arrival-builder, .support-strip { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2n) { border-right: 0; }
  .step { border-bottom: 1px solid var(--line); }
  .step:last-child { grid-column: 1 / -1; border-bottom: 0; }
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field.span4 { grid-column: 1 / -1; }
  .verify-grid { grid-template-columns: repeat(2, 1fr); }
  .verify-item:nth-child(3n) { border-right: 1px solid var(--line); }
  .verify-item:nth-child(2n) { border-right: 0; }
  .verify-item:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
  .verify-item:nth-last-child(-n+2) { border-bottom: 0; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .support-strip .hero-actions { justify-content: flex-start; }
}
@media (max-width: 560px) {
  body { padding-bottom: 64px; }
  .brand { font-size: 21px; }
  .hero { min-height: 610px; background-position: 58% center; }
  .hero-inner { padding: 58px 0 48px; }
  .hero h1 { font-size: 40px; }
  .hero p { font-size: 17px; }
  .hero-actions .btn { width: 100%; }
  .hero-proof { display: grid; gap: 8px; }
  .service-band-grid { grid-template-columns: 1fr 1fr; }
  .service-band a { min-height: 84px; border-bottom: 1px solid var(--line); }
  .service-band a:nth-child(n+3) { border-top: 0; }
  .service-band a:nth-child(2n) { border-right: 1px solid var(--line); }
  .service-band a:last-child { grid-column: 1 / -1; }
  .section { padding: 50px 0; }
  .section h2 { font-size: 34px; }
  .section-head { display: block; }
  .page-hero { padding: 42px 0 36px; }
  .page-hero h1 { font-size: 40px; }
  .page-hero p { font-size: 17px; }
  .grid-2, .grid-3, .grid-4, .price-grid, .form-grid, .check-grid, .verify-grid, .footer-grid { grid-template-columns: 1fr; }
  .field.span2, .field.span4 { grid-column: auto; }
  .steps { grid-template-columns: 1fr; }
  .step, .step:nth-child(2n) { border-right: 0; border-bottom: 1px solid var(--line); }
  .step:last-child { grid-column: auto; border-bottom: 0; }
  .verify-item, .verify-item:nth-child(2n), .verify-item:nth-child(3n), .verify-item:nth-last-child(-n+2), .verify-item:nth-last-child(-n+3) { border-right: 0; border-bottom: 1px solid var(--line); }
  .verify-item:last-child { border-bottom: 0; }
  .photo-grid { grid-template-columns: 1fr; grid-template-rows: repeat(3, 210px); }
  .photo-grid img:first-child { grid-row: auto; }
  .feature-row { grid-template-columns: 1fr; gap: 3px; }
  .footer-cta { align-items: flex-start; flex-direction: column; }
  .footer-cta h3 { font-size: 27px; }
  .arrival-card-preview { padding: 24px; }
  .arrival-card-preview .address-cn { font-size: 23px; }
  .arrival-card-preview dl { grid-template-columns: 1fr; }
  .arrival-card-preview dd { margin-bottom: 8px; }
  .mobile-actions { position: fixed; right: 0; bottom: 0; left: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; padding: 8px; background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); }
  .mobile-actions .btn { min-height: 48px; }
}
@media print {
  body { padding: 0; background: #fff; }
  .site-header, .footer, .mobile-actions, .no-print, .hero-actions { display: none !important; }
  .planner-result { display: block !important; background: #fff !important; color: #000 !important; }
  .arrival-card-preview { color: #fff !important; print-color-adjust: exact; }
  .card, .trip-day { break-inside: avoid; }
  .section { padding: 18px 0; }
}
