/* ============================================================
   hhlsq.com — sanmenxia.css 三门峡网站建设页专属样式
   布局指纹：H9 对角切割 Hero（左上藏蓝三角+右下浅灰，金色分割线）
   区块序列：B1 数据带｜B2 错位卡片墙｜B4 图文交替｜B11 表格对比｜B14 表单｜B15 CTA
   签名元素：S3 虚线圆环组
   ============================================================ */

/* ---------- 1. Hero 对角切割 ---------- */
.smx-hero{
  position:relative; background:var(--gray-100); overflow:hidden;
  padding:clamp(60px,7vw,100px) 0 clamp(70px,8vw,110px);
  min-height:88vh; display:flex; align-items:center;
}
.smx-hero__diag{
  position:absolute; inset:0;
  background:linear-gradient(150deg,var(--navy-900) 0%,var(--navy-800) 58%,transparent 58.5%);
  clip-path:polygon(0 0,100% 0,0 100%);
}
.smx-hero__diag::after{
  content:""; position:absolute; left:8%; bottom:16%; width:34%; height:2px;
  background:var(--gold); transform:rotate(-26deg); transform-origin:left center; opacity:.8;
}
.smx-hero__inner{
  position:relative; z-index:1; display:grid; grid-template-columns:1.1fr 1fr;
  gap:56px; align-items:center;
}
.smx-hero__copy{ max-width:560px; }
.smx-hero__eyebrow{ color:var(--gold); }
.smx-hero__title{
  font-size:clamp(28px,4vw,46px); color:#fff; line-height:1.28; margin-bottom:18px;
}
.smx-hero__title em{ font-style:normal; color:var(--gold); }
.smx-hero__lead{ color:rgba(232,238,245,.82); font-size:16px; margin-bottom:28px; }
.smx-hero__actions{ display:flex; gap:14px; flex-wrap:wrap; }
.smx-hero__ghost{ border-color:rgba(255,255,255,.5); color:#fff; }
.smx-hero__ghost:hover{ background:#fff; color:var(--navy-700); }

.smx-hero__media{ position:relative; }
.smx-hero__img{
  width:100%; aspect-ratio:16/10; object-fit:cover; border-radius:var(--radius-lg);
  box-shadow:var(--shadow-lg); transform:rotate(2deg);
}
.smx-hero__badge{
  position:absolute; left:-26px; bottom:-22px; background:#fff; color:var(--navy-800);
  font-size:12.5px; line-height:1.6; letter-spacing:.06em; padding:12px 18px;
  border-radius:var(--radius-md); box-shadow:var(--shadow-md); transform:rotate(-3deg);
  border-left:3px solid var(--gold);
}

/* S3 虚线圆环组（签名） */
.smx-rings{ position:absolute; right:6%; bottom:8%; width:220px; height:220px; z-index:0; }
.smx-rings__ring{
  position:absolute; border:1.5px dashed rgba(176,141,74,.55); border-radius:50%;
}
.smx-rings__ring--1{ inset:0; animation:smxSpin 40s linear infinite; }
.smx-rings__ring--2{ inset:34px; border-color:rgba(51,96,143,.35); }
.smx-rings__ring--3{ inset:72px; border-color:rgba(176,141,74,.7); }
@keyframes smxSpin{ to{ transform:rotate(360deg); } }

/* ---------- 2. B1 数据统计带 ---------- */
.smx-stats{ background:linear-gradient(135deg,var(--navy-900),var(--navy-700)); padding:clamp(48px,6vw,72px) 0; }
.smx-stats__grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; text-align:center; }
.smx-stat .stat-num{ color:#fff; }
.smx-stat .stat-note{ color:rgba(232,238,245,.66); }

/* ---------- 3. B2 错位卡片墙 ---------- */
.smx-card__grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }
.smx-card__item{
  background:#fff; border:1px solid var(--gray-200); border-radius:var(--radius-lg);
  box-shadow:var(--shadow-sm); padding:28px 24px; transition:all .3s ease;
}
.smx-card__item:nth-child(odd){ transform:translateY(16px); }
.smx-card__item:hover{ transform:translateY(-6px); box-shadow:var(--shadow-md); }
.smx-card__item:nth-child(odd):hover{ transform:translateY(10px); }
.smx-card__item svg{ width:30px; height:30px; color:var(--navy-600); stroke-width:1.4; margin-bottom:14px; }
.smx-card__item:hover svg{ color:var(--gold); }
.smx-card__item h3{ font-size:16.5px; margin-bottom:10px; }
.smx-card__item p{ font-size:13.5px; color:var(--gray-600); margin:0; line-height:1.75; }

/* ---------- 4. B4 图文交替流 ---------- */
.smx-work__flow{ display:flex; flex-direction:column; gap:clamp(40px,5vw,64px); margin-bottom:56px; }
.smx-pair{ display:grid; grid-template-columns:1fr 1fr; gap:44px; align-items:center; }
.smx-pair--reverse .smx-pair__media{ order:2; }
.smx-pair__media img{ width:100%; aspect-ratio:16/9; object-fit:cover; border-radius:var(--radius-lg); box-shadow:var(--shadow-md); }
.smx-pair__num{
  font-size:46px; font-weight:700; color:transparent;
  -webkit-text-stroke:1.5px var(--gold); line-height:1; display:block; margin-bottom:10px;
}
.smx-pair__body h3{ font-size:22px; margin-bottom:12px; }
.smx-pair__body p{ color:var(--gray-600); font-size:15px; margin:0 0 14px; }
.smx-pair__list li{ position:relative; padding:6px 0 6px 22px; font-size:14px; color:var(--gray-700); }
.smx-pair__list li::before{ content:"✓"; position:absolute; left:0; color:var(--gold); font-weight:700; }

/* 相关页面 */
.smx-related{
  display:flex; align-items:center; gap:18px; flex-wrap:wrap;
  background:var(--gray-100); border:1px dashed var(--gray-300); border-radius:var(--radius-lg);
  padding:20px 26px;
}
.smx-related__label{ font-size:13px; letter-spacing:.18em; color:var(--gold); font-weight:600; }
.smx-related__links{ display:flex; gap:10px; flex-wrap:wrap; }

/* ---------- 5. B11 表格对比 ---------- */
.smx-table__wrap{ overflow-x:auto; border-radius:var(--radius-lg); box-shadow:var(--shadow-sm); background:#fff; }
.smx-table__inner{ width:100%; border-collapse:collapse; min-width:720px; font-size:14.5px; }
.smx-table__inner th{
  background:var(--navy-800); color:#fff; text-align:left;
  padding:16px 20px; font-weight:600; font-size:14px;
}
.smx-table__inner th:last-child{ background:var(--gold); color:#fff; }
.smx-table__inner td{ padding:15px 20px; border-bottom:1px solid var(--gray-200); color:var(--gray-700); }
.smx-table__inner tbody tr:nth-child(odd){ background:var(--gray-50); }
.smx-table__inner tbody tr:hover{ background:var(--blue-soft); }
.smx-table__inner td:first-child{ font-weight:600; color:var(--navy-900); }
.smx-table__inner td:last-child{ color:var(--navy-700); font-weight:500; }

/* ---------- 6. B14 表单预约 ---------- */
.smx-form{ background:var(--gray-50); }
.smx-form__split{ display:grid; grid-template-columns:1fr 1.05fr; gap:48px; align-items:center; }
.smx-form__text{ color:var(--gray-600); font-size:15px; margin:14px 0 20px; }
.smx-form__text a{ font-weight:600; color:var(--navy-700); }
.smx-form__points li{ display:flex; align-items:baseline; gap:10px; padding:8px 0; font-size:14.5px; color:var(--gray-700); border-bottom:1px dashed var(--gray-300); }
.smx-form__points li::before{ content:""; width:8px; height:8px; border-radius:50%; background:var(--gold); flex-shrink:0; }
.smx-form__points li:last-child{ border-bottom:none; }

/* ---------- 7. B15 CTA ---------- */
.smx-cta{ padding-bottom:clamp(70px,8vw,110px); }
.smx-cta__banner{
  background:linear-gradient(135deg,var(--navy-800),var(--navy-700) 55%,var(--navy-600));
  border-radius:28px; padding:clamp(44px,5vw,72px) clamp(24px,4vw,56px);
  text-align:center; position:relative; overflow:hidden; box-shadow:var(--shadow-lg);
}
.smx-cta__banner::before{
  content:""; position:absolute; right:-70px; top:-70px; width:240px; height:240px;
  border-radius:50%; border:1.5px dashed rgba(176,141,74,.45);
}
.smx-cta__inner{ position:relative; z-index:1; }
.smx-cta__title{ color:#fff; font-size:clamp(22px,3vw,32px); margin-bottom:12px; }
.smx-cta__sub{ color:rgba(232,238,245,.78); font-size:15px; margin-bottom:28px; }
.smx-cta__actions{ display:flex; gap:16px; justify-content:center; flex-wrap:wrap; }
.smx-cta__ghost{ border-color:rgba(255,255,255,.5); color:#fff; }
.smx-cta__ghost:hover{ background:#fff; color:var(--navy-700); }

/* ---------- 响应式 ---------- */
@media (max-width: 992px){
  .smx-hero{ min-height:0; }
  .smx-hero__diag{ clip-path:polygon(0 0,100% 0,100% 32%,0 42%); background:linear-gradient(180deg,var(--navy-900) 0%,var(--navy-800) 100%); }
  .smx-hero__inner{ grid-template-columns:1fr; gap:44px; }
  .smx-hero__copy{ max-width:none; }
  .smx-rings{ display:none; }
  .smx-stats__grid{ grid-template-columns:repeat(2,1fr); gap:28px 20px; }
  .smx-card__grid{ grid-template-columns:repeat(2,1fr); }
  .smx-card__item:nth-child(odd){ transform:none; }
  .smx-pair{ grid-template-columns:1fr; gap:24px; }
  .smx-pair--reverse .smx-pair__media{ order:0; }
  .smx-form__split{ grid-template-columns:1fr; }
}
@media (max-width: 640px){
  .smx-card__grid{ grid-template-columns:1fr; }
  .smx-stats__grid{ grid-template-columns:1fr 1fr; gap:14px; }
  .smx-hero__actions .btn{ width:100%; }
  .smx-cta__actions .btn{ width:100%; }
  .smx-hero__badge{ left:0; bottom:-14px; }
}
