/* ============ KCT Travel 企业官网 · 全局样式 ============ */
:root {
  --navy: #0d2b6b;
  --navy-deep: #081d4d;
  --blue: #1a56b8;
  --red: #d43a2f;
  --gold: #c9a86a;
  --text: #2a2f3a;
  --muted: #6b7280;
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --border: #e5e9f2;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(13, 43, 107, 0.08);
  --maxw: 1160px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-wrap {
  max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 46px; height: 46px; border-radius: 12px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 60%, var(--red) 130%);
  color: #fff; font-weight: 800; font-size: 17px; font-style: italic;
  display: flex; align-items: center; justify-content: center;
  letter-spacing: 0.5px;
}
.brand-name { font-size: 19px; font-weight: 700; color: var(--navy); line-height: 1.2; }
.brand-name small { display: block; font-size: 11px; font-weight: 500; color: var(--muted); letter-spacing: 1px; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 9px 16px; border-radius: 8px; font-size: 15px; font-weight: 500;
  color: var(--text); transition: all 0.2s;
}
.nav-links a:hover { color: var(--blue); background: var(--bg-soft); }
.nav-links a.active { color: var(--navy); font-weight: 700; background: #eef2fb; }
.nav-auth a.btn { color: #fff; }
.nav-auth a.btn:hover { color: #fff; background: var(--blue); }

.nav-auth { display: flex; align-items: center; gap: 10px; margin-left: 12px; }
.nav-user {
  display: flex; align-items: center; gap: 8px; font-size: 14px;
  color: var(--navy); font-weight: 600; padding: 6px 12px;
  background: #eef2fb; border-radius: 999px;
}
.nav-user .dot { width: 8px; height: 8px; border-radius: 50%; background: #22a06b; }

.btn {
  display: inline-block; padding: 10px 22px; border-radius: 8px;
  font-size: 15px; font-weight: 600; cursor: pointer; border: none;
  transition: all 0.2s; text-align: center;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--blue); transform: translateY(-1px); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: #b92f26; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--navy); margin: 5px 0; border-radius: 2px; }

/* ---------- 页头横幅（内页） ---------- */
.page-hero {
  background:
    radial-gradient(1200px 400px at 85% -20%, rgba(212, 58, 47, 0.25), transparent 60%),
    linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 55%, #143a8f 100%);
  color: #fff; padding: 84px 0 64px; position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: url("../images/hero-pattern.svg") no-repeat right -60px center / 560px;
  opacity: 0.12; pointer-events: none;
}
.page-hero .crumb { font-size: 13px; color: rgba(255,255,255,0.65); letter-spacing: 2px; text-transform: uppercase; }
.page-hero h1 { font-size: 40px; margin: 10px 0 12px; font-weight: 800; letter-spacing: 1px; }
.page-hero p { font-size: 17px; color: rgba(255,255,255,0.82); max-width: 640px; }

/* ---------- 首页 Hero ---------- */
.hero {
  background:
    radial-gradient(1000px 480px at 90% -10%, rgba(212, 58, 47, 0.32), transparent 55%),
    radial-gradient(800px 420px at -10% 110%, rgba(201, 168, 106, 0.18), transparent 60%),
    linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 52%, #16409c 100%);
  color: #fff; padding: 108px 0 96px; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: url("../images/hero-pattern.svg") no-repeat right -80px bottom -40px / 640px;
  opacity: 0.14; pointer-events: none;
}
.hero-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
.hero-tag {
  display: inline-block; padding: 6px 16px; border: 1px solid rgba(255,255,255,0.35);
  border-radius: 999px; font-size: 14px; letter-spacing: 2px; color: rgba(255,255,255,0.85);
  margin-bottom: 26px;
}
.hero h1 { font-size: 52px; font-weight: 800; line-height: 1.25; letter-spacing: 2px; }
.hero h1 em { font-style: normal; color: #ffd9a8; }
.hero .sub { margin-top: 18px; font-size: 19px; color: rgba(255,255,255,0.85); letter-spacing: 4px; }
.hero .desc { margin-top: 22px; font-size: 16px; color: rgba(255,255,255,0.7); max-width: 620px; }
.hero-actions { margin-top: 38px; display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats { margin-top: 58px; display: flex; gap: 56px; flex-wrap: wrap; }
.hero-stat .num { font-size: 32px; font-weight: 800; color: #fff; }
.hero-stat .num small { font-size: 15px; font-weight: 600; margin-left: 2px; }
.hero-stat .label { font-size: 13px; color: rgba(255,255,255,0.65); letter-spacing: 1px; }

/* ---------- 通用 Section ---------- */
.section { padding: 84px 0; }
.section.soft { background: var(--bg-soft); }
.section-head { text-align: center; margin-bottom: 52px; }
.section-head .eyebrow {
  font-size: 13px; letter-spacing: 4px; color: var(--red); font-weight: 700; text-transform: uppercase;
}
.section-head h2 { font-size: 34px; color: var(--navy); margin: 10px 0 12px; font-weight: 800; letter-spacing: 1px; }
.section-head p { color: var(--muted); font-size: 16px; max-width: 680px; margin: 0 auto; }

/* ---------- 卡片 ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 26px; transition: all 0.25s; box-shadow: 0 2px 8px rgba(13,43,107,0.04);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d7dfef; }
.card .icon {
  width: 52px; height: 52px; border-radius: 12px; margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center; font-size: 24px;
  background: linear-gradient(135deg, #eef2fb, #e3ebfa); color: var(--navy);
}
.card h3 { font-size: 18px; color: var(--navy); margin-bottom: 10px; font-weight: 700; }
.card p { font-size: 14.5px; color: var(--muted); }
.card .tags { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  font-size: 12px; padding: 3px 10px; border-radius: 999px;
  background: var(--bg-soft); color: var(--blue); border: 1px solid var(--border);
}

/* ---------- 图文分栏 ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.split.reverse { grid-template-columns: 1fr 1.05fr; }
.split .media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.split h2 { font-size: 30px; color: var(--navy); margin-bottom: 18px; font-weight: 800; }
.split p { color: var(--muted); margin-bottom: 14px; font-size: 15.5px; }
.split .point-list { margin: 18px 0 26px; }
.point-list li {
  position: relative; padding-left: 26px; margin-bottom: 10px; color: var(--text); font-size: 15px;
}
.point-list li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px;
  border-radius: 50%; background: var(--red);
}

/* ---------- 画廊 ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery figure {
  border-radius: var(--radius); overflow: hidden; position: relative;
  box-shadow: 0 4px 14px rgba(13,43,107,0.08); cursor: pointer;
}
.gallery figure img { width: 100%; height: 240px; object-fit: cover; transition: transform 0.4s; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 16px 12px;
  background: linear-gradient(transparent, rgba(8, 29, 77, 0.82));
  color: #fff; font-size: 14px; font-weight: 600;
}

/* ---------- 数据条 ---------- */
.stat-strip { background: linear-gradient(120deg, var(--navy-deep), var(--navy)); color: #fff; padding: 56px 0; }
.stat-strip .grid-4 { gap: 20px; }
.stat-item { text-align: center; }
.stat-item .num { font-size: 40px; font-weight: 800; color: #ffd9a8; }
.stat-item .label { margin-top: 6px; font-size: 15px; color: rgba(255,255,255,0.8); letter-spacing: 1px; }

/* ---------- CTA ---------- */
.cta-band {
  background:
    radial-gradient(700px 300px at 15% 120%, rgba(212,58,47,0.35), transparent 60%),
    linear-gradient(120deg, var(--navy) 0%, #143a8f 100%);
  color: #fff; text-align: center; padding: 72px 24px; border-radius: 20px;
}
.cta-band h2 { font-size: 30px; margin-bottom: 12px; font-weight: 800; }
.cta-band p { color: rgba(255,255,255,0.8); margin-bottom: 28px; }

/* ---------- 表格 ---------- */
.info-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.info-table th, .info-table td { padding: 16px 20px; text-align: left; font-size: 15px; border-bottom: 1px solid var(--border); }
.info-table th { width: 160px; background: #f0f4fb; color: var(--navy); font-weight: 700; white-space: nowrap; }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: none; }

/* ---------- 表单 ---------- */
.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 14px; font-weight: 600; color: var(--navy); }
.form-field label .req { color: var(--red); margin-left: 2px; }
.form-field input, .form-field select, .form-field textarea {
  padding: 12px 14px; border: 1.5px solid var(--border); border-radius: 8px;
  font-size: 15px; font-family: inherit; background: #fbfcfe; transition: border-color 0.2s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--blue); background: #fff;
}
.form-field textarea { min-height: 130px; resize: vertical; }
.form-msg { margin-top: 16px; font-size: 14px; display: none; padding: 12px 16px; border-radius: 8px; }
.form-msg.ok { display: block; background: #e8f7ef; color: #157347; border: 1px solid #bfe8d2; }
.form-msg.err { display: block; background: #fdeeee; color: #b92f26; border: 1px solid #f5c6c2; }

/* ---------- 登录页 ---------- */
.auth-wrap { min-height: calc(100vh - 72px); display: flex; align-items: center; justify-content: center; padding: 60px 24px; background: var(--bg-soft); }
.auth-card {
  width: 100%; max-width: 460px; background: #fff; border-radius: 18px;
  box-shadow: var(--shadow); border: 1px solid var(--border); overflow: hidden;
}
.auth-head { padding: 34px 36px 0; text-align: center; }
.auth-head .brand-mark { margin: 0 auto 14px; width: 56px; height: 56px; font-size: 20px; }
.auth-head h1 { font-size: 24px; color: var(--navy); font-weight: 800; }
.auth-head p { font-size: 14px; color: var(--muted); margin-top: 6px; }
.auth-tabs { display: flex; margin: 24px 36px 0; border-bottom: 1px solid var(--border); }
.auth-tab {
  flex: 1; text-align: center; padding: 13px 0; font-size: 15px; font-weight: 600;
  color: var(--muted); cursor: pointer; border-bottom: 2.5px solid transparent; transition: all 0.2s;
}
.auth-tab.active { color: var(--navy); border-bottom-color: var(--navy); }
.auth-body { padding: 26px 36px 36px; }
.auth-pane { display: none; }
.auth-pane.active { display: block; }
.auth-pane .form-field { margin-bottom: 16px; }
.code-row { display: flex; gap: 10px; }
.code-row input { flex: 1; }
.code-row .btn { white-space: nowrap; padding: 0 16px; font-size: 14px; }
.auth-switch { text-align: center; font-size: 13.5px; color: var(--muted); margin-top: 14px; }
.auth-switch a { color: var(--blue); font-weight: 600; cursor: pointer; }
.auth-divider { display: flex; align-items: center; gap: 14px; margin: 22px 0 16px; color: #9aa3b2; font-size: 13px; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.btn-wechat {
  width: 100%; padding: 12px; border-radius: 8px; border: 1.5px solid #2aae67;
  color: #1f8f54; background: #f2fbf6; font-size: 15px; font-weight: 600; cursor: pointer; transition: all 0.2s;
}
.btn-wechat:hover { background: #e4f7ec; }
.auth-error {
  display: none; margin-bottom: 16px; padding: 11px 14px; border-radius: 8px;
  background: #fdeeee; color: #b92f26; font-size: 14px; border: 1px solid #f5c6c2;
}
.auth-error.show { display: block; }

/* ---------- 会员中心 ---------- */
.member-grid { display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: start; }
.member-side { background: linear-gradient(150deg, var(--navy-deep), var(--navy)); color: #fff; border-radius: var(--radius); padding: 32px 26px; }
.member-side .avatar {
  width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 16px;
}
.member-side h3 { font-size: 18px; margin-bottom: 4px; word-break: break-all; }
.member-side .uid { font-size: 12px; color: rgba(255,255,255,0.6); word-break: break-all; }
.member-side .btn { margin-top: 24px; width: 100%; background: rgba(255,255,255,0.12); color: #fff; }
.member-side .btn:hover { background: rgba(255,255,255,0.22); }
.member-main { display: flex; flex-direction: column; gap: 28px; }
.member-panel { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: 0 2px 8px rgba(13,43,107,0.04); }
.member-panel h2 { font-size: 19px; color: var(--navy); margin-bottom: 18px; font-weight: 700; }
.inq-item { border: 1px solid var(--border); border-radius: 10px; padding: 16px 18px; margin-bottom: 12px; }
.inq-item .row1 { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; flex-wrap: wrap; gap: 6px; }
.inq-item .svc { font-size: 12px; color: var(--blue); background: #eef2fb; padding: 2px 10px; border-radius: 999px; }
.inq-item .date { font-size: 12.5px; color: var(--muted); }
.inq-item .msg { font-size: 14.5px; color: var(--text); }
.inq-item .who { font-size: 13px; color: var(--muted); margin-top: 6px; }
.empty-tip { color: var(--muted); font-size: 14px; text-align: center; padding: 24px 0; }
.file-item { display: flex; justify-content: space-between; align-items: center; border: 1px solid var(--border); border-radius: 10px; padding: 12px 16px; margin-bottom: 10px; gap: 12px; }
.file-item .fname { font-size: 14px; color: var(--text); word-break: break-all; }
.file-item .fdate { font-size: 12.5px; color: var(--muted); white-space: nowrap; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,0.75); margin-top: 0; }
.footer-top { max-width: var(--maxw); margin: 0 auto; padding: 56px 24px 36px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-top h4 { color: #fff; font-size: 16px; margin-bottom: 16px; font-weight: 700; }
.footer-top p, .footer-top a { font-size: 14px; color: rgba(255,255,255,0.65); display: block; margin-bottom: 9px; }
.footer-top a:hover { color: #fff; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-name small { color: rgba(255,255,255,0.5); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 18px 24px; text-align: center; font-size: 13px; color: rgba(255,255,255,0.45); }

/* ---------- 其他 ---------- */
.mt-24 { margin-top: 24px; }
.text-center { text-align: center; }
.skeleton { background: linear-gradient(90deg, #eef1f7 25%, #f7f9fc 50%, #eef1f7 75%); background-size: 200% 100%; animation: shimmer 1.2s infinite; border-radius: 8px; color: transparent !important; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ---------- 联系页分栏 ---------- */
@media (max-width: 960px) {
  .contact-split { grid-template-columns: 1fr !important; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split, .split.reverse { grid-template-columns: 1fr; gap: 32px; }
  .member-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 38px; }
}
@media (max-width: 680px) {
  .nav-links {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: stretch;
    padding: 12px 20px 20px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .hero { padding: 76px 0 64px; }
  .hero h1 { font-size: 30px; }
  .hero-stats { gap: 28px; }
  .page-hero h1 { font-size: 30px; }
  .section { padding: 60px 0; }
  .footer-top { grid-template-columns: 1fr; }
}
