@font-face {
  font-family: "PingFang";
  src: url("../fonts/PingFang-Bold.ttf");
}

body {
  font-family: "PingFang";
}

/* 动态根字体大小 - 基于设计稿宽度1920px */
/* 在1920px宽度时，1rem = 100px */
/* 计算公式：设计稿宽度1920px / 100 = 19.2，所以 font-size = 100vw / 19.2 */
html {
  font-size: calc(100vw / 19.2);
  /* 设置最小和最大字体大小，避免极端情况 */
  /* 最小：移动端320px时，font-size约为16.67px (320/19.2) */
  /* 最大：超大屏3840px时，font-size为200px (3840/19.2)，限制为10rem避免过大 */
  font-size: clamp(0.5rem, calc(100vw / 19.2), 10rem);
  font-family: "CustomFont";
}

/* 针对超小屏幕的额外保护 */
@media (max-width: 320px) {
  html {
    font-size: 0.5rem;
  }
}

/* 针对超大屏幕的限制 */
@media (min-width: 3840px) {
  html {
    font-size: 10rem;
  }
}

/* 全局样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Swiper样式 */
.swiper {
  width: 100%;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.swiper-slide {
  background-position: center;
  background-size: cover;
  width: 60%;
}

.swiper-slide img {
  display: block;
  width: 100%;
  font-size: 12px ;
}

/* Swiper样式 */
.swiper {
  width: 100%;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.swiper-slide {
  background-position: center;
  background-size: cover;
  width: 60%;
}

.swiper-slide img {
  display: block;
  width: 100%;
  font-size: 12px ;
}

body {
  /* font-family: 'PingFang SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif; */
  color: #000;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Swiper样式 */
.swiper {
  width: 100%;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.swiper-slide {
  background-position: center;
  background-size: cover;
  width: 60%;
}

.swiper-slide img {
  display: block;
  width: 100%;
  font-size: 12px ;
}

.container {
  max-width: 16.8rem;
  margin: 0 auto;
  padding: 0 1.2rem;
}

/* Banner区域 */
.banner {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.banner-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(83, 123, 183, 0.7) 0%, rgba(83, 123, 183, 0.7) 100%);
  background-image: url('../images/banner-bg.png');
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 2;
}

/* 导航栏 */
.navbar {
  position: relative;
  z-index: 10;
  padding: 0.18rem 1.2rem;
}

.nav-container {
  max-width: 19.2rem;
  margin: 0 auto;
}

.logo-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4.89rem;
}

.logo {
  width: 3.63rem;
  height: 0.54rem;
  object-fit: contain;
}

.nav-tabs {
  display: flex;
  align-items: center;
  gap: 0.1rem;
}

.nav-tab {
  padding: 0.1rem;
  color: #FFFFFF;
  font-size: 0.18rem;
  line-height: 0.26rem;
  text-decoration: none;
  transition: opacity 0.3s;
  white-space: nowrap;
}

.nav-tab:hover {
  opacity: 0.8;
}

/* Banner内容 */
.banner-content {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  padding: 1.6rem 3.92rem 0.74rem;
  height: 100%;
  text-align: center;
}

.banner-text {
  max-width: 11.36rem;
}

.banner-title {
  font-size: 0.6rem;
  line-height: 1.33;
  color: #FFFFFF;
  text-align: center;
  text-shadow: 0 0.02rem 0.04rem -0.01rem rgba(0, 0, 0, 0.12),
    0 0.04rem 0.05rem 0 rgba(0, 0, 0, 0.08),
    0 0.01rem 0.1rem 0 rgba(0, 0, 0, 0.05);
  font-weight: 400;
}


.video-section {
  display: flex;
  align-items: center;
  gap: 0.24rem;
}

.video-section .play-button {
  display: flex;
}

.video-title {
  font-size: 0.28rem;
  line-height: 0.4rem;
  color: #FFFFFF;
}

.scroll-indicator {
  margin-top: auto;
  padding-bottom: 0.2rem;
}

/* SVG图标尺寸 */
.play-icon {
  width: 0.34rem;
  height: 0.34rem;
}

.scroll-icon {
  width: 0.16rem;
  height: 0.08rem;
}

.arrow-icon {
  width: 0.26rem;
  height: 0.26rem;
}

.card-icon-svg {
  width: 0.51rem;
  height: 0.52rem;
}

.card-icon-svg:has(circle) {
  width: 0.7rem;
  height: 0.7rem;
}

.back-to-top-icon {
  width: 0.24rem;
  height: 0.24rem;
}

/* 关于兰石 */
.about-section {
  padding: 1rem 1.2rem;
  background: #FFFFFF;
}

.about-content {
  display: flex;
  align-items: flex-start;
  gap: 1.22rem;
}

.about-image {
  flex: 1;
  max-width: 9.52rem;
  display: flex;
  overflow: hidden;
  position: relative;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-text {
  flex: 1;
  max-width: 6.06rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  justify-content: flex-start;
}

.about-description {
  flex: 0 0 auto;
}

.section-title {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
  align-items: flex-start;
}

.section-title h2 {
  font-size: 0.36rem;
  line-height: 0.44rem;
  color: #4F80C8;
  font-weight: 400;
}

.title-en {
  font-size: 0.18rem;
  line-height: 0.24rem;
  color: #4F80C8;
  text-transform: uppercase;
}

.section-title.white h2,
.section-title.white .title-en {
  color: #FFFFFF;
}

.title-line {
  width: 3.16rem;
  height: 0.01rem;
  background: #4F80C8;
  margin-top: 0.08rem;
}

.title-line.white {
  background: #FFFFFF;
}

.about-description {
  font-size: 0.2rem;
  line-height: 2.2em;
  color: rgba(0, 0, 0, 0.9);
  text-align: justify;
  text-indent: 2em;
}

.learn-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.06rem;
  padding: 0.08rem 0.12rem;
  border: 0.01rem solid #4F80C8;
  color: #4F80C8;
  text-decoration: none;
  font-size: 0.18rem;
  line-height: 0.26rem;
  transition: all 0.3s;
  width: fit-content;
}

.learn-more-btn:hover {
  background: #4F80C8;
  color: #FFFFFF;
}

.learn-more-btn.white {
  border-color: #FFFFFF;
  color: #FFFFFF;
}

.learn-more-btn.white:hover {
  background: #FFFFFF;
  color: #4F80C8;
}

/* 产业布局 */
.industry-section {
  padding: 1rem 1.2rem;
  background: #FFFFFF;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 0.4rem;
  width: 100%;
  max-width: 16.8rem;
}

/* Swiper 3D轮播图样式 */
.industry-swiper {
  width: 100%;
  max-width: 17.92rem;
  margin: 0 auto;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.industry-swiper .swiper-slide {
  width: 60%;
  background-position: center;
  background-size: cover;
}

.industry-swiper .swiper-slide img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0.1rem;
  box-shadow: 0 0.1rem 0.3rem rgba(0, 0, 0, 0.2);
}

/* 分页器样式 */
.industry-swiper .swiper-pagination {
  bottom: 0;
}

.industry-swiper .swiper-pagination-bullet {
  background: #4F80C8;
  opacity: 0.5;
  width: 0.12rem;
  height: 0.12rem;
}

.industry-swiper .swiper-pagination-bullet-active {
  background: #4F80C8;
  opacity: 1;
}

/* 导航按钮样式 */
.industry-swiper .swiper-button-prev,
.industry-swiper .swiper-button-next {
  color: #4F80C8;
  background-color: rgba(255, 255, 255, 0.8);
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  transition: all 0.3s;
}

.industry-swiper .swiper-button-prev::after,
.industry-swiper .swiper-button-next::after {
  font-size: 0.2rem;
  font-weight: bold;
}

.industry-swiper .swiper-button-prev:hover,
.industry-swiper .swiper-button-next:hover {
  background-color: #4F80C8;
  color: #fff;
}

.industry-swiper .swiper-button-prev {
  left: 10px;
}

.industry-swiper .swiper-button-next {
  right: 10px;
}

/* 新闻宣传 */
.news-section {
  padding: 1rem 1.2rem;
  background: #EFF3FA;
}

.news-grid {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}

.news-card-content {
  background: #FFFFFF;
  margin-left: 0.3rem;
}

.news-card {
  flex: 1;
  /* background: #FFFFFF; */
  border-radius: 0;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
}

.news-card.featured {
  box-shadow: 0 0.02rem 0.484rem -0.05rem rgba(10, 23, 40, 0.45);
}

/*.news-card.active,*/
/*.news-card.clicked {*/
/*  background: #4F80C8;*/
/*  box-shadow: 0 0.02rem 0.484rem -0.05rem rgba(10, 23, 40, 0.45);*/
/*}*/
/*.news-card:hover {*/
/*  background: #4F80C8;*/
/*  box-shadow: 0 0.02rem 0.484rem -0.05rem rgba(10, 23, 40, 0.45);*/
/*}*/

/*.news-card.active .news-title,*/
/*.news-card.clicked .news-title {*/
/*  color: #000;*/
/*}*/

/*.news-card.active .news-excerpt,*/
/*.news-card.clicked .news-excerpt {*/
/*  color: rgba(0, 0, 0, 0.8);*/
/*}*/

.news-card-content:hover,
.news-card-content.clicked {
  background: #4F80C8;
}

.news-card-content:hover .news-title,
.news-card-content.clicked .news-title {
  color: #FFFFFF;
}

.news-card-content:hover .news-excerpt,
.news-card-content.clicked .news-excerpt {
  color: rgba(255, 255, 255, 0.9);
}
.news-image {
  width: 100%;
  height: 2.22rem;
  overflow: hidden;
  position: relative;

}

.news-image img {
  padding: 0.2rem;
  width: 100%;
  height: 100%;
  object-fit: cover;
  font-size: 12px;
}

.news-content-wrapper {
  background: rgba(255, 255, 255, 0.8);
}

.news-content {
  padding: 0.2rem 0.32rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.news-tag {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 3.3rem;
  left: 0.15rem;
  width: 1.3rem;
  height: 0.5rem;
  /* background: #3072B6; */
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.2rem;
  line-height: 0.3rem;
  z-index: 1;
  background-image: url('../images/group.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.news-title {
  font-size: 0.24rem;
  line-height: 0.4rem;
  color: rgba(0, 0, 0, 0.9);
  font-weight: 400;
  padding: 0.2rem 0.2rem 0 0.2rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 1rem;
}

.news-card.featured .news-title {
  color: #FFFFFF;
}

.news-excerpt {
  margin-top: 0.3rem;
  font-size: 0.2rem;
  line-height: 1.7em;
  color: rgba(0, 0, 0, 0.6);
  text-align: justify;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-card.featured .news-excerpt {
  color: rgba(255, 255, 255, 0.9);
}

.news-card.featured {
  background: #1A1A1A;
}

/* 社会责任 */
.responsibility-section {
  padding: 1rem 1.2rem;
  background: #4F80C8;
}

.responsibility-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem 0.2rem;
  max-width: 16.2rem;
  margin: 0 auto;
  margin-top: 1rem;
}

.responsibility-card {
  display: flex;
  flex-direction: column;
}

.responsibility-card:nth-child(odd) {
  margin-top: -0.5rem;
}

.responsibility-card:nth-child(even) {
  margin-top: 0.5rem;
}

.card-image {
  position: relative;
  width: 100%;
  height: 4.14rem;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 0.5rem;
}

.card-icon {
  opacity: 0.7;
}

.card-icon svg {
  width: 0.51rem;
  height: 0.52rem;
}

/* 不同图标的特殊尺寸 */
.card-icon .icon-green {
  width: 0.51rem;
  height: 0.52rem;
}

.card-icon .icon-care {
  width: 0.7rem;
  height: 0.7rem;
}

.card-icon .icon-social {
  width: 0.43rem;
  height: 0.4rem;
}

.card-icon .icon-patriotic {
  width: 0.38rem;
  height: 0.44rem;
}

.card-label {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 1.5rem;
  height: 0.5rem;
  background: linear-gradient(90deg, rgba(48, 114, 182, 1) 0%, rgba(48, 114, 182, 1) 50%, rgba(48, 114, 182, 0.1) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 0.26rem;
  line-height: 0.24rem;
  z-index: 2;
}

.card-content {
  background: #FFFFFF;
  padding: 0.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.card-indicator {
  width: 0.29rem;
  height: 0.04rem;
}

.card-content p {
  font-size: 0.2rem;
  line-height: 1.6em;
  color: rgba(0, 0, 0, 0.9);
  text-align: justify;
}

/*!* 页脚 *!*/
/*.footer {*/
/*  width: 100%;*/
/*}*/

/*!* 页尾导航部分 *!*/
/*.footer-nav {*/
/*  background: #EFF3FA;*/
/*  padding: 1rem 3.6rem;*/
/*  height: 4.6rem;*/
/*  display: flex;*/
/*  justify-content: space-between;*/
/*  align-items: flex-start;*/
/*  gap: 1rem;*/
/*  max-width: 19.2rem;*/
/*  margin: 0 auto;*/
/*}*/

/*.footer-column {*/
/*  display: flex;*/
/*  flex-direction: column;*/
/*  justify-content: flex-end;*/
/*  gap: 0.16rem;*/
/*  width: 1.6rem;*/
/*}*/

/*.footer-column.industry-column {*/
/*  width: 1.7rem;*/
/*}*/

/*.footer-column h4 {*/
/*  font-size: 0.2rem;*/
/*  line-height: 0.4rem;*/
/*  color: #4F80C8;*/
/*  font-weight: 400;*/
/*  text-align: center;*/
/*  margin-bottom: 0.16rem;*/
/*}*/

/*.footer-column ul {*/
/*  list-style: none;*/
/*  display: flex;*/
/*  flex-direction: column;*/
/*  gap: 0.06rem;*/
/*  padding: 0;*/
/*  margin: 0;*/
/*}*/

/*.footer-column li {*/
/*  text-align: center;*/
/*}*/

/*.footer-column a {*/
/*  font-size: 0.16rem;*/
/*  line-height: 0.24rem;*/
/*  color: rgba(0, 0, 0, 0.6);*/
/*  text-decoration: none;*/
/*  transition: color 0.3s;*/
/*  display: block;*/
/*}*/

/*.footer-column a:hover {*/
/*  color: #4F80C8;*/
/*}*/

/*!* 尾部信息部分 *!*/
/*.footer-bottom {*/
/*  background: #595757;*/
/*  padding: 1rem 3.6rem;*/
/*  display: flex;*/
/*  justify-content: space-between;*/
/*  align-items: center;*/
/*  gap: 0.75rem;*/
/*  width: 100%;*/
/*}*/

.footer-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.info-row {
  display: flex;
  gap: 0.16rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
}

.info-item {
  font-size: 0.16rem;
  line-height: 0.4rem;
  color: #FFFFFF;
  white-space: nowrap;
}

.info-item a {
  color: #FFFFFF;
  text-decoration: none;
  transition: opacity 0.3s;
}

.info-item a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.footer-qr {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.qr-image {
  width: 1.02rem;
  height: 1.02rem;
  display: block;
}

.qr-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
  width: 1.5rem;
}

.qr-btn {
  width: 1.5rem;
  height: 0.4rem;
  background: #FFFFFF;
  border: 0.01rem solid #8D8C8C;
  color: rgba(0, 0, 0, 0.6);
  font-size: 0.16rem;
  line-height: 0.28rem;
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
}

.qr-btn:hover {
  background: #4F80C8;
  color: #FFFFFF;
  border-color: #4F80C8;
}
.card-triangle{
  position: absolute;
  bottom:0;
  right:0;
  z-index: 2;
  width: 1.5rem;
  height:1.8rem;
  overflow:hidden;
}
.card-triangle svg{
  width:100%;
  height: 100%;
  max-width: 1.5rem;
  max-height: 1.8rem;
}


/* 响应式设计 - 使用媒体查询调整布局，但保持rem缩放 */
/* @media (max-width: 1200px) {
    .logo-section {
        flex-direction: column;
        gap: 0.2rem;
    }
    
    .nav-tabs {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .about-content {
        flex-direction: column;
        gap: 0.6rem;
    }
    
    .news-grid {
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .responsibility-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.4rem 0.2rem;
    }
    
    .footer-nav {
        flex-wrap: wrap;
        gap: 0.4rem;
        height: auto;
        padding: 0.8rem 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 0.8rem 2rem;
    }
    
    .info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.1rem;
    }
} */

/* @media (max-width: 768px) {
    .responsibility-grid {
        grid-template-columns: 1fr;
        gap: 0.3rem;
    }
    
    .footer-nav {
        flex-direction: column;
        gap: 0.3rem;
        height: auto;
        padding: 0.6rem 1rem;
    }
    
    .footer-column {
        width: 100% !important;
    }
    
    .footer-bottom {
        padding: 0.6rem 1rem;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .info-row {
        flex-direction: column;
        gap: 0.1rem;
    }
    
    .footer-qr {
        flex-direction: column;
        gap: 0.2rem;
        width: 100%;
        align-items: flex-start;
    }
} */
.about-image-bg{
  position: absolute;
  top: 0.4rem;
  left: 0.2rem;
  width: 100%;
  height: 88%;
  background-color: #C7C7C7;
  z-index: 1
}

.about-image img {width:98% !important;height:98% !important;object-fit:cover;display: block;position: relative;z-index: 2;}