@charset "UTF-8";
/* =========================================================
   简约大气企业主题 · Design Token（唯一事实源：配色方案 v1）
   曜石蓝 × 珊瑚橙 · 60-30-10
   ========================================================= */
:root {
  /* 品牌主色 · 曜石蓝 */
  --brand-900:#0A1F44;
  --brand-800:#12325F;
  --brand-700:#1A4480;
  --brand-600:#22539B;
  --brand-500:#2F6FD0;
  --brand-400:#5B93E5;
  --brand-200:#A9C7F2;
  --brand-100:#E3EDFC;
  --brand-50:#F2F7FE;
  /* 强调色 · 珊瑚橙（仅 CTA/价格/关键数字，全屏≤1处） */
  --accent-600:#E8541F;
  --accent-500:#FF6B35;
  --accent-100:#FFEDE5;
  /* 中性 · 微冷灰 */
  --n-0:#FFFFFF;
  --n-50:#F7F9FC;
  --n-100:#EEF2F7;
  --n-200:#DDE3EC;
  --n-300:#C3CCD9;
  --n-400:#98A5B8;
  --n-500:#6B7A90;
  --n-600:#4A5769;
  --n-700:#333E4E;
  --n-800:#1E2733;
  --n-900:#0F1620;
  /* 功能色 */
  --success:#12B76A;
  --warning:#F79009;
  --danger:#F04438;
  --info:#06AED4;
  /* 字体 */
  --font-sans:"Inter","PingFang SC","HarmonyOS Sans SC","Noto Sans SC","Microsoft YaHei",sans-serif;
  --font-serif:"Noto Serif SC",Georgia,"Songti SC",serif;
  --font-mono:"SF Mono","JetBrains Mono","Consolas",monospace;
  /* 8pt 间距阶梯（简约靠留白） */
  --sp-1:4px;
  --sp-2:8px;
  --sp-3:16px;
  --sp-4:24px;
  --sp-5:32px;
  --sp-6:48px;
  --sp-7:64px;
  --sp-8:96px;
  /* 圆角与阴影 */
  --radius:12px;
  --radius-lg:20px;
  --radius-pill:999px;
  --shadow-sm:0 1px 2px rgba(15,22,32,.04);
  --shadow:0 1px 2px rgba(15,22,32,.04), 0 8px 24px rgba(15,22,32,.06);
  --shadow-lg:0 12px 40px rgba(15,22,32,.10);
  /* 动效 */
  --ease:cubic-bezier(.16,1,.3,1);
  --dur:.4s;
  --container:1200px;
}

/* ===== 基础重置 ===== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--n-700);
  background: var(--n-0);
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--brand-500);
  text-decoration: none;
}

a:hover {
  color: var(--brand-700);
}

h1, h2, h3, h4 {
  color: var(--n-900);
  line-height: 1.25;
  margin: 0 0 var(--sp-3);
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* 兜底：h1 标签通用色为深色，hero 大标题需保持浅色。
   用 h1.carousel-title 提升特异性 + !important，避免被 h1 通用规则覆盖。
   色值不用纯白：大号粗体纯白在深色蒙层上过于刺眼，改用 0.9 透明度的柔白，
   与下方副标题（opacity .94）观感一致；调整时两处同步改。 */
h1.carousel-title {
  color: rgba(255, 255, 255, 0.9) !important;
}

p {
  margin: 0 0 var(--sp-3);
}

ul, ol {
  padding-left: 1.4em;
  margin: 0 0 var(--sp-3);
}

:focus-visible {
  outline: 3px solid var(--brand-400);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ===== 排版层级（大气） ===== */
.h-hero {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.h1 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  letter-spacing: -0.025em;
}

.h2 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.h3 {
  font-size: 18px;
  font-weight: 700;
}

/* ===== 布局容器 ===== */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--sp-4);
}

.section {
  padding: var(--sp-8) 0;
}

.section-alt {
  background: var(--n-50);
}

.center {
  text-align: center;
}

/* ===== 文字标签 ===== */
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-500);
  margin-bottom: var(--sp-3);
}

.eyebrow.center {
  display: block;
}

.section-title {
  font-size: clamp(24px, 3vw, 34px);
}

.section-title.center {
  text-align: center;
}

.lead {
  font-size: clamp(16px, 1.4vw, 18px);
  color: var(--n-600);
  max-width: 62ch;
}

/* ===== 按钮 ===== */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--brand-500);
  color: #fff;
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  background: var(--brand-600);
  color: #fff;
}

/* 珊瑚橙 CTA：全屏最多一处 */
.btn-coral {
  background: var(--accent-500);
  color: #fff;
  box-shadow: var(--shadow);
}

.btn-coral:hover {
  background: var(--accent-600);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--brand-500);
  border-color: var(--brand-200);
}

.btn-ghost:hover {
  background: var(--brand-50);
  color: var(--brand-700);
}

/* ===== 顶部导航 ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.site-header.scrolled {
  border-color: var(--n-200);
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.nav-logo {
  flex: none;
  display: inline-flex;
  line-height: 0;
}

.nav-logo svg {
  display: block;
  border-radius: 9px;
}

.nav-logo__img {
  display: block;
  height: 34px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}

.nav-title {
  font-size: 19px;
  font-weight: 800;
  color: var(--n-900);
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}

/* 单行走航：品牌 + 菜单 + 电话(始终可见) + 免费咨询 */
.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: var(--n-600);
  font-weight: 500;
  font-size: 15px;
  position: relative;
}

.nav-link:hover {
  color: var(--brand-500);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 2px;
  width: 0;
  background: var(--brand-500);
  transition: width var(--dur) var(--ease);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  margin-left: var(--sp-3);
  flex: none;
  white-space: nowrap;
}

.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  flex: none;
  color: var(--brand-600);
  font-weight: 600;
}

.nav-phone .icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex: none;
}

/* 微信头部弹窗(wx-pop)已移除：微信按钮改为「免费咨询」链接至 /contact/ */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: none;
  background: none;
  cursor: pointer;
  padding: 9px;
  border-radius: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 24px;
  background: var(--n-800);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== Hero（浅色·留白，不用满屏大图） ===== */
.hero {
  background: linear-gradient(180deg, var(--brand-50) 0%, var(--n-0) 100%);
  padding: var(--sp-8) 0;
}

.hero .container {
  max-width: 880px;
}

.hero-title {
  margin-bottom: var(--sp-3);
}

.hero-sub {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--n-600);
  max-width: 60ch;
  margin-bottom: var(--sp-5);
}

.hero-actions {
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
}

/* ===== 卡片网格（1→2→3 列） ===== */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
  margin-top: var(--sp-5);
}

.card {
  background: var(--n-0);
  border: 1px solid var(--n-200);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
  box-shadow: var(--shadow);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-200);
  box-shadow: var(--shadow-lg);
}

.card h3 {
  color: var(--n-900);
  margin-bottom: var(--sp-2);
}

.card p {
  color: var(--n-600);
  margin: 0;
  font-size: 15px;
}

/* ===== 数据条 ===== */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-5);
  text-align: center;
}

.stat strong {
  display: block;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--brand-500);
  letter-spacing: -0.02em;
}

.stat span {
  font-size: 14px;
  color: var(--n-500);
}

/* ===== 留资表单 ===== */
.lead-wrap {
  max-width: 560px;
  margin: 0 auto;
}

.lead-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3);
  margin-top: var(--sp-5);
}

.field {
  display: flex;
  flex-direction: column;
}

.field.full {
  grid-column: 1/-1;
}

.lead-form input, .lead-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--n-200);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 15px;
  color: var(--n-800);
  background: var(--n-0);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.lead-form input:focus, .lead-form textarea:focus {
  outline: none;
  border-color: var(--brand-400);
  box-shadow: 0 0 0 3px var(--brand-100);
}

.lead-form textarea {
  min-height: 96px;
  resize: vertical;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.consent {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--n-600);
}

.consent input {
  width: auto;
}

.form-msg {
  font-size: 14px;
  margin: 8px 0 0;
  min-height: 1.2em;
}

.form-msg.ok {
  color: var(--success);
}

.form-msg.err {
  color: var(--danger);
}

/* ===== 页脚 ===== */
.site-footer {
  background: var(--brand-900);
  color: var(--n-300);
  padding: var(--sp-7) 0 var(--sp-5);
}

.site-footer .container {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.3fr 1fr 1.2fr;
  gap: var(--sp-5);
  align-items: start;
}

.site-footer h4 {
  color: #fff;
  font-size: 15px;
  margin-bottom: var(--sp-3);
}

.site-footer a {
  color: var(--n-300);
}

.site-footer a:hover {
  color: var(--brand-200);
}

.footer-brand__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--sp-3);
}

.footer-brand__head h4 {
  margin-bottom: 0;
}

.footer-logo {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 50%;
  overflow: hidden;
  display: inline-flex;
  box-shadow: var(--shadow-sm);
}

.footer-logo svg {
  display: block;
  width: 100%;
  height: 100%;
}

.footer-contact li {
  line-height: 2;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  line-height: 2.2;
}

.site-footer .qr-grid {
  gap: 12px;
}

.site-footer .qr-card {
  width: 92px;
}

.site-footer .qr-card__box {
  width: 92px;
  height: 92px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: var(--sp-6);
  padding-top: var(--sp-4);
  font-size: 13px;
  color: var(--n-400);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-links a {
  display: inline-block;
}

.footer-links-block {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 16px;
  grid-column: 1/-1;
  margin-top: var(--sp-4);
  padding-top: var(--sp-4);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer .footer-links-title {
  margin-bottom: 0;
}

.site-footer .footer-links--inline {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 16px;
  line-height: 1.6;
}

@media (max-width: 980px) {
  .site-footer .container {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-5) var(--sp-4);
  }
  .footer-brand {
    grid-column: 1/-1;
  }
  .footer-links-block {
    grid-column: 1/-1;
  }
}
@media (max-width: 560px) {
  .site-footer .container {
    grid-template-columns: 1fr;
  }
}
/* ===== 页脚二维码（正方形卡片，后台可配置） =====
   正方形由 .qr-card__box 的 aspect-ratio 保证；
   图片用 object-fit:contain，任何比例的原始二维码都不会被拉伸变形。 */
.qr-grid {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  display: flex;
  gap: var(--sp-4);
  flex-wrap: nowrap;
}

.qr-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 104px;
  text-align: center;
}

.qr-card__box {
  width: 104px;
  height: 104px;
  aspect-ratio: 1/1; /* 正方形 */
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 10px;
  padding: 6px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.qr-card:hover .qr-card__box {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.qr-card__box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qr-card__name {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.qr-card__desc {
  color: var(--n-400);
  font-size: 12px;
  line-height: 1.4;
}

/* ===== 单页 ===== */
/* 单页用 .page + .container 组合：纵向内边距用 longhand，
   这样不会覆盖 .container 的左右 padding（var(--sp-4)），
   否则内容会贴着屏幕/容器左右边缘（之前“太靠左”的根因）。 */
/* 单页正文：页头已独立为 .contact-hero，故正文顶部不再留大间距，仅底部留白 */
.page {
  padding-top: var(--sp-4);
  padding-bottom: var(--sp-8);
}

.page-head {
  margin-bottom: var(--sp-5);
}

.page-head .lead {
  max-width: 100%;
  padding-right: 10%; /* 或加上左右内边距，避免文字太长影响阅读 */
}

.page-body {
  font-size: 17px;
  color: var(--n-700);
}

.page-body h2 {
  margin-top: var(--sp-6);
}

.page-body h3 {
  margin-top: var(--sp-5);
}

/* 栏目列表空状态（如某 section 暂无文章） */
.empty-state {
  color: var(--n-500);
  font-size: 15px;
  padding: var(--sp-5) 0;
  background: var(--n-50);
  border: 1px dashed var(--n-200);
  border-radius: var(--radius);
  text-align: center;
}

.section-intro {
  margin-bottom: var(--sp-5);
}

/* ===== 入场动效（reveal） ===== */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* ===== 响应式断点 ===== */
@media (min-width: 768px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (min-width: 1024px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
/* 移动端导航 */
@media (max-width: 860px) {
  .nav-toggle {
    display: flex;
  }
  /* 手机端隐藏「首页」菜单项（避免半截显示） */
  .nav-item-home {
    display: none;
  }
  .nav-right {
    gap: var(--sp-2);
  }
  .nav-menu {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--n-0);
    padding: 0 var(--sp-4);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--dur) var(--ease), padding var(--dur) var(--ease);
    border-bottom: none;
    /* ⭐ 加一个背景色遮罩，防止子元素溢出 */
    background: var(--n-0);
  }
  .nav-menu.active {
    max-height: 80vh;
    overflow-y: auto;
    padding-top: var(--sp-2);
    padding-bottom: var(--sp-4);
    border-bottom: 1px solid var(--n-200);
  }
  .nav-menu.active .nav-item {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    transition-delay: 0.08s;
  }
  .nav-item:last-child {
    border-bottom: none;
  }
  .site-footer .container {
    grid-template-columns: 1fr;
  }
  .lead-form {
    grid-template-columns: 1fr;
  }
}
/* 免费咨询按钮：屏幕过小时直接隐藏（与手机号常驻不同） */
@media (max-width: 960px) {
  .nav-cta {
    display: none;
  }
}
@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn {
    text-align: center;
  }
  /* 窄屏下品牌名可截断，优先保住右侧手机号完整显示 */
  .nav-title {
    font-size: 15px;
  }
  .nav-phone__num {
    font-size: 13px;
  }
  .nav-phone .icon {
    width: 14px;
    height: 14px;
  }
}
/* 尊重无障碍：减少动效 */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
/* =========================================================
   首页轮播（数据来自 data/carousel.json，由后台“轮播管理”维护）
   ========================================================= */
.hero-carousel {
  /* 轮播图标准尺寸 1920×600（比例 3.2:1 = 16/5），桌面容器与之一致 → 零裁切零留白 */
  position: relative;
  width: 100%;
  aspect-ratio: 16/5;
  max-height: 92vh;
  overflow: hidden;
  background: var(--n-100);
}

/* 底部极淡渐变：仅用于在浅色轮播图上保证圆点/箭头可辨识。
   注意：不要在 .carousel-slide 上叠整图压暗蒙版——轮播文案本身是透明的，
   整图蒙版只会让图片发灰发暗。 */
.hero-carousel::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 22%;
  background: linear-gradient(to top, rgba(15, 22, 32, 0.26), rgba(15, 22, 32, 0));
  pointer-events: none;
  z-index: 2;
}

.carousel-track {
  position: absolute;
  inset: 0;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 留白区用同一张图的模糊放大版铺底：contain 等比缩放时容器多出来的部分
   由图片自身颜色延续，不会出现灰底与图边的色差断层。 */
.carousel-slide::before {
  content: "";
  position: absolute;
  inset: -6%;
  z-index: 0;
  background-image: var(--slide-bg, none);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(26px) saturate(1.15);
  transform: scale(1.06);
}

/* 用真实 <img> 等比缩放：contain 保证任何屏幕都完整显示整张图，不裁切内容。
   必须 absolute 脱离 flex 流 —— 否则它与同层的 .carousel-overlay 并排参与
   flex 布局，被 overlay 的 max-width 挤压，图片就不再左右居中了。 */
.carousel-img {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.carousel-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.carousel-overlay {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 760px;
}

/* 轮播文案：视觉上完全透明（保留 DOM 占位与文字，利于可访问性/SEO） */
.carousel-title {
  font-size: clamp(28px, 4.4vw, 56px);
  font-weight: 800;
  line-height: 1.12;
  margin: 0 0 14px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.3);
  opacity: 0;
}

.carousel-sub {
  font-size: clamp(15px, 1.6vw, 20px);
  margin: 0 0 26px;
  opacity: 0;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0);
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: background var(--dur) var(--ease);
  /* 浅色轮播图上也要能看清 */
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.carousel-arrow:hover {
  background: rgba(255, 255, 255, 0.34);
}

.carousel-arrow.prev {
  left: 18px;
}

.carousel-arrow.next {
  right: 18px;
}

.carousel-dots {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: background var(--dur) var(--ease), width var(--dur) var(--ease);
}

.carousel-dot.is-active {
  background: #fff;
  width: 26px;
  border-radius: 6px;
}

/* 不同屏幕给不同容器比例：图片按 contain 等比缩放，不裁切内容。
   窄屏若沿用 3.2:1 会退化成一条细带，故逐级加高，多出的部分由模糊铺底填充。 */
@media (max-width: 1024px) {
  .hero-carousel {
    aspect-ratio: 5/2;
  }
}
@media (max-width: 640px) {
  .hero-carousel {
    aspect-ratio: 2/1;
  }
  .carousel-arrow {
    display: none;
  }
}
/* =========================================================
   悬浮侧边工具栏（电脑端 + 手机端通用）
   参考 zhongyingfangshui.top 的右侧悬浮工具条：电话 / 微信 / 返回顶部
   ========================================================= */
.side-toolbar {
  position: fixed;
  right: 18px;
  bottom: 30px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.st-item {
  position: relative;
  width: 48px;
  height: 48px;
  border: 0;
  padding: 0;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  background: var(--brand-500);
  color: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.st-item:hover {
  transform: translateY(-2px);
  background: var(--brand-600);
  box-shadow: var(--shadow-lg);
}

.st-item:focus-visible {
  outline: 3px solid var(--brand-400);
  outline-offset: 2px;
}

.st-svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  display: block;
  flex: none;
}

.st-label {
  font-size: 11px;
  line-height: 1;
  font-weight: 600;
}

/* 电话：珊瑚橙，与导航 CTA 呼应 */
.st-phone {
  background: var(--accent-500);
}

.st-phone:hover {
  background: var(--accent-600);
}

/* 微信：内含按钮 + 二维码弹层（悬停 / 聚焦 / 点击均可触发） */
.st-wechat .st-btn {
  width: 100%;
  height: 100%;
  border: 0;
  cursor: pointer;
  background: transparent;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  border-radius: inherit;
  padding: 0;
}

.st-wechat .st-btn:focus-visible {
  outline: 3px solid var(--brand-400);
  outline-offset: 2px;
  border-radius: 14px;
}

.st-pop {
  position: absolute;
  right: calc(100% + 12px);
  bottom: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 148px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--n-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateX(6px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
}

.st-wechat:hover .st-pop,
.st-wechat:focus-within .st-pop,
.st-wechat.open .st-pop {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.st-pop img {
  width: 120px;
  height: 120px;
  border-radius: 8px;
  background: var(--n-50);
}

.st-pop-name {
  font-size: 13px;
  color: var(--n-700);
  font-weight: 600;
}

/* 电话：电脑端点击/悬停弹出号码，手机端隐藏弹层（直接拨号） */
.st-phone .st-btn {
  width: 100%;
  height: 100%;
  border: 0;
  cursor: pointer;
  background: transparent;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  border-radius: inherit;
  padding: 0;
}

.st-phone .st-btn:focus-visible {
  outline: 3px solid var(--brand-400);
  outline-offset: 2px;
  border-radius: 14px;
}

.st-phone:hover .st-pop,
.st-phone:focus-within .st-pop,
.st-phone.open .st-pop {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.st-pop-phone {
  width: 160px;
}

.st-pop-title {
  font-size: 13px;
  color: var(--n-600);
  font-weight: 600;
}

.st-pop-tel {
  font-size: 18px;
  font-weight: 800;
  color: var(--accent-600);
  text-decoration: none;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.st-pop-tel:hover {
  color: var(--accent-700);
}

/* 返回顶部：默认隐藏，滚动一定距离后出现 */
.st-top {
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  pointer-events: none;
}

.side-toolbar.show-top .st-top {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}

.side-toolbar.show-top .st-top:hover {
  background: var(--brand-600);
}

/* 移动端：缩小尺寸、贴近边角，避免遮挡内容 */
@media (max-width: 640px) {
  .side-toolbar {
    right: 12px;
    bottom: 16px;
    gap: 10px;
  }
  .st-item {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }
  .st-svg {
    width: 18px;
    height: 18px;
  }
  .st-label {
    font-size: 10px;
  }
  .st-pop {
    width: 132px;
    right: calc(100% + 8px);
    padding: 10px;
  }
  .st-pop img {
    width: 104px;
    height: 104px;
  }
  /* 手机端：电话按钮点击直接拨号，不显示弹层 */
  .st-phone .st-pop {
    display: none;
  }
}
/* 尊重无障碍：减少动效时直接显示返回顶部 */
@media (prefers-reduced-motion: reduce) {
  .st-top {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }
}
/* =========================================================
   首页新版区块（参照 jiangxingkeji.com 布局，统一本主题设计 token）
   顺序：hero → trust-bar → services → cases → pain-points → process → articles → cta/contact
   ========================================================= */
/* 区块统一标题（居中） */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto var(--sp-6);
}

.section-header h2 {
  font-size: clamp(24px, 3vw, 34px);
  margin-bottom: var(--sp-2);
}

.section-header p {
  font-size: clamp(15px, 1.4vw, 17px);
  color: var(--n-500);
  margin: 0;
}

/* ===== trust-bar：紧随 hero 的细信任条 ===== */
.trust-bar {
  background: var(--brand-50);
  padding: var(--sp-5) 0;
  border-bottom: 1px solid var(--n-100);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4);
  text-align: center;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.trust-num {
  display: block;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  color: var(--brand-500);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.trust-text {
  font-size: 14px;
  color: var(--n-500);
  margin-top: 4px;
}

@media (min-width: 768px) {
  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
/* ===== services ===== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}

.service-card {
  background: var(--n-0);
  border: 1px solid var(--n-200);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
  box-shadow: var(--shadow);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-200);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  font-size: 34px;
  line-height: 1;
  margin-bottom: var(--sp-3);
}

.service-card h3 {
  color: var(--n-900);
  margin-bottom: var(--sp-2);
  font-size: 18px;
}

.service-card p {
  color: var(--n-600);
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
/* ===== cases ===== */
.cases-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.case-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: var(--n-50);
  border: 1px solid var(--n-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--dur) var(--ease);
}

.case-row:hover {
  box-shadow: var(--shadow-lg);
}

.case-img-wrap {
  position: relative;
  min-height: 220px;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-img-tag {
  position: absolute;
  left: var(--sp-3);
  bottom: var(--sp-3);
  background: rgba(15, 22, 32, 0.66);
  color: #fff;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.case-info {
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.case-info h3 {
  font-size: 20px;
  color: var(--n-900);
  margin-bottom: var(--sp-2);
}

.case-info p {
  font-size: 15px;
  color: var(--n-600);
  line-height: 1.7;
  margin-bottom: var(--sp-3);
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.case-tag-item {
  font-size: 12px;
  color: var(--brand-700);
  background: var(--brand-100);
  border: 1px solid var(--brand-200);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

@media (min-width: 768px) {
  .case-row {
    grid-template-columns: 380px 1fr;
  }
  .case-row:nth-child(even) {
    grid-template-columns: 1fr 380px;
  }
  .case-row:nth-child(even) .case-img-wrap {
    order: 2;
  }
  .case-row:nth-child(even) .case-info {
    order: 1;
  }
}
/* ===== pain-points ===== */
.pain-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}

.pain-card {
  background: var(--n-50);
  border: 1px solid var(--n-200);
  border-left: 4px solid var(--accent-500);
  border-radius: var(--radius);
  padding: var(--sp-4);
}

.pain-num {
  font-size: 14px;
  font-weight: 800;
  color: var(--accent-500);
  margin-bottom: var(--sp-2);
  letter-spacing: 0.1em;
}

.pain-card h3 {
  font-size: 17px;
  color: var(--n-900);
  margin-bottom: var(--sp-2);
}

.pain-card p {
  font-size: 14px;
  color: var(--n-600);
  line-height: 1.7;
  margin: 0;
}

@media (min-width: 768px) {
  .pain-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .pain-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
/* ===== process ===== */
/* 紧凑排布：步骤均分宽度并可收缩，桌面端单行不折行；移动端再折叠 */
.process-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: nowrap;
  gap: var(--sp-2);
}

.step {
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
  padding: 0 2px;
}

.step-num {
  width: 42px;
  height: 42px;
  margin: 0 auto var(--sp-2);
  background: var(--brand-500);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
}

.step h3 {
  font-size: 14px;
  color: var(--n-900);
  margin-bottom: 4px;
}

.step p {
  font-size: 12px;
  color: var(--n-500);
  line-height: 1.45;
  margin: 0;
}

.step-arrow {
  flex: 0 0 auto;
  font-size: 18px;
  color: var(--brand-400);
  margin-top: 11px;
}

@media (max-width: 768px) {
  .process-steps {
    flex-wrap: wrap;
    gap: var(--sp-3);
  }
  .process-steps .step {
    flex: 1 1 140px;
    min-width: 140px;
    padding: 0;
  }
  .process-steps .step-arrow {
    display: none;
  }
}
/* ===== articles ===== */
.articles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}

.article-card {
  background: var(--n-0);
  border: 1px solid var(--n-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.article-image {
  height: 180px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--brand-100), var(--brand-200));
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur) var(--ease);
}

.article-card:hover .article-image img {
  transform: scale(1.05);
}

.article-body {
  padding: var(--sp-4);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.article-meta {
  font-size: 13px;
  color: var(--n-400);
  margin-bottom: var(--sp-2);
}

.article-body h3 {
  font-size: 17px;
  color: var(--n-900);
  line-height: 1.4;
  margin-bottom: var(--sp-2);
}

.article-body p {
  font-size: 14px;
  color: var(--n-600);
  line-height: 1.6;
  margin-bottom: var(--sp-3);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-link {
  margin-top: auto;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-500);
}

.article-link:hover {
  color: var(--brand-700);
}

@media (min-width: 768px) {
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .articles-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
/* ===== cta-banner（参考 jiangxingkeji：居中渐变 + 单个白底按钮，无表单） ===== */
/* CTA 横幅：居中渐变 + 白底按钮，点击跳转 /contact/ */
.cta-banner {
  background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
  color: #fff;
  padding: 60px 0;
}

.cta-banner .container {
  max-width: 760px;
  text-align: center;
}

.cta-banner .cta-inner {
  max-width: 760px;
  margin: 0 auto;
}

.cta-banner .section-header {
  margin: 0 auto var(--sp-5);
}

.cta-banner .section-header h2 {
  color: #fff;
}

.cta-banner .section-header p {
  color: rgba(255, 255, 255, 0.88);
}

.cta-banner .eyebrow {
  color: var(--accent-100);
}

.cta-banner .cta-actions {
  margin-top: var(--sp-5);
}

.cta-banner .btn {
  background: #fff;
  color: var(--brand-600);
  font-weight: 700;
  padding: 14px 36px;
  box-shadow: var(--shadow);
}

.cta-banner .btn:hover {
  background: var(--n-100);
  color: var(--brand-700);
  transform: translateY(-2px);
}

/* =========================================================
   联系我们页面（参考 jiangxingkeji.com/contact 样式）
   结构：页头 → 百度地图 → 双栏（公司信息+联系方式 / 在线留言表单）
   ========================================================= */
/* 页头：浅色渐变，居中标题（全站单页/列表页共用，间距已收紧更紧凑） */
.contact-hero {
  background: linear-gradient(180deg, var(--brand-50) 0%, var(--n-0) 100%);
  padding: var(--sp-5) 0 var(--sp-4);
  text-align: center;
}

.contact-hero .eyebrow {
  display: inline-block;
}

.contact-hero .h1 {
  margin-bottom: var(--sp-3);
}

.contact-hero__sub {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--n-600);
  max-width: 56ch;
  margin: 0 auto;
}

/* 页头紧接的板块：收紧上间距，避免与页头底 padding 叠加出过大空白 */
.section--tight-top {
  padding-top: var(--sp-4);
}

.contact-main.section {
  padding-top: var(--sp-5);
}

/* 地图：全宽圆角卡片 */
.contact-map-section {
  padding: 0 0 var(--sp-7);
}

.contact-map-wrap {
  border: 1px solid var(--n-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--n-100);
  aspect-ratio: 16/7;
}

.contact-map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* 双栏布局 */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
  align-items: start;
}

@media (min-width: 920px) {
  .contact-grid {
    grid-template-columns: 0.92fr 1.08fr;
    gap: var(--sp-6);
  }
}
/* 左栏：公司信息 + 联系方式卡片 */
.contact-company {
  margin-bottom: var(--sp-4);
}

.contact-company .h2 {
  margin-bottom: var(--sp-2);
}

.contact-company p {
  color: var(--n-600);
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}

.contact-info-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--sp-3);
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  background: var(--n-0);
  border: 1px solid var(--n-200);
  border-radius: var(--radius);
  padding: var(--sp-4);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.info-item:hover {
  border-color: var(--brand-200);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.info-icon {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-50);
  color: var(--brand-500);
}

.info-icon svg {
  width: 22px;
  height: 22px;
}

.info-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.info-label {
  font-size: 13px;
  color: var(--n-500);
  font-weight: 600;
}

.info-value {
  font-size: 15px;
  color: var(--n-900);
  font-weight: 700;
  line-height: 1.5;
  word-break: break-all;
}

a.info-value:hover {
  color: var(--brand-600);
}

/* 右栏：留言表单卡片 */
.contact-form-card {
  background: var(--n-0);
  border: 1px solid var(--n-200);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
  box-shadow: var(--shadow);
}

.form-card-head {
  margin-bottom: var(--sp-4);
}

.form-card-head .h2 {
  margin-bottom: 6px;
}

.form-card-head p {
  color: var(--n-600);
  font-size: 15px;
  margin: 0;
}

/* 表单标签（联系页用带 label 的版式，沿用全局 .lead-form 网格） */
.contact-lead-form {
  margin-top: 0;
}

.contact-lead-form .field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--n-700);
  margin-bottom: 6px;
}

.contact-lead-form .field label .required {
  color: var(--accent-500);
  margin-left: 2px;
}

.contact-lead-form .field input,
.contact-lead-form .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--n-200);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 15px;
  color: var(--n-800);
  background: var(--n-0);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.contact-lead-form .field input:focus,
.contact-lead-form .field textarea:focus {
  outline: none;
  border-color: var(--brand-400);
  box-shadow: 0 0 0 3px var(--brand-100);
}

.contact-lead-form .field textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-lead-form .btn-coral {
  width: 100%;
  padding: 14px 26px;
  font-size: 16px;
}

.form-note {
  font-size: 13px;
  color: var(--n-400);
  margin: 10px 0 0;
  line-height: 1.5;
}

/* 窄屏：地图加高、表单单列（.lead-form 在 <=860px 已是单列） */
@media (max-width: 560px) {
  .contact-map-wrap {
    aspect-ratio: 4/3;
  }
  .contact-hero {
    padding: var(--sp-4) 0 var(--sp-3);
  }
}
/* 微信咨询卡片：整行（占满 container 宽度），左文案+权益 / 右二维码 */
.contact-wechat-section {
  padding: 0 0 var(--sp-8);
}

.wechat-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  background: linear-gradient(135deg, var(--brand-50), var(--n-0));
  border: 1px solid var(--brand-200);
  border-radius: var(--radius-lg);
  padding: var(--sp-5) var(--sp-6);
  box-shadow: var(--shadow);
}

.wechat-text {
  flex: 1 1 auto;
  min-width: 0;
}

.wechat-text .h2 {
  margin-bottom: 6px;
}

.wechat-text > p {
  color: var(--n-600);
  font-size: 15px;
  margin: 0 0 var(--sp-3);
}

.wechat-benefits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px var(--sp-4);
}

.wechat-benefits li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: var(--n-700);
  line-height: 1.5;
}

.wechat-benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-500);
}

.wechat-qr {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.wechat-qr-wrap {
  width: 152px;
  height: 152px;
  background: #fff;
  border-radius: var(--radius);
  padding: 8px;
  box-shadow: var(--shadow-sm);
}

.wechat-qr-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.wechat-qr-tip {
  font-size: 13px;
  color: var(--n-500);
  font-weight: 600;
}

@media (max-width: 720px) {
  .wechat-card {
    flex-direction: column;
    text-align: center;
    padding: var(--sp-5);
  }
  .wechat-benefits {
    grid-template-columns: 1fr;
    text-align: left;
    max-width: 420px;
    margin: 0 auto;
  }
}
/* ===== 面包屑导航 ===== */
.breadcrumb {
  background: var(--n-50);
  border-bottom: 1px solid var(--n-100);
  padding: 11px 0;
  font-size: 15px;
  line-height: 1.6;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--n-500);
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  color: var(--n-500);
}

/* 分隔符：每项（除第一项）前插入 › */
.breadcrumb-item + .breadcrumb-item::before {
  content: "›";
  margin: 0 10px;
  color: var(--n-300);
  font-size: 16px;
  line-height: 1;
}

.breadcrumb-link {
  color: var(--n-500);
  transition: color 0.2s var(--ease);
}

.breadcrumb-link:hover {
  color: var(--brand-600);
  text-decoration: underline;
}

.breadcrumb-current {
  color: var(--n-700);
  font-weight: 600;
  max-width: 60ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .breadcrumb {
    font-size: 14px;
    padding: 9px 0;
  }
  .breadcrumb-item + .breadcrumb-item::before {
    margin: 0 7px;
    font-size: 15px;
  }
}
