:root {
  --ink: #163638;
  --teal: #145b5f;
  --teal-dark: #0b3d40;
  --teal-soft: #dcebea;
  --gold: #c98b32;
  --sand: #f4eee2;
  --cream: #fbfaf6;
  --terracotta: #b85c3d;
  --white: #ffffff;
  --muted: #657475;
  --line: #d8e1df;
  --shadow: 0 18px 48px rgba(16, 57, 59, 0.12);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 1000; padding: 10px 16px; background: var(--white); }
.skip-link:focus { top: 16px; }

.utility-bar { background: var(--teal-dark); color: rgba(255,255,255,.84); font-size: 13px; line-height: 1; }
.utility-inner { height: 36px; display: flex; align-items: center; justify-content: flex-end; gap: 22px; }
.utility-link { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.utility-link svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.utility-inner a:hover { color: #fff; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251,250,246,.95); border-bottom: 1px solid rgba(20,91,95,.12); backdrop-filter: blur(14px); }
.nav-wrap { height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font: 800 20px/1.15 Georgia, serif; letter-spacing: .01em; }
.brand img { width: 58px; height: 58px; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a { position: relative; color: #294748; font-size: 15px; font-weight: 700; line-height: 1.2; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 2px; background: var(--terracotta); transition: right .2s ease; }
.site-nav a:hover::after, .site-nav a.active::after { right: 0; }
.menu-toggle { display: none; border: 0; background: transparent; color: var(--teal-dark); font-size: 28px; cursor: pointer; }

.hero { position: relative; min-height: 680px; display: grid; place-items: center; overflow: hidden; color: white; background: var(--teal-dark); isolation: isolate; }
.hero::before { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, rgba(4,35,37,.88) 0%, rgba(4,35,37,.64) 38%, rgba(4,35,37,.20) 76%, rgba(4,35,37,.10) 100%); pointer-events: none; }
.hero::after { content: ""; position: absolute; z-index: 1; inset: auto 0 0; height: 150px; background: linear-gradient(transparent, rgba(7,39,41,.58)); pointer-events: none; }
.hero-slides, .hero-slide { position: absolute; inset: 0; }
.hero-slides { z-index: 0; }
.hero-slide { background-position: center; background-size: cover; opacity: 0; transform: scale(1.015); transition: opacity .9s ease, transform 7s ease; }
.hero-slide-1 { background-image: url('../images/banner-01-optimized.webp'); }
.hero-slide-2 { background-image: url('../images/banner-02-optimized.webp'); }
.hero-slide-3 { background-image: url('../images/banner-03-optimized.webp'); }
.hero-slide.active { opacity: 1; transform: scale(1); }
.hero-content { position: relative; z-index: 2; max-width: 960px; margin-right: auto; padding: 96px 0 110px; }
.hero-arrow { position: absolute; z-index: 3; top: 50%; display: grid; place-items: center; width: 46px; height: 46px; padding: 0 0 5px; border: 1px solid rgba(255,255,255,.52); border-radius: 50%; background: rgba(4,35,37,.30); color: white; font: 400 38px/1 Georgia, serif; cursor: pointer; transform: translateY(-50%); backdrop-filter: blur(5px); transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.hero-arrow:hover, .hero-arrow:focus-visible { border-color: white; background: rgba(4,35,37,.68); transform: translateY(-50%) scale(1.06); }
.hero-prev { left: max(18px, calc((100vw - 1320px) / 2)); }
.hero-next { right: max(18px, calc((100vw - 1320px) / 2)); }
.hero-dots { position: absolute; z-index: 3; bottom: 32px; left: 50%; display: flex; gap: 10px; transform: translateX(-50%); }
.hero-dot { width: 9px; height: 9px; padding: 0; border: 1px solid rgba(255,255,255,.9); border-radius: 50%; background: transparent; cursor: pointer; transition: width .25s ease, border-radius .25s ease, background .25s ease; }
.hero-dot.active { width: 30px; border-radius: 999px; background: white; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; color: var(--gold); font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 34px; height: 2px; background: currentColor; }
h1, h2, h3 { margin-top: 0; font-family: Georgia, "Times New Roman", serif; line-height: 1.12; }
.hero h1 { max-width: 700px; margin-bottom: 22px; font-size: clamp(48px, 7vw, 84px); letter-spacing: -.035em; }
.hero-copy { max-width: 600px; margin-bottom: 34px; color: rgba(255,255,255,.88); font-size: clamp(17px, 2vw, 21px); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.actions.top-gap { margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border: 1px solid var(--terracotta); border-radius: 999px; background: var(--terracotta); color: white; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(108,45,28,.24); }
.button.secondary { border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.08); }
.button.light { border-color: var(--teal); background: transparent; color: var(--teal); }
.button.small { min-height: 42px; padding: 0 18px; font-size: 14px; }

.section { padding: 92px 0; }
.section.compact { padding: 62px 0; }
.section.alt { background: var(--sand); }
.section.dark { background: var(--teal-dark); color: white; }
.section-heading { max-width: 720px; margin-bottom: 38px; }
.section-heading.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-heading h2 { margin-bottom: 14px; font-size: clamp(34px, 4vw, 52px); letter-spacing: -.025em; }
.section-heading p { margin: 0; color: var(--muted); font-size: 17px; }
.dark .section-heading p { color: rgba(255,255,255,.72); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 10px 30px rgba(16,57,59,.07); }
.card-media { position: relative; height: 250px; overflow: hidden; background: var(--teal-soft); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.card:hover .card-media img { transform: scale(1.04); }
.card-badge { position: absolute; left: 18px; top: 18px; padding: 7px 11px; border-radius: 999px; background: rgba(10,58,61,.9); color: white; font-size: 12px; font-weight: 800; }
.card-body { padding: 24px; }
.card-body h3 { margin-bottom: 10px; font-size: 25px; }
.card-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-bottom: 12px; color: var(--terracotta); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.card-body p { color: var(--muted); }
.text-link { color: var(--teal); font-weight: 800; }
.text-link:hover { color: var(--terracotta); }

.intro-grid { display: grid; grid-template-columns: .82fr 1.18fr; align-items: center; gap: 70px; }
.image-frame { position: relative; }
.image-frame img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 160px 160px 20px 20px; box-shadow: var(--shadow); }
.image-frame::before { content: ""; position: absolute; z-index: -1; inset: 26px -26px -26px 26px; border: 2px solid var(--gold); border-radius: 160px 160px 20px 20px; }
.intro-copy h2 { font-size: clamp(36px, 4.5vw, 58px); }
.intro-copy p { color: var(--muted); font-size: 17px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.stat { padding: 18px 10px; border-top: 1px solid var(--gold); }
.stat strong { display: block; color: var(--teal); font: 700 29px/1 Georgia, serif; }
.stat span { display: block; margin-top: 7px; color: var(--muted); font-size: 12px; }

.page-hero { padding: 96px 0 82px; color: white; background: linear-gradient(120deg, var(--teal-dark), #1c6d6f); }
.page-hero h1 { max-width: 850px; margin-bottom: 18px; font-size: clamp(45px, 6vw, 72px); }
.page-hero p { max-width: 760px; margin: 0; color: rgba(255,255,255,.8); font-size: 19px; }
.visa-page-hero { position: relative; min-height: 440px; display: flex; align-items: center; overflow: hidden; background: url('../images/chinese-visa-banner.webp') center/cover no-repeat; isolation: isolate; }
.visa-page-hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(4,35,37,.90) 0%, rgba(4,35,37,.72) 40%, rgba(4,35,37,.20) 72%, rgba(4,35,37,.06) 100%); }
.visa-page-hero h1 { max-width: 720px; }
.visa-page-hero p { max-width: 650px; }
.destination-page-hero { position: relative; min-height: 440px; display: flex; align-items: center; overflow: hidden; background: url('../images/destination-banner.webp') center/cover no-repeat; isolation: isolate; }
.destination-page-hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(4,35,37,.90) 0%, rgba(4,35,37,.72) 40%, rgba(4,35,37,.20) 72%, rgba(4,35,37,.05) 100%); }
.destination-page-hero h1 { max-width: 720px; }
.destination-page-hero p { max-width: 650px; }
.tourism-page-hero { position: relative; min-height: 440px; display: flex; align-items: center; overflow: hidden; background: url('../images/china-tourism-banner.webp') center/cover no-repeat; isolation: isolate; }
.tourism-page-hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(4,35,37,.92) 0%, rgba(4,35,37,.75) 40%, rgba(4,35,37,.22) 72%, rgba(4,35,37,.05) 100%); }
.tourism-page-hero h1 { max-width: 760px; }
.tourism-page-hero p { max-width: 650px; }
.about-page-hero { position: relative; min-height: 440px; display: flex; align-items: center; overflow: hidden; background: url('../images/about-banner.webp') center/cover no-repeat; isolation: isolate; }
.about-page-hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(4,35,37,.92) 0%, rgba(4,35,37,.76) 40%, rgba(4,35,37,.22) 72%, rgba(4,35,37,.05) 100%); }
.about-page-hero h1 { max-width: 760px; }
.about-page-hero p { max-width: 650px; }
.contact-page-hero { position: relative; min-height: 440px; display: flex; align-items: center; overflow: hidden; background: url('../images/contact-banner.webp') center/cover no-repeat; isolation: isolate; }
.contact-page-hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(4,35,37,.92) 0%, rgba(4,35,37,.76) 40%, rgba(4,35,37,.22) 72%, rgba(4,35,37,.05) 100%); }
.contact-page-hero h1 { max-width: 760px; }
.contact-page-hero p { max-width: 650px; }
.breadcrumb { display: none; }

.content-wrap { max-width: 850px; }
.content-wrap h2 { margin-top: 50px; font-size: 34px; }
.content-wrap h3 { margin-top: 34px; font-size: 24px; }
.content-wrap p, .content-wrap li { color: #506667; }
.lead { color: var(--ink) !important; font-size: 20px; }
.legal-intro { margin-bottom: 42px; }
.legal-section { padding: 4px 0 20px; border-bottom: 1px solid var(--line); }
.legal-section:last-child { border-bottom: 0; }
.legal-list { display: grid; gap: 10px; margin: 18px 0 26px; padding-left: 24px; }
.legal-list li::marker { color: var(--terracotta); }
.term-label { color: var(--ink); font-weight: 800; }
.notice { margin: 34px 0; padding: 22px 24px; border-left: 4px solid var(--gold); background: #fff9ec; color: #624b2f; }

.destination-card .card-media { height: 310px; }
.destination-card .card-body { min-height: 240px; }
.visa-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; margin-top: 34px; }
.visa-map { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: 0 8px 24px rgba(16,57,59,.08); }
.visa-map img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.visa-map figcaption { padding: 14px 18px; font-weight: 800; }

.route-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: -34px; position: relative; z-index: 2; overflow: hidden; border-radius: 18px; background: var(--line); box-shadow: var(--shadow); }
.route-summary div { padding: 24px; background: white; }
.route-summary span { display: block; color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.route-summary strong { display: block; margin-top: 6px; font: 700 18px Georgia, serif; }
.timeline { position: relative; margin-top: 38px; }
.day { position: relative; margin: 0 0 22px 34px; padding: 26px 28px; border: 1px solid var(--line); border-radius: 18px; background: white; }
.day::before { content: ""; position: absolute; left: -35px; top: 0; bottom: -24px; width: 2px; background: var(--teal-soft); }
.day:last-child::before { bottom: 50%; }
.day-number { position: absolute; left: -50px; top: 24px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--terracotta); color: white; font-weight: 900; }
.day h3 { margin-bottom: 10px; font-size: 23px; }
.day p { margin-bottom: 0; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tag { padding: 5px 9px; border-radius: 999px; background: var(--teal-soft); color: var(--teal-dark); font-size: 12px; font-weight: 800; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.contact-panel { padding: 34px; border-radius: var(--radius); background: white; border: 1px solid var(--line); }
.contact-panel h2 { font-size: 31px; }
.contact-list { display: grid; gap: 20px; margin-top: 28px; }
.contact-item span { display: block; color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.contact-item strong, .contact-item a { display: block; margin-top: 4px; font-weight: 700; }
.qr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.qr-grid-single { grid-template-columns: minmax(160px, 220px); }
.qr-card { padding: 18px; border-radius: 16px; background: var(--sand); text-align: center; }
.qr-card img { width: 110px; height: 110px; margin: 0 auto 12px; object-fit: contain; mix-blend-mode: multiply; }
.qr-card strong { font-size: 13px; }

.cta { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 42px; border-radius: var(--radius); background: var(--teal); color: white; }
.cta h2 { margin-bottom: 8px; font-size: 34px; }
.cta p { margin: 0; color: rgba(255,255,255,.75); }

.site-footer { padding: 64px 0 24px; background: #092f31; color: white; }
.footer-grid { display: grid; grid-template-columns: minmax(480px, 1fr) 210px 210px; gap: 50px; }
.footer-grid > div:nth-child(2), .footer-grid > div:nth-child(3) { justify-self: end; width: 210px; }
.footer-brand p { max-width: 530px; color: rgba(255,255,255,.66); }
.footer-brand span { max-width: 530px; }
.footer-title { margin-bottom: 18px; font-family: Georgia, serif; font-size: 20px; }
.footer-links { display: grid; gap: 10px; color: rgba(255,255,255,.72); }
.footer-links a:hover { color: white; }
.footer-qr { display: block; max-width: 140px; }
.footer-qr div { text-align: center; color: rgba(255,255,255,.72); font-size: 10px; }
.footer-qr img { width: 84px; height: 84px; margin: 0 auto 8px; padding: 4px; object-fit: contain; background: white; }
.footer-bottom { margin-top: 46px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.55); font-size: 13px; text-align: center; }

@media (max-width: 900px) {
  .site-nav { position: absolute; left: 0; right: 0; top: 118px; display: none; padding: 20px; background: var(--cream); border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start; gap: 18px; }
  .site-nav.open { display: flex; }
  .menu-toggle { display: block; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .intro-grid, .contact-grid { grid-template-columns: 1fr; }
  .image-frame { max-width: 520px; }
  .route-summary { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-grid > div:nth-child(2), .footer-grid > div:nth-child(3) { justify-self: start; width: auto; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1160px); }
  .utility-inner { height: 44px; justify-content: center; gap: 12px; font-size: 11px; }
  .brand { font-size: 16px; }
  .brand img { width: 48px; height: 48px; }
  .nav-wrap { height: 72px; }
  .site-nav { top: 116px; }
  .hero { min-height: 610px; }
  .hero h1 { font-size: 47px; }
  .hero-content { padding: 82px 36px 108px; }
  .hero-arrow { top: auto; bottom: 15px; width: 36px; height: 36px; font-size: 30px; transform: none; }
  .hero-arrow:hover, .hero-arrow:focus-visible { transform: scale(1.06); }
  .hero-prev { left: 8px; }
  .hero-next { right: 8px; }
  .hero-dots { bottom: 24px; }
  .section { padding: 68px 0; }
  .grid-3, .grid-2, .visa-grid, .stats, .qr-grid, .footer-grid { grid-template-columns: 1fr; }
  .card-media, .destination-card .card-media { height: 240px; }
  .route-summary { grid-template-columns: 1fr; margin-top: 24px; }
  .cta { align-items: flex-start; flex-direction: column; padding: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: none; transform: none; }
}
