/* [2025-01-27]添加联系我们页面样式和优雅动效 */
.contact-hero {
  position: relative;
  width: 100%;
  height: 50vh;
  min-height: 350px;
  overflow: hidden;
}
.contact-hero .hero-bg {
  width: 100%;
  height: 100%;
  position: relative;
}
.contact-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;
}
.contact-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);
}
.contact-hero .hero-bg:hover img {
  transform: scale(1.05);
}
.contact-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;
}
.contact-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;
}
.contact-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;
  }
}
.contact-section {
  opacity: 0;
  animation: sectionFadeIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  background: #fff;
}
.contact-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
  border-bottom: 1px solid #bcb8ae;
}
.contact-section:last-of-type .container {
  border: 0;
}
.contact-section .section-heading {
  text-align: center;
  margin-bottom: 50px;
  font-size: 24px;
  color: #333;
  font-weight: normal;
  opacity: 0;
  transform: translateY(20px);
  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;
}
.contact-section .section-heading.visible {
  opacity: 1;
  transform: translateY(0);
}
.contact-section .section-heading .pill {
  padding: 8px 30px;
  border-radius: 30px;
  font-size: 18px;
  letter-spacing: 0.5em;
  display: inline-block;
  font-weight: bolder;
  color: #7c735e;
  background: #eaeae7;
  transition: border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.contact-section .section-heading .pill:hover {
  border-color: #79715c;
  color: #79715c;
  transform: scale(1.05);
}
@keyframes sectionFadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.section-info .contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto 40px;
}
.section-info .contact-grid .contact-card {
  padding: 20px;
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  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), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.section-info .contact-grid .contact-card:nth-child(1) {
  transition-delay: 0.4s;
}
.section-info .contact-grid .contact-card:nth-child(2) {
  transition-delay: 0.5s;
}
.section-info .contact-grid .contact-card:nth-child(3) {
  transition-delay: 0.6s;
}
.section-info .contact-grid .contact-card:nth-child(4) {
  transition-delay: 0.7s;
}
.section-info .contact-grid .contact-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.section-info .contact-grid .contact-card p {
  margin-bottom: 10px;
  color: #666;
  font-size: 14px;
  line-height: 1.6;
  transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.section-info .contact-grid .contact-card .phone {
  font-weight: 500;
  color: #333;
}
.section-info .contact-grid .contact-card .email {
  color: #888;
}
.section-info .contact-grid .contact-card:hover .phone,
.section-info .contact-grid .contact-card:hover .email {
  color: #79715c;
}
.section-info .extra-info {
  color: #ff944a;
  font-size: 14px;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.7s, transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.7s;
}
.section-info .extra-info.visible {
  opacity: 1;
  transform: translateY(0);
}
.section-showrooms .showrooms-wrapper {
  display: flex;
  justify-content: center;
  gap: 60px;
  max-width: 1000px;
  margin: 0 auto;
}
.section-showrooms .showrooms-wrapper .showroom-item {
  flex: 1;
  text-align: center;
  opacity: 0;
  transform: translateY(40px);
  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);
}
.section-showrooms .showrooms-wrapper .showroom-item:nth-child(1) {
  transition-delay: 0.2s;
}
.section-showrooms .showrooms-wrapper .showroom-item:nth-child(2) {
  transition-delay: 0.4s;
}
.section-showrooms .showrooms-wrapper .showroom-item.visible {
  opacity: 1;
  transform: translateY(0);
}
.section-showrooms .showrooms-wrapper .showroom-item .showroom-header {
  margin-bottom: 20px;
}
.section-showrooms .showrooms-wrapper .showroom-item .showroom-header .tag {
  padding: 8px 30px;
  border-radius: 30px;
  font-size: 18px;
  letter-spacing: 0.5em;
  display: inline-block;
  font-weight: bolder;
  color: #7c735e;
  background: #eaeae7;
  transition: border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.section-showrooms .showrooms-wrapper .showroom-item .showroom-image {
  width: 100%;
  aspect-ratio: 4/3;
  background-color: #eee;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.section-showrooms .showrooms-wrapper .showroom-item .showroom-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: scale(1.1);
}
.section-showrooms .showrooms-wrapper .showroom-item .showroom-image img.visible {
  opacity: 1;
  transform: scale(1);
}
.section-showrooms .showrooms-wrapper .showroom-item .showroom-image:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}
.section-showrooms .showrooms-wrapper .showroom-item .showroom-image:hover img {
  transform: scale(1.08);
}
.section-showrooms .showrooms-wrapper .showroom-item .showroom-info p {
  color: #666;
  font-size: 16px;
  transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.section-showrooms .showrooms-wrapper .showroom-item:hover .showroom-header .tag {
  border-color: #79715c;
  color: #79715c;
  transform: scale(1.05);
}
.section-showrooms .showrooms-wrapper .showroom-item:hover .showroom-info p {
  color: #79715c;
}
.section-stores .stores-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}
.section-stores .stores-grid .store-item {
  text-align: center;
  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), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: #827a66;
}
.section-stores .stores-grid .store-item:nth-child(1) {
  transition-delay: 0.28s;
}
.section-stores .stores-grid .store-item:nth-child(2) {
  transition-delay: 0.36s;
}
.section-stores .stores-grid .store-item:nth-child(3) {
  transition-delay: 0.44s;
}
.section-stores .stores-grid .store-item:nth-child(4) {
  transition-delay: 0.52s;
}
.section-stores .stores-grid .store-item:nth-child(5) {
  transition-delay: 0.6s;
}
.section-stores .stores-grid .store-item:nth-child(6) {
  transition-delay: 0.68s;
}
.section-stores .stores-grid .store-item.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.section-stores .stores-grid .store-item .city {
  font-size: 16px;
  margin-bottom: 10px;
  font-weight: normal;
  transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.section-stores .stores-grid .store-item p {
  font-size: 14px;
  margin-bottom: 5px;
  line-height: 1.6;
  transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.section-stores .stores-grid .store-item:hover .city {
  color: #79715c;
}
.section-stores .stores-grid .store-item:hover p {
  color: #666;
}
@media (max-width: 768px) {
  .contact-hero {
    height: 35vh;
  }
  .contact-hero .hero-content .hero-title {
    font-size: 32px;
  }
  .contact-section {
    padding: 40px 0;
  }
  .section-info .contact-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .section-info .contact-grid .contact-card {
    transform: translateY(20px);
  }
  .section-info .contact-grid .contact-card.visible {
    transform: translateY(0);
  }
  .section-showrooms .showrooms-wrapper {
    flex-direction: column;
    gap: 40px;
  }
  .section-showrooms .showrooms-wrapper .showroom-item {
    transform: translateY(20px);
  }
  .section-showrooms .showrooms-wrapper .showroom-item.visible {
    transform: translateY(0);
  }
  .section-stores .stores-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .section-stores .stores-grid .store-item {
    transform: translateY(20px) scale(0.98);
  }
  .section-stores .stores-grid .store-item.visible {
    transform: translateY(0) scale(1);
  }
}
