/* ========================================
   鸿博档案官网 - 内页区块样式
   ======================================== */

/* 解决方案 */
.solutions-hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #eef3fb;
}

.solutions-hero-bg {
  position: absolute;
  inset: 0;
  background: url('/images/solutions-hero.png') center / cover no-repeat;
}

.solutions-hero-inner {
  position: relative;
  z-index: 1;
  width: 80%;
  padding: 100px 0 72px;
}

.solutions-hero-title {
  font-size: 48px;
  font-weight: 700;
  color: #2E428A;
  line-height: 1.25;
  margin-bottom: 18px;
  letter-spacing: 1px;
  -webkit-text-stroke: 0.6px currentColor;
  paint-order: stroke fill;
}

.solutions-hero-lead {
  font-size: 18px;
  color: #2E428A;
  line-height: 1.8;
  max-width: none;
  white-space: nowrap;
}

.solutions-page {
  background: #fff;
  padding: 48px 0 80px;
}

.solutions-page > .container {
  width: 80%;
}

.solutions-layout {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

.solutions-sidebar {
  padding-top: 0;
}

.solutions-sidebar-head {
  margin: 0;
  padding: 0;
  border: none;
}

.solutions-sidebar-head-img {
  display: block;
  width: 100%;
  max-width: 180px;
  height: auto;
}

.solutions-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 8px;
  padding-top: 0;
}

.solutions-nav-item {
  position: relative;
  display: block;
  padding: 12px 0;
  font-size: 14px;
  color: #666;
  line-height: 1.4;
  transition: color var(--transition);
}

.solutions-nav-item:hover {
  color: #2E428A;
}

.solutions-nav-item.is-active {
  color: #2E428A;
  font-weight: 600;
}

.solutions-nav-item.is-active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: #2E428A;
  transform: scaleY(0.5);
  transform-origin: center bottom;
}

.solutions-main {
  min-width: 0;
}

.sol-section {
  margin-bottom: 48px;
}

.sol-section-title {
  font-size: 22px;
  font-weight: 700;
  color: #111;
  margin: 0 0 10px;
  line-height: 1.4;
  text-align: center;
}

.sol-section-lead {
  font-size: 14px;
  color: #8a93a3;
  margin: 0 0 24px;
  line-height: 1.7;
  text-align: center;
}

.sol-problems {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  padding: 24px;
  background: #f5f6f8;
  border-radius: 8px;
}

.sol-problem-card {
  position: relative;
  overflow: hidden;
  background-color: #fff;
  background-image: url('/images/solutions-problem-card-bg.png');
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 100% auto;
  border-radius: 12px;
  padding: 28px 22px 24px;
  min-height: 220px;
  min-width: 0;
}

.sol-problem-icon {
  position: relative;
  z-index: 1;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 10px;
  flex-shrink: 0;
  overflow: hidden;
  box-sizing: border-box;
  line-height: 0;
  font-size: 0;
}

.sol-problem-icon img {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  display: block;
  object-fit: fill;
  border-radius: inherit;
}

.sol-problem-card h4 {
  position: relative;
  z-index: 1;
  font-size: 17px;
  font-weight: 700;
  color: #000;
  margin: 0 0 14px;
  line-height: 1.4;
}

.sol-problem-card ul {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sol-problem-card li {
  position: relative;
  padding-left: 14px;
  margin-bottom: 8px;
  font-size: 13px;
  color: #555;
  line-height: 1.7;
}

.sol-problem-card li:last-child {
  margin-bottom: 0;
}

.sol-problem-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #9aa3b2;
}

.sol-essence {
  margin-top: 28px;
}

.sol-essence-tag {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 14px;
  border-radius: 999px;
  background: #fde8eb;
  color: #e25563;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
}

.sol-essence-text {
  margin: 14px 0 0;
  font-size: 15px;
  color: #333;
  line-height: 1.8;
}

.sol-plans {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 28px 28px 28px 24px;
  background: #f5f6f8;
  border-radius: 8px;
}

.sol-plan-item {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.sol-plan-item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 17px;
  top: 36px;
  bottom: -28px;
  width: 1px;
  background: #d8dde6;
}

.sol-plan-index {
  position: relative;
  z-index: 1;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #2f6fed;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 0 4px #f5f6f8;
}

.sol-plan-body h4 {
  font-size: 16px;
  font-weight: 700;
  color: #111;
  margin: 8px 0 12px;
  line-height: 1.4;
}

.sol-plan-card {
  background: #fff;
  border: 1px solid #e5e8ef;
  border-radius: 4px;
  padding: 16px 20px;
}

.sol-plan-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sol-plan-card li {
  position: relative;
  padding-left: 14px;
  margin-bottom: 8px;
  font-size: 14px;
  color: #4b5563;
  line-height: 1.7;
}

.sol-plan-card li:last-child {
  margin-bottom: 0;
}

.sol-plan-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #9ca3af;
}

.sol-results {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.sol-result-card {
  border-radius: 12px;
  padding: 22px 16px 20px;
  text-align: center;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: none;
  color: #000000;
}

.sol-result-title {
  font-size: 16px;
  font-weight: 700;
  color: #000000;
  margin: 0 0 6px;
  line-height: 1.4;
}

.sol-result-sub {
  font-size: 13px;
  color: #3D3D3D;
  margin: 0 0 18px;
  line-height: 1.4;
}

.sol-result-compare {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-top: auto;
  width: 100%;
}

.sol-result-side {
  min-width: 0;
}

.sol-result-value {
  font-size: 22px;
  font-weight: 700;
  color: #000000;
  line-height: 1.2;
  margin-bottom: 4px;
}

.sol-result-label {
  font-size: 12px;
  color: #3D3D3D;
  line-height: 1.2;
}

.sol-result-arrow {
  width: 36px;
  height: 2px;
  margin: 0;
  border-radius: 1px;
  position: relative;
  flex-shrink: 0;
  align-self: center;
}

.sol-result-arrow::after {
  content: '';
  position: absolute;
  right: -1px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}

.sol-result--blue {
  background: #eef3ff;
}

.sol-result--blue .sol-result-arrow {
  background: #2f6fed;
  color: #2f6fed;
}

.sol-result--green {
  background: #eaf8f0;
}

.sol-result--green .sol-result-arrow {
  background: #22a06b;
  color: #22a06b;
}

.sol-result--rose {
  background: #fdecee;
}

.sol-result--rose .sol-result-arrow {
  background: #e25563;
  color: #e25563;
}

.sol-result--purple {
  background: #f1f0f8;
}

.sol-result--purple .sol-result-arrow {
  background: #8b7ec8;
  color: #8b7ec8;
}

.sol-cycle {
  margin: 16px 0 0;
  font-size: 13px;
  color: #e11d2e;
  line-height: 1.6;
}

.sol-cta {
  margin-top: 8px;
  padding: 36px 24px;
  background: url('/images/solutions-cta-bg.png') center / cover no-repeat;
  border-radius: 8px;
  text-align: center;
}

.sol-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  height: 44px;
  padding: 0 28px;
  border-radius: 6px;
  background: #2f6fed;
  color: #fff !important;
  font-size: 15px;
  font-weight: 600;
  transition: background var(--transition), opacity var(--transition);
}

.sol-cta-btn:hover {
  background: #1a5ad9;
}

/* 兼容旧解决方案卡片样式 */
.solutions { background: var(--color-bg-gray); }

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.solution-card {
  position: relative;
  height: 200px;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--transition);
}

.solution-card:hover { transform: translateY(-4px); }

.solution-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.solution-card:hover .solution-bg { transform: scale(1.05); }

.solution-bg-gov { background: linear-gradient(135deg, #1a3a5c, #2d5f8f); }
.solution-bg-finance { background: linear-gradient(135deg, #2c4a6e, #4a7ab5); }
.solution-bg-energy { background: linear-gradient(135deg, #8b4513, #cd853f); }
.solution-bg-medical { background: linear-gradient(135deg, #276749, #48a068); }
.solution-bg-edu { background: linear-gradient(135deg, #4a3728, #8b7355); }
.solution-bg-manufacture { background: linear-gradient(135deg, #3d4f5f, #6b8299); }
.solution-bg-transport { background: linear-gradient(135deg, #2e4057, #5a7d9a); }
.solution-bg-realestate { background: linear-gradient(135deg, #4a5568, #718096); }

.solution-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  background: linear-gradient(transparent 30%, rgba(0, 0, 0, 0.65));
  color: #fff;
}

.solution-card-blue .solution-content {
  background: linear-gradient(transparent 20%, rgba(0, 43, 91, 0.8));
}

.solution-card-red .solution-content {
  background: linear-gradient(transparent 20%, rgba(230, 0, 18, 0.75));
}

.solution-content h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.solution-content p {
  font-size: 12px;
  opacity: 0.85;
  line-height: 1.5;
}

/* 案例中心 */
.cases-hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #e8f3ff;
}

.cases-hero-bg {
  position: absolute;
  inset: 0;
  background: url('/images/cases-hero.png') center / cover no-repeat;
}

.cases-hero-inner {
  position: relative;
  z-index: 1;
  width: 80%;
  padding: 100px 0 72px;
}

.cases-hero-title {
  font-size: 48px;
  font-weight: 700;
  color: #2E428A;
  line-height: 1.25;
  margin-bottom: 18px;
  letter-spacing: 1px;
  -webkit-text-stroke: 0.6px currentColor;
  paint-order: stroke fill;
}

.cases-hero-lead {
  font-size: 18px;
  color: #2E428A;
  line-height: 1.8;
  max-width: none;
  white-space: nowrap;
}

.cases-page {
  background: #fff;
  padding: 48px 0 80px;
}

.cases-page > .container {
  width: 80%;
}

.cases-layout {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

.cases-sidebar {
  padding-top: 0;
}

.cases-sidebar-head {
  margin: 0;
  padding: 0;
  border: none;
}

.cases-sidebar-head-img {
  display: block;
  width: 100%;
  max-width: 180px;
  height: auto;
}

.cases-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 8px;
  padding-top: 0;
}

.cases-nav-item {
  position: relative;
  display: block;
  padding: 12px 0;
  font-size: 14px;
  color: #666;
  line-height: 1.4;
  transition: color var(--transition);
}

.cases-nav-item:hover {
  color: #2E428A;
}

.cases-nav-item.is-active {
  color: #2E428A;
  font-weight: 600;
}

.cases-nav-item.is-active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: #2E428A;
  transform: scaleY(0.5);
  transform-origin: center bottom;
}

.cases-main {
  min-width: 0;
}

.case-article-head {
  margin-bottom: 22px;
}

.case-article-title {
  font-size: 30px;
  font-weight: 700;
  color: #111;
  line-height: 1.4;
  margin: 0;
}

.case-privacy-tag {
  margin-left: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #e11d2e;
  white-space: nowrap;
}

.case-article-body {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 40px 48px;
  align-items: start;
  margin-bottom: 56px;
}

.case-article-subtitle {
  font-size: 18px;
  font-weight: 700;
  color: #111;
  line-height: 1.6;
  margin: 0 0 16px;
}

.case-article-desc {
  font-size: 15px;
  color: #4b5563;
  line-height: 1.9;
  margin: 0 0 20px;
}

.case-facts {
  margin: 0;
  padding: 0;
  list-style: none;
}

.case-facts li {
  padding-left: 0;
  margin-bottom: 8px;
  font-size: 15px;
  color: #4b5563;
  line-height: 1.7;
}

.case-facts li::before {
  content: none;
}

.case-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
}

/* 仅 1 张时铺满；3、5… 张时末行单独一张也铺满，避免半宽留白 */
.case-stats .case-stat:only-child,
.case-stats .case-stat:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.case-stat {
  min-height: 110px;
  padding: 22px 16px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.case-stat-value {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.case-stat-label {
  font-size: 13px;
  line-height: 1.4;
  opacity: 0.95;
}

.case-stat--blue {
  background: #e8f1ff;
  color: #1e40af;
}

.case-stat--navy {
  background: #1e3a6e;
  color: #fff;
}

.case-stat--navy .case-stat-label {
  color: rgba(255, 255, 255, 0.85);
}

.case-stat--rose {
  background: #fde8eb;
  color: #c81e2e;
}

.case-stat--sky {
  background: #eaf6ff;
  color: #2563eb;
}

.case-testimonials {
  margin-top: 8px;
  text-align: center;
}

.case-testimonials-title {
  font-size: 22px;
  font-weight: 700;
  color: #111;
  margin: 0 0 8px;
}

.case-testimonials-lead {
  font-size: 14px;
  color: #9ca3af;
  margin: 0 0 28px;
}

.case-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  text-align: left;
}

.case-testimonial {
  margin: 0;
  padding: 24px 22px;
  background: #f5f6f8;
  border-radius: 6px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
}

.case-testimonial p {
  flex: 1;
  font-size: 14px;
  color: #374151;
  line-height: 1.8;
  margin: 0;
}

.case-testimonial footer {
  margin-top: 18px;
  font-size: 13px;
  color: #6b7280;
  text-align: right;
}

/* 兼容旧案例卡片样式（其它页可能复用） */
.cases { padding: 0; }

.cases-split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  min-height: 420px;
}

.cases-text {
  display: flex;
  align-items: center;
  padding: 60px 48px;
  background: var(--color-bg);
}

.cases-text-inner { max-width: 400px; }

.cases-text p {
  color: var(--color-text-light);
  margin-bottom: 28px;
  line-height: 1.8;
  font-size: 15px;
}

.cases-pagination {
  display: flex;
  gap: 8px;
  margin-top: 32px;
}

.case-page-btn {
  width: 36px;
  height: 36px;
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  color: var(--color-text-light);
  font-size: 14px;
  cursor: pointer;
  border-radius: 2px;
  transition: all var(--transition);
}

.case-page-btn.active,
.case-page-btn:hover {
  background: var(--color-red);
  color: #fff;
  border-color: var(--color-red);
}

.cases-visual {
  position: relative;
  overflow: hidden;
  min-height: 420px;
}

.case-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.case-slide.active { opacity: 1; }

.case-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.case-slide-1 {
  background-image: url('https://images.unsplash.com/photo-1521737711867-e3b97375f902?w=800&q=80');
}

.case-slide-2 {
  background-image: url('https://images.unsplash.com/photo-1600880292203-757bb62b4baf?w=800&q=80');
}

.case-slide-3 {
  background-image: url('https://images.unsplash.com/photo-1573496359142-b8d87734a5a2?w=800&q=80');
}

.case-slide-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px;
  background: linear-gradient(transparent, rgba(0, 43, 91, 0.85));
  color: #fff;
}

.case-slide-info h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.case-slide-info p {
  font-size: 14px;
  opacity: 0.85;
}

.cases-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.case-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 28px;
  transition: box-shadow var(--transition);
}

.case-card:hover { box-shadow: var(--shadow); }

.case-card-tag {
  display: inline-block;
  font-size: 12px;
  color: var(--color-red);
  background: rgba(208, 31, 39, 0.08);
  padding: 4px 10px;
  border-radius: 2px;
  margin-bottom: 12px;
}

.case-card h3 {
  font-size: 16px;
  color: var(--color-navy);
  margin-bottom: 10px;
  line-height: 1.5;
}

.case-card p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* 产品与服务 */
.services-hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #eef3fb;
}

.services-hero-bg {
  position: absolute;
  inset: 0;
  background: url('/images/services-hero.png') center / 100% 100% no-repeat;
}

.services-hero-inner {
  position: relative;
  z-index: 1;
  width: 80%;
  padding: 100px 0 72px;
}

.services-hero-title {
  font-size: 48px;
  font-weight: 700;
  color: #2E428A;
  line-height: 1.25;
  margin-bottom: 18px;
  letter-spacing: 1px;
  -webkit-text-stroke: 0.6px currentColor;
  paint-order: stroke fill;
}

.services-hero-lead {
  font-size: 18px;
  color: #2E428A;
  line-height: 1.8;
  max-width: none;
  white-space: nowrap;
}

.offerings {
  background: #fff;
  padding-top: 0;
  padding-bottom: 72px;
}

.offerings > .container {
  width: 80%;
}

.services-tabs {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 40px;
  width: 100%;
  margin: 0 0 20px;
  border-bottom: 1px solid #e5e8ef;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
  touch-action: none;
}

.services-tabs.is-dragging {
  cursor: grabbing;
}

.services-tabs::-webkit-scrollbar {
  display: none;
}

.services-tab {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  padding: 14px 4px 16px;
  font-size: 16px;
  color: #666;
  white-space: nowrap;
  transition: color var(--transition);
}

.services-tab:hover {
  color: var(--color-navy);
}

.services-tab.is-active {
  color: var(--color-navy);
  font-weight: 600;
}

.services-tab.is-active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: #2f6fed;
  border-radius: 2px 2px 0 0;
}

/* 产品与服务 - 详情（设计稿） */
.svc-detail {
  padding-top: 0;
}

.svc-module + .svc-module {
  margin-top: 32px;
  padding-top: 0;
  border-top: none;
}

.svc-section-head {
  display: flex;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  max-width: 180px;
  height: auto;
  aspect-ratio: 398 / 79;
  margin: 0 0 24px;
  padding: 0 8px 4px 30px;
  border: none;
  background: url('/images/services-section-head.png') left center / 100% 100% no-repeat;
}

.svc-section-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #2E428A;
  line-height: 1.2;
  white-space: nowrap;
}

.svc-section-lead {
  margin: 4px 0 18px;
  font-size: 15px;
  color: #666;
  line-height: 1.7;
}

.svc-flow {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  align-items: stretch;
  gap: 0;
}

/* 样式一：箭头色块流程 */
.svc-flow--1 {
  gap: 6px;
}

.svc-flow--1 .svc-flow-step {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  min-height: 108px;
  margin-left: 0;
  padding: 18px 28px 18px 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 50%, calc(100% - 22px) 100%, 0 100%, 22px 50%);
  overflow: hidden;
}

.svc-flow--1 .svc-flow-step:nth-child(1) { z-index: 1; }
.svc-flow--1 .svc-flow-step:nth-child(2) { z-index: 2; }
.svc-flow--1 .svc-flow-step:nth-child(3) { z-index: 3; }
.svc-flow--1 .svc-flow-step:nth-child(4) { z-index: 4; }
.svc-flow--1 .svc-flow-step:nth-child(5) { z-index: 5; }
.svc-flow--1 .svc-flow-step:nth-child(6) { z-index: 6; }
.svc-flow--1 .svc-flow-step:nth-child(7) { z-index: 7; }
.svc-flow--1 .svc-flow-step:nth-child(8) { z-index: 8; }

.svc-flow--1 .svc-flow-step:first-child {
  padding-left: 34px;
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 50%, calc(100% - 22px) 100%, 0 100%, 22px 50%);
  border-radius: 0;
}

.svc-flow--1 .svc-flow-step:last-child {
  border-radius: 0 4px 4px 0;
}

.svc-flow--1 .svc-flow-step--0 { background: #eaf0ff; }
.svc-flow--1 .svc-flow-step--1 { background: #e8f7ef; }
.svc-flow--1 .svc-flow-step--2 { background: #eeecf7; }
.svc-flow--1 .svc-flow-step--3 { background: #e8f3ff; }
.svc-flow--1 .svc-flow-step--4 { background: #fce8ef; }
.svc-flow--1 .svc-flow-step--5 { background: #eeecf7; }

.svc-flow--1 .svc-flow-step-bg {
  position: absolute;
  left: 50%;
  top: auto;
  bottom: 8px;
  transform: translateX(-50%);
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 800;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.28);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  z-index: 0;
}

.svc-flow--1 .svc-flow-step-icon {
  position: relative;
  z-index: 1;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  box-sizing: border-box;
  background: transparent;
}

.svc-flow--1 .svc-flow-step-icon.is-empty {
  background: transparent;
}

.svc-flow--1 .svc-flow-step-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.svc-flow--1 .svc-flow-step-name {
  position: relative;
  z-index: 1;
  font-size: 15px;
  font-weight: 500;
  color: #333;
  line-height: 1.3;
  text-align: center;
}

/* 样式二：浅底横条 + 图标/文字 + 箭头连接 */
.svc-flow--2 {
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 0;
  width: 100%;
  box-sizing: border-box;
  padding: 28px 32px 22px;
  background: #f5f6f8;
  border-radius: 2px;
  overflow-x: auto;
}

.svc-flow--2 .svc-flow-step {
  position: relative;
  flex: 1 1 0;
  min-width: 64px;
  min-height: 0;
  margin-left: 0;
  padding: 0 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  clip-path: none;
  border-radius: 0;
  background: none !important;
  gap: 10px;
  overflow: visible;
}

.svc-flow--2 .svc-flow-step:first-child,
.svc-flow--2 .svc-flow-step:last-child {
  margin-left: 0;
  padding-left: 4px;
  padding-right: 4px;
  clip-path: none;
  border-radius: 0;
}

.svc-flow--2 .svc-flow-step-bg {
  display: none;
}

.svc-flow--2 .svc-flow-step-icon {
  position: relative;
  z-index: 1;
  width: 40px;
  height: 40px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.svc-flow--2 .svc-flow-step-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
  box-sizing: border-box;
}

.svc-flow--2 .svc-flow-step-name {
  position: relative;
  z-index: 1;
  font-size: 15px;
  font-weight: 500;
  color: #333;
  line-height: 1.3;
  text-align: center;
  white-space: nowrap;
}

.svc-flow--2 .svc-flow-sep {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 11px 2px 0;
  border-radius: 50%;
  background: #eef0f3;
  display: flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  align-self: flex-start;
}

.svc-flow--2 .svc-flow-sep::before {
  content: '';
  width: 5px;
  height: 5px;
  border-top: 1.5px solid #c5c9d1;
  border-right: 1.5px solid #c5c9d1;
  transform: rotate(45deg);
  margin-left: -1px;
}

.svc-block {
  margin: 0;
}

.svc-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  padding: 7px 20px;
  border-radius: 999px;
  background: #f8e8ec;
  color: #e60044;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 12px;
  white-space: nowrap;
}

.svc-meta {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px 40px;
}

.svc-meta-item {
  min-width: 0;
}

.svc-meta-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  padding: 7px 20px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: #f8e8ec;
  color: #e60044;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
}

.svc-meta-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.svc-meta-list li {
  position: relative;
  padding-left: 14px;
  margin-bottom: 10px;
  font-size: 14px;
  color: #333;
  line-height: 1.7;
}

.svc-meta-list li:last-child {
  margin-bottom: 0;
}

.svc-meta-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #555;
}

.svc-content-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid #d7e6fb;
}

.svc-content-table th,
.svc-content-table td {
  padding: 16px 24px;
  text-align: left;
  font-size: 15px;
  line-height: 1.6;
}

.svc-content-table th {
  background: #eaf3ff;
  color: #2a3550;
  font-weight: 600;
  border-bottom: 1px solid #e4eefb;
}

.svc-content-table tbody td {
  padding: 12px 24px;
  background: #fff;
  color: #444;
  vertical-align: top;
  border-bottom: none;
}

.svc-content-table th:first-child,
.svc-content-table td:first-child {
  width: 28%;
}

@media (max-width: 1100px) {
  .svc-flow--1 {
    flex-wrap: wrap;
    gap: 12px;
  }

  .svc-flow--1 .svc-flow-step,
  .svc-flow--1 .svc-flow-step:first-child,
  .svc-flow--1 .svc-flow-step:last-child {
    flex: 1 1 calc(50% - 12px);
    margin-left: 0;
    clip-path: none;
    border-radius: 10px;
    padding: 24px;
  }

  .svc-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .svc-flow--1 .svc-flow-step,
  .svc-flow--1 .svc-flow-step:first-child,
  .svc-flow--1 .svc-flow-step:last-child {
    flex: 1 1 100%;
  }

  .svc-content-table th,
  .svc-content-table td {
    padding: 12px 14px;
    font-size: 13px;
  }

  .svc-meta {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.offerings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.offering-card {
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 40px 24px;
  text-align: center;
  transition: all var(--transition);
  cursor: pointer;
  background: var(--color-bg-gray);
}

.offering-card:hover {
  border-color: var(--color-navy);
  box-shadow: var(--shadow);
}

.offering-card-active {
  background: var(--color-red);
  border-color: var(--color-red);
  color: #fff;
}

.offering-card-active:hover {
  background: var(--color-red-dark);
  border-color: var(--color-red-dark);
}

.offering-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  color: var(--color-navy);
}

.offering-card-active .offering-icon { color: #fff; }

.offering-icon svg { width: 100%; height: 100%; }

.offering-card h3 {
  font-size: 16px;
  font-weight: 500;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-detail-card {
  background: var(--color-bg-gray);
  border-radius: 4px;
  padding: 32px;
  border: 1px solid var(--color-border);
}

.service-detail-card h3 {
  font-size: 18px;
  color: var(--color-navy);
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-red);
  display: inline-block;
}

.service-detail-card p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 12px;
}

.service-detail-card ul li {
  font-size: 14px;
  color: var(--color-text-light);
  padding: 4px 0 4px 16px;
  position: relative;
}

.service-detail-card ul li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--color-blue-light);
}

/* 关于我们 */
.about-intro {
  text-align: left;
  max-width: none;
  margin: 0;
}

.about-intro p {
  font-size: 16px;
  color: var(--color-text-light);
  line-height: 1.9;
}

.why-us { background: var(--color-bg-gray); }

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.why-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 36px 28px;
  text-align: center;
  transition: all var(--transition);
}

.why-card:hover { box-shadow: var(--shadow); }

.why-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  color: var(--color-red);
}

.why-icon svg { width: 100%; height: 100%; }

.why-card h3 {
  font-size: 18px;
  color: var(--color-navy);
  margin-bottom: 16px;
}

.why-card ul { text-align: left; }

.why-card ul li {
  font-size: 14px;
  color: var(--color-text-light);
  padding: 6px 0 6px 16px;
  position: relative;
}

.why-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-red);
  font-size: 12px;
}

.why-card-featured {
  position: relative;
  border: none;
  overflow: hidden;
  padding: 0;
}

.why-card-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=600&q=80') center/cover;
  z-index: 0;
}

.why-card-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(208, 31, 39, 0.82);
}

.why-card-content {
  position: relative;
  z-index: 1;
  padding: 36px 28px;
  color: #fff;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.why-card-featured .why-icon { color: #fff; }
.why-card-featured h3 { color: #fff; }
.why-card-featured ul li { color: rgba(255, 255, 255, 0.9); }
.why-card-featured ul li::before { color: #fff; }

.why-link {
  margin-top: auto;
  padding-top: 16px;
  font-size: 14px;
  color: #fff;
  opacity: 0.9;
}

.why-link:hover { opacity: 1; text-decoration: underline; }

/* 核心优势页（设计稿四段） */
.core-strength-wrap {
  width: 100%;
  padding: 36px 0 56px;
}

.core-strength {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.cs-section {
  text-align: center;
}

.cs-section-head {
  margin-bottom: 28px;
}

.cs-title {
  margin: 0 0 10px;
  font-size: 30px;
  color: var(--color-navy);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.cs-subtitle {
  margin: 0 auto;
  max-width: 760px;
  color: var(--color-text-light);
  font-size: 15px;
  line-height: 1.7;
}

/* 管理类型对比：一级/二级标题样式对调 */
.cs-compare .cs-title {
  font-size: 18px;
  font-weight: 400;
  color: var(--color-text-light);
  letter-spacing: 0;
}

.cs-compare .cs-subtitle {
  font-size: 30px;
  font-weight: 700;
  color: var(--color-navy);
  letter-spacing: 0.02em;
  line-height: 1.4;
}

.cs-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  text-align: left;
}

.cs-compare-card {
  border-radius: 10px;
  padding: 32px 28px 28px;
  border: 1px solid transparent;
  box-shadow: 0 8px 28px rgba(0, 43, 91, 0.06);
  min-height: 360px;
}

.cs-compare-card--blue {
  background: linear-gradient(180deg, #f3f7fc 0%, #ffffff 48%);
  border-color: #d7e4f4;
}

.cs-compare-card--red {
  background: linear-gradient(180deg, #fdf4f4 0%, #ffffff 48%);
  border-color: #f0d4d4;
}

.cs-compare-icon-wrap {
  margin-bottom: 16px;
}

.cs-compare-icon {
  width: 64px;
  height: 64px;
  display: block;
  overflow: hidden;
  padding: 0;
  margin: 0;
  background: none;
  border: 0;
  border-radius: 0;
  color: #1a4b8c;
}

.cs-compare-card--red .cs-compare-icon {
  color: var(--color-red);
}

.cs-compare-icon svg,
.cs-compare-icon img,
.cs-pillar-icon svg,
.cs-pillar-icon img,
.cs-commit-icon svg,
.cs-commit-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
}

.cs-icon-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: none;
  border: 0;
  border-radius: 0;
  margin: 0;
  padding: 0;
}

.cs-compare-title {
  margin: 0 0 18px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}

.cs-compare-card--blue .cs-compare-title { color: #1a4b8c; }
.cs-compare-card--red .cs-compare-title { color: var(--color-red); }

.cs-compare-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cs-compare-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
  color: #445;
  line-height: 1.65;
  font-size: 14px;
}

.cs-compare-text em {
  font-style: normal;
  font-weight: 600;
  color: #333;
}

.cs-compare-arrow {
  width: 0;
  height: 0;
  margin-top: 7px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid #1a4b8c;
  flex-shrink: 0;
}

.cs-compare-card--red .cs-compare-arrow {
  border-left-color: var(--color-red);
}

.cs-table-wrap {
  overflow-x: auto;
  border-radius: 10px;
  border: 1px solid #e5ebf3;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 43, 91, 0.05);
}

.cs-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
  font-size: 14px;
}

.cs-table th,
.cs-table td {
  padding: 16px 18px;
  border-bottom: 1px solid #eef2f7;
  text-align: left;
  vertical-align: middle;
  line-height: 1.65;
  color: #555;
}

.cs-table thead th {
  background: #f4f7fb;
  color: #303133;
  font-weight: 600;
  white-space: nowrap;
}

.cs-table tbody tr.is-alt td {
  background: #f8fafc;
}

.cs-table .cs-col-dim {
  width: 18%;
  font-weight: 600;
  color: #333;
  white-space: nowrap;
}

.cs-table th.is-accent,
.cs-table td.is-accent {
  color: #1a4b8c;
  font-weight: 600;
  background: rgba(26, 75, 140, 0.05);
}

.cs-table thead th.is-accent {
  background: rgba(26, 75, 140, 0.1);
}

.cs-pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  text-align: left;
}

.cs-pillar-card {
  --cs-theme: #1a4b8c;
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 10px;
  padding: 26px 22px 24px;
  min-height: 300px;
  box-shadow: 0 10px 28px rgba(0, 43, 91, 0.06);
}

.cs-pillar-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.cs-pillar-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: block;
  overflow: hidden;
  padding: 0;
  margin: 0;
  background: none;
  border: 0;
  border-radius: 0;
  color: var(--cs-theme);
}

.cs-pillar-title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: var(--cs-theme);
  line-height: 1.3;
}

.cs-pillar-line {
  height: 4px;
  width: 48px;
  border-radius: 2px;
  background: var(--cs-theme);
  margin-bottom: 16px;
}

.cs-pillar-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.cs-pillar-list li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 11px;
  color: #555;
  font-size: 14px;
  line-height: 1.65;
}

.cs-pillar-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cs-theme);
  opacity: 0.7;
}

.cs-commit-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.cs-commit-card {
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 10px;
  padding: 26px 14px 22px;
  min-height: 180px;
  box-shadow: 0 8px 22px rgba(0, 43, 91, 0.05);
}

.cs-commit-icon-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
}

.cs-commit-icon {
  width: 56px;
  height: 56px;
  display: block;
  overflow: hidden;
  padding: 0;
  margin: 0;
  background: none;
  border: 0;
  border-radius: 0;
  color: #1a4b8c;
}

.cs-commit-card--red .cs-commit-icon {
  color: var(--color-red);
}

.cs-commit-title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-navy);
}

.cs-commit-desc {
  margin: 0;
  color: var(--color-text-light);
  font-size: 13px;
  line-height: 1.6;
}

.about-panel[data-about-panel="advantages"].is-active {
  margin-top: 8px;
}

@media (max-width: 1100px) {
  .cs-commit-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 960px) {
  .cs-compare-grid,
  .cs-pillar-grid {
    grid-template-columns: 1fr;
  }

  .cs-commit-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .core-strength {
    gap: 48px;
  }
}

@media (max-width: 640px) {
  .cs-commit-grid {
    grid-template-columns: 1fr;
  }

  .cs-title { font-size: 22px; }
  .cs-compare .cs-title { font-size: 16px; font-weight: 400; }
  .cs-compare .cs-subtitle { font-size: 22px; }

  .cs-compare-card,
  .cs-pillar-card {
    min-height: 0;
  }
}

/* 客户信任 */
.trust { background: var(--color-bg); }

.trust-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}

.trust-stat {
  text-align: center;
  padding: 24px;
}

.trust-stat-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border: 2px solid var(--color-blue-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-blue-light);
}

.trust-stat-icon svg { width: 32px; height: 32px; }

.trust-num {
  font-size: 35px;
  font-weight: 800;
  color: var(--color-navy);
}

.trust-unit {
  font-size: 19px;
  font-weight: 600;
  color: var(--color-red);
}

.trust-label {
  display: block;
  font-size: 14px;
  color: var(--color-text-muted);
  margin-top: 4px;
}

.logo-carousel {
  display: flex;
  align-items: center;
  gap: 16px;
}

.carousel-btn {
  width: 36px;
  height: 36px;
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  color: var(--color-text-light);
  font-size: 22px;
  cursor: pointer;
  border-radius: 50%;
  flex-shrink: 0;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.carousel-btn:hover {
  border-color: var(--color-navy);
  color: var(--color-navy);
}

.logo-track-wrapper {
  flex: 1;
  overflow: hidden;
}

.logo-track {
  display: flex;
  gap: 32px;
  transition: transform 0.5s ease;
}

.logo-item {
  flex: 0 0 140px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  background: var(--color-bg-gray);
  white-space: nowrap;
}

/* 资讯动态 */
.news-hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #1a2a44;
}

.news-hero-bg {
  position: absolute;
  inset: 0;
  background: url('/images/news-hero.png') center / cover no-repeat;
}

.news-hero-inner {
  position: relative;
  z-index: 1;
  width: 80%;
  padding: 100px 0 72px;
}

.news-hero-title {
  font-size: 48px;
  font-weight: 700;
  color: #2E428A;
  line-height: 1.25;
  margin-bottom: 18px;
  letter-spacing: 1px;
  -webkit-text-stroke: 0.6px currentColor;
  paint-order: stroke fill;
}

.news-hero-lead {
  font-size: 18px;
  color: #ffffff;
  line-height: 1.8;
  max-width: 520px;
}

.news {
  background: #fff;
  padding-top: 0;
  padding-bottom: 72px;
}

.news:not(.news--detail) > .container {
  width: 80%;
}

.news--detail {
  background: var(--color-bg);
  padding-top: 120px;
}

.news-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.5;
  color: #8a94a6;
}

.news-breadcrumb a {
  color: #5a6b85;
  text-decoration: none;
  transition: color var(--transition);
}

.news-breadcrumb a:hover {
  color: var(--color-navy);
}

.news-breadcrumb-sep {
  color: #c0c7d4;
  user-select: none;
}

.news-breadcrumb-current {
  color: var(--color-navy);
  font-weight: 500;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -4px 0 24px;
}

.news-detail-tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 500;
  text-decoration: none;
  transition: opacity var(--transition), transform var(--transition);
}

a.news-detail-tag:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.news-tabs {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 40px;
  width: 100%;
  margin: 0 0 32px;
  border-bottom: 1px solid #e5e8ef;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
  touch-action: none;
}

.news-tabs.is-dragging {
  cursor: grabbing;
}

.news-tabs::-webkit-scrollbar {
  display: none;
}

.news-tab {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  padding: 14px 4px 16px;
  font-size: 16px;
  color: #666;
  white-space: nowrap;
  transition: color var(--transition);
}

.news-tab:hover {
  color: var(--color-navy);
}

.news-tab.is-active {
  color: var(--color-navy);
  font-weight: 600;
}

.news-tab.is-active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: #2f6fed;
  border-radius: 2px 2px 0 0;
}

.news-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.news-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
}

.news-page-btn {
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d8e0ee;
  background: #fff;
  color: #5a6b85;
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
  border-radius: 4px;
  transition: color var(--transition), background var(--transition), border-color var(--transition);
}

a.news-page-btn:hover {
  color: #2f6fed;
  border-color: #2f6fed;
}

.news-page-btn.is-active {
  background: #2f6fed;
  border-color: #2f6fed;
  color: #fff;
  cursor: default;
}

.news-page-btn.is-disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.news-page-btn.is-ellipsis {
  border-color: transparent;
  background: transparent;
  cursor: default;
  letter-spacing: 1px;
  pointer-events: none;
}

.news-cards .news-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(15, 35, 70, 0.08);
  transition: transform var(--transition), box-shadow var(--transition);
}

.news-cards .news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(15, 35, 70, 0.12);
}

.news-card-cover {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e8ecf2;
}

.news-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.news-cards .news-card:hover .news-card-cover img {
  transform: scale(1.04);
}

.news-card-cover--empty {
  position: relative;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12) 0%, transparent 42%),
    linear-gradient(160deg, #1a4b8c 0%, #002b5b 58%, #001a38 100%);
  color: #fff;
  text-decoration: none;
}

.news-card-cover--empty::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.55;
  pointer-events: none;
}

.news-card-cover--empty::after {
  content: '';
  position: absolute;
  right: -18%;
  bottom: -42%;
  width: 68%;
  height: 90%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16) 0%, transparent 68%);
  pointer-events: none;
}

.news-card-cover-ph {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 22px 24px;
  gap: 2px;
}

.news-card-cover-ph-mark {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 32px;
  height: 40px;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  border-radius: 3px;
  opacity: 0.85;
}

.news-card-cover-ph-mark::after {
  content: '';
  position: absolute;
  left: 6px;
  right: 6px;
  top: 12px;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.45);
  box-shadow: 0 6px 0 rgba(255, 255, 255, 0.35), 0 12px 0 rgba(255, 255, 255, 0.28);
}

.news-card-cover-ph-day {
  font-size: 52px;
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.news-card-cover-ph-ym {
  font-size: 13px;
  letter-spacing: 0.08em;
  opacity: 0.78;
}

.news-cards .news-card--no-cover:hover .news-card-cover--empty {
  filter: brightness(1.06);
}

.news-cards .news-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 22px 20px;
}

.news-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.news-cards .news-card-tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  margin-bottom: 0;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 500;
  text-decoration: none;
  transition: opacity var(--transition), transform var(--transition);
}

a.news-card-tag:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.news-tag-header {
  margin: 0 0 28px;
}

.news-tag-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 14px;
  margin-top: 8px;
}

.news-tag-heading-label {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 4px;
  background: #eef3fb;
  color: #5a6b85;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.news-tag-heading-title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}

.news-tag-heading-count {
  margin: 0;
  font-size: 14px;
  color: #8a94a6;
}

.news-cards .news-card h3,
.news-cards .news-card-title {
  font-size: 22px;
  font-weight: 800;
  color: #111827;
  line-height: 1.45;
  margin-bottom: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-cards .news-card-title a {
  display: block;
  color: inherit;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-cards .news-card-title a:hover {
  color: var(--color-navy);
}

.news-cards .news-card-summary {
  font-size: 14px;
  color: #4B5563;
  line-height: 1.7;
  margin-bottom: 20px;
  flex: 1;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
}

.news-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.news-card-footer time {
  font-size: 13px;
  color: #6B7280;
  white-space: nowrap;
}

.news-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  height: 36px;
  padding: 0 16px;
  border-radius: 4px;
  background: #1E40AF;
  color: #fff !important;
  font-size: 14px;
  line-height: 1;
  transition: background var(--transition), opacity var(--transition);
}

.news-card-btn:hover {
  background: #1a3796;
}

/* 其它页面复用的简易资讯/案例卡片 */
.news-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow var(--transition);
}

.news-card:hover { box-shadow: var(--shadow); }

.news-card-body {
  padding: 24px;
}

.news-card-tag {
  font-size: 12px;
  color: var(--color-red);
  margin-bottom: 8px;
}

.news-card h3 {
  font-size: 15px;
  color: var(--color-navy);
  margin-bottom: 8px;
  line-height: 1.5;
}

.news-card time {
  font-size: 12px;
  color: var(--color-text-muted);
}

/* 兼容其它页复用的资讯样式片段 */
.news-link {
  font-size: 14px;
  color: var(--color-red);
  margin-top: 12px;
}

.news-link:hover { text-decoration: underline; }

.news-date {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-top: 8px;
}

/* 页面状态与详情 */
.page-loading,
.page-empty {
  text-align: center;
  padding: 64px 20px;
  color: var(--color-text-muted);
  font-size: 15px;
}

.cases-loading {
  background: var(--color-bg);
}

.page-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.page-back,
.page-filter-label {
  font-size: 14px;
  color: var(--color-navy);
}

.page-back:hover { color: var(--color-red); }

.detail-panel { margin-top: 8px; }

.detail-article {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 40px 48px;
}

.detail-title {
  font-size: 28px;
  color: var(--color-navy);
  margin: 12px 0 16px;
  line-height: 1.4;
}

.detail-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.detail-meta time,
.detail-meta .detail-meta-cat {
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
  font-family: inherit;
}

.detail-lead {
  font-size: 16px;
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 24px;
}

.detail-section { margin-top: 36px; }

.detail-section > h3 {
  font-size: 20px;
  color: var(--color-navy);
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-red);
  display: inline-block;
}

.detail-essence {
  margin-top: 16px;
  padding: 14px 18px;
  background: #f7f9fc;
  border-left: 3px solid var(--color-navy);
  color: var(--color-text);
}

.detail-blocks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.detail-block {
  padding: 18px 20px;
  background: var(--color-bg-gray);
  border-radius: 4px;
}

.detail-block h4 {
  font-size: 16px;
  color: var(--color-navy);
  margin-bottom: 8px;
}

.detail-block ul { padding-left: 18px; list-style: disc; }
.detail-block li,
.detail-block p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.7;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.result-card {
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 20px;
  background: #fff;
}

.result-card h4 { color: var(--color-navy); margin-bottom: 6px; }
.result-sub { color: var(--color-text-muted); font-size: 13px; margin-bottom: 14px; }

.result-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.result-compare span {
  display: block;
  font-size: 12px;
  color: var(--color-red);
  margin-bottom: 4px;
}

.result-compare p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.6;
}

.detail-related {
  margin-top: 28px;
  font-size: 14px;
  color: var(--color-text-light);
}

.detail-related a { color: var(--color-red); }

.service-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 20px 0;
  list-style: none;
  padding: 0;
}

.service-steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 160px;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 4px;
}

.step-index {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-navy);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

.solution-card { display: block; color: inherit; }
.solution-bg[style*="background-image"] { background-size: cover; background-position: center; }
.case-card { display: block; color: inherit; }
.case-slide-bg[style*="background-image"] { background-size: cover; background-position: center; }
.news-featured-img { display: block; }
.news-card { display: block; color: inherit; }

.news-detail-cover {
  margin: 20px 0 28px;
  border-radius: 4px;
  overflow: hidden;
}

.news-detail-cover img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

.case-quote {
  margin: 12px 0;
  padding: 16px 20px;
  background: #f7f9fc;
  border-left: 3px solid var(--color-red);
}

.case-quote footer {
  margin-top: 8px;
  font-size: 13px;
  color: var(--color-text-muted);
}

/* 关于我们 */
.about-hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #1a2a44;
}

.about-hero-bg {
  position: absolute;
  inset: 0;
  background: url('/images/about-hero.png') center / cover no-repeat;
}

.about-hero-inner {
  position: relative;
  z-index: 1;
  width: 80%;
  padding: 100px 0 72px;
}

.about-hero-title {
  font-size: 48px;
  font-weight: 700;
  color: #2E428A;
  line-height: 1.25;
  margin-bottom: 18px;
  letter-spacing: 1px;
  -webkit-text-stroke: 0.6px currentColor;
  paint-order: stroke fill;
}

.about-hero-lead {
  font-size: 18px;
  color: #ffffff;
  line-height: 1.8;
  max-width: 520px;
}

.about-page {
  background: #fff;
  padding: 0;
  overflow-x: clip;
}

.about-page > .container {
  width: 80%;
}

.about-tabs {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 40px;
  width: 100%;
  margin: 0;
  border-bottom: 1px solid #e5e8ef;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
  touch-action: none;
}

.about-tabs.is-dragging {
  cursor: grabbing;
}

.about-tabs::-webkit-scrollbar {
  display: none;
}

.about-tab {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  padding: 14px 4px 16px;
  font-size: 16px;
  color: #666;
  white-space: nowrap;
  transition: color var(--transition);
}

.about-tab:hover {
  color: var(--color-navy);
}

.about-tab.is-active {
  color: var(--color-navy);
  font-weight: 600;
}

.about-tab.is-active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: #2f6fed;
  border-radius: 2px 2px 0 0;
}

.about-panel[hidden] {
  display: none !important;
}

.about-panel.is-active {
  display: block;
}

.about-panel[data-about-panel="honors"].is-active {
  margin-top: 20px;
}

.about-panel .section-title {
  margin-bottom: 28px;
}

.about-intro {
  display: block;
  /* 通栏对齐 #scale-inner 设计宽，勿用 100vw（缩放后会偏短） */
  width: var(--design-width);
  max-width: none;
  margin-left: calc((100% - var(--design-width)) / 2);
  margin-right: calc((100% - var(--design-width)) / 2);
  text-align: left;
}

.about-intro.about-intro-plain {
  max-width: none;
}

.about-intro-stage {
  position: relative;
  overflow: hidden;
}

.about-intro-rail {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 33.333%;
  z-index: 0;
  background-color: #154F8B;
  background-image:
    linear-gradient(180deg, rgba(21, 79, 139, 0.96), rgba(10, 66, 126, 0.94)),
    var(--about-rail-bg);
  background-size: cover;
  background-position: center left;
}

.about-intro-hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.18fr);
  gap: 56px;
  align-items: start;
  padding: 28px 0 8px;
  min-height: 320px;
}

.about-intro-photos {
  position: relative;
  display: block;
  padding: 8px 0 0 28%;
  height: 320px;
}

.about-intro-photo {
  overflow: hidden;
  background: #d7e3f0;
  height: 100%;
  width: 100%;
}

.about-intro-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-intro-photo--a {
  height: 100%;
}

.about-intro-copy {
  padding: 4px 0 12px;
}

.about-intro-title {
  margin: 0 0 14px;
  font-size: 28px;
  line-height: 1.25;
  font-weight: 700;
  color: #3a3a3a;
}

.about-intro-body {
  font-size: 15px;
  line-height: 1.9;
  color: #b0b0b0;
  max-width: 520px;
}

.about-intro-body p {
  margin: 0 0 10px;
  color: #b0b0b0;
}

.about-intro-body p:last-child {
  margin-bottom: 0;
}

.about-intro-tag {
  display: inline-block;
  margin: 20px 0 16px;
  padding: 6px 16px;
  border-radius: 999px;
  background: #F5ECF1;
  color: #EA1126;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.about-intro-reasons {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  max-width: 560px;
}

.about-intro-reason {
  font-size: 13px;
  line-height: 1.7;
  color: #a3a3a3;
}

.about-intro-reason strong {
  color: #4a4a4a;
  font-weight: 700;
}

.about-intro-stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(var(--about-stat-cols, 6), minmax(0, 1fr));
  align-items: stretch;
  min-height: 104px;
}

.about-intro-stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 20px 10px;
  text-align: center;
  color: #4a4a4a;
}

.about-intro-stat.is-on-blue {
  color: #fff;
}

.about-intro-stat.is-on-blue .about-intro-stat-label {
  color: rgba(255, 255, 255, 0.82);
}

.about-intro-stat-value {
  font-size: 28px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.about-intro-stat-label {
  font-size: 12px;
  line-height: 1.4;
  color: #8a8a8a;
}

.about-intro-diagnosis {
  position: relative;
  margin-top: 0;
  padding: 48px 40px 52px;
  text-align: center;
  overflow: hidden;
  background-color: #E2EDFE;
  background-image: url('/images/about-intro-diagnosis-bg.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.about-intro-diagnosis-title {
  position: relative;
  z-index: 1;
  margin: 0 0 28px;
  font-size: 24px;
  line-height: 1.35;
  font-weight: 700;
  color: #3a3a3a;
}

.about-intro-diagnosis-body {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  text-align: left;
}

.about-intro-qr {
  flex: 0 0 auto;
  width: 120px;
  height: 120px;
  padding: 6px;
  background: #fff;
}

.about-intro-qr img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.about-intro-diag-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.about-intro-diag-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: #7a8799;
}

.about-intro-diag-dot {
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  margin-top: 8px;
  border-radius: 50%;
  background: #5a6575;
}

@media (max-width: 960px) {
  .about-intro-rail {
    width: 100%;
    height: 200px;
    bottom: auto;
  }

  .about-intro-hero {
    grid-template-columns: 1fr;
    gap: 24px;
    min-height: 0;
    padding-top: 28px;
  }

  .about-intro-photos {
    height: 240px;
    padding-left: 12%;
    padding-right: 12%;
  }

  .about-intro-copy {
    padding: 0;
  }

  .about-intro-title {
    font-size: 24px;
  }

  .about-intro-body {
    max-width: none;
  }

  .about-intro-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    background: #fff;
  }

  .about-intro-stat.is-on-blue {
    color: #4a4a4a;
  }

  .about-intro-stat.is-on-blue .about-intro-stat-label {
    color: #8a8a8a;
  }

  .about-intro-diagnosis {
    padding: 36px 20px 40px;
  }

  .about-intro-diagnosis-body {
    flex-direction: column;
    gap: 18px;
  }
}

@media (max-width: 640px) {
  .about-intro-photos {
    height: 200px;
    padding-left: 8%;
    padding-right: 8%;
  }

  .about-intro-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-intro-stat-value {
    font-size: 22px;
  }

  .about-intro-diagnosis-title {
    font-size: 18px;
  }

  .about-intro-qr {
    width: 110px;
    height: 110px;
  }
}

.why-summary {
  font-size: 14px;
  color: var(--color-text-light);
  margin-bottom: 12px;
  line-height: 1.7;
}

.honors-layout {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  min-height: 360px;
  background: #fff;
}

.honors-sidebar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 4px 16px 4px 0;
  border-right: 1px solid #e8eaef;
}

.honors-cat {
  position: relative;
  display: block;
  width: 100%;
  padding: 14px 16px;
  border: 0;
  border-radius: 4px;
  background: #f4f5f7;
  color: #333;
  font-size: 15px;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.honors-cat:hover {
  color: #2E428A;
}

.honors-cat.is-active {
  background: #2E428A;
  color: #fff;
  font-weight: 600;
}

.honors-cat.is-active::after {
  content: '';
  position: absolute;
  top: 0;
  right: -17px;
  width: 4px;
  height: 100%;
  background: #2E428A;
}

.honors-main {
  min-width: 0;
  padding: 0 0 0 24px;
}

.honors-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  background: #fff;
}

.honors-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  padding: 20px 16px;
  background: #fff;
  box-sizing: border-box;
  border-right: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.honors-item:nth-child(4n) {
  border-right: 0;
}

/* 末行下方无相邻图片：去掉底部分隔线 */
.honors-item:nth-child(4n + 1):nth-last-child(-n + 4),
.honors-item:nth-child(4n + 2):nth-last-child(-n + 3),
.honors-item:nth-child(4n + 3):nth-last-child(-n + 2),
.honors-item:nth-child(4n):nth-last-child(-n + 1) {
  border-bottom: 0;
}

.honors-item img {
  display: block;
  max-width: 100%;
  max-height: 160px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.honors-item--empty {
  color: #999;
  font-size: 13px;
  text-align: center;
}

.honors-gallery-empty {
  padding: 48px 20px;
  color: #999;
  font-size: 14px;
  text-align: center;
}

@media (max-width: 960px) {
  .honors-layout {
    grid-template-columns: 150px minmax(0, 1fr);
  }

  .honors-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .honors-item:nth-child(4n) {
    border-right: 1px solid #e5e7eb;
  }

  .honors-item:nth-child(2n) {
    border-right: 0;
  }

  .honors-item:nth-child(4n + 1):nth-last-child(-n + 4),
  .honors-item:nth-child(4n + 2):nth-last-child(-n + 3),
  .honors-item:nth-child(4n + 3):nth-last-child(-n + 2),
  .honors-item:nth-child(4n):nth-last-child(-n + 1) {
    border-bottom: 1px solid #e5e7eb;
  }

  .honors-item:nth-child(2n + 1):nth-last-child(-n + 2),
  .honors-item:nth-child(2n):nth-last-child(-n + 1) {
    border-bottom: 0;
  }
}

@media (max-width: 640px) {
  .honors-layout {
    grid-template-columns: 1fr;
  }

  .honors-sidebar {
    flex-direction: row;
    flex-wrap: wrap;
    padding: 0 0 16px;
    border-right: 0;
    border-bottom: 1px solid #e8eaef;
  }

  .honors-cat {
    width: auto;
    flex: 1 1 calc(50% - 8px);
  }

  .honors-cat.is-active::after {
    display: none;
  }

  .honors-main {
    padding: 16px 0 0;
  }

  .honors-gallery {
    grid-template-columns: 1fr;
  }

  .honors-item,
  .honors-item:nth-child(2n),
  .honors-item:nth-child(4n) {
    border-right: 0;
  }

  .honors-item:nth-child(2n + 1):nth-last-child(-n + 2),
  .honors-item:nth-child(2n):nth-last-child(-n + 1) {
    border-bottom: 1px solid #e5e7eb;
  }

  .honors-item:last-child {
    border-bottom: 0;
  }
}

.honor-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow var(--transition);
}

.honor-card:hover { box-shadow: var(--shadow); }

.branches-list {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.branch-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  align-items: center;
  padding: 36px 0;
  border-bottom: 1px solid #eeeeee;
}

.branch-cell {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
}

.branch-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 1px;
  color: #c8c8c8;
}

.branch-cell-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.branch-line {
  margin: 0;
  min-height: 1.55em;
  font-size: 14px;
  line-height: 1.55;
  color: #4a4a4a;
  word-break: break-word;
}

.branch-cell-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.branch-cell-link {
  display: inline-block;
  padding: 0;
  border: 0;
  background: none;
  min-height: 1.55em;
  font-size: 14px;
  line-height: 1.55;
  color: #4a4a4a;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

.branch-cell-link:hover {
  color: #222;
}

.branch-cell-link.is-disabled {
  cursor: default;
  opacity: 0.45;
  pointer-events: none;
}

.branch-qr-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
}

.branch-qr-modal.is-open,
.branch-qr-modal:not([hidden]) {
  display: flex;
}

.branch-qr-modal[hidden] {
  display: none !important;
}

.branch-qr-modal.is-open[hidden] {
  display: flex !important;
}

.branch-qr-modal-mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.branch-qr-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(360px, calc(100vw - 48px));
  padding: 28px 24px 24px;
  background: #fff;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.branch-qr-modal-close {
  position: absolute;
  top: 8px;
  right: 12px;
  border: 0;
  background: none;
  font-size: 24px;
  line-height: 1;
  color: #999;
  cursor: pointer;
}

.branch-qr-modal-title {
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.branch-qr-modal-img {
  display: block;
  width: 200px;
  height: 200px;
  margin: 0 auto;
  object-fit: contain;
}

@media (max-width: 960px) {
  .branch-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 28px;
    padding: 28px 0;
  }
}

@media (max-width: 640px) {
  .branch-row {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px 0;
  }
}

.honor-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow var(--transition);
}

.honor-card:hover { box-shadow: var(--shadow); }

.honor-card-img {
  height: 180px;
  background: linear-gradient(135deg, #1a3a5c, #2d5f8f);
}

.honor-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.honor-card-body { padding: 20px 22px; }

.honor-tag {
  display: inline-block;
  font-size: 12px;
  color: var(--color-red);
  margin-bottom: 8px;
}

.honor-card h3 {
  font-size: 16px;
  color: var(--color-navy);
  margin-bottom: 8px;
}

.honor-card p {
  font-size: 13px;
  color: var(--color-text-light);
  line-height: 1.7;
}

.honor-meta {
  color: var(--color-text-muted) !important;
  margin-top: 8px;
}

.footer-qrcode img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.nav-dropdown-loading,
.nav-dropdown-empty {
  padding: 10px 20px;
  font-size: 13px;
  color: var(--color-text-muted);
}
