/* ============================================================
 * 转化组件样式：悬浮按钮 + 底部留言表单 + CTA按钮
 * 纯新增，不修改任何现有样式
 * ============================================================ */

/* ---- 悬浮咨询按钮 ---- */
.densply-float-bar {
    position: fixed;
    right: 20px;
    bottom: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.float-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 50px;
    text-decoration: none;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: transform 0.2s, box-shadow 0.2s;
    white-space: nowrap;
}
.float-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    color: #fff;
}
.float-phone {
    background: linear-gradient(135deg, #1a3a6b, #2a5298);
}
.float-inquiry {
    background: linear-gradient(135deg, #c8102e, #e63946);
}
.float-btn svg {
    flex-shrink: 0;
}

/* 移动端悬浮按钮 */
@media (max-width: 768px) {
    .densply-float-bar {
        right: 10px;
        bottom: 15px;
    }
    .float-btn {
        padding: 10px 14px;
        font-size: 13px;
        border-radius: 40px;
    }
    .float-label {
        display: inline;
    }
    .float-btn svg {
        width: 16px;
        height: 16px;
    }
}

/* ---- 底部留言表单 ---- */
.densply-inquiry-section {
    background: linear-gradient(135deg, #1a3a6b 0%, #0d1f3c 100%);
    padding: 50px 0;
    margin-top: 40px;
}
.inquiry-inner {
    display: flex;
    align-items: center;
    gap: 40px;
}
.inquiry-text {
    flex: 0 0 320px;
    color: #fff;
}
.inquiry-text h3 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: #fff;
}
.inquiry-text p {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    margin: 0;
    line-height: 1.6;
}
.inquiry-form {
    flex: 1;
}
.inquiry-form .form-row {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}
.inquiry-form input[type="text"],
.inquiry-form input[type="tel"] {
    flex: 1;
    min-width: 140px;
    padding: 12px 16px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 6px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}
.inquiry-form input::placeholder {
    color: rgba(255,255,255,0.5);
}
.inquiry-form input:focus {
    border-color: rgba(255,255,255,0.7);
}
.inquiry-form .btn-submit {
    padding: 12px 28px;
    background: #c8102e;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    white-space: nowrap;
}
.inquiry-form .btn-submit:hover {
    background: #a00d24;
    transform: translateY(-1px);
}

/* 移动端留言表单 */
@media (max-width: 768px) {
    .densply-inquiry-section {
        padding: 30px 0;
    }
    .inquiry-inner {
        flex-direction: column;
        gap: 20px;
    }
    .inquiry-text {
        flex: none;
        text-align: center;
    }
    .inquiry-text h3 {
        font-size: 20px;
    }
    .inquiry-form .form-row {
        flex-direction: column;
    }
    .inquiry-form input[type="text"],
    .inquiry-form input[type="tel"] {
        min-width: 100%;
    }
    .inquiry-form .btn-submit {
        width: 100%;
    }
}

/* ---- CTA按钮 ---- */
.densply-cta {
    text-align: center;
    margin: 30px 0;
}
.cta-btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    cursor: pointer;
    border: none;
}
.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}
.cta-primary {
    background: linear-gradient(135deg, #1a3a6b, #2a5298);
    color: #fff;
}
.cta-primary:hover {
    background: linear-gradient(135deg, #2a5298, #3a6ab8);
    color: #fff;
}
.cta-secondary {
    background: transparent;
    color: #1a3a6b;
    border: 2px solid #1a3a6b;
}
.cta-secondary:hover {
    background: #1a3a6b;
    color: #fff;
}
.cta-accent {
    background: #c8102e;
    color: #fff;
}
.cta-accent:hover {
    background: #a00d24;
    color: #fff;
}

/* 移动端CTA */
@media (max-width: 768px) {
    .cta-btn {
        padding: 12px 28px;
        font-size: 15px;
    }
}
