/* 和美首页样式：按页面区域排列。修改主题色和内容宽度可从这里开始。 */
:root {
  --red:#ff002d;
  --text:#444;
  --muted:#888;
  --container:1500px;
  --u:min(1px,.052083333vw)
}

* {
  box-sizing:border-box
}

html {
  scroll-behavior:smooth;
  scroll-padding-top:20px
}

body {
  margin:0;
  color:var(--text);
  font-family:"Microsoft YaHei","PingFang SC",Arial,sans-serif;
  font-size:14px;
  line-height:1.7
}

h1,h2,h3,p {
  margin:0
}

button,input {
  font:inherit
}

button,a {
  -webkit-tap-highlight-color:transparent
}

button {
  cursor:pointer
}

button {
  color:inherit
}

a {
  color:inherit;
  text-decoration:none
}

img {
  display:block;
  max-width:100%
}

button {
  border:0
}

button:focus-visible,a:focus-visible,input:focus-visible {
  outline:2px solid var(--red);
  outline-offset:5px
}

[hidden] {
  display:none!important
}

.container {
  width:78.125%;
  max-width:var(--container);
  margin-inline:auto
}

.section-title {
  text-align:center;
  font-size:calc(38 * var(--u));
  font-weight:400;
  line-height:1.4;
  position:relative
}

.section-title:after {
  content:"";
  display:block;
  width:calc(32 * var(--u));
  height:3px;
  background:var(--red);
  margin:calc(10 * var(--u)) auto 0
}

.primary-button {
  display:inline-flex;
  align-items:center;
  gap:12px;
  border-radius:25px;
  background:#f22d27;
  color:#fff;
  padding:6px 16px;
  font-size:calc(18 * var(--u));
  line-height:1.5
}

.primary-button span {
  border:1px solid #ffffff70;
  border-radius:50%;
  width:22px;
  height:22px;
  display:grid;
  place-items:center
}

.primary-button:hover {
  background:var(--red)
}

/* 顶部导航和首屏 */
.site-header {
  position:absolute;
  z-index:10;
  left:0;
  top:0;
  width:100%;
  height:calc(108 * var(--u));
  padding:0 6.9%;
  display:flex;
  align-items:center;
  border-bottom:1px solid #ffffff1c;
  color:#fff;
  gap:calc(80 * var(--u))
}

.brand {
  display:flex;
  align-items:center;
  flex:none;
  gap:calc(8 * var(--u));
  font-size:calc(27 * var(--u));
  font-weight:700;
  white-space:nowrap
}

.brand img {
  width:calc(75 * var(--u));
  height:auto
}

.main-nav {
  display:flex;
  justify-content:space-between;
  align-self:stretch;
  align-items:center;
  flex:1;
  margin-left:calc(174 * var(--u));
  gap:calc(26 * var(--u));
  white-space:nowrap
}

.main-nav a {
  height:100%;
  display:flex;
  align-items:center;
  position:relative;
  font-size:calc(16 * var(--u))
}

.main-nav a.active:after,.main-nav a:hover:after {
  content:"";
  position:absolute;
  bottom:0;
  left:50%;
  transform:translateX(-50%);
  width:30px;
  height:2px;
  background:#fff
}

.header-tools {
  display:flex;
  gap:calc(24 * var(--u));
  margin-left:calc(-45 * var(--u))
}

.header-tools button {
  display:grid;
  place-items:center;
  border:1px solid #ffffff45;
  border-radius:50%;
  width:calc(52 * var(--u));
  height:calc(52 * var(--u));
  background:none;
  color:white;
  font-size:calc(26 * var(--u))
}

.menu-toggle {
  display:none
}

.hero {
  height:calc(934 * var(--u));
  position:relative;
  color:white;
  background:#1e1e34 url('../images/hero.jpg') center top/100% auto no-repeat
}

.hero-copy {
  padding-top:calc(346 * var(--u))
}

.hero h1 {
  font-size:calc(48 * var(--u));
  font-weight:600;
  letter-spacing:2px;
  line-height:1.5
}

.hero-english {
  font-family:Arial,sans-serif;
  font-size:calc(18 * var(--u));
  letter-spacing:calc(3 * var(--u));
  color:#aaaab3;
  margin-top:calc(3 * var(--u))
}

.hero-description {
  font-size:calc(20 * var(--u));
  line-height:1.6;
  margin-top:calc(49 * var(--u));
  margin-bottom:calc(77 * var(--u))
}

.hero-dots {
  position:absolute;
  bottom:calc(49 * var(--u));
  left:50%;
  display:flex;
  gap:calc(18 * var(--u));
  transform:translateX(-50%)
}

.hero-dots button {
  width:calc(14 * var(--u));
  height:calc(14 * var(--u));
  border-radius:50%;
  background:#fff
}

.hero-dots .active {
  outline:1px solid #fff8;
  outline-offset:4px
}

/* 公司介绍 */
.about {
  height:calc(1182 * var(--u));
  padding-top:calc(98 * var(--u));
  background:#fff url('../images/about-bg.png') center/cover no-repeat
}

.about-description {
  font-size:calc(16 * var(--u));
  line-height:1.85;
  text-align:center;
  margin:calc(37 * var(--u)) auto 0;
  width:93%
}

.stats {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  width:80%;
  margin:calc(43 * var(--u)) auto calc(67 * var(--u));
  text-align:center
}

.stats>div {
  position:relative;
  display:flex;
  flex-direction:column
}

.stats>div+div:before {
  content:"";
  position:absolute;
  left:0;
  top:10%;
  height:65%;
  width:1px;
  background:#eee
}

.stats strong {
  font:500 calc(56 * var(--u))/1.2 Arial,sans-serif
}

.stats sup {
  font:normal calc(15 * var(--u))/1 sans-serif;
  color:var(--red);
  vertical-align:top;
  margin-left:4px
}

.stats span {
  font-size:calc(15 * var(--u));
  margin-top:calc(8 * var(--u))
}

.company-visual {
  display:block;
  position:relative;
  width:100%;
  padding:0;
  background:#19304a;
  aspect-ratio:1500/567;
  overflow:hidden
}

.company-visual img {
  width:100%;
  height:100%;
  object-fit:cover
}

.play-icon {
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  width:calc(60 * var(--u));
  height:calc(60 * var(--u));
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#fff;
  color:#aaa;
  font-size:calc(24 * var(--u));
  padding-left:3px
}

.company-visual:hover .play-icon {
  color:var(--red)
}

/* 产品展示 */
.products {
  height:calc(896 * var(--u));
  padding-top:calc(100 * var(--u));
  background:#fff
}

.product-tabs {
  display:flex;
  justify-content:center;
  gap:calc(29 * var(--u));
  margin:calc(33 * var(--u)) 0 calc(58 * var(--u))
}

.product-tabs button {
  padding:0;
  background:none;
  white-space:nowrap;
  font-size:calc(16 * var(--u))
}

.product-tabs button.active,.product-tabs button:hover {
  color:var(--red)
}

.product-carousel {
  position:relative
}

.product-grid {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:calc(54 * var(--u))
}

.product-card {
  box-shadow:0 0 17px #00000009;
  border:1px solid #f2f2f2;
  background:#fff;
  transition:box-shadow .2s
}

.product-image {
  height:calc(235 * var(--u));
  display:flex;
  align-items:center;
  justify-content:center;
  border-bottom:1px solid #f6f6f6
}

.product-image img {
  width:80%;
  height:auto
}

.product-info {
  height:calc(239 * var(--u));
  text-align:center;
  padding:calc(32 * var(--u)) calc(25 * var(--u)) 0
}

.product-info h3 {
  font-size:calc(28 * var(--u));
  font-weight:400;
  line-height:1.4
}

.product-info p {
  font-size:calc(14 * var(--u));
  line-height:1.6;
  margin-top:calc(9 * var(--u));
  min-height:calc(60 * var(--u))
}

.detail-button {
  font-size:calc(14 * var(--u));
  margin-top:calc(28 * var(--u));
  padding:calc(7 * var(--u)) calc(28 * var(--u));
  border-radius:25px;
  background:none;
  border:1px solid #eee;
  line-height:1.5
}

.product-card.active .product-info {
  background:var(--red);
  color:#fff
}

.product-card.active .detail-button {
  border-color:#ffffff55
}

.product-card:hover .detail-button {
  background:var(--red);
  border-color:var(--red);
  color:#fff
}

.carousel-arrow {
  position:absolute;
  top:calc(205 * var(--u));
  width:calc(64 * var(--u));
  height:calc(64 * var(--u));
  border-radius:50%;
  background:white;
  box-shadow:0 0 15px #0000000b;
  font-size:calc(42 * var(--u));
  font-weight:200;
  line-height:1;
  color:#aaa
}

.carousel-arrow.prev {
  left:calc(-110 * var(--u))
}

.carousel-arrow.next {
  right:calc(-110 * var(--u))
}

.empty-products {
  text-align:center;
  padding:80px 10px;
  color:#888
}

/* 应用场景：原稿合并背景上方使用可编辑文字层 */
.applications {
  position:relative;
  height:calc(858 * var(--u));
  background:#384b54 url('../images/application.jpg') center/100% 100% no-repeat;
  color:#fff;
  overflow:hidden
}

.application-copy {
  position:absolute;
  left:10.9375%;
  top:calc(112 * var(--u));
  width:calc(900 * var(--u));
  padding:calc(0 * var(--u)) calc(12 * var(--u)) calc(28 * var(--u)) 0;
  background:linear-gradient(90deg,#4d6b79 0%,#4c6875 65%,#4c687500 100%)
}

.application-copy h2 {
  font-size:calc(44 * var(--u));
  font-weight:500;
  line-height:1.5
}

.short-line {
  display:block;
  width:calc(45 * var(--u));
  height:3px;
  background:var(--red);
  margin:calc(11 * var(--u)) 0 calc(22 * var(--u))
}

.application-copy p {
  width:95%;
  font-size:calc(15 * var(--u));
  line-height:1.7
}

.application-copy>a {
  display:inline-block;
  font-size:calc(15 * var(--u));
  margin-top:calc(47 * var(--u))
}

.application-tabs {
  position:absolute;
  left:10.9375%;
  right:10.9375%;
  bottom:calc(82 * var(--u));
  display:grid;
  grid-template-columns:1.65fr repeat(7,1fr);
  align-items:end;
  height:calc(220 * var(--u))
}

.application-tabs button {
  height:calc(120 * var(--u));
  background:#fff;
  color:#999;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  border-right:1px solid #ddd;
  font-size:calc(16 * var(--u));
  line-height:1.5
}

.application-tabs button span {
  font-size:calc(44 * var(--u));
  color:#ddd;
  line-height:1.2;
  margin-bottom:calc(12 * var(--u))
}

.application-tabs button.active {
  height:calc(220 * var(--u));
  border-radius:8px 8px 0 0;
  background:var(--red);
  color:#fff;
  border:0
}

.application-tabs button.active span {
  color:#fff;
  font-size:calc(70 * var(--u))
}

/* 业务咨询 */
.contact {
  height:calc(1001 * var(--u));
  background:#fdfdfd;
  padding-top:calc(110 * var(--u));
  overflow:hidden
}

.contact-layout {
  position:relative;
  display:grid;
  grid-template-columns:43% 57%;
  height:100%
}

.contact-left {
  position:relative;
  z-index:2
}

.contact-left h2 {
  font-size:calc(42 * var(--u));
  font-weight:600;
  line-height:1.4
}

.contact-left>p {
  font-size:calc(15 * var(--u));
  line-height:1.7;
  margin-top:calc(17 * var(--u));
  max-width:650px
}

.office-list {
  display:flex;
  flex-direction:column;
  gap:calc(16 * var(--u));
  width:calc(460 * var(--u));
  margin-top:calc(85 * var(--u))
}

.office-list .office-item {
  display:flex;
  justify-content:space-between;
  align-items:center;
  height:calc(54 * var(--u));
  padding:0 calc(29 * var(--u));
  background:#fff;
  border:1px solid #eee;
  box-shadow:0 2px 5px #00000003;
  font-size:calc(16 * var(--u));
  text-align:left
}

.office-list .office-item span {
  color:var(--red)
}



.contact-map {
  position:absolute;
  width:75%;
  right:calc(-70 * var(--u));
  top:calc(20 * var(--u));
  height:calc(840 * var(--u))
}

.contact-map>img {
  width:100%;
  height:100%;
  object-fit:contain
}

/* 新闻中心 */
.news {
  height:calc(1183 * var(--u));
  padding-top:calc(98 * var(--u));
  background:#f7f7f7
}

.featured-news {
  position:relative;
  height:calc(483 * var(--u));
  margin-top:calc(66 * var(--u));
  overflow:hidden
}

.featured-news>img {
  width:100%;
  height:100%;
  object-fit:cover
}

.featured-copy {
  position:absolute;
  top:0;
  right:0;
  width:50%;
  height:calc(340 * var(--u));
  padding:calc(40 * var(--u)) calc(72 * var(--u));
  background:#fff
}

.featured-copy h3 {
  font-size:calc(20 * var(--u));
  line-height:1.65;
  font-weight:600
}

.featured-copy p {
  font-size:calc(14 * var(--u));
  line-height:1.5;
  margin-top:calc(23 * var(--u));
  color:#888
}

.featured-copy>div {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-top:calc(34 * var(--u))
}

.featured-copy .primary-button {
  background:red;
  font-size:calc(14 * var(--u));
  padding:calc(8 * var(--u)) calc(26 * var(--u))
}

.featured-copy time {
  font-size:calc(16 * var(--u));
  color:#aaa
}

.news-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:calc(18 * var(--u));
  margin-top:calc(27 * var(--u))
}

.news-card {
  background:#fff;
  height:calc(320 * var(--u));
  padding:calc(43 * var(--u)) calc(52 * var(--u));
  position:relative
}

.news-card h3 {
  font-size:calc(18 * var(--u));
  line-height:1.65;
  font-weight:500
}

.news-card time {
  display:block;
  color:#aaa;
  font-size:calc(13 * var(--u));
  margin-top:calc(14 * var(--u))
}

.news-card p {
  font-size:calc(13 * var(--u));
  line-height:1.65;
  color:#999;
  margin-top:calc(25 * var(--u))
}

.text-button {
  display:block;
  margin:calc(27 * var(--u)) 0 0 auto;
  padding:0;
  background:none;
  font-size:calc(12 * var(--u))
}

.text-button:hover {
  color:var(--red)
}

/* 合作伙伴 */
.partners {
  height:calc(711 * var(--u));
  padding-top:calc(103 * var(--u));
  background:white
}

.partner-grid {
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:calc(29 * var(--u)) calc(19 * var(--u));
  margin-top:calc(76 * var(--u))
}

.partner-grid img {
  width:100%;
  aspect-ratio:234/106;
  object-fit:contain;
  border:1px solid #f4f4f4
}

/* 页脚 */
.site-footer {
  height:calc(482 * var(--u));
  color:#777;
  background:#1a1a1a url('../images/footer-bg.png') center/cover no-repeat
}

.footer-main {
  display:grid;
  grid-template-columns:27% 57% 16%;
  padding-top:calc(90 * var(--u));
  height:calc(350 * var(--u))
}

.hotline {
  border-right:1px solid #333
}

.hotline h3 {
  font-size:calc(23 * var(--u));
  font-weight:400;
  color:#ddd
}

.hotline h3:after {
  content:"";
  display:block;
  background:#777;
  width:22px;
  height:2px;
  margin:calc(12 * var(--u)) 0
}

.hotline>a {
  font-size:calc(42 * var(--u));
  font-family:Arial,sans-serif;
  font-weight:600;
  color:var(--red);
  line-height:1.1
}

.hotline p {
  font-size:calc(13 * var(--u));
  margin-top:calc(12 * var(--u))
}

.footer-columns {
  display:grid;
  grid-template-columns:repeat(5,1fr);
  padding:0 calc(48 * var(--u));
  border-right:1px solid #333;
  gap:calc(30 * var(--u))
}

.footer-column h3 {
  font-size:calc(22 * var(--u));
  font-weight:400;
  color:#ddd;
  white-space:nowrap;
  margin-bottom:calc(10 * var(--u))
}

.footer-column a {
  display:block;
  font-size:calc(14 * var(--u));
  line-height:2.1;
  white-space:nowrap
}

.footer-column a:hover {
  color:#eee
}

.wechat {
  display:flex;
  flex-direction:column;
  align-items:center
}

.wechat img {
  width:calc(153 * var(--u));
  height:calc(153 * var(--u));
  object-fit:contain
}

.wechat p {
  font-size:calc(13 * var(--u));
  margin-top:calc(12 * var(--u))
}

.footer-friends {
  height:calc(64 * var(--u));
  border-top:1px solid #333;
  border-bottom:1px solid #333;
  display:flex;
  align-items:center;
  font-size:calc(13 * var(--u))
}

.footer-bottom {
  height:calc(68 * var(--u));
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-size:calc(13 * var(--u))
}

/* 详情弹窗 */
dialog {
  width:min(620px,90vw);
  border:0;
  padding:35px;
  border-radius:6px;
  color:#444;
  box-shadow:0 20px 70px #0004
}

dialog::backdrop {
  background:#0008
}

dialog h2 {
  font-size:24px;
  margin:0 30px 20px 0
}

#dialog-content p {
  margin:12px 0
}

#dialog-content {
  line-height:1.9
}

.dialog-close {
  position:absolute;
  right:12px;
  top:5px;
  font-size:32px;
  background:none;
  color:#888
}

.dialog-confirm {
  display:block;
  margin:25px 0 0 auto;
  background:var(--red);
  color:#fff;
  padding:8px 24px;
  border-radius:3px
}

/* 平板与手机：保持简单文档流，方便继续调整 */
@media(min-width:1921px) {
  .site-header {
    padding-inline:max(7%,calc((100% - 1654px)/2))
  }

  .hero {
    background-size:cover
  }

}

@media(max-width:900px) {
  :root {
    --u:.75px
  }

  body {
    font-size:14px
  }

  .container {
    width:90%
  }

  .site-header {
    height:70px;
    padding:0 5%;
    gap:12px;
    justify-content:space-between
  }

  .brand {
    font-size:21px
  }

  .brand img {
    width:56px
  }

  .menu-toggle {
    display:block;
    margin-left:auto;
    background:none;
    color:#fff;
    font-size:26px
  }

  .main-nav {
    display:none;
    position:absolute;
    left:0;
    right:0;
    top:70px;
    margin:0;
    padding:12px 5%;
    background:#202238;
    flex-wrap:wrap;
    gap:0;
    box-shadow:0 8px 15px #0002
  }

  .main-nav.open {
    display:flex
  }

  .main-nav a {
    width:33.333%;
    padding:12px 0;
    font-size:14px
  }

  .main-nav a.active:after {
    display:none
  }

  .header-tools {
    margin:0;
    gap:10px
  }

  .header-tools button {
    width:32px;
    height:32px;
    font-size:20px
  }

  .hero {
    height:600px;
    background-size:auto 100%;
    background-position:57% center
  }

  .hero-copy {
    padding-top:205px
  }

  .hero h1 {
    font-size:32px
  }

  .hero-english {
    font-size:12px;
    letter-spacing:1px
  }

  .hero-description {
    font-size:14px;
    max-width:490px;
    margin-top:25px;
    margin-bottom:35px
  }

  .primary-button {
    font-size:14px
  }

  .hero-dots {
    bottom:30px
  }

  .hero-dots button {
    width:8px;
    height:8px
  }

  .section-title {
    font-size:28px
  }

  .about,.products,.applications,.contact,.news,.partners,.site-footer {
    height:auto
  }

  .about,.products,.news,.partners {
    padding:60px 0
  }

  .about-description {
    font-size:13px;
    line-height:1.9;
    width:100%;
    margin-top:30px
  }

  .stats {
    width:100%;
    margin:30px auto
  }

  .stats strong {
    font-size:36px
  }

  .stats span {
    font-size:11px
  }

  .stats sup {
    font-size:12px
  }

  .company-visual {
    aspect-ratio:1500/650
  }

  .play-icon {
    width:40px;
    height:40px;
    font-size:18px
  }

  .product-tabs {
    flex-wrap:wrap;
    gap:15px 20px;
    margin:25px 0 30px
  }

  .product-tabs button {
    font-size:13px
  }

  .product-grid {
    gap:16px;
    grid-template-columns:repeat(2,1fr)
  }

  .product-image {
    height:140px
  }

  .product-info {
    height:180px;
    padding:22px 15px 0
  }

  .product-info h3 {
    font-size:22px
  }

  .product-info p {
    font-size:12px;
    min-height:45px
  }

  .detail-button {
    font-size:12px;
    margin-top:15px;
    padding:5px 18px
  }

  .carousel-arrow {
    top:125px;
    width:32px;
    height:32px;
    font-size:28px
  }

  .carousel-arrow.prev {
    left:-15px
  }

  .carousel-arrow.next {
    right:-15px
  }

  .applications {
    height:620px;
    background-size:auto 100%;
    background-position:center
  }

  .application-copy {
    left:5%;
    top:55px;
    width:80%;
    padding:15px 20px 20px 0
  }

  .application-copy h2 {
    font-size:30px
  }

  .application-copy p {
    font-size:13px
  }

  .application-copy>a {
    font-size:13px;
    margin-top:25px
  }

  .application-tabs {
    left:5%;
    right:5%;
    bottom:35px;
    height:auto;
    grid-template-columns:repeat(4,1fr);
    gap:1px;
    align-items:stretch
  }

  .application-tabs button,.application-tabs button.active {
    height:90px;
    border-radius:0;
    font-size:11px;
    border:0
  }

  .application-tabs button span,.application-tabs button.active span {
    font-size:30px;
    margin-bottom:6px
  }

  .contact {
    padding:60px 0 30px
  }

  .contact-layout {
    display:block
  }

  .contact-left h2 {
    font-size:28px
  }

  .contact-left>p {
    font-size:13px;
    max-width:none
  }

  .office-list {
    width:100%;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
    margin-top:25px
  }

  .office-list .office-item {
    height:42px;
    font-size:13px;
    padding:0 15px
  }

  .contact-map {
    position:relative;
    width:100%;
    height:auto;
    aspect-ratio:1123/998;
    right:auto;
    top:0
  }

  .contact-map>img {
    height:100%;
    width:100%
  }

  .featured-news {
    height:auto;
    overflow:visible;
    margin-top:35px
  }

  .featured-news>img {
    height:260px;
    object-fit:cover
  }

  .featured-copy {
    position:relative;
    width:100%;
    height:auto;
    padding:25px
  }

  .featured-copy h3 {
    font-size:18px
  }

  .featured-copy p {
    font-size:13px;
    margin-top:15px
  }

  .featured-copy>div {
    margin-top:20px
  }

  .featured-copy .primary-button {
    font-size:12px;
    padding:7px 20px
  }

  .featured-copy time {
    font-size:13px
  }

  .news-grid {
    gap:12px;
    margin-top:20px
  }

  .news-card {
    height:auto;
    padding:20px
  }

  .news-card h3 {
    font-size:15px
  }

  .news-card time {
    font-size:11px;
    margin-top:10px
  }

  .news-card p {
    font-size:12px;
    margin-top:15px
  }

  .text-button {
    font-size:10px;
    margin-top:20px
  }

  .partner-grid {
    gap:12px;
    grid-template-columns:repeat(3,1fr);
    margin-top:35px
  }

  .footer-main {
    height:auto;
    padding-top:40px;
    padding-bottom:30px;
    grid-template-columns:1fr 120px;
    gap:30px
  }

  .hotline {
    border:0
  }

  .hotline h3 {
    font-size:18px
  }

  .hotline>a {
    font-size:29px
  }

  .hotline p {
    font-size:11px
  }

  .footer-columns {
    grid-column:1/-1;
    grid-row:2;
    padding:0;
    border:0;
    gap:16px
  }

  .footer-column h3 {
    font-size:15px
  }

  .footer-column a {
    font-size:11px
  }

  .wechat {
    grid-column:2;
    grid-row:1
  }

  .wechat img {
    width:100px;
    height:100px
  }

  .wechat p {
    font-size:11px
  }

  .footer-friends {
    height:auto;
    padding:15px 0;
    font-size:11px
  }

  .footer-bottom {
    height:auto;
    display:block;
    padding:15px 0;
    font-size:10px
  }

  .footer-bottom span {
    display:block
  }

}

@media(max-width:520px) {
  .header-tools {
    display:none
  }

  .hero {
    height:540px;
    background-position:52% center
  }

  .hero-copy {
    padding-top:180px
  }

  .hero h1 {
    font-size:29px;
    letter-spacing:0
  }

  .hero-description {
    font-size:13px;
    max-width:280px
  }

  .hero-description br {
    display:none
  }

  .stats {
    grid-template-columns:repeat(2,1fr);
    gap:25px 0
  }

  .stats strong {
    font-size:34px
  }

  .stats>div:nth-child(3):before {
    display:none
  }

  .stats span {
    font-size:12px
  }

  .product-image {
    height:115px
  }

  .product-info {
    height:190px;
    padding:20px 12px 0
  }

  .product-info p {
    font-size:11px
  }

  .application-copy {
    width:90%
  }

  .application-copy p {
    width:100%;
    font-size:12px
  }

  .news-grid {
    grid-template-columns:1fr
  }

  .news-card {
    padding:25px
  }

  .news-card h3 {
    font-size:16px
  }

  .footer-columns {
    grid-template-columns:repeat(3,1fr);
    row-gap:25px
  }

  .footer-main {
    grid-template-columns:1fr 95px;
    gap:25px
  }

  .wechat img {
    width:85px;
    height:85px
  }

  .hotline>a {
    font-size:25px
  }

  .hotline p {
    font-size:10px
  }

  .contact-map {
    margin-top:20px
  }

}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto
  }

  * {
    transition:none!important
  }

}

/* 应用场景：默认等宽，悬停后平滑变宽、上抬并变红。 */
.applications {
  background-size: cover;
}
.application-copy {
  background: none;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .38);
}
.application-tabs {
  display: flex;
  gap: 0;
  align-items: flex-end;
}
.application-tabs button {
  flex: 1 1 0;
  min-width: 0;
  height: calc(120 * var(--u));
  border-radius: 0;
  transition: flex-basis .42s ease, flex-grow .42s ease, height .42s ease, background-color .3s ease, color .3s ease, border-radius .3s ease;
}
.application-tabs button span {
  transition: color .3s ease, font-size .42s ease;
}
.application-tabs button:hover,
.application-tabs button:focus-visible {
  flex-grow: 1.65;
  height: calc(220 * var(--u));
  border-radius: 8px 8px 0 0;
  background: var(--red);
  color: white;
}
.application-tabs button:hover span,
.application-tabs button:focus-visible span {
  color: white;
  font-size: calc(70 * var(--u));
}
/* 滚动动效：不影响文档布局，关闭 JavaScript 时内容仍正常显示。 */
.scroll-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .65, .3, 1);
}
.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 900px) {
  .application-tabs {
    overflow-x: auto;
    height: 150px;
    align-items: flex-end;
  }
  .application-tabs button {
    flex: 1 0 82px;
    height: 90px;
    font-size: 12px;
  }
  .application-tabs button:hover,
  .application-tabs button:focus-visible {
    flex-basis: 135px;
    height: 140px;
  }
  .application-tabs button:hover span,
  .application-tabs button:focus-visible span {
    font-size: 42px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* 企业宣传片弹窗 */
.video-dialog {
  width: min(1000px, 94vw);
  margin: auto;
  padding: 24px;
  background: #15171c;
  color: #fff;
}
.video-dialog::backdrop {
  background: rgba(0, 0, 0, .78);
}
.video-dialog h2 {
  font-size: 20px;
  margin: 0 35px 20px 0;
}
.video-dialog video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  object-fit: contain;
}
.video-close {
  position: absolute;
  top: 8px;
  right: 14px;
  font-size: 32px;
  background: none;
  color: white;
}
#video-message {
  padding-top: 16px;
  color: #ddd;
  font-size: 14px;
}

/* 语言选择：保留源稿的地球图标。 */
.language-switch {
  position: relative;
}
.language-toggle img {
  width: calc(18 * var(--u));
  height: calc(18 * var(--u));
  object-fit: contain;
}
.language-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 14px);
  width: 174px;
  padding: 7px;
  background: white;
  border-radius: 5px;
  box-shadow: 0 10px 30px #0003;
  color: #333;
}
.language-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  right: 14px;
  width: 12px;
  height: 12px;
  background: white;
  transform: rotate(45deg);
}
.header-tools .language-menu button {
  display: flex;
  justify-content: space-between;
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 0;
  border-radius: 3px;
  color: #444;
  font-size: 14px;
}
.header-tools .language-menu .current {
  color: var(--red);
  background: #fff1f3;
}
.header-tools .language-menu button:disabled {
  opacity: .5;
  cursor: default;
}
.language-menu small {
  font-size: 11px;
}
/* 首屏横向轮播：默认每5秒切换，鼠标停留或键盘操作时暂停。 */
.hero {
  overflow: hidden;
  background: #1e1e34;
}
.hero-track {
  display: flex;
  height: 100%;
  transition: transform .75s cubic-bezier(.22, .61, .36, 1);
}
.hero-slide {
  flex: 0 0 100%;
  min-width: 0;
  height: 100%;
  background-position: center;
  background-size: cover;
}
.hero-primary {
  background-image: url('../images/hero.jpg');
}
.hero-company {
  background-image: linear-gradient(90deg, #101a32dd, #101a3233), url('../images/company.jpg');
}
.hero-energy {
  background-image: linear-gradient(90deg, #10243ac9, #10243a22), url('../images/application.jpg');
}
.hero-dots button {
  padding: 0;
  border: 0;
  cursor: pointer;
}
.hero-pause {
  position: absolute;
  bottom: calc(37 * var(--u));
  right: 5%;
  width: 36px;
  height: 36px;
  border: 1px solid #fff6;
  border-radius: 50%;
  background: #0002;
  color: white;
}
@media (max-width: 900px) {
  .language-toggle img { width: 18px; height: 18px; }
  .main-nav a { justify-content: center; }
}
@media (max-width: 520px) {
  .header-tools { display: flex; }
  .header-tools .search-toggle { display: inline-grid; }
  .hero-slide { background-position: 52% center; }
}

/* 首页轮播按钮：细线箭头与文字垂直居中。 */
.hero-link-arrow { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
/* 全站搜索弹窗 */
body.search-is-open { overflow: hidden; }
.search-dialog { width: min(760px, calc(100vw - 40px)); max-height: min(760px, calc(100dvh - 80px)); margin: auto; padding: 36px; border: 0; border-radius: 16px; background: #fff; color: #333; box-shadow: 0 24px 100px #0003; overflow-y: auto; }
.search-dialog::backdrop { background: #11182799; backdrop-filter: blur(5px); }
.search-dialog-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 25px; }
.search-dialog-heading p { font: 12px Arial, sans-serif; letter-spacing: 2px; color: var(--red); margin-bottom: 8px; }
.search-dialog-heading h2 { font-size: 26px; font-weight: 500; }
.search-close { width: 36px; height: 36px; padding: 0; background: #f5f5f5; border: 0; border-radius: 50%; font-size: 27px; line-height: 1; color: #777; }
.global-search-form { display: flex; align-items: center; gap: 12px; border: 1px solid #ddd; border-radius: 8px; padding: 6px 6px 6px 16px; transition: border-color .2s; }
.global-search-form:focus-within { border-color: var(--red); }
.global-search-form svg { width: 21px; height: 21px; fill: none; stroke: #999; stroke-width: 1.5; flex-shrink: 0; }
.global-search-form input { width: 100%; min-width: 0; border: 0; outline: none; padding: 10px 0; background: transparent; font-size: 16px; }
.global-search-form > button { border: 0; border-radius: 5px; background: var(--red); color: white; padding: 12px 25px; flex-shrink: 0; font-size: 16px; }
.search-popular { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin: 17px 0 26px; font-size: 13px; }
.search-popular span { color: #999; margin-right: 3px; }
.search-popular button { background: #f5f5f5; border: 0; border-radius: 4px; color: #666; padding: 6px 10px; }
.search-popular button:hover { color: var(--red); background: #fff0f3; }
.search-status { font-size: 14px; color: #888; padding-bottom: 14px; }
.search-results { display: grid; gap: 10px; }
.search-result-card { display: block; border: 1px solid #eee; border-radius: 8px; padding: 19px 20px; transition: background .2s, border-color .2s; }
.search-result-card:hover { background: #fff9fa; border-color: #ffc7d1; }
.search-result-card h3 { font-size: 18px; font-weight: 500; margin-bottom: 8px; }
.search-result-card p { font-size: 14px; color: #888; line-height: 1.8; overflow-wrap: anywhere; }
.search-result-label { display: block; color: var(--red); margin-top: 10px; font-size: 12px; }
.search-dialog mark { color: var(--red); background: #fff0f3; }
@media (max-width: 600px) {
  .header-tools .search-toggle { display: inline-block; }
  .search-dialog { width: calc(100vw - 24px); max-height: calc(100dvh - 40px); padding: 23px 18px; border-radius: 12px; }
  .search-dialog-heading h2 { font-size: 22px; }
  .global-search-form { gap: 8px; padding-left: 10px; }
  .global-search-form > button { padding: 11px 16px; }
  .global-search-form input { font-size: 14px; }
  .search-result-card { padding: 16px; }
}
/* 导航素材与滚动悬浮 */
.site-header { position: fixed; z-index: 100; transition: background .25s, box-shadow .25s, color .25s; }
.brand { color: #e42c22; }
.header-tools .search-toggle img, .header-tools .language-toggle img { width: 20px; height: 20px; object-fit: contain; display: block; }
.site-header.is-scrolled { background: #fffffff5; color: #444; border-bottom-color: #eee; box-shadow: 0 3px 18px #0000000d; backdrop-filter: blur(10px); }
.site-header.is-scrolled .main-nav a.active::after, .site-header.is-scrolled .main-nav a:hover::after { background: var(--red); }
.site-header.is-scrolled .header-tools > button, .site-header.is-scrolled .language-toggle { border-color: #e7e7e7; background: #f7f7f7; }
.site-header.is-scrolled .search-toggle img, .site-header.is-scrolled .language-toggle img { filter: brightness(.35); }
.site-header.is-scrolled .menu-toggle { color: #444; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }

/* 业务咨询：左侧为可编辑 HTML，右侧保留原稿地图图片。 */
.contact { height: calc(991 * var(--u)); background: #fff; }
.contact-map { width: calc(1123 * var(--u)); height: calc(991 * var(--u)); right: calc(-201 * var(--u)); top: calc(-110 * var(--u)); pointer-events: none; }
.contact-map > img { object-fit: contain; mask-image: linear-gradient(to right, transparent, #000 16%, #000); }
.office-list .office-item { border: 0; box-shadow: 0 0 7px #00000014; color: #777; font-size: calc(18 * var(--u)); }

@media (max-width: 900px) {
  .contact { height: auto; padding: 60px 0 30px; }
  .contact-map { position: relative; width: 100%; height: auto; aspect-ratio: 1123 / 991; right: auto; top: auto; margin-top: 25px; }
  .contact-map > img { mask-image: none; }
  .office-list .office-item { font-size: 14px; }
}

/* 应用场景统一线条图标；标题与业务咨询统一。 */
.application-copy h2 { font-size: calc(42 * var(--u)); font-weight: 600; line-height: 1.4; }
.application-tabs .scene-icon { display: block; width: 1em; height: 1em; margin: auto; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 900px) { .application-copy h2 { font-size: 28px; } }

/* 场景图片交叉淡入，文字和导航始终位于遮罩上方。 */
.applications { background-image: url('../images/scenes/driving-custom.png'); }
.scene-background { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0; transition: opacity .55s ease; pointer-events: none; }
.scene-background.is-current { opacity: 1; }
.applications::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, #06131bb3 0%, #06131b66 45%, #06131b15 100%); }
.application-copy, .application-tabs { z-index: 2; }
@media (prefers-reduced-motion: reduce) { .scene-background { transition: none; } }

/* Logo 文字随导航底色切换，红色标志保持原色。 */
.site-header .brand { color: white; }
.site-header.is-scrolled .brand { color: #222; }

.product-info { height: auto; min-height: calc(239 * var(--u)); padding-bottom: 24px; }
.product-info p { min-height: 0; }
.carousel-arrow:disabled { visibility: hidden; }

/* 首页产品保留四列横向滑动，图片限定尺寸，按钮与介绍留出间距。 */
.products .product-grid { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * var(--product-gap)) / 4); --product-gap: calc(54 * var(--u)); gap: var(--product-gap); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.products .product-grid::-webkit-scrollbar { display: none; }
.products .product-card { min-width: 0; scroll-snap-align: start; }
.products .product-image { height: calc(235 * var(--u)); }
.products .product-image img { width: 60%; max-width: 180px; height: 145px; max-height: 72%; object-fit: contain; }
.products .product-info { padding: 28px 22px 30px; }
.products .product-info p { line-height: 1.8; margin-top: 12px; }
.products .detail-button { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; margin-top: 30px; padding: 8px 28px; }
@media (max-width: 900px) {
  .products .product-grid { --product-gap: 20px; grid-auto-columns: calc((100% - var(--product-gap)) / 2); }
  .products .product-image { height: 200px; }
  .products .product-info { padding: 24px 20px 28px; }
}
@media (max-width: 600px) {
  .products .product-grid { --product-gap: 16px; grid-auto-columns: 88%; }
}

/* CMS 分页（a 链接）与搜索页 */
.information-pagination a,
.catalog-pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: calc(42 * var(--u));
  height: calc(42 * var(--u));
  background: #e8e9ec;
  color: #888;
  font-size: calc(16 * var(--u));
  text-decoration: none;
}
.information-pagination a[aria-label="上一页"],
.information-pagination a[aria-label="下一页"],
.catalog-pagination a[aria-label="上一页"],
.catalog-pagination a[aria-label="下一页"] {
  font-size: calc(30 * var(--u));
  line-height: 1;
}
.information-pagination a.page-num-current,
.catalog-pagination a.page-num-current {
  background: var(--red);
  color: #fff;
}
.search-form {
  display: flex;
  gap: 12px;
  max-width: 680px;
  margin: 0 auto 40px;
}
.search-form input {
  flex: 1;
  height: 48px;
  padding: 0 18px;
  border: 1px solid #ddd;
  background: #fff;
  font-size: 16px;
  outline: none;
}
.search-form input:focus { border-color: var(--red); }
.search-form button {
  height: 48px;
  padding: 0 30px;
  border: 0;
  background: var(--red);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
}
@media (max-width: 900px) {
  .information-pagination a,
  .catalog-pagination a { width: 36px; height: 36px; font-size: 14px; }
}
