@font-face {
  font-family: "lulsan";
  src: url("../assets/fonts/lulsan.TTF") format("truetype");
  font-display: swap;
}

:root {
  --brand-red: #cf0010;
  --accent-red: #e60012;
  --gold: #f6c490;
  --header-h: 95px;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Microsoft YaHei", "微软雅黑", "PingFang SC", "Hiragino Sans GB", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.666;
  color: #fff;
  background: #0c0c0c;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6, p, ul, li, figure {
  margin: 0;
  padding: 0;
}

ul, li {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  border: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
}

svg {
  display: block;
}

/* ===================================================================
   Header
=================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 120;
  width: 100%;
  background: rgba(207, 0, 16, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  transition: background 0.4s ease;
}

.header-inner {
  width: 94%;
  max-width: 1850px;
  height: var(--header-h);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  width: 128px;
  flex: 0 0 auto;
}

.logo img {
  width: 100%;
  height: auto;
}

.main-nav {
  width: calc(100% - 264px);
  display: flex;
  justify-content: flex-end;
}

.main-nav > ul {
  display: flex;
  align-items: center;
}

.main-nav li {
  position: relative;
  margin-right: 30px;
}

.main-nav > ul > li:last-child {
  margin-right: 0;
}

.main-nav > ul > li > a {
  position: relative;
  display: block;
  padding: 0 10px;
  font-size: 16px;
  line-height: var(--header-h);
  white-space: nowrap;
  transition: color 0.4s ease;
}

.main-nav > ul > li > a::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transform: translateX(-50%);
  transition: width 0.4s ease;
}

.main-nav > ul > li:hover > a {
  color: var(--gold);
}

.main-nav > ul > li:hover > a::before {
  width: 100%;
}

.submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 5;
  display: none;
  min-width: 180px;
  overflow: hidden;
  text-align: center;
  background: #fff;
  box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.13);
  transform: translateX(-50%);
}

.main-nav > ul > li:hover .submenu {
  display: block;
}

.submenu a {
  display: block;
  height: 45px;
  padding: 0 20px;
  color: #333;
  font-size: 14px;
  line-height: 45px;
  white-space: nowrap;
  transition: background 0.3s ease, color 0.3s ease;
}

.submenu a:hover {
  color: #fff;
  background: var(--gold);
}

.header-right {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 230px;
  margin-left: 20px;
}

.hotline {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-size: 16px;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.hotline img {
  margin-right: 10px;
  width: 22px;
  height: auto;
}

.hotline:hover {
  color: var(--gold);
}

.nav-toggle {
  display: none;
  position: relative;
  width: 28px;
  height: 20px;
  padding: 0;
  border: 0;
  background: none;
}

.nav-toggle span {
  position: absolute;
  right: 0;
  width: 100%;
  height: 2px;
  background: #fff;
  transition: transform 0.5s ease, top 0.5s ease, bottom 0.5s ease, opacity 0.4s ease;
}

.nav-toggle span:nth-child(1) {
  top: 0;
}

.nav-toggle span:nth-child(2) {
  top: 9px;
  width: 22px;
}

.nav-toggle span:nth-child(3) {
  bottom: 0;
}

.nav-toggle.is-active span:nth-child(1) {
  top: 8px;
  transform: rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
  transform: translateX(100px);
}

.nav-toggle.is-active span:nth-child(3) {
  bottom: 10px;
  transform: rotate(-45deg);
}

/* 移动端菜单 */
.mobile-nav {
  position: fixed;
  top: 70px;
  left: 100%;
  z-index: 110;
  width: 100%;
  height: calc(100% - 70px);
  padding-top: 10px;
  overflow-x: hidden;
  overflow-y: auto;
  background: #fff;
  transition: left 0.5s ease;
}

.mobile-nav.is-open {
  left: 0;
}

.mobile-nav > ul > li {
  border-bottom: 1px solid #eee;
}

.mobile-nav a {
  color: #222;
}

.mobile-nav > ul > li > a,
.mobile-sub-head > a {
  display: block;
  padding-left: 20px;
  font-size: 15px;
  line-height: 56px;
}

.mobile-sub-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sub-toggle {
  position: relative;
  width: 56px;
  height: 56px;
  border: 0;
  background: none;
}

.sub-toggle::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-right: 1px solid #222;
  border-bottom: 1px solid #222;
  transform: translate(-70%, -70%) rotate(45deg);
  transition: transform 0.4s ease;
}

.sub-toggle.is-open::before {
  transform: translate(-70%, -30%) rotate(-135deg);
}

.mobile-sub {
  display: none;
  padding: 12px 24px;
  border-top: 1px solid #eee;
}

.mobile-sub a {
  position: relative;
  display: block;
  padding-left: 18px;
  color: #666;
  font-size: 14px;
  line-height: 42px;
}

.mobile-sub a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 5px;
  height: 2px;
  background: #ccc;
  transform: translateY(-50%);
}

/* ===================================================================
   右侧悬浮联系
=================================================================== */
.side-contact {
  position: fixed;
  right: 0;
  bottom: 16%;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.side-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  color: #fff;
  background: var(--brand-red);
  transition: width 0.5s ease;
  cursor: pointer;
}

.side-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.side-icon svg {
  width: 30px;
  height: 30px;
}

.side-label {
  margin-top: 5px;
  font-size: 12px;
  white-space: nowrap;
}

.side-detail {
  display: none;
  font-size: 14px;
  white-space: nowrap;
}

.side-item:hover {
  width: 180px;
}

.side-item:hover .side-icon,
.side-item:hover .side-label {
  display: none;
}

.side-item:hover .side-detail {
  display: block;
}

.side-qr {
  position: absolute;
  top: -91px;
  left: -160px;
  display: none;
  padding: 0;
  border: 1px solid var(--brand-red);
  background: #fff;
}

.side-qr img {
  width: 150px;
  height: 150px;
  object-fit: cover;
}

.side-wechat:hover .side-qr {
  display: block;
}

/* ===================================================================
   整屏分页
=================================================================== */
.page-dots {
  position: fixed;
  top: 50%;
  right: 20px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  transform: translateY(-50%);
}

.page-dots button {
  width: 22px;
  height: 22px;
  margin: 10px 0;
  padding: 0;
  border: 0;
  background: url("../assets/images/dot-page.png") no-repeat center center / contain;
  opacity: 0.9;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.page-dots button:hover {
  transform: scale(1.12);
}

.page-dots button.is-active {
  background-image: url("../assets/images/dot-active.png");
  opacity: 1;
}

/* ===================================================================
   Fullpage 基础
=================================================================== */
.fullpage {
  height: 100vh;
  overflow: hidden;
}

.fp-viewport {
  height: 100%;
  transition: transform 0.9s cubic-bezier(0.76, 0, 0.24, 1);
  will-change: transform;
}

.fp-section {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background-color: #0d0d0d;
}

.section-inner {
  position: relative;
  z-index: 3;
  width: 94%;
  max-width: 1670px;
  margin: 0 auto;
}

/* 入场动效 */
.anim {
  opacity: 0;
}

.is-active .anim-left {
  animation: fadeInLeft 1s both;
}

.is-active .anim-right {
  animation: fadeInRight 1s both;
}

.is-active .anim-up {
  animation: fadeInUp 1s both;
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translate3d(-60px, 0, 0); }
  to { opacity: 1; transform: none; }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translate3d(60px, 0, 0); }
  to { opacity: 1; transform: none; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translate3d(0, 60px, 0); }
  to { opacity: 1; transform: none; }
}

@keyframes heroZoom {
  from { transform: scale(1.1); }
  to { transform: scale(1); }
}

/* ===================================================================
   第一屏 首页轮播
=================================================================== */
.hero {
  background: #000;
}

.hero-carousel {
  position: relative;
  height: 100%;
  overflow: hidden;
}

.hero-track {
  display: flex;
  height: 100%;
  transition: transform 0.85s cubic-bezier(0.65, 0, 0.35, 1);
  will-change: transform;
}

.hero-slide {
  flex: 0 0 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
}

.hero-slide picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide.is-active img {
  animation: heroZoom 10s linear forwards;
}

.hero-dots {
  position: absolute;
  left: 0;
  bottom: 7%;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.hero-dots button {
  width: 22px;
  height: 22px;
  margin: 0 4px;
  padding: 0;
  border: 0;
  background: url("../assets/images/dot-banner.png") no-repeat center center / contain;
  opacity: 1;
  transition: transform 0.3s ease;
}

.hero-dots button:hover {
  transform: scale(1.12);
}

.hero-dots button.is-active {
  background-image: url("../assets/images/dot-active.png");
}

/* ===================================================================
   第二屏 关于
=================================================================== */
.about {
  background: url("../assets/images/bg-about.jpg") no-repeat center center / cover;
  background-attachment: fixed;
}

.about-inner {
  width: 96%;
  max-width: 1760px;
  padding-top: calc(var(--header-h) + 3vh);
}

.about-title {
  display: flex;
  align-items: flex-end;
  max-width: 500px;
  font-size: 48px;
  font-weight: 400;
  line-height: normal;
}

.about-title img {
  width: 187px;
  height: auto;
  margin-left: 14px;
  margin-bottom: 4px;
}

.about-text {
  max-width: 780px;
  margin-top: 30px;
  margin-bottom: 30px;
  font-size: 14px;
  line-height: 2;
  text-align: left;
}

.about-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  max-width: 155px;
  padding: 5px 0;
  font-size: 14px;
  line-height: 3;
  color: #fff;
  text-align: center;
  background: url("../assets/images/btn-about.png") no-repeat center center;
  background-size: 100% 100%;
  transition: opacity 0.3s ease;
}

.about-more svg {
  width: 15px;
  height: 15px;
}

.about-more:hover {
  opacity: 0.75;
}

/* 时间轴 */
.timeline {
  position: absolute;
  left: 0;
  bottom: -15%;
  z-index: 2;
  width: 100%;
}

.timeline-skyline {
  width: 100%;
  height: auto;
}

.timeline > ul {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
}

.timeline li {
  position: absolute;
  width: 150px;
  color: #fff;
  font-size: 16px;
  text-align: center;
  opacity: 0;
  transform: translate(-50%, 100px);
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.timeline li:nth-child(1) { left: 9%; bottom: 26%; }
.timeline li:nth-child(2) { left: 24%; bottom: 29%; }
.timeline li:nth-child(3) { left: 39%; bottom: 35%; }
.timeline li:nth-child(4) { left: 58%; bottom: 45%; }
.timeline li:nth-child(5) { left: 72%; bottom: 55%; }
.timeline li:nth-child(6) { left: 85%; bottom: 63%; }

.timeline li h3 {
  font-family: "lulsan", "Microsoft YaHei", sans-serif;
  font-size: 54px;
  font-weight: 400;
  line-height: 1.1;
}

.timeline li h3 i {
  font-size: 13px;
  font-style: normal;
  vertical-align: top;
}

.timeline li p {
  margin-top: 5px;
  font-size: 16px;
}

.tl-line {
  width: 1px;
  height: 105px;
  margin: 0 auto;
  background: #fff;
}

.tl-dot {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin: 0 auto;
}

.tl-dot > img {
  position: relative;
  z-index: 2;
  max-width: 20px;
}

.tl-rings {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50px;
  height: 50px;
  transform: translate(-50%, -50%);
}

.tl-rings i {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  animation: circleScale 2.4s linear infinite;
}

.tl-rings i:nth-child(2) { animation-delay: 0.6s; }
.tl-rings i:nth-child(3) { animation-delay: 1.2s; }
.tl-rings i:nth-child(4) { animation-delay: 1.8s; }

@keyframes circleScale {
  0% { transform: scale(0.4); opacity: 0.9; }
  100% { transform: scale(1.7); opacity: 0; }
}

.timeline li.last::before {
  content: "";
  position: absolute;
  top: 22%;
  left: 50%;
  z-index: -1;
  width: 200%;
  height: 200%;
  background: url("../assets/images/timeline-final.png") no-repeat center center;
  transform: translate(-50%, -50%);
}

.about.is-active .timeline li {
  opacity: 1;
  transform: translate(-50%, 0);
}

.about.is-active .timeline li:nth-child(1) { transition-delay: 0.5s; }
.about.is-active .timeline li:nth-child(2) { transition-delay: 0.8s; }
.about.is-active .timeline li:nth-child(3) { transition-delay: 1.1s; }
.about.is-active .timeline li:nth-child(4) { transition-delay: 1.3s; }
.about.is-active .timeline li:nth-child(5) { transition-delay: 1.5s; }
.about.is-active .timeline li:nth-child(6) { transition-delay: 1.7s; }

.about.is-active .anim-left { animation-delay: 0.5s; }
.about.is-active .about-text { animation-delay: 1s; }
.about.is-active .about-more { animation-delay: 1.5s; }

/* ===================================================================
   第三屏 产品中心
=================================================================== */
.products {
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  background: url("../assets/images/bg-products.jpg") no-repeat center center / cover;
}

.products-inner {
  width: 94%;
  max-width: 1670px;
}

.products-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.products-logo {
  width: 285px;
  max-width: 46%;
}

.products-more a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 155px;
  padding: 5px 0;
  color: var(--gold);
  font-size: 14px;
  line-height: 3;
  background: url("../assets/images/btn-products.png") no-repeat center center;
  background-size: 100% 100%;
  transition: opacity 0.3s ease;
}

.products-more a:hover {
  opacity: 0.75;
}

.products-more svg {
  width: 15px;
  height: 15px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5vw;
  margin-top: 60px;
}

.product-card {
  position: relative;
  display: block;
  width: 90%;
  margin: 0 auto;
  text-align: center;
}

.product-media {
  position: relative;
}

.product-glow {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100px;
  background: url("../assets/images/product-line.png") no-repeat center top / 100% auto;
  opacity: 0.55;
  pointer-events: none;
}

.octagon {
  position: relative;
  padding-bottom: 100%;
  overflow: hidden;
  background: var(--gold);
  clip-path: polygon(25% 0%, 75% 0%, 100% 20%, 100% 80%, 75% 100%, 25% 100%, 0% 80%, 0% 20%);
}

.octagon img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.product-card::after {
  content: "";
  position: absolute;
  top: 10%;
  left: 35%;
  z-index: 2;
  width: 104px;
  height: 144px;
  background: url("../assets/images/deco-brush.png") no-repeat center center / cover;
  opacity: 0;
  pointer-events: none;
  transition: all 0.5s ease;
}

.product-name {
  position: relative;
  display: block;
  margin-top: 20px;
  color: #fff;
  font-size: 20px;
  line-height: 2;
  opacity: 0.5;
  transition: all 0.5s ease;
}

.product-name::after {
  content: "";
  position: absolute;
  top: 110%;
  left: 50%;
  width: 37px;
  height: 27px;
  background: url("../assets/images/product-arrow.png") no-repeat center center / contain;
  opacity: 0;
  transform: translateX(-50%);
  transition: all 0.5s ease;
}

.product-card:hover .octagon img {
  opacity: 0.8;
  transform: scale(1.05);
}

.product-card:hover::after {
  top: -10%;
  opacity: 1;
}

.product-card:hover .product-name {
  font-size: 28px;
  opacity: 1;
}

.product-card:hover .product-name::after {
  top: 100%;
  opacity: 1;
}

.products.is-active .products-logo { animation-delay: 0.5s; }
.products.is-active .products-more { animation-delay: 0.5s; }
.products.is-active .product-card:nth-child(1) { animation-delay: 1s; }
.products.is-active .product-card:nth-child(2) { animation-delay: 1.15s; }
.products.is-active .product-card:nth-child(3) { animation-delay: 1.3s; }
.products.is-active .product-card:nth-child(4) { animation-delay: 1.45s; }

/* ===================================================================
   第四屏 招商加盟
=================================================================== */
.join {
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  background: url("../assets/images/bg-join.jpg") no-repeat center center / cover;
}

.join-inner {
  width: 94%;
  max-width: 1670px;
  text-align: center;
}

.join-kicker {
  position: relative;
  font-family: Arial, sans-serif;
  font-size: 18px;
  line-height: 1.5;
  text-transform: uppercase;
}

.join-kicker span {
  position: relative;
  display: inline-block;
}

.join-kicker span::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 104px;
  height: 144px;
  background: url("../assets/images/deco-brush.png") no-repeat;
  background-size: 100% auto;
  transform: translate(-110%, -30%);
}

.join-title {
  margin-top: 5px;
  font-size: 60px;
  font-weight: 400;
  line-height: normal;
}

.join-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 4%;
  margin-bottom: 4%;
}

.join-list::before {
  content: "";
  position: absolute;
  top: 35px;
  left: 50%;
  width: min(1920px, 100vw);
  height: 75px;
  background: url("../assets/images/join-line.png") no-repeat center center / contain;
  transform: translateX(-50%);
  pointer-events: none;
}

.join-item {
  position: relative;
}

.hex {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 146px;
  height: 146px;
  margin: 0 auto;
  background: url("../assets/images/join-hex-bg.png") no-repeat center center / contain;
  transition: transform 0.8s ease;
}

.hex img {
  max-width: 56%;
  max-height: 56%;
  object-fit: contain;
  transition: transform 0.8s ease;
}

.join-item:hover .hex {
  transform: rotate(360deg);
}

.join-item:hover .hex img {
  transform: scale(1.05) rotate(-360deg);
}

.join-item h3 {
  margin-top: 25px;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.8;
}

.join-item p {
  font-family: Arial, sans-serif;
  font-size: 12px;
  line-height: 1.8;
  text-transform: uppercase;
}

.join-btn {
  display: block;
  width: 100%;
  max-width: 250px;
  margin: 0 auto;
  padding: 15px 8px;
  overflow: hidden;
  color: #fff;
  font-size: 18px;
  text-align: center;
  background: var(--accent-red);
  border: 1px solid var(--accent-red);
  border-radius: 50px;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.join-btn:hover {
  background: #b5000e;
  border-color: #b5000e;
}

.join.is-active .join-kicker { animation-delay: 0.5s; }
.join.is-active .join-title { animation-delay: 1s; }
.join.is-active .join-btn { animation-delay: 1.6s; }

.join.is-active .join-item:nth-child(1) { animation: fadeInRight 1s 0s both; }
.join.is-active .join-item:nth-child(2) { animation: fadeInRight 1s 0.5s both; }
.join.is-active .join-item:nth-child(3) { animation: fadeInRight 1s 1s both; }
.join.is-active .join-item:nth-child(4) { animation: fadeInRight 1s 1.5s both; }
.join.is-active .join-item:nth-child(5) { animation: fadeInRight 1s 2s both; }

/* ===================================================================
   第五屏 我们的优势
=================================================================== */
.advantage {
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  background: url("../assets/images/bg-advantage.jpg") no-repeat center center / cover;
}

.advantage-inner {
  width: 100%;
  text-align: center;
}

.adv-icon {
  width: 47px;
  margin: 0 auto;
}

.adv-title {
  margin-top: 8px;
  color: var(--accent-red);
  font-size: 50px;
  font-weight: 400;
  line-height: normal;
}

.adv-sub {
  color: var(--accent-red);
  font-size: 50px;
  line-height: 1.8;
}

.adv-sub span {
  position: relative;
  display: inline-block;
}

.adv-sub span::after {
  content: "";
  display: inline-block;
  width: 170px;
  height: 75px;
  margin: 0 5px;
  vertical-align: middle;
  background: url("../assets/images/advantage-stroke.png") no-repeat center center / contain;
}

.adv-carousel {
  position: relative;
  margin-top: 2%;
  padding: 30px 0 10%;
  overflow: hidden;
  cursor: grab;
}

.adv-carousel.is-dragging {
  cursor: grabbing;
}

.adv-track {
  display: flex;
  align-items: flex-end;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.adv-slide {
  position: relative;
  flex: 0 0 20%;
  padding: 0 10px;
  opacity: 0.3;
  transform: scale(0.7);
  transform-origin: bottom center;
  transition: transform 0.6s ease, opacity 0.6s ease;
}

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

.adv-frame {
  overflow: hidden;
  background: rgba(230, 0, 18, 0.3);
  border: 4px solid rgba(230, 0, 18, 0.3);
  border-radius: 15px;
}

.adv-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 67 / 50;
  object-fit: cover;
  border-radius: 11px;
}

.adv-slide::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100px;
  background: url("../assets/images/gallery-podium.png") no-repeat bottom center / contain;
  pointer-events: none;
}

.advantage.is-active .adv-icon { animation-delay: 0.5s; }
.advantage.is-active .adv-title { animation-delay: 1s; }
.advantage.is-active .adv-sub { animation-delay: 1.5s; }
.advantage.is-active .adv-carousel { animation-delay: 1s; }

/* ===================================================================
   第六屏 新闻中心
=================================================================== */
.news {
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  background: url("../assets/images/bg-news.jpg") no-repeat center center / cover;
}

.news-inner {
  width: 94%;
  max-width: 1670px;
}

.news-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 4%;
  color: var(--accent-red);
  font-size: 50px;
  font-weight: 400;
  line-height: normal;
  text-align: center;
}

.news-title img {
  width: 21px;
  height: auto;
}

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

.news-card {
  position: relative;
  overflow: hidden;
  background: #fff;
}

.news-cover {
  display: block;
  overflow: hidden;
}

.news-cover img {
  width: 100%;
  aspect-ratio: 512 / 301;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.news-body {
  display: flex;
  padding: 40px;
}

.news-date {
  flex: 0 0 90px;
  font-family: Arial, sans-serif;
}

.news-date b {
  display: block;
  color: var(--accent-red);
  font-size: 40px;
  font-weight: 400;
  line-height: 1.3;
}

.news-date span {
  color: var(--accent-red);
  font-size: 14px;
  line-height: 1.8;
}

.news-text {
  flex: 1;
  min-width: 0;
}

.news-text h3 {
  display: -webkit-box;
  overflow: hidden;
  color: #e22e25;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.news-text h3 a:hover {
  text-decoration: underline;
}

.news-text p {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 10px;
  color: rgba(96, 96, 96, 0.62);
  font-size: 16px;
  line-height: 1.8;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.news.is-active .news-title { animation: fadeInUp 1s 0.5s both; }
.news.is-active .news-card:nth-child(1) { animation: fadeInUp 1s 0.8s both; }
.news.is-active .news-card:nth-child(2) { animation: fadeInUp 1s 1.3s both; }
.news.is-active .news-card:nth-child(3) { animation: fadeInUp 1s 1.8s both; }

/* ===================================================================
   第七屏 页脚
=================================================================== */
.footer {
  display: flex;
  align-items: center;
  background: url("../assets/images/bg-footer.jpg") no-repeat center center / cover;
}

.footer-inner {
  width: 94%;
  max-width: 1670px;
  margin: 0 auto;
  padding-top: 6%;
  text-align: center;
}

.footer-logo {
  width: 200px;
  max-width: 45%;
  margin: 0 auto;
}

.footer-wordmark {
  width: 438px;
  max-width: 70%;
  margin: 2% auto;
}

.footer-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 0 auto;
  font-family: Arial, sans-serif;
  font-size: 42px;
  line-height: 1;
}

.footer-phone img {
  width: 36px;
  height: auto;
}

.footer-address {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: 400px;
  margin: 20px auto;
  padding-bottom: 15px;
  border-bottom: 1px solid #fff;
}

.footer-address img {
  width: 17px;
  height: auto;
}

.footer-address p {
  font-size: 16px;
}

.footer-line-icon {
  display: flex;
  align-items: center;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 20px;
  max-width: 370px;
  margin: 0 auto;
}

.footer-social-item img {
  width: 138px;
  margin: 0 auto;
}

.footer-qr {
  padding: 5px;
  background: #fff;
}

.footer-social-item p {
  margin-top: 10px;
  font-size: 16px;
}

.footer-bottom {
  position: absolute;
  right: 0;
  bottom: 20px;
  left: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  width: 94%;
  max-width: 1670px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.8;
}

.footer-copy {
  flex: 0 0 70%;
}

.footer-support {
  flex: 0 0 30%;
  text-align: right;
}

.footer-copy a:hover,
.footer-support a:hover {
  text-decoration: underline;
}

.footer.is-active .footer-logo { animation: fadeInUp 1s 0.5s both; }
.footer.is-active .footer-wordmark { animation: fadeInUp 1s 0.8s both; }
.footer.is-active .footer-phone { animation: fadeInUp 1s 1.3s both; }
.footer.is-active .footer-address { animation: fadeInUp 1s 1.8s both; }
.footer.is-active .footer-social { animation: fadeInUp 1s 1.8s both; }
.footer.is-active .footer-bottom { animation: fadeInUp 1s 1.6s both; }

/* ===================================================================
   品牌合作弹窗
=================================================================== */
.promo-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.promo-modal.is-open {
  display: flex;
}

.promo-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}

.promo-box {
  position: relative;
  z-index: 2;
  width: 80%;
  max-width: 1000px;
  animation: promoIn 0.5s ease both;
}

.promo-box > img {
  width: 100%;
  height: auto;
}

.promo-close {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 3;
  padding: 10px;
  color: #fff;
  background: none;
  border: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.promo-close svg {
  width: 35px;
  height: 35px;
}

.promo-close:hover {
  opacity: 0.8;
  transform: rotate(90deg);
}

@keyframes promoIn {
  from { opacity: 0; transform: scale(0.94); }
  to { opacity: 1; transform: none; }
}

/* ===================================================================
   响应式
=================================================================== */
@media only screen and (max-width: 1500px) {
  .main-nav li {
    margin-right: 0;
  }

  .main-nav > ul > li > a {
    padding: 0 13px;
  }
}

@media only screen and (max-width: 1200px) {
  :root {
    --header-h: 70px;
  }

  .site-header {
    background: var(--brand-red);
  }

  .logo {
    width: 78px;
  }

  .main-nav {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .header-right {
    width: 250px;
    height: 70px;
  }

  .hotline {
    font-size: 15px;
  }

  .side-contact {
    display: none;
  }

  .footer-bottom {
    font-size: 14px;
  }
}

@media only screen and (max-width: 768px) {
  body {
    overflow-x: hidden;
    overflow-y: auto;
  }

  body.menu-open {
    overflow: hidden;
  }

  .header-inner {
    width: 92%;
  }

  .header-right {
    width: 230px;
  }

  .hotline {
    font-size: 13px;
  }

  .hotline img {
    width: 18px;
  }

  .mobile-nav {
    top: 70px;
  }

  .page-dots {
    display: none;
  }

  .promo-modal {
    padding: 16px;
  }

  .promo-box {
    width: 92%;
  }

  .promo-close svg {
    width: 26px;
    height: 26px;
  }

  .fullpage {
    height: auto;
    overflow: visible;
  }

  .fp-viewport {
    transform: none !important;
    transition: none;
  }

  .fp-section {
    height: auto;
    min-height: 0;
    overflow: hidden;
  }

  .hero {
    height: 100vh;
    min-height: 480px;
  }

  .hero-dots {
    bottom: 10%;
  }

  /* animations visible on mobile */
  .anim {
    opacity: 1 !important;
    animation: none !important;
  }

  /* 关于 */
  .about {
    padding: 90px 0 60px;
    background-attachment: scroll;
  }

  .about-inner {
    width: 90%;
    padding-top: 0;
  }

  .about-title {
    font-size: 24px;
  }

  .about-title img {
    width: 100px;
    max-width: 100px;
  }

  .about-text {
    margin: 20px 0;
    font-size: 13px;
    line-height: 1.9;
  }

  .about-more {
    font-size: 13px;
  }

  .timeline {
    display: none;
  }

  /* 产品 */
  .products {
    padding: 100px 0 70px;
  }

  .products-inner {
    width: 90%;
  }

  .products-head {
    flex-direction: column;
    gap: 20px;
  }

  .products-logo {
    width: 200px;
    max-width: 70%;
  }

  .products-more a {
    width: 140px;
    font-size: 13px;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    margin-top: 35px;
  }

  .product-card {
    width: 100%;
  }

  .product-glow {
    height: 60px;
    opacity: 0.4;
  }

  .product-name {
    margin-top: 12px;
    font-size: 16px;
    opacity: 1;
  }

  .product-card::after {
    display: none;
  }

  /* 加盟 */
  .join {
    padding: 100px 0 70px;
  }

  .join-inner {
    width: 90%;
  }

  .join-kicker {
    max-width: 250px;
    margin: 0 auto;
    padding-left: 50px;
    font-size: 14px;
  }

  .join-kicker span::before {
    width: 70px;
    height: 100px;
  }

  .join-title {
    font-size: 24px;
  }

  .join-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 10px;
    margin: 35px 0;
  }

  .join-list::before {
    display: none;
  }

  .hex {
    width: 100px;
    height: 100px;
  }

  .join-item h3 {
    margin-top: 10px;
    font-size: 18px;
  }

  .join-item p {
    font-size: 11px;
  }

  .join-btn {
    max-width: 220px;
    font-size: 16px;
  }

  /* 优势 */
  .advantage {
    padding: 100px 0 70px;
  }

  .adv-icon {
    width: 34px;
  }

  .adv-title {
    font-size: 24px;
  }

  .adv-sub {
    font-size: 24px;
  }

  .adv-sub span::after {
    width: 100px;
    height: 50px;
    background-size: 100% auto;
  }

  .adv-carousel {
    margin-top: 10px;
    padding: 20px 0 70px;
  }

  .adv-slide {
    flex-basis: 100%;
    padding: 0 7%;
  }

  .adv-slide::after {
    height: 70px;
  }

  /* 新闻 */
  .news {
    padding: 100px 0 70px;
  }

  .news-inner {
    width: 90%;
  }

  .news-title {
    gap: 8px;
    margin-bottom: 30px;
    font-size: 24px;
  }

  .news-title img {
    width: 18px;
  }

  .news-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .news-body {
    padding: 20px;
  }

  .news-date {
    flex-basis: 64px;
  }

  .news-date b {
    font-size: 32px;
  }

  .news-text h3 {
    font-size: 17px;
  }

  .news-text p {
    font-size: 14px;
  }

  /* 页脚 */
  .footer {
    min-height: 100vh;
    padding: 90px 0 40px;
    flex-wrap: wrap;
  }

  .footer-inner {
    width: 90%;
    padding-top: 0;
  }

  .footer-logo {
    width: 150px;
  }

  .footer-wordmark {
    width: 280px;
    margin: 20px auto;
  }

  .footer-phone {
    gap: 12px;
    font-size: 32px;
  }

  .footer-phone img {
    width: 30px;
  }

  .footer-address {
    max-width: 100%;
    margin: 18px auto;
  }

  .footer-address p {
    font-size: 13px;
  }

  .footer-social {
    gap: 14px;
    max-width: 100%;
  }

  .footer-social-item img {
    width: 120px;
  }

  .footer-social-item p {
    font-size: 13px;
  }

  .footer-bottom {
    position: static;
    flex-direction: column;
    gap: 10px;
    width: 90%;
    margin-top: 40px;
    font-size: 12px;
    text-align: center;
    transform: none;
  }

  .footer-copy,
  .footer-support {
    flex: none;
    width: 100%;
    text-align: center;
  }
}

@media only screen and (max-height: 710px) and (min-width: 769px) {
  .timeline {
    bottom: -25%;
  }

  .tl-line {
    height: 55px;
  }

  .about-inner {
    padding-top: calc(var(--header-h) + 1vh);
  }

  .product-grid {
    margin-top: 30px;
  }

  .news-title {
    margin-bottom: 3%;
  }
}

@media only screen and (max-width: 340px) {
  .logo {
    width: 64px;
  }

  .header-right {
    width: 210px;
  }

  .hotline {
    font-size: 11px;
  }

  .hotline img {
    width: 16px;
    margin-right: 6px;
  }

  .footer-phone {
    font-size: 26px;
  }

  .product-name {
    font-size: 14px;
  }
}

body.promo-open {
  overflow: hidden;
}

/* 页脚仅保留版权信息后居中 */
.footer-bottom {
  justify-content: center;
  text-align: center;
}

.footer-copy {
  flex: 0 1 auto;
  width: auto;
}
