/* =========================
   页面标题样式
========================= */
.page-header {
    background: #000b5a url('../images/z-banner1.png') center/cover no-repeat;
    padding: calc(5rem + 3vw) 5% calc(2.5rem + 1vw);
    min-height: 28.125rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.page-header .page-header-inner {
    max-width: 100rem;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 1;
}

.page-header-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 0.625rem 0;
    letter-spacing: 0.125rem;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 1.5rem 0;
}

.page-header-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* =========================
   二级导航样式
========================= */
.news-tabs {
    background: #fff;
    border-bottom: 0.0625rem solid #eee;
}

.news-tabs-inner {
    max-width: 100rem;
    margin: 0 auto;
    display: flex;
    padding: 0 5%;
    position: relative;
}

.tab-item {
    padding: 1.5625rem 2.5rem;
    font-size: 1rem;
    color: #666;
    cursor: pointer;
    transition: color 0.3s ease;
    text-decoration: none;
    position: relative;
}

.tab-item:hover {
    color: #005AAA;
    text-decoration: none;
}

.news-tabs-inner a {
    text-decoration: none;
}

.news-tabs-inner .tab-item,
.news-tabs-inner .tab-item:visited,
.news-tabs-inner .tab-item.active {
    color: #005AAA !important;
}

.news-tabs-inner .tab-item:hover {
    color: #fff !important;
}

.tab-item.active {
    color: #005AAA;
    font-weight: 500;
}

.tab-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3.125rem;
    height: 0.125rem;
    background: #005AAA;
    bottom: -0.0625rem;
}

@media (max-width: 48rem) {
    .news-tabs-inner {
        flex-wrap: wrap;
    }
    
    .tab-item {
        padding: 1rem 1.5625rem;
        font-size: 0.875rem;
    }
}

/* =========================
   联系方式区域样式
========================= */
.contact-section {
    padding: 6.25rem 5%;
    background: #fff;
}

.contact-inner {
    max-width: 100rem;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    padding-left: 3rem;
}

.contact-info h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 2rem 0;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1.5rem 0;
}

.contact-item svg {
    margin-top: 0.375rem;
    flex-shrink: 0;
}

.contact-item:first-child {
    border-top: 0.0625rem solid #eee;
    padding-top: 1.875rem;
}

.contact-item:last-child {
    border-bottom: 0.0625rem solid #eee;
    padding-bottom: 1.875rem;
}

.contact-text {
    display: flex;
    flex-direction: column;
}

.contact-value {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.25rem;
}

.contact-label {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #999;
    margin-top: 0.5rem;
}

.contact-map {
    width: 100%;
    height: 100%;
    min-height: 28rem;
}

.map-container {
    width: 100%;
    height: 100%;
    min-height: 28rem;
    overflow: hidden;
    position: relative;
    cursor: grab;
    border: 0.0625rem solid #eee;
    background: #f8f9fa;
}

.map-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: grab;
}

.map-image.dragging {
    cursor: grabbing;
}

.map-zoom-controls {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 10;
}

.zoom-btn {
    width: 2.5rem;
    height: 2.5rem;
    border: none;
    border-radius: 0.3125rem;
    background: rgba(255, 255, 255, 0.9);
    color: #005AAA;
    font-size: 1.25rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0.125rem 0.375rem rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.zoom-btn:hover {
    background: #005AAA;
    color: #fff;
}

.map-hint {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 0.3125rem;
    font-size: 0.8125rem;
    color: #666;
    z-index: 10;
    box-shadow: 0 0.125rem 0.375rem rgba(0, 0, 0, 0.1);
}

.map-box {
    width: 100%;
    height: 100%;
    min-height: 25rem;
    background: linear-gradient(135deg, #005AAA 0%, #003366 100%);
    border-radius: 0.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    color: #fff;
    padding: 2rem;
    box-sizing: border-box;
}

.map-pin {
    width: 3rem;
    height: 3rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.map-info {
    text-align: center;
}

.map-info h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
}

.map-info p {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 0 1rem 0;
    opacity: 0.9;
}

.map-coords {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    font-size: 0.875rem;
    opacity: 0.7;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    min-height: 25rem;
    background: #e9ecef;
    border-radius: 0.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.map-icon {
    width: 4rem;
    height: 4rem;
    margin-bottom: 1rem;
}

.map-icon svg {
    width: 100%;
    height: 100%;
}

.map-placeholder p {
    font-size: 0.875rem;
    color: #666;
    margin: 0;
}

.map-address {
    margin-top: 0.5rem !important;
    color: #005AAA !important;
    font-weight: 500;
}

/* =========================
   在线咨询区域样式
========================= */
.consultation-section {
    padding: 6.25rem 5%;
    background: url('../images/jiaruwomen.jpg') center / cover no-repeat;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.consultation-inner {
    max-width: 60rem;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.consultation-inner h2 {
    font-size: 1.75rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    text-align: center;
}

.consultation-inner > p {
    font-size: 1rem;
    text-align: center;
    margin: 0 0 3rem 0;
    opacity: 0.9;
}

.consultation-form {
    background: #fff;
    padding: 3rem;
    border-radius: 0.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 0.0625rem solid #ddd;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    color: #333;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #005AAA;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 8 5' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1 L4 4 M7 1 L4 4' stroke='%23999' stroke-width='1' stroke-linecap='round' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 0.75rem;
}

.form-group textarea {
    resize: none;
    min-height: 8rem;
}

.submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: #005AAA;
    color: #fff;
    border: none;
    border-radius: 0.25rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #004080;
    transform: translateY(-0.125rem);
}

/* 响应式布局 */
@media (max-width: 960px) {
    .contact-inner {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width {
        grid-column: span 1;
    }
}

@media (max-width: 640px) {
    .contact-value {
        font-size: 1rem;
    }
    
    .consultation-form {
        padding: 2rem 1.5rem;
    }
}
