/* ══════════════════════════════════════════════════
   四时织锦·舟游四海 — tourism.css  ·  升级版
   ══════════════════════════════════════════════════ */

/* ─── Section 背景 ─── */
.tourism {
  background: linear-gradient(180deg, var(--paper-warm) 0%, var(--white) 100%);
  position: relative;
  overflow: hidden;
}
.tourism::before {
  content: '游';
  position: absolute;
  top: -0.15em; left: -0.05em;
  font-family: 'Ma Shan Zheng', serif;
  font-size: clamp(240px, 30vw, 440px);
  color: rgba(45,90,39,.035);
  pointer-events: none;
  line-height: 1;
}

/* ─── 四张服务卡片网格 ─── */
.tourism-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ─── 单张卡片 ─── */
.tc-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 4px 20px rgba(0,0,0,.08), 0 1px 4px rgba(0,0,0,.05);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0,0,0,.05);
}
.tc-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 24px 64px rgba(0,0,0,.14), 0 8px 24px rgba(0,0,0,.08);
  border-color: transparent;
}

/* 顶部彩色细线 */
.tc-card::before {
  content: '';
  display: block;
  height: 3px;
  transition: height var(--transition);
}
.tc-card:nth-child(1)::before { background: linear-gradient(to right, var(--gold), var(--gold-light)); }
.tc-card:nth-child(2)::before { background: linear-gradient(to right, var(--green-mid), var(--green-light)); }
.tc-card:nth-child(3)::before { background: linear-gradient(to right, var(--red-mid), #C0392B); }
.tc-card:nth-child(4)::before { background: linear-gradient(to right, var(--sky), #5B9EC9); }
.tc-card:hover::before { height: 4px; }

/* ─── 卡片图片区域 ─── */
.tc-visual {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.tc-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s ease;
}
.tc-card:hover .tc-visual img { transform: scale(1.1); }
.tc-img-mask {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom,
    rgba(0,0,0,.05) 0%,
    rgba(0,0,0,.08) 40%,
    rgba(0,0,0,.55) 100%);
  transition: background var(--transition);
}
.tc-card:hover .tc-img-mask {
  background: linear-gradient(to bottom,
    rgba(0,0,0,.1) 0%,
    rgba(0,0,0,.15) 40%,
    rgba(0,0,0,.65) 100%);
}
.tc-icon-float {
  position: absolute;
  bottom: 14px; left: 18px;
  font-size: 2rem;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.5));
  transition: transform var(--transition);
}
.tc-card:hover .tc-icon-float { transform: scale(1.15) rotate(-8deg); }

/* ─── 卡片文字内容 ─── */
.tc-content {
  padding: 24px 22px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* ─── Badge 颜色主题 ─── */
.tc-badge {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  padding: 3px 12px;
  border-radius: var(--radius-xl);
  margin-bottom: 12px;
  width: fit-content;
}
.tc-badge--gold  { background: rgba(200,134,10,.1);  color: var(--gold);      border: 1px solid rgba(200,134,10,.2); }
.tc-badge--green { background: rgba(45,90,39,.08);   color: var(--green-mid); border: 1px solid rgba(45,90,39,.18); }
.tc-badge--red   { background: rgba(139,26,26,.08);  color: var(--red-mid);   border: 1px solid rgba(139,26,26,.18); }
.tc-badge--sky   { background: rgba(74,127,165,.08); color: var(--sky);       border: 1px solid rgba(74,127,165,.18); }

.tc-title {
  font-family: 'Noto Serif SC', serif;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.3;
}
.tc-desc {
  font-size: .85rem;
  color: var(--gray);
  line-height: 1.75;
  margin-bottom: 16px;
  flex: 1;
}
.tc-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 20px;
}
.tc-list li {
  font-size: .82rem;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(0,0,0,.04);
}
.tc-list li:last-child { border-bottom: none; }
.tc-dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green-mid);
  flex-shrink: 0;
}

/* ─── CTA 按钮 ─── */
.tc-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .88rem;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: var(--radius-xl);
  transition: var(--transition);
  letter-spacing: .04em;
  align-self: flex-start;
  background: var(--gold-pale);
  color: var(--gold);
  border: 1px solid rgba(200,134,10,.2);
}
.tc-cta:hover           { background: var(--gold); color: var(--white); box-shadow: 0 6px 20px rgba(200,134,10,.35); transform: translateY(-2px); }
.tc-cta--green          { background: var(--green-pale); color: var(--green-mid); border-color: rgba(45,90,39,.2); }
.tc-cta--green:hover    { background: var(--green-mid); color: var(--white); box-shadow: 0 6px 20px rgba(45,90,39,.3); transform: translateY(-2px); }
.tc-cta--red            { background: rgba(139,26,26,.06); color: var(--red-mid); border-color: rgba(139,26,26,.15); }
.tc-cta--red:hover      { background: var(--red-mid); color: var(--white); box-shadow: 0 6px 20px rgba(139,26,26,.3); transform: translateY(-2px); }
.tc-cta--sky            { background: rgba(74,127,165,.07); color: var(--sky); border-color: rgba(74,127,165,.18); }
.tc-cta--sky:hover      { background: var(--sky); color: var(--white); box-shadow: 0 6px 20px rgba(74,127,165,.3); transform: translateY(-2px); }
.tc-cta svg { transition: transform var(--transition); }
.tc-cta:hover svg { transform: translateX(4px); }

/* ════════════════════════════════
   旅游服务 Modal — 升级版
   ════════════════════════════════ */
.tourism-modal {
  display: none;
  position: fixed; inset: 0;
  z-index: 2000;
  align-items: flex-end;
  justify-content: flex-end;
}
.tourism-modal.open { display: flex; }

.tm-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(6px);
  animation: tmOverlayIn .3s ease forwards;
}
@keyframes tmOverlayIn { from { opacity:0; } to { opacity:1; } }

.tm-panel {
  position: relative; z-index: 1;
  width: min(580px, 100vw);
  height: 100vh;
  background: var(--white);
  display: flex;
  flex-direction: column;
  box-shadow: -24px 0 80px rgba(0,0,0,.25);
  animation: tmSlideIn .4s cubic-bezier(.4,0,.2,1) forwards;
  overflow: hidden;
}
/* 顶部金色细条 */
.tm-panel::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(to right, var(--gold), var(--green-mid));
  flex-shrink: 0;
}
@keyframes tmSlideIn {
  from { transform: translateX(100%); }
  to   { transform: translateX(0); }
}

.tm-close {
  position: absolute;
  top: 20px; left: 20px;
  z-index: 10;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(0,0,0,.07);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
  transition: var(--transition);
}
.tm-close:hover { background: rgba(0,0,0,.14); transform: rotate(90deg); box-shadow: var(--shadow-sm); }

.tm-content { overflow-y: auto; flex: 1; scrollbar-width: thin; scrollbar-color: rgba(0,0,0,.12) transparent; }
.tm-content::-webkit-scrollbar { width: 4px; }
.tm-content::-webkit-scrollbar-thumb { background: rgba(0,0,0,.15); border-radius: 4px; }

/* ─── Modal 头部 ─── */
.tm-header {
  position: relative;
  height: 230px;
  overflow: hidden;
  flex-shrink: 0;
}
.tm-header img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.tm-header:hover img { transform: scale(1.04); }
.tm-header-mask {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.15), rgba(0,0,0,.7));
}
.tm-header-info {
  position: absolute;
  bottom: 24px; left: 28px; right: 28px;
  color: var(--white);
}
.tm-icon { font-size: 2.6rem; margin-bottom: 8px; filter: drop-shadow(0 2px 8px rgba(0,0,0,.4)); }
.tm-header-badge {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  padding: 3px 12px;
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.3);
  backdrop-filter: blur(4px);
  margin-bottom: 8px;
}
.tm-header-title {
  font-family: 'Noto Serif SC', serif;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 6px;
  text-shadow: 0 2px 12px rgba(0,0,0,.3);
}
.tm-header-sub { font-size: .85rem; color: rgba(255,255,255,.82); }

/* ─── Modal 正文 ─── */
.tm-body { padding: 28px; }

.tm-coming-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: linear-gradient(135deg, rgba(200,134,10,.07), rgba(200,134,10,.03));
  border: 1px solid rgba(200,134,10,.22);
  border-radius: var(--radius-md);
  margin-bottom: 28px;
}
.tm-coming-icon { font-size: 1.4rem; flex-shrink: 0; }
.tm-coming-text strong { display: block; font-size: .92rem; color: var(--gold); margin-bottom: 2px; }
.tm-coming-text span   { font-size: .8rem; color: var(--gray); }

.tm-section-title {
  font-family: 'Noto Serif SC', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0,0,0,.06);
}

/* ─── 列表 ─── */
.tm-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.tm-list-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--paper);
  border-radius: var(--radius-md);
  border: 1px solid rgba(0,0,0,.04);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.tm-list-item:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); background: var(--white); }
.tm-item-icon { font-size: 1.5rem; flex-shrink: 0; }
.tm-item-info { flex: 1; }
.tm-item-name { font-size: .9rem; font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.tm-item-sub  { font-size: .78rem; color: var(--gray); }
.tm-item-price {
  font-family: 'Noto Serif SC', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
}
.tm-item-tag {
  font-size: .7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-xl);
  background: rgba(200,134,10,.1);
  color: var(--gold);
  margin-left: 8px;
}

/* ─── 联系区域 ─── */
.tm-contact {
  padding: 20px;
  background: linear-gradient(135deg, var(--green-pale), rgba(212,232,212,.5));
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  border: 1px solid rgba(45,90,39,.12);
}
.tm-contact-title { font-size: .88rem; font-weight: 700; color: var(--green-mid); margin-bottom: 12px; }
.tm-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: .82rem;
  color: var(--ink-soft);
  margin-bottom: 8px;
  line-height: 1.5;
}
.tm-contact-item:last-child { margin-bottom: 0; }

.tm-cta-full {
  display: block;
  width: 100%;
  padding: 15px;
  text-align: center;
  background: linear-gradient(135deg, var(--green-mid), var(--green-light));
  color: var(--white);
  font-size: .95rem;
  font-weight: 600;
  border-radius: var(--radius-xl);
  letter-spacing: .06em;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(45,90,39,.25);
}
.tm-cta-full:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(45,90,39,.4); filter: brightness(1.08); }
