:root {
    --ink: #24323a;
    --muted: #607079;
    --primary: #146c86;
    --primary-dark: #0d5368;
    --accent: #c84d3f;
    --sun: #f4c95d;
    --sky-soft: #eaf6f8;
    --sun-soft: #fff7df;
    --canvas: #f7fafb;
    --line: #dde6e9;
    --white: #fff;
    --radius: 8px;
    --shadow-hover: 0 10px 28px rgba(36, 50, 58, .1);
    --max: 1200px;
    --fixed-nav-height: 52px;
    --mobile-header-space: 124px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--fixed-nav-height) + 16px); }
body {
    min-width: 320px;
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font: 15px/1.7 "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
    overflow-wrap: anywhere;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
button, input, select, textarea { color: inherit; font: inherit; }
button { cursor: pointer; }
::selection { color: var(--ink); background: var(--sun); }

.site-container { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.skip-link {
    position: fixed;
    z-index: 1000;
    top: 10px;
    left: 10px;
    padding: 10px 14px;
    color: #fff;
    background: var(--primary-dark);
    border-radius: 4px;
    transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }
a:focus-visible, button:focus-visible, input:focus-visible {
    outline: 3px solid rgba(20, 108, 134, .28);
    outline-offset: 3px;
}

.travel-header { position: relative; z-index: 30; background: var(--white); }
.travel-header.has-fixed-nav { padding-bottom: var(--fixed-nav-height); }
.travel-header__row {
    display: grid;
    grid-template-columns: auto minmax(320px, 520px) auto;
    align-items: center;
    gap: 38px;
    min-height: 78px;
}
.travel-brand, .footer-brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.travel-brand__sign {
    position: relative;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    overflow: hidden;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2);
}
.travel-brand__sign i { position: absolute; display: block; }
.travel-brand__route {
    top: 20px;
    left: 9px;
    width: 25px;
    height: 3px;
    background: #fff;
    border-radius: 3px;
    transform: rotate(-18deg);
}
.travel-brand__route::before {
    position: absolute;
    top: -7px;
    left: 3px;
    width: 12px;
    height: 3px;
    content: "";
    background: #fff;
    border-radius: 3px;
    transform: rotate(58deg);
    transform-origin: left center;
}
.travel-brand__start {
    top: 10px;
    left: 9px;
    width: 7px;
    height: 7px;
    background: var(--sun);
    border: 2px solid #fff;
    border-radius: 50%;
}
.travel-brand__end {
    right: 7px;
    bottom: 8px;
    width: 10px;
    height: 10px;
    background: var(--accent);
    border: 2px solid #fff;
    border-radius: 50%;
}
.travel-brand__text { min-width: 0; }
.travel-brand strong, .footer-brand strong { display: block; font-size: 21px; line-height: 1.15; }
.travel-brand small, .footer-brand small {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.2;
}
.travel-search {
    display: flex;
    min-width: 0;
    height: 44px;
    overflow: hidden;
    background: var(--canvas);
    border: 1px solid var(--line);
    border-radius: 6px;
}
.travel-search:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(20, 108, 134, .1); }
.travel-search input { min-width: 0; flex: 1; padding: 0 14px; background: transparent; border: 0; outline: 0; }
.travel-search input::placeholder { color: #839198; }
.travel-search button {
    min-width: 72px;
    padding: 0 18px;
    color: #fff;
    background: var(--primary);
    border: 0;
    font-weight: 700;
}
.travel-search button:hover { background: var(--primary-dark); }
.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 13px;
    color: var(--primary-dark);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
    font-weight: 700;
}
.nav-toggle__icon { display: grid; gap: 3px; width: 16px; }
.nav-toggle__icon i { display: block; width: 16px; height: 2px; background: currentColor; border-radius: 2px; }
.nav-toggle[aria-expanded="true"] { color: #fff; background: var(--primary); border-color: var(--primary); }

.travel-nav { color: var(--ink); background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.travel-nav.is-fixed {
    position: fixed;
    z-index: 100;
    top: 0;
    right: 0;
    left: 0;
    box-shadow: 0 8px 24px rgba(36, 50, 58, .09);
}
.travel-nav__inner { display: flex; align-items: stretch; min-height: 52px; }
.travel-nav__group { position: relative; display: flex; }
.travel-nav__top {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 0 16px;
    color: #35464e;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}
.travel-nav__home .travel-nav__top { padding-left: 0; padding-right: 20px; }
.travel-nav__top::after {
    position: absolute;
    right: 16px;
    bottom: -1px;
    left: 16px;
    height: 3px;
    content: "";
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .16s ease;
}
.travel-nav__home .travel-nav__top::after { left: 0; right: 20px; }
.travel-nav__top:hover, .travel-nav__top:focus-visible { color: var(--primary); }
.travel-nav__top:hover::after, .travel-nav__top:focus-visible::after { transform: scaleX(1); }
.travel-nav__top.is-current, .travel-nav__top.is-current-section { color: var(--primary); }
.travel-nav__top.is-current::after, .travel-nav__top.is-current-section::after { transform: scaleX(1); }
.travel-nav__sub {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    display: none;
    width: 240px;
    padding: 8px;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-hover);
}
.travel-nav__sub::before { position: absolute; top: -9px; right: 0; left: 0; height: 9px; content: ""; }
.travel-nav__group:hover .travel-nav__sub, .travel-nav__group:focus-within .travel-nav__sub { display: grid; }
.travel-nav__sub a { min-height: 38px; padding: 8px 10px; border-radius: 4px; font-size: 13px; }
.travel-nav__sub a:hover, .travel-nav__sub a:focus-visible { color: var(--primary-dark); background: var(--sky-soft); }
.travel-nav__sub a.is-current { color: var(--primary-dark); background: var(--sky-soft); font-weight: 800; }
.travel-nav__note {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0 0 0 auto;
    color: var(--muted);
    font-size: 12px;
    white-space: nowrap;
}
.travel-nav__note i { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; }
.travel-nav__drawer-head, .travel-nav__backdrop { display: none; }

.site-footer { padding: 52px 0 20px; color: #dce6e9; background: var(--ink); }
.site-footer__grid { display: grid; grid-template-columns: 1.35fr .7fr 1fr; gap: 72px; }
.site-footer h2 { margin: 0 0 13px; color: #fff; font-size: 14px; }
.site-footer p { margin: 8px 0 0; color: #b5c2c7; }
.site-footer nav a { display: block; width: fit-content; margin: 6px 0; color: #dce6e9; }
.site-footer nav a:hover { color: var(--sun); }
.site-footer__brand > p { max-width: 380px; }
.footer-brand strong { color: #fff; }
.footer-brand small { color: #aebcc1; }
.footer-brand .travel-brand__sign { width: 38px; height: 38px; }
.site-footer__bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 38px;
    padding-top: 17px;
    color: #91a1a7;
    border-top: 1px solid #45545b;
    font-size: 12px;
}
.site-footer__bottom > span:last-child { text-align: right; }
.site-footer__copyright { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.site-footer__copyright a { padding-left: 12px; border-left: 1px solid #5b6a70; white-space: nowrap; }
.site-footer__bottom a:hover { color: var(--sun); }

@media (max-width: 900px) {
    html { scroll-padding-top: 76px; }
    body.nav-open { overflow: hidden; }
    .travel-header.has-fixed-nav { padding-bottom: 0; }
    .travel-header.is-mobile-stuck { min-height: var(--mobile-header-space); }
    .travel-header__row { grid-template-columns: minmax(0, 1fr) auto; gap: 12px; min-height: 70px; padding-top: 10px; }
    .travel-search { grid-column: 1 / -1; grid-row: 2; width: 100%; margin-bottom: 12px; }
    .nav-toggle { display: inline-flex; }
    .travel-header.is-mobile-stuck .travel-header__row {
        position: fixed;
        z-index: 101;
        top: 0;
        right: 0;
        left: 0;
        min-height: 60px;
        padding-top: 0;
        background: #fff;
        border-bottom: 1px solid var(--line);
        box-shadow: 0 7px 20px rgba(36, 50, 58, .1);
    }
    .travel-header.is-mobile-stuck .travel-search { display: none; }
    .travel-header.is-mobile-stuck .travel-brand__sign { width: 36px; height: 36px; }
    .travel-header.is-mobile-stuck .travel-brand__route { top: 17px; left: 8px; width: 22px; }
    .travel-header.is-mobile-stuck .travel-brand__end { right: 6px; bottom: 7px; }
    .travel-nav, .travel-nav.is-fixed, .travel-header.is-mobile-stuck .travel-nav.is-open {
        position: fixed;
        z-index: 110;
        top: 0;
        right: 0;
        bottom: 0;
        left: auto;
        display: block;
        width: min(88vw, 380px);
        height: 100vh;
        height: 100dvh;
        max-height: none;
        overflow-y: auto;
        color: var(--ink);
        background: #fff;
        border: 0;
        border-left: 1px solid var(--line);
        box-shadow: -14px 0 34px rgba(36, 50, 58, .18);
        overscroll-behavior: contain;
        visibility: hidden;
        pointer-events: none;
        transform: translateX(105%);
        transition: transform .24s ease, visibility .24s ease;
    }
    .travel-nav.is-open { visibility: visible; pointer-events: auto; transform: translateX(0); }
    .travel-nav__backdrop {
        position: fixed;
        z-index: 109;
        inset: 0;
        display: block;
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 0;
        background: rgba(36, 50, 58, .42);
        border: 0;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity .24s ease, visibility .24s ease;
    }
    body.nav-open .travel-nav__backdrop { opacity: 1; visibility: visible; pointer-events: auto; }
    .travel-nav__drawer-head {
        position: sticky;
        z-index: 2;
        top: 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 64px;
        padding: 0 14px 0 20px;
        background: #fff;
        border-bottom: 1px solid var(--line);
    }
    .travel-nav__drawer-head strong { font-size: 18px; }
    .travel-nav__close {
        display: grid;
        place-items: center;
        width: 44px;
        height: 44px;
        padding: 0;
        color: var(--muted);
        background: transparent;
        border: 0;
        border-radius: 4px;
        font-size: 28px;
        line-height: 1;
    }
    .travel-nav__close:hover, .travel-nav__close:focus-visible { color: var(--primary-dark); background: var(--sky-soft); }
    .travel-nav__inner { display: grid; grid-template-columns: 1fr; gap: 0; width: auto; margin: 0; padding: 10px 18px 28px; }
    .travel-nav__group { display: block; padding: 8px 0 12px; border-bottom: 1px solid var(--line); }
    .travel-nav__home { grid-column: auto; padding: 0; }
    .travel-nav__top, .travel-nav__home .travel-nav__top { display: flex; min-height: 48px; padding: 0; color: var(--primary-dark); }
    .travel-nav__top::after { display: none; }
    .travel-nav__sub { position: static; display: grid; grid-template-columns: 1fr 1fr; width: auto; padding: 0; border: 0; box-shadow: none; }
    .travel-nav__sub a { display: flex; align-items: center; min-height: 44px; padding: 7px 10px 7px 0; color: var(--muted); }
    .travel-nav__note { display: none; }
    .site-footer__grid { grid-template-columns: 1.2fr .8fr; gap: 36px; }
    .site-footer__grid > div:last-child { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
    .site-container { width: min(var(--max), calc(100% - 32px)); }
    .travel-header__row { min-height: 66px; }
    .travel-brand__sign { width: 36px; height: 36px; }
    .travel-brand__route { top: 17px; left: 8px; width: 22px; }
    .travel-brand__end { right: 6px; bottom: 7px; }
    .travel-brand strong { font-size: 18px; }
    .travel-brand small { font-size: 10px; }
    .travel-search input { font-size: 16px; }
    .travel-search button { min-width: 68px; padding: 0 14px; }
    .site-footer { padding-top: 42px; }
    .site-footer__grid { grid-template-columns: 1fr; gap: 28px; text-align: center; }
    .site-footer__grid > div:last-child { grid-column: auto; }
    .footer-brand { justify-content: center; }
    .site-footer__brand > p { margin-right: auto; margin-left: auto; }
    .site-footer nav a { margin-right: auto; margin-left: auto; }
    .site-footer__bottom { grid-template-columns: 1fr; justify-items: center; gap: 8px; text-align: center; }
    .site-footer__bottom > span:last-child { text-align: center; }
    .site-footer__copyright { justify-content: center; flex-wrap: wrap; gap: 8px 10px; }
    .site-footer__copyright a { padding-left: 10px; }
}

@media (max-width: 380px) {
    .travel-brand small { display: none; }
    .travel-nav__sub { grid-template-columns: 1fr; }
}
