:root{
  --blue:#1236a6;
  --blue-deep:#08195f;
  --blue-soft:#2d6dff;
  --yellow:#ffc928;
  --yellow-deep:#f5b400;
  --text:#1b2430;
  --muted:#66758a;
  --line:#e7edf5;
  --bg:#f4f7fb;
  --bg-soft:#eef3f8;
  --gray-block:#eef1f4;
  --gray-deep:#394b5b;
  --white:#fff;
  --shadow:0 18px 40px rgba(10,33,74,.10);
  --container:1200px;
}
*{box-sizing:border-box}
html,body{
  margin:0;
  padding:0;
  height:100%;
  min-height:100vh;
  min-height:100svh;
  min-height:100dvh;
  font-family:"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;
  color:var(--text);
  background:var(--bg-soft);
}
body{
  min-width:0;
  overflow-x:hidden;
}
a{text-decoration:none;color:inherit}
img{max-width:100%}
.page{
  width:100%;
  max-width:none;
  margin:0;
  background:var(--white);
  min-height:100vh;
  min-height:100svh; /* mobile safe viewport */
  min-height:100dvh; /* mobile dynamic viewport */
  box-shadow:none;
  overflow-x:hidden;
  overflow-y:visible;
}
.container{
  width:100%;
  /* 全屏背景 + 内容居中（保持原排版不乱） */
  max-width:var(--container);
  margin:0 auto;
  padding:0 20px;
}

.topbar{
  position:sticky;top:0;z-index:2000;
  background:linear-gradient(180deg,#0a1a62 0%,#0d2b8f 100%);
  border-bottom:1px solid rgba(255,255,255,.10);
  padding:16px 0;
  box-shadow:0 10px 26px rgba(10,33,74,.16);
}
.nav{
  width:100%;
  max-width:var(--container);
  margin:0 auto;
  display:flex;align-items:center;justify-content:space-between;gap:20px;
}
.logo-slot{
  width:auto;height:34px;
  border:0;
  background:transparent;
  display:flex;align-items:center;justify-content:flex-start;
  flex:0 0 auto;
  padding-right:16px;
}
.logo-slot img{
  display:block;
  max-height:26px;
  max-width:100%;
  width:auto;
  height:auto;
}
.menu{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:28px;
  color:rgba(255,255,255,.84);
  font-size:15px;
  flex:1;
}
.menu a{position:relative;font-weight:500}
.menu a.active{color:#fff;font-weight:700}
.menu a.active::after{
  content:"";position:absolute;left:0;right:0;bottom:-10px;height:2px;
  background:linear-gradient(90deg,#b8c9ff,#ffffff);
  border-radius:999px;
}
.menu a.nav-series{
  padding:10px 16px;
  border-radius:999px;
  background:linear-gradient(90deg,#f5b400,#ffc928);
  color:#092045;
  font-weight:700;
  box-shadow:0 10px 24px rgba(245,180,0,.24);
}
.menu a.nav-series::after{
  display:none;
}
.nav-tools{
  display:flex;align-items:center;gap:14px;flex:0 0 auto;
}

/* Mobile hamburger button (hidden on desktop) */
.nav-hamburger{
  appearance:none;
  border:1px solid rgba(255,255,255,.22);
  background:rgba(255,255,255,.14);
  color:#fff;
  border-radius:14px;
  width:46px;
  height:46px;
  display:none;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  position:relative;
  z-index:2002;
}
.nav-hamburger__box{
  width:18px;
  height:14px;
  display:grid;
  gap:4px;
}
.nav-hamburger__box span{
  display:block;
  height:2px;
  background:#fff;
  border-radius:999px;
}
.nav-overlay{
  position:fixed;
  inset:0;
  background:rgba(10,18,34,.46);
  z-index:1980;
}
.menu.menu-drawer.open{right:0}

/* lock scroll when drawer open */
html.nav-open, body.nav-open{overflow:hidden}

/* Hero background tuning on mobile: avoid over-zoom/cropping */
@media (max-width: 720px){
  .inner-hero{background-position:center 25%}
}

/* ====== Tablet & Mobile nav (<=900px) ====== */
@media (max-width: 900px){
  :root{--container:100%}
  .container{padding:0 20px}

  /* 汉堡菜单（JS 会给 .menu 加 menu-drawer 并插入按钮） */
  .topbar{padding:12px 0}
  .nav{gap:12px;padding:0 18px}
  .logo-slot{padding-right:0}
  .nav-tools{margin-left:auto}
  .lang-switch{display:none}
  .nav-hamburger{display:inline-flex}
  .menu.menu-drawer{
    position:fixed;
    top:0;
    right:-380px;
    width:min(82vw, 340px);
    height:100vh;
    padding:84px 18px 18px;
    background:#fff;
    color:var(--text);
    display:flex;
    flex-direction:column;
    gap:10px;
    align-items:flex-start;
    justify-content:flex-start;
    overflow:auto;
    box-shadow:0 18px 46px rgba(0,0,0,.22);
    z-index:1990;
    transition:right .22s ease;
    pointer-events:none; /* enabled by JS when open */
  }
  .menu.menu-drawer a{
    width:100%;
    padding:12px 12px;
    border-radius:14px;
    color:var(--text);
  }
  .menu.menu-drawer a.active{
    background:#eef4ff;
    color:var(--blue);
  }
  .menu.menu-drawer a.active::after{display:none}
  .menu.menu-drawer a.nav-series{
    width:100%;
    justify-content:center;
    padding:12px 14px;
    box-shadow:none;
  }

  /* ===== 新手机端版式（基于PC内容重排） ===== */
  .inner-hero{
    min-height:156px;
    background-position:center 25%;
  }
  .inner-hero .container{padding:30px 4px 22px}
  .inner-hero .container{text-align:center}
  .inner-hero .eyebrow{display:none}
  .eyebrow{font-size:12px;letter-spacing:1.4px;margin-bottom:12px}
  .inner-hero h1{font-size:28px;line-height:1.2;margin-left:auto;margin-right:auto}
  .inner-hero .hero-lead,.crumbs{display:none}

  .section{padding:28px 0}
  .section.gray{background:var(--bg-soft)}
  .section-tight{padding:20px 0}

  /* 手机上去掉次要信息，保留核心浏览路径 */
  .section-intro,
  .heading-row p,
  .product-body p,
  .news-item p,
  .detail-sub,
  .note-box,
  .tabs,
  .section-kicker,
  .contact-panel p,
  .map-box,
  .stonecast-poster,
  .floating-card{
    display:none !important;
  }

  /* 侧栏改为上下结构，并将分类改为横向滑动 chips */
  .sidebar-layout{grid-template-columns:1fr;gap:14px}
  .sidebar-card{border-radius:18px}
  .sidebar-title{display:none}
  .sidebar-body{padding:0;background:transparent}
  aside .sidebar-card + .sidebar-card{display:none}
  .side-links{
    display:flex;
    gap:10px;
    overflow:auto;
    -webkit-overflow-scrolling:touch;
    padding-bottom:6px;
    scroll-snap-type:x mandatory;
  }
  .side-link{
    flex:0 0 auto;
    scroll-snap-align:start;
    white-space:nowrap;
    padding:10px 14px;
    border-radius:999px;
    background:#f2f6fc;
    border:1px solid #dce5f0;
    font-size:14px;
  }
  .side-link.active{background:#eaf1ff;border-color:#c9daf8;color:var(--blue)}
  .side-link span:last-child{opacity:.7}

  /* 筛选条：横向滑动，避免挤占纵向空间 */
  .filter-bar{
    padding:14px;
    border-radius:16px;
    gap:10px;
    flex-wrap:nowrap;
    overflow:auto;
    -webkit-overflow-scrolling:touch;
  }
  .filter-chip{white-space:nowrap;padding:10px 14px;font-size:14px}

  /* 网格与卡片：手机端单列 */
  .grid-2,.grid-3,.grid-4{grid-template-columns:1fr}
  .product-grid{grid-template-columns:1fr;gap:14px}
  .product-card{border-radius:18px}
  .product-card img{height:190px}
  .product-body{padding:16px}
  .product-meta{flex-wrap:wrap;gap:10px;justify-content:flex-start}

  /* 新闻列表：上下结构 */
  .news-item{grid-template-columns:1fr;gap:14px}
  .news-item img{height:180px}
  .news-item h3{font-size:18px}

  /* 详情页：上下结构与更大点击区 */
  .detail-layout{grid-template-columns:1fr;gap:14px}
  .gallery-card{border-radius:18px}
  .gallery-card img{height:260px}
  .thumbs{display:none}
  .detail-card{border-radius:18px;padding:18px}
  .detail-card h2{font-size:22px}
  .cta-row{flex-direction:column}
  .btn-main,.btn-lite{width:100%;height:52px;border-radius:14px}

  /* 表格：默认横向可滑动 */
  .table-scroll{
    border-radius:14px;
    overflow:auto;
    -webkit-overflow-scrolling:touch;
  }
  .table-scroll .data-table{
    min-width:680px;
    width:auto;
    table-layout:auto;
    font-size:11px;
  }
  .spec-row{grid-template-columns:1fr}
  .spec-row div{padding:12px 14px}

  /* 坚石系列详情页：参数表手机端直接完整展示，不横向滑动 */
  .series-sheet .table-scroll{
    overflow:visible;
    border-radius:12px;
  }
  .series-sheet .table-scroll .data-table{
    min-width:0;
    width:100%;
    table-layout:fixed;
    font-size:11px;
  }
  .series-sheet .data-table th,
  .series-sheet .data-table td{
    padding:8px 6px;
    white-space:normal;
    word-break:break-word;
    line-height:1.45;
  }

  /* 页脚：手机端去掉 LOGO，改为单列信息卡，更符合操作习惯 */
  footer{padding:18px 0}
  .footer-inner{
    padding:0 20px;
    grid-template-columns:1fr;
    gap:12px;
    align-items:start;
  }
  .footer-col:first-child{display:none}
  .footer-col{
    min-width:0;
    min-height:112px;
    padding:14px 14px 12px;
    border:1px solid rgba(255,255,255,.08);
    border-radius:16px;
    background:rgba(255,255,255,.03);
    display:flex;
    flex-direction:column;
    justify-content:flex-start;
  }
  .footer-col strong{font-size:14px;margin-bottom:8px;text-align:left}
  .footer-col p{font-size:13px;line-height:1.6;margin:4px 0 0;text-align:left}
  .footer-col p a{
    display:block;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  .footer-logo-slot{justify-content:flex-start;padding:0;border:0;background:transparent}
  .footer-logo-slot img{max-height:24px}

  .article{
    padding:18px;
    border-radius:18px;
  }
  .article h2{font-size:24px}
  .article-cover img{height:220px}
  .article-meta{gap:8px;font-size:12px;padding-bottom:14px;margin-bottom:18px}
  .article p{font-size:15px;line-height:1.8}

  .contact-wrap{grid-template-columns:1fr;gap:14px}
  .contact-panel,.form{border-radius:18px;padding:18px}
  .contact-list{gap:10px;margin-top:0}
  .contact-item{padding:10px 0}

  .page-links{grid-template-columns:1fr;gap:12px}
  .page-link-card{padding:18px;border-radius:18px}
  .page-link-card h3{font-size:20px}
}

.lang-switch{
  display:inline-flex;align-items:center;gap:8px;padding:9px 14px;border-radius:999px;
  background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);color:rgba(255,255,255,.74);
  font-size:13px;font-weight:600;
}
.lang-switch button{
  appearance:none;
  border:0;
  background:transparent;
  color:inherit;
  font:inherit;
  padding:0;
  cursor:pointer;
}
.lang-switch .active{
  color:#fff;
}

.inner-hero{
  position:relative;
  min-height:300px;
  background:
    linear-gradient(90deg, rgba(8,25,95,.90) 0%, rgba(8,25,95,.78) 30%, rgba(8,25,95,.35) 64%, rgba(8,25,95,.22) 100%),
    linear-gradient(180deg, rgba(8,25,95,.20), rgba(8,25,95,.55)),
    url("./assets/stdele-hero-industrial-warm.jpg") center/cover no-repeat;
}
.hero-stonecast{
  background:
    linear-gradient(90deg, rgba(57,75,91,.92) 0%, rgba(57,75,91,.72) 34%, rgba(30,89,183,.34) 68%, rgba(30,89,183,.18) 100%),
    linear-gradient(180deg, rgba(57,75,91,.12), rgba(22,57,91,.62)),
    url("./assets/stdele-hero-industrial.jpg") center/cover no-repeat;
}
.inner-hero::before{
  content:"";position:absolute;inset:0;
  background:
    radial-gradient(circle at 12% 18%, rgba(255,255,255,.08), transparent 24%),
    linear-gradient(118deg, transparent 0 70%, rgba(255,255,255,.04) 70% 71%, transparent 71% 100%);
}
.inner-hero .container{
  position:relative;z-index:2;padding:72px 0 56px;
}
.eyebrow{
  display:inline-flex;align-items:center;gap:12px;
  color:#c9d6ff;font-size:14px;letter-spacing:2px;text-transform:uppercase;
  margin-bottom:18px;
}
.eyebrow::before{
  content:"";width:44px;height:2px;background:#dbe5ff;
}
.inner-hero h1{
  margin:0;color:#fff;font-size:52px;line-height:1.08;letter-spacing:-1px;
  overflow-wrap:anywhere;
  word-break:break-word;
}
.hero-lead{
  max-width:680px;margin:18px 0 0;color:rgba(255,255,255,.82);font-size:17px;line-height:1.85;
}
.section-intro,
.hero-lead,
.detail-sub,
.feature p,
.feature-item p,
.media-body p,
.product-body p,
.card-pad p,
.body-text{
  display:none !important;
}
.crumbs{
  margin-top:28px;color:rgba(255,255,255,.78);font-size:14px;
  overflow-wrap:anywhere;
  word-break:break-word;
}

.section{padding:84px 0}
.section.gray{background:var(--bg)}
.section-tight{padding:54px 0}
.heading-row{
  display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:34px;
}
.heading-row h2,.section h2{
  margin:0;font-size:38px;letter-spacing:-1px;color:var(--blue);
  overflow-wrap:anywhere;
  word-break:break-word;
}
.heading-row p,.section-intro{
  margin:12px 0 0;color:var(--muted);line-height:1.9;font-size:16px;max-width:760px;
}
.section-kicker{
  color:var(--yellow-deep);font-weight:700;font-size:13px;letter-spacing:2px;text-transform:uppercase;margin-bottom:10px;
}

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

.card{
  background:#fff;border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow);
}
.card-pad{padding:28px}
.media-card{
  background:#fff;border-radius:22px;overflow:hidden;border:1px solid var(--line);box-shadow:var(--shadow);
}
.media-card img{display:block;width:100%;height:240px;object-fit:cover}
.media-body{padding:24px}
.tag{
  display:inline-flex;padding:8px 12px;border-radius:999px;background:#eef4ff;color:var(--blue-soft);font-size:12px;font-weight:700;margin-bottom:14px;
}
.title-3{margin:0 0 10px;font-size:26px;color:var(--text)}
.body-text,.media-body p,.card-pad p{
  margin:0;color:var(--muted);font-size:15px;line-height:1.86;
}
.more{display:inline-flex;margin-top:16px;color:var(--yellow-deep);font-weight:700}

.split{
  display:grid;grid-template-columns:1.08fr .92fr;gap:36px;align-items:start;
}
.image-large{
  border-radius:26px;overflow:hidden;box-shadow:var(--shadow);
}
.image-large img{display:block;width:100%;height:100%;min-height:460px;object-fit:cover}

.stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:28px}
.stat-box{
  background:#fff;border:1px solid var(--line);border-radius:18px;padding:22px 18px;text-align:center;box-shadow:var(--shadow);
}
.stat-box strong{display:block;font-size:30px;color:var(--blue);margin-bottom:8px}
.stat-box span{display:block;color:var(--muted);font-size:14px}

.feature-list{display:grid;gap:16px}
.feature-item{
  display:flex;gap:16px;padding:20px;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 8px 20px rgba(18,37,73,.05);
}
.feature-no{
  width:44px;height:44px;border-radius:14px;background:linear-gradient(135deg,#0b2d6b,#2a62bf);color:#fff;
  display:flex;align-items:center;justify-content:center;font-weight:700;flex:0 0 auto;
}
.feature-item strong{display:block;font-size:18px;margin-bottom:6px}
.feature-item p{margin:0;color:var(--muted);line-height:1.8}

.pill-list{display:flex;flex-wrap:wrap;gap:12px}
.pill{
  padding:10px 16px;border-radius:999px;background:#f1f5fb;border:1px solid #dde6f3;color:#355072;font-size:14px;
}

.sidebar-layout{
  display:grid;grid-template-columns:300px 1fr;gap:28px;
}
.sidebar-layout > *{min-width:0}
.sidebar-card{
  background:#fff;border-radius:22px;border:1px solid var(--line);box-shadow:var(--shadow);overflow:hidden;
}
.sidebar-title{
  padding:22px 24px;background:linear-gradient(180deg,#103090,#0d2674);color:#fff;font-size:20px;font-weight:700;
}
.sidebar-body{padding:18px 20px}
.side-links{display:grid;gap:10px}
.side-link{
  display:flex;justify-content:space-between;align-items:center;
  padding:14px 16px;border-radius:14px;background:#f6f9fd;color:#30445f;font-weight:600;
}
.side-link span{min-width:0;overflow-wrap:anywhere;word-break:break-word}
.side-link.active{background:#eaf1ff;color:var(--blue)}

.product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.product-card{
  background:#fff;border-radius:22px;overflow:hidden;border:1px solid var(--line);box-shadow:var(--shadow);
}
.product-thumb{display:block;color:inherit}
.product-thumb:focus{outline:2px solid rgba(30,89,183,.35);outline-offset:2px}
.product-card img{display:block;width:100%;height:240px;object-fit:cover}
.product-body{padding:24px}
.product-body h3,.title-3{
  overflow-wrap:anywhere;
  word-break:break-word;
}
.product-meta{margin-top:16px;padding-top:16px;border-top:1px solid var(--line);display:flex;justify-content:space-between;color:#7b8798;font-size:13px}

.filter-bar{
  display:flex;flex-wrap:wrap;gap:12px;padding:20px;background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow);margin-bottom:24px;
}
.filter-chip{
  padding:10px 16px;border:1px solid #dae4f0;border-radius:999px;background:#f8fbff;color:#355072;font-size:14px;font-weight:600;
}
.filter-chip.active{background:#eaf1ff;border-color:#c9daf8;color:var(--blue)}

.detail-layout{
  display:grid;grid-template-columns:1fr .92fr;gap:34px;align-items:start;
}
.detail-layout > *{min-width:0}
.gallery-card{
  background:#fff;border:1px solid var(--line);border-radius:24px;box-shadow:var(--shadow);overflow:hidden;
}
.gallery-card img{display:block;width:100%;height:460px;object-fit:cover}
.zoom-wrap{position:relative;cursor:zoom-in}
.img-block{
  display:flex;
  justify-content:center;
  padding:10px 0 6px;
}
.img-block a{
  display:block;
  width:min(560px, 100%);
  text-decoration:none;
  border-radius:18px;
  overflow:hidden;
  border:1px solid var(--line);
  background:#fff;
  box-shadow:var(--shadow);
  cursor:zoom-in;
  transition:transform .15s ease, box-shadow .15s ease;
}
.img-block a:hover{
  transform:translateY(-1px);
  box-shadow:0 14px 34px rgba(18,38,63,.12);
}
.img-block img{
  display:block;
  width:100%;
  height:auto;
  max-height:380px;
  object-fit:contain;
  background:#fff;
}
@media (max-width: 520px){
  .img-block img{max-height:320px}
}
.zoom-lens{
  position:absolute;left:0;top:0;
  width:140px;height:140px;
  border:1px solid rgba(255,255,255,.68);
  background:rgba(255,255,255,.16);
  box-shadow:0 10px 24px rgba(18,37,73,.22);
  display:none;
  pointer-events:none;
}
.zoom-preview{
  position:fixed;
  width:360px;height:360px;
  border:1px solid var(--line);
  border-radius:18px;
  overflow:hidden;
  background:#fff no-repeat;
  box-shadow:0 16px 44px rgba(18,37,73,.22);
  display:none;
  z-index:1100;
}

/* 回到顶部按钮 */
.back-to-top{
  position:fixed;
  right:22px;
  bottom:22px;
  width:54px;
  height:54px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(13,43,143,.90);
  color:#fff;
  box-shadow:0 16px 44px rgba(18,37,73,.22);
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:2px;
  cursor:pointer;
  opacity:.35;
  pointer-events:auto;
  transform:translateY(10px);
  transition:opacity .2s ease, transform .2s ease, background .2s ease;
  z-index:1500;
}
.back-to-top:hover{background:rgba(13,43,143,.98)}
.back-to-top.show{
  opacity:1;
  transform:translateY(0);
}
.back-to-top__icon{font-size:18px;line-height:1;font-weight:900}
.back-to-top__text{font-size:11px;line-height:1;opacity:.92}
.thumbs{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;padding:12px}
.thumbs img{height:88px;border-radius:12px;object-fit:cover}

.detail-card{
  background:#fff;border:1px solid var(--line);border-radius:24px;box-shadow:var(--shadow);padding:30px;
}
.detail-card h2{margin:10px 0 14px;font-size:38px;color:var(--text)}
.detail-card h2{overflow-wrap:anywhere;word-break:break-word}
.detail-sub{color:var(--muted);font-size:16px;line-height:1.85}
.note-box{margin-top:22px;padding-top:18px;border-top:1px solid var(--line)}
.note-title{margin:0 0 10px;font-size:18px;color:var(--text)}
.note-list{margin:0;padding-left:18px;color:#4f5d72;line-height:1.9;font-size:15px}
.img-block{margin-top:14px;border-radius:18px;overflow:hidden;border:1px solid var(--line);background:#fff}
/* 结构图/线稿图：避免裁切，确保不超出边框 */
.img-block a{display:block;cursor:zoom-in}
.img-block img{display:block;width:100%;height:auto;max-height:520px;object-fit:contain;background:#fff}
.stonecast-poster{
  position:relative;
  border-radius:26px;
  overflow:hidden;
  border:1px solid var(--line);
  box-shadow:var(--shadow);
  min-height:360px;
  background:
    linear-gradient(90deg, rgba(57,75,91,.92) 0%, rgba(57,75,91,.68) 40%, rgba(30,89,183,.22) 100%),
    radial-gradient(600px 260px at 20% 18%, rgba(255,255,255,.18), rgba(255,255,255,0)),
    linear-gradient(180deg,#eaf1ff,#f7f9fc);
}
.stonecast-poster__label{
  position:absolute;left:24px;bottom:22px;
  padding:10px 14px;border-radius:999px;
  background:rgba(255,255,255,.16);
  border:1px dashed rgba(255,255,255,.38);
  color:rgba(255,255,255,.92);
  font-weight:700;font-size:14px;
  backdrop-filter: blur(6px);
}
.spec-table{display:grid;gap:0;margin-top:24px;border:1px solid var(--line);border-radius:16px;overflow:hidden}
.spec-row{display:grid;grid-template-columns:180px 1fr}
.spec-row div{padding:14px 16px;background:#fff;border-top:1px solid var(--line)}
.spec-row:first-child div{border-top:0}
.spec-row div:first-child{background:#f6f9fd;color:#355072;font-weight:700}
.cta-row{display:flex;gap:14px;margin-top:26px}
.btn-main,.btn-lite{
  display:inline-flex;align-items:center;justify-content:center;height:48px;padding:0 24px;border-radius:12px;font-weight:700;
}
.btn-main{background:linear-gradient(90deg,#103090,#1745c6);color:#fff}
.btn-lite{border:1px solid #ccd8ea;background:#fff;color:var(--blue)}

.tabs{
  display:flex;gap:12px;flex-wrap:wrap;margin-bottom:22px;
}
.tab{
  padding:11px 18px;border-radius:999px;background:#f2f6fc;border:1px solid #dce5f0;color:#375170;font-weight:600;
}
.tab.active{background:#eaf1ff;border-color:#c9daf8;color:var(--blue)}

/* 系列资料（用于坚石 SF-A 等） */
.series-sheet{margin-top:26px}
.series-sheet h3{
  margin:26px 0 12px;
  color:var(--blue);
  font-size:22px;
}
.series-sheet ul{margin:0;padding-left:18px;color:#4f5d72;line-height:1.9}
.series-sheet li{margin:6px 0}
.data-table{
  width:100%;
  border-collapse:collapse;
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  overflow:hidden;
  box-shadow:var(--shadow);
  font-size:14px;
}
.data-table th,.data-table td{
  padding:12px 12px;
  border-bottom:1px solid var(--line);
  border-right:1px solid var(--line);
  vertical-align:middle;
  text-align:center;
  color:#2f4058;
}
.data-table th{background:#f6f9fd;color:#355072;font-weight:800}
.data-table tr:last-child td{border-bottom:0}
.data-table th:last-child,.data-table td:last-child{border-right:0}
.data-table .left{text-align:left}
.data-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.data-grid-2 > *{min-width:0}
@media (max-width: 900px){.data-grid-2{grid-template-columns:1fr}}
.mini-diagram{
  display:flex;gap:14px;align-items:center;flex-wrap:wrap;
  padding:14px 16px;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:var(--shadow);
}
.mini-diagram .dot{width:10px;height:10px;border-radius:99px;background:var(--blue)}
.mini-diagram .dot.hollow{background:transparent;border:2px solid #9fb1c8}
.mini-diagram .line{flex:1;min-width:80px;height:2px;background:#cfd9e6}

.sheet-media-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:14px}
.sheet-media-grid > *{min-width:0}
@media (max-width: 900px){.sheet-media-grid{grid-template-columns:1fr}}
.sheet-figure{
  display:block;
  border:1px solid var(--line);
  border-radius:16px;
  overflow:hidden;
  background:#fff;
  box-shadow:var(--shadow);
  cursor:zoom-in;
}
.sheet-figure img{display:block;width:100%;height:auto;object-fit:contain;background:#fff}
.sheet-caption{padding:10px 12px;border-top:1px solid var(--line);color:#6f7f92;font-size:13px;line-height:1.6}

/* 桌面端：坚石系列详情页参数表直接完整展示，不使用横向滑动 */
.series-sheet .data-table{
  width:100%;
  table-layout:fixed;
  font-size:12px;
}
.series-sheet .data-table th,
.series-sheet .data-table td{
  padding:10px 8px;
  white-space:normal;
  word-break:break-word;
  line-height:1.5;
}

.news-list{display:grid;gap:18px}
.news-item{
  display:grid;grid-template-columns:230px 1fr;gap:22px;padding:18px;background:#fff;border-radius:22px;border:1px solid var(--line);box-shadow:var(--shadow);
}
.news-item img{width:100%;height:180px;object-fit:cover;border-radius:16px}
.news-date{color:var(--yellow-deep);font-weight:700;font-size:13px;margin-bottom:12px}
.news-item h3{margin:0 0 10px;font-size:28px;line-height:1.35}
.news-item p{margin:0;color:var(--muted);line-height:1.85}

.article{
  background:#fff;border:1px solid var(--line);border-radius:24px;box-shadow:var(--shadow);padding:42px;
}
.article h2{margin:0 0 10px;font-size:40px;color:var(--text)}
.article-meta{
  display:flex;gap:18px;flex-wrap:wrap;color:#7a8798;font-size:14px;padding-bottom:24px;border-bottom:1px solid var(--line);margin-bottom:28px;
}
.article-cover{
  margin-bottom:28px;border-radius:20px;overflow:hidden;
}
.article-cover img{width:100%;height:360px;object-fit:cover;display:block}
.article p{
  color:#4f5d72;font-size:16px;line-height:2;margin:0 0 18px;
}
.article h3{
  margin:30px 0 12px;font-size:24px;color:var(--blue);
}

.contact-wrap{
  display:grid;grid-template-columns:.95fr 1.05fr;gap:28px;
}
.contact-panel{
  background:linear-gradient(135deg,#0b2d6b 0%,#081f4d 70%);
  border-radius:28px;padding:42px;box-shadow:0 26px 60px rgba(8,31,77,.22);color:#fff;
}
.contact-panel h2{margin:0;color:#fff}
.contact-panel p{margin:16px 0 0;color:rgba(255,255,255,.76);line-height:1.9}
.contact-list{display:grid;gap:18px;margin-top:26px}
.contact-item{
  display:flex;gap:14px;align-items:flex-start;padding:14px 0;border-top:1px solid rgba(255,255,255,.12)
}
.contact-item:first-child{border-top:0;padding-top:0}
.contact-icon{
  width:40px;height:40px;border-radius:12px;background:rgba(255,255,255,.12);display:flex;align-items:center;justify-content:center;color:var(--yellow);font-weight:700
}
.contact-item strong{display:block;color:#fff;margin-bottom:4px}
.contact-item p{margin:0;color:rgba(255,255,255,.72);line-height:1.7}

.form{
  background:#fff;border-radius:24px;padding:28px;border:1px solid var(--line);box-shadow:var(--shadow)
}
.form h3{margin:0 0 18px;color:var(--blue);font-size:28px}
.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.field, textarea{
  width:100%;border:1px solid #dfe6f0;border-radius:12px;padding:14px 16px;font-size:14px;outline:none;
  font-family:inherit;background:#fbfdff
}
textarea{min-height:140px;resize:none;margin-top:14px}
.submit{
  margin-top:16px;width:100%;height:48px;border:0;border-radius:12px;background:linear-gradient(90deg,#103090,#1745c6);
  color:#fff;font-size:16px;font-weight:700
}

.map-box{
  margin-top:28px;background:#fff;border:1px solid var(--line);border-radius:24px;overflow:hidden;box-shadow:var(--shadow);
}
.map-box img{display:block;width:100%;height:320px;object-fit:cover;filter:saturate(.9)}

footer{
  background:#071a43;color:#dce4f6;padding:34px 0
}
.footer-inner{
  width:100%;
  max-width:var(--container);
  margin:0 auto;
  padding:0 20px;
  display:grid;
  grid-template-columns:300px 1fr 1fr 1fr;
  gap:28px;
  align-items:center;
}
.footer-col p{margin:10px 0 0;color:rgba(220,228,246,.72);line-height:1.8;font-size:14px}
.footer-col p,.footer-col a,.footer-col strong{
  overflow-wrap:anywhere;
  word-break:break-word;
}
.footer-col strong{display:block;color:#fff;margin-bottom:10px}
.footer-logo-slot{
  min-height:auto;
  display:flex;align-items:center;justify-content:flex-start;
  padding:0;
}
.footer-logo-slot img{
  display:block;
  max-height:28px;
  max-width:100%;
  width:auto;
  height:auto;
  filter:none;
}

.page-links{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.page-link-card{
  background:#fff;border-radius:22px;padding:26px;border:1px solid var(--line);box-shadow:var(--shadow)
}
.page-link-card h3{margin:0 0 10px;color:var(--text);font-size:24px}
.page-link-card p{margin:0;color:var(--muted);line-height:1.8}
.page-link-card a{display:inline-flex;margin-top:18px;color:var(--blue);font-weight:700}

/* =========================
   Responsive breakpoints
   ========================= */
@media (max-width: 1100px){
  .sidebar-layout{grid-template-columns:1fr}
  .detail-layout{grid-template-columns:1fr}
  .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .page-links{grid-template-columns:repeat(2,minmax(0,1fr))}
  .news-item{grid-template-columns:1fr}
  .news-item img{height:240px}
  .contact-wrap{grid-template-columns:1fr}
  .zoom-preview{display:none !important}
  .zoom-lens{display:none !important}
}

@media (max-width: 720px){
  /* 720 以下再微调（更适合小屏手机） */
  .inner-hero h1{font-size:26px}
  .section{padding:24px 0}
  .product-card img{height:190px}
  .gallery-card img{height:240px}
  .table-scroll .data-table{min-width:640px}
}

@media (max-width: 420px){
  .container{padding:0 18px}
  .nav{padding:0 16px}
  .inner-hero h1{font-size:28px}
  .heading-row h2,.section h2{font-size:28px}
  .gallery-card img{height:280px}
  .thumbs img{height:60px}
  .detail-card h2{font-size:24px}
  .inner-hero .container{padding:44px 2px 28px}
  .footer-inner{padding:0 18px;grid-template-columns:1fr}

  .series-sheet .table-scroll .data-table{font-size:10px}
  .series-sheet .data-table th,
  .series-sheet .data-table td{padding:7px 4px}
}

/* 系列资料表格：默认不横向滚动（桌面端完整展示） */
.table-scroll{
  width:100%;
  overflow:visible;
  border:1px solid var(--line);
  border-radius:16px;
  background:#fff;
  box-shadow:var(--shadow);
}
.table-scroll .data-table{
  border:0;
  box-shadow:none;
  border-radius:0;
  overflow:visible;
  min-width:0;
  width:100%;
  table-layout:fixed;
  font-size:12px;
}
.table-scroll .data-table th,
.table-scroll .data-table td{
  white-space:normal;
  word-break:break-word;
  line-height:1.5;
}
