@charset "utf-8";

/* 服务Banner样式 */
.service-header {
    width: 100%;
    height: 400px;
    background: linear-gradient(rgba(0, 102, 179, 0.8), rgba(0, 102, 179, 0.8)), url('../img/contact_banner.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}
.service-header h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: bold;
    margin-bottom: 20px;
}
.service-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
}

/* 服务详情卡片 */
.services-detail {
    padding: 0 0 80px;
    background: #fff;
}
.services-wrap {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}
.service-item {
    flex: 1;
    min-width: 300px;
    padding: 30px 20px;
    background: #f9f9f9;
    border-radius: 8px;
    transition: var(--transition-base);
}
.service-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.service-icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 25px;
    border-radius: 50%;
    background: #e8f5f4;
    display: flex;
    align-items: center;
    justify-content: center;
}
.service-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}
.service-title {
    font-size: 20px;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 15px;
}
.service-desc {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.7;
}

/* 共用标题 */
.section-title {
    text-align: left;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}
.section-title::after {
    content: '';
    width: 40px;
    height: 3px;
    background: #0066B3;
    position: absolute;
    left: 0;
    bottom: 0;
}
.title-icon {
  width: 3rem;
  height: 3rem;
  background: #E8F4FF;
  border-radius: 0.375rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 联系我们 - 主体布局 */
.contact-section {
    padding: 3rem 0;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

/* 左右卡片统一样式 + 悬浮效果 */
.contact-left,
.contact-right {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}
.contact-left:hover,
.contact-right:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(0, 102, 179, 0.12);
}

/* 联系信息 */
.contact-list {
    margin-bottom: 40px;
}
.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}
.contact-icon {
    font-size: 24px;
    margin-right: 20px;
    color: #0066B3;
    margin-top: 3px;
}
.contact-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}
.contact-item p {
    color: #666;
    line-height: 1.6;
}
.contact-item .time {
    font-size: 13px;
    color: #999;
}

/* 快速响应 */
.quick-response {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.quick-response h2 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}
.quick-response ul {
    list-style: none;
    padding: 0;
}
.quick-response li {
    color: #666;
    line-height: 1.8;
    padding-left: 20px;
    position: relative;
}
.quick-response li::before {
    content: '✓';
    color: #00A896;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* 在线咨询表单 */
.contact-form {
    margin-top: 20px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
    font-size: 14px;
}
.form-group label span {
    color: #ff4444;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    color: #333;
    transition: border 0.3s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0066B3;
    box-shadow: 0 0 0 2px rgba(0,102,179,0.1);
}
.form-group textarea {
    resize: vertical;
}

/* 提交按钮 */
.submit-btn {
    width: 100%;
    background: #FF6C00;
    color: #fff;
    border: none;
    padding: 15px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    margin-top: 10px;
}
.submit-btn:hover {
    background: #E55C00;
    transform: scale(1.02);
}

/* 公司位置 & 地图 */
.map-section {
    padding: 80px 0;
    background: #f9f9f9;
}
.map-container {
    width: 100%;
    height: auto;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.map-address {
    text-align: center;
    margin-top: 1rem;
    color: #666;
    font-size: 0.95rem;
}

/* 响应式 */
@media (max-width: 992px) {
    .contact-grid,
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .service-header h1 {
        font-size: 32px;
    }
    .contact-left,
    .contact-right {
        padding: 25px;
    }
}