/* ============================================================
 * 站点样式
 * 配色：青绿主色 + 暖橙强调 + 浅灰中性
 * ============================================================ */

/* ---------- 基础变量 ---------- */
:root {
  --color-primary:        #0d9488;
  --color-primary-dark:   #0f766e;
  --color-primary-light:  #5eead4;
  --color-accent:         #f97316;
  --color-accent-dark:    #ea580c;
  --color-text:           #1f2937;
  --color-text-soft:      #4b5563;
  --color-text-muted:     #6b7280;
  --color-bg:             #ffffff;
  --color-bg-soft:        #f8fafc;
  --color-bg-mute:        #f1f5f9;
  --color-border:         #e5e7eb;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 12px rgba(15, 118, 110, .08);
  --shadow-lg: 0 12px 32px rgba(15, 118, 110, .12);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
}

/* ---------- 重置 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .15s; }
a:hover { color: var(--color-primary); }
button { font: inherit; cursor: pointer; }
ul, ol { padding-left: 1.4em; }
h1, h2, h3, h4 { line-height: 1.3; margin: 0 0 .6em; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--color-border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: #fff; font-weight: 700; font-size: 20px;
  display: grid; place-items: center;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.brand-mark-img { background: #fff; padding: 4px; }
.brand-mark-img img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-size: 18px; font-weight: 700; color: var(--color-text); }
.brand-slogan { font-size: 12px; color: var(--color-text-muted); }

.nav-menu { display: flex; align-items: center; gap: 8px; }
.nav-item {
  padding: 8px 16px; border-radius: var(--radius-sm);
  color: var(--color-text-soft); font-size: 15px;
}
.nav-item:hover { color: var(--color-primary); background: var(--color-bg-mute); }
.nav-item.is-active { color: var(--color-primary); font-weight: 600; }
.nav-phone {
  display: inline-flex; align-items: center; gap: 6px;
  margin-left: 8px; padding: 8px 16px;
  background: var(--color-primary); color: #fff !important;
  border-radius: 999px; font-weight: 600; font-size: 14px;
  box-shadow: var(--shadow-md);
}
.nav-phone:hover { background: var(--color-primary-dark); }

.nav-toggle {
  display: none;
  width: 40px; height: 40px; padding: 0;
  background: transparent; border: 1px solid var(--color-border); border-radius: 8px;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--color-text); border-radius: 2px; transition: .2s; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 主视觉 Hero ---------- */
.hero {
  position: relative;
  padding: 88px 0 96px;
  background:
    linear-gradient(135deg, rgba(4,47,46,.78) 0%, rgba(19,78,74,.72) 60%, rgba(15,118,110,.7) 100%),
    url("../images/hero-bg.jpg") center / cover no-repeat,
    linear-gradient(135deg, #042f2e 0%, #134e4a 60%, #0f766e 100%);
  color: #fff;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(transparent 95%, rgba(255,255,255,.04) 95%),
    linear-gradient(90deg, transparent 95%, rgba(255,255,255,.04) 95%);
  background-size: 40px 40px;
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: 760px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  font-size: 13px; letter-spacing: .04em;
}
.hero h1 {
  margin: 20px 0 16px;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: .02em;
}
.hero p { font-size: 17px; color: rgba(255,255,255,.85); max-width: 600px; }
.hero-actions { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- 通用 Section ---------- */
.section { padding: 80px 0; }
.section-soft { background: var(--color-bg-soft); }
.section-head { text-align: center; margin-bottom: 48px; }
.section-eyebrow { color: var(--color-primary); font-size: 13px; letter-spacing: .15em; font-weight: 600; }
.section-title { margin: 8px 0 12px; font-size: 32px; font-weight: 700; }
.section-desc { color: var(--color-text-muted); max-width: 600px; margin: 0 auto; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 999px;
  font-weight: 600; font-size: 15px;
  border: 1px solid transparent;
  transition: transform .15s, box-shadow .15s, background .15s;
}
.btn-primary {
  background: var(--color-accent);
  color: #fff !important;
  box-shadow: 0 6px 18px rgba(249,115,22,.35);
}
.btn-primary:hover { background: var(--color-accent-dark); transform: translateY(-1px); }
.btn-ghost {
  background: rgba(255,255,255,.08);
  color: #fff !important;
  border-color: rgba(255,255,255,.4);
}
.btn-ghost:hover { background: rgba(255,255,255,.18); }
.btn-block { display: flex; width: 100%; }

/* ---------- 目的地卡片 ---------- */
.region-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.region-card {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: #fff !important;
  box-shadow: var(--shadow-md);
  transition: transform .25s, box-shadow .25s;
}
.region-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.region-card-inner {
  position: absolute; inset: 0;
  padding: 28px 24px;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(to top, rgba(0,0,0,.55) 0%, rgba(0,0,0,.1) 50%, transparent 100%);
}
.region-name { font-size: 28px; font-weight: 700; }
.region-sub { font-size: 13px; opacity: .9; margin-top: 4px; }
.region-desc { font-size: 13px; opacity: .85; margin: 12px 0 14px; line-height: 1.6; }
.region-link { font-size: 14px; font-weight: 600; }

/* ---------- 线路卡片 ---------- */
.tour-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.tour-card {
  display: flex; flex-direction: column;
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.tour-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary-light);
}
.tour-cover {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--color-bg-mute);
}
.tour-days {
  position: absolute; right: 12px; top: 12px;
  background: rgba(0,0,0,.55); color: #fff;
  padding: 4px 10px; border-radius: 999px; font-size: 12px;
  backdrop-filter: blur(4px);
}
.tour-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.tour-title {
  font-size: 16px; font-weight: 600; line-height: 1.45; margin: 0 0 8px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.tour-highlights {
  font-size: 13px; color: var(--color-text-muted); margin: 0 0 12px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.tour-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.tag {
  font-size: 12px; padding: 3px 9px; border-radius: 999px;
  background: rgba(13,148,136,.08); color: var(--color-primary);
}
.tag-light { background: rgba(255,255,255,.18); color: #fff; border: 1px solid rgba(255,255,255,.3); }
.tour-foot {
  margin-top: auto; padding-top: 12px;
  border-top: 1px dashed var(--color-border);
  display: flex; align-items: center; justify-content: space-between;
}
.tour-price { color: var(--color-accent); font-size: 13px; }
.tour-price strong { font-size: 22px; font-weight: 700; margin: 0 2px; }
.tour-more { font-size: 13px; color: var(--color-primary); font-weight: 600; }

/* ---------- 数据条 ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin-top: 48px;
}
.stat {
  text-align: center; padding: 28px 16px;
  background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}
.stat-num { font-size: 36px; font-weight: 800; color: var(--color-primary); }
.stat-num span { font-size: 18px; margin-left: 2px; }
.stat-label { color: var(--color-text-muted); font-size: 14px; margin-top: 4px; }

/* ---------- 服务亮点 ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature {
  padding: 28px 24px;
  background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color .2s, box-shadow .2s;
}
.feature:hover { border-color: var(--color-primary-light); box-shadow: var(--shadow-md); }
.feature-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(13,148,136,.1); color: var(--color-primary);
  display: grid; place-items: center;
  margin-bottom: 16px; font-size: 22px;
}
.feature-title { font-size: 17px; font-weight: 600; margin: 0 0 6px; }
.feature-desc { color: var(--color-text-muted); font-size: 14px; margin: 0; }

/* ---------- 联系区 ---------- */
.contact-grid {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px;
  align-items: stretch;
}
.contact-info {
  background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 36px;
}
.contact-row { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px dashed var(--color-border); }
.contact-row:last-child { border-bottom: 0; }
.contact-row-icon {
  width: 44px; height: 44px; border-radius: 10px; flex: none;
  background: rgba(13,148,136,.1); color: var(--color-primary);
  display: grid; place-items: center; font-size: 18px;
}
.contact-row-label { font-size: 13px; color: var(--color-text-muted); }
.contact-row-value { font-size: 17px; font-weight: 600; margin-top: 2px; }
.contact-row-value a:hover { color: var(--color-accent); }

.contact-card-cta {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 36px;
  display: flex; flex-direction: column; justify-content: center;
}
.contact-card-cta h3 { color: #fff; font-size: 22px; margin-bottom: 10px; }
.contact-card-cta p { color: rgba(255,255,255,.85); margin-bottom: 24px; }
.contact-card-cta .btn { align-self: flex-start; }

/* ---------- 关于页 ---------- */
.about-hero {
  padding: 80px 0;
  background: linear-gradient(135deg, #f0fdfa 0%, #ffffff 100%);
}
.about-hero h1 { font-size: 40px; font-weight: 800; }
.about-hero p { font-size: 17px; color: var(--color-text-soft); max-width: 720px; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-story-p {
  color: var(--color-text-soft);
  line-height: 1.9;
  margin: 0 0 14px;
}
.about-story-p:last-child { margin-bottom: 0; }
.about-image {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(13,148,136,.35), rgba(15,118,110,.15)),
    url("../images/about-team.jpg") center / cover no-repeat,
    linear-gradient(135deg, rgba(13,148,136,.85), rgba(94,234,212,.6));
  position: relative;
  box-shadow: var(--shadow-lg);
}
.about-image::after { content: none; }

/* ---------- 详情页 ---------- */
.detail-hero {
  padding: 80px 0 64px;
  color: #fff;
  position: relative;
}
.detail-hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.05), rgba(0,0,0,.45));
}
.detail-hero .container { position: relative; z-index: 1; }
.detail-breadcrumb { font-size: 13px; opacity: .9; margin-bottom: 18px; }
.detail-breadcrumb a { color: #fff !important; }
.detail-title { font-size: clamp(24px, 3.4vw, 36px); font-weight: 700; max-width: 900px; }
.detail-meta { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 14px; }
.detail-meta > span:first-child {
  background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.3);
  padding: 4px 12px; border-radius: 999px;
}

.detail-grid {
  display: grid; grid-template-columns: 1fr 320px; gap: 40px;
  margin-top: -40px; position: relative; z-index: 2;
  padding-bottom: 80px;
}
.detail-main {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}
.detail-block { margin-bottom: 36px; }
.detail-block:last-child { margin-bottom: 0; }
.detail-h2 {
  font-size: 20px; font-weight: 700;
  padding-left: 14px;
  border-left: 4px solid var(--color-primary);
  margin-bottom: 16px;
}
.detail-text { color: var(--color-text-soft); font-size: 15px; line-height: 1.8; }
.detail-text.notice {
  background: #fffbeb; border-left: 3px solid #f59e0b;
  padding: 14px 18px; border-radius: 0 8px 8px 0; color: #92400e;
}
.itinerary-list { padding-left: 0; list-style: none; counter-reset: day; }
.itinerary-list li {
  position: relative; padding: 14px 0 14px 0;
  border-bottom: 1px dashed var(--color-border);
  color: var(--color-text-soft);
}
.itinerary-list li:last-child { border-bottom: 0; }
.detail-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.bullet-list { padding-left: 1.2em; color: var(--color-text-soft); }
.bullet-list li { margin: 6px 0; }
.bullet-list.bullet-x { list-style: "✕  "; color: var(--color-text-muted); }

.detail-side { position: sticky; top: 96px; align-self: start; }
.price-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
}
.price-label { font-size: 13px; color: var(--color-text-muted); }
.price-value { font-size: 18px; color: var(--color-accent); margin: 4px 0 20px; }
.price-value strong { font-size: 36px; font-weight: 800; margin: 0 4px; }
.price-value span { color: var(--color-text-muted); font-size: 14px; }
.price-tip { margin-top: 14px; font-size: 12px; color: var(--color-text-muted); text-align: center; }

/* ---------- 列表页筛选 ---------- */
.tours-hero {
  padding: 60px 0 40px;
  background: linear-gradient(135deg, #f0fdfa, #ffffff);
}
.tours-hero h1 { font-size: 32px; font-weight: 800; }
.tours-hero p { color: var(--color-text-muted); }
.region-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.filter-chip {
  padding: 8px 18px; border-radius: 999px;
  background: #fff; border: 1px solid var(--color-border);
  font-size: 14px; color: var(--color-text-soft);
  transition: .15s;
}
.filter-chip:hover { border-color: var(--color-primary); color: var(--color-primary); }
.filter-chip.is-active {
  background: var(--color-primary); color: #fff !important; border-color: var(--color-primary);
}
.empty-state {
  text-align: center; padding: 80px 20px; color: var(--color-text-muted);
  background: var(--color-bg-soft); border-radius: var(--radius-md);
}

/* ---------- 页脚 ---------- */
.site-footer {
  background: #0f1f1d;
  color: rgba(255,255,255,.78);
  font-size: 14px;
  margin-top: 80px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1.2fr 1fr 1fr; gap: 40px;
  padding: 60px 0 40px;
}
.footer-title { font-size: 16px; font-weight: 600; color: #fff; margin-bottom: 18px; }
.footer-col p { margin: 8px 0; line-height: 1.7; }
.footer-col a { color: rgba(255,255,255,.78); }
.footer-col a:hover { color: var(--color-primary-light); }
.footer-desc { color: rgba(255,255,255,.6); }
.phone-strong { font-weight: 700; color: #fde68a !important; font-size: 16px; }
.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: 13px;
  color: rgba(255,255,255,.55);
}
.footer-bottom-inner {
  display: flex; flex-wrap: wrap; gap: 12px 24px;
  justify-content: space-between; align-items: center;
}
.footer-licenses { display: inline-flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.footer-licenses a { color: rgba(255,255,255,.7); }
.footer-licenses a:hover { color: var(--color-primary-light); text-decoration: underline; }
.footer-licenses .dot { opacity: .4; }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .region-cards { grid-template-columns: repeat(2, 1fr); }
  .tour-grid { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-side { position: static; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .section { padding: 56px 0; }
  .section-title { font-size: 26px; }
  .nav-toggle { display: flex; }
  .nav-menu {
    position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--color-border);
    padding: 12px 24px 20px;
    flex-direction: column; align-items: stretch; gap: 4px;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: .2s;
  }
  .nav-menu.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-item { padding: 12px 14px; }
  .nav-phone { margin-top: 8px; margin-left: 0; justify-content: center; }
  .hero { padding: 64px 0 72px; }
  .region-cards { grid-template-columns: 1fr 1fr; gap: 14px; }
  .region-card-inner { padding: 20px 16px; }
  .region-name { font-size: 22px; }
  .tour-grid { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .detail-main { padding: 24px; }
  .detail-cols { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding: 48px 0 32px; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; }
}
