/* Same design tokens and components as the golf site (D:\CLAUDE\golf-vn\site\style.css). */
:root {
  --green: #0b5d3b;
  --green-2: #12804f;
  --green-soft: #e8f3ec;
  --gold: #f2c14e;
  --ink: #15201a;
  --muted: #5f6d65;
  --line: #e2e8e4;
  --soft: #f5f8f6;
  --bg: #ffffff;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(16, 40, 28, .08);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 15px/1.6 -apple-system, "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { line-height: 1.25; margin: 0; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.link { color: var(--green); font-weight: 700; text-decoration: none; font-size: 14px; }

/* header */
.top { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top-in { max-width: 1180px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; gap: 14px; }
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; font-size: 18px; letter-spacing: .5px; }
.logo, .pill-btn, .wx-top { white-space: nowrap; flex: none; }
.top-nav { margin-left: auto; display: flex; gap: 18px; font-size: 14px; }
.top-nav a { text-decoration: none; color: var(--muted); white-space: nowrap; }
.top-nav a:hover, .top-nav a[aria-current="page"] { color: var(--green); }
@media (max-width: 1100px) { .top-nav a[href="#/s/cruise"], .top-nav a[href="#/s/local"] { display: none; } }
@media (max-width: 860px) { .top-nav { display: none; } .top-search { margin-left: auto; } }
.pill-btn { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--ink); background: #fff; border-radius: 10px; padding: 7px 14px; cursor: pointer; font-weight: 600; font-size: 14px; }
.pill-btn:hover { border-color: var(--green); color: var(--green); }
.wx-top { display: inline-flex; align-items: center; gap: 6px; border: 0; background: #07c160; color: #fff; border-radius: 10px; padding: 8px 13px; font-weight: 700; font-size: 14px; cursor: pointer; }
.wx-top:hover { background: #06ad56; }

/* loading */
.loading { display: flex; gap: 6px; justify-content: center; padding: 120px 0; }
.loading span { width: 9px; height: 9px; border-radius: 50%; background: var(--green-2); animation: b 1s infinite ease-in-out; }
.loading span:nth-child(2) { animation-delay: .15s; } .loading span:nth-child(3) { animation-delay: .3s; }
@keyframes b { 0%, 80%, 100% { opacity: .25; transform: scale(.8); } 40% { opacity: 1; transform: none; } }
.empty { padding: 80px 16px; text-align: center; color: var(--muted); }

/* home hero (slim, like the golf home) */
.hero { position: relative; height: min(40vh, 360px); min-height: 280px; overflow: hidden; color: #fff; }
.hero picture, .hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 30%, rgba(0,0,0,.58) 100%); }
.hero-text { position: absolute; left: 0; right: 0; bottom: 36px; z-index: 2; }
.hero h1 { font-size: clamp(30px, 5vw, 48px); font-weight: 800; text-shadow: 0 2px 16px rgba(0,0,0,.35); }
.hero p { font-size: clamp(14px, 1.6vw, 17px); margin: 6px 0 0; opacity: .95; max-width: 640px; }
.hero-cap { position: absolute; right: 16px; bottom: 12px; z-index: 2; font-size: 11px; opacity: .8; }

.sec-h { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin: 40px 0 18px; }
.sec-h h2 { font-size: 26px; }
.sec-h .muted { font-size: 14px; }

/* service entry cards (golf .entry with an icon) */
.entries { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.entry { display: grid; gap: 6px; align-content: start; text-decoration: none; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; background: #fff; box-shadow: var(--shadow); transition: transform .2s, border-color .2s; }
.entry:hover { border-color: var(--green); transform: translateY(-2px); }
.entry .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--green-soft); color: var(--green); display: grid; place-items: center; margin-bottom: 4px; }
.entry .ic svg { width: 24px; height: 24px; }
.entry b { font-size: 17px; }
.entry span { color: var(--muted); font-size: 13.5px; }
.entry em { font-style: normal; color: var(--green); font-weight: 700; font-size: 14px; margin-top: 4px; }

/* city rows on home (golf .dest-row + .rail) */
.dest-row { display: grid; grid-template-columns: 300px 1fr; gap: 32px; align-items: start; padding: 44px 0 8px; }
.dest-row > *, .vpage > *, .page-h > * { min-width: 0; }
.dest-row h2 { font-size: 38px; font-weight: 800; letter-spacing: 1px; }
.dest-row .en { font-size: 14px; color: var(--muted); letter-spacing: 2px; text-transform: uppercase; margin-top: 4px; }
.dest-row p { color: var(--muted); margin: 14px 0 18px; }
.btn-dark { display: inline-block; background: var(--ink); color: #fff; text-decoration: none; padding: 10px 18px; border-radius: 10px; font-weight: 600; font-size: 14px; border: 0; cursor: pointer; }
.btn-dark:hover { background: var(--green); }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, calc((100% - 48px) / 4)); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: thin; }
.rail > * { scroll-snap-align: start; }
.mini { text-decoration: none; display: block; }
.mini .ph { position: relative; aspect-ratio: 4/3; border-radius: 12px; overflow: hidden; background: var(--soft); }
.mini img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.mini:hover img { transform: scale(1.04); }
.mini b { display: block; margin-top: 10px; font-size: 16px; }
.mini span { display: block; font-size: 13px; color: var(--muted); }

.steps { background: var(--soft); margin-top: 56px; padding: 48px 0; }
.steps h2 { font-size: 28px; text-align: center; }
.steps .sub { text-align: center; color: var(--muted); margin: 8px 0 28px; }
.steps ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.steps li { background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); counter-increment: s; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 700; margin-bottom: 10px; }
.steps li b { display: block; font-size: 17px; margin-bottom: 4px; }

/* page header (golf destination page) */
.crumb { font-size: 12.5px; color: var(--muted); letter-spacing: .5px; margin: 20px 0 6px; }
.crumb a { text-decoration: none; color: var(--green); font-weight: 700; }
.page-h { display: grid; grid-template-columns: 1fr 300px; gap: 24px; align-items: start; padding: 4px 0 18px; }
.page-h h1 { font-size: 32px; font-weight: 800; }
.page-h .en { color: var(--muted); font-size: 14px; letter-spacing: 2px; text-transform: uppercase; margin-top: 2px; }
.page-h p { color: var(--muted); margin: 8px 0 0; }
.help { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; font-size: 13px; }
.help b { font-size: 15px; display: block; margin-bottom: 2px; }
.help .acts { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.help button { color: var(--green); background: none; border: 0; padding: 0; cursor: pointer; font-weight: 700; font-size: 13px; }

/* venue cards (golf .hcard) */
.venue-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding-bottom: 50px; }
.hcard { display: flex; flex-direction: column; text-decoration: none; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); background: #fff; transition: transform .2s, box-shadow .2s; }
.hcard:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(16, 40, 28, .12); }
.hcard .ph { position: relative; aspect-ratio: 16/10; background: var(--soft); }
.hcard .ph img { width: 100%; height: 100%; object-fit: cover; }
.hcard .ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.6)); }
.hcard .ph h3 { position: absolute; left: 16px; bottom: 12px; right: 16px; z-index: 2; color: #fff; font-size: 19px; text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.hcard .ph .tag { position: absolute; top: 12px; left: 12px; z-index: 2; background: var(--gold); color: #3a2a00; border-radius: 6px; padding: 2px 8px; font-size: 12px; font-weight: 800; }
.hcard .bd { padding: 12px 16px 14px; display: grid; gap: 8px; flex: 1; }
.hcard .bd p { margin: 0; font-size: 14px; color: #33423a; }
.facts { display: flex; flex-wrap: wrap; gap: 6px; }
.facts span { display: inline-flex; align-items: center; gap: 5px; background: var(--soft); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; font-size: 12.5px; }
.facts svg { width: 14px; height: 14px; color: var(--green); }
.hcard .go { margin-top: auto; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 10px; font-size: 13px; color: var(--muted); }
.hcard .go em { font-style: normal; color: var(--green); font-weight: 700; font-size: 14px; }

/* service / venue detail (golf package page: content + sticky side card) */
.vpage { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; padding-bottom: 60px; }
.vpage h1 { font-size: 30px; font-weight: 800; }
.vpage .en { color: var(--muted); font-size: 14px; letter-spacing: 2px; text-transform: uppercase; margin-top: 2px; }
.vpage .lead { color: #33423a; margin: 10px 0 0; }
.sec { margin-top: 28px; }
.sec > h2 { font-size: 20px; margin-bottom: 12px; display: flex; align-items: baseline; gap: 8px; }
.sec > h2 small { font-size: 13px; color: var(--muted); font-weight: 400; }
.gal { margin-top: 16px; }
.gal .main { position: relative; aspect-ratio: 16/10; border-radius: var(--radius); overflow: hidden; background: var(--soft); cursor: zoom-in; border: 0; padding: 0; width: 100%; display: block; }
.gal .main img { width: 100%; height: 100%; object-fit: cover; }
.gal .main .cnt { position: absolute; right: 10px; bottom: 10px; background: rgba(10, 20, 14, .72); color: #fff; font-size: 12px; font-weight: 700; border-radius: 6px; padding: 3px 9px; }
.gal .thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-top: 6px; }
.gal .thumbs button { padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; aspect-ratio: 4/3; background: var(--soft); }
.gal .thumbs button[aria-current="true"] { border-color: var(--green); }
.gal .thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gal .thumbs button { position: relative; }
.gal .thumbs .more-n { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(10, 20, 14, .6); color: #fff; font-weight: 700; }
.side-m { display: none; }
.sec-h.bars-h { margin-bottom: 0; margin-top: 48px; }

/* media grid: posters, menus, photos at their own aspect ratio */
.media { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; align-items: start; }
.media.one { grid-template-columns: minmax(0, 760px); }
.media.menus { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.shot { display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--soft); cursor: zoom-in; text-align: left; }
.shot img { width: 100%; height: auto; }
.menus .shot { aspect-ratio: 3/4; }
.menus .shot img { height: 100%; object-fit: cover; object-position: top; }
.shot figcaption { padding: 8px 12px; font-size: 13.5px; font-weight: 600; background: #fff; border-top: 1px solid var(--line); }
.vid { border-radius: 12px; overflow: hidden; background: #000; border: 1px solid var(--line); }
.vid video { display: block; width: 100%; aspect-ratio: 9/16; max-height: 70vh; background: #000; }
.more-btn { margin-top: 12px; }
.note-box { border: 1px dashed var(--line); background: var(--soft); border-radius: var(--radius); padding: 26px 20px; text-align: center; color: var(--muted); }

/* side card */
.side-card { border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; position: sticky; top: 76px; background: #fff; }
.side-card > b { font-size: 18px; display: block; }
.side-card ol { margin: 10px 0 14px; padding-left: 18px; color: var(--muted); font-size: 13.5px; }
.side-card ol li + li { margin-top: 2px; }
.btn-go { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; border: 0; background: var(--green-2); color: #fff; font-size: 16px; font-weight: 700; padding: 13px; border-radius: 12px; cursor: pointer; }
.btn-go:hover { background: var(--green); }
.btn-go svg { width: 18px; height: 18px; }
.side-card .w-foot { font-size: 12px; color: var(--muted); text-align: center; margin-top: 10px; }
.side-card .others { border-top: 1px solid var(--line); margin-top: 16px; padding-top: 12px; display: grid; gap: 4px; font-size: 14px; }
.side-card .others a { text-decoration: none; color: var(--green); font-weight: 600; padding: 3px 0; }

/* WeChat QR card (the image is the whole WeChat card: avatar, name, code) */
.qr { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.qr img { width: 100%; height: auto; }
.qr figcaption { display: grid; gap: 2px; justify-items: center; text-align: center; padding: 12px 14px 14px; border-top: 1px solid var(--line); background: linear-gradient(180deg, #f3fbf6, #fff); }
.qr figcaption b { display: inline-flex; align-items: center; gap: 6px; color: #07a352; font-size: 16px; }
.qr figcaption b svg { width: 19px; height: 19px; color: #07c160; }
.qr figcaption span { font-size: 12.5px; color: var(--muted); }
.qr.big { width: 300px; justify-self: end; }
.qr.in-sheet { width: min(300px, 100%); margin: 0 auto 14px; box-shadow: none; }
.qr-wrap { padding: 14px 18px 20px; }
.qr-wrap > p { margin: 0 0 14px; text-align: center; }
.qr-wrap .btn-go { text-decoration: none; max-width: 300px; margin: 0 auto; }

/* home: steps left, QR right */
.steps .book { display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: center; }
.steps .book h2, .steps .book .sub { text-align: left; }
.steps .book .sub { margin-bottom: 22px; }
.steps .book ol { grid-template-columns: 1fr; gap: 12px; }
.steps .book li { display: grid; grid-template-columns: 34px 1fr; column-gap: 14px; align-items: start; padding: 16px 18px; color: var(--muted); font-size: 14px; }
.steps .book li::before { grid-row: span 2; margin: 0; }
.steps .book li b { color: var(--ink); margin: 0; }

/* side card QR */
.side-qr { display: block; position: relative; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; cursor: zoom-in; }
.side-qr img { width: 100%; height: auto; }
.side-qr span { position: absolute; right: 8px; bottom: 8px; background: rgba(10, 20, 14, .7); color: #fff; font-size: 11.5px; border-radius: 6px; padding: 2px 8px; }

/* sheets (golf) */
.sheet { position: fixed; inset: 0; z-index: 60; background: rgba(10, 20, 14, .45); display: grid; place-items: center; padding: 16px; }
.sheet[hidden] { display: none; }
.sheet-card { background: #fff; border-radius: 16px; width: min(520px, 100%); max-height: 86vh; overflow: auto; box-shadow: var(--shadow); }
.sheet-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: 17px; }
.x { background: none; border: 0; font-size: 26px; line-height: 1; cursor: pointer; color: var(--muted); }
.menu-opt { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 12px 16px; text-decoration: none; border-bottom: 1px solid var(--line); }
.menu-opt:hover { background: var(--soft); }
.menu-opt .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--green-soft); color: var(--green); display: grid; place-items: center; }
.menu-opt .ic svg { width: 22px; height: 22px; }
.menu-opt b { display: block; }
.menu-opt span { font-size: 13px; color: var(--muted); }
.menu-opt i { font-style: normal; color: var(--muted); }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 90; background: rgba(8, 14, 10, .94); display: grid; grid-template-columns: 56px 1fr 56px; align-items: center; }
.lb[hidden] { display: none; }
.lb-fig { margin: 0; height: 100vh; display: grid; grid-template-rows: 1fr auto; align-items: center; justify-items: center; padding: 50px 0 14px; min-width: 0; }
.lb-fig img { max-width: 100%; max-height: calc(100vh - 110px); object-fit: contain; border-radius: 6px; }
.lb-fig figcaption { color: #dfe7e2; font-size: 13px; padding-top: 10px; text-align: center; }
.lb-fig figcaption a { color: #fff; margin-left: 10px; }
.lb-nav, .lb-x { background: none; border: 0; color: #fff; cursor: pointer; }
.lb-nav { font-size: 46px; height: 100%; opacity: .8; }
.lb-nav:hover { opacity: 1; }
.lb-nav:disabled { opacity: .15; cursor: default; }
.lb-x { position: absolute; top: 8px; right: 12px; font-size: 34px; z-index: 2; }

.foot { border-top: 1px solid var(--line); background: var(--soft); }
.foot-in { max-width: 1180px; margin: 0 auto; padding: 22px 16px 40px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

.mbar { display: none; }

@media (max-width: 1100px) {
  .entries { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .vpage { grid-template-columns: 1fr; }
  .side-card { position: static; }
  .side-d { display: none; }
  .side-m { display: block; margin-top: 28px; }
  .dest-row { grid-template-columns: 1fr; gap: 14px; }
  .page-h { grid-template-columns: 1fr; }
  .venue-grid { grid-template-columns: repeat(2, 1fr); }
  .mbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: #fff; border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); align-items: center; gap: 10px; box-shadow: 0 -4px 16px rgba(0,0,0,.06); }
  .mbar > div { flex: 1; min-width: 0; }
  .mbar b { display: block; font-size: 15px; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mbar small { color: var(--muted); display: block; font-size: 12px; }
  .mbar button { display: inline-flex; align-items: center; gap: 6px; border: 0; background: #07c160; color: #fff; font-weight: 700; border-radius: 10px; padding: 11px 16px; font-size: 15px; cursor: pointer; flex: none; }
  .mbar button svg { width: 18px; height: 18px; }
  .steps .book { grid-template-columns: 1fr; gap: 26px; }
  .qr.big { justify-self: center; width: min(300px, 100%); }
  .side-m .side-qr { max-width: 300px; margin: 0 auto; }
  body.has-mbar .foot-in { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}
@media (max-width: 680px) {
  button, a { -webkit-tap-highlight-color: rgba(11, 93, 59, .12); touch-action: manipulation; }
  .top-in { gap: 8px; padding: 8px 12px; }
  .logo svg { width: 26px; height: 26px; }
  .logo-t { font-size: 16px; }
  .top-search { margin-left: auto; padding: 6px 11px; font-size: 13px; min-height: 38px; }
  .wx-top { padding: 7px 10px; font-size: 13px; min-height: 38px; }
  .hero { height: 30vh; min-height: 210px; max-height: 260px; }
  .hero-text { bottom: 22px; }
  .hero h1 { font-size: 26px; }
  .hero p { font-size: 13px; margin-top: 4px; }
  .hero-cap { font-size: 10px; bottom: 6px; }
  .sec-h { margin: 26px 0 12px; }
  .sec-h h2 { font-size: 22px; }
  .entries { grid-template-columns: 1fr 1fr; gap: 10px; }
  .entry { padding: 12px 14px; gap: 2px; box-shadow: none; }
  .entry .ic { width: 38px; height: 38px; margin-bottom: 4px; }
  .entry b { font-size: 15px; }
  .entry span { font-size: 12.5px; }
  .entry em { font-size: 13px; }
  .entries .entry:last-child:nth-child(odd) { grid-column: span 2; }
  .dest-row { padding-top: 32px; }
  .dest-row h2 { font-size: 30px; }
  .dest-row p { font-size: 14px; margin: 10px 0 14px; }
  .rail { grid-auto-columns: 72%; scrollbar-width: none; padding-bottom: 2px; }
  .rail::-webkit-scrollbar { display: none; }
  .steps { margin-top: 40px; padding: 36px 0; }
  .steps ol { grid-template-columns: 1fr; }
  .page-h h1, .vpage h1 { font-size: 24px; }
  .venue-grid { grid-template-columns: 1fr; gap: 16px; }
  .gal .thumbs { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 22%; overflow-x: auto; scrollbar-width: none; }
  .gal .thumbs::-webkit-scrollbar { display: none; }
  .media { grid-template-columns: 1fr; }
  .media.menus { grid-template-columns: 1fr 1fr; }
  .media.posters { grid-template-columns: 1fr 1fr; gap: 10px; }
  .crumb a { display: inline-block; padding: 6px 0; }
  .lb { grid-template-columns: 1fr; }
  .lb-nav { display: none; }
  .lb-fig { padding: 50px 8px 14px; }
}
