/* ===== Contact Page Styles ===== */

/* Banner 背景图片（继承 banner-base.css 的 .sci-banner 样式） */
.sci-banner {
    --banner-color: #05080e;
    --banner-bg: url('../img/contact/contact_banner.jpg');
}

/* ===== Contact Section — Apple 风格 ===== */
.contact-section {
    padding: 80px 0 100px;
    background: #F5F5F7;
}
.contact-section .container {
    max-width: 1100px;
}

/* 联系信息卡片 */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}
.contact-info-card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 36px 28px;
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.contact-info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}
.contact-info-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, #FF7E00, #FF9500);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}
.contact-info-icon svg {
    width: 22px;
    height: 22px;
    stroke: #fff;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.contact-info-card h4 {
    font-size: 17px;
    font-weight: 600;
    color: #1D1D1F;
    margin: 0 0 8px;
}
.contact-info-card p {
    font-size: 14px;
    color: #86868B;
    line-height: 1.6;
    margin: 0;
}

/* 表单区域 */
.contact-form-card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 44px;
    margin-bottom: 40px;
}
.contact-form-title {
    font-size: 24px;
    font-weight: 700;
    color: #1D1D1F;
    margin: 0 0 8px;
}
.contact-form-desc {
    font-size: 15px;
    color: #86868B;
    margin: 0 0 30px;
}
.contact-form-card .form-group {
    margin-bottom: 18px;
}
.contact-form-card .form-control {
    border: 1px solid #E5E5EA;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 15px;
    color: #1D1D1F;
    background: #FAFAFA;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.contact-form-card .form-control:focus {
    border-color: #FF7E00;
    box-shadow: 0 0 0 3px rgba(255, 126, 0, 0.12);
    background: #fff;
}
.contact-form-card .form-control::placeholder {
    color: #C7C7CC;
}
.contact-form-card textarea.form-control {
    min-height: 120px;
    resize: vertical;
}
.contact-form-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 36px;
    background: linear-gradient(135deg, #FF7E00, #FF9500);
    color: #fff;
    border: none;
    border-radius: 980px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    letter-spacing: 0.02em;
}
.contact-form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 126, 0, 0.35);
    color: #fff;
    text-decoration: none;
}

/* 地图 */
.contact-map-wrapper {
    background: #FFFFFF;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 50px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}
.contact-map-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #F0F0F5;
}
.contact-map-header-left {
    display: flex;
    align-items: center;
    gap: 14px;
}
.contact-map-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, #FF7E00, #FF9500);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-map-icon svg {
    width: 20px;
    height: 20px;
    stroke: #fff;
    fill: none;
    stroke-width: 2;
}
.contact-map-title {
    font-size: 16px;
    font-weight: 600;
    color: #1D1D1F;
    margin: 0 0 3px;
}
.contact-map-address {
    font-size: 13px;
    color: #86868B;
    margin: 0;
    line-height: 1.5;
}
.contact-map-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: #F5F5F7;
    color: #1D1D1F;
    border-radius: 980px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
    flex-shrink: 0;
}
.contact-map-nav-btn svg {
    width: 14px;
    height: 14px;
    stroke: #FF7E00;
    fill: none;
    stroke-width: 2;
}
.contact-map-nav-btn:hover {
    background: #FF7E00;
    color: #fff;
}
.contact-map-nav-btn:hover svg {
    stroke: #fff;
}
.contact-map-embed {
    width: 100%;
    line-height: 0;
    overflow: hidden;
}
.contact-map-embed img {
    width: 100%;
    height: auto;
    display: block;
}

/* ── Contact Responsive ── */
@media (max-width: 991px) {
    .contact-info-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-form-card { padding: 32px; }
}
@media (max-width: 767px) {
    .contact-section { padding: 50px 0 70px; }
    .contact-info-grid { grid-template-columns: 1fr; gap: 16px; }
    .contact-info-card { padding: 28px 22px; }
    .contact-form-card { padding: 24px 20px; }
    .contact-map-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
    .contact-map-nav-btn {
        align-self: flex-start;
    }
}

