#header-container .nav{
   background: transparent;
   transition: all 0.2s ease;
}

#header-container .nav:hover {
  background: url("/images/nav-bg.jpg") no-repeat center / cover !important;
}

#header-container .nav .menu .split-line {
    color: transparent;
}

#header-container .nav:hover .menu .split-line{
    color: var(--color-primary-11);
}

.contact-bg {
    box-sizing: border-box;
    width: 100%;
    height: 32vh;
    min-height: 300px;
    position: relative;
    border-top: 1px solid transparent;
}

.contact-bg .bg {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.contact-bg .mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.contact-bg .title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    font-size: 3rem;
    font-weight: 600;
    letter-spacing: 0.15rem;
    color: #ffffff;
    z-index: 1;
}

/* 核心容器 */
.contact-container {
    width: 80vw;
    height: auto;
    margin: 0 auto 6rem;
    border-top: 1px solid transparent;
    position: relative;
}

.address {
    width: 100%;
    height: 30rem;
    display: flex;
    justify-content: space-between;
    gap: 6.25rem;
    margin: 6.25rem 0;
}

.address .l {
    width: 48%;
    height: 100%;
    overflow: hidden;
}

.address .l .info {
    height: 18%;
    font-size: 1rem;
    color: #545454;
}

.address .l .map {
    width: 100%;
    height: 82%;
    overflow: hidden;
    background-image: url('/images/contact/address.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.address .l .map:hover {
    transform: scale(1.05);
    transition: all 0.3s ease;
}

.address .r {
    width: 48%;
    height: 100%;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 0 8px #c0c0c0;
    padding: 2.25rem 3rem;
}

.address .r .item{
    height: 20%;
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.address .r .item .ic{
    box-sizing: border-box;
    height: 2.75rem;
    width:  2.75rem;
    text-align: center;
    line-height: 2.75rem;
    color: #3b82f6;
    background-color: #ebf2fe;
    border-radius: 50%;
}

.address .r .item .ic i{
    font-size: 1.25rem;
    font-weight: 600;
}

.address .r .item .content{
   border-bottom: 1px solid #e6e6e6;
   padding-bottom: .75rem;
   box-sizing: border-box;
   flex: 1;
}

.address .r .item:last-child .content{
   border-bottom: none;
}

.address .r .item .content .key{
  font-size: 1.1875rem;
  font-weight: 600;
  color: #333;
  margin-bottom: .4rem;
}

.address .r .item .content .val{
  font-size: 1rem;
  color: #757575;
  font-weight: 500;
}

/* 销售热线 */
@media screen and (max-width: 768px) {
    .sales-section {
        margin: 3rem 0 !important;
    }

    .sales-section .section-title {
        margin-bottom: 2rem;
        font-size: 2.2rem;
        padding-bottom: 0rem;
    }

    .sales-section .sales-cards {
        display: flex;
        flex-direction: column;
        gap: 1.3rem;
    }

}

.sales-section {
    margin: 6.25rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 5rem;
    color: #333;
    font-size: 3rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 1rem;
}

.sales-cards {
    display: flex;
    justify-content: space-between;
    gap: 5rem;
}

.sales-card {
    flex: 1;
    background: white;
    border-radius: .5rem;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 .5rem 1.25rem rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.sales-card:hover {
    box-shadow: 0 .75rem 1.5625rem rgba(0, 0, 0, 0.15);
}
.region-icon {
    width: 4.375rem;
    height: 4.375rem;
    background: linear-gradient(135deg, #ff7f7f, #C00);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0.5rem auto 1rem;
    color: white;
    font-size: 1.8rem;
}

.sales-card h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: .75rem;
    color: #333;
}

.sales-card p {
    color: #666;
    font-size: 0.95rem;
}

.phone-number {
    font-size: 1.1rem;
    color: #C00;
    font-weight: 600;
    display: inline-block;
    padding: .375rem 1rem;
    background: #f8f9fa;
    border-radius: 50px;
    transition: all 0.3s ease;
    margin: 1rem 0 0.5rem;;
}

.phone-number:hover {
    box-shadow: 0 0px 10px rgba(192,0,0, 0.5);
    cursor: pointer;
}

.comment {
    width: 100%;
    height: auto;
    margin-bottom: 0;
}

.comment .title{
    font-size: 3rem;
    font-weight: 600;
    color: #333;
    text-align: center;
    margin-bottom: 2rem;
}

.comment .info{
    text-align: center;
    margin-bottom: 2rem;
    color: #757575;
}

.form-box {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.form-box .form-item {
    width: 48%;
    height: auto;
}


.form-box .form-item.more-line{
    width: 100%;
}

.form-box .form-item.submit{
    width: 100%;
    text-align: center;
}

.form-box .form-item .label{
  font-weight: 600;
  color: #333;
  margin-bottom: 1rem;
}

.form-box .form-item .label sup{
  color: #F53F3F;
  font-size: .875rem;
  margin-left: 4px;
}


.form-box .form-item input{
    width: 100%;
    height: 60px;
    border: 1px solid #bbbbbb;
    padding: 0 1rem;
    box-sizing: border-box;
    outline: none;
    font-size: 1rem;
    border-radius: 5px;
}

.form-box .form-item input:hover {
    border-color: #999;
    box-shadow: 0 0 1px #bbbbbb;
}

.form-box .form-item .error-message{
    width: 100%;
    height: 16px;
    font-size: 15px;
    color:#F53F3F;
    margin: 4px 0 16px 16px;
    visibility: hidden;
}

.more-line textarea{
    width: 100%;
    height: 140px;
    border: 1px solid #bbbbbb;
    padding: .75rem;
    box-sizing: border-box;
    outline: none;
    font-size: 1rem;
    border-radius: 5px;
    resize: none;
}

.more-line textarea:hover {
    border-color: #999;
    box-shadow: 0 0 1px #bbbbbb;
}

.submit-btn {
    /* background: linear-gradient(135deg,#4a5568, #2d3748); #4a5568, #2d3748   #1e3a8a,  #3b82f6 */
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    width: 40%;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    margin-top: 32px;

    height: 60px;
    border-radius: 30px;
    background: linear-gradient(135deg,#ce4348, #e74c3c);
    border: none;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

.submit-btn:active {
    transform: translateY(-1px);
}

.submit-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.submit-btn:hover::after {
    left: 100%;
}

/* 蒙层样式 */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

.loading-container {
    text-align: center;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    max-width: 90%;
    width: 400px;
}

.loader {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 25px;
}

.envelope {
    position: absolute;
    width: 80px;
    height: 60px;
    background: #d04447;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 8px;
    z-index: 2;
    animation: envelope-pulse 2s infinite;
}

.envelope:before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 20px solid #d04447;
}

.envelope:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    top: 25px;
    left: 10px;
    border-radius: 5px;
}

.circular-loader {
    position: absolute;
    width: 120px;
    height: 120px;
    border: 4px solid rgba(192, 0, 0, 0.2);
    border-radius: 50%;
    border-top: 4px solid #d04447;
    animation: spin 1.5s linear infinite;
    transform-origin: center center;
    top: 0;
    left: 0;
}

.loading-text {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 500;
}

.progress-text {
    font-size: 16px;
    color: #d04447;
    font-weight: 600;
}

.loading-dots {
    display: inline-block;
    width: 20px;
    text-align: left;
}

.hint {
    margin-top: 20px;
    font-size: 14px;
    color: #777;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes envelope-pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.05); }
}

@keyframes dots {
    0%, 20% { content: '.'; }
    40% { content: '..'; }
    60%, 100% { content: '...'; }
}

.loading-dots:after {
    content: '';
    animation: dots 1.5s infinite;
}

@media screen and (max-width: 767px) {
    .region {
        /* border: 1px solid red; */
        margin-bottom: 3rem;
        margin-top: 3rem;
        gap: 1.5rem;
    }

    .region .item{
        width: 100%;
    }

    .region .item .name{
       font-size: 1.6rem;
       padding-bottom: 0.5rem;
    }

    .region .item .sales-hotline{
       font-size: 1.0625rem;
       margin-top: 0.5rem;
    }
}

