/* 享趣文旅集团官网｜全站共享样式 V3.0（2026-09-28 大图驱动改版）

   改版依据：品牌方当次指令「我觉得排版的很丑，我给你一个我想要的」，并附一张
   「大图驱动 + 留白宽松 + 中文大标题配英文小标 + 深色四栏页脚」的旅行站参考图。

   分工：本文件＝全站共享（设计令牌、页头、面包屑、正文排版、表格、卡片、按钮、
         图片带、CTA、四栏页脚）；首页独有区块一律放 home.css。

   与 V2.0 的关系：**类名一个没删、一个没改**，16 个内页的 HTML 不用动；
   变的是视觉语言——从"深色文字墙 + 卡片描边"改为"浅底 + 大留白 + 轻字重 + 细线"。

   层级差异仍然只用一个变量：<body class="page page--group|page--yanxue|page--jiuqu|page--bamin"> 覆盖 --accent。

   2026-09-28 深夜追加（品牌板块 享趣就去 / 享游八闽 上线）：
   ① 新增两个品牌层的强调色（.page--jiuqu / .page--bamin）；
   ② 新增共享组件 .site-hero（品牌首页首屏带），三条品牌线共用一套结构、只换强调色与英文小标；
   ③ 修正 .wrap 的 padding 简写压过 main 上边距的问题（类选择器优先于元素选择器）。 */

/* ============ 1. 设计令牌 ============ */

:root {
  /* 品牌色：直接取自 LOGO 本体，不得自创 */
  --navy: #04142c;
  --orange: #eb613b;
  --yanxue: #6fba2c;
  --jiuqu: #14140f;
  --bamin: #931126;

  /* 中性色 */
  --paper: #ffffff;
  --paper-2: #f7f8f9;
  --paper-3: #eef1f3;
  --ink: #0f1720;
  --ink-2: #46525d;
  --ink-3: #7c8891;
  --line: #e4e8ea;
  --line-strong: #c9d1d6;

  /* 层级强调色（唯一层级变量，由 body 类覆盖） */
  --accent: #eb613b;
  --accent-deep: #c94a26;
  --accent-soft: rgba(235, 97, 59, .08);

  --radius: 3px;
  --radius-lg: 6px;
  --shadow-sm: 0 2px 10px rgba(15, 23, 32, .05);
  --shadow: 0 18px 46px -22px rgba(15, 23, 32, .35);
  --shadow-lg: 0 34px 80px -34px rgba(15, 23, 32, .45);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --sans: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Hiragino Sans GB",
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.page--group { --accent: #eb613b; --accent-deep: #c94a26; --accent-soft: rgba(235, 97, 59, .08); }
.page--yanxue { --accent: #6fba2c; --accent-deep: #4f8f1d; --accent-soft: rgba(111, 186, 44, .10); }
.page--jiuqu { --accent: #14140f; --accent-deep: #14140f; --accent-soft: rgba(255, 247, 153, .45); }
.page--bamin { --accent: #931126; --accent-deep: #7d0e20; --accent-soft: rgba(147, 17, 38, .10); }

/* ============ 2. 基础 ============ */

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: 940px; margin: 0 auto; padding: 0 26px; }
.wrap--wide { max-width: 1200px; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 26px; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ============ 3. 页头 ============ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(4, 20, 44, .95);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .10);
}

.site-header::before {
  content: "";
  display: block;
  height: 2px;
  background: var(--accent);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 10px 22px;
  min-height: 74px;
  flex-wrap: wrap;
}

.site-header__brand { display: inline-flex; align-items: center; flex: none; }
.site-header__logo { display: block; height: 30px; width: auto; }

/* 品牌层标识是"深色字 + 浅色图形"，直接放深色页头不可见，
   统一用一个白色圆角底片承载（集团横版白标识不需要） */
.site-header__chip {
  display: inline-flex;
  align-items: center;
  flex: none;
  background: #fff;
  border-radius: 999px;
  padding: 6px 14px;
  box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .9);
}

.site-header__chip img { display: block; height: 28px; width: auto; }

.site-header__slogan {
  font-size: 13px;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .62);
  flex: 1 1 auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  flex: none;
  height: 38px;
  padding: 0 15px;
  border-radius: 999px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, .78);
  white-space: nowrap;
  transition: background .22s var(--ease), color .22s var(--ease);
}

.site-nav a:hover { background: rgba(255, 255, 255, .10); color: #fff; }

.site-header__tel {
  display: inline-flex;
  align-items: center;
  flex: none;
  height: 38px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: .04em;
  transition: transform .22s var(--ease), filter .22s var(--ease);
}

.site-header__tel:hover { filter: brightness(1.08); transform: translateY(-1px); }

/* ============ 4. 面包屑 ============ */

.crumbs {
  margin: 0 0 26px;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--ink-3);
}

.crumbs a { color: var(--ink-3); }
.crumbs a:hover { color: var(--accent-deep); text-decoration: underline; }
.crumbs .crumbs__sep { color: var(--line-strong); margin: 0 8px; }
.crumbs [aria-current] { color: var(--ink-2); }

/* ============ 5. 正文排版 ============ */

main { padding: 60px 0 20px; }

main > h1 {
  margin: 0 0 22px;
  font-size: clamp(30px, 4.2vw, 46px);
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--ink);
}

main > .lead {
  margin: 0 0 34px;
  padding: 0 0 0 22px;
  border-left: 2px solid var(--accent);
  font-size: 17px;
  line-height: 1.95;
  color: var(--ink-2);
}

main > .lead strong { color: var(--ink); font-weight: 700; }

main h2 {
  margin: 58px 0 18px;
  font-size: clamp(22px, 2.4vw, 29px);
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--ink);
}

main h3 { margin: 32px 0 10px; font-size: 17.5px; line-height: 1.6; font-weight: 700; color: var(--ink); }
main p { margin: 0 0 15px; }
main ul, main ol { margin: 0 0 18px; padding-left: 22px; }
main li { margin-bottom: 8px; }
main li::marker { color: var(--accent); }

main a {
  color: var(--accent-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

main a:hover { text-decoration-thickness: 2px; }

/* ============ 6. 表格 ============ */

.table-scroll {
  margin: 22px 0 26px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}

table { width: 100%; border-collapse: collapse; margin: 0; font-size: 15px; }
.table-scroll > table { min-width: 560px; }

th, td {
  padding: 14px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  line-height: 1.7;
}

thead th {
  background: var(--paper-2);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--ink);
  white-space: nowrap;
}

/* 首列多为品牌名／系列名（4–5 个汉字），窄了会被拆成两行，给一个下限 */
th:first-child, td:first-child { min-width: 94px; }

tbody tr:nth-child(even) { background: rgba(15, 23, 32, .015); }
tbody tr:last-child td { border-bottom: 0; }
td strong { color: var(--ink); }

main > table { margin: 22px 0 26px; }

/* ============ 7. 卡片 / 板块 / 分流 ============ */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 24px 0 30px;
}

.card {
  padding: 26px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.card h3 { margin: 0 0 10px; font-size: 18px; color: var(--ink); }
.card p { margin: 0; font-size: 15px; color: var(--ink-2); }
.card a { font-weight: 600; }

.router { list-style: none; margin: 26px 0 0; padding: 0; }

.router li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
}

.router li:first-child { border-top: 1px solid var(--line); }
.router__who { color: var(--ink); font-size: 15.5px; }

.router__to {
  flex: none;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  color: #fff;
  background: var(--accent);
}

.router__to--yanxue { background: var(--yanxue); }
.router__to--jiuqu { background: var(--jiuqu); }
.router__to--bamin { background: var(--bamin); }
.router__hint { margin: 22px 0 0; font-size: 14.5px; color: var(--ink-3); }

/* ============ 8. 按钮 ============ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 26px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .04em;
  border: 1px solid transparent;
  text-decoration: none !important;
  transition: transform .22s var(--ease), background .22s var(--ease),
    border-color .22s var(--ease), color .22s var(--ease);
}

.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-deep); transform: translateY(-2px); }

.btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, .45);
  color: #fff;
}

.btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }

.btn--plain { color: var(--ink); background: #fff; border-color: var(--line-strong); }
.btn--plain:hover { color: var(--ink); border-color: var(--ink); transform: translateY(-2px); }

.btn--yanxue { background: var(--yanxue); color: #fff; }
.btn--yanxue:hover { background: #5fa524; transform: translateY(-2px); }
.btn--jiuqu { background: var(--jiuqu); color: #fff; }
.btn--jiuqu:hover { background: #000; transform: translateY(-2px); }
.btn--bamin { background: var(--bamin); color: #fff; }
.btn--bamin:hover { background: #7d0e20; transform: translateY(-2px); }

/* ============ 9. 图片带 ============ */

.photo-band { margin: 34px 0 40px; padding: 0; }

.photo-band img {
  display: block;
  width: 100%;
  border-radius: var(--radius-lg);
}

.photo-band figcaption {
  margin-top: 12px;
  font-size: 13px;
  letter-spacing: .02em;
  color: var(--ink-3);
}

/* ============ 9b. 品牌 LOGO 板 ============ */

/* 集团层的图位不放实拍图，直接呈现享趣文旅 LOGO：
   底色取品牌深蓝（与页头/页脚同色），LOGO 用官方白色横版，不加任何自创图形。
   2026-09-28 深夜按品牌方指令新增（原前台品牌墙实拍图撤下）。 */

.logo-plate {
  display: grid;
  place-items: center;
  aspect-ratio: 3 / 2;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  background:
    radial-gradient(130% 130% at 24% 16%, rgba(255, 255, 255, .12), transparent 62%),
    linear-gradient(140deg, #0a2547 0%, var(--navy) 58%, #020c1a 100%);
}

/* 这里用双类选择器：要盖过 .photo-band img 与 .about__figure img 的 width:100% */
.logo-plate .logo-plate__logo {
  display: block;
  width: min(54%, 420px);
  height: auto;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
}

/* 整幅宽的图片带（/brands/）不用 3:2，压扁一点，避免出现大片空底色 */
.photo-band.logo-plate { aspect-ratio: 16 / 7; }

/* ============ 10. 说明块 / 来源 / 待补充 ============ */

.note {
  margin: 44px 0 0;
  padding: 24px 26px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--paper-2);
  font-size: 14.5px;
  color: var(--ink-2);
}

.note p { margin: 0 0 9px; }
.note p:last-child { margin-bottom: 0; }
.note strong { color: var(--ink); }

.source-list { margin: 0 0 20px; font-size: 14px; color: var(--ink-3); }

.todo {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 13px;
  font-weight: 700;
}

/* ============ 11. 结尾 CTA ============ */

.cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin: 60px 0 0;
  padding: 48px 50px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(760px 320px at 88% -30%, rgba(235, 97, 59, .38), transparent 62%),
    linear-gradient(140deg, #0a2244 0%, #04142c 72%);
  color: #fff;
}

.cta-band h2 {
  margin: 0 0 12px;
  font-size: clamp(23px, 2.6vw, 31px);
  color: #fff;
  letter-spacing: .01em;
}

.cta-band p { margin: 0; color: rgba(255, 255, 255, .8); font-size: 15.5px; max-width: 44em; }
.cta-band a:not(.btn):not(.cta-band__tel) { color: #ffd9cd; text-decoration: underline; }
.cta-band__actions { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }

.cta-band__tel {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 26px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .28);
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: .06em;
  white-space: nowrap;
}

.cta-band__tel small {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .22em;
  color: rgba(255, 255, 255, .6);
  margin-bottom: 2px;
}

/* ============ 12. 页脚 ============ */

.site-footer {
  margin-top: 80px;
  padding: 72px 0 34px;
  background: var(--navy);
  color: rgba(255, 255, 255, .78);
  font-size: 14.5px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.site-footer__logo { display: block; height: 34px; width: auto; margin-bottom: 18px; }

.site-footer__name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: .16em;
  color: #fff;
  margin-bottom: 12px;
}

.site-footer__name span { color: var(--orange); }
.site-footer h3 { margin: 0 0 16px; font-size: 14px; font-weight: 700; color: #fff; letter-spacing: .12em; }
.site-footer p { margin: 0 0 9px; line-height: 1.85; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: rgba(255, 255, 255, .76); }
.site-footer a:hover { color: #fff; text-decoration: underline; }

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding-top: 26px;
  font-size: 13px;
  color: rgba(255, 255, 255, .55);
}

.site-footer__bottom a { color: rgba(255, 255, 255, .72); }

/* ============ 13. 窄屏 ============ */

/* 品牌层页头有两行（品牌标识 + 长导航），电话按钮与导航换位后再各占一行 */
:is(.page--yanxue, .page--jiuqu, .page--bamin) .site-header__tel { order: 2; margin-left: auto; }
:is(.page--yanxue, .page--jiuqu, .page--bamin) .site-nav { order: 3; flex: 1 1 100%; margin-left: 0; }

/* 享趣就去是"墨黑 + 淡黄"配色：墨黑按钮放深色页头不可见，电话按钮改用品牌淡黄底 + 墨黑字 */
.page--jiuqu .site-header__tel { background: #fff799; color: #14140f; }
.page--jiuqu .site-header__tel:hover { filter: brightness(.96); }

/* ============ 14. 品牌首页首屏带（品牌层共用组件） ============ */

.site-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background: #04142c;
}

/* 图位规则与首页一致：--brand-hero-img 未赋值时显示设计过的品牌色回退渐变，
   不是破图、不是空框。品牌方给到高端大图后，加一句 --brand-hero-img: url(...) 即可。 */
.site-hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-color: #0a2244;
  background-image: var(--brand-hero-img, var(--brand-hero-fallback, none));
  background-size: cover;
  background-position: center;
}

.site-hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(4, 20, 44, .70) 0%, rgba(4, 20, 44, .40) 46%, rgba(4, 20, 44, .84) 100%),
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: auto, 84px 84px, 84px 84px;
}

/* 注意：本类与 .wrap 同为类选择器，声明在后面会整条覆盖 .wrap 的 padding，
   所以左右内边距必须在这里显式写出来（2026-09-28 深夜修正：窄屏文字曾贴边）。 */
.site-hero__inner { padding: 52px 26px 64px; }

.site-hero .crumbs { margin-bottom: 30px; color: rgba(255, 255, 255, .58); }
.site-hero .crumbs a { color: rgba(255, 255, 255, .58); }
.site-hero .crumbs a:hover { color: #fff; }
.site-hero .crumbs .crumbs__sep { color: rgba(255, 255, 255, .3); }
.site-hero .crumbs [aria-current] { color: rgba(255, 255, 255, .88); }

.site-hero__en {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .42em;
  text-indent: .42em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .62);
}

.site-hero h1 {
  margin: 0;
  font-size: clamp(38px, 7vw, 84px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: .1em;
  text-indent: .1em;
  color: #fff;
}

.site-hero__line {
  margin: 22px 0 0;
  font-size: clamp(15px, 1.6vw, 19px);
  letter-spacing: .16em;
  color: rgba(255, 255, 255, .88);
}

.site-hero__sub {
  max-width: 42em;
  margin: 20px 0 0;
  font-size: 15.5px;
  line-height: 1.95;
  color: rgba(255, 255, 255, .76);
}

/* 每条品牌线的回退渐变用各自 LOGO 本体色，颜色来源见 06_图片GEO/品牌LOGO资产清单.csv */
.page--group .site-hero__media {
  --brand-hero-fallback:
    radial-gradient(900px 520px at 82% -8%, rgba(235, 97, 59, .48), transparent 62%),
    linear-gradient(150deg, #0c2a52 0%, #071d38 46%, #04142c 100%);
}

.page--yanxue .site-hero__media {
  --brand-hero-fallback:
    radial-gradient(900px 520px at 82% -8%, rgba(111, 186, 44, .44), transparent 62%),
    linear-gradient(150deg, #0e3520 0%, #071f13 48%, #04120a 100%);
}

.page--jiuqu .site-hero__media {
  --brand-hero-fallback:
    radial-gradient(760px 480px at 84% -10%, rgba(255, 247, 153, .40), transparent 60%),
    linear-gradient(150deg, #2a2a24 0%, #14140f 56%, #080806 100%);
}

.page--bamin .site-hero__media {
  --brand-hero-fallback:
    radial-gradient(760px 480px at 84% -10%, rgba(200, 30, 55, .48), transparent 62%),
    linear-gradient(150deg, #5d0a17 0%, #2b060e 52%, #12060a 100%);
}

/* .wrap 的 padding 简写会整条覆盖 main 的上边距（类选择器优先于元素选择器），
   这里按设计意图显式补回；首页 <main> 不带 .wrap，另有 home.css 的 main{padding:0}。 */
main.wrap { padding-top: 60px; padding-bottom: 20px; }

@media (max-width: 860px) {
  main { padding: 40px 0 16px; }
  main.wrap { padding-top: 40px; padding-bottom: 16px; }
  .site-header__slogan { flex: 1 1 100%; order: 4; font-size: 12px; }
  .site-nav { order: 3; flex: 1 1 100%; margin-left: 0; overflow-x: auto; }
  .site-nav a { padding: 0 11px; font-size: 14px; }
  .cta-band { padding: 34px 26px; gap: 24px; }
  .cta-band__actions { width: 100%; }
  .cta-band__tel { white-space: normal; text-align: center; }
  .site-footer { padding: 52px 0 28px; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .router li { flex-direction: column; align-items: flex-start; gap: 8px; }
  .photo-band { margin: 26px 0 30px; }
  .logo-plate .logo-plate__logo { width: min(68%, 320px); }
  .site-hero__inner { padding: 36px 26px 46px; }
  .site-hero h1 { letter-spacing: .06em; text-indent: .06em; }
}

@media (max-width: 520px) {
  .site-footer__grid { grid-template-columns: 1fr; }
}

/* ==== 上传入口注入的图位（由 上传入口 自动维护，请勿手改） ==== */
.page--yanxue .site-hero__media { --brand-hero-img: url("/assets/img/yanxue/hero-yanxue.jpg"); }
.page--jiuqu .site-hero__media { --brand-hero-img: url("/assets/img/jiuqu/hero-jiuqu.jpg"); }
.page--bamin .site-hero__media { --brand-hero-img: url("/assets/img/bamin/hero-bamin.jpg"); }
/* ==== 上传入口注入结束 ==== */
