:root {
  --navy: #0F2A3D;
  --navy-2: #16405C;
  --navy-3: #1E5378;
  --gold: #C9A227;
  --gold-l: #E8CF8A;
  --ink: #1A1B1C;
  --ink-2: #5A6472;
  --paper: #F7F4EC;
  --card: #FFFFFF;
  --line: #E6E1D4;
  --teal: #2E8B8B;
  --green: #3D6B4A;
  --shadow: 0 10px 30px rgba(15, 42, 61, 0.10);
  --shadow-sm: 0 4px 14px rgba(15, 42, 61, 0.08);
  --radius: 16px;
}

body.theme-kids {
  --navy: #123A46;
  --navy-2: #1B5566;
  --navy-3: #217388;
  --gold: #D9A441;
  --gold-l: #EFD08A;
  --paper: #FAF6EC;
  --line: #E9E2D2;
  --shadow: 0 10px 30px rgba(18, 58, 70, 0.10);
  --shadow-sm: 0 4px 14px rgba(18, 58, 70, 0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
section { padding: 80px 0; border-bottom: 1px solid var(--line); }
body.theme-kids section { padding: 75px 0; }

/* ---------- 顶部导航 ---------- */
header.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 42, 61, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
body.theme-kids header.nav { background: rgba(18, 58, 70, 0.94); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 1px;
  text-decoration: none;
  white-space: nowrap;
}

.brand .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.25);
  flex-shrink: 0;
}
body.theme-kids .brand .dot { box-shadow: 0 0 0 4px rgba(217, 164, 65, 0.28); }

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  box-shadow: inset 0 0 0 3px rgba(201, 162, 39, 0.35), 0 0 0 4px rgba(201, 162, 39, 0.16);
  position: relative;
  flex-shrink: 0;
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: var(--gold);
}

nav.links { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
nav.links a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 13.5px;
  transition: color 0.2s;
}
nav.links a:hover { color: var(--gold-l); }
nav.links a.nav-cta {
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 999px;
}
nav.links a.nav-cta:hover { background: var(--gold-l); color: var(--navy); }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(201, 162, 39, 0.25), transparent 60%),
    radial-gradient(900px 480px at -10% 110%, rgba(46, 139, 139, 0.30), transparent 60%),
    linear-gradient(135deg, #0B2132 0%, #143A57 55%, #0F2A3D 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
body.theme-kids .hero {
  background:
    radial-gradient(1000px 460px at 88% -10%, rgba(217, 164, 65, 0.30), transparent 60%),
    radial-gradient(900px 460px at -8% 112%, rgba(46, 139, 139, 0.38), transparent 60%),
    linear-gradient(135deg, #0D2B34 0%, #16455A 55%, #123A46 100%);
}
.hero.has-photo {
  background-color: #0B2132;
  background-image:
    linear-gradient(180deg, rgba(11, 33, 50, 0.55) 0%, rgba(15, 42, 61, 0.72) 48%, rgba(15, 42, 61, 0.92) 100%),
    var(--hero-photo);
  background-size: cover;
  background-position: center 30%;
}
.hero.hero-home { --hero-photo: url("../images/hero-home.jpg"); }
.hero.hero-adult { --hero-photo: url("../images/hero-adult.jpg"); }
.hero.hero-kids { --hero-photo: url("../images/hero-kids.jpg"); }
body.theme-kids .hero.has-photo {
  background-image:
    linear-gradient(180deg, rgba(13, 43, 52, 0.52) 0%, rgba(18, 58, 70, 0.74) 50%, rgba(18, 58, 70, 0.92) 100%),
    var(--hero-photo);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 80px;
  background: linear-gradient(180deg, transparent, var(--paper));
}
.hero-inner { padding: 90px 0 110px; position: relative; z-index: 2; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--gold-l);
  border: 1px solid rgba(201, 162, 39, 0.5);
  border-radius: 999px;
  padding: 6px 18px;
  margin-bottom: 24px;
  background: rgba(201, 162, 39, 0.08);
}
body.theme-kids .kicker {
  border-color: rgba(217, 164, 65, 0.5);
  background: rgba(217, 164, 65, 0.10);
}

h1.h1 {
  font-size: 44px;
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: 1px;
  max-width: 900px;
}
body.theme-kids h1.h1 { font-size: 42px; }
h1.h1 em { font-style: normal; color: var(--gold-l); }
.hero-sub {
  margin-top: 24px;
  font-size: 16.5px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 860px;
  line-height: 1.85;
}

.hero-stats { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 44px; }
.stat {
  flex: 1 1 200px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 22px 20px;
  backdrop-filter: blur(4px);
  transition: background 0.2s, transform 0.2s;
}
.stat:hover { background: rgba(255, 255, 255, 0.1); transform: translateY(-2px); }
.stat b { display: block; font-size: 24px; color: var(--gold-l); font-weight: 800; margin-bottom: 6px; }
.stat i { font-style: normal; font-size: 13.5px; color: rgba(255, 255, 255, 0.75); display: block; line-height: 1.5; }

/* ---------- 标题与板块 ---------- */
.sec-head { margin-bottom: 44px; }
.sec-tag {
  font-size: 13px;
  letter-spacing: 3px;
  color: #9A7B1F;
  font-weight: 700;
  text-transform: uppercase;
}
h2.h2 {
  font-size: 32px;
  font-weight: 800;
  margin-top: 8px;
  color: var(--navy);
  line-height: 1.35;
}
h2.h2 b { color: var(--gold); }
.sec-desc {
  margin-top: 14px;
  color: var(--ink-2);
  font-size: 16px;
  max-width: 860px;
  line-height: 1.8;
}

.grid, .grid-2, .grid-3, .grid-4 { display: flex; flex-wrap: wrap; gap: 20px; }
.grid-2 { gap: 24px; }
.grid-2 .card { flex: 1 1 460px; }
.grid-3 .card { flex: 1 1 310px; }
.grid-4 .card { flex: 1 1 230px; }
.grid .card { flex: 1 1 240px; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .ic {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.15), rgba(201, 162, 39, 0.30));
}
body.theme-kids .card .ic {
  background: linear-gradient(135deg, rgba(217, 164, 65, 0.18), rgba(217, 164, 65, 0.34));
}
.card h3 { font-size: 19px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.card p { font-size: 14.5px; color: var(--ink-2); line-height: 1.7; }

/* ---------- 历史文化对比 ---------- */
.culture-box { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 24px; }
.cul-panel {
  flex: 1 1 480px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.cul-panel.west { border-top: 4px solid var(--teal); }
.cul-panel.east { border-top: 4px solid var(--gold); }
.cul-panel h3 {
  font-size: 21px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.cul-panel .tag {
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--navy);
  font-weight: 600;
}
.cul-panel p { font-size: 15px; color: var(--ink-2); margin-bottom: 16px; line-height: 1.75; }
.cul-panel ul { list-style: none; }
.cul-panel li {
  font-size: 14px;
  color: var(--ink);
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
  position: relative;
  padding-left: 20px;
}
.cul-panel li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 18px;
  top: 3px;
}

/* ---------- 横幅 ---------- */
.banner-highlight {
  background: linear-gradient(135deg, #0F2A3D 0%, #16405C 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 36px 40px;
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}
body.theme-kids .banner-highlight {
  background: linear-gradient(135deg, #123A46, #1B5566);
}
.banner-highlight .txt { max-width: 820px; font-size: 15.5px; color: rgba(255, 255, 255, 0.9); line-height: 1.8; }
.banner-highlight .txt b { color: var(--gold-l); font-size: 17px; }
.banner-highlight .bh-num { font-size: 52px; font-weight: 800; color: var(--gold-l); line-height: 1; flex: 0 0 auto; }
.banner-highlight .bh-txt { flex: 1 1 300px; font-size: 15.5px; color: rgba(255, 255, 255, 0.9); line-height: 1.8; }
.banner-highlight .bh-txt b { color: #fff; }

.disclaimer-box {
  background: rgba(18, 58, 70, 0.04);
  border: 1px dashed var(--line);
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 12.5px;
  color: var(--ink-2);
  margin-top: 24px;
  line-height: 1.6;
}

/* ---------- 路线步骤 ---------- */
.steps { position: relative; max-width: 900px; margin: 0 auto; padding-left: 10px; }
.steps::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 10px;
  bottom: 10px;
  width: 3px;
  background: linear-gradient(180deg, var(--gold), var(--teal));
  border-radius: 2px;
}
.step { position: relative; padding: 0 0 32px 60px; }
.step .num {
  position: absolute;
  left: 0;
  top: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-l);
  font-weight: 800;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 5px rgba(201, 162, 39, 0.2);
}
body.theme-kids .step .num { box-shadow: 0 0 0 5px rgba(217, 164, 65, 0.20); }
.step h3 { font-size: 19px; font-weight: 700; color: var(--navy); }
.step .sub-tag { font-size: 13px; color: #9A7B1F; font-weight: 600; margin: 2px 0 8px; }
.step p { font-size: 14.5px; color: var(--ink-2); line-height: 1.75; }

.two { display: flex; flex-wrap: wrap; gap: 22px; }
.panel {
  flex: 1 1 420px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.panel h3 {
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 15px;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.panel h3 .chip {
  font-size: 12px;
  background: rgba(217, 164, 65, 0.18);
  color: #8A6A1A;
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 600;
}
.panel ul { list-style: none; }
.panel li {
  font-size: 14px;
  color: var(--ink-2);
  padding: 9px 0 9px 26px;
  position: relative;
  border-bottom: 1px dashed var(--line);
}
.panel li:last-child { border-bottom: none; }
.panel li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 9px;
  color: var(--gold);
  font-size: 13px;
}

.src-box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 28px;
  font-size: 12.5px;
  color: var(--ink-2);
}
.src-box h4 { font-size: 14px; color: var(--navy); margin-bottom: 10px; }
.src-box ol { margin-left: 18px; }
.src-box li { margin: 5px 0; }

.cta-box {
  background: linear-gradient(135deg, #16405C 0%, #0F2A3D 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  box-shadow: var(--shadow);
  margin-top: 40px;
}
body.theme-kids .cta-box {
  background: linear-gradient(135deg, #123A46 0%, #1B5566 100%);
}
.cta-box h3 { font-size: 26px; color: var(--gold-l); margin-bottom: 12px; font-weight: 800; }
.cta-box p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 680px;
  margin: 0 auto 24px;
  line-height: 1.8;
}
.cta-btn {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-weight: 800;
  padding: 14px 36px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.cta-btn:hover { background: var(--gold-l); transform: translateY(-2px); }
.cta-btn:disabled { opacity: 0.65; cursor: wait; transform: none; }

footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.75);
  padding: 40px 0;
  font-size: 13.5px;
  text-align: center;
  line-height: 1.8;
}

/* ---------- 首页入口卡片 ---------- */
.channel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.channel-card {
  position: relative;
  overflow: hidden;
  padding: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--line);
}
.channel-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  z-index: 2;
}
.channel-card.channel-a::before { background: linear-gradient(90deg, var(--gold), var(--gold-l)); }
.channel-card.channel-b::before { background: linear-gradient(90deg, var(--teal), #4DB3B3); }
.channel-photo {
  height: 200px;
  background-size: cover;
  background-position: center;
}
.channel-body { padding: 28px 32px 32px; display: flex; flex-direction: column; flex: 1; }
.channel-card .channel-label {
  font-size: 12px;
  letter-spacing: 3px;
  font-weight: 700;
  color: #9A7B1F;
  margin-bottom: 10px;
}
.channel-card h3 { font-size: 26px; margin-bottom: 12px; }
.channel-card p { flex: 1; }
.channel-card .channel-go {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--navy);
  font-size: 15px;
}
.channel-card .channel-go span { transition: transform 0.2s; }
.channel-card:hover .channel-go span { transform: translateX(4px); }

/* ---------- 预约表单 ---------- */
.booking {
  background:
    radial-gradient(700px 280px at 100% 0%, rgba(201, 162, 39, 0.12), transparent 60%),
    linear-gradient(180deg, #F7F4EC, #EFEAE0);
}
.booking-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow);
  max-width: 760px;
}
.booking-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 13px; font-weight: 700; color: var(--navy); letter-spacing: 0.5px; }
.form-field input,
.form-field select {
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 14px;
  font-size: 15px;
  font-family: inherit;
  background: #fff;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-field input:focus,
.form-field select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.16);
}
.form-field .hint { font-size: 12px; color: var(--ink-2); }
.form-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
.form-error {
  grid-column: 1 / -1;
  display: none;
  color: #9B2C2C;
  background: #FDECEC;
  border: 1px solid #F5C2C2;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13.5px;
}
.form-error.show { display: block; }

/* ---------- 成功弹窗 ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal.open { display: flex; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 42, 61, 0.55);
  backdrop-filter: blur(6px);
}
.modal-panel {
  position: relative;
  background: #fff;
  border-radius: 20px;
  padding: 40px 36px 32px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: 0 24px 60px rgba(15, 42, 61, 0.28);
  animation: modalIn 0.28s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.modal-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.18), rgba(46, 139, 139, 0.18));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}
.modal-panel h3 { font-size: 22px; color: var(--navy); margin-bottom: 10px; }
.modal-panel p { font-size: 14.5px; color: var(--ink-2); margin-bottom: 22px; }

@media (max-width: 860px) {
  .channel-grid { grid-template-columns: 1fr; }
  .booking-form { grid-template-columns: 1fr; }
  .form-field.full { grid-column: auto; }
}

@media (max-width: 768px) {
  h1.h1 { font-size: 28px; }
  h2.h2 { font-size: 24px; }
  nav.links { display: none; }
  header.nav .nav-cta-mobile { display: inline-flex; }
  section { padding: 50px 0; }
  .hero-inner { padding: 64px 0 88px; }
  .channel-card { min-height: 0; }
}

.nav-cta-mobile {
  display: none;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 13px;
}
