﻿/* ===== Hero Carousel ===== */
.hero {
  position: relative;
  height: 90vh;
  min-height: 620px;
  color: #fff;
  overflow: hidden;
  isolation: isolate
}

.hero-track {
  position: absolute;
  inset: 0;
  z-index: 0
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.08);
  background-size: cover;
  background-position: center;
  transition: opacity 1.1s ease, transform 7s ease
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(10, 45, 110, .9) 0%, rgba(13, 61, 138, .78) 40%, rgba(13, 61, 138, .4) 80%), linear-gradient(180deg, transparent 0%, rgba(15, 29, 51, .55) 100%)
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1)
}

.hero-slide::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  background: radial-gradient(circle at 75% 30%, rgba(0, 55, 145, .22), transparent 55%);
  z-index: 0
}

.hero .wrap {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center
}

.hero-inner {
  max-width: 720px;
  position: relative
}

.hero-caption {
  position: relative;
  overflow: hidden
}

/* ===== 首帧兜底:避免打开瞬间三个标题重叠 =====
   只显示第一个标题;后两个默认隐藏并绝对定位(与 JS 运行后状态一致)
   这样即使 JS 尚未执行,首帧布局也是正确的 */
#cap1 {
  opacity: 1;
  pointer-events: auto
}

#cap2,
#cap3 {
  opacity: 0;
  pointer-events: none;
  position: absolute;
  inset: 0
}

.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent-on-dark);
  margin-bottom: 22px;
  padding: 7px 18px;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 40px;
  background: rgba(0, 55, 145, .1)
}

.hero .eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-on-dark);
  box-shadow: 0 0 14px var(--accent-on-dark)
}

.hero h1 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(42px, 6vw, 78px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: .005em;
  margin-bottom: 20px
}

.hero h1 .accent {
  color: var(--accent-on-dark);
  font-style: italic
}

.hero p.lead {
  font-size: 18px;
  color: #cfe0f7;
  max-width: 580px;
  margin-bottom: 36px;
  font-weight: 300;
  line-height: 1.7
}

.hero-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 4
}

.hero-dots button {
  width: 38px;
  height: 4px;
  border: none;
  cursor: pointer;
  border-radius: 3px;
  background: rgba(255, 255, 255, .3);
  transition: .35s;
  padding: 0
}

.hero-dots button.active {
  background: var(--accent-on-dark);
  width: 58px
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, .2);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: .25s
}

.hero-arrow:hover {
  background: var(--accent-on-dark);
  border-color: var(--accent-on-dark)
}

.hero-arrow svg {
  width: 20px;
  height: 20px
}

.hero-arrow.prev {
  left: 24px
}

.hero-arrow.next {
  right: 24px
}

@media(max-width:768px) {
  .hero-arrow {
    display: none
  }

  .hero {
    min-height: auto;
    padding: 30px 0;
    height: auto
  }

  .hero h1 {
    font-size: clamp(26px, 7vw, 42px);
    line-height: 1.08
  }

  .hero h1 .accent {
    white-space: nowrap
  }

  .hero p.lead {
    font-size: 14.5px;
    line-height: 1.65;
    margin-bottom: 28px
  }

  .hero .eyebrow {
    display: none;
    font-size: 10.5px;
    letter-spacing: .18em;
    margin-bottom: 18px;
    padding: 6px 14px
  }
}

/* ===== Stats ===== */
.stats {
  background: var(--blue-0);
  position: relative;
  border-bottom: 1px solid rgba(0, 55, 145, .15)
}

.stats::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-on-dark), transparent)
}

.stats .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 50px 28px
}

.stat {
  text-align: center;
  position: relative;
  padding: 0 14px
}

.stat:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 54px;
  background: rgba(255, 255, 255, .08)
}

.stat .num {
  font-family: 'Oswald', sans-serif;
  font-size: 50px;
  font-weight: 600;
  color: var(--accent-on-dark);
  line-height: 1
}

.stat .num .plus {
  font-size: .58em
}

.stat .label {
  font-size: 14px;
  color: #a9bedb;
  margin-top: 12px;
  font-weight: 500;
  letter-spacing: .03em
}

/* ===== About ===== */
.about {
  background: var(--mist)
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center
}

.about-text .sec-eyebrow {
  text-align: left;
  display: inline-block
}

.about-text .sec-title {
  text-align: left;
  margin-bottom: 18px
}

.about-text p {
  color: var(--muted);
  margin-bottom: 18px;
  font-size: 15.5px;
  line-height: 1.8
}

.about-text p strong {
  color: var(--ink)
}

.about-feats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 30px 0 38px
}

.about-feat {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid var(--line);
  transition: .25s
}

.about-feat:hover {
  border-color: var(--blue-2);
  box-shadow: 0 14px 30px -16px rgba(10, 30, 80, .22);
  transform: translateY(-3px)
}

.about-feat .ic {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue-brand), var(--blue-2));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff
}

.about-feat .ic svg {
  width: 20px;
  height: 20px
}

.about-feat h4 {
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 4px;
  font-weight: 700
}

.about-feat p {
  font-size: 13px;
  color: var(--muted);
  margin: 0
}

.about-img {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/3
}

.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .6s
}

.about-img:hover img {
  transform: scale(1.06)
}

.about-badge {
  position: absolute;
  left: -22px;
  bottom: 28px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  padding: 22px 28px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 20px 40px -12px rgba(0, 55, 145, .6)
}

.about-badge .big {
  font-family: 'Oswald', sans-serif;
  font-size: 44px;
  line-height: 1;
  font-weight: 600
}

.about-badge .sm {
  font-size: 11px;
  letter-spacing: .12em;
  opacity: .96;
  margin-top: 5px;
  font-weight: 600
}

/* ===== Products cards ===== */
.products {
  background: #fff
}

.prod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px
}

.prod-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px -18px rgba(10, 30, 80, .22);
  transition: .35s;
  cursor: pointer;
  display: flex;
  flex-direction: column
}

.prod-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 58px -22px rgba(10, 30, 80, .32);
  border-color: transparent
}

.prod-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
  background: var(--blue-sky)
}

.prod-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .6s;
  filter: saturate(.9) brightness(.98)
}

.prod-card:hover .prod-img img {
  transform: scale(1.08);
  filter: saturate(1.1) brightness(1)
}

.prod-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(10, 45, 110, .72) 100%)
}

.prod-body {
  padding: 26px 26px 28px;
  flex: 1;
  display: flex;
  flex-direction: column
}

.prod-body h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 24px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 6px
}

.prod-sub {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 14px;
  font-weight: 500
}

.prod-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 18px
}

.prod-tags span {
  font-size: 11.5px;
  padding: 4px 10px;
  border-radius: 5px;
  background: var(--blue-soft);
  color: var(--blue-1);
  letter-spacing: .02em;
  font-weight: 600
}

.prod-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: .03em;
  transition: .25s;
  margin-top: auto
}

.prod-link svg {
  width: 15px;
  height: 15px;
  transition: .25s
}

.prod-card:hover .prod-link svg {
  transform: translateX(6px)
}

/* ===== Why ===== */
.why {
  background: var(--blue-0);
  color: #e9f0fb;
  position: relative;
  overflow: hidden
}

.why::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 20%, rgba(0, 102, 255, .18), transparent 42%), radial-gradient(circle at 85% 80%, rgba(0, 55, 145, .14), transparent 48%)
}

.why .sec-head {
  position: relative
}

.why .sec-title {
  color: #fff
}

.why .sec-desc {
  color: #a9bedb
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  position: relative
}

.why-card {
  padding: 40px 32px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  transition: .35s;
  position: relative;
  overflow: hidden
}

.why-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-on-dark), var(--accent-on-dark));
  transition: .5s
}

.why-card:hover {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(0, 55, 145, .4);
  transform: translateY(-6px)
}

.why-card:hover::before {
  width: 100%
}

.why-num {
  font-family: 'Oswald', sans-serif;
  font-size: 60px;
  font-weight: 300;
  /* 原为 rgba(255,138,30,.35) 橙色；改配色后误变深蓝 rgba(0,55,145,.35)，
     在深蓝卡片(--blue-0)上隐形。按规范深色区强调色用白 → 白色 .35 透明。
     about 页的 .why-num 自带内联颜色，不受此处影响。 */
  color: rgba(255, 255, 255, .35);
  line-height: 1;
  margin-bottom: 14px
}

.why-card h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 25px;
  font-weight: 500;
  margin-bottom: 10px;
  color: #fff
}

.why-card p {
  font-size: 14.5px;
  color: #bfd0ea;
  font-weight: 400;
  line-height: 1.8
}

/* ===== Applications ===== */
.apps {
  background: var(--mist)
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px
}

.app-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 12px 30px -18px rgba(10, 30, 80, .28);
  cursor: pointer
}

.app-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .7s
}

.app-card:hover img {
  transform: scale(1.1)
}

.app-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 30, 80, .05) 0%, rgba(10, 45, 110, .85) 100%);
  transition: .35s
}

.app-card:hover::after {
  background: linear-gradient(180deg, rgba(10, 30, 80, .18) 0%, rgba(13, 61, 138, .92) 100%)
}

.app-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 24px 26px;
  z-index: 1;
  color: #fff;
  transition: .3s
}

.app-card:hover .app-body {
  transform: translateY(-4px)
}

.app-body h4 {
  font-family: 'Oswald', sans-serif;
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 4px;
  letter-spacing: .01em
}

.app-body .sub {
  font-size: 13px;
  color: #cfe0f7;
  font-weight: 500
}

/* ===== Certs ===== */
.certs {
  background: #fff
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px
}

.cert-card {
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px 16px;
  text-align: center;
  transition: .3s
}

.cert-card:hover {
  border-color: var(--blue-brand);
  transform: translateY(-5px);
  box-shadow: 0 16px 34px -16px rgba(10, 30, 80, .22)
}

.cert-ic {
  width: 58px;
  height: 58px;
  margin: 0 auto 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue-brand), var(--blue-2));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 10px 22px -8px rgba(0, 102, 255, .5)
}

.cert-ic svg {
  width: 28px;
  height: 28px
}

.cert-card h4 {
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 4px;
  font-weight: 700
}

.cert-card p {
  font-size: 12px;
  color: var(--muted)
}

/* ===== News ===== */
.news {
  background: var(--mist)
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px
}

.news-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  transition: .35s;
  display: flex;
  flex-direction: column
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 42px -18px rgba(10, 30, 80, .28);
  border-color: transparent
}

.news-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--blue-sky)
}

.news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .6s
}

.news-card:hover .news-img img {
  transform: scale(1.08)
}

.news-body {
  padding: 24px 24px 28px;
  flex: 1;
  display: flex;
  flex-direction: column
}

.news-date {
  font-size: 12.5px;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: .06em;
  margin-bottom: 10px
}

.news-body h4 {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.45;
  margin-bottom: 10px
}

.news-body p {
  font-size: 14px;
  color: var(--muted);
  flex: 1;
  margin-bottom: 16px;
  line-height: 1.7
}

.news-more {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--blue-brand);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: .02em
}

.news-more svg {
  width: 14px;
  height: 14px;
  transition: .25s
}

.news-card:hover .news-more svg {
  transform: translateX(5px)
}

/* ===== Contact ===== */
.contact {
  background: var(--blue-0);
  color: #e9f0fb;
  position: relative;
  overflow: hidden
}

.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 10%, rgba(0, 55, 145, .12), transparent 42%), radial-gradient(circle at 15% 90%, rgba(0, 102, 255, .22), transparent 48%)
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  position: relative
}

.contact-info .sec-eyebrow {
  text-align: left;
  display: inline-block
}

.contact-info .sec-title {
  text-align: left;
  color: #fff;
  margin-bottom: 18px
}

.contact-info>p {
  color: #a9bedb;
  margin-bottom: 34px;
  font-weight: 400;
  line-height: 1.8
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 28px
}

.contact-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start
}

.contact-list .ic {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(0, 55, 145, .12);
  border: 1px solid rgba(0, 55, 145, .3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-on-dark)
}

.contact-list .ic svg {
  width: 22px;
  height: 22px
}

.contact-list h5 {
  font-size: 13px;
  color: #8ea6c8;
  margin-bottom: 4px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase
}

.contact-list p {
  font-size: 17px;
  color: #fff;
  font-weight: 600;
  letter-spacing: .01em
}

.contact-socials {
  display: flex;
  gap: 12px;
  margin-top: 10px
}

.contact-socials a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c5d2e5;
  transition: .25s
}

.contact-socials a:hover {
  background: var(--accent-on-dark);
  border-color: var(--accent-on-dark);
  color: #fff;
  transform: translateY(-4px)
}

.contact-socials svg {
  width: 20px;
  height: 20px
}

.contact-form {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 16px;
  padding: 40px;
  backdrop-filter: blur(10px)
}

.contact-form h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 28px;
  color: #fff;
  margin-bottom: 8px
}

.contact-form .sub {
  font-size: 14px;
  color: #8ea6c8;
  margin-bottom: 28px
}

.field {
  margin-bottom: 18px
}

.field label {
  display: block;
  font-size: 12.5px;
  color: #a9bedb;
  margin-bottom: 8px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase
}

.field input,
.field textarea,
.field select {
  width: 100%;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  padding: 13px 16px;
  color: #fff;
  font-size: 14.5px;
  font-family: inherit;
  transition: .25s
}

.field input::placeholder,
.field textarea::placeholder {
  color: #6e89ad
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(0, 55, 145, .08)
}

.field textarea {
  resize: vertical;
  min-height: 110px
}

.field select {
  background: rgba(255, 255, 255, .06);
  color: #fff;
  appearance: none
}

.field select option {
  background: var(--blue-0);
  color: #fff
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px
}

.contact-form .btn {
  width: 100%;
  justify-content: center;
  margin-top: 6px
}

/* ===== Home responsive ===== */
@media(max-width:1024px) {

  .prod-grid,
  .app-grid,
  .news-grid,
  .why-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .cert-grid {
    grid-template-columns: repeat(3, 1fr)
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px
  }

  .about-img {
    order: -1
  }

  .stats .wrap {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    padding: 3vw
  }

  .stat:nth-child(2)::after {
    display: none
  }
}

@media(max-width:640px) {

  .app-grid,
  .why-grid {
    grid-template-columns: 1fr
  }

  /* 手机端：首页「Main Alloy Product Range」产品卡片改为左右滑动轮播
     （仅 CSS，不改 HTML）。仅作用于首页 .products 区块；
     产品列表页(.prod-main)与桌面/平板(>640px)保持原 grid 布局，不受影响。 */
  .products .prod-grid {
    display: flex;
    grid-template-columns: none;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 2px 2px 16px
  }

  .products .prod-grid::-webkit-scrollbar {
    display: none
  }

  .products .prod-grid>.prod-card {
    flex: 0 0 90%;
    scroll-snap-align: center
  }

  /* 轮播内卡片强制可见，避免 off-screen 卡片触发不到 reveal 动画而一直隐藏 */
  .products .prod-grid>.prod-card.reveal {
    opacity: 1 !important;
    transform: none !important
  }

  /* 手机端：首页「News & Insights」新闻卡片改为左右滑动轮播
     （仅 CSS，不改 HTML）。仅作用于首页 .news 区块；
     新闻列表页(news / company_news / industry_news 的 .news-grid)与桌面/平板(>640px)保持原 grid 布局，不受影响。
     用双类选择器 .news .news-grid(0-2-0) 压过后加载的 pages.css 里的 .news-grid(0-1-0)。 */
  .news .news-grid {
    display: flex;
    grid-template-columns: none;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 2px 2px 16px
  }

  .news .news-grid::-webkit-scrollbar {
    display: none
  }

  .news .news-grid>.news-card {
    flex: 0 0 90%;
    scroll-snap-align: center
  }

  /* 轮播内卡片强制可见，避免 off-screen 卡片触发不到 reveal 动画而一直隐藏 */
  .news .news-grid>.news-card.reveal {
    opacity: 1 !important;
    transform: none !important
  }

  /* 手机端新闻卡正文内边距随屏宽缩放（375px≈11px，320px≈9.6px），比固定 24/28px 更紧凑 */
  .news-body {
    padding: 3vw
  }

  .cert-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .field-row {
    grid-template-columns: 1fr
  }

  .about-feats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px
  }

  .about-feat {
    padding: 12px;
    gap: 9px
  }

  .about-feat>div {
    min-width: 0
  }

  .about-feat .ic {
    width: 34px;
    height: 34px;
    border-radius: 9px
  }

  .about-feat .ic svg {
    width: 17px;
    height: 17px
  }

  .about-feat h4 {
    font-size: 12.5px;
    overflow-wrap: anywhere
  }

  .about-feat p {
    font-size: 11px;
    line-height: 1.4;
    overflow-wrap: anywhere
  }

  .contact-form {
    padding: 28px 22px
  }
}



.lang-switch {
  position: relative;
  font-family: "Titillium Web", Arial, sans-serif;
  color: #fff;
}

.lang-switch summary {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 10px;
  list-style: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  transition: background .2s;
}

.lang-switch summary::-webkit-details-marker {
  display: none;
}

.lang-switch summary:hover,
.lang-switch[open] summary {
  background: rgba(255, 255, 255, .12);
}

.lang-globe {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.lang-chevron {
  width: 11px;
  height: 11px;
  margin-left: 2px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  transition: transform .2s;
}

.lang-switch[open] .lang-chevron {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 100;
  width: 184px;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, .85);
  border-radius: 12px;
  background: rgba(246, 249, 251, .94);
  color: #09192b;
  box-shadow: 0 18px 42px rgba(6, 23, 45, .18);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.lang-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 7px;
  color: inherit;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s;
}

.lang-menu a:hover,
.lang-menu a:focus-visible {
  outline: none;
  background: #e5edf3;
}

.lang-menu a.is-current {
  background: #dce8f0;
}

.lang-menu .flag {
  width: 25px;
  height: 17px;
  flex: none;
  border-radius: 3px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .15);
}

.header.scrolled .lang-switch {
  color: #06172d;
}

.header.scrolled .lang-switch summary:hover,
.header.scrolled .lang-switch[open] summary {
  background: rgba(6, 23, 45, .08);
}

ul.pagination {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 30px 0;
  padding: 0;
  justify-content: center;
}

ul.pagination li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-decoration: none;
  color: #333;
  font-size: 14px;
  transition: all 0.2s ease;
}

ul.pagination li a:hover {
  border-color: #003791;
  color: #003791;
}

ul.pagination li.active a {
  background-color: #003791;
  border-color: #003791;
  color: #fff;
}

/* 共多少条文字，取消边框 */
ul.pagination li:first-child a {
  border: none;
  min-width: auto;
  color: #666;
}



/* ===== 手机端:语言切换器悬浮到右侧(小胶囊按钮,国旗+文字) ===== */
@media (max-width: 768px) {

  .lang-switch,
  #waToggle {
    display: none;
  }

  .lang-switch.f-lang-switch {
    display: block;
  }

  .f-lang-switch .lang-menu {
    display: block;
    top: 0;
    transform: translateY(-100%);
  }

  .hero-actions .btn {
    padding: 3vw;
    font-weight: normal;
    font-size: 12px;
  }

  .stat .num {
    font-size: 30px;
  }

  .about-badge {
    display: none;
    padding: 3vw;
    background: var(--blue-brand);
  }

  .about-badge .big {
    font-size: 8vw;
  }
  .sec-title .hi{background: none;color:var(--ink)}
  .prod-body{padding: 3vw }
  .hero{padding-bottom: 70px;}
}