:root { --nav-selected: #E3A83E; }
html { scroll-padding-top: 88px; }
.page { overflow: clip; }
.page > *, main > *, .site-header > *, .figma-facts > *, .figma-related > *, .route-grid > *, .dest-grid > * { min-width: 0; }
.site-header { position: relative; z-index: 40; }
.site-header nav a { position: relative; display: inline-flex; align-items: center; min-height: 44px; transition: color 180ms ease, transform 180ms ease; }
.site-header nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: var(--nav-selected); transform: scaleX(0); transform-origin: left; transition: transform 180ms ease; }
.site-header nav a:hover, .site-header nav a.is-active, .site-header nav a[aria-current="page"], .site-header nav a:active { color: var(--nav-selected); }
.site-header nav a:hover::after, .site-header nav a.is-active::after { transform: scaleX(1); }
.site-header nav a:active { transform: translateY(2px) scale(.97); }
.nav-clicked { animation: nav-press 160ms ease-out; }
@keyframes nav-press { 50% { transform: translateY(2px) scale(.96); } }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--nav-selected); outline-offset: 4px; }
.btn, .nav-cta, .detail-button, .search-submit, .mobile-actions a { transition: transform 160ms ease, box-shadow 160ms ease; }
.btn:active, .nav-cta:active, .detail-button:active, .search-submit:active, .mobile-actions a:active { transform: scale(.97); }
.nav-toggle, .nav-label-mobile, .mobile-actions { display: none; }
.btn.primary, .nav-cta, .mobile-actions a:last-child { background: var(--nav-selected); border-color: var(--nav-selected); }
.floating-tools { position: fixed; z-index: 35; right: 18px; top: 50%; transform: translateY(-50%); width: 132px; padding: 10px; display: grid; gap: 8px; border: 1px solid var(--line); border-radius: 8px; background: white; box-shadow: 0 8px 28px rgba(17,41,37,.14); }
.floating-tools > a, .floating-tools > button { width: 100%; min-height: 44px; padding: 10px 8px; border: 1px solid var(--nav-selected); border-radius: 999px; background: var(--nav-selected); color: var(--ink); display: flex; align-items: center; justify-content: center; gap: 6px; font: inherit; font-size: 12px; font-weight: 800; line-height: 1.4; transition: transform 160ms ease, box-shadow 160ms ease; }
.floating-tools > a:hover, .floating-tools > button:hover { box-shadow: 0 3px 10px rgba(138,90,9,.2); }
.floating-tools > a:active, .floating-tools > button:active { transform: scale(.96); }
.floating-tools img { width: 22px; height: 22px; filter: brightness(0); }
.floating-top img { transform: rotate(-45deg); }
.wechat-dialog { width: min(420px, calc(100% - 40px)); max-height: calc(100dvh - 48px); overflow-y: auto; padding: 28px; border: 0; border-radius: 8px; color: var(--ink-2); box-shadow: 0 20px 70px rgba(0,0,0,.24); text-align: center; }
.wechat-dialog::backdrop { background: rgba(17,24,22,.5); }
.wechat-dialog h2 { margin: 8px 0 22px; font-size: 24px; }
.wechat-dialog p { overflow-wrap: anywhere; line-height: 1.7; user-select: text; }
.wechat-qr { width: 240px; max-width: 100%; height: auto; margin: 0 auto 18px; }
.wechat-close { display: grid; place-items: center; margin-left: auto; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--soft); color: var(--teal); }
.wechat-close img { width: 18px; height: 18px; transform: rotate(45deg); }
.consultation-phone { color: var(--teal); font-size: 26px; font-weight: 800; }
.consultation-dialog .kxy-contact { width: 100%; padding: 0; margin: 0; text-align: left; }
.consultation-dialog .kxy-contact label { display: block; }
.consultation-dialog .kxy-contact input:not([type="hidden"]), .consultation-dialog .kxy-contact textarea { display: block; width: 100%; margin-top: 6px; }
.consultation-dialog .btn { width: 100%; }
.consultation-dialog [role="status"] { font-size: 14px; color: var(--teal); line-height: 1.7; }
.kxy-filters, .kxy-pagination { grid-column: 1 / -1; }
.figma-facts:has(> .kxy-article) { grid-template-columns: minmax(0, 1fr); }
.figma-facts:has(> .kxy-article) > div:first-child { grid-row: auto; }
.kxy-article { min-width: 0; }
.kxy-article figure { max-width: 100%; margin-inline: 0; overflow-x: auto; }
.kxy-contact { width: min(100%, 1200px); margin: 36px auto; padding: 24px; background: white; }
.kxy-contact input:not([type="hidden"]), .kxy-contact textarea { max-width: 100%; min-height: 44px; border: 1px solid var(--line); border-radius: 6px; padding: 12px; font: inherit; }
.kxy-contact textarea { display: block; width: 100%; }
.figma-eyebrow, .figma-section-kicker { letter-spacing: 0; }

@media (max-width: 1439px) {
  .site-header { padding-inline: 4%; }
  .site-header nav { gap: 18px; }
  .logo, .logo img { width: 150px; }
  .hero, .trust, .routes, .destinations, .reviews, .feature-trip, .custom, .leader, .faq, .store, .site-footer, .footer-bottom, .figma-hero, .figma-facts, .figma-map-section, .figma-related, .sub-hero, .sub-section { padding-inline: 5%; }
  .trip-search { width: 100%; }
  .search-field { flex: 1; min-width: 0; }
  .search-submit { flex: 1.4; }
  .feature-trip, .leader, .store, .detail-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; }
  .custom { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 36px; }
  .faq { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 36px; }
  .figma-facts { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 24px; }
  .figma-map-section, .figma-related { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
  .figma-map-path span { flex: 0 0 36px; height: 36px; }
  .figma-map-path i { flex: 1; min-width: 8px; }
  .figma-row { grid-template-columns: minmax(70px, .8fr) minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
  .detail-layout > img { width: 100%; }
  .trip-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-bottom p { width: auto; flex: 1; }
  .promise-card { height: auto; min-height: 88px; padding: 16px; gap: 10px; }
}

@media (max-width: 1100px) {
  .site-header { position: sticky; top: 0; height: 72px; padding: 0 16px; border-bottom: 4px solid #3a8fef; }
  .logo, .logo img { width: 116px; height: 54px; flex-shrink: 0; }
  .nav-actions { gap: 8px; }
  .nav-actions > a[href^="tel:"] { display: none; }
  .nav-label-desktop { display: none; }
  .nav-label-mobile { display: inline; }
  .nav-cta { height: 44px; padding-inline: 16px; }
  .nav-toggle { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--soft); }
  .nav-toggle img { width: 21px; height: 21px; transition: transform 180ms ease; }
  .is-menu-open .nav-toggle img { transform: rotate(90deg); }
  .site-header[data-enhanced] nav { position: absolute; top: 100%; left: 0; right: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 16px; padding: 16px 20px 22px; background: white; border-bottom: 1px solid var(--line); box-shadow: 0 16px 24px rgba(17,41,37,.12); max-height: calc(100dvh - 160px); overflow-y: auto; visibility: hidden; opacity: 0; pointer-events: none; transform: translateY(-10px); transition: opacity 180ms ease, transform 180ms ease, visibility 180ms; }
  .site-header[data-enhanced].is-menu-open nav { visibility: visible; opacity: 1; pointer-events: auto; transform: translateY(0); }
  .site-header nav a { min-height: 48px; padding: 8px 12px; }
  .site-header nav a::after { left: 12px; right: 12px; bottom: 4px; }
  .site-header:not([data-enhanced]) { height: auto; min-height: 72px; flex-wrap: wrap; }
  .site-header:not([data-enhanced]) nav { flex-basis: 100%; flex-wrap: wrap; order: 3; }
  .hero-copy, .hero p, .figma-hero-copy, .figma-summary, .sub-hero > div { width: 100%; max-width: 760px; }
  .trust { height: auto; }
  .trust-head { align-items: start; gap: 20px; flex-wrap: wrap; }
  .promise-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-title h2, .feature-info h2, .custom-copy h2, .store-copy h2, .detail-copy h2 { font-size: 34px; }
  .feature-photo img, .leader-photo img { height: 440px; }
  .figma-facts { grid-template-columns: minmax(0, 1fr); }
  .figma-facts > div:first-child { grid-row: auto; }
  .figma-related { grid-template-columns: minmax(0, 1fr); }
  .kxy-filters { flex-wrap: wrap; }
  .kxy-filters input[type="search"] { min-width: 160px; }
  .site-footer { height: auto; min-height: 153px; gap: 24px; align-items: center; }
  .site-footer h2 { font-size: 26px; }
}

@media (max-width: 767px) {
  .floating-tools { top: auto; bottom: calc(98px + env(safe-area-inset-bottom, 0px)); right: 12px; transform: none; width: 48px; padding: 0; border: 0; border-radius: 50%; }
  .floating-tools > .floating-phone, .floating-tools > .floating-wechat { display: none; }
  .floating-tools > .floating-top { min-height: 48px; padding: 8px; border: 0; }
  .floating-top span { display: none; }
  body { padding-bottom: calc(82px + env(safe-area-inset-bottom, 0px)); }
  .hero, .trust, .routes, .destinations, .reviews, .feature-trip, .custom, .leader, .faq, .store, .site-footer, .footer-bottom, .figma-facts, .figma-map-section, .figma-related, .sub-section { padding: 48px 20px; }
  .hero { min-height: 790px; height: auto; padding: 48px 20px 28px; gap: 64px; }
  .hero-bg { object-position: 58% center; }
  .hero-shade, .figma-hero-shade { background: linear-gradient(180deg, rgba(8,45,45,.27), rgba(8,45,45,.67) 40%, rgba(8,45,45,.97)); }
  .hero-label { flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
  .hero-label b { font-size: 10px; }
  .hero h1 { font-size: 36px; line-height: 1.25; overflow-wrap: anywhere; }
  .hero p { margin: 20px 0; font-size: 15px; line-height: 1.8; }
  .hero-actions { flex-wrap: wrap; gap: 10px; }
  .hero-actions .btn { padding-inline: 16px; font-size: 14px; min-height: 48px; height: auto; }
  .trip-search { height: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 12px; border-radius: 18px; }
  .search-field { width: 100%; height: 64px; padding: 0 10px; gap: 7px; border-radius: 10px; }
  .search-field strong { font-size: 12px; }
  .search-submit { grid-column: 1 / -1; width: 100%; margin-top: 2px; min-height: 48px; }
  .trust-head { flex-direction: column; gap: 12px; margin-bottom: 22px; }
  .trust-head h2, .section-title h2, .figma-facts h2, .figma-related h2, .custom-copy h2, .store-copy h2, .detail-copy h2 { font-size: 28px; line-height: 1.3; overflow-wrap: anywhere; }
  .trust-head span { font-size: 11px; line-height: 1.7; }
  .section-title { margin-bottom: 24px; }
  .section-title p { font-size: 15px; }
  .kicker { font-size: 10px; }
  .promise-list { gap: 10px; }
  .promise-card { flex-direction: column; align-items: flex-start; justify-content: flex-start; padding: 16px; border-radius: 16px; }
  .promise-card h3 { font-size: 15px; }
  .promise-card p { font-size: 12px; }
  .icon-box { width: 40px; height: 40px; border-radius: 10px; }
  .route-grid, .review-grid, .page-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .route-card { border-radius: 20px; }
  .route-image { height: auto; aspect-ratio: 350 / 222; }
  .route-body { padding: 20px; }
  .route-body h3 { min-height: 0; font-size: 21px; }
  .route-body .detail-button { min-height: 44px; }
  .dest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .dest-card { height: auto; min-height: 220px; aspect-ratio: 169 / 230; border-radius: 16px; }
  .dest-card div { left: 12px; right: 12px; bottom: 14px; }
  .dest-card p { font-size: 20px; overflow-wrap: anywhere; }
  .dest-card span { font-size: 12px; line-height: 1.5; }
  .feature-trip, .custom, .leader, .faq, .store, .detail-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .feature-photo img, .leader-photo img, .detail-layout > img { width: 100%; height: auto; aspect-ratio: 1; border-radius: 20px; object-fit: cover; }
  .feature-info { padding-top: 0; }
  .feature-info h2 { font-size: 28px; line-height: 1.35; overflow-wrap: anywhere; }
  .feature-info > p:not(.tag) { font-size: 15px; }
  .feature-actions { flex-wrap: wrap; }
  .feature-actions .btn { flex: 1; padding-inline: 14px; font-size: 14px; }
  .price { font-size: 28px; }
  .trip-facts { gap: 10px; }
  .trip-fact { padding: 14px; }
  .consult-card { padding: 22px; border-radius: 20px; }
  .stats { gap: 8px; }
  .stats div { padding: 16px 10px; min-width: 0; }
  .stats strong { font-size: 22px; overflow-wrap: anywhere; }
  .stats span { font-size: 11px; }
  .review-grid article { min-height: 0; padding: 24px; border-radius: 20px; }
  .review-grid p { font-size: 15px; }
  .faq { gap: 10px; }
  .faq-list h3 { gap: 12px; line-height: 1.6; }
  .store-copy strong { font-size: 23px; }
  .store-copy div { flex-wrap: wrap; }
  .map-card { height: 280px; border-radius: 20px; }
  .site-footer { align-items: stretch; flex-direction: column; gap: 14px; }
  .site-footer h2 { font-size: 23px; line-height: 1.5; }
  .site-footer p { font-size: 13px; line-height: 1.7; }
  .site-footer .btn { width: 100%; min-height: 48px; }
  .footer-bottom { flex-direction: column; gap: 15px; padding: 36px 20px; }
  .footer-bottom p { width: 100%; flex: none; overflow-wrap: anywhere; }
  .figma-hero { height: auto; min-height: 590px; padding: 32px 20px 28px; gap: 130px; }
  .figma-hero > img { object-position: 58% center; }
  .figma-breadcrumb { font-size: 10px; line-height: 1.6; overflow-wrap: anywhere; }
  .figma-eyebrow, .figma-section-kicker { font-size: 10px; line-height: 1.6; margin-bottom: 13px; overflow-wrap: anywhere; }
  .figma-hero-copy { width: 100%; }
  .figma-hero h1 { font-size: 34px; line-height: 1.2; overflow-wrap: anywhere; }
  .figma-summary { width: 100%; font-size: 15px; line-height: 1.7; margin: 13px 0; }
  .figma-hero-meta { flex-direction: column; align-items: stretch; gap: 13px; }
  .figma-hero-meta span { font-size: 10px; line-height: 1.55; }
  .figma-hero-meta .btn { width: 100%; height: 48px; font-size: 14px; }
  .figma-facts { grid-template-columns: minmax(0, 1fr); gap: 18px; background: white; }
  .figma-facts > div:first-child { grid-row: auto; }
  .figma-facts p:not(.figma-section-kicker) { font-size: 14px; margin-top: 14px; }
  .figma-fact-grid { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 18px; border-radius: 24px; background: var(--soft); }
  .figma-fact { justify-content: flex-start; min-height: 0; background: transparent; box-shadow: none; border-radius: 0; padding: 0; text-align: left; font-size: 14px; line-height: 1.9; }
  .figma-fact::before { content: "\2713"; margin-right: 12px; }
  .figma-entry-list { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .figma-entry { min-height: 82px; padding: 18px; border-radius: 18px; background: var(--paper); box-shadow: none; }
  .figma-entry strong, .figma-related-card strong { font-size: 17px; line-height: 1.6; }
  .figma-entry span { font-size: 13px; }
  .figma-map-section { grid-template-columns: minmax(0, 1fr); gap: 20px; background: var(--paper); }
  .figma-map-card { height: auto; min-height: 310px; padding: 20px; border-radius: 24px; }
  .figma-map-card p { font-size: 22px; line-height: 1.4; }
  .figma-map-card b { font-size: 15px; line-height: 1.8; }
  .figma-map-path { gap: 8px; }
  .figma-map-path span { flex-basis: 30px; width: 30px; height: 30px; border-width: 6px; }
  .figma-table { min-height: 0; padding: 20px 18px; border-radius: 20px; background: white; }
  .figma-table > p { line-height: 1.7; margin-bottom: 12px; }
  .figma-row { grid-template-columns: minmax(60px, .65fr) minmax(0, 1fr) minmax(0, 1fr); gap: 10px; padding: 14px 0; }
  .figma-row strong { font-size: 14px; }
  .figma-row span, .figma-row em { font-size: 12px; overflow-wrap: anywhere; }
  .figma-related { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .figma-related-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .figma-related-card { min-height: 120px; padding: 20px; border-radius: 20px; }
  .sub-hero { min-height: 420px; height: auto; padding: 70px 20px 40px; display: flex; align-items: flex-end; }
  .sub-hero > div { width: 100%; }
  .sub-hero h1 { font-size: 34px; line-height: 1.2; overflow-wrap: anywhere; }
  .sub-hero span { font-size: 15px; }
  .info-card { min-height: 0; padding: 24px; border-radius: 20px; }
  .info-card h3 { font-size: 22px; }
  .info-card p, .detail-copy p { font-size: 15px; overflow-wrap: anywhere; }
  .detail-list { grid-template-columns: minmax(0, 1fr); }
  .kxy-filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0 0 10px; }
  .kxy-filters input[type="search"] { grid-column: 1 / -1; min-width: 0; width: 100%; }
  .kxy-filters input[type="number"], .kxy-filters select { min-width: 0; width: 100%; }
  .kxy-filters input, .kxy-filters select, .kxy-contact input:not([type="hidden"]), .kxy-contact textarea { font-size: 16px; }
  .kxy-filters .btn { height: 44px; font-size: 14px; padding-inline: 12px; }
  .kxy-filters > a { min-height: 44px; display: flex; align-items: center; }
  .kxy-pagination { flex-wrap: wrap; gap: 12px; }
  .kxy-pagination > * { min-width: 40px; min-height: 44px; display: grid; place-items: center; }
  .kxy-article { margin: 10px 0; font-size: 15px; }
  .kxy-article h2, .kxy-content-section h2 { font-size: 23px; }
  .kxy-article table { display: block; max-width: 100%; overflow-x: auto; }
  .kxy-contact { margin: 0; padding: 36px 20px; }
  .kxy-contact label { display: block; line-height: 1.8; }
  .kxy-contact input:not([type="hidden"]), .kxy-contact textarea { display: block; width: 100%; margin-top: 6px; }
  .kxy-contact .btn { width: 100%; }
  .mobile-actions { position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; height: calc(82px + env(safe-area-inset-bottom, 0px)); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 9px 10px calc(14px + env(safe-area-inset-bottom, 0px)); background: white; box-shadow: 0 -4px 24px rgba(17,41,37,.13); }
  .mobile-actions a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border-radius: 14px; background: var(--soft); color: var(--teal); font-size: 10px; font-weight: 700; min-width: 0; }
  .mobile-actions a:last-child { background: var(--orange); color: var(--ink); }
  .mobile-actions img { width: 20px; height: 20px; }
}

@media (max-width: 359px) {
  .hero h1 { font-size: 32px; }
  .figma-hero h1, .sub-hero h1 { font-size: 30px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .search-field { padding-inline: 8px; gap: 4px; }
  .search-field .icon { width: 16px; height: 16px; }
  .search-field .chevron { width: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .floating-tools > a, .floating-tools > button { transition: none; }
  html { scroll-behavior: auto; }
  .site-header nav a, .site-header nav a::after, .site-header nav, .nav-toggle img, .btn, .nav-cta, .detail-button, .search-submit, .mobile-actions a { transition: none !important; }
  .nav-clicked { animation: none; }
}
