:root {
  --ink: #12202d; --muted: #5a6b7b; --line: #e3e9ef; --bg: #fff; --alt: #f4f7fa;
  --night: #0b1d2c; --night2: #11314a; --aurora: #5ef2c2; --aurora2: #6aa8ff; --violet: #b78cff;
  --accent: #0e9f7e; --accent-d: #0a7d63; --warm: #ff8a5b;
  --r: 14px; --shadow: 0 6px 24px rgba(11, 29, 44, .08); --shadow-h: 0 14px 40px rgba(11, 29, 44, .16);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
/* Chinese: prefer proper CJK system fonts over the Latin stack's fallback glyphs */
:root:lang(zh-Hans) {
  --font: system-ui, -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Noto Sans SC", sans-serif;
}
:lang(zh-Hans) em { font-style: normal; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 17px; }
img { max-width: 100%; display: block; }
a { color: var(--accent-d); }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); margin: .2em 0 .3em; }
h2 { font-size: clamp(1.45rem, 3vw, 2rem); margin: 1.6em 0 .6em; }
h3 { font-size: 1.15rem; margin: .4em 0; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 40px); }
.center { text-align: center; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 10px; top: 10px; background: #fff; padding: 8px 12px; z-index: 99; }
.ic { width: 1.05em; height: 1.05em; vertical-align: -.15em; margin-right: .35em; flex: none; }
.ic-lg { width: 40px; height: 40px; color: var(--accent); }
.ic-xl { width: 56px; height: 56px; color: var(--aurora); }
.star { color: #f5b301; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: .3em; background: var(--accent); color: #fff; border: 0; border-radius: 999px;
  padding: .75em 1.4em; font: 600 1rem var(--font); text-decoration: none; cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s; }
.btn:hover { background: var(--accent-d); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(14, 159, 126, .35); }
.btn .ic { margin: 0 0 0 .2em; }
.btn-lg { font-size: 1.08rem; padding: .9em 1.7em; }
.btn-sm { padding: .5em 1.1em; font-size: .95rem; }
.btn-ghost { background: transparent; color: var(--accent-d); box-shadow: inset 0 0 0 2px currentColor; }
.btn-ghost:hover { background: rgba(14, 159, 126, .08); box-shadow: inset 0 0 0 2px currentColor; }
.btn-ghost.light { color: #fff; }
.btn-ghost.light:hover { background: rgba(255, 255, 255, .1); }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11, 29, 44, .92); backdrop-filter: blur(10px); color: #fff; }
.nav { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: .55em; color: #fff; text-decoration: none; font-size: 1.15rem; letter-spacing: .01em; }
.brand b { color: var(--aurora); font-weight: 700; }
.menu { display: flex; align-items: center; gap: 1.4em; }
.menu > a, .dd-btn { color: #dfe9f2; text-decoration: none; font: 500 .98rem var(--font); background: none; border: 0; cursor: pointer; padding: .4em 0; }
.menu > a:hover, .dd-btn:hover { color: #fff; }
.menu > a.btn { color: #fff; padding: .5em 1.1em; }
.dd { position: relative; }
.dd-btn::after { content: ""; display: inline-block; margin-left: .4em; border: 4px solid transparent; border-top-color: currentColor; vertical-align: -.1em; }
.dd-panel { position: absolute; top: 100%; left: -1em; min-width: 250px; background: #fff; border-radius: 12px; box-shadow: var(--shadow-h);
  padding: .5em; display: none; }
.dd.lang .dd-panel { left: auto; right: 0; min-width: 160px; }
.dd:hover .dd-panel, .dd.open .dd-panel { display: block; }
.dd-panel a { display: flex; align-items: center; color: var(--ink); text-decoration: none; padding: .55em .8em; border-radius: 8px; font-size: .96rem; }
.dd-panel a:hover, .dd-panel a[aria-current] { background: var(--alt); color: var(--accent-d); }
.dd-panel .ic { color: var(--accent); }
.menu-btn { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; padding: 8px; }
.menu-btn span { display: block; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; transition: .2s; }

/* hero + aurora sky */
.hero, .page-hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(ellipse at 50% 120%, var(--night2), var(--night) 70%); }
.hero { min-height: min(86vh, 760px); display: flex; align-items: center; }
.hero-in { position: relative; z-index: 2; padding: 90px 0 140px; max-width: 820px; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .85rem; color: var(--aurora); font-weight: 700; margin: 0; }
.hero h1 { font-size: clamp(2.3rem, 6vw, 4.2rem); text-shadow: 0 2px 30px rgba(0, 0, 0, .35); }
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.3rem); color: #d4e3ef; max-width: 640px; margin: 0 0 1.6em; }
.cta { display: flex; gap: 14px; flex-wrap: wrap; }
.trust { list-style: none; padding: 0; margin: 2.2em 0 0; display: flex; gap: 1.6em; flex-wrap: wrap; color: #c6d6e4; font-size: .95rem; }
.trust .ic { color: var(--aurora); }
.sky { position: absolute; inset: 0; pointer-events: none; }
.sky i { position: absolute; width: 140%; height: 60%; left: -20%; top: -10%; filter: blur(50px); opacity: .55; border-radius: 50%;
  background: linear-gradient(100deg, transparent 10%, var(--aurora) 35%, var(--aurora2) 55%, transparent 80%);
  transform-origin: 50% 100%; animation: aurora 18s ease-in-out infinite alternate; }
.sky i:nth-child(2) { top: 5%; opacity: .35; animation-duration: 24s; animation-delay: -6s;
  background: linear-gradient(80deg, transparent 15%, var(--violet) 40%, var(--aurora) 60%, transparent 85%); }
.sky i:nth-child(3) { top: 18%; height: 40%; opacity: .25; animation-duration: 30s; animation-delay: -12s; }
@keyframes aurora { 0% { transform: rotate(-6deg) translateX(-6%) scaleY(.8); } 50% { transform: rotate(3deg) translateX(4%) scaleY(1.1); } 100% { transform: rotate(-2deg) translateX(8%) scaleY(.9); } }
.stars { position: absolute; inset: 0; background-image:
  radial-gradient(1.5px 1.5px at 12% 22%, #fff 50%, transparent), radial-gradient(1px 1px at 28% 12%, #fff 50%, transparent),
  radial-gradient(1.2px 1.2px at 47% 30%, #fff 50%, transparent), radial-gradient(1px 1px at 63% 9%, #fff 50%, transparent),
  radial-gradient(1.6px 1.6px at 78% 26%, #fff 50%, transparent), radial-gradient(1px 1px at 88% 14%, #fff 50%, transparent),
  radial-gradient(1px 1px at 6% 44%, #fff 50%, transparent), radial-gradient(1.3px 1.3px at 92% 46%, #fff 50%, transparent),
  radial-gradient(1px 1px at 38% 48%, #fff 50%, transparent), radial-gradient(1px 1px at 70% 40%, #fff 50%, transparent);
  opacity: .7; }
.ridge { position: absolute; bottom: -1px; left: 0; width: 100%; height: 160px; z-index: 1; fill: #fff; }
@media (prefers-reduced-motion: reduce) { .sky i { animation: none; } html { scroll-behavior: auto; } }

.page-hero { padding: 64px 0 56px; }
.page-hero .wrap { position: relative; z-index: 2; max-width: 860px; margin-left: max(20px, calc((100% - 1180px) / 2)); }
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
.page-hero.small { padding: 44px 0 30px; }
.crumbs { font-size: .9rem; color: #a9c0d3; margin-bottom: 1em; }
.crumbs a { color: #cfe0ee; text-decoration: none; }
.crumbs.dark, .crumbs.dark a { color: var(--muted); }

/* sections */
.section { padding: 72px 0; }
.section.alt { background: var(--alt); }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 36px; }
.sec-head.left { text-align: left; margin-left: 0; }
.sec-head h2 { margin-top: 0; }
.sec-head p { color: var(--muted); font-size: 1.08rem; margin: 0; }

.exp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 20px; }
.exp-card { position: relative; display: flex; flex-direction: column; padding: 26px 24px; border-radius: var(--r); background: #fff; color: var(--ink);
  text-decoration: none; box-shadow: var(--shadow); border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; overflow: hidden; }
.exp-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--aurora), var(--aurora2)); }
.exp-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-h); }
.exp-card p { color: var(--muted); margin: .2em 0 1em; font-size: .98rem; flex: 1; }
.exp-card .more { color: var(--accent-d); font-weight: 600; font-size: .95rem; }
.exp-card .more .ic { margin: 0 0 0 .2em; transition: transform .2s; }
.exp-card:hover .more .ic { transform: translateX(4px); }
.exp-card.c2::before { background: linear-gradient(90deg, #ffd36b, #ff8a5b); }
.exp-card.c3::before { background: linear-gradient(90deg, #7fd3ff, #4a8bff); }
.exp-card.c4::before { background: linear-gradient(90deg, #bfe9ff, #7fb7ff); }
.exp-card.c5::before { background: linear-gradient(90deg, #5bc0de, #2a6fb0); }
.exp-card.c6::before { background: linear-gradient(90deg, #ffb3a1, #ff7aa8); }
.exp-card.c7::before { background: linear-gradient(90deg, #9be38f, #2fb37a); }
.exp-card.c8::before { background: linear-gradient(90deg, #c8a6ff, #7d6bff); }
.exp-grid.small .exp-card { padding: 20px; }

.seasons .two { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.season { border-radius: 20px; padding: 40px 36px; color: #fff; position: relative; overflow: hidden; }
.season h2 { margin: .4em 0 .4em; }
.season p { color: rgba(255, 255, 255, .88); }
.season a { color: #fff; font-weight: 600; text-decoration: none; }
.season .ic-lg { color: #fff; }
.season.winter { background: linear-gradient(140deg, #0b1d2c, #173f5f 60%, #1a6b6a); }
.season.summer { background: linear-gradient(140deg, #ff9a62, #f3c24f 55%, #7cc88c); }
.season.summer p, .season.summer a, .season.summer h2 { color: #1d2a33; }
.season.summer .ic-lg { color: #1d2a33; }

.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 28px; }
.why-grid p { color: var(--muted); margin: 0; }

.guide-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; margin-bottom: 30px; }
.guide-card { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: var(--r); background: #fff; border: 1px solid var(--line);
  color: var(--ink); text-decoration: none; transition: box-shadow .2s, transform .2s; }
.guide-card:hover { box-shadow: var(--shadow-h); transform: translateY(-2px); }
.guide-card h3 { margin-top: 0; }
.guide-card p { margin: 0; color: var(--muted); font-size: .96rem; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; }
.chips a { display: inline-flex; align-items: center; padding: .5em 1em; border-radius: 999px; background: var(--alt); color: var(--ink);
  text-decoration: none; font-size: .95rem; border: 1px solid var(--line); }
.chips a:hover { border-color: var(--accent); color: var(--accent-d); }
.chips .ic { color: var(--accent); }

/* tours */
.tour-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 22px; }
.tour-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow);
  color: var(--ink); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.tour-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-h); }
.tc-img { aspect-ratio: 4/3; background: linear-gradient(135deg, var(--night2), #1a6b6a); }
.tc-img img { width: 100%; height: 100%; object-fit: cover; }
.tc-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.tc-body h3 { font-size: 1.05rem; flex: 1; }
.tc-meta { display: flex; flex-wrap: wrap; gap: 14px; color: var(--muted); font-size: .9rem; margin: .4em 0; }
.tc-meta.big { font-size: 1rem; margin-bottom: 1.2em; }
.tc-price { color: var(--ink); font-size: .95rem; }
.tc-price b { font-size: 1.1rem; }
.tour-page { padding: 30px 0 60px; }
.tour-page h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 180px; gap: 8px; border-radius: var(--r); overflow: hidden; margin-bottom: 30px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery img:first-child { grid-row: span 2; }
.tour-cols { display: grid; grid-template-columns: 1fr 420px; gap: 40px; align-items: start; }
.book { position: sticky; top: 86px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px; box-shadow: var(--shadow); }
.book h2 { margin-top: 0; font-size: 1.3rem; }

/* article */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; padding: 50px 0 30px; }
.prose { font-size: 1.07rem; }
.prose h2 { margin-top: 1.8em; scroll-margin-top: 90px; }
.prose h3 { margin-top: 1.4em; }
.prose p, .prose li { color: #2a3a48; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .35em 0; }
.prose blockquote { margin: 1.4em 0; padding: 1em 1.3em; border-left: 4px solid var(--aurora); background: var(--alt); border-radius: 0 10px 10px 0; }
.prose blockquote p { margin: 0; }
.prose table { border-collapse: collapse; width: 100%; margin: 1.2em 0; font-size: .97rem; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: .6em .7em; text-align: left; vertical-align: top; }
.prose th { background: var(--alt); }
.prose .lead, .lead { font-size: 1.18rem; color: var(--ink); }
.updated, .fine { color: var(--muted); font-size: .9rem; }
.side { position: sticky; top: 90px; align-self: start; display: grid; gap: 18px; }
.side-box { border: 1px solid var(--line); border-radius: var(--r); padding: 20px; background: #fff; }
.side-box h2 { font-size: 1rem; margin: 0 0 .6em; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.toc a { display: block; color: var(--ink); text-decoration: none; padding: .3em 0; font-size: .95rem; border-left: 2px solid var(--line); padding-left: .8em; }
.toc a:hover { border-color: var(--accent); color: var(--accent-d); }
.cta-box { background: linear-gradient(150deg, var(--night), #174a5e); color: #fff; border: 0; }
.cta-box h2 { color: var(--aurora); }
.cta-box p { color: #d6e4ee; font-size: .97rem; }
.faq details { border: 1px solid var(--line); border-radius: 12px; padding: 0 1.1em; margin: .7em 0; background: #fff; }
.faq summary { cursor: pointer; font-weight: 600; padding: 1em 0; list-style: none; position: relative; padding-right: 1.6em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: .8em; font-size: 1.3rem; color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq details div { padding-bottom: .6em; }
.page-body { padding: 40px 0 10px; }
.checks { list-style: none; padding: 0; }
.checks li { display: flex; gap: .3em; }
.checks .ic { color: var(--accent); margin-top: .3em; }

.aurora-cta { display: flex; align-items: center; gap: 16px; padding: 18px 20px; margin: 0 0 1.6em; border-radius: var(--r); text-decoration: none;
  background: linear-gradient(135deg, var(--night), #174a5e 60%, #1a6b6a); color: #fff; box-shadow: var(--shadow); }
.aurora-cta .ic-lg { color: var(--aurora); flex: none; }
.aurora-cta > span:nth-child(2) { display: flex; flex-direction: column; gap: 4px; flex: 1; font-size: .97rem; color: #d6e4ee; }
.aurora-cta b { color: #fff; font-size: 1.1rem; }
.aurora-cta .btn { flex: none; }
@media (max-width: 640px) { .aurora-cta { flex-direction: column; align-items: flex-start; } }

/* inquiry */
.inquire { background: linear-gradient(160deg, var(--night), #12384f); color: #fff; padding: 70px 0; }
.inquire h2 { margin-top: 0; text-align: center; }
.inquire .lead { color: #cfe0ec; text-align: center; margin-bottom: 1.6em; }
.form { display: grid; gap: 14px; }
.form .row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.form label { display: grid; gap: 6px; font-size: .92rem; color: #cfe0ec; }
.form input, .form textarea { font: inherit; padding: .75em .9em; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .07); color: #fff; }
.form input::placeholder, .form textarea::placeholder { color: #8fa9bd; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--aurora); border-color: transparent; }
.form .btn { justify-self: start; }
.form .fine { color: #9fb6c8; margin: 0; }
.hp { position: absolute; left: -9999px; }
.note { padding: .9em 1.1em; border-radius: 10px; }
.note.ok { background: rgba(94, 242, 194, .15); color: #c9ffe9; }
.note.err { background: rgba(255, 122, 122, .18); color: #ffd5d5; }

/* footer */
.site-footer { background: #08151f; color: #9fb3c3; padding: 56px 0 24px; font-size: .95rem; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.foot h3 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; margin-top: .3em; }
.foot a { display: block; color: #9fb3c3; text-decoration: none; padding: .2em 0; }
.foot a:hover { color: #fff; }
.foot .brand { display: flex; color: #fff; }
.foot-langs { margin-top: 1em; display: flex; flex-wrap: wrap; gap: 0 .9em; }
.lic { color: #cfe0ee; }
.lic-badge { display: inline-block; margin-top: 1.8em; }
.lic-badge img { display: block; width: 190px; height: auto; border-radius: 10px; }
.copy { border-top: 1px solid #1a2c3b; margin-top: 36px; padding-top: 18px; font-size: .88rem; }

.consent { position: fixed; bottom: 16px; left: 16px; right: 16px; max-width: 640px; margin: auto; z-index: 90; background: #fff; color: var(--ink);
  border-radius: 14px; box-shadow: var(--shadow-h); padding: 18px 20px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.consent p { margin: 0; flex: 1 1 280px; font-size: .93rem; }
.consent div { display: flex; gap: 10px; }

.langbar { display: flex; gap: 12px; align-items: center; justify-content: center; flex-wrap: wrap; padding: 8px 16px;
  background: #0b1d2c; color: #fff; font-size: .92rem; }
.langbar[hidden] { display: none; }
.langbar p { margin: 0; }
.langbar div { display: flex; gap: 8px; }
.langbar .btn-ghost { color: #fff; border-color: rgba(255,255,255,.4); }

/* chat assistant */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.chat-fab { position: fixed; right: 20px; bottom: 20px; z-index: 80; display: inline-flex; align-items: center; gap: .5em;
  padding: .8em 1.2em .8em 1em; border: 0; border-radius: 999px; cursor: pointer; font: 600 .98rem var(--font); color: #fff;
  background: linear-gradient(135deg, var(--night), #174a5e 70%, #1a6b6a); box-shadow: 0 10px 30px rgba(11, 29, 44, .35), inset 0 0 0 1px rgba(94, 242, 194, .35);
  transition: transform .15s, box-shadow .15s; }
.chat-fab svg { width: 22px; height: 22px; color: var(--aurora); }
.chat-fab:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(11, 29, 44, .4), inset 0 0 0 1px rgba(94, 242, 194, .6); }
.chat-fab:focus-visible, .chat-icon:focus-visible, .chat-send:focus-visible, .chat-sugg button:focus-visible { outline: 3px solid var(--aurora); outline-offset: 2px; }
.chat-fab.on { display: none; }
.chat-panel { position: fixed; right: 20px; bottom: 20px; z-index: 85; width: min(400px, calc(100vw - 32px)); height: min(620px, calc(100vh - 100px));
  display: flex; flex-direction: column; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 24px 60px rgba(11, 29, 44, .35); }
.chat-panel[hidden] { display: none; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 12px 10px 12px 14px; color: #fff; position: relative;
  background: radial-gradient(ellipse at 20% -40%, rgba(94, 242, 194, .45), transparent 60%), linear-gradient(140deg, var(--night), var(--night2)); }
.chat-av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); flex: none; }
.chat-hd { flex: 1; display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.chat-hd small { color: #a9c0d3; font-size: .8rem; }
.chat-icon { background: none; border: 0; color: #cfe0ee; width: 36px; height: 36px; border-radius: 10px; cursor: pointer; display: grid; place-items: center; }
.chat-icon:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.chat-icon svg { width: 20px; height: 20px; }
.chat-log { flex: 1; overflow-y: auto; padding: 16px 14px 8px; background: var(--alt); display: flex; flex-direction: column; gap: 10px; font-size: .95rem; }
.chat-msg { max-width: 88%; padding: .65em .95em; border-radius: 16px; line-height: 1.5; overflow-wrap: anywhere; }
.chat-msg p { margin: 0 0 .5em; } .chat-msg p:last-child { margin-bottom: 0; }
.chat-msg ul { margin: .3em 0 .5em; padding-left: 1.2em; } .chat-msg li { margin: .2em 0; }
.chat-msg.bot { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 6px; color: var(--ink); }
.chat-msg.me { align-self: flex-end; background: var(--night2); color: #fff; border-bottom-right-radius: 6px; white-space: pre-wrap; }
.chat-msg.warn { background: #fff7f2; border-color: #ffd9c7; }
.chat-msg a { color: var(--accent-d); font-weight: 600; }
.chat-ho-link { font-size: .88rem; margin-top: .4em !important; }
.chat-dots { display: inline-flex; gap: 4px; padding: .3em 0; }
.chat-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); opacity: .4; animation: chatdot 1.2s infinite; }
.chat-dots i:nth-child(2) { animation-delay: .2s; } .chat-dots i:nth-child(3) { animation-delay: .4s; }
@keyframes chatdot { 0%, 80%, 100% { opacity: .25; transform: none; } 40% { opacity: 1; transform: translateY(-3px); } }
@media (prefers-reduced-motion: reduce) { .chat-dots i { animation: none; opacity: .7; } }
.chat-sugg { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 8px; background: var(--alt); }
.chat-sugg:empty { display: none; }
.chat-sugg button { font: 500 .86rem var(--font); padding: .45em .85em; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  color: var(--ink); cursor: pointer; text-align: left; }
.chat-sugg button:hover { border-color: var(--accent); color: var(--accent-d); }
.chat-form { display: flex; align-items: flex-end; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); background: #fff; }
.chat-form[hidden] { display: none; }
.chat-form textarea { flex: 1; resize: none; font: inherit; font-size: 16px; line-height: 1.4; padding: .6em .8em; border-radius: 12px;
  border: 1px solid var(--line); background: var(--alt); color: var(--ink); max-height: 120px; }
.chat-form textarea:focus { outline: 2px solid var(--accent); border-color: transparent; background: #fff; }
.chat-send { flex: none; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--accent); color: #fff; cursor: pointer; display: grid; place-items: center; }
.chat-send:hover { background: var(--accent-d); }
.chat-send svg { width: 20px; height: 20px; }
.chat-fine { margin: 0; padding: 0 14px 10px; font-size: .74rem; color: var(--muted); background: #fff; }
.chat-fine a { color: var(--muted); }
.chat-ho { align-self: stretch; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: grid; gap: 8px; font-size: .92rem; }
.chat-ho p { margin: 0; color: var(--muted); }
.chat-ho label { display: grid; gap: 4px; font-weight: 500; }
.chat-ho input, .chat-ho textarea { font: inherit; font-size: 16px; padding: .5em .7em; border: 1px solid var(--line); border-radius: 10px; }
.chat-ho label.chk { display: flex; gap: .5em; align-items: flex-start; font-weight: 400; color: var(--muted); }
.chat-ho label.chk input { margin-top: .3em; }
.chat-ho .btn { justify-self: start; }
.chat-ho .ok { color: var(--accent-d); font-weight: 600; }
.chat-ho-msg { color: #b0431c !important; }
@media (max-width: 520px) {
  .chat-fab { right: 14px; bottom: 14px; padding: .85em; }
  .chat-fab span { display: none; }
  .chat-panel { inset: 0; width: 100%; height: 100%; border-radius: 0; }
}

/* photo lightbox (static/lightbox.js) */
.gallery { position: relative; }
.gallery[data-lightbox] img { cursor: zoom-in; }
.gallery[data-lightbox] img:focus-visible { outline: 3px solid var(--aurora); outline-offset: -3px; }
.gallery-more { position: absolute; right: 12px; bottom: 12px; background: rgba(11, 29, 44, .78); color: #fff; font-weight: 700;
  padding: .3em .8em; border-radius: 999px; pointer-events: none; }
.lb { position: fixed; inset: 0; z-index: 1000; background: rgba(5, 12, 20, .94); display: flex; align-items: center; justify-content: center;
  touch-action: pan-y pinch-zoom; }
.lb[hidden] { display: none; }
.lb-fig { margin: 0; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 56px 64px 40px; }
.lb-fig img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; box-shadow: 0 10px 40px rgba(0, 0, 0, .5); }
.lb-count { color: #c9d6e2; font-size: .95rem; margin-top: 12px; min-height: 1.2em; }
.lb-close, .lb-nav { position: absolute; border: 0; cursor: pointer; color: #fff; background: rgba(255, 255, 255, .12); border-radius: 999px;
  display: flex; align-items: center; justify-content: center; line-height: 1; }
.lb-close:hover, .lb-nav:hover { background: rgba(255, 255, 255, .24); }
.lb-close { top: max(14px, env(safe-area-inset-top)); right: 14px; width: 48px; height: 48px; font-size: 32px; }
.lb-nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 40px; padding-bottom: 4px; }
.lb-nav[hidden] { display: none; }
.lb-prev { left: 12px; }
.lb-next { right: 12px; }
html.lb-open { overflow: hidden; }
@media (max-width: 640px) {
  .lb-fig { padding: 64px 8px 76px; }
  .lb-nav { top: auto; bottom: max(14px, env(safe-area-inset-bottom)); transform: none; }
  .lb-prev { left: calc(50% - 64px); }
  .lb-next { right: calc(50% - 64px); }
}

/* aurora forecast page (content from the nordurljos app, see aurora.html) */
.page-hero .nl-hero-wrap { max-width: 1180px; margin-inline: auto; }
.nl-page { padding: 28px 0 64px; }
.nl-tours { margin: 8px 0 26px; }
.nl-tours .sec-head { margin-bottom: 20px; }
.nl-tours-more { margin: 20px 0 0; }

/* responsive */
@media (max-width: 960px) {
  .article-layout, .tour-cols { grid-template-columns: 1fr; }
  .side, .book { position: static; }
  .foot { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .menu-btn { display: block; }
  .menu { position: fixed; inset: 66px 0 auto 0; background: var(--night); flex-direction: column; align-items: stretch; gap: 0;
    padding: 10px 20px 24px; max-height: calc(100vh - 66px); overflow: auto; display: none; }
  .menu.open { display: flex; }
  .menu > a, .dd-btn { padding: .9em 0; border-bottom: 1px solid #1d3346; text-align: left; width: 100%; }
  .menu > a.btn { margin-top: 14px; justify-content: center; }
  .dd-panel { position: static; box-shadow: none; background: transparent; padding: 0 0 0 .6em; display: none; min-width: 0; }
  .dd:hover .dd-panel { display: none; }
  .dd.open .dd-panel { display: block; }
  .dd-panel a { color: #cfe0ee; }
  .dd-panel a:hover { background: #12293b; color: #fff; }
  .seasons .two { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; }
  .section { padding: 54px 0; }
  .hero-in { padding: 60px 0 120px; }
  body { font-size: 16px; }
}
@media (max-width: 520px) { .foot { grid-template-columns: 1fr; } .guide-list { grid-template-columns: 1fr; } }
