/* [2025-01-27]添加品牌故事页面样式和优雅动效 */
.brand-hero {
  position: relative;
  width: 100%;
  height: 60vh;
  min-height: 400px;
  overflow: hidden;
}
.brand-hero .hero-bg {
  width: 100%;
  height: 100%;
  position: relative;
}
.brand-hero .hero-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.3) 100%);
  z-index: 1;
  opacity: 0;
  animation: fadeInOverlay 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s forwards;
}
.brand-hero .hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.1);
  animation: heroImageFadeIn 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  transition: transform 8s cubic-bezier(0.4, 0, 0.2, 1);
}
.brand-hero .hero-bg:hover img {
  transform: scale(1.05);
}
.brand-hero .hero-content {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translate(-50%, 0);
  text-align: center;
  color: #fff;
  z-index: 2;
  opacity: 0;
  animation: heroContentFadeIn 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s forwards;
}
.brand-hero .hero-content .hero-title {
  font-size: 48px;
  font-weight: 300;
  letter-spacing: 4px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
  transform: translateY(20px);
  animation: titleSlideUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.7s forwards;
}
.brand-hero .hero-content .hero-title::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background-color: #fff;
  margin: 20px auto 0;
  animation: lineExpand 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 1.2s forwards;
}
@keyframes heroImageFadeIn {
  0% {
    opacity: 0;
    transform: scale(1.1);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes fadeInOverlay {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes heroContentFadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes titleSlideUp {
  0% {
    transform: translateY(20px);
  }
  100% {
    transform: translateY(0);
  }
}
@keyframes lineExpand {
  0% {
    width: 0;
  }
  100% {
    width: 60px;
  }
}
.brand-section {
  padding: 20px 0;
  opacity: 0;
  animation: sectionFadeIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  background: #fff;
}
.brand-section.bg-gray {
  background-color: #f9f9f9;
}
.brand-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.brand-section .content-wrapper {
  display: flex;
  align-items: center;
  gap: 60px;
  position: relative;
}
.brand-section .content-wrapper:after {
  content: '';
  position: absolute;
  left: 0;
  right: 50%;
  bottom: -20px;
  background: #b8b4a9;
  height: 1px;
}
.brand-section:last-of-type .content-wrapper:after {
  display: none;
}
.brand-section .text-block {
  flex: 1;
  opacity: 0;
  text-align: center;
  transform: translateX(-30px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.brand-section .text-block.animate-in {
  opacity: 1;
  transform: translateX(0);
}
.brand-section .text-block .section-title {
  font-size: 20px;
  color: #908977;
  background: #eaeae7;
  line-height: 45px;
  padding: 0 20px;
  border-radius: 45px;
  display: inline-block;
  margin-bottom: 30px;
  font-weight: bolder;
  letter-spacing: 0.5em;
  position: relative;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s, transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s, border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.brand-section .text-block .section-title.visible {
  opacity: 1;
  transform: translateY(0);
}
.brand-section .text-block .section-title:hover {
  border-color: #79715c;
  color: #79715c;
}
.brand-section .text-block .section-text {
  color: #7f7662;
  max-width: 450px;
  margin: 0 auto;
  line-height: 1.8;
  font-size: 16px;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s, transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s;
}
.brand-section .text-block .section-text.visible {
  opacity: 1;
  transform: translateY(0);
}
.brand-section .text-block .section-text p {
  margin-bottom: 20px;
  text-align: center;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.brand-section .text-block .section-text p:nth-child(1) {
  transition-delay: 0.5s;
}
.brand-section .text-block .section-text p:nth-child(2) {
  transition-delay: 0.6s;
}
.brand-section .text-block .section-text p:nth-child(3) {
  transition-delay: 0.7s;
}
.brand-section .text-block .section-text p:nth-child(4) {
  transition-delay: 0.8s;
}
.brand-section .text-block .section-text p:nth-child(5) {
  transition-delay: 0.9s;
}
.brand-section .text-block .section-text p:nth-child(6) {
  transition-delay: 1s;
}
.brand-section .text-block .section-text p:nth-child(7) {
  transition-delay: 1.1s;
}
.brand-section .text-block .section-text p:nth-child(8) {
  transition-delay: 1.2s;
}
.brand-section .text-block .section-text p:nth-child(9) {
  transition-delay: 1.3s;
}
.brand-section .text-block .section-text p:nth-child(10) {
  transition-delay: 1.4s;
}
.brand-section .text-block .section-text p.visible {
  opacity: 1;
  transform: translateY(0);
}
.brand-section .image-block {
  flex: 1;
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s, transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s;
}
.brand-section .image-block.animate-in {
  opacity: 1;
  transform: translateX(0);
}
.brand-section .image-block img {
  width: 100%;
  height: auto;
  display: block;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: scale(0.95) translateY(20px);
}
.brand-section .image-block img.visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}
.brand-section .image-block:hover img {
  transform: scale(1.02);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}
.brand-section .image-block.collage-block {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 15px;
  height: 400px;
}
.brand-section .image-block.collage-block .collage-item {
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.brand-section .image-block.collage-block .collage-item.main {
  grid-row: 1 / span 2;
  transition-delay: 0.1s;
}
.brand-section .image-block.collage-block .collage-item.sub1 {
  transition-delay: 0.2s;
}
.brand-section .image-block.collage-block .collage-item.sub2 {
  transition-delay: 0.3s;
}
.brand-section .image-block.collage-block .collage-item.visible {
  opacity: 1;
  transform: scale(1);
}
.brand-section .image-block.collage-block .collage-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.brand-section .image-block.collage-block .collage-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}
.brand-section .image-block.collage-block .collage-item:hover img {
  transform: scale(1.05);
}
.brand-section .image-block.collage-block .collage-item:hover::after {
  background: rgba(0, 0, 0, 0.05);
}
@keyframes sectionFadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@media (max-width: 992px) {
  .brand-section .content-wrapper {
    gap: 40px;
  }
}
@media (max-width: 768px) {
  .brand-hero {
    height: 40vh;
  }
  .brand-hero .hero-content .hero-title {
    font-size: 32px;
  }
  .brand-section {
    padding: 40px 0;
  }
  .brand-section .content-wrapper {
    flex-direction: column-reverse !important;
    gap: 30px;
  }
  .brand-section .content-wrapper::after {
    left: 10%;
    right: 10%;
    bottom: -40px;
  }
  .brand-section .text-block {
    order: 2;
    transform: translateY(20px);
  }
  .brand-section .text-block.animate-in {
    transform: translateY(0);
  }
  .brand-section .image-block {
    order: 1;
    width: 100%;
    transform: translateY(20px);
  }
  .brand-section .image-block.animate-in {
    transform: translateY(0);
  }
  .brand-section .image-block.collage-block {
    height: 300px;
  }
}
