/* ========================================================
   Dephina Landing Page - 核心排版样式
======================================================== */

/* 基础设定与变量定义 (根据设计稿提取的近似色彩) */
.dephina-landing-page {
    --brand-blue: #184fbd;      /* 标题深蓝色 */
    --brand-light-blue: #4E8AE6;/* 按钮/次级标题蓝色 */
    --bg-light: #eef1f6;        /* 页面浅灰蓝背景 */
    --card-border: #C8D7F0;     /* 卡片外边框颜色 */
    --text-main: #333333;
    --text-gray: #666666;
    
    background-color: var(--bg-light);
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
    padding-bottom: 0;
    overflow-x: hidden;
}

.dephina-landing-page section {
    margin-bottom: 100px;
}

/* 通用模块标题样式 */
.dephina-landing-page .section-title {
    width: max-content;
    margin: 0 auto -20px auto !important;
    padding: 0 35px;
    background-color: var(--bg-light, #eef1f6); 
    position: relative;
    z-index: 10;
    color: var(--brand-blue);
    font-size: 34px;
    font-weight: bold !important;
}

.dephina-landing-page .section-card {
    border: 3px solid #184fbd; 
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(42, 91, 170, 0.05);
    box-sizing: border-box;
}

/* 通用 Flex 布局工具 */
.flex-layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.flex-layout.align-stretch {
    align-items: stretch;
    background-image: url('/wp-content/uploads/2026/04/bg.png');
    background-repeat: no-repeat;
    background-position: right bottom;    
}
/* --- 还原私享会服务的标题为正常显示 --- */
.dephina-landing-page .module-club .section-title {
    width: auto; /* 取消紧凑宽度 */
    margin: 0 auto 40px auto !important; /* 覆盖之前的负边距，恢复正常的下方留白 */
    padding: 0; /* 取消左右为了切断边框留的内边距 */
    background-color: transparent; /* 取消遮挡用的背景色 */
    text-align: center;
}
/* 图片防溢出 */
.dephina-landing-page img {
    max-width: 100%;
    height: auto;
    display: block;
}
.dephina-landing-page .om-left img {
    height: 167px;
    width: 100%;
    object-fit: cover;
    object-position: bottom;
}
/* 相对定位工具 */
.relative-wrap .container{
    position: relative;
}

/* --------------------------------------
   1. 顶部主视觉
-------------------------------------- */
.module-hero {
    text-align: center;
    padding-top: 40px;
}
.hero-title-img {
    margin: 0 auto;
    max-width: 500px; /* 根据实际切图大小调整 */
}

/* --------------------------------------
   2. 匠心设计
-------------------------------------- */
.module-design .design-text {
    flex: 1;
    color: var(--text-gray);
    line-height: 1.8;
    background-color: #cdd3dc;
    border-top-left-radius: 25px;
    border-bottom-left-radius: 25px;
    padding: 15px 50px 15px 50px;
}
.module-design .design-text p{
    font-size: 20px;
    margin-bottom: 0;
}
.module-design .design-text strong{
    font-weight: bold !important;
}
.module-design .design-image {
    flex: 1;
    /* 让右侧3D图有突破边界的感觉 */
    margin-right: -40px;
    margin-top: -30px;
}

/* --------------------------------------
   3. 精工安装 (核心难点：非对称网格)
-------------------------------------- */
/* 使用 CSS Grid 实现 3 列布局 */
.install-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 40px;
}
.install-grid .grid-item {
    background: #cdd3dc;
    border-radius: 8px;
    overflow: hidden;
}
/* 关键代码：横跨两列的元素 */
.install-grid .item-large {
    grid-column: span 2; 
    display: flex; /* 如果内部图文需要左右排版可启用 */
}
.install-grid .grid-item img {
    width: 100%;
    height: 218px;
    object-fit: cover;
}
.install-grid .item-large img{
    height: auto;
}
.install-grid .item-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;    
}
.install-grid .item-content h4 {
    color: #ffffff;
    font-size: 20px;
    background-color: #58637c;
    width: fit-content;
    padding: 5px 15px;
    border-radius: 15px;
    margin: 0 auto 25px;
}
.install-grid .item-content p {
    margin: 0;
    font-size: 18px;
    color: var(--text-gray);
    line-height: 1.5;
}

.install-step-img {
    text-align: center;
    border-top: 1px dashed #ddd;
    padding-top: 30px;
}
.install-step-img h3 {
    color: var(--text-main);
    margin-bottom: 20px;
}

/* --------------------------------------
   4. 欧标验收
-------------------------------------- */
.acceptance-top {
    margin-bottom: 30px;
}
.acceptance-top .intro-text{
    flex: 1;
}
.acceptance-top .intro-text p{
    font-size: 18px;
    color: #292929;
    line-height: 1.8;
}
.intro-text strong{
    font-weight: bold !important;
}
.acceptance-top .metrics-img {
    flex: 1;
}
.acceptance-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}
.acceptance-gallery img {
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    height: 290px;
    width: 100%;
}

/* --------------------------------------
   5. 德式运维
-------------------------------------- */
.om-card-header{
    padding: 30px 20px 15px 20px; 
    text-align: center; 
    position: relative; 
    z-index: 1;
}
.module-om .section-card {
    padding: 0; /* 内部再分块，外层不留白 */
    overflow: hidden;
}
/* --- 调整左右两侧的比例为 55% 和 45% --- */
.om-left {
    flex: 0 0 55%; /* 强制占据 55% 的宽度 */
    max-width: 55%; 
    padding: 30px;
}

.om-right {
    flex: 0 0 45%; /* 强制占据 45% 的宽度 */
    max-width: 45%;
    padding: 30px;
    border-left: 1px solid #333333;
}
.module-om .sub-title {
    text-align: center;
    background: #60748F;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 20px;
    margin: 0 auto 20px auto;
    width: max-content;
}
.module-om .sub-title.dark {
    background: #60748F; /* 右侧副标题深灰色 */
}
/* --- 德式运维：主标题下方的副标题文字 --- */
.module-om .section-subtitle {
    text-align: center;
    color: #0d1c60; /* 品牌深蓝 */
    font-size: 28px;
    font-weight: bold;
    line-height: 1.6;
    margin-top: -10px; /* 向上贴近主标题 */
    margin-bottom: 30px; /* 向下撑开卡片距离 */
}

/* 微调一下金牌徽章的位置，让它与现在的标题组对齐得更好 */
.om-badge {
    position: absolute;
    right: 20%; /* 距离右侧边缘留点呼吸感 */
    top: -45px;  /* 根据实际副标题高度微调 */
    width: 180px; 
    z-index: 10;
}
/* 左侧 2列5行 图文网格 */
.om-service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}
.service-item {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
}
.service-item span {
    position: absolute;
    bottom: 5px;
    left: 10px;
    color: white;
    font-size: 12px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

/* 右侧内容 */
.om-right .feature-text {
    margin-bottom: 20px;
    text-align: center;
}
.om-right .feature-text p{
    font-size: 20px;
}
.om-right .feature-text strong{
    font-size: 20px;
    background-color: #dcdfe6;
    padding: 5px 20px;
    border-radius: 15px;
    display: inline-block;
}
.om-right-gallery {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.om-right-gallery img {
    border-radius: 8px;
}

/* --------------------------------------
   6. Dephina私享会服务
-------------------------------------- */
.club-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    background: transparent !important; /* 这一块背景特殊，清除通用样式 */
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}
.club-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-top-left-radius: 23px;
    border-top-right-radius: 23px;    
}
.club-card-content {
    padding: 20px;
    text-align: center;
}
.club-card-content h4 {
    color: var(--brand-blue);
    margin: 0 0 10px 0;
    font-size: 20px;
    font-weight: bold !important;
}
.club-card-content p {
    font-size: 16px;
    color: var(--text-gray);
    margin: 0;
}

/* ========================================================
   7. 底部联系模块 (Footer Contact) - 独立类名防冲突版
======================================================== */

.lp-contact-section {
    max-width: 100% !important; 
    background-size: cover;
    background-position: center right; 
    background-repeat: no-repeat;
    padding: 80px 20px !important; 
    margin-bottom: 0 !important;
    display: flex;
    align-items: center;
}

/* 核心内容容器，类名彻底独立 */
.lp-contact-inner {
    text-align: left; 
}

/* 顶部主标题 */
.lp-contact-inner h3 {
    font-size: 30px;
    color: #333333;
    font-weight: bold !important;
    margin-top: 0;
    margin-bottom: 25px; 
    letter-spacing: 1px;
}

/* 热线说明文字 (Dephina服务热线) */
.lp-contact-inner .lp-phone-label {
    font-size: 24px;
    color: #3c3d40;
    margin: 0 0 15px 0;
}
/* 电话号码数字 */
.lp-contact-inner .lp-phone-num {
    font-size: 32px; 
    color: #3c3d40;
    margin: 0 0 35px 0; 
    letter-spacing: 1px;
}

/* 二维码容器 */
.lp-contact-inner .lp-qr-box {
    display: flex;
    align-items: flex-end; 
    gap: 12px; 
}

/* 二维码图片本体 */
.lp-qr-img {
    width: 170px; 
    height: auto;
    display: block;
}

/* 二维码右侧的说明文字 (人工客服) */
.lp-contact-inner .lp-qr-text {
    font-size: 18px;
    color: #3c3d40;
    line-height: 1; 
    padding-bottom: 2px; 
}
.top-bg-wrapper {
    background-image: url('/wp-content/uploads/2026/04/top.png');
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    padding-top: 150px;
}

/* 并且记得把内部模块原有的背景色去掉，避免挡住背景图 */
.module-hero,
.module-design {
    background-color: transparent !important;
}
/* --- 手机端适配 --- */
@media (max-width: 768px) {
    .lp-contact-section {
        padding: 50px 20px;
        background-position: 70% center; 
    }
    .lp-contact-inner {
        padding-left: 0;
        background: rgba(255,255,255,0.8); 
        padding: 20px;
        border-radius: 8px;
    }
}
/* 响应式调整 (简单适配手机端) */
@media (max-width: 768px) {
    .flex-layout {
        flex-direction: column;
    }
    .install-grid, .acceptance-gallery, .club-grid {
        grid-template-columns: 1fr;
    }
    .install-grid .item-large {
        grid-column: span 1;
    }
    .om-left, .om-right {
        border-left: none;
    }
}