/* 全局重置 + 首页/About页原有样式（保留不变） */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

:root {
    /* 严格匹配图片配色 */
    --primary-green: #869F48;    /* 按钮主色/图标色 */
    --dark-green: #5B7030;       /* 按钮hover色 */
    --light-green: #E8F0D6;      /* 辅助色 */
    --text-black: #191919;       /* 主文本色 */
    --text-gray: #6E6E6E;        /* 次要文本色 */
    --light-gray: #F6F6F6;       /* 浅灰背景 */
    --white: #ffffff;            /* 白色 */
    --dark-bg: #212121;          /* 页脚背景 */
    --border-gray: #e0e0e0;      /* 边框色 */
    --input-border: #ddd;        /* 输入框边框色 */
}

.container {
    width: 92%;
    max-width: 1240px;
    margin: 0 auto;
}

/* 首页/About页原有样式（导航/按钮/页脚等）保留，以下新增Contact页专属样式 */

/* Contact Banner 顶部Banner */
.contact-banner {
    background: url('../images/banner.jpg') no-repeat center center;
    background-size: cover;
    padding: 60px 0 40px;
    color: var(--white);
    position: relative;
}
.contact-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
}
.contact-banner .container {
    position: relative;
    z-index: 1;
}
.banner-main-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
}
.banner-subtitle {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 30px;
    opacity: 0.95;
}
/* Banner底部小优势图标 */
.banner-stats {
    display: flex;
    gap: 40px;
    align-items: center;
}
.banner-stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
}
.banner-stat-item i {
    font-size: 24px;
    color: var(--light-green);
}
.banner-stat-item span {
    font-size: 14px;
    line-height: 1.4;
}

/* 核心内容区：表单+联系信息 */
.contact-main {
    padding: 80px 0;
    background: var(--white);
}
.contact-main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}
.section-subtitle {
    font-size: 22px;
    color: var(--text-black);
    margin-bottom: 16px;
    font-weight: 600;
}
.form-desc {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 30px;
    line-height: 1.5;
}
/* 表单样式 */
.contact-form {
    width: 100%;
}
.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}
.form-group {
    flex: 1;
}
.form-group.full-width {
    flex: 100%;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--input-border);
    border-radius: 0;
    font-size: 14px;
    color: var(--text-black);
    background: var(--white);
    transition: border-color 0.3s ease;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-green);
}
.contact-form textarea {
    resize: none;
}
/* 发送消息按钮 */
.send-message-btn {
    background: var(--primary-green);
    color: var(--white);
    border: none;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 10px;
}
.send-message-btn:hover {
    background: var(--dark-green);
}

/* 右侧联系信息 */
.contact-info-section {
    padding-left: 20px;
}
.info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    align-items: flex-start;
}
.info-item i {
    font-size: 20px;
    color: var(--primary-green);
    margin-top: 2px;
}
.info-content h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-black);
    margin-bottom: 8px;
}
.info-content p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.5;
}

/* 地图区域 */
.contact-map {
    position: relative;
    background: var(--light-gray);
}
.map-container {
    position: relative;
    width: 100%;
    height: 400px;
}
.map-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* 地图上的信息卡片 */
.map-info-card {
    position: absolute;
    top: 50%;
    left: 8%;
    transform: translateY(-50%);
    background: var(--white);
    padding: 30px;
    width: 380px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.map-info-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-black);
    margin-bottom: 12px;
}
.map-info-card p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.5;
    margin-bottom: 20px;
}
.get-directions-btn {
    background: var(--primary-green);
    color: var(--white);
    text-decoration: none;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s ease;
}
.get-directions-btn:hover {
    background: var(--dark-green);
}

/* 服务优势栏 */
.contact-advantages {
    padding: 70px 0;
    text-align: center;
    background: var(--white);
}
.advantage-main-title {
    font-size: 24px;
    color: var(--text-black);
    font-weight: 600;
    margin-bottom: 12px;
}
.advantage-subtitle {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 40px;
    line-height: 1.5;
}
.advantages-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.advantage-item {
    padding: 0 10px;
}
.advantage-item i {
    font-size: 32px;
    color: var(--primary-green);
    margin-bottom: 16px;
}
.advantage-item h3 {
    font-size: 16px;
    color: var(--text-black);
    font-weight: 600;
    margin-bottom: 8px;
}
.advantage-item p {
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.4;
}

/* 响应式适配 - 平板768px */
@media screen and (max-width:768px) {
    /* Contact页响应式 */
    .contact-main-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .contact-info-section {
        padding-left: 0;
    }
    .banner-stats {
        gap: 20px;
        flex-wrap: wrap;
    }
    .map-info-card {
        width: 80%;
        left: 10%;
        padding: 20px;
    }
    .advantages-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .banner-main-title {
        font-size: 36px;
    }
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
}

/* 响应式适配 - 手机480px */
@media screen and (max-width:480px) {
    /* Contact页响应式 */
    .banner-main-title {
        font-size: 28px;
    }
    .banner-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .map-info-card {
        width: 90%;
        left: 5%;
        top: 20px;
        transform: none;
    }
    .advantages-list {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .advantage-main-title {
        font-size: 20px;
    }
}

/* 首页/About页原有样式（导航/按钮/页脚/响应式等）粘贴到此处，保持和之前一致 */
.header {
    background: var(--white);
    padding: 16px 0;
    box-shadow: 0 1px 6px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 999;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo img {
    height: 58px;
}
.logo-text {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-black);
}
.nav-list {
    display: flex;
    list-style: none;
    gap: 28px;
    align-items: center;
}
.nav-list li a {
    text-decoration: none;
    color: var(--text-black);
    font-size: 14px;
    font-weight: 500;
}
.nav-list li a.active {
    color: var(--primary-green);
}
.nav-list li a:hover {
    color: var(--primary-green);
}
.dropdown {
    position: relative;
}
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 200px;
    background: var(--white);
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    list-style: none;
    padding: 12px 0;
    display: none;
}
.dropdown-menu li {
    padding: 8px 20px;
}
.dropdown:hover .dropdown-menu {
    display: block;
}
.quote-btn {
    background: var(--primary-green);
    color: var(--white);
    padding: 10px 22px;
    text-decoration: none;
    font-size: 14px;
    border-radius: 24px;
}
.quote-btn:hover {
    background: var(--dark-green);
}
.hamburger {
    display: none;
    border: none;
    background: transparent;
    font-size: 22px;
    color: var(--text-black);
}
.footer {
    background: var(--dark-bg);
    color: var(--white);
    padding: 50px 0 24px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 30px;
    margin-bottom: 40px;
}
.footer-col h3 {
    font-size: 16px;
    padding-bottom: 10px;
    margin-bottom: 18px;
    position: relative;
}
.footer-col h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 48px;
    height: 2px;
    background: var(--primary-green);
}
.footer-col p {
    font-size: 13px;
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 18px;
}
.footer-col ul {
    list-style: none;
}
.footer-col ul li {
    margin-bottom: 10px;
}
.footer-col ul li a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 13px;
}
.footer-col ul li a:hover {
    color: var(--primary-green);
}
.social-icons {
    display: flex;
    gap: 12px;
}
.social-icons a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
}
.social-icons a:hover {
    background: var(--primary-green);
}
.contact-col li {
    display: flex;
    gap: 8px;
    font-size: 13px;
    margin-bottom: 12px;
    opacity: 0.85;
}
.contact-col li i {
    color: var(--primary-green);
    margin-top: 2px;
}
.copyright {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
}
.copyright p {
    font-size: 12px;
    opacity: 0.7;
}

/* 响应式通用样式 */
@media screen and (max-width:768px) {
    .hamburger {
        display: block;
    }
    .main-nav {
        position: fixed;
        top: 0;
        right: -320px;
        width: 300px;
        height: 100vh;
        background: var(--white);
        padding: 30px 20px;
        box-shadow: -2px 0 8px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        z-index: 1000;
    }
    .main-nav.active {
        right: 0;
    }
    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .header-quote {
        display: none;
    }
    .footer-grid {
        grid-template-columns: repeat(2,1fr);
    }
}
@media screen and (max-width:480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}