/* ==========================================================================
   水韵三都 · 贵州三都水族自治县文旅平台
   视觉：宣纸白底 / 靛蓝主色 / 朱砂点缀 / 细线分隔 / 大留白 / 胶囊控件
   ========================================================================== */

:root {
  /* 色板：取自三都海报的靛蓝、朱砂与宣纸底色 */
  --indigo: #1e3f7d;
  --indigo-deep: #142c58;
  --indigo-soft: #3a5f9e;
  --cinnabar: #b23a2c;
  --cinnabar-soft: #c4564a;

  --bg: #ffffff;
  --bg-ivory: #fbfaf7;
  --bg-warm: #f7f5ef;

  --line: rgba(24, 26, 33, 0.09);
  --line-strong: rgba(24, 26, 33, 0.18);

  --text: #1a1c22;
  --text-dim: #55575e;
  --muted: #8b8d94;

  --font-display: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;

  --sp-3: 24px;
  --sp-4: 44px;
  --sp-5: 116px;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;

  --shadow-soft: 0 10px 32px rgba(20, 26, 40, 0.07);
  --shadow-hover: 0 18px 44px rgba(20, 26, 40, 0.12);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background:
    radial-gradient(ellipse 78% 46% at 50% -6%, rgba(30, 63, 125, 0.055), transparent 62%),
    var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: 0.012em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: inherit; }
:focus-visible { outline: 2px solid var(--indigo-soft); outline-offset: 3px; }

.container { width: min(1120px, 92%); margin: 0 auto; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px) saturate(1.08);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 13px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text);
}

.logo .logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line-strong);
  color: var(--indigo);
  font-size: 17px;
  letter-spacing: 0;
}

/* ---------- 右上角菜单按钮 ---------- */
.menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 9px 20px 9px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  font-family: inherit;
  font-size: 13px;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: color 0.32s var(--ease), border-color 0.32s var(--ease),
              box-shadow 0.32s var(--ease), background 0.32s var(--ease);
}

.menu-btn:hover {
  color: var(--indigo);
  border-color: rgba(30, 63, 125, 0.34);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.menu-ico {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 16px;
  height: 12px;
}

.menu-ico i {
  display: block;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transition: width 0.3s var(--ease), transform 0.32s var(--ease), opacity 0.24s var(--ease);
}

.menu-ico i:nth-child(1) { width: 16px; }
.menu-ico i:nth-child(2) { width: 11px; }
.menu-ico i:nth-child(3) { width: 16px; }

.menu-btn:hover .menu-ico i:nth-child(2) { width: 16px; }

.menu-btn[aria-expanded="true"] .menu-ico i:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-ico i:nth-child(2) { opacity: 0; width: 0; }
.menu-btn[aria-expanded="true"] .menu-ico i:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ---------- 全站菜单抽屉 ---------- */
.menu-veil {
  position: fixed;
  inset: 0;
  z-index: 190;
  background: rgba(20, 26, 40, 0.34);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.42s var(--ease);
}

.site-menu {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  width: min(432px, 92vw);
  height: 100dvh;
  background: #fff;
  border-left: 1px solid var(--line);
  box-shadow: -28px 0 70px rgba(20, 26, 40, 0.16);
  transform: translateX(103%);
  visibility: hidden;
  transition: transform 0.46s var(--ease), visibility 0.46s var(--ease);
}

body.menu-open { overflow: hidden; }
body.menu-open .menu-veil { opacity: 1; pointer-events: auto; }
body.menu-open .site-menu { transform: translateX(0); visibility: visible; }

.sm-head {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}

.sm-brand { display: flex; align-items: center; gap: 12px; }

.sm-brand .logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line-strong);
  color: var(--indigo);
  font-size: 17px;
}

.sm-brand-txt { display: flex; flex-direction: column; line-height: 1.35; }

.sm-brand-txt b {
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: 0.08em;
}

.sm-brand-txt span { font-size: 11px; color: var(--muted); letter-spacing: 0.04em; }

.sm-close {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: none;
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.sm-close:hover { color: var(--cinnabar); border-color: rgba(178, 58, 44, 0.4); background: rgba(178, 58, 44, 0.05); }

.sm-body { flex: 1 1 auto; overflow-y: auto; padding: 4px 16px 24px; }

.sm-kicker {
  padding: 20px 8px 6px;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  color: var(--muted);
}

.sm-item {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 13px 12px;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.sm-item:hover { background: var(--bg-warm); border-color: var(--line); }

.sm-item > i {
  flex: 0 0 auto;
  padding-top: 3px;
  font-family: var(--font-display);
  font-style: normal;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--cinnabar);
}

.sm-txt { flex: 1 1 auto; min-width: 0; }

.sm-txt b {
  display: block;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text);
}

.sm-txt > span {
  display: block;
  margin-top: 2px;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--text-dim);
}

.sm-item > em {
  flex: 0 0 auto;
  align-self: center;
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.sm-item.on { background: rgba(30, 63, 125, 0.055); border-color: rgba(30, 63, 125, 0.12); }
.sm-item.on .sm-txt b { color: var(--indigo); }

.sm-item > em.cur {
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--indigo);
  color: #fff;
  font-size: 10.5px;
  letter-spacing: 0.08em;
}

.sm-mini-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 2px 8px 0;
}

.sm-mini {
  padding: 7px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 12px;
  color: var(--text-dim);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.sm-mini:hover { color: var(--indigo); border-color: rgba(30, 63, 125, 0.34); background: rgba(30, 63, 125, 0.04); }

.sm-foot {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 14px 22px 18px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.03em;
}

.sm-foot a { color: var(--indigo); }

/* ---------- 信任标签（一匹一码 / 持证 / 认证等） ---------- */
.tb {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  border: 1px solid;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.02em;
  white-space: nowrap;
  vertical-align: middle;
}

.tb::before {
  content: "";
  flex: 0 0 auto;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.tb.has-ico::before { display: none; }

.tb .tb-ico {
  flex: 0 0 auto;
  width: 11px;
  height: 11px;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tb.g { color: #2f6b4f; background: #eef6f1; border-color: #cde3d6; }
.tb.y { color: #8a6220; background: #fbf3e0; border-color: #eddab4; }
.tb.b { color: #1e3f7d; background: #eef2fa; border-color: #d2dcec; }

/* ---------- 首页轮播 ---------- */
.hero { position: relative; height: 660px; overflow: hidden; }
.carousel { position: relative; height: 100%; }

.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.9s var(--ease);
}

.carousel-slide {
  position: relative;
  flex: 0 0 100%;
  height: 100%;
  background: var(--bg-warm);
  overflow: hidden;
}

/* 同图模糊铺底：海报完整显示时填补两侧空档 */
.carousel-slide .slide-bg {
  position: absolute;
  inset: -40px;
  z-index: 0;
  width: calc(100% + 80px);
  height: calc(100% + 80px);
  max-width: none;
  object-fit: cover;
  object-position: center;
  filter: blur(42px) brightness(1.12) saturate(0.82);
  opacity: 0.55;
  transform: scale(1.05);
}

/* 海报原比例完整呈现，不裁切内容 */
.carousel-slide .slide-main {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

/* 桌面端海报自带完整文案，叠层标题会压住画面，故隐藏；窄屏改在图外显示 */
.carousel-caption { display: none; }

.carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 44px; height: 44px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  background: rgba(20, 24, 32, 0.36);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.32s var(--ease), color 0.32s var(--ease), border-color 0.32s var(--ease);
}

.carousel-arrow:hover { background: #fff; border-color: #fff; color: var(--text); }
.carousel-arrow.prev { left: 24px; }
.carousel-arrow.next { right: 24px; }

.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 20px;
  z-index: 5;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(20, 24, 32, 0.36);
  backdrop-filter: blur(8px);
}

.carousel-dots button {
  width: 18px; height: 3px;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.44);
  cursor: pointer;
  transition: width 0.35s var(--ease), background 0.35s var(--ease);
}

.carousel-dots button.active { width: 32px; background: #fff; }

/* ---------- 通用区块 ---------- */
.section { padding: var(--sp-5) 0; scroll-margin-top: 88px; }
.section + .section { border-top: 1px solid var(--line); }

.section-head {
  text-align: center;
  margin-bottom: var(--sp-4);
}

.section-head .tag {
  position: relative;
  display: inline-block;
  color: var(--muted);
  font-size: 10.5px;
  letter-spacing: 0.34em;
  margin-bottom: 18px;
}

.section-head .tag::before,
.section-head .tag::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 26px; height: 1px;
  background: var(--line-strong);
}
.section-head .tag::before { left: -38px; }
.section-head .tag::after { right: -38px; }

.section-head h2 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.4;
  margin-bottom: 14px;
}

.section-head p {
  max-width: 580px;
  margin: 0 auto;
  color: var(--text-dim);
  font-size: 14.5px;
  line-height: 1.95;
}

/* ---------- 城市 IP 四题 ---------- */
.ip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.ip-card {
  position: relative;
  min-height: 380px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
}

.ip-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-hover);
}

.ip-card img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.ip-card:hover img { transform: scale(1.05); }

.ip-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 16, 24, 0.02) 0%, rgba(12, 16, 24, 0.2) 42%, rgba(12, 16, 24, 0.88) 100%);
}

.ip-card-body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 22px;
}

.ip-card-body h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #fff;
  margin-bottom: 8px;
}

.ip-card-body p {
  font-size: 12.5px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.82);
}

/* ---------- 宣传视频 ---------- */
.video-section { background: var(--bg-ivory); }

.video-frame {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-warm);
  box-shadow: var(--shadow-soft);
}

.video-cover {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  overflow: hidden;
}

.video-cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.video-cover:hover img { transform: scale(1.03); }

.video-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 14, 22, 0.12) 0%, rgba(10, 14, 22, 0.06) 45%, rgba(10, 14, 22, 0.62) 100%);
}

.play-ico {
  position: absolute;
  left: 50%;
  top: calc(50% - 18px);
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px; height: 68px;
  padding-left: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--indigo);
  font-size: 20px;
  box-shadow: 0 14px 34px rgba(10, 16, 28, 0.28);
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}
.video-cover:hover .play-ico { transform: translate(-50%, -50%) scale(1.07); }

.video-meta {
  position: absolute;
  left: 0; right: 0;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0 28px;
  text-align: left;
  color: #fff;
}
.video-meta strong {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.video-meta em {
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.8);
}

.video-frame video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.video-frame video[hidden], .video-cover[hidden] { display: none; }

.video-source {
  margin-top: 22px;
  padding: 16px 20px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-sm);
  background: #fff;
  color: var(--text-dim);
  font-size: 12.5px;
  line-height: 1.85;
}
.video-source strong { color: var(--indigo); font-weight: 600; }

/* ---------- 精选产品 ---------- */
.grid-products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.grid-products.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-products.cols-3 .p-sub { min-height: 3.5em; }

/* 套餐说明：千人千面 */
.pack-note {
  max-width: 780px;
  margin: 30px auto 0;
  text-align: center;
  font-size: 12.5px;
  line-height: 2;
  color: var(--text-dim);
}

.pack-note b { color: var(--indigo); font-weight: 600; white-space: nowrap; }

.p-card {
  display: flex;
  flex-direction: column;
  text-align: left;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: transform 0.32s var(--ease), box-shadow 0.32s var(--ease), border-color 0.32s var(--ease);
}

.p-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-hover);
}

.p-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-warm);
}

.p-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.p-card:hover .p-thumb img { transform: scale(1.05); }

.p-badge {
  position: absolute;
  left: 12px; top: 12px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--indigo);
  font-size: 11px;
  letter-spacing: 0.12em;
}

.p-body { display: flex; flex-direction: column; flex: 1; padding: 18px 18px 20px; }

.p-name {
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 8px;
}

.p-sub {
  flex: 1;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}

.p-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.p-price {
  color: var(--cinnabar);
  font-size: 19px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.01em;
}
.p-price small { margin-left: 4px; color: var(--muted); font-size: 11px; font-weight: 400; }

.p-btn {
  padding: 8px 19px;
  border-radius: 999px;
  background: var(--indigo);
  color: #fff;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  transition: background 0.25s var(--ease);
}
.p-card:hover .p-btn { background: var(--indigo-deep); }

.p-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 12px;
}

.p-card .p-trust .tb { font-size: 10px; padding: 1px 7px; }

.more-wrap { margin-top: 40px; text-align: center; }

.more-btn {
  display: inline-block;
  padding: 12px 32px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: none;
  color: var(--text);
  font-size: 13.5px;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.more-btn:hover { background: var(--indigo); border-color: var(--indigo); color: #fff; }

/* ---------- 四大入口 ---------- */
.h5-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.h5-box {
  display: flex;
  align-items: center;
  gap: 22px;
  width: 100%;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  text-align: left;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

.h5-box:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-hover);
}

.h5-box img {
  flex: 0 0 auto;
  width: 132px; height: 96px;
  border-radius: var(--r-sm);
  object-fit: cover;
}

.h5-txt { flex: 1; }

.h5-box h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}

.h5-box p {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.75;
}

.h5-box .go {
  flex: 0 0 auto;
  align-self: flex-end;
  color: var(--indigo);
  font-size: 12px;
  white-space: nowrap;
}

/* ---------- 页脚 ---------- */
.site-footer {
  margin-top: 40px;
  padding: 58px 0 40px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.f-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: 34px;
  margin-bottom: 34px;
}

.f-grid h4 {
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.f-grid p {
  max-width: 320px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.9;
}

.f-grid li { margin-bottom: 10px; }
.f-grid li a { color: var(--text-dim); font-size: 12.5px; transition: color 0.3s var(--ease); }
.f-grid li a:hover { color: var(--indigo); }

.f-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

/* ---------- 轻提示 ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 36px;
  z-index: 200;
  transform: translate(-50%, 16px);
  max-width: min(420px, 88vw);
  padding: 13px 22px;
  border-radius: 999px;
  background: rgba(20, 24, 32, 0.9);
  color: #fff;
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 入场动画 ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.95s var(--ease), transform 0.95s var(--ease);
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .ip-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-products { grid-template-columns: repeat(2, 1fr); }
  .ip-card { min-height: 340px; }
}

@media (max-width: 980px) {
  .hero { height: 520px; }
  .grid-products.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .f-grid { grid-template-columns: 1fr 1fr; gap: 26px; }

  .menu-btn { padding: 8px 17px 8px 14px; font-size: 12.5px; }
  .site-menu { width: min(404px, 94vw); }
  .h5-row { grid-template-columns: 1fr; }
}

@media (max-width: 780px) {
  :root { --sp-5: 76px; }

  .hero, .carousel, .carousel-track { height: auto; }
  .carousel-slide {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: auto;
    padding-bottom: 40px;
  }
  .carousel-slide .slide-bg { display: none; }
  .carousel-slide .slide-main { height: auto; }

  .carousel-caption {
    display: block;
    position: static;
    z-index: 3;
    width: min(560px, 88%);
    margin: 16px auto 0;
    text-align: center;
  }
  .carousel-caption .eyebrow {
    display: inline-block;
    padding-bottom: 5px;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--line-strong);
    color: var(--muted);
    font-size: 10.5px;
    letter-spacing: 0.24em;
  }
  .carousel-caption p { color: var(--text-dim); font-size: 13px; }

  .carousel-arrow {
    width: 38px; height: 38px;
    background: rgba(255, 255, 255, 0.88);
    border-color: var(--line-strong);
    color: var(--text);
    backdrop-filter: none;
  }
  .carousel-arrow.prev { left: 8px; }
  .carousel-arrow.next { right: 8px; }
  .carousel-dots { background: transparent; backdrop-filter: none; padding: 0; bottom: 16px; }
  .carousel-dots button { background: rgba(24, 26, 33, 0.22); }
  .carousel-dots button.active { background: var(--indigo); }

  .section-head h2 { font-size: 26px; }
  .section-head p { font-size: 13.5px; }
  .ip-card { min-height: 300px; }

  .video-meta { bottom: 18px; padding: 0 18px; }
  .video-meta strong { font-size: 16px; }
  .play-ico { width: 56px; height: 56px; font-size: 17px; }

  .h5-box { gap: 16px; padding: 16px; }
  .h5-box img { width: 104px; height: 80px; }
  .h5-box .go { display: none; }
  .f-grid { grid-template-columns: 1fr; gap: 22px; }
  .f-bottom { flex-direction: column; gap: 6px; }
}

@media (max-width: 560px) {
  .logo { font-size: 19px; gap: 10px; }
  .logo .logo-mark { width: 34px; height: 34px; font-size: 15px; }

  .menu-btn {
    width: 42px;
    height: 42px;
    padding: 0;
    justify-content: center;
  }
  .menu-btn .menu-txt { display: none; }
  .sm-head { padding: 16px 18px; }
  .sm-body { padding: 2px 12px 20px; }
  .sm-txt b { font-size: 15px; }
  .sm-foot { padding: 12px 18px 16px; }
  .ip-grid { grid-template-columns: 1fr; }
  .ip-card { min-height: 280px; }
  .grid-products, .grid-products.cols-3 { grid-template-columns: 1fr; }
  .section-head h2 { font-size: 23px; }
  .toast { bottom: 22px; font-size: 12.5px; }
}


/* ---------- 商城导流条（首页） ---------- */
.shop-teaser-sec { padding: 10px 0 var(--sp-4); }

.shop-teaser {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background:
    radial-gradient(ellipse 60% 140% at 0% 0%, rgba(192, 57, 43, 0.07), transparent 60%),
    linear-gradient(120deg, #fbf8f0, #f6f7fb);
  transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}

.shop-teaser:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-soft);
}

.teaser-mascot {
  flex: 0 0 auto;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: #fff;
}

.teaser-txt { flex: 1; min-width: 200px; }

.teaser-kicker {
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.teaser-txt h3 {
  margin: 4px 0 5px;
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.06em;
  color: var(--indigo);
}

.teaser-txt p { font-size: 12.5px; color: var(--text-dim); line-height: 1.7; }

.teaser-thumbs { display: flex; gap: 8px; }

.teaser-thumbs img {
  width: 82px;
  height: 62px;
  border-radius: 9px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.teaser-go {
  flex: 0 0 auto;
  padding: 11px 22px;
  border-radius: 999px;
  background: var(--cinnabar);
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.06em;
  box-shadow: 0 10px 22px rgba(178, 58, 44, 0.24);
}

@media (max-width: 780px) {
  .shop-teaser { flex-wrap: wrap; gap: 14px; padding: 16px; }
  .teaser-mascot { width: 54px; height: 54px; }
  .teaser-thumbs img { width: 68px; height: 52px; }
  .teaser-go { width: 100%; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-in { opacity: 1; transform: none; transition: none; }
  .carousel-track { transition: none; }
}
