/* ==== main.css ==== */
/* ==========================================================================
   Variables & Reset
   ========================================================================== */
:root {
  --c-primary: #0a3322;
  --c-primary-light: #eef4f1;
  --c-accent: #000000;
  --c-text-main: #333333;
  --c-text-muted: #666666;
  --c-text-light: #999999;
  --c-bg: #f5f7fa;
  --c-bg-alt: #f0f3f6;
  --c-white: #ffffff;
  --c-border: #e5e7eb;
  
  --font-base: "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.1);
  
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --container-width: 1200px;
  --header-height: 80px;
  
  --transition-fast: 0.2s ease-in-out;
  --transition-normal: 0.3s ease-in-out;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-family: var(--font-base);
  color: var(--c-text-main);
  line-height: 1.5;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--c-bg);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6, p {
  margin: 0;
}

button {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
  outline: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  height: var(--header-height);
  background: var(--c-white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header__logo-img {
  height: 40px;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header__nav-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 15px;
  font-weight: 500;
  color: var(--c-text-main);
  position: relative;
  padding: 8px 0;
  cursor: pointer;
}

.header__nav-item:hover,
.header__nav-item--active {
  color: var(--c-primary);
}

.header__nav-item--active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--c-primary);
}

/* Nav Dropdown */
.nav-item-wrap {
  position: relative;
  display: inline-block;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--c-white);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-sm);
  padding: 8px 0;
  min-width: 140px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
  z-index: 10;
  text-align: center;
}

.nav-item-wrap:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown__item {
  display: block;
  padding: 10px 16px;
  font-size: 14px;
  color: var(--c-text-main);
  transition: var(--transition-fast);
}

.nav-dropdown__item:hover {
  color: var(--c-primary);
  background: var(--c-bg);
}

.header__right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header__action-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--c-text-main);
  font-size: 14px;
}

.header__action-btn:hover {
  color: var(--c-primary);
}

.header__mobile-toggle {
  display: none;
  font-size: 24px;
  color: var(--c-text-main);
}

/* Language Dropdown */
.lang-dropdown {
  position: relative;
}

.lang-dropdown__menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--c-white);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-sm);
  padding: 8px 0;
  min-width: 120px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition-normal);
}

.lang-dropdown:hover .lang-dropdown__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-dropdown__item {
  display: block;
  padding: 8px 16px;
  font-size: 14px;
  color: var(--c-text-main);
}

.lang-dropdown__item:hover {
  background: var(--c-bg);
  color: var(--c-primary);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  height: 600px;
  background-color: #d1dde5; /* fallback */
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to right, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.6) 50%, transparent 100%);
  z-index: 1;
}

.hero > .container {
  position: relative;
  z-index: 2;
}

.hero__content {
  text-align: left;
  max-width: 600px;
}

.hero__subtitle-top {
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--c-text-muted);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero__title {
  font-size: 36px;
  font-weight: 800;
  color: var(--c-primary);
  line-height: 1.1;
  margin-bottom: 12px;
}

.hero__subtitle-main {
  font-size: 20px;
  color: var(--c-text-muted);
  margin-bottom: 40px;
  font-weight: 300;
}

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.hero__tag {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.8);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--c-primary);
  color: var(--c-white);
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 500;
  transition: background var(--transition-fast);
}

.btn:hover {
  background: #08281b;
}

.btn--outline {
  background: transparent;
  color: var(--c-primary);
  border: 1px solid var(--c-border);
}

.btn--outline:hover {
  background: var(--c-bg);
}

.btn--light {
  background: var(--c-white);
  color: var(--c-primary);
  border: 1px solid var(--c-border);
}

.btn--light:hover {
  background: var(--c-bg);
}

/* ==========================================================================
   Section Common
   ========================================================================== */
.section {
  padding: 80px 0;
  background: var(--c-white);
}

.section--alt {
  background: var(--c-bg);
}

.section__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
}

.section__title {
  font-size: 32px;
  font-weight: bold;
  color: var(--c-text-main);
  position: relative;
  padding-bottom: 16px;
}

.section__title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--c-primary);
}

.section__subtitle {
  display: block;
  font-size: 14px;
  color: var(--c-text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 8px;
  font-weight: normal;
}

.section__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--c-text-main);
  display: flex;
  align-items: center;
  gap: 4px;
}

.section__link:hover {
  color: var(--c-primary);
}

/* ==========================================================================
   Products
   ========================================================================== */
.products__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.product-card {
  background: var(--c-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.product-card__img-wrap {
  height: 240px;
  overflow: hidden;
  background: var(--c-bg-alt);
}

.product-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-card__img {
  transform: scale(1.05);
}

.product-card__content {
  padding: 32px;
  flex: 1;
  position: relative;
}

.product-card__title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 12px;
}

.product-card__desc {
  font-size: 14px;
  color: var(--c-text-muted);
  margin-bottom: 24px;
}

.product-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-card__tag {
  font-size: 12px;
  background: var(--c-bg);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  color: var(--c-text-muted);
}

.product-card__arrow {
  position: absolute;
  bottom: 32px;
  right: 32px;
  width: 40px;
  height: 40px;
  background: var(--c-primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-primary);
  transition: background var(--transition-fast), color var(--transition-fast);
}

.product-card:hover .product-card__arrow {
  background: var(--c-primary);
  color: var(--c-white);
}

/* ==========================================================================
   Applications
   ========================================================================== */
.applications__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.app-card {
  position: relative;
  height: 280px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: var(--c-white);
}

.app-card__bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.app-card__overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(10, 51, 34, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  transition: background var(--transition-fast);
}

.app-card:hover .app-card__overlay {
  background: rgba(10, 51, 34, 0.4);
}

.app-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
}

.app-card__title {
  font-size: 16px;
  font-weight: 500;
}

/* ==========================================================================
   About
   ========================================================================== */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about__content {
  max-width: 500px;
}

.about__name {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 16px;
  margin-top: 32px;
}

.about__desc {
  font-size: 15px;
  color: var(--c-text-muted);
  line-height: 1.8;
  margin-bottom: 40px;
}

.about__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 16px;
  margin-bottom: 40px;
}

.about__stat {
  display: flex;
  align-items: center;
  gap: 16px;
}

.about__stat-icon {
  width: 40px;
  height: 40px;
  background: var(--c-primary-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-primary);
}

.about__stat-num {
  font-size: 20px;
  font-weight: bold;
  color: var(--c-text-main);
  display: block;
}

.about__stat-label {
  font-size: 12px;
  color: var(--c-text-muted);
}

.about__img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 500px;
}

.about__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   Cases
   ========================================================================== */
.cases__logos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  align-items: center;
}

.cases__logo-item {
  background: var(--c-white);
  height: 80px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast);
}

.cases__logo-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.cases__logo-img {
  max-width: 100%;
  max-height: 100%;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all var(--transition-fast);
}

.cases__logo-item:hover .cases__logo-img {
  filter: grayscale(0%);
  opacity: 1;
}

/* ==========================================================================
   News
   ========================================================================== */
.news__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news-card {
  background: var(--c-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal);
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.news-card__img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.news-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-card__img {
  transform: scale(1.05);
}

.news-card__date {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--c-white);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: bold;
  text-align: center;
  line-height: 1.2;
}

.news-card__date span {
  display: block;
  font-size: 10px;
  color: var(--c-text-muted);
  font-weight: normal;
}

.news-card__content {
  padding: 24px;
}

.news-card__title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card__desc {
  font-size: 14px;
  color: var(--c-text-muted);
  margin-bottom: 24px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card__footer {
  display: flex;
  justify-content: flex-end;
}

.news-card__arrow {
  color: var(--c-primary);
  font-size: 20px;
  transition: transform var(--transition-fast);
}

.news-card:hover .news-card__arrow {
  transform: translateX(5px);
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq__layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 64px;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--c-white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-item__header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  text-align: left;
  font-size: 16px;
  font-weight: 500;
  color: var(--c-text-main);
}

.faq-item__icon {
  color: var(--c-text-muted);
  transition: transform var(--transition-fast);
}

.faq-item--active .faq-item__icon {
  transform: rotate(45deg);
}

.faq-item__content {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: all var(--transition-normal);
  color: var(--c-text-muted);
  font-size: 14px;
  line-height: 1.6;
}

.faq-item--active .faq-item__content {
  padding-bottom: 24px;
  max-height: 240px;
}

.faq-item__details-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--c-primary);
}

.faq-item__details-btn:hover {
  text-decoration: underline;
}

.faq__contact {
  background: var(--c-primary-light);
  padding: 40px;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.faq__contact-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 24px;
  max-width: 200px;
  position: relative;
  z-index: 1;
}

.faq__contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.faq__contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--c-text-main);
  font-weight: 500;
}

.faq__contact-icon {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 160px;
  height: 160px;
  opacity: 0.1;
  color: var(--c-primary);
  z-index: 0;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--c-primary);
  color: var(--c-white);
  padding: 80px 0 0;
}

.footer__main {
  display: grid;
  grid-template-columns: 2fr 3fr 1.5fr;
  gap: 64px;
  margin-bottom: 64px;
}

.footer__logo-img {
  height: 48px;
  margin-bottom: 24px;
  filter: brightness(0) invert(1);
}

.footer__desc {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 300px;
}

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255,255,255,0.8);
}

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

.footer__col-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 24px;
}

.footer__link-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__link {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}

.footer__link:hover {
  color: var(--c-white);
}

.footer__qrs {
  display: flex;
  gap: 24px;
}

.footer__qr {
  text-align: center;
}

.footer__qr-img {
  width: 100px;
  height: 100px;
  background: var(--c-white);
  padding: 8px;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}

.footer__qr-label {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}

.footer__bottom-links {
  display: flex;
  gap: 24px;
}

/* ==========================================================================
   Search Modal
   ========================================================================== */
.search-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(5px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-modal__content {
  width: 100%;
  max-width: 600px;
  padding: 0 24px;
  position: relative;
}

.search-modal__close {
  position: absolute;
  top: -60px;
  right: 24px;
  color: var(--c-white);
  font-size: 32px;
}

.search-modal__form {
  position: relative;
  display: flex;
  align-items: center;
}

.search-modal__input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 2px solid rgba(255,255,255,0.5);
  padding: 16px 60px 16px 0;
  font-size: 32px;
  color: var(--c-white);
  outline: none;
  transition: border-color var(--transition-fast);
}

.search-modal__input:focus {
  border-color: var(--c-white);
}

.search-modal__input::placeholder {
  color: rgba(255,255,255,0.3);
}

.search-modal__submit {
  position: absolute;
  right: 0;
  color: var(--c-white);
  font-size: 24px;
}

/* ==========================================================================
   Responsive (Mobile First Approach overridden for Desktop First per design)
   ========================================================================== */
@media (max-width: 1024px) {
  .applications__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .cases__logos {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer__main {
    grid-template-columns: 1fr;
  }
  .footer__links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 60px;
  }
  
  .header__nav {
    display: none;
  }

  .header__right {
    gap: 12px;
  }

  .header__actions {
    gap: 12px;
  }
  
  .lang-text {
    display: none;
  }
  
  .header__mobile-toggle {
    display: block;
  }
  
  .hero {
    height: 500px;
  }
  
  .hero__title {
    font-size: 40px;
  }
  
  .products__grid {
    grid-template-columns: 1fr;
  }
  
  .applications__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about__grid {
    grid-template-columns: 1fr;
  }
  
  .news__grid {
    grid-template-columns: 1fr;
  }
  
  .faq__layout {
    grid-template-columns: 1fr;
  }
  
  .footer__bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .applications__grid {
    grid-template-columns: 1fr;
  }
  .cases__logos {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile Nav Overlay */
.mobile-nav {
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  height: calc(100vh - var(--header-height));
  background: var(--c-white);
  z-index: 99;
  overflow-y: auto;
  padding: 24px;
}

.mobile-nav__item {
  border-bottom: 1px solid var(--c-border);
}

.mobile-nav__link {
  display: block;
  padding: 16px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--c-text-main);
}

/* Accordion in Mobile Nav */
.mobile-nav__accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--c-text-main);
  cursor: pointer;
}

.mobile-nav__accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
}

.mobile-nav__accordion-item--active .mobile-nav__accordion-content {
  max-height: 400px; /* Adjust as needed */
}

.mobile-nav__sub-menu {
  background: var(--c-bg-alt);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}

.mobile-nav__sub-link {
  display: block;
  padding: 10px 16px;
  font-size: 14px;
  color: var(--c-text-muted);
}

.mobile-nav__sub-link:hover {
  color: var(--c-primary);
}

/* -- Mobile Nav 手风琴 chevron 旋转（源码 inline style rotate(180deg)） -- */
.mobile-nav__accordion-header .fa-chevron-down {
  font-size: 16px;
  transition: transform 0.3s ease;
}
.mobile-nav__accordion-item--active .mobile-nav__accordion-header .fa-chevron-down {
  transform: rotate(180deg);
}

/* ==== inner.css ==== */
/* ==========================================================================
   Inner Page Styles (BEM Architecture)
   ========================================================================== */

/* Page Banner */
.page-banner {
  position: relative;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--c-primary);
  background-image: url('https://images.unsplash.com/photo-1581092795360-fd1ca04f0952?q=80&w=2070&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  text-align: center;
  color: var(--c-white);
  overflow: hidden;
}

.page-banner::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(10, 51, 34, 0.75);
  z-index: 1;
}

.page-banner__content {
  position: relative;
  z-index: 2;
}

.page-banner__title {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  opacity: 0.9;
}

.breadcrumb__link {
  color: var(--c-white);
  transition: opacity var(--transition-fast);
}

.breadcrumb__link:hover {
  opacity: 0.7;
  text-decoration: underline;
}

.breadcrumb__separator {
  opacity: 0.5;
  font-size: 12px;
}

/* Inner Layout */
.inner-layout {
  display: flex;
  gap: 48px;
  padding: 64px 0;
}

.inner-sidebar {
  width: 260px;
  flex-shrink: 0;
}

.inner-main {
  flex: 1;
  min-width: 0; /* Prevent flex overflow */
}

/* Side Menu */
.side-menu {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: sticky;
  top: calc(var(--header-height) + 32px);
}

.side-menu__header {
  background: var(--c-primary);
  color: var(--c-white);
  padding: 20px;
  font-size: 18px;
  font-weight: bold;
}

.side-menu__list {
  display: flex;
  flex-direction: column;
}

.side-menu__item {
  padding: 16px 20px;
  border-bottom: 1px solid var(--c-border);
  color: var(--c-text-main);
  font-weight: 500;
  transition: all var(--transition-fast);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.side-menu__item:last-child {
  border-bottom: none;
}

.side-menu__item:hover,
.side-menu__item--active {
  color: var(--c-primary);
  background: var(--c-primary-light);
  padding-left: 24px;
}

/* CMS 适配段：产品分类侧边栏三级缩进（缩进 + 左侧竖线，纯静态不依赖 JS） */
.side-menu__item--sub {
  padding-left: 44px;
  font-size: 14px;
  font-weight: 400;
  position: relative;
}
.side-menu__item--sub::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 12px;
  background: var(--c-border);
}
.side-menu__item--sub.side-menu__item--active {
  padding-left: 48px;
}
.side-menu__item--sub.side-menu__item--active::before {
  background: var(--c-primary);
}

/* Product Detail */
.prod-detail__overview {
  display: flex;
  gap: 48px;
  margin-bottom: 64px;
}

.prod-detail__gallery {
  width: 45%;
}

.prod-detail__img-main {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin-bottom: 16px;
  object-fit: cover;
  aspect-ratio: 4/3;
}

.prod-detail__thumbnails {
  display: flex;
  gap: 12px;
}

.prod-detail__thumb {
  width: calc(33.333% - 8px);
  aspect-ratio: 4/3;
  border-radius: var(--radius-sm);
  cursor: pointer;
  object-fit: cover;
  border: 2px solid transparent;
  transition: border-color var(--transition-fast);
}

.prod-detail__thumb:hover,
.prod-detail__thumb--active {
  border-color: var(--c-primary);
}

.prod-detail__info {
  width: 55%;
}

.prod-detail__title {
  font-size: 32px;
  font-weight: bold;
  color: var(--c-primary);
  margin-bottom: 16px;
}

.prod-detail__meta {
  display: inline-block;
  padding: 4px 12px;
  background: var(--c-primary-light);
  color: var(--c-primary);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: bold;
  margin-bottom: 24px;
}

.prod-detail__desc {
  font-size: 15px;
  color: var(--c-text-muted);
  line-height: 1.8;
  margin-bottom: 32px;
}

.prod-detail__params {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 32px;
  font-size: 14px;
}

.prod-detail__params th,
.prod-detail__params td {
  border: 1px solid var(--c-border);
  padding: 12px 16px;
  text-align: left;
}

.prod-detail__params th {
  background: var(--c-bg-alt);
  color: var(--c-text-main);
  font-weight: 500;
  width: 120px;
}

.prod-detail__params td {
  color: var(--c-text-muted);
}

.prod-detail__actions {
  display: flex;
  gap: 16px;
}

/* Product Content Sections */
.prod-content {
  border-top: 1px solid var(--c-border);
  padding-top: 48px;
}

.prod-content__title {
  font-size: 24px;
  font-weight: bold;
  color: var(--c-text-main);
  margin-bottom: 24px;
  position: relative;
  display: inline-block;
}

.prod-content__title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--c-primary);
}

.prod-content__text {
  font-size: 15px;
  color: var(--c-text-muted);
  line-height: 1.8;
  margin-bottom: 24px;
}

.prod-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.prod-feature-card {
  background: var(--c-bg-alt);
  padding: 24px;
  border-radius: var(--radius-md);
  text-align: center;
  transition: transform var(--transition-fast);
}

.prod-feature-card:hover {
  transform: translateY(-5px);
}

.prod-feature-card__icon {
  width: 48px;
  height: 48px;
  background: var(--c-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-primary);
  margin: 0 auto 16px;
  box-shadow: var(--shadow-sm);
}

.prod-feature-card__title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 8px;
}

.prod-feature-card__desc {
  font-size: 13px;
  color: var(--c-text-muted);
  line-height: 1.5;
}


/* Product Grid List */
.inner-prod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.inner-prod-card {
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  background: var(--c-white);
  transition: all var(--transition-fast);
}

.inner-prod-card:hover {
  border-color: var(--c-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.inner-prod-card__img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.inner-prod-card__info {
  padding: 16px;
}

.inner-prod-card__title {
  font-size: 16px;
  font-weight: bold;
  color: var(--c-text-main);
  margin-bottom: 8px;
}

.inner-prod-card__desc {
  font-size: 13px;
  color: var(--c-text-muted);
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}

.pagination__btn {
  min-width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--c-border);
  background: var(--c-white);
  color: var(--c-text-main);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.pagination__btn:hover,
.pagination__btn--active {
  background: var(--c-primary);
  color: var(--c-white);
  border-color: var(--c-primary);
}

/* News List */
.news-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--c-border);
  padding-bottom: 16px;
}

.news-tabs__item {
  padding: 8px 24px;
  border-radius: var(--radius-full);
  background: var(--c-bg-alt);
  color: var(--c-text-main);
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all var(--transition-fast);
}

.news-tabs__item:hover,
.news-tabs__item--active {
  background: var(--c-primary);
  color: var(--c-white);
}

.inner-news-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.inner-news-item {
  display: flex;
  gap: 24px;
  padding-bottom: 32px;
  border-bottom: 1px dashed var(--c-border);
}

.inner-news-item:last-child {
  border-bottom: none;
}

.inner-news-item__img {
  width: 240px;
  height: 160px;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.inner-news-item__img-wrap {
  overflow: hidden;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  width: 240px;
  height: 160px;
}

.inner-news-item:hover .inner-news-item__img {
  transform: scale(1.05);
}

.inner-news-item__content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.inner-news-item__title {
  font-size: 20px;
  font-weight: bold;
  color: var(--c-text-main);
  margin-bottom: 12px;
  transition: color var(--transition-fast);
}

.inner-news-item:hover .inner-news-item__title {
  color: var(--c-primary);
}

.inner-news-item__desc {
  font-size: 14px;
  color: var(--c-text-muted);
  line-height: 1.6;
  margin-bottom: auto;
}

.inner-news-item__meta {
  font-size: 13px;
  color: var(--c-text-light);
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form__group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-form__label {
  font-size: 14px;
  font-weight: 500;
  color: var(--c-text-main);
}

.contact-form__input,
.contact-form__textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  transition: border-color var(--transition-fast);
  background: var(--c-bg-alt);
}

.contact-form__input:focus,
.contact-form__textarea:focus {
  border-color: var(--c-primary);
  outline: none;
  background: var(--c-white);
}

.contact-form__textarea {
  height: 120px;
  resize: vertical;
}

.contact-info {
  background: var(--c-primary);
  color: var(--c-white);
  padding: 40px;
  border-radius: var(--radius-md);
}

.contact-info__title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 32px;
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-info__icon {
  color: var(--c-primary-light);
  flex-shrink: 0;
}

.contact-info__text h4 {
  font-size: 16px;
  margin-bottom: 4px;
}

.contact-info__text p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

/* About */
.about-values-grid {
  grid-template-columns: repeat(4, 1fr);
}

.about-article {
  font-size: 16px;
  color: var(--c-text-muted);
  line-height: 1.8;
}

.about-article h3 {
  font-size: 22px;
  font-weight: bold;
  color: var(--c-text-main);
  margin: 40px 0 20px;
}

.about-article p {
  margin-bottom: 24px;
}

.about-article img {
  border-radius: var(--radius-md);
  margin: 32px 0;
  width: 100%;
}

/* Solutions Redesign */
.solution-block {
  display: flex;
  gap: 64px;
  align-items: center;
}

.solution-block--reverse {
  flex-direction: row-reverse;
}

.solution-block__content {
  flex: 1;
  min-width: 320px;
}

.solution-block__media {
  flex: 1;
  min-width: 320px;
}

.solution-block__title {
  font-size: 32px;
  font-weight: bold;
  color: var(--c-text-main);
  margin-bottom: 24px;
  line-height: 1.3;
}

.solution-block__desc {
  font-size: 16px;
  color: var(--c-text-muted);
  line-height: 1.8;
  margin-bottom: 24px;
}

.solution-block__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.solution-block__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 15px;
  color: var(--c-text-main);
  font-weight: 500;
}

.solution-block__img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* News Detail Pagination */
.news-nav-link {
  transition: color var(--transition-fast);
}
.news-nav-link:hover {
  color: var(--c-primary);
}

/* Inner Page Responsive Updates */
@media (max-width: 1024px) {
  .prod-detail__overview {
    flex-direction: column;
  }
  .prod-detail__gallery,
  .prod-detail__info {
    width: 100%;
  }
  .prod-features {
    grid-template-columns: repeat(2, 1fr);
  }
  .inner-prod-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .about-values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .solution-block {
    flex-direction: column !important;
    gap: 40px;
  }
  .solution-block__title {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .page-banner {
    height: 240px;
  }
  .page-banner__title {
    font-size: 28px;
  }
  .inner-layout {
    flex-direction: column;
    padding: 32px 0;
    gap: 32px;
  }
  .inner-sidebar {
    width: 100%;
  }
  .side-menu {
    position: static;
  }
  .prod-features {
    grid-template-columns: 1fr;
  }
  .inner-news-item {
    flex-direction: column;
  }
  .inner-news-item__img-wrap {
    width: 100%;
    height: 200px;
  }
  .inner-news-item__img {
    width: 100%;
    height: 100%;
  }
}

@media (max-width: 480px) {
  .inner-prod-grid,
  .about-values-grid {
    grid-template-columns: 1fr;
  }
}

/* ==== xr81 追加段：条件渲染默认态 / motion whileInView 映射 / 挂载动画 / FA 图标尺寸 ==== */

/* -- SearchModal（AnimatePresence → 常驻 + .is-open，content y:-50 弹入） -- */
.search-modal {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.search-modal.is-open {
  opacity: 1;
  visibility: visible;
}
.search-modal__content {
  transform: translateY(-50px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.search-modal.is-open .search-modal__content {
  transform: translateY(0);
  opacity: 1;
}

/* -- Mobile Nav（条件渲染 → 默认隐藏 + .is-open） -- */
.mobile-nav {
  display: none;
}
.mobile-nav.is-open {
  display: block;
}

/* -- motion whileInView → IO .is-visible 映射 --
   data-anim 值: fade / up / up20 / up40 / left / left30 / left20 / right / right20 / right30 / scale90 / scale95
   data-anim-dur: transitionDuration(s)；data-anim-delay: transitionDelay(s) -- */
[data-anim] {
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}
[data-anim="up"] { transform: translateY(30px); }
[data-anim="up20"] { transform: translateY(20px); }
[data-anim="up40"] { transform: translateY(40px); }
[data-anim="left"] { transform: translateX(-50px); }
[data-anim="left30"] { transform: translateX(-30px); }
[data-anim="left20"] { transform: translateX(-20px); }
[data-anim="right"] { transform: translateX(50px); }
[data-anim="right20"] { transform: translateX(20px); }
[data-anim="right30"] { transform: translateX(30px); }
[data-anim="scale90"] { transform: scale(0.9); }
[data-anim="scale95"] { transform: scale(0.95); }
[data-anim].is-visible {
  opacity: 1 !important;
  transform: none !important;
}

/* -- motion animate（挂载动画）→ CSS animation 自动播放 -- */
@keyframes xr81FadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes xr81FadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes xr81HeroIn { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: none; } }
@keyframes xr81TagIn { from { opacity: 0; transform: scale(0.8); } to { opacity: 1; transform: none; } }
@keyframes xr81SlideLeft { from { opacity: 0; transform: translateX(-20px); } to { opacity: 1; transform: none; } }
@keyframes xr81SlideRight { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: none; } }

.page-banner__content { animation: xr81FadeUp 0.6s ease both; }
.prod-detail__gallery { animation: xr81FadeUp 0.5s ease 0.3s both; }
.prod-detail__info { animation: xr81FadeUp 0.5s ease 0.4s both; }
.inner-prod-grid.xr81-fade { animation: xr81FadeIn 0.5s ease both; }
.inner-news-list { animation: xr81FadeIn 0.5s ease both; }
.news-detail__card { animation: xr81FadeUp 0.6s ease both; }
.contact-info-premium { animation: xr81SlideLeft 0.6s ease both; }
.contact-form-card { animation: xr81SlideRight 0.6s ease both; }

/* -- Hero：content 挂载 + tags 依次入场 + CTA 延迟淡入 -- */
.hero__content { animation: xr81HeroIn 0.8s ease both; }
.hero__tag { animation: xr81TagIn 0.4s ease both; }
.hero__tag:nth-child(1) { animation-delay: 0.2s; }
.hero__tag:nth-child(2) { animation-delay: 0.3s; }
.hero__tag:nth-child(3) { animation-delay: 0.4s; }
.hero__tag:nth-child(4) { animation-delay: 0.5s; }
.hero__cta { animation: xr81FadeIn 0.6s ease 0.6s both; }

/* -- Hero 背景切换（AnimatePresence popLayout → 交叉淡入 + scale） -- */
.hero__bg {
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1s ease, transform 1s ease;
}
.hero__bg--active {
  opacity: 1;
  transform: scale(1);
}
.hero__dots { position: absolute; bottom: 40px; left: 0; width: 100%; z-index: 10; }
.hero__dots .container { display: flex; gap: 8px; }
.hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: rgba(10, 51, 34, 0.3);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}
.hero__dot--active { width: 32px; background: #0a3322; }

/* -- ProductList 卡片 div onClick → a 语义化适配 -- */
a.inner-prod-card { display: block; text-decoration: none; color: inherit; }

/* -- NewsDetail 内容卡 / Contact 表单卡（源码内联样式 → 类） -- */
.news-detail__card {
  margin: 0 auto;
  background: var(--c-white);
  padding: 64px;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
}
.contact-form-card {
  background: var(--c-white);
  padding: 48px;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--c-border);
}

/* -- lucide size → FA font-size 映射 -- */
.header__nav-item .fa-chevron-down { font-size: 14px; }
.header__action-btn .fa-solid { font-size: 18px; }
.header__mobile-toggle .fa-solid { font-size: 24px; }
.hero__tag .fa-solid { font-size: 16px; }
.hero__cta .fa-arrow-right { font-size: 18px; }
.section__link .fa-arrow-right { font-size: 16px; }
.product-card__arrow .fa-arrow-right { font-size: 20px; }
.app-card__icon .fa-solid { font-size: 24px; }
.about__stat-icon .fa-solid { font-size: 20px; }
.btn .fa-arrow-right { font-size: 18px; }
.btn .fa-download { font-size: 18px; }
.btn .fa-arrow-left { font-size: 16px; }
.faq-item__icon { font-size: 20px; }
.faq-item__details-btn .fa-arrow-right { font-size: 14px; }
.faq__contact-icon { font-size: 160px; }
.breadcrumb__separator { font-size: 14px; }
.pagination__btn .fa-solid { font-size: 16px; }
.side-menu__item .fa-chevron-right { font-size: 16px; }
.prod-feature-card__icon .fa-solid { font-size: 24px; }
.solution-block__list .fa-check { font-size: 20px; }
.news-card__arrow .fa-arrow-right { font-size: 24px; }
.inner-news-item__meta .fa-solid { font-size: 14px; }
.news-detail-meta .fa-solid { font-size: 16px; }
.contact-info-premium .ci-icon .fa-solid { font-size: 24px; }
.contact-map-badge .fa-map-marker-alt { font-size: 20px; }
.search-modal__close .fa-times { font-size: 32px; }
.search-modal__submit .fa-search { font-size: 32px; }

/* ==========================================
   CMS 适配段：logo 限高 / 导航映射 / 幻灯片结构 / 分页映射 / 内页补充
   （配合 template/pc/xr0082 模板使用，仿 qn0081 三段式写法）
   ========================================== */

/* 一、Logo 图片限高（header/footer 模板 img 未带 class，用子选择器约束，防溢出） */
.header__logo img { height: 40px; width: auto; object-fit: contain; }
.footer__logo img { height: 44px; width: auto; filter: brightness(0) invert(1); }

/* 二、Header 导航映射（header.html 使用 nav__list/nav__link，设计值取自本套 .header__nav-item） */
.header__nav .nav__list { display: flex; align-items: center; gap: 32px; }
.header__nav .nav__item { position: relative; }
.header__nav .nav__link {
  display: flex; align-items: center; gap: 4px;
  font-size: 15px; font-weight: 500; color: var(--c-text-main);
  padding: 8px 0; position: relative; cursor: pointer;
  transition: color var(--transition-fast);
}
.header__nav .nav__link .fa-chevron-down { font-size: 14px; }
.header__nav .nav__link:hover,
.header__nav .nav__link.is-active { color: var(--c-primary); }
.header__nav .nav__link.is-active::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 100%; height: 2px; background-color: var(--c-primary);
}
.header__nav .nav__dropdown {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--c-white); box-shadow: var(--shadow-md);
  border-radius: var(--radius-sm); padding: 8px 0; min-width: 140px;
  opacity: 0; visibility: hidden; transition: var(--transition-normal);
  z-index: 10; text-align: center;
}
.header__nav .nav__item:hover .nav__dropdown {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.header__nav .nav__dropdown-item {
  display: block; padding: 10px 16px; font-size: 14px;
  color: var(--c-text-main); transition: var(--transition-fast); white-space: nowrap;
}
.header__nav .nav__dropdown-item:hover { color: var(--c-primary); background: var(--c-bg); }

/* 三、Footer 友情链接（footer.html 使用 footer__friends，补最小样式） */
.footer__friends {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0; 
  display: flex; flex-wrap: wrap; gap: 12px 24px; font-size: 14px;
}
.footer__friends-label { color: rgba(255,255,255,0.8); }
.footer__friends-list { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.footer__friends-list a { color: rgba(255,255,255,0.6); }
.footer__friends-list a:hover { color: var(--c-white); }

/* 四、Hero 幻灯片：背景图显隐已由 xr81 追加段 .hero__bg / .hero__bg--active 实现，
   此处补固定文案区按钮排布；dots 结构为 .hero__dots > .container > .hero__dot */
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; }

/* 五、内页 banner：CMS 动态缩略图背景（原为固定背景图，模板改传 img 标签） */
.page-banner__bg {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.page-banner__desc { margin-top: 12px; font-size: 15px; color: rgba(255,255,255,0.85); }

/* 六、CMS 分页映射：$pages 输出 ul.pagination > li > a，复制本套 .pagination__btn 设计值 */
ul.pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-top: 48px; }
ul.pagination li { display: flex; }
ul.pagination li a {
  min-width: 36px; height: 36px; padding: 0 10px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--c-border); background: var(--c-white);
  color: var(--c-text-main); border-radius: var(--radius-sm);
  font-size: 14px; transition: all var(--transition-fast);
}
ul.pagination li a:hover { border-color: var(--c-primary); color: var(--c-primary); }
ul.pagination li.active a {
  background: var(--c-primary); border-color: var(--c-primary); color: var(--c-white);
}

/* 七、内页补充：详情页文字元信息/上下篇、联系页地图、方案列表间距（复用本套 CSS 变量） */
.news-detail__title {
  font-size: 28px; font-weight: bold; color: var(--c-text-main);
  line-height: 1.4; margin-bottom: 16px;
}
.news-detail__meta {
  display: flex; flex-wrap: wrap; gap: 8px 24px;
  font-size: 14px; color: var(--c-text-light);
  padding-bottom: 24px; border-bottom: 1px solid var(--c-border); margin-bottom: 32px;
}
.news-detail__meta .fa-solid { margin-right: 4px; }
.news-detail__nav {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--c-border);
}
.news-detail__nav .news-nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; color: var(--c-text-muted); max-width: 360px;
}
.solutions-list { display: flex; flex-direction: column; gap: 64px; }
.contact-map { margin-top: 48px; border-radius: var(--radius-md); overflow: hidden; }
.contact-map img { width: 100%; display: block; }
.search-form-inline { display: flex; max-width: 640px; margin: 0 auto 48px; flex-direction: row; align-items: flex-end; gap: 0; }
.section__title--center { text-align: center; }
.section__title--center::after { left: 50%; transform: translateX(-50%); }
.search-form-inline .contact-form__group { flex: 1; }
.search-form-inline .contact-form__input { height: 50px; background: var(--c-white); border-radius: var(--radius-sm) 0 0 var(--radius-sm); border-right: none; }
.search-form-inline .btn { height: 50px; padding: 0 28px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }

/* CMS 适配段：footer 联系方式栏目（最右列，含二维码） */
.footer__contact .footer__col-title { margin-bottom: 20px; }
.footer__contact .footer__qrs { margin-top: 22px; }

/* fix: card image / whole-card clickable links */
a.img-link { display: block; width: 100%; height: 100%; }
a.img-link > img { display: block; }
a.card-link { display: block; }

/* ==========================================
   友情链接独立内页（links.html）样式
   ========================================== */
.links-page { padding: 60px 0 100px; }
.links-page__title { font-size: 32px; font-weight: 700; color: var(--c-text-main); margin-bottom: 12px; }
.links-page__desc { font-size: 15px; color: var(--c-text-muted); margin-bottom: 40px; }
.links-page__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.links-page__item { display: flex; align-items: center; justify-content: center; padding: 16px 20px; background: var(--c-white); border: 1px solid var(--c-border); border-radius: 8px; font-size: 15px; color: var(--c-text-main); text-decoration: none; transition: all var(--transition-fast); }
.links-page__item:hover { border-color: var(--c-primary); color: var(--c-primary); }
.links-page__empty { grid-column: 1 / -1; text-align: center; padding: 60px 20px; color: var(--c-text-light); font-size: 16px; }
/* footer "更多友情链接" 入口（继承友链区配色，深色底上保持可读） */
.footer__friends-more { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.footer__friends-more:hover { opacity: 0.75; }
