
.contact-section {
    margin-top: 86px;
    position: relative;
    background-color: #ffffff;
}


.contact-banner {
    position: relative;
    width: 1084px;
    height: auto;
    min-height: 450px;
    margin: 0 auto;
    padding: 0;
    overflow: visible;
    background-image: url('../../images/contact/contact-map.png');
    background-size: cover;
    background-position: center;
    display: block;
    border-radius: 16px;
}

.contact-card {
    position: absolute;
    left: 20px;
    top: 20px;
    z-index: 2;
    background-color: transparent;
    border-radius: 0;
    padding: 40px;
    width: 341px;
    height: auto;
}

.contact-title {
    font-size: 32px;
    font-weight: 700;
    /* color: #ffffff; */
    margin-bottom: 24px;
    line-height: 0.78125em;
    position: relative;
}

.contact-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #1F79FF;
}

.contact-desc {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5625em;
    /* color: #ffffff; */
    margin-bottom: 24px;
    margin-top: 20px;
}

.contact-info {
    margin-bottom: 30px;
}

.contact-phone, 
.contact-email,
.contact-address {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5625em;
    margin-bottom: 20px;
    /* color: #ffffff; */
    display: flex;
    align-items: center;
}

/*.contact-phone::before,*/
/*.contact-email::before,*/
/*.contact-address::before {*/
/*    content: '';*/
/*    display: inline-block;*/
/*    width: 20px;*/
/*    height: 20px;*/
/*    margin-right: 10px;*/
/*    background-size: contain;*/
/*    background-repeat: no-repeat;*/
/*}*/

.contact-phone::before {
    /*background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%231F79FF"><path d="M20.01 15.38c-1.23 0-2.42-.2-3.53-.56-.35-.12-.74-.03-1.01.24l-1.57 1.97c-2.83-1.35-5.48-3.9-6.89-6.83l1.95-1.66c.27-.28.35-.67.24-1.02-.37-1.11-.56-2.3-.56-3.53 0-.54-.45-.99-.99-.99H4.19C3.65 3 3 3.24 3 3.99 3 13.28 10.73 21 20.01 21c.71 0 .99-.63.99-1.18v-3.45c0-.54-.45-.99-.99-.99z"/></svg>');*/
}

.contact-email::before {
    /*background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%231F79FF"><path d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"/></svg>');*/
}

.contact-address::before {
    /*background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%231F79FF"><path d="M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z"/></svg>');*/
    width: 50px;
    height: 50px;
    margin-right: 12px;
}

.contact-address {
    line-height: 1.6;
    margin-top: 5px;
    align-items: flex-start;
}

/* 社交图标容器 */
.social-icons-container {
    position: absolute;
    left: 20px;
    bottom: 20px;
    z-index: 2;
    padding: 0 40px;
}

.social-icons {
    display: flex;
    gap: 18px;
    margin-top: 0;
    position: static;
}

.social-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-5px);
}

.social-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


.detailed-map-container {
    width: 1083px;
    height: 415px;
    margin: 33px auto 0;
    padding: 0;
    margin-bottom: 60px;
    border-radius: 16px;
    overflow: hidden;
}

.detailed-map-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.company-intro {
    position: relative;
    background-image: url('../../images/contact/intro-bg.png');
    background-size: cover;
    background-position: center;
    height: 450px;
    margin-top: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.company-intro::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 329px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #ffffff);
}

.intro-content {
    max-width: 740px;
    text-align: center;
    position: relative;
    z-index: 2;
    margin-top: -100px;
}

.intro-title {
    font-size: 48px;
    font-weight: 700;
    color: #222222;
    text-align: center;
    margin-bottom: 35px;
}

.intro-text {
    text-align: left;
}

.intro-text p {
    font-size: 18px;
    line-height: 1.8;
    color: #333333;
    text-align: left;
    text-indent: 2em;
}


@media (max-width: 1400px) {
    .detailed-map-container {
        width: 90%;
    }
}

@media (max-width: 1200px) {
    .contact-card {
        left: 120px;
        height: auto;
    }
    
    .social-icons-container {
        left: 120px;
    }
    
    .contact-banner {
        width: 90%;
        height: auto;
        min-height: 350px;
        border-radius: 16px;
    }
}

@media (max-width: 1024px) {
    .contact-card {
        left: 80px;
        width: 300px;
        padding: 30px;
        height: auto;
    }
    
    .social-icons-container {
        left: 80px;
    }
}

@media (max-width: 768px) {
    .contact-section {
        margin-top: 60px;
    }
    
    .contact-banner {
        width: 100%;
        height: auto;
        background-image: none;
        padding: 20px;
        margin-bottom: 120px;
    }
    
    .contact-card {
        position: relative;
        left: 0;
        top: 0;
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
        height: auto;
        padding: 0;
    }
    
    .social-icons-container {
        position: static;
        padding: 0 20px;
        margin-top: 20px;
    }
    
    .contact-banner {
        padding-bottom: 20px;
    }
    
    .detailed-map-container {
        height: auto;
        width: 90%;
        margin-top: 20px;
    }
    
    .company-intro {
        height: auto;
        padding: 60px 20px;
    }
    
    .intro-content {
        margin-top: 0;
    }
    
    .intro-title {
        font-size: 36px;
    }
}

@media (max-width: 576px) {
    .contact-section {
        margin-top: 50px;
    }
    
    .contact-banner {
        margin-bottom: 80px;
    }
    
    .contact-card {
        padding: 0 20px;
    }
    
    .contact-title {
        font-size: 28px;
        margin-bottom: 20px;
    }
    
    .contact-desc {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .contact-phone, 
    .contact-email,
    .contact-address {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .contact-address {
        line-height: 1.4;
        align-items: flex-start;
    }
    
    .contact-address::before {
        margin-top: 3px;
        width: 35px;
        height: 35px;
    }
    
    .social-icons-container {
        margin-top: 15px;
    }
    
    .social-icons {
        gap: 12px;
        justify-content: flex-start;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
    }
    
    .detailed-map-container {
        margin-bottom: 40px;
    }
    
    .intro-title {
        font-size: 28px;
        margin-bottom: 25px;
    }
    
    .intro-text p {
        font-size: 13px;
    }
} 

/* 二维码弹窗样式 */
.qr-modal {
  position: fixed;
  z-index: 9999;
  left: 0; top: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qr-modal-mask {
  position: absolute;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
}
.qr-modal-content {
  position: relative;
  background: #fff;
  border-radius: 10px;
  padding: 32px 24px 16px 24px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 240px;
  min-height: 240px;
}
.qr-modal-content img {
  width: 400px;
  height: 400px;
  max-width: 80vw;
  max-height: 80vh;
  object-fit: contain;
  margin-bottom: 16px;
}
.qr-modal-title {
  font-size: 18px;
  color: #222;
  text-align: center;
}
.qr-modal-close {
  position: absolute;
  right: 12px;
  top: 8px;
  font-size: 28px;
  color: #888;
  cursor: pointer;
  z-index: 2;
}
.qr-modal-close:hover {
  color: #1F79FF;
} 

@media (max-width: 500px) {
  .qr-modal-content img {
    width: 90vw;
    height: 90vw;
    max-width: 95vw;
    max-height: 70vh;
  }
} 