/* ============ 合作内页通用样式 ============ */
.dg_hero {
    position: relative;
    min-height: 420px;
    background: linear-gradient(135deg, #3E2A20 0%, #B7945E 60%, #C9A267 100%);
    color: #fff;
    overflow: hidden;
}
.dg_hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 18% 20%, rgba(255,255,255,0.18), transparent 50%),
        radial-gradient(circle at 82% 75%, rgba(255,255,255,0.12), transparent 55%);
    pointer-events: none;
}
.dg_hero.dg_hero_banner {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.dg_hero.dg_hero_banner::before {
    background-image: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.35) 60%, rgba(0,0,0,0.5) 100%);
}
.dg_hero_inner {
    position: relative;
    max-width: 1360px;
    margin: 0 auto;
    padding: 140px 40px 90px;
}
.dg_hero_crumb { display: none; }
.dg_hero_eyebrow { display: none; }
.dg_hero_crumb_legacy {
    font-size: 14px;
    opacity: 0.85;
    margin-bottom: 22px;
    letter-spacing: 1px;
}
.dg_hero_crumb a { color: #fff; text-decoration: none; opacity: 0.85; }
.dg_hero_crumb a:hover { opacity: 1; }
.dg_hero_crumb span { margin: 0 8px; opacity: 0.55; }
.dg_hero_eyebrow {
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 999px;
    font-size: 13px;
    letter-spacing: 2px;
    margin-bottom: 22px;
}
.dg_hero_title {
    font-size: 56px;
    line-height: 1.15;
    font-weight: 700;
    margin: 0 0 18px;
    letter-spacing: 2px;
}
.dg_hero_sub {
    font-size: 22px;
    line-height: 1.6;
    opacity: 0.92;
    max-width: 780px;
}

.dg_section { padding: 90px 0; }
.dg_container { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.dg_section_head { text-align: center; margin-bottom: 56px; }
.dg_eyebrow {
    display: inline-block;
    color: #B7945E;
    font-size: 14px;
    letter-spacing: 4px;
    font-weight: 600;
    margin-bottom: 14px;
}
.dg_title {
    font-size: 38px;
    line-height: 1.3;
    color: #3E2A20;
    font-weight: 700;
    margin: 0;
    letter-spacing: 1px;
}
.dg_title_bar {
    display: inline-block;
    width: 56px;
    height: 3px;
    background: #B7945E;
    margin-top: 22px;
    border-radius: 2px;
}

/* 能力 */
.dg_capability { background: #FAF7F1; }
.dg_capability_grid { display: flex; align-items: center; gap: 64px; }
.dg_capability_text { flex: 1; }
.dg_capability_text p {
    font-size: 16px;
    line-height: 2;
    color: #5C4A3F;
    margin: 0;
    text-align: justify;
}
.dg_capability_img {
    flex: 0 0 46%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 18px 48px rgba(62,42,32, 0.18);
}
.dg_capability_img img { display: block; width: 100%; height: auto; }
.dg_philo_list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.dg_philo_item {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    padding: 22px 0;
    border-bottom: 1px dashed #E5DCC8;
}
.dg_philo_item:first-child { padding-top: 4px; }
.dg_philo_item:last-child { border-bottom: none; padding-bottom: 0; }
.dg_philo_num {
    flex: 0 0 auto;
    font-size: 28px;
    font-weight: 700;
    color: #B7945E;
    line-height: 1;
    letter-spacing: 1px;
    font-family: "Helvetica Neue", Arial, sans-serif;
    padding-top: 2px;
    min-width: 44px;
}
.dg_philo_body { flex: 1; min-width: 0; }
.dg_philo_title {
    font-size: 19px;
    font-weight: 700;
    color: #3E2A20;
    margin: 0 0 8px;
    line-height: 1.3;
    letter-spacing: 0.5px;
}
.dg_philo_desc {
    font-size: 15px;
    line-height: 1.85;
    color: #5C4A3F;
    margin: 0;
    text-align: justify;
}
.dg_capability_stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid #E5DCC8;
}
.dg_stat_num {
    font-size: 34px;
    font-weight: 700;
    color: #B7945E;
    line-height: 1.1;
}
.dg_stat_label { font-size: 14px; color: #7A6A5A; margin-top: 6px; }
.dg_cta_wrap { margin-top: 32px; }
.dg_cta_btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 32px;
    background: linear-gradient(135deg, #B7945E, #C9A267);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(183,148,94,0.28);
    transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
}
.dg_cta_btn:hover {
    transform: translateY(-2px);
    color: #fff;
    background: linear-gradient(135deg, #C9A267, #B7945E);
    box-shadow: 0 14px 30px rgba(183,148,94,0.38);
}
.dg_cta_arrow { transition: transform 0.25s; display: inline-block; }
.dg_cta_btn:hover .dg_cta_arrow { transform: translateX(4px); }

/* 服务列表 */
.dg_service { background: #ffffff; }
.dg_service_layout { display: flex; align-items: stretch; gap: 56px; }
.dg_service_img {
    flex: 0 0 42%;
    border-radius: 12px;
    overflow: hidden;
    align-self: flex-start;
    position: sticky;
    top: 100px;
    box-shadow: 0 18px 48px rgba(62,42,32, 0.12);
}
.dg_service_img img { display: block; width: 100%; height: auto; }
.dg_service_list { flex: 1; }
.dg_service_item {
    display: flex;
    gap: 22px;
    padding: 28px 0;
    border-bottom: 1px dashed #E5DCC8;
}
.dg_service_item:last-child { border-bottom: none; }
.dg_service_num {
    flex: 0 0 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #B7945E, #C9A267);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(183,148,94,0.25);
}
.dg_service_body { flex: 1; }
.dg_service_name {
    font-size: 20px;
    font-weight: 700;
    color: #3E2A20;
    margin: 6px 0 10px;
}
.dg_service_desc {
    font-size: 15px;
    line-height: 1.85;
    color: #6B5A4A;
    margin: 0;
    text-align: justify;
}

/* 范围 / 卡片网格 */
.dg_range { background: linear-gradient(180deg, #FAF7F1 0%, #ffffff 100%); }
.dg_range_banner {
    margin: 0 auto 56px;
    max-width: 1280px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 22px 60px rgba(62,42,32, 0.18);
}
.dg_range_banner img { display: block; width: 100%; height: auto; }
.dg_range_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.dg_range_card {
    background: #fff;
    border: 1px solid #EAE2D2;
    border-radius: 12px;
    padding: 32px 28px;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    display: flex;
    flex-direction: column;
}
.dg_range_card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(62,42,32,0.12);
    border-color: #E8D5B5;
}
.dg_range_card:hover .dg_range_card_more {
    color: #8C6A3D;
    border-color: #B7945E;
    background: rgba(183,148,94,0.08);
}
.dg_range_card:hover .dg_range_card_more::after { transform: translateX(4px); }
.dg_range_card_head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.dg_range_icon {
    flex: 0 0 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(183,148,94,0.1);
    color: #B7945E;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
}
.dg_range_card_name { font-size: 20px; color: #3E2A20; font-weight: 700; margin: 0; }
.dg_range_card_txt { font-size: 14px; line-height: 1.85; color: #6B5A4A; margin: 0 0 18px; flex: 1; }
.dg_range_card_more {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    color: #B7945E;
    padding: 8px 18px;
    border: 1px solid #E8D5B5;
    border-radius: 999px;
    text-decoration: none;
    transition: color 0.25s, border-color 0.25s, background 0.25s;
}
.dg_range_card_more::after {
    content: '→';
    margin-left: 8px;
    transition: transform 0.25s;
}

/* CTA */
.dg_cta {
    background: linear-gradient(135deg, #3E2A20, #B7945E);
    color: #fff;
    padding: 70px 0;
    text-align: center;
}
.dg_cta_title { font-size: 30px; font-weight: 700; margin: 0 0 14px; }
.dg_cta_desc { font-size: 16px; opacity: 0.88; margin: 0 0 28px; }
.dg_cta_btn {
    display: inline-block;
    padding: 14px 38px;
    background: #fff;
    color: #B7945E;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.25s, box-shadow 0.25s;
}
.dg_cta_btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.18);
    color: #3E2A20;
}

/* 邀约信特殊样式 */
.dg_letter {
    background: #fff;
    max-width: 980px;
    margin: 0 auto;
    padding: 64px 72px;
    border-radius: 14px;
    box-shadow: 0 18px 48px rgba(62,42,32, 0.08);
    border-top: 4px solid #B7945E;
}
.dg_letter h3 {
    font-size: 22px;
    color: #3E2A20;
    margin: 36px 0 16px;
    padding-left: 16px;
    border-left: 4px solid #B7945E;
}
.dg_letter p {
    font-size: 16px;
    line-height: 2;
    color: #5C4A3F;
    margin: 0 0 18px;
    text-align: justify;
}
.dg_letter_sign {
    margin-top: 40px;
    text-align: right;
    font-size: 16px;
    color: #3E2A20;
    line-height: 2;
}

/* 联系卡 */
.dg_contact_card {
    background: #fff;
    border-radius: 14px;
    padding: 42px 48px;
    box-shadow: 0 14px 40px rgba(62,42,32,0.1);
    max-width: 880px;
    margin: 0 auto;
}
.dg_contact_row {
    display: flex;
    gap: 18px;
    padding: 16px 0;
    border-bottom: 1px dashed #E5DCC8;
    align-items: flex-start;
}
.dg_contact_row:last-child { border-bottom: none; }
.dg_contact_label {
    flex: 0 0 110px;
    color: #B7945E;
    font-weight: 600;
    font-size: 15px;
}
.dg_contact_value {
    flex: 1;
    color: #3E2A20;
    font-size: 15px;
    line-height: 1.7;
    word-break: break-all;
}

/* 响应式 */
@media (max-width: 1024px) {
    .dg_hero_title { font-size: 42px; }
    .dg_hero_sub { font-size: 18px; }
    .dg_capability_grid,
    .dg_service_layout {
        flex-direction: column;
        gap: 36px;
    }
    .dg_capability_img,
    .dg_service_img {
        flex-basis: auto;
        width: 100%;
        position: static;
    }
    .dg_range_grid { grid-template-columns: repeat(2, 1fr); }
    .dg_capability_stats { grid-template-columns: repeat(3, 1fr); }
    .dg_letter { padding: 48px 36px; }
}
@media (max-width: 640px) {
    .dg_hero_inner { padding: 110px 24px 70px; }
    .dg_hero_title { font-size: 32px; }
    .dg_hero_sub { font-size: 16px; }
    .dg_section { padding: 60px 0; }
    .dg_container { padding: 0 24px; }
    .dg_title { font-size: 28px; }
    .dg_range_grid { grid-template-columns: 1fr; }
    .dg_capability_stats { grid-template-columns: 1fr; gap: 16px; }
    .dg_service_item { gap: 14px; padding: 22px 0; }
    .dg_service_num { flex-basis: 48px; height: 48px; font-size: 18px; }
    .dg_philo_item { gap: 14px; padding: 18px 0; }
    .dg_philo_num { font-size: 22px; min-width: 36px; }
    .dg_philo_title { font-size: 17px; }
    .dg_philo_desc { font-size: 14px; line-height: 1.8; }
    .dg_letter { padding: 32px 22px; }
    .dg_contact_card { padding: 28px 22px; }
    .dg_contact_row { flex-direction: column; gap: 4px; }
    .dg_contact_label { flex-basis: auto; }
}
