:root {
  --cw-title: #17212B;
  --cw-body: #475569;
  --cw-nav: #132330;
  --cw-gold: #C9972E;
  --cw-white: #FFFFFF;
  --cw-section: #F6F5F1;
  --cw-border: #E5E2DA;
  --cw-teal: #2f6f68;
  --cw-teal-strong: #0f766e;
  --cw-shadow: 0 18px 50px rgba(19, 35, 48, .08);
  --cw-font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--cw-font);
  color: var(--cw-body);
  background: var(--cw-white);
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: inherit; }
.shell {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}

header {
  height: 100px;
  background: var(--cw-white);
  border-bottom: 1px solid var(--cw-border);
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  flex: 0 0 auto;
  min-width: 240px;
  display: flex;
  align-items: center;
  color: var(--cw-nav);
  text-decoration: none;
  overflow: visible;
}

.brand-logo-svg {
  width: auto;
  height: 72px;
  display: block;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  flex: 1 1 auto;
}

.nav-links a {
  color: var(--cw-nav);
  text-decoration: none;
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--cw-teal);
}

.nav-cta,
.btn-primary,
button.primary,
button[type="submit"].primary {
  background: var(--cw-gold);
  color: var(--cw-title);
  border-color: var(--cw-gold);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid var(--cw-gold);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(201, 151, 46, .18);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid var(--cw-border);
  border-radius: 999px;
  background: var(--cw-white);
  color: var(--cw-nav);
  font-size: 15px;
  font-weight: 850;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
}

h1,
h2,
h3 {
  color: var(--cw-title);
  line-height: 1.18;
  letter-spacing: 0;
}

.btn,
button,
input,
select,
textarea {
  font-family: var(--cw-font);
}

.btn,
.cw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid var(--cw-border);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
  font-size: 16px;
  white-space: nowrap;
}

.btn-gold,
.btn.primary,
.btn-primary,
button.btn-gold,
button.primary {
  background: var(--cw-gold);
  color: var(--cw-title);
  border-color: var(--cw-gold);
  box-shadow: 0 12px 28px rgba(201, 151, 46, .22);
}

.btn-teal,
.btn.teal,
.success,
.success-message {
  background: var(--cw-teal);
  color: var(--cw-white);
  border-color: var(--cw-teal);
}

.btn-outline,
.btn.outline,
.btn-secondary {
  background: var(--cw-white);
  color: var(--cw-nav);
  border-color: var(--cw-border);
}

.card,
.service-card,
.faq,
.info-panel,
.form-panel,
.summary-panel,
.quote-card,
.travel-card {
  border: 1px solid var(--cw-border);
  border-radius: 8px;
  background: var(--cw-white);
  box-shadow: 0 10px 24px rgba(19, 35, 48, .04);
}

input,
select,
textarea {
  color: var(--cw-title);
  border: 1px solid var(--cw-border);
  border-radius: 8px;
  background: var(--cw-white);
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(47, 111, 104, .22);
  outline-offset: 2px;
}

.note,
.hint,
.help,
.notice {
  color: var(--cw-body);
  border-color: var(--cw-border);
}

.assist,
.assistant,
.teal-text {
  color: var(--cw-teal);
}

.section,
.cw-section {
  padding: 82px 0;
}

.section-alt,
.cw-section-alt,
.services {
  background: var(--cw-section);
}

body.cw-inner-page {
  background: var(--cw-white);
  color: var(--cw-body);
}

body.cw-inner-page main {
  background: var(--cw-white);
}

body.cw-inner-page .hero {
  padding: 42px 0 36px;
  background: var(--cw-white);
  color: var(--cw-body);
  border-bottom: 1px solid var(--cw-border);
  border-radius: 0;
  box-shadow: none;
}

body.cw-inner-page .hero h1 {
  margin: 0 0 14px;
  color: var(--cw-title);
  font-family: var(--cw-font);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.18;
}

body.cw-inner-page .hero p {
  max-width: 820px;
  color: var(--cw-body);
  font-size: 18px;
  line-height: 1.75;
}

body.cw-inner-page .notice {
  background: #fffaf0;
  border: 1px solid var(--cw-border);
  color: #5f5133;
}

body.cw-inner-page .item,
body.cw-inner-page .faq-nav a {
  background: var(--cw-section);
  border-color: var(--cw-border);
}

body.cw-inner-page header {
  height: 100px !important;
  min-height: 100px !important;
  background: var(--cw-white) !important;
  border-bottom: 1px solid var(--cw-border) !important;
  box-shadow: none !important;
}

body.cw-inner-page header .nav {
  width: min(1160px, calc(100% - 48px)) !important;
  height: 100px !important;
  margin: 0 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 22px !important;
}

body.cw-inner-page header .brand {
  min-width: 240px !important;
  height: auto !important;
  overflow: visible !important;
}

body.cw-inner-page header .brand-logo-svg {
  width: auto !important;
  height: 72px !important;
  display: block !important;
  object-fit: contain !important;
}

body.cw-inner-page header .nav-links {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 18px !important;
  flex: 1 1 auto !important;
}

body.cw-inner-page header .nav-links a {
  min-height: auto !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: var(--cw-nav) !important;
  font-size: 15px !important;
  font-weight: 800 !important;
}

body.cw-inner-page header .nav-links a:hover,
body.cw-inner-page header .nav-links a:focus-visible,
body.cw-inner-page header .nav-links a[aria-current="page"],
body.cw-inner-page header .nav-links a.active {
  color: var(--cw-teal) !important;
}

footer {
  padding: 26px 0;
  background: var(--cw-white);
  color: var(--cw-body);
  font-size: 13px;
  border-top: 1px solid var(--cw-border);
}

footer .shell {
  border-left: 3px solid var(--cw-teal);
  padding-left: 14px;
}

.buddy-float {
  position: fixed;
  right: 10px;
  bottom: 22px;
  width: 62px;
  height: 118px;
  border: 2px solid rgba(214, 170, 61, .55);
  border-radius: 28px;
  padding: 8px 5px 11px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
  background: linear-gradient(135deg, #2f8f86, #0f766e 58%, #0b4f5f);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 20px 44px rgba(15, 118, 110, .36), 0 0 0 6px rgba(214, 170, 61, .10);
  z-index: 60;
  transition: transform .25s ease, box-shadow .25s ease;
}

.buddy-float:hover,
.buddy-float:focus-visible {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 26px 54px rgba(15, 118, 110, .42), 0 0 0 8px rgba(214, 170, 61, .14);
  outline: none;
}

.buddy-float::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 34px;
  border: 2px solid rgba(214, 170, 61, .36);
  pointer-events: none;
}

.buddy-avatar-wrap {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 0 0 1px rgba(255, 255, 255, .18);
}

.buddy-avatar-svg {
  width: 45px;
  height: 45px;
  display: block;
}

.buddy-label {
  display: block;
  width: 48px;
  color: #fff;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.25;
  letter-spacing: 0;
  text-align: center;
}

.buddy-notify-dot {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #ff6b6b;
  box-shadow: 0 0 0 5px rgba(255, 107, 107, .18);
}

@media (max-width: 980px) {
  .shell { width: min(100% - 36px, 720px); }
  header,
  .nav { height: 86px; }
  header.mobile-nav-open,
  header.mobile-nav-open .nav { height: auto; }
  .nav {
    flex-wrap: wrap;
    align-content: center;
    padding: 0;
  }
  .brand { min-width: 190px; }
  .brand-logo-svg { height: 58px; }
  .menu-toggle { display: inline-flex; }
  .nav > .nav-cta { display: none; }
  .nav-links {
    display: none;
    order: 3;
    flex: 0 0 100%;
    width: 100%;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 0 0 14px;
  }
  .nav-links a {
    display: flex;
    width: 100%;
    min-height: 44px;
    align-items: center;
    justify-content: flex-start;
    padding: 11px 14px;
    border: 1px solid var(--cw-border);
    border-radius: 8px;
    background: var(--cw-white);
  }
  .nav-links .mobile-menu-link { display: flex; }
  header.mobile-nav-open .nav-links { display: grid; }
  body.cw-inner-page header,
  body.cw-inner-page header .nav {
    height: 86px !important;
    min-height: 86px !important;
  }
  body.cw-inner-page header.mobile-nav-open,
  body.cw-inner-page header.mobile-nav-open .nav {
    height: auto !important;
  }
  body.cw-inner-page header .nav {
    width: min(100% - 36px, 720px) !important;
    flex-wrap: wrap !important;
  }
  body.cw-inner-page header .brand {
    min-width: 190px !important;
  }
  body.cw-inner-page header .brand-logo-svg {
    height: 58px !important;
  }
  body.cw-inner-page header .menu-toggle {
    display: inline-flex !important;
  }
  body.cw-inner-page header .nav-links {
    display: none !important;
    order: 3 !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    padding: 0 0 14px !important;
  }
  body.cw-inner-page header .nav-links a {
    display: flex !important;
    justify-content: flex-start !important;
    width: 100% !important;
    min-height: 44px !important;
    padding: 11px 14px !important;
    border: 1px solid var(--cw-border) !important;
    border-radius: 8px !important;
    background: var(--cw-white) !important;
  }
  body.cw-inner-page header.mobile-nav-open .nav-links {
    display: grid !important;
  }
}

@media (max-width: 640px) {
  .shell { width: min(100% - 28px, 520px); }
  .brand { min-width: 170px; }
  .brand-logo-svg { height: 52px; }
  body.cw-inner-page header .nav {
    width: min(100% - 28px, 520px) !important;
  }
  body.cw-inner-page header .brand {
    min-width: 170px !important;
  }
  body.cw-inner-page header .brand-logo-svg {
    height: 52px !important;
  }
  .btn,
  .cw-btn {
    width: 100%;
    white-space: normal;
    text-align: center;
  }
  .section,
  .cw-section { padding: 58px 0; }
  footer .shell { padding-right: 74px; }
  .buddy-float {
    right: 8px;
    bottom: 14px;
    width: 56px;
    height: 104px;
    border-radius: 25px;
    padding-top: 7px;
  }
  .buddy-avatar-wrap {
    width: 43px;
    height: 43px;
    flex-basis: 43px;
  }
  .buddy-avatar-svg {
    width: 40px;
    height: 40px;
  }
  .buddy-label {
    width: 44px;
    font-size: 11px;
  }
}
/* ===== 全站统一页头 ===== */

header .shell.nav {
  min-height: 102px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-logo-svg {
  width: 250px;
  height: 78px;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links a {
  color: #17212b;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  padding: 6px 0;
  background: transparent !important;
  border-radius: 0 !important;
  transition: color 0.18s ease;
}

/* 鼠标经过：只变金色，不加底色 */
.nav-links a:hover,
.nav-links a:focus-visible {
  color: #c98a13 !important;
  background: transparent !important;
}

/* 当前所在栏目：金色文字 + 金色下划线 */
.nav-links a[aria-current="page"],
.nav-links a.current-topic {
  color: #c98a13 !important;
  background: transparent !important;
  border-bottom: 2px solid #c98a13;
  padding-bottom: 6px;
}
