/**
 * Floor Plan CTA 模块样式
 */

.floor-plan-cta-module {
    padding: 80px 0 0 0;
    background-color: #eef0f3;
    width: 100%;
    position: relative;
    margin: 0;
    margin-bottom: -40px; /* 抵消 site-main 的底部 padding，确保与页尾贴合 */
}

.floor-plan-cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.floor-plan-cta-left {
    flex: 1;
    max-width: 70%;
}

.floor-plan-cta-title {
    font-size: 42px;
    font-weight: 700;
    color: #333;
    margin: 0 0 20px 0;
    line-height: 1.2;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.floor-plan-cta-subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: #666;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.floor-plan-cta-right {
    flex-shrink: 0;
}

.btn-contact-us {
    display: inline-block;
    padding: 16px 40px;
    background-color: #e8ecf0;
    color: #333;
    border: 2px solid #333;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    white-space: nowrap;
}

.btn-contact-us:hover {
    background-color: #333;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Floating Action Buttons */
.floating-action-buttons {
    position: fixed;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 998;
}

.fab-button {
    width: 60px;
    height: 60px;
    background-color: #333;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    position: relative;
}

.fab-button:hover {
    background-color: #000;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.fab-button svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.fab-text {
    font-size: 10px;
    font-weight: 500;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fab-inquiry {
    background-color: #333;
}

.fab-top {
    background-color: #333;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .floor-plan-cta-module {
        padding: 60px 0 0 0;
    }
    
    .floor-plan-cta-title {
        font-size: 36px;
    }
    
    .floor-plan-cta-subtitle {
        font-size: 16px;
    }
    
    .floating-action-buttons {
        right: 20px;
    }
}

@media (max-width: 768px) {
    .floor-plan-cta-module {
        padding: 40px 0 0 0;
    }
    
    .floor-plan-cta-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }
    
    .floor-plan-cta-left {
        max-width: 100%;
    }
    
    .floor-plan-cta-title {
        font-size: 28px;
        margin-bottom: 15px;
    }
    
    .floor-plan-cta-subtitle {
        font-size: 15px;
    }
    
    .btn-contact-us {
        padding: 14px 35px;
        font-size: 15px;
    }
    
    .floating-action-buttons {
        right: 15px;
        bottom: 90px;
        top: auto;
        transform: none;
        gap: 12px;
    }
    
    .fab-button {
        width: 50px;
        height: 50px;
    }
    
    .fab-button svg {
        width: 18px;
        height: 18px;
    }
    
    .fab-text {
        font-size: 9px;
    }
}

@media (max-width: 480px) {
    .floor-plan-cta-module {
        padding: 30px 0 0 0;
        margin-bottom: -20px; /* 匹配移动端 site-main 的 padding: 20px 0 */
    }
    
    .floor-plan-cta-title {
        font-size: 24px;
    }
    
    .floor-plan-cta-subtitle {
        font-size: 14px;
    }
    
    .btn-contact-us {
        padding: 12px 30px;
        font-size: 14px;
    }
    
    .floating-action-buttons {
        right: 10px;
        bottom: 80px;
    }
    
    .fab-button {
        width: 45px;
        height: 45px;
    }
    
    .fab-button svg {
        width: 16px;
        height: 16px;
    }
    
    .fab-text {
        font-size: 8px;
    }
}
