/* ==========================================================================
   Tibet Travel — 组件样式
   品牌色 #8B3A3A · 米白底 · 轻量、留白、可读性优先
   ========================================================================== */

:root {
  --tt-primary: #8B3A3A;
  --tt-primary-dark: #6E2C2C;
  --tt-ink: #1E1A17;
  --tt-muted: #6A615C;
  --tt-paper: #ffffff;
  --tt-sand: #F6F1EA;
  --tt-line: #E6DED5;
  --tt-accent: #B9772B;
  --tt-radius: 3px;
  --tt-shadow: 0 1px 2px rgba(30, 26, 23, .06), 0 8px 24px rgba(30, 26, 23, .05);
  --tt-max: 1240px;
}

/* ---------- 页头 ---------- */
.tt-header { position: sticky; top: 0; z-index: 60; background: var(--tt-paper); border-bottom: 1px solid var(--tt-line); }
.tt-header__bar { padding-top: .7rem; padding-bottom: .7rem; }
.tt-header__in { gap: 1.25rem; align-items: center; }
.tt-logo a { text-decoration: none; letter-spacing: -.01em; }
.tt-nav { display: flex; align-items: center; gap: 1.15rem; flex-wrap: wrap; font-size: .95rem; }
.tt-nav > a { color: var(--tt-ink); text-decoration: none; padding: .25rem 0; border-bottom: 2px solid transparent; }
.tt-nav > a:hover { border-bottom-color: var(--tt-primary); color: var(--tt-primary); }
.tt-nav__cta { background: var(--tt-primary); color: #fff !important; padding: .5rem .95rem !important; border-radius: var(--tt-radius); border-bottom: none !important; font-weight: 600; }
.tt-nav__cta:hover { background: var(--tt-primary-dark); }

.tt-drop { position: relative; }
.tt-drop > summary { list-style: none; cursor: pointer; color: var(--tt-ink); padding: .25rem 0; display: flex; align-items: center; gap: .35rem; }
.tt-drop > summary::-webkit-details-marker { display: none; }
.tt-drop > summary::after { content: "▾"; font-size: .7em; color: var(--tt-muted); }
.tt-drop[open] > summary { color: var(--tt-primary); }
.tt-drop__panel { position: absolute; left: 0; top: calc(100% + .55rem); min-width: 260px; background: #fff; border: 1px solid var(--tt-line); border-radius: var(--tt-radius); box-shadow: var(--tt-shadow); padding: .5rem; display: grid; gap: .1rem; z-index: 70; }
.tt-drop__panel a { display: block; padding: .5rem .6rem; border-radius: var(--tt-radius); text-decoration: none; color: var(--tt-ink); font-size: .95rem; }
.tt-drop__panel a:hover { background: var(--tt-sand); color: var(--tt-primary); }

.tt-durnavwrap { border-top: 1px solid var(--tt-line); background: var(--tt-sand); }
.tt-durnav { display: flex; align-items: center; gap: .35rem; flex-wrap: wrap; padding: .5rem 0; font-size: .88rem; }
.tt-durnav__label { text-transform: uppercase; letter-spacing: .08em; font-size: .7rem; color: var(--tt-muted); margin-right: .35rem; }
.tt-durnav a { color: var(--tt-ink); text-decoration: none; padding: .2rem .55rem; border: 1px solid var(--tt-line); background: #fff; border-radius: 999px; }
.tt-durnav a:hover { border-color: var(--tt-primary); color: var(--tt-primary); }
.tt-durnav__sep { width: 1px; height: 18px; background: var(--tt-line); margin: 0 .4rem; }

/* ---------- 主体/正文 ---------- */
.tt-main { padding-top: 2.2rem; padding-bottom: 3rem; }
.tt-title { margin-bottom: 1rem; letter-spacing: -.015em; }
.tt-content { font-size: 1.0625rem; }
.tt-content > * + * { margin-top: 1.15rem; }
.tt-content h2 { margin-top: 2.4rem; margin-bottom: .6rem; }
.tt-content h3 { margin-top: 1.8rem; margin-bottom: .4rem; font-size: 1.2rem; }
.tt-content ul, .tt-content ol { padding-left: 1.25rem; }
.tt-content li + li { margin-top: .35rem; }
.tt-content img { border-radius: var(--tt-radius); height: auto; }
.tt-content a { text-decoration-color: rgba(139, 58, 58, .35); text-underline-offset: 2px; }
.tt-content a:hover { text-decoration-color: var(--tt-primary); }
.tt-content table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.tt-content th, .tt-content td { border-bottom: 1px solid var(--tt-line); padding: .6rem .5rem; text-align: left; }

/* Hero */
.tt-hero { margin: 0 0 1.6rem; }
.tt-hero img { width: 100%; height: auto; border-radius: var(--tt-radius); display: block; }
.tt-hero figcaption { font-size: .85rem; color: var(--tt-muted); margin-top: .4rem; }

/* 导语 */
.tt-lede { font-size: 1.2rem; line-height: 1.6; color: #332E2A; }

/* ---------- 事实框 ---------- */
.tt-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: .1rem 1.5rem; background: var(--tt-sand); border: 1px solid var(--tt-line); border-radius: var(--tt-radius); padding: 1.1rem 1.25rem; margin: 1.5rem 0; }
.tt-fact { display: flex; gap: .5rem; padding: .35rem 0; border-bottom: 1px dashed var(--tt-line); }
.tt-fact:last-child { border-bottom: 0; }
.tt-fact dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--tt-muted); flex: 0 0 42%; }
.tt-fact dd { margin: 0; font-weight: 600; }

/* ---------- 逐日行程 ---------- */
.tt-itinerary { margin: 1.5rem 0; border-top: 2px solid var(--tt-primary); }
.tt-day { border-bottom: 1px solid var(--tt-line); }
.tt-day > summary { display: flex; gap: .9rem; align-items: baseline; cursor: pointer; padding: .85rem .25rem; list-style: none; }
.tt-day > summary::-webkit-details-marker { display: none; }
.tt-day__n { flex: 0 0 auto; font-size: .75rem; letter-spacing: .07em; text-transform: uppercase; color: var(--tt-primary); font-weight: 700; min-width: 4.2rem; }
.tt-day__t { font-family: Georgia, serif; font-size: 1.1rem; font-weight: 600; }
.tt-day__body { padding: 0 .25rem 1.1rem 5.1rem; }
.tt-day__body p { margin: .4rem 0; }
.tt-day__meta { display: flex; flex-wrap: wrap; gap: .35rem 1.1rem; font-size: .85rem; color: var(--tt-muted); margin-top: .6rem !important; }
.tt-day__meta b { color: #4A423C; font-weight: 600; }

/* ---------- FAQ ---------- */
.tt-faq { margin: 1.4rem 0; }
.tt-faq__item { border: 1px solid var(--tt-line); border-radius: var(--tt-radius); margin-bottom: .5rem; background: #fff; }
.tt-faq__item > summary { cursor: pointer; padding: .85rem 1rem; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.tt-faq__item > summary::-webkit-details-marker { display: none; }
.tt-faq__item > summary::after { content: "+"; color: var(--tt-primary); font-weight: 700; }
.tt-faq__item[open] > summary::after { content: "–"; }
.tt-faq__a { padding: 0 1rem 1rem; color: #3A342F; }
.tt-faq__a p { margin: .4rem 0; }

/* ---------- 列表 ---------- */
.tt-list { margin: .8rem 0; }
.tt-list--check { list-style: none; padding-left: 0; }
.tt-list--check li { position: relative; padding-left: 1.6rem; margin-bottom: .45rem; }
.tt-list--check li::before { content: "✓"; position: absolute; left: 0; color: var(--tt-primary); font-weight: 700; }

/* ---------- 含/不含 ---------- */
.tt-incl { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; margin: 1.4rem 0; }
.tt-incl__col h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; color: var(--tt-muted); margin-bottom: .5rem; }
.tt-incl__col ul { list-style: none; padding-left: 0; }
.tt-incl__col li { padding-left: 1.1rem; position: relative; }
.tt-incl__col li::before { content: "·"; position: absolute; left: .25rem; color: var(--tt-primary); font-weight: 700; }

/* ---------- 卡片 ---------- */
.tt-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(268px, 1fr)); gap: 1.4rem; margin: 1.5rem 0; }
.tt-card { border: 1px solid var(--tt-line); border-radius: var(--tt-radius); overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.tt-card__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.tt-card__body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .45rem; flex: 1; }
.tt-card__t { margin: 0; font-size: 1.1rem; }
.tt-card__t a { text-decoration: none; color: var(--tt-ink); }
.tt-card__t a:hover { color: var(--tt-primary); }
.tt-card__meta { margin: 0; font-size: .88rem; color: var(--tt-muted); }
.tt-card__price { margin: 0; font-weight: 700; color: var(--tt-primary); }
.tt-btn { display: inline-block; padding: .6rem 1rem; border-radius: var(--tt-radius); text-decoration: none; font-weight: 600; font-size: .93rem; text-align: center; }
.tt-btn--ghost { border: 1px solid var(--tt-primary); color: var(--tt-primary); margin-top: auto; }
.tt-btn--ghost:hover { background: var(--tt-primary); color: #fff; }

/* ---------- 定期出发枢纽 ---------- */
.tt-departures { margin: 1.5rem 0; }
.tt-departures__col { background: var(--tt-sand); border: 1px solid var(--tt-line); border-radius: var(--tt-radius); padding: 1.1rem 1.25rem; margin-bottom: 1.6rem; }
.tt-departures__col h3 { font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; color: var(--tt-muted); margin: .2rem 0 .6rem; }
.tt-chips { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0 0 1rem; }
.tt-chip { display: inline-block; border: 1px solid var(--tt-line); background: #fff; border-radius: 999px; padding: .35rem .85rem; text-decoration: none; color: var(--tt-ink); font-size: .92rem; }
.tt-chip:hover { border-color: var(--tt-primary); color: var(--tt-primary); }
.tt-departures__group { margin: 2rem 0 0; scroll-margin-top: 5rem; }
.tt-departures__note { font-size: .9rem; color: var(--tt-muted); font-style: italic; }

/* ---------- 询单块 ---------- */
.tt-inquiry { background: var(--tt-sand); border: 1px solid var(--tt-line); border-radius: var(--tt-radius); padding: 1.5rem 1.5rem 1.75rem; margin: 2.4rem 0 0; }
.tt-inquiry h2 { margin-top: 0; }
.tt-inquiry__scope { color: #3A342F; }
.tt-inquiry__form { margin-top: 1.2rem; }
.tt-inquiry__form input[type="text"], .tt-inquiry__form input[type="email"], .tt-inquiry__form textarea, .tt-inquiry__form select { width: 100%; padding: .6rem .7rem; border: 1px solid #CFC6BC; border-radius: var(--tt-radius); font: inherit; background: #fff; }
.tt-inquiry__form button, .tt-inquiry__form input[type="submit"] { background: var(--tt-primary); color: #fff; border: 0; padding: .75rem 1.4rem; border-radius: var(--tt-radius); font-weight: 600; cursor: pointer; }
.tt-inquiry__form button:hover { background: var(--tt-primary-dark); }
.tt-form-placeholder { color: var(--tt-muted); font-style: italic; }

/* ---------- 真实案例 ---------- */
.tt-facts--case { background: #fff; }
.tt-case__ref { margin-top: .6rem; font-size: .95rem; }

/* ---------- 相关页 ---------- */
.tt-related { margin-top: 2rem; border-top: 1px solid var(--tt-line); padding-top: 1rem; }
.tt-related h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: .07em; color: var(--tt-muted); }
.tt-related ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; }

/* ---------- 页脚 ---------- */
.tt-footer { margin-top: 3rem; border-top: 1px solid var(--tt-line); background: var(--tt-sand); }
.tt-trustbarwrap { padding-top: 1rem; }
.tt-trustbar { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: center; padding: .8rem 0; border-bottom: 1px solid var(--tt-line); }
.tt-trustbar__item { font-size: .9rem; color: #3F3833; display: inline-flex; gap: .4rem; align-items: center; }
.tt-trustbar__ico { color: var(--tt-primary); font-weight: 700; }
.tt-footer__main { padding-top: 2rem; padding-bottom: 1.5rem; }
.tt-footer__cols { gap: 1.5rem; }
.tt-footer h3 { font-size: 1rem !important; letter-spacing: .04em; }
.tt-flist { list-style: none; padding: 0; margin: 0; font-size: .92rem; }
.tt-flist li { margin-bottom: .35rem; }
.tt-flist a { color: #3F3833; text-decoration: none; }
.tt-flist a:hover { color: var(--tt-primary); text-decoration: underline; }
.tt-fcontact { font-size: .92rem; color: #3F3833; }
.tt-fsister { font-size: .85rem; color: var(--tt-muted); border-top: 1px dashed var(--tt-line); padding-top: .7rem; }
.tt-copy { font-size: .82rem; color: var(--tt-muted); margin-top: 1.6rem; padding-top: 1rem; border-top: 1px solid var(--tt-line); }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .tt-header__in { flex-direction: column; align-items: flex-start; }
  .tt-nav { gap: .7rem; font-size: .9rem; }
  .tt-drop__panel { position: static; box-shadow: none; margin-top: .4rem; }
  .tt-day__body { padding-left: .25rem; }
  .tt-durnav { font-size: .82rem; }
}
