/* GreetChina v1 — A版·经典信任型：深海军蓝 + 金 */
:root {
  --navy: #0e2a47;
  --navy-dark: #0a1f36;
  --navy-deep: #071628;
  --gold: #c9a227;
  --gold-soft: #e6cf7a;
  --paper: #f7f5ef;
  --ink: #1a2332;
  --muted: #5d6d80;
  --line: #e6e1d4;
  --white: #ffffff;
  --radius: 14px;
  --serif: Georgia, 'Times New Roman', 'Songti SC', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--ink); background: var(--white); line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
section { padding: 84px 0; }
.eyebrow { font-size: 12px; letter-spacing: 3px; color: var(--gold); font-weight: 700; text-transform: uppercase; margin-bottom: 14px; text-align: center; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.25; color: var(--navy-dark); }
.section-title { font-size: clamp(28px, 4.5vw, 40px); text-align: center; max-width: 700px; margin: 0 auto 16px; }
.section-sub { text-align: center; color: var(--muted); max-width: 640px; margin: 0 auto 52px; font-size: 17px; }

/* buttons */
.btn { display: inline-block; font-weight: 700; border-radius: 999px; padding: 15px 32px; font-size: 16px; transition: transform .15s ease, box-shadow .15s ease; cursor: pointer; border: none; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--navy-deep); box-shadow: 0 8px 22px rgba(201,162,39,.35); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.55); }
.btn-outline-sm { border: 1.5px solid var(--navy); color: var(--navy); padding: 12px 22px; font-size: 14px; border-radius: 999px; font-weight: 700; white-space: nowrap; }
.btn-outline-sm:hover { background: var(--navy); color: #fff; }

/* topbar */
.topbar { background: var(--navy-deep); color: #cfd8e3; font-size: 13px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; padding-top: 8px; padding-bottom: 8px; }
.topbar a:hover { color: var(--gold-soft); }
.topbar-right { display: flex; align-items: center; gap: 18px; }
.lang-switch { position: relative; }
.lang-btn { background: transparent; border: 1px solid rgba(255,255,255,.35); color: #fff; border-radius: 999px; padding: 10px 16px; font-size: 13px; cursor: pointer; min-height: 44px; }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); background: #fff; border-radius: 10px; box-shadow: 0 12px 32px rgba(0,0,0,.18); min-width: 190px; z-index: 60; overflow: hidden; }
.lang-opt { display: block; width: 100%; text-align: left; background: none; border: none; padding: 13px 16px; font-size: 14px; color: var(--ink); cursor: pointer; }
.lang-opt:hover { background: var(--paper); }
.lang-opt.active { font-weight: 700; color: var(--navy); }
.lang-hint { padding: 9px 16px; font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); background: var(--paper); }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
.brand img { height: 44px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: 15px; font-weight: 600; color: var(--ink); }
.nav-links a:hover { color: var(--gold); }
.nav-cta { background: var(--navy); color: #fff !important; padding: 12px 26px; border-radius: 999px; }
.nav-cta:hover { background: var(--navy-dark); }
#nav-toggle { display: none; background: none; border: none; font-size: 26px; cursor: pointer; color: var(--navy); }

/* hero */
.hero { position: relative; background: radial-gradient(1100px 520px at 78% -60px, rgba(201,162,39,.22), transparent 60%), linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 55%, var(--navy-deep) 100%); color: #fff; padding: 110px 0 130px; overflow: hidden; }
.hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 120px; background: linear-gradient(to top, rgba(7,22,40,.55), transparent); pointer-events: none; }
.hero-inner { position: relative; z-index: 2; max-width: 780px; }
.hero .eyebrow { text-align: left; }
.hero h1 { color: #fff; font-size: clamp(38px, 6vw, 58px); margin-bottom: 20px; }
.hero p.lead { font-size: 19px; color: #d7dee8; max-width: 620px; margin-bottom: 34px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-mountains { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 150px; opacity: .28; z-index: 1; }

/* trust bar */
.trust { padding: 0; margin-top: -64px; position: relative; z-index: 5; }
.trust-card { background: #fff; border-radius: var(--radius); box-shadow: 0 18px 50px rgba(10,31,54,.12); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 0; overflow: hidden; }
.trust-item { padding: 30px 26px; background: #fff; border: 1px solid var(--line); margin: -0.5px; }
.trust-ic { font-size: 26px; margin-bottom: 10px; }
.trust-item h3 { font-family: var(--sans); font-size: 16px; color: var(--navy); margin-bottom: 6px; }
.trust-item p { font-size: 13.5px; color: var(--muted); line-height: 1.55; }

/* tours */
.tours { background: var(--white); }
.tours-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 28px; }
.tour-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; display: flex; flex-direction: column; transition: transform .18s ease, box-shadow .18s ease; }
.tour-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(10,31,54,.12); }
.tour-art { height: 190px; overflow: hidden; }
.tour-art img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.tour-card:hover .tour-art img { transform: scale(1.06); }
.tour-body { padding: 26px 26px 24px; display: flex; flex-direction: column; flex: 1; }
.tour-meta { font-size: 12px; letter-spacing: 2px; color: var(--gold); font-weight: 700; margin-bottom: 8px; }
.tour-title { font-size: 23px; margin-bottom: 8px; }
.tour-blurb { font-size: 14.5px; color: var(--muted); margin-bottom: 14px; }
.tour-hl { list-style: none; margin-bottom: 14px; }
.tour-hl li { font-size: 13.5px; color: var(--ink); padding: 5px 0 5px 22px; position: relative; }
.tour-hl li::before { content: '✓'; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.tour-note { font-size: 12.5px; color: var(--muted); background: var(--paper); border-radius: 8px; padding: 8px 12px; margin-bottom: 14px; }
.tour-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 16px; gap: 10px; }
.tour-price .from { font-size: 12px; color: var(--muted); display: block; }
.tour-price strong { font-size: 24px; color: var(--navy); font-family: var(--serif); }
.tour-price .per { font-size: 12px; color: var(--muted); }
.tours-error { text-align: center; color: var(--muted); grid-column: 1 / -1; }

/* how */
.how { background: var(--paper); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 22px; }
.step { background: #fff; border-radius: var(--radius); padding: 34px 26px; text-align: center; border: 1px solid var(--line); }
.step-n { width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; font-size: 19px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.step h3 { font-family: var(--sans); font-size: 17px; color: var(--navy); margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--muted); }

/* themes */
.theme-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 22px; }
.theme-card { border-radius: var(--radius); padding: 34px 26px; min-height: 230px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; position: relative; overflow: hidden; }
.theme-card h3 { color: #fff; font-family: var(--sans); font-size: 20px; margin-bottom: 6px; position: relative; }
.theme-card p { font-size: 14px; color: rgba(255,255,255,.85); position: relative; }
.t1 { background: linear-gradient(160deg, #274b73, #0e2a47); }
.t2 { background: linear-gradient(160deg, #7a4a1d, #3d2410); }
.t3 { background: linear-gradient(160deg, #8f1f2c, #4a0f16); }
.t4 { background: linear-gradient(160deg, #1d5c55, #0b2f2c); }

/* price band */
.priceband { background: var(--gold); padding: 56px 0; text-align: center; }
.priceband h2 { font-size: 34px; color: var(--navy-deep); margin-bottom: 10px; }
.priceband p { color: #4a3d10; max-width: 720px; margin: 0 auto; font-size: 16px; }

/* quote */
.quote { background: linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 100%); color: #fff; }
.quote-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.quote-info h2 { color: #fff; font-size: clamp(30px, 4vw, 40px); margin-bottom: 14px; }
.quote-info > p { color: #cfd8e3; margin-bottom: 26px; font-size: 16px; }
.quote-points { list-style: none; }
.quote-points li { padding: 9px 0 9px 30px; position: relative; color: #e8edf3; font-size: 15.5px; }
.quote-points li::before { content: '✓'; position: absolute; left: 0; color: var(--gold-soft); font-weight: 800; }
.quote-form-card { background: #fff; border-radius: 18px; padding: 38px 36px; color: var(--ink); box-shadow: 0 24px 60px rgba(0,0,0,.25); }
.quote-form-card h3 { font-family: var(--sans); font-size: 21px; color: var(--navy); margin-bottom: 4px; }
.quote-form-card .form-sub { font-size: 13.5px; color: var(--muted); margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.field input, .field textarea { width: 100%; border: 1.5px solid #d8dce3; border-radius: 10px; padding: 14px; font-size: 16px; font-family: var(--sans); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,39,.18); }
.field textarea { min-height: 86px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.btn-submit { width: 100%; background: var(--gold); color: var(--navy-deep); font-size: 16px; margin-top: 6px; }
.form-privacy { text-align: center; font-size: 12.5px; color: var(--muted); margin-top: 12px; }

/* consultant */
.consultant { background: var(--white); }
.consult-card { display: grid; grid-template-columns: 300px 1fr; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; max-width: 920px; margin: 0 auto; background: #fff; }
.consult-photo { background: var(--navy); min-height: 340px; }
.consult-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.consult-body { padding: 44px 48px; }
.consult-body .eyebrow { text-align: left; }
.consult-body h3 { font-size: 30px; margin: 6px 0 4px; }
.consult-role { font-size: 13px; letter-spacing: 2px; color: var(--gold); font-weight: 700; margin-bottom: 18px; }
.consult-bio { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--ink); border-left: 3px solid var(--gold); padding-left: 18px; margin-bottom: 26px; }

/* footer */
.site-footer { background: var(--navy-deep); color: #aeb9c7; padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 40px; padding-bottom: 48px; }
.footer-brand .footer-wordmark { font-family: var(--serif); font-size: 30px; color: #fff; margin-bottom: 14px; }
.footer-brand .footer-wordmark span { color: var(--gold-soft); }
.footer-brand p { font-size: 14px; max-width: 300px; }
.footer-col h4 { font-size: 12px; letter-spacing: 2.5px; color: #fff; margin-bottom: 18px; }
.footer-col a, .footer-col span { display: block; font-size: 14px; padding: 10px 0; }
.footer-col a:hover { color: var(--gold-soft); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0; font-size: 12.5px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ============ responsive: fluid-first, content-based breakpoints ============
   Grids above use auto-fit + minmax, so columns adapt to ANY width
   (phones, tablets, foldables folded/unfolded) without device-specific hacks. */
@media (max-width: 1024px) {
  /* tablet landscape / small laptop */
  .quote-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero { padding: 90px 0 120px; }
  .consult-body { padding: 36px; }
}
@media (max-width: 860px) {
  /* tablet portrait and below: hamburger menu (inline nav would crowd) */
  #nav-toggle { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; padding: 10px 20px 18px; gap: 2px; border-bottom: 1px solid var(--line); align-items: stretch; box-shadow: 0 22px 44px rgba(10,31,54,.14); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 4px; font-size: 16px; }
  .nav-cta { text-align: center; margin-top: 6px; }
  .site-header .wrap { position: relative; }
}
@media (max-width: 768px) {
  section { padding: 64px 0; }
  .wrap { padding: 0 20px; }
  .consult-card { grid-template-columns: 1fr; }
  .consult-photo { min-height: 300px; max-height: 440px; }
  .form-row { grid-template-columns: 1fr; }
  .topbar .wrap { flex-wrap: wrap; gap: 4px 14px; }
  .trust { margin-top: -48px; }
}
@media (max-width: 560px) {
  /* phones + folded foldables (~360px): single column, full-width CTAs */
  section { padding: 52px 0; }
  .hero { padding: 60px 0 100px; }
  .hero-ctas .btn { width: 100%; text-align: center; }
  .quote-form-card { padding: 28px 22px; }
  .consult-body { padding: 28px 22px; }
  .footer-bottom { flex-direction: column; }
  .topbar .wrap { font-size: 12px; }
}

/* WhatsApp floating chat button */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: max(22px, env(safe-area-inset-bottom));
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--navy);
  border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(7, 22, 40, .45);
  z-index: 60;
  transition: transform .2s ease, box-shadow .2s ease;
}
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
.wa-float:hover { transform: scale(1.08); box-shadow: 0 12px 30px rgba(201, 162, 39, .45); }
.wa-float:focus-visible { outline: 3px solid var(--gold-soft); outline-offset: 3px; }
@media (max-width: 560px) {
  .wa-float { right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); width: 54px; height: 54px; }
}

/* Honeypot field: off-screen, never display:none (bots check for that) */
.hp-field { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Form submission note (white card -> dark text) */
.form-note {
  font-size: 14px; color: var(--navy);
  background: #fdf8e7; border: 1px solid rgba(201, 162, 39, .55);
  border-radius: 10px; padding: 10px 14px; margin-top: 12px;
}


/* ── Tour detail pages (/tours/*.html) — A版深海军蓝+金 ───────────────── */
.td-hero { position: relative; min-height: 420px; display: flex; align-items: flex-end; overflow: hidden; background: var(--navy-deep); }
.td-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.td-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7,22,40,.92) 0%, rgba(7,22,40,.45) 55%, rgba(7,22,40,.25) 100%); }
.td-hero-inner { position: relative; z-index: 1; width: 100%; padding: 48px 0 44px; color: #fff; }
.td-kicker { font-size: 12px; letter-spacing: 3px; color: var(--gold); font-weight: 700; text-transform: uppercase; margin-bottom: 12px; }
.td-hero h1 { font-size: clamp(32px, 5.5vw, 52px); margin: 0 0 10px; color: #fff; }
.td-sub { font-size: clamp(16px, 2.4vw, 20px); color: rgba(255,255,255,.82); max-width: 640px; margin: 0 0 18px; }
.td-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; font-size: 16px; }
.td-price { font-size: 26px; font-weight: 800; color: var(--gold); }
.td-price .from, .td-price .per { font-size: 14px; font-weight: 400; color: rgba(255,255,255,.75); }
.td-cruise-note[hidden] { display: none; }
.td-cruise-note { margin-top: 12px; display: inline-block; font-size: 13px; color: var(--gold-soft); border: 1px solid rgba(201,162,39,.5); border-radius: 999px; padding: 6px 14px; }

.td-section { padding: 64px 0 8px; }
.td-section:last-of-type { padding-bottom: 72px; }
.td-day { background: #fff; border: 1px solid #e8edf3; border-radius: 16px; padding: 26px 28px; margin-bottom: 18px; box-shadow: 0 4px 18px rgba(14,42,71,.06); }
.td-day-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 10px; }
.td-day-n { flex: none; font-size: 12px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--navy-deep); background: var(--gold-soft); border-radius: 999px; padding: 6px 14px; }
.td-day-head h3 { margin: 0; font-size: 21px; }
.td-day p { margin: 0 0 10px; color: #33475e; line-height: 1.7; }
.td-day p:last-child { margin-bottom: 0; }
.td-meals { font-size: 14px; color: var(--muted); }

.td-inc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.td-inc-card { background: #fff; border: 1px solid #e8edf3; border-radius: 16px; padding: 28px; box-shadow: 0 4px 18px rgba(14,42,71,.06); }
.td-inc-card h3 { margin: 0 0 16px; font-size: 20px; }
.td-inc-card.excl h3 { color: #8a94a6; }
ul.td-list { list-style: none; margin: 0; padding: 0; }
ul.td-list li { position: relative; padding: 7px 0 7px 30px; color: #33475e; line-height: 1.6; }
.td-inc-card:not(.excl) ul.td-list li::before { content: "✓"; position: absolute; left: 2px; color: #1d7a4f; font-weight: 800; }
.td-inc-card.excl ul.td-list li::before { content: "–"; position: absolute; left: 6px; color: #b0b8c5; font-weight: 800; }

.td-faq-item { background: #fff; border: 1px solid #e8edf3; border-radius: 16px; padding: 22px 26px; margin-bottom: 14px; }
.td-faq-item h4 { margin: 0 0 8px; font-size: 17px; }
.td-faq-item p { margin: 0; color: #33475e; line-height: 1.7; }

.td-back { display: inline-block; margin: 34px 0 0; color: var(--navy); font-weight: 700; text-decoration: none; }
.td-back:hover { color: var(--gold); }

.td-cta { background: var(--navy-deep); border-radius: 24px; padding: 56px 40px; text-align: center; color: #fff; margin: 8px 0 72px; }
.td-cta h2 { color: #fff; margin: 0 0 12px; font-size: clamp(24px, 4vw, 34px); }
.td-cta p { color: rgba(255,255,255,.78); max-width: 560px; margin: 0 auto 28px; line-height: 1.7; }
.td-cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.td-error { color: #fff; background: rgba(180,40,40,.85); border-radius: 12px; padding: 14px 18px; margin-top: 18px; }

@media (max-width: 768px) {
  .td-hero { min-height: 360px; }
  .td-inc-grid { grid-template-columns: 1fr; }
  .td-cta { padding: 44px 24px; border-radius: 18px; }
  .td-day { padding: 20px; }
  .td-cta-btns .btn { width: 100%; text-align: center; }
}
