/* V9 visual layer; existing database and application logic retained. */
:root{--ink:#172e35;--muted:#62737a;--paper:#f7f9f9;--line:#e1e8e8;--radius:18px;--shadow:0 8px 28px #17383b0b}
body{font-family:system-ui,'Microsoft YaHei','PingFang SC',sans-serif;font-size:15px;line-height:1.6;background:var(--paper);padding-bottom:0}
header{box-shadow:none;background:#fff;border-bottom:1px solid var(--line)}
.nav{max-width:1360px;display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:12px 22px;padding:17px 32px 0;align-items:center}
.brand{font-size:22px;letter-spacing:1px;justify-self:start;min-width:0}.brand img{max-height:52px;max-width:92px}.brand-text{display:flex;flex-direction:column;line-height:1.02;gap:4px}.brand-top{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}.brand-en{font-size:21px;font-weight:800;letter-spacing:1px;color:var(--teal)}.brand-cn{font-size:24px;font-weight:800;letter-spacing:1px;color:var(--ink)}.brand-sub{font-size:11px;letter-spacing:2.2px;color:var(--muted)}.brand small{font-size:10px;letter-spacing:2.4px}.language{justify-self:end;padding:6px 10px;border-radius:999px;border:1px solid var(--line)}.sales-advisor{grid-column:3;grid-row:1;justify-self:end}.nav nav{grid-column:1/-1;display:flex;justify-content:flex-start;gap:26px;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin}.nav nav button{white-space:nowrap;border-radius:0;padding:11px 0 13px;font-size:14px;color:var(--muted);font-weight:650}.nav nav button.active{color:var(--teal);box-shadow:inset 0 -3px var(--teal)}
main{max-width:1360px;padding:24px 32px 64px}.hero{min-height:370px;padding:46px 52px 66px;border-radius:22px;background:linear-gradient(125deg,#12383e,#105a5e 70%,#267875);box-shadow:var(--shadow);display:flex;gap:28px;align-items:center;overflow:hidden}.hero-copy{position:relative;z-index:1;max-width:650px;flex:1;min-width:0}.hero h1{font-size:clamp(34px,4vw,58px);letter-spacing:-1px;line-height:1.12;overflow-wrap:anywhere}.hero p{font-size:16px;max-width:58ch}.hero-link,.hero-copy button{display:inline-block;margin-top:22px;background:white;color:#12383e;border-radius:9px;border:0;padding:11px 19px;text-decoration:none}.hero-media{flex:1.1;min-width:0;display:flex;align-items:center;justify-content:center;z-index:1}.hero-media img{width:100%;height:clamp(200px,28vw,390px);object-fit:contain;display:block;border-radius:10px}.hero.with-art{background:linear-gradient(125deg,#12383e,#105a5e);min-height:340px}.hero.with-art .hero-copy{flex:.85}.hero.with-art h1{font-size:clamp(28px,3.2vw,48px)}.hero .eyebrow{letter-spacing:2px;font-size:11px;color:#c7e3df}.banner-controls{bottom:20px;right:26px}.banner-controls button{border-radius:8px;min-height:34px}
.filters{margin:-25px 30px 40px;padding:24px;border-radius:16px;border-color:#dce6e4;box-shadow:0 12px 35px #17383b14}.fields{grid-template-columns:1.65fr 1fr 1fr 1fr auto;gap:12px}.fields label,.advanced-fields label{color:var(--ink);font-size:12px;letter-spacing:.15px;margin-bottom:6px}.fields input,.fields select,.advanced-fields select{height:46px;background:#f8faf9;border:1px solid #dce6e4;border-radius:9px;padding:10px 12px}.fields button{min-height:46px;padding:11px 21px;border-radius:9px}.filter-actions{margin-top:10px}.filter-actions .muted{font-size:12px}.filter-actions button{border:0;padding-left:0;text-decoration:underline;text-underline-offset:3px}#advanced{padding:13px 0 0;margin-top:15px}#advanced summary{font-size:13px}.chips button{border-radius:999px;padding:7px 13px}
.destination-section,.home-section{margin:42px 0 48px}.section-head{margin-bottom:18px;align-items:center}.section-head h2,.bar h2{font-size:clamp(22px,2.4vw,31px);letter-spacing:-.5px;line-height:1.25}.section-head .eyebrow{letter-spacing:2px}.section-head button{background:transparent;border:0;font-size:13px;padding:10px 0;white-space:nowrap}.dest-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}.dest-card{min-height:170px;aspect-ratio:1.38;border-radius:15px;padding:16px;transition:transform .18s ease}.dest-card:after{background:linear-gradient(0deg,#092e35e6,transparent 80%)}.dest-card b{font-size:21px}.dest-card span{font-size:12px}.dest-card:hover{transform:translateY(-3px)}
.grid,.home-section .grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.tour{border-radius:17px;box-shadow:var(--shadow);transition:box-shadow .18s ease,transform .18s ease;min-width:0}.tour:hover{box-shadow:0 12px 28px #17383b15;transform:translateY(-3px)}.cover{height:auto;aspect-ratio:16/10;background:var(--cover);padding:18px}.cover.has-image{background:#edf2f2}.cover.has-image img{object-fit:contain}.cover.has-image:before{background:linear-gradient(180deg,#15333b80,transparent 30%);pointer-events:none}.cover.has-image strong,.cover.has-image>span:not(.cover-label){display:none}.cover.has-image .cover-label{display:block}.cover .cover-label{position:absolute;top:12px;left:12px;background:#fff;color:#17474a;border-radius:6px;padding:5px 9px;font-weight:750;font-size:11px;z-index:2}.content{padding:20px;gap:8px}.content h3{font-size:20px;line-height:1.4;margin:0;overflow-wrap:anywhere}.content .muted{font-size:12px;overflow-wrap:anywhere}.tag{border-radius:999px;padding:4px 9px;background:#eff5f4;font-size:11px}.departure-list{padding:12px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:13px;display:grid;gap:6px}.status{font-size:12px;font-weight:700}.price{font-size:29px;font-weight:800;letter-spacing:-.75px;font-variant-numeric:tabular-nums}.price small{letter-spacing:0;font-size:12px}.content .price{margin-top:auto;margin-bottom:3px;padding-top:8px}.content button{border-radius:9px;padding:12px;margin-top:0}.campaign-card{border-radius:17px;box-shadow:var(--shadow)}.campaign-card img{object-fit:contain;background:#eef3f3}.bar{margin:36px 0 16px}.bar select{max-width:100%;border-radius:9px}.empty{border-radius:14px;padding:28px;color:var(--muted)}.panel{border-radius:17px;padding:25px;box-shadow:var(--shadow)}.detail-head{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:32px}.detail-head .cover{height:auto;aspect-ratio:4/3;border-radius:12px}.detail-head h1{font-size:clamp(25px,3vw,40px);line-height:1.22;margin:8px 0;overflow-wrap:anywhere}.detail-head .price{font-size:36px}.tabs{top:112px;gap:7px;flex-wrap:nowrap;overflow:auto;scrollbar-width:thin}.tabs button{white-space:nowrap;border-radius:8px;min-height:42px}.tour-gallery{gap:14px}.tour-gallery img{border-radius:12px}.scroll{border:1px solid var(--line);border-radius:12px}th{background:#edf4f3;color:var(--muted);font-weight:700}th,td{padding:13px 12px}tbody tr:last-child td{border-bottom:0}.formgrid input,.formgrid select{min-height:44px}.pdf-quick{padding:8px 12px;border:1px solid var(--line);border-radius:8px;text-decoration:none}.company-info{max-width:1360px;padding:36px 32px;gap:32px}.company-info h2{font-size:17px}.company-bottom{padding:17px 28px}.floating-wa{position:fixed;right:24px;bottom:24px;z-index:6;display:flex;align-items:center;gap:9px;max-width:calc(100vw - 32px);padding:12px 19px;background:#117b49;color:#fff;text-decoration:none;border-radius:999px;box-shadow:0 6px 24px #145b3a40;font-weight:750;font-size:14px}.floating-wa svg{width:22px;height:22px;flex:none}.floating-wa span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:170px}body:has(.floating-wa:not(.hidden)){padding-bottom:66px}
@media(max-width:1050px){.nav{padding:14px 24px 0}.nav nav{gap:20px}main{padding:20px 24px 48px}.fields{grid-template-columns:1fr 1fr}.fields>div:first-child{grid-column:1/-1}.dest-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.hero{padding:34px 34px 65px;min-height:300px}.filters{margin:-18px 18px 30px}.grid,.home-section .grid{gap:15px}.content{padding:16px}}
@media(max-width:760px){.nav{grid-template-columns:minmax(0,1fr) auto;gap:8px 10px;padding:12px 16px 0}.brand{font-size:17px;gap:8px;letter-spacing:.5px}.brand img{max-width:57px;max-height:42px}.brand-text{gap:2px}.brand-top{gap:6px}.brand-en{font-size:15px;letter-spacing:.5px}.brand-cn{font-size:18px;letter-spacing:.5px}.brand-sub{font-size:8.5px;letter-spacing:1.1px}.brand small{font-size:9px;letter-spacing:1.4px}.language{font-size:12px;margin-left:0;padding:4px 8px}.sales-advisor{grid-column:1/-1;grid-row:auto;justify-self:end;order:0}.nav nav{order:2;gap:18px;width:100%;margin-top:0}.nav nav button{font-size:13px;padding:9px 0 11px}.nav nav::-webkit-scrollbar{height:3px}header{position:static}main{padding:14px 16px 42px}.hero,.hero.with-art{min-height:250px;padding:26px 24px 58px;display:flex;flex-direction:column;align-items:stretch;gap:14px;border-radius:17px}.hero-copy{max-width:none}.hero h1,.hero.with-art h1{font-size:32px}.hero p{font-size:14px}.hero-media img{height:auto;max-height:300px;object-fit:contain}.hero-link,.hero-copy button{margin-top:13px;font-size:13px;padding:9px 12px}.banner-controls{bottom:12px;right:12px}.filters{margin:12px 0 28px;padding:16px;border-radius:14px}.fields{gap:9px}.fields button{grid-column:1/-1}.advanced-fields{gap:10px}.section-head h2,.bar h2{font-size:23px}.destination-section,.home-section{margin:30px 0 34px}.dest-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.dest-card{min-height:115px;padding:13px}.dest-card b{font-size:18px}.grid,.home-section .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.detail-head{grid-template-columns:1fr;gap:16px}.detail-head .cover{aspect-ratio:16/10}.panel{padding:17px}.tabs{top:0}.company-info{grid-template-columns:1fr;padding:24px 16px;gap:16px}.floating-wa{right:14px;bottom:14px;padding:11px 15px;font-size:13px}.bar{margin-top:28px}.bar select{font-size:13px}}
@media(max-width:520px){.grid,.home-section .grid{grid-template-columns:minmax(0,1fr)}.cover{aspect-ratio:16/10;height:auto}.content h3{font-size:20px}.hero h1,.hero.with-art h1{font-size:30px}.hero-media img{max-height:260px}.detail-head .cover{height:auto}.fields input,.fields select{font-size:14px}.fields label{font-size:11px}.floating-wa span{max-width:135px}}
@media(prefers-reduced-motion:reduce){.tour,.dest-card{transition:none}.tour:hover,.dest-card:hover{transform:none}}

/* V9.3 — restore single-row desktop navigation; larger bilingual wordmark. */
.nav .brand{flex-shrink:0;gap:14px;min-width:0}
.nav .brand img{width:auto;height:74px;max-height:74px;max-width:112px;object-fit:contain;flex:none}
.nav .brand-text{gap:3px;line-height:1.12;min-width:0}
.nav .brand-top{display:flex;align-items:baseline;flex-wrap:nowrap;gap:10px;white-space:nowrap}
.nav .brand-cn{font-size:29px;font-weight:850;letter-spacing:.5px;color:var(--ink)}
.nav .brand-en{font-size:27px;font-weight:850;letter-spacing:1px;color:var(--teal)}
.nav .brand-sub{font-size:12px;font-weight:750;letter-spacing:2.1px;margin-top:0}
.nav .language{flex:none;padding:0;border:0;border-radius:0;font-size:14px;gap:8px}
@media(min-width:1200px){
  .nav{display:flex;flex-wrap:nowrap;align-items:center;justify-content:space-between;max-width:1360px;min-height:92px;padding:12px 28px;gap:clamp(13px,1.5vw,24px)}
  .nav nav{display:flex;flex:0 1 auto;min-width:0;justify-content:flex-start;align-items:center;gap:clamp(11px,1.35vw,23px);flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}
  .nav nav::-webkit-scrollbar{display:none}
  .nav nav button{flex:none;white-space:nowrap;border-radius:8px;padding:8px 3px;font-size:15px;color:var(--ink);font-weight:700}
  .nav nav button.active{color:var(--teal);box-shadow:inset 0 -2px var(--teal)}
  .nav .sales-advisor{flex:0 1 auto;max-width:220px;min-width:0}
  .nav .sales-advisor span{overflow-wrap:anywhere}
  html[lang="en"] .nav nav{gap:clamp(8px,1vw,16px)}
  html[lang="en"] .nav nav button{font-size:14px}
}
@media(max-width:1199px){
  .nav{padding-top:12px}
  .nav .brand img{height:64px;max-height:64px;max-width:94px}
  .nav .brand-cn{font-size:26px}.nav .brand-en{font-size:24px}
  .nav nav{grid-column:1/-1;width:100%}
}
@media(max-width:760px){
  .nav{padding:10px 16px 0;gap:8px 10px}
  .nav .brand{gap:8px;min-width:0;max-width:100%}
  .nav .brand img{height:52px;max-height:52px;max-width:64px}
  .nav .brand-top{gap:6px}
  .nav .brand-cn{font-size:clamp(17px,5vw,24px);letter-spacing:0}
  .nav .brand-en{font-size:clamp(16px,4.6vw,22px);letter-spacing:.4px}
  .nav .brand-sub{font-size:10px;letter-spacing:1.1px}
  .nav .language{font-size:12px;gap:5px;margin-left:0}
  .nav .sales-advisor{grid-column:1/-1;grid-row:auto;max-width:100%;justify-self:end}
}
@media(max-width:360px){
  .nav{padding-left:10px;padding-right:10px;column-gap:6px}
  .nav .brand{gap:6px}.nav .brand img{height:44px;max-height:44px;max-width:49px}
  .nav .brand-cn{font-size:17px}.nav .brand-en{font-size:15px}.nav .brand-top{gap:5px}
  .nav .brand-sub{font-size:9px;letter-spacing:.8px}
}


/* V9.4 — image-first, non-overlapping homepage campaign hero. */
#hero{display:grid;grid-template-columns:minmax(0,1fr);gap:0;min-height:300px;padding:0;position:relative;background:#123b40!important;isolation:isolate;border-radius:24px;overflow:hidden;box-shadow:0 12px 32px #17383b16;color:#fff}
#hero:after{content:none}
#hero .hero-copy{padding:clamp(26px,3.6vw,52px);max-width:none;min-width:0;align-self:center;overflow-wrap:anywhere}
#hero .eyebrow{font-size:11px;letter-spacing:2.3px;color:#c0ded8;font-weight:750}
#hero h1{font-size:clamp(30px,3vw,46px);line-height:1.19;letter-spacing:-.55px;margin:14px 0;max-width:none;font-weight:800}
#hero p{font-size:15px;line-height:1.65;color:#e1efed;opacity:1;max-width:56ch}
#hero .hero-link,#hero .hero-copy button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;margin-top:22px;border:0;border-radius:10px;background:white;color:#144e50;font-size:14px;font-weight:750;padding:11px 20px;text-decoration:none}
#hero.with-art{grid-template-columns:minmax(0, .82fr) minmax(0, 1.18fr);align-items:stretch;min-height:0}
#hero.with-art h1{font-size:clamp(25px,2.55vw,40px)}
#hero .hero-media{position:relative;align-self:stretch;min-width:0;min-height:0;overflow:hidden;display:flex;align-items:center;justify-content:center;padding:16px;background:#0b292d}
#hero .hero-media img{display:block;width:100%;height:clamp(280px,32vw,440px);max-height:none;object-fit:contain;border-radius:0;filter:none}
#hero .hero-media img:not([src]){display:none}
#hero .hero-media.hidden{display:none!important}
#hero.with-art .hero-copy p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden}
#hero.wide-art{grid-template-columns:minmax(0,1fr)}
#hero.wide-art .hero-media{grid-row:1;padding:0;background:#0b292d}
#hero.wide-art .hero-media img{width:100%;height:auto;max-height:460px;object-fit:contain}
#hero.wide-art .hero-copy{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:20px;padding:20px 30px;align-items:center}
#hero.wide-art .eyebrow{grid-column:1/-1}
#hero.wide-art h1{font-size:clamp(22px,2.2vw,32px);margin:6px 0;grid-column:1}
#hero.wide-art p{grid-column:1;-webkit-line-clamp:2;max-width:none;font-size:14px}
#hero.wide-art .hero-copy button,#hero.wide-art .hero-link{grid-column:2;grid-row:2/4;margin:0;white-space:nowrap}
#hero .banner-controls{position:relative;grid-column:1/-1;bottom:auto;right:auto;display:flex;align-items:center;justify-content:center;gap:9px;padding:11px 14px;background:#102f34;border-top:1px solid #ffffff15;z-index:2}
#hero .banner-controls.hidden{display:none!important}
#hero .banner-controls button{background:#ffffff0e;border:1px solid #ffffff35;min-width:34px;min-height:34px;border-radius:8px;padding:4px 10px;color:#fff;font-size:13px}
#hero .banner-controls button:hover{background:#ffffff25}
#hero .banner-controls .banner-dot{padding:0;min-width:9px;min-height:9px;width:9px;height:9px;border-radius:20px;background:#ffffff45;border:0}
#hero .banner-controls .banner-dot.active{background:#fff;width:23px}
#hero .banner-dots{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:center}
#hero .banner-count{font-size:12px;color:#c4dcd8;font-variant-numeric:tabular-nums}
#hero button:focus-visible,#hero a:focus-visible{outline:2px solid #f9dc85;outline-offset:3px}
#hero + .filters{margin:18px 0 34px}
@media(max-width:760px){
 #hero,#hero.with-art,#hero.wide-art{grid-template-columns:minmax(0,1fr);min-height:0;border-radius:17px}
 #hero .hero-media,#hero.wide-art .hero-media{grid-row:1;padding:10px}
 #hero .hero-media img,#hero.wide-art .hero-media img{height:auto;width:100%;max-height:340px;object-fit:contain}
 #hero .hero-copy,#hero.wide-art .hero-copy{display:block;padding:22px 21px 25px}
 #hero h1,#hero.with-art h1,#hero.wide-art h1{font-size:clamp(22px,6vw,32px);margin:9px 0}
 #hero p,#hero.wide-art p{font-size:14px;-webkit-line-clamp:3}
 #hero .hero-link,#hero .hero-copy button,#hero.wide-art .hero-copy button,#hero.wide-art .hero-link{margin-top:16px;padding:10px 16px;font-size:13px}
 #hero .banner-controls{padding:9px 10px;gap:7px}
 #hero + .filters{margin:12px 0 26px}
}

/* V9.6: tropical sunrise, color-only revision of the V9.5 banner. */
#hero{background:radial-gradient(ellipse at 0% 0%,#ffe1a6 0%,transparent 55%),linear-gradient(125deg,#fff3d8 0%,#ffeadf 55%,#fce6d7 100%)!important;color:#142b3b;border:1px solid #e7dccc;box-shadow:0 10px 36px rgba(32,55,75,.09)}
#hero .eyebrow{color:#a34a27;letter-spacing:2px}
#hero h1{color:#153740}
#hero p{color:#42585d;opacity:1}
#hero .hero-link,#hero .hero-copy button{background:linear-gradient(110deg,#08766f,#08666a);color:#fff;border-radius:10px;box-shadow:0 4px 12px #08766f26}
#hero .hero-link:hover,#hero .hero-copy button:hover{background:#065d59}
#hero .hero-media,#hero.wide-art .hero-media{background:radial-gradient(ellipse at 93% 4%,#9edbd5 0%,transparent 65%),radial-gradient(ellipse at 8% 96%,#d3eaca 0%,transparent 58%),linear-gradient(135deg,#d9f0ec 0%,#bce5eb 100%)}
#hero .hero-media img{border-radius:10px}
#hero.wide-art .hero-media img{border-radius:0}
#hero .banner-controls{background:#fff8ed;border-top:1px solid #ebddcd}
#hero .banner-controls button{background:#fff;color:#375163;border:1px solid #cbdeda;border-radius:50%;min-width:36px;min-height:36px}
#hero .banner-controls button#pauseBanner{border-radius:9px}
#hero .banner-controls button:hover{background:#e0f2ed;color:#086a65}
#hero .banner-controls .banner-dot{background:#c3d3ce;border:0;border-radius:20px;min-width:9px;min-height:9px}
#hero .banner-controls .banner-dot.active{background:#08766f;width:23px}
#hero .banner-count{color:#536675}
#hero button:focus-visible,#hero a:focus-visible{outline:2px solid #08766f;outline-offset:3px}
