/* ==========================================================================
   Contact Page — nuoang-contact.css
   联系我们页面专属样式
   ========================================================================== */

.nuoang-contact-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Section 通用 ===== */
.nuoang-contact-main-section {
    padding-top: var(--module-py);
    padding-bottom: var(--module-py);
    background: #fff;
}
.nuoang-contact-map-section {
    padding-top: var(--module-py);
    padding-bottom: var(--module-py);
    background: #fff;
}

.nuoang-contact-section-title {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
    margin: 0 0 12px;
    text-align: center;
    letter-spacing: -0.01em;
}

.nuoang-contact-section-desc {
    font-size: 15px;
    color: #6B7280;
    line-height: 1.6;
    margin: 0 0 40px;
    text-align: center;
}

/* ===== Banner ===== */
.nuoang-contact-hero {
    width: 100%;
    min-height: 420px;
    padding-top: 64px;
    box-sizing: border-box;
    position: relative;
    display: flex;
    align-items: center;
}
.nuoang-contact-hero-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.nuoang-contact-hero-overlay {
    position: relative;
    z-index: 1;
    text-align: left;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}
.nuoang-contact-hero-title {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
    letter-spacing: -0.01em;
    margin: 0 0 12px 0;
}
.nuoang-contact-hero-subtitle {
    font-size: 16px;
    color: #4B5563;
    line-height: 1.6;
    margin: 0;
    max-width: 60%;
}

/* ===== 联系方式 — 大卡片 ===== */
.nuoang-contact-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}
.nuoang-contact-feature-card {
    background: #fff;
    border-radius: 6px;
    padding: 36px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.nuoang-contact-feature-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}
.nuoang-contact-feature-content {
    flex: 1;
    min-width: 0;
}
.nuoang-contact-feature-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px;
    line-height: 1.3;
}
.nuoang-contact-feature-desc {
    font-size: 14px;
    color: #6B7280;
    line-height: 1.6;
    margin: 0 0 20px;
}
.nuoang-contact-feature-btn {
    display: inline-block;
    padding: 8px 24px;
    background: var(--nuoang-primary-color, #3269ff);
    color: #fff;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.25s ease;
}
.nuoang-contact-feature-btn:hover {
    background: #3a6fe8;
}
.nuoang-contact-feature-icon {
    flex-shrink: 0;
    margin-left: 20px;
}
.nuoang-contact-feature-icon svg,
.nuoang-contact-feature-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

/* ===== 联系方式 — 底部 4 张卡片 ===== */
.nuoang-contact-channels {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.nuoang-contact-channel-card {
    background: #fff;
    border-radius: 6px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.nuoang-contact-channel-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}
.nuoang-contact-channel-card.nuoang-contact-channel-featured {
    position: relative;
    overflow: hidden;
}
.nuoang-contact-channel-featured-overlay {
    position: absolute;
    inset: 0;
    background: rgba(74, 74, 74, 0.85);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}
.nuoang-contact-channel-featured:hover .nuoang-contact-channel-featured-overlay {
    opacity: 1;
}
.nuoang-contact-channel-featured-overlay.has-qr {
    flex-direction: column;
    gap: 12px;
}
.nuoang-contact-channel-featured-overlay.has-qr .nuoang-contact-channel-btn {
    display: none;
}
.nuoang-contact-channel-qr {
    background: #fff;
    border-radius: 8px;
    padding: 8px 8px 6px;
    text-align: center;
}
.nuoang-contact-channel-qr img {
    width: 120px;
    height: 120px;
    display: block;
    border-radius: 4px;
    object-fit: contain;
}
.nuoang-contact-channel-qr-label {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #6b7280;
    line-height: 1.4;
}
.nuoang-contact-channel-icon {
    margin-bottom: 16px;
    flex-shrink: 0;
}
.nuoang-contact-channel-icon svg,
.nuoang-contact-channel-icon img {
    width: 48px;
    height: 48px;
    display: block;
}
.nuoang-contact-channel-card:nth-child(1) .nuoang-contact-channel-icon img,
.nuoang-contact-channel-card:nth-child(3) .nuoang-contact-channel-icon img,
.nuoang-contact-channel-card:nth-child(4) .nuoang-contact-channel-icon img {
    width: 36px;
    height: 36px;
}
.nuoang-contact-channel-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 8px;
    line-height: 1.4;
}
.nuoang-contact-channel-desc {
    font-size: 13px;
    color: #6B7280;
    line-height: 1.5;
    margin: 0;
}
.nuoang-contact-channel-subdesc {
    font-size: 12px;
    color: #9CA3AF;
    line-height: 1.5;
    margin: 4px 0 0;
}
.nuoang-contact-channel-btn {
    display: inline-block;
    padding: 8px 24px;
    background: var(--nuoang-primary-color, #3269ff);
    color: #fff;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.25s ease;
}
.nuoang-contact-channel-btn:hover {
    background: #3a6fe8;
}

/* ===== 服务承诺 ===== */
.nuoang-contact-promise-section {
    background: #F7F8FA;
    padding: var(--module-py, 80px) 0;
}
.nuoang-contact-promise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 56px;
}
.nuoang-contact-promise-card {
    text-align: center;
    padding: 40px 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.nuoang-contact-promise-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.nuoang-contact-promise-icon {
    width: 96px;
    height: 96px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.nuoang-contact-promise-card:hover .nuoang-contact-promise-icon {
    transform: translateY(-4px);
}

.nuoang-contact-promise-icon svg,
.nuoang-contact-promise-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.nuoang-contact-promise-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 12px;
    line-height: 1.4;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), color 0.35s ease;
}

.nuoang-contact-promise-card:hover .nuoang-contact-promise-title {
    transform: translateY(-3px);
    color: #2450ff;
}

.nuoang-contact-promise-desc {
    font-size: 14px;
    color: #6B7280;
    line-height: 1.7;
    margin: 0;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), color 0.35s ease;
}

.nuoang-contact-promise-card:hover .nuoang-contact-promise-desc {
    transform: translateY(-3px);
    color: #4B5563;
}

/* ===== 常见问题 ===== */
.nuoang-contact-faq-section {
    background: #fff;
    padding: var(--module-py, 80px) 0;
}
.nuoang-contact-faq-list {
    max-width: 880px;
    margin: 40px auto 0;
}
.nuoang-contact-faq-item {
    border-bottom: 1px solid #EBEDF0;
}
.nuoang-contact-faq-item:first-child {
    border-top: 1px solid #EBEDF0;
}
.nuoang-contact-faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    color: #1a1a1a;
    text-align: left;
    transition: color 0.25s ease;
}
.nuoang-contact-faq-question:hover {
    color: var(--nuoang-primary-color, #3269ff);
}
.nuoang-contact-faq-arrow {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: #9CA3AF;
    transition: transform 0.3s ease, color 0.25s ease;
}
.nuoang-contact-faq-item.active .nuoang-contact-faq-arrow {
    transform: rotate(180deg);
    color: var(--nuoang-primary-color, #3269ff);
}
.nuoang-contact-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}
.nuoang-contact-faq-answer p {
    font-size: 14px;
    color: #6B7280;
    line-height: 1.7;
    margin: 0 0 20px;
}

/* ===== 地图 ===== */
.nuoang-contact-map-wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}
.nuoang-contact-map-title {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
    margin: 0 0 12px;
    text-align: center;
    letter-spacing: -0.01em;
}
.nuoang-contact-map-subtitle {
    font-size: 15px;
    color: #6B7280;
    line-height: 1.6;
    margin: 0 0 40px;
    text-align: center;
}
.nuoang-contact-map-container {
    position: relative;
    background: #fff;
    border-radius: 6px;
    padding: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    box-sizing: border-box;
}
.nuoang-contact-map-inner {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    height: 450px;
}
.nuoang-contact-map-inner iframe,
.nuoang-contact-map-inner #amap-container {
    display: block;
    width: 100%;
    height: 100%;
}
.nuoang-contact-map-card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -100%);
    margin-top: -50px;
    background: #fff;
    border-radius: 6px;
    padding: 20px 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    width: 280px;
    z-index: 10;
    transition: opacity 0.25s ease, transform 0.25s ease;
}
.nuoang-contact-map-card::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 20px;
    height: 20px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    z-index: -1;
}
.nuoang-contact-map-card.is-hidden {
    opacity: 0;
    pointer-events: none;
}
.nuoang-contact-map-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    color: #9CA3AF;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all 0.2s ease;
}
.nuoang-contact-map-close:hover {
    color: #4B5563;
    background: #F3F4F6;
}
.nuoang-contact-map-logo {
    margin-bottom: 10px;
}
.nuoang-contact-map-logo img {
    height: 28px;
    width: auto;
}
.nuoang-contact-map-company {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
    line-height: 1.4;
}
.nuoang-contact-map-address {
    font-size: 13px;
    color: #6B7280;
    line-height: 1.5;
    margin-bottom: 12px;
}
.nuoang-contact-map-nav {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 500;
    color: var(--nuoang-primary-color, #3269ff);
    text-decoration: none;
    transition: gap 0.25s ease;
}
.nuoang-contact-map-nav:hover {
    gap: 8px;
}
.nuoang-contact-map-nav i {
    font-size: 12px;
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
    .nuoang-contact-hero {
        min-height: 280px;
        padding-top: 56px;
    }
    .nuoang-contact-hero-overlay {
        padding: 0 20px;
    }
    .nuoang-contact-hero-title {
        font-size: 24px;
    }
    .nuoang-contact-hero-subtitle {
        font-size: 14px;
        max-width: 100%;
    }
    .nuoang-contact-feature {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .nuoang-contact-feature-card {
        padding: 24px 20px;
    }
    .nuoang-contact-feature-title {
        font-size: 18px;
    }
    .nuoang-contact-feature-desc {
        font-size: 13px;
        margin-bottom: 16px;
    }
    .nuoang-contact-feature-icon {
        display: none;
    }
    .nuoang-contact-channels {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .nuoang-contact-channel-card {
        padding: 24px 16px;
    }
    .nuoang-contact-channel-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 12px;
    }
    .nuoang-contact-channel-icon svg {
        width: 20px;
        height: 20px;
    }
    .nuoang-contact-channel-title {
        font-size: 14px;
    }
    .nuoang-contact-channel-desc {
        font-size: 12px;
    }
    .nuoang-contact-promise-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .nuoang-contact-promise-card {
        padding: 32px 20px;
    }
    .nuoang-contact-promise-icon {
        width: 72px;
        height: 72px;
    }
    .nuoang-contact-promise-icon svg,
    .nuoang-contact-promise-icon img {
        width: 100%;
        height: 100%;
    }
    .nuoang-contact-promise-title {
        font-size: 16px;
    }
    .nuoang-contact-promise-desc {
        font-size: 13px;
    }
    .nuoang-contact-faq-question {
        font-size: 14px;
        padding: 16px 0;
    }
    .nuoang-contact-faq-answer p {
        font-size: 13px;
        margin-bottom: 16px;
    }
    .nuoang-contact-section-title {
        font-size: 24px;
        line-height: 1.3;
        margin-bottom: 10px;
    }
    .nuoang-contact-section-desc {
        font-size: 14px;
        margin-bottom: 28px;
    }
    .nuoang-contact-map-title {
        font-size: 24px;
        line-height: 1.3;
        margin-bottom: 10px;
    }
    .nuoang-contact-map-subtitle {
        font-size: 14px;
        margin-bottom: 28px;
    }
    .nuoang-contact-map-container {
        padding: 12px;
    }
    .nuoang-contact-map-inner {
        height: 300px;
    }
    .nuoang-contact-map-card {
        width: 200px;
        padding: 16px 18px;
    }
    .nuoang-contact-map-card {
        margin-top: -12px;
    }
    .nuoang-contact-map-logo img {
        height: 22px;
    }
    .nuoang-contact-map-company {
        font-size: 14px;
    }
    .nuoang-contact-map-address {
        font-size: 12px;
    }
}
