/* ==========================================================================
   全站附加样式（详情页 / 二级页组件 · 国风朱红 + 手表复古底色）
   ========================================================================== */

/* ---------- 国风朱印按钮 ---------- */
.btn-red {
  background: linear-gradient(135deg, var(--rouge) 0%, var(--vermilion-deep) 100%);
  color: #fff;
  box-shadow: 0 6px 18px rgba(184, 58, 62, 0.28);
}
.btn-red:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(184, 58, 62, 0.38);
  color: #fff;
}

/* ---------- 背景米 / 纸色 ---------- */
.bg-paper {
  background: var(--paper);
}
.bg-gray-mist {
  background: var(--gray-mist);
}

/* ---------- Hero 朱印章装饰 ---------- */
.hero-seal {
  position: absolute;
  top: 16%;
  right: 7%;
  z-index: 3;
  width: 92px;
  height: 92px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--vermilion) 0%, var(--vermilion-deep) 100%);
  color: var(--rice);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 4px;
  writing-mode: vertical-rl;
  box-shadow: 0 14px 30px rgba(184, 58, 62, 0.4);
  transform: rotate(-4deg);
  opacity: 0.92;
}
.hero-seal::before,
.hero-seal::after {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1.4px solid rgba(245, 240, 232, 0.7);
  border-radius: 6px;
  pointer-events: none;
}

/* ==========================================================================
   服务/方案详情页 通用组件
   ========================================================================== */

/* 详情页大图横幅 */
.detail-banner {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 50px;
  box-shadow: var(--shadow-md);
}

.detail-banner img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.detail-banner .banner-cap {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  padding: 30px 36px;
  background: linear-gradient(0deg, rgba(26, 20, 16, 0.88) 0%, transparent 100%);
  color: #fff;
}

.detail-banner .banner-cap h2 {
  color: var(--brass-soft);
  font-size: 30px;
  margin-bottom: 8px;
}

.detail-banner .banner-cap p {
  color: rgba(245, 240, 232, 0.7);
  font-size: 15px;
}

/* 图文左右块 */
.split-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 60px;
}

.split-block.reverse .split-img {
  order: 2;
}

.split-img {
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.split-img img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.split-text h3 {
  font-size: 26px;
  margin-bottom: 16px;
  color: var(--ink);
}

.split-text p {
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.9;
}

.split-text ul.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  font-size: 14.5px;
  color: var(--body);
}

.split-text ul.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(184, 134, 11, 0.12);
  border: 1px solid var(--brass);
}

.split-text ul.check-list li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 11px;
  width: 8px;
  height: 4px;
  border-left: 2px solid var(--caramel-deep);
  border-bottom: 2px solid var(--caramel-deep);
  transform: rotate(-45deg);
}

/* 特性卡组（详情页用，区别于首页 adv-card） */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.spec-card {
  padding: 32px 26px;
  background: var(--white);
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  text-align: center;
  transition: all 0.4s ease;
}

.spec-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  background: linear-gradient(180deg, var(--white) 0%, var(--rice) 100%);
  border-color: var(--brass-soft);
}

.spec-card .spec-ico {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(184, 134, 11, 0.1) 0%, rgba(139, 94, 60, 0.06) 100%);
  border: 1px solid rgba(184, 134, 11, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.spec-card h4 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--ink);
}

.spec-card p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.8;
}

/* 数据条 */
.metric-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.metric-row .metric {
  padding: 28px 16px;
  background: var(--white);
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  transition: all 0.3s ease;
}

.metric-row .metric:hover {
  border-color: var(--brass-soft);
  box-shadow: var(--shadow-sm);
}

.metric-row .metric strong {
  display: block;
  font-size: 34px;
  color: var(--caramel-deep);
  font-family: var(--font-en);
  line-height: 1;
  margin-bottom: 8px;
}

.metric-row .metric span {
  font-size: 13.5px;
  color: var(--muted);
}

/* ==========================================================================
   服务总览（services.html 专属编号大卡）
   ========================================================================== */
.svc-overview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.svc-tile {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 36px 28px 30px;
  transition: all 0.4s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.svc-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--caramel) 0%, var(--caramel-deep) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.svc-tile > * {
  position: relative;
  z-index: 1;
}

.svc-tile:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.svc-tile:hover::before {
  opacity: 1;
}

.svc-tile .tile-no {
  font-size: 46px;
  font-family: var(--font-en);
  font-weight: 700;
  color: var(--rice-3);
  line-height: 1;
  margin-bottom: 14px;
  transition: color 0.4s ease;
}

.svc-tile:hover .tile-no {
  color: rgba(232, 212, 154, 0.4);
}

.svc-tile .tile-ico {
  width: 64px;
  height: 64px;
  border-radius: var(--r-sm);
  background: rgba(184, 134, 11, 0.1);
  border: 1px solid rgba(184, 134, 11, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: all 0.4s ease;
}

.svc-tile:hover .tile-ico {
  background: rgba(232, 212, 154, 0.15);
  border-color: rgba(232, 212, 154, 0.2);
}

.svc-tile:hover .tile-ico svg {
  stroke: var(--brass-soft);
}

.svc-tile h3 {
  font-size: 19px;
  margin-bottom: 12px;
  transition: color 0.4s ease;
  color: var(--ink);
}

.svc-tile:hover h3 {
  color: var(--brass-soft);
}

.svc-tile p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 20px;
  flex: 1;
  transition: color 0.4s ease;
}

.svc-tile:hover p {
  color: rgba(245, 240, 232, 0.8);
}

.svc-tile .tile-more {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--caramel-deep);
  transition: all 0.4s ease;
}

.svc-tile:hover .tile-more {
  color: var(--brass-soft);
}

/* ==========================================================================
   案例列表页 筛选
   ========================================================================== */
.case-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 44px;
}

.case-filter button {
  padding: 9px 22px;
  border-radius: var(--r-pill);
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--body);
  font-size: 13.5px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.case-filter button:hover,
.case-filter button.active {
  background: linear-gradient(135deg, var(--caramel), var(--caramel-deep));
  color: #fff;
  border-color: transparent;
}

/* ==========================================================================
   新闻列表页
   ========================================================================== */
.news-page-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 50px;
  align-items: start;
}

.news-page-main .news-item {
  margin-bottom: 22px;
}

.news-side .side-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 26px 24px;
  margin-bottom: 26px;
}

.news-side .side-card h4 {
  font-size: 17px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(184, 134, 11, 0.15);
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}

.news-side .side-card h4::before {
  content: "";
  width: 5px;
  height: 18px;
  background: linear-gradient(180deg, var(--brass), var(--caramel));
  border-radius: 3px;
}

/* 侧边迷你新闻卡 */
.news-mini {
  margin-bottom: 14px;
}

.news-mini:last-child {
  margin-bottom: 0;
}

.mini-item {
  display: flex;
  gap: 12px;
  padding: 8px 0;
  transition: all 0.25s ease;
}

.mini-item:hover {
  transform: translateX(4px);
}

.m-thumb {
  flex-shrink: 0;
  width: 84px;
  height: 64px;
  border-radius: var(--r-sm);
  overflow: hidden;
}

.m-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.m-body {
  flex: 1;
  min-width: 0;
}

.m-body h5 {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.25s ease;
}

.mini-item:hover .m-body h5 {
  color: var(--caramel);
}

.m-date {
  font-size: 11.5px;
  color: var(--muted);
  font-family: var(--font-en);
}

/* ==========================================================================
   详情页（show.html）文章排版
   ========================================================================== */
.article-wrap {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 50px 56px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.article-head {
  border-bottom: 1px solid var(--line);
  padding-bottom: 26px;
  margin-bottom: 32px;
}

.article-head h1 {
  font-size: 30px;
  line-height: 1.4;
  margin-bottom: 16px;
  color: var(--ink);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 13px;
  color: var(--muted);
}

.article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.article-content {
  font-size: 16px;
  line-height: 2;
  color: var(--body);
}

.article-content p {
  margin-bottom: 22px;
}

.article-content h2 {
  font-size: 22px;
  margin: 36px 0 16px;
  padding-left: 14px;
  border-left: 4px solid var(--brass);
  color: var(--ink);
}

.article-content h3 {
  font-size: 18px;
  margin: 28px 0 12px;
  color: var(--ink);
}

.article-content img {
  border-radius: var(--r-md);
  margin: 24px 0;
  box-shadow: var(--shadow-sm);
  max-width: 100%;
  height: auto;
}

.article-content ul,
.article-content ol {
  margin: 0 0 22px 22px;
}

.article-content ul li,
.article-content ol li {
  margin-bottom: 8px;
  list-style: disc;
}

.article-content ol li {
  list-style: decimal;
}

.article-foot {
  margin-top: 36px;
  padding-top: 26px;
  border-top: 1px dashed var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.article-tags a {
  display: inline-block;
  padding: 5px 14px;
  background: var(--rice-2);
  border-radius: var(--r-pill);
  font-size: 12.5px;
  color: var(--caramel);
  margin-right: 8px;
  transition: all 0.25s ease;
}

.article-tags a:hover {
  background: var(--caramel);
  color: #fff;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  margin-bottom: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.open {
  box-shadow: var(--shadow-md);
  border-color: var(--brass);
}

.faq-q {
  width: 100%;
  text-align: left;
  padding: 22px 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.faq-q .faq-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(184, 134, 11, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--caramel-deep);
  transition: transform 0.3s ease;
  font-size: 18px;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: linear-gradient(135deg, var(--caramel), var(--caramel-deep));
  color: #fff;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-item.open .faq-a {
  max-height: 400px;
}

.faq-a-inner {
  padding: 0 26px 24px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.9;
}

/* ==========================================================================
   价格表
   ========================================================================== */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: stretch;
}

.price-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 40px 32px;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
}

.price-card.featured {
  border-color: var(--brass);
  box-shadow: var(--shadow-md);
  transform: translateY(-8px);
}

.price-card .price-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 18px;
  background: linear-gradient(135deg, var(--brass-light), var(--brass));
  color: var(--caramel-ink);
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 700;
}

.price-card h3 {
  font-size: 22px;
  margin-bottom: 8px;
  color: var(--ink);
}

.price-card .price-desc {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 22px;
}

.price-card .price-num {
  font-size: 42px;
  color: var(--caramel-deep);
  font-family: var(--font-en);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 6px;
}

.price-card .price-unit {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 26px;
}

.price-card ul {
  text-align: left;
  margin-bottom: 28px;
}

.price-card ul li {
  padding: 9px 0;
  font-size: 14px;
  color: var(--body);
  border-bottom: 1px dashed var(--line);
  display: flex;
  align-items: center;
  gap: 8px;
}

.price-card ul li::before {
  content: "✓";
  color: var(--brass);
  font-weight: 700;
}

.price-card ul li:last-child {
  border-bottom: none;
}

/* ==========================================================================
   关于我们 / 团队
   ========================================================================== */
.about-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 60px;
}

.about-hero img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
}

.about-text h2 {
  font-size: 30px;
  margin-bottom: 18px;
  color: var(--ink);
}

.about-text p {
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.9;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.team-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  text-align: center;
  transition: all 0.4s ease;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--brass-soft);
}

.team-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.team-info {
  padding: 20px;
}

.team-info h4 {
  font-size: 17px;
  margin-bottom: 4px;
  color: var(--ink);
}

.team-info .role {
  font-size: 12.5px;
  color: var(--brass);
  margin-bottom: 10px;
}

.team-info p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

/* ==========================================================================
   联系我们
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info h3 {
  font-size: 24px;
  margin-bottom: 20px;
  color: var(--ink);
}

.contact-info .info-item {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px dashed var(--line);
}

.contact-info .info-ico {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(184, 134, 11, 0.1);
  border: 1px solid rgba(184, 134, 11, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info .info-body h4 {
  font-size: 15px;
  margin-bottom: 4px;
  color: var(--ink);
}

.contact-info .info-body p {
  font-size: 14px;
  color: var(--muted);
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 8px;
  font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-size: 14px;
  font-family: inherit;
  background: var(--rice);
  color: var(--body);
  transition: all 0.25s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--brass);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.1);
}

.form-tip {
  margin-top: 14px;
  font-size: 13.5px;
  min-height: 20px;
}

/* ==========================================================================
   通用响应式补充
   ========================================================================== */
@media (max-width: 1100px) {
  .svc-overview { grid-template-columns: repeat(2, 1fr); }
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .metric-row { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .news-page-grid { grid-template-columns: 1fr; }
  .about-hero { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .split-block { grid-template-columns: 1fr; gap: 30px; }
  .split-block.reverse .split-img { order: 0; }
  .article-wrap { padding: 36px 28px; }
  .article-head h1 { font-size: 24px; }
}

@media (max-width: 600px) {
  .svc-overview { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: 1fr; }
  .metric-row { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .article-wrap { padding: 24px 18px; }
  .contact-form { padding: 24px; }
}
